Files
ai/charting_library/bundles/32.af8c2ba2d40bd2a7113d.js
2021-09-10 14:56:00 +00:00

3 lines
6.0 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{A6WY:function(e,t,n){"use strict";n.r(t),n.d(t,"LazyJqueryUI",(function(){return o})),n.d(t,"lazyJqueryUI",(function(){return s}));n("P5fv");let r;async function i(e){if(!(e in $.fn))return r||(r=Promise.all([n.e(96),n.e("lazy-jquery-ui")]).then(n.bind(null,"BvgM")).then()),r}class o{constructor(e){this._$elem=e}draggable(){const e=arguments,t=this._$elem;return i("draggable").then(()=>t.draggable.apply(t,e))}resizable(){const e=arguments,t=this._$elem;return i("resizable").then(()=>t.resizable.apply(t,e))}sortable(){const e=arguments,t=this._$elem;return i("sortable").then(()=>t.sortable.apply(t,e))}datepicker(){const e=arguments,t=this._$elem;return i("datepicker").then(()=>t.datepicker.apply(t,e))}}function s(e){return new o(e)}},nbsC:function(e,t,n){var r,i,o,s;s=function(e){var t=Object.prototype.toString,n=Array.isArray||function(e){return"[object Array]"===t.call(e)};function r(e){return"function"==typeof e}function i(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(e,t){return null!=e&&"object"==typeof e&&t in e}var s=RegExp.prototype.test,a=/\S/;function u(e){return!function(e,t){return s.call(e,t)}(a,e)}var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},l=/\s*/,p=/\s+/,h=/\s*=/,f=/\s*\}/,d=/#|\^|\/|>|\{|&|=|!/;function g(e){this.string=e,this.tail=e,this.pos=0}function v(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function y(){this.cache={}}g.prototype.eos=function(){return""===this.tail},g.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},g.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},v.prototype.push=function(e){return new v(e,this)},v.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{for(var i,s,a=this,u=!1;a;){if(e.indexOf(".")>0)for(t=a.view,i=e.split("."),s=0;null!=t&&s<i.length;)s===i.length-1&&(u=o(t,i[s])),t=t[i[s++]];else t=a.view[e],u=o(a.view,e);if(u)break;a=a.parent}n[e]=t}return r(t)&&(t=t.call(this.view)),t},y.prototype.clearCache=function(){this.cache={}},y.prototype.parse=function(t,r){var o=this.cache,s=o[t];return null==s&&(s=o[t]=function(t,r){if(!t)return[];var o,s,a,c=[],v=[],y=[],w=!1,b=!1;function k(){if(w&&!b)for(;y.length;)delete v[y.pop()];else y=[];w=!1,b=!1}function m(e){if("string"==typeof e&&(e=e.split(p,2)),!n(e)||2!==e.length)throw new Error("Invalid tags: "+e);o=new RegExp(i(e[0])+"\\s*"),s=new RegExp("\\s*"+i(e[1])),a=new RegExp("\\s*"+i("}"+e[1]))}m(r||e.tags);for(var x,U,E,T,$,j,z=new g(t);!z.eos();){if(x=z.pos,E=z.scanUntil(o))for(var C=0,I=E.length;C<I;++C)u(T=E.charAt(C))?y.push(v.length):b=!0,v.push(["text",T,x,x+1]),x+=1,"\n"===T&&k();if(!z.scan(o))break;if(w=!0,U=z.scan(d)||"name",z.scan(l),
"="===U?(E=z.scanUntil(h),z.scan(h),z.scanUntil(s)):"{"===U?(E=z.scanUntil(a),z.scan(f),z.scanUntil(s),U="&"):E=z.scanUntil(s),!z.scan(s))throw new Error("Unclosed tag at "+z.pos);if($=[U,E,x,z.pos],v.push($),"#"===U||"^"===U)c.push($);else if("/"===U){if(!(j=c.pop()))throw new Error('Unopened section "'+E+'" at '+x);if(j[1]!==E)throw new Error('Unclosed section "'+j[1]+'" at '+x)}else"name"===U||"{"===U||"&"===U?b=!0:"="===U&&m(E)}if(j=c.pop())throw new Error('Unclosed section "'+j[1]+'" at '+z.pos);return function(e){for(var t,n=[],r=n,i=[],o=0,s=e.length;o<s;++o)switch((t=e[o])[0]){case"#":case"^":r.push(t),i.push(t),r=t[4]=[];break;case"/":i.pop()[5]=t[2],r=i.length>0?i[i.length-1][4]:n;break;default:r.push(t)}return n}(function(e){for(var t,n,r=[],i=0,o=e.length;i<o;++i)(t=e[i])&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}(v))}(t,r)),s},y.prototype.render=function(e,t,n){var r=this.parse(e),i=t instanceof v?t:new v(t);return this.renderTokens(r,i,n,e)},y.prototype.renderTokens=function(e,t,n,r){for(var i,o,s,a="",u=0,c=e.length;u<c;++u)s=void 0,"#"===(o=(i=e[u])[0])?s=this.renderSection(i,t,n,r):"^"===o?s=this.renderInverted(i,t,n,r):">"===o?s=this.renderPartial(i,t,n,r):"&"===o?s=this.unescapedValue(i,t):"name"===o?s=this.escapedValue(i,t):"text"===o&&(s=this.rawValue(i)),void 0!==s&&(a+=s);return a},y.prototype.renderSection=function(e,t,i,o){var s=this,a="",u=t.lookup(e[1]);if(u){if(n(u))for(var c=0,l=u.length;c<l;++c)a+=this.renderTokens(e[4],t.push(u[c]),i,o);else if("object"==typeof u||"string"==typeof u||"number"==typeof u)a+=this.renderTokens(e[4],t.push(u),i,o);else if(r(u)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(u=u.call(t.view,o.slice(e[3],e[5]),(function(e){return s.render(e,t,i)})))&&(a+=u)}else a+=this.renderTokens(e[4],t,i,o);return a}},y.prototype.renderInverted=function(e,t,r,i){var o=t.lookup(e[1]);if(!o||n(o)&&0===o.length)return this.renderTokens(e[4],t,r,i)},y.prototype.renderPartial=function(e,t,n){if(n){var i=r(n)?n(e[1]):n[e[1]];return null!=i?this.renderTokens(this.parse(i),t,n,i):void 0}},y.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},y.prototype.escapedValue=function(t,n){var r=n.lookup(t[1]);if(null!=r)return e.escape(r)},y.prototype.rawValue=function(e){return e[1]},e.name="mustache.js",e.version="2.2.1",e.tags=["{{","}}"];var w=new y;e.clearCache=function(){return w.clearCache()},e.parse=function(e,t){return w.parse(e,t)},e.render=function(e,t,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+(n(i=e)?"array":typeof i)+'" was given as the first argument for mustache#render(template, view, partials)');var i;return w.render(e,t,r)},e.to_html=function(t,n,i,o){var s=e.render(t,n,i);if(!r(o))return s;o(s)},e.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,(function(e){return c[e]}))},e.Scanner=g,e.Context=v,e.Writer=y},t&&"string"!=typeof t.nodeName?s(t):(i=[t],
void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o))}}]);