UNPKG

1.43 MBJavaScriptView Raw
1/*! Tripetto Builder 4.5.1 - Copyright (C) 2022 Tripetto B.V. - All Rights Reserved */
2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Tripetto",[],t):"object"==typeof exports?exports.Tripetto=t():e.Tripetto=t()}(this,(function(){return function(){var e={53e3:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;var n=i(90937);Object.defineProperty(t,"encrypt",{enumerable:!0,get:function(){return n.encrypt}}),Object.defineProperty(t,"decrypt",{enumerable:!0,get:function(){return n.decrypt}})},90937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;var i=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],n=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]];function o(e,t,i,n){for(var o=0;o<4;o++)for(var r=0;r<n;r++)e[o][r]^=t[4*i+r][o]}function r(e,t){for(var n=0;n<4;n++)for(var o=0;o<t;o++)e[n][o]=i[e[n][o]]}function s(e){for(var t=0;t<4;t++)e[t]=i[e[t]]}function a(e){for(var t=e[0],i=0;i<3;i++)e[i]=e[i+1];return e[3]=t,e}function l(e,t){for(var i=new Array(4),n=1;n<4;n++){for(var o=0;o<4;o++)i[o]=e[n][(o+n)%t];for(o=0;o<4;o++)e[n][o]=i[o]}}function c(e){for(var t=0;t<4;t++){for(var i=new Array(4),n=new Array(4),o=0;o<4;o++)i[o]=e[o][t],n[o]=128&e[o][t]?e[o][t]<<1^283:e[o][t]<<1;e[0][t]=n[0]^i[1]^n[1]^i[2]^i[3],e[1][t]=i[0]^n[1]^i[2]^n[2]^i[3],e[2][t]=i[0]^i[1]^n[2]^i[3]^n[3],e[3][t]=i[0]^n[0]^i[1]^i[2]^n[3]}}function u(e,t){for(var i=t.length/4-1,n=[[],[],[],[]],s=0;s<16;s++)n[s%4][Math.floor(s/4)]=e[s];o(n,t,0,4);for(var a=1;a<i;a++)r(n,4),l(n,4),c(n),o(n,t,a,4);r(n,4),l(n,4),o(n,t,i,4);for(var u=new Array(16),p=0;p<16;p++)u[p]=n[p%4][Math.floor(p/4)];return u}function p(e){for(var t=e.length/4,i=t+6,o=new Array(4*(i+1)),r=[0,0,0,0],l=0;l<t;l++)o[l]=[e[4*l],e[4*l+1],e[4*l+2],e[4*l+3]];for(var c=t;c<4*(i+1);c++){o[c]=[0,0,0,0];for(var u=0;u<4;u++)r[u]=o[c-1][u];if(c%t==0){s(a(r));for(u=0;u<4;u++)r[u]^=n[c/t][u]}else t>6&&c%t==4&&s(r);for(u=0;u<4;u++)o[c][u]=o[c-t][u]^r[u]}return o}function h(e){return e.replace(/[\u0080-\u07ff]/g,(function(e){var t=e.charCodeAt(0);return String.fromCharCode(192|t>>6,128|63&t)})).replace(/[\u0800-\uffff]/g,(function(e){var t=e.charCodeAt(0);return String.fromCharCode(224|t>>12,128|t>>6&63,128|63&t)}))}t.encrypt=function(e,t,i,n){var o=i/8,r=new Array(o);e=h(e),t=h(t);for(var s=0;s<o;s++)r[s]=isNaN(t.charCodeAt(s))?0:t.charCodeAt(s);var a=u(r,p(r)),l=p(a.concat(a.slice(0,o-16))),c=Math.ceil(e.length/16),d=new Array(16),m=new Array(c),f=(new Date).getTime(),g=f%1e3,y=Math.floor(f/1e3),b=Math.floor(65535*Math.random());for(s=0;s<2;s++)d[s]=g>>>8*s&255;for(s=0;s<2;s++)d[s+2]=b>>>8*s&255;for(s=0;s<4;s++)d[s+4]=y>>>8*s&255;var v="";for(s=0;s<8;s++)v+=String.fromCharCode(d[s]);for(var M=0;M<c;M++){for(var _=0;_<4;_++)d[15-_]=M>>>8*_&255;for(_=0;_<4;_++)d[15-_-4]=M/4294967296>>>8*_;var S=M<c-1?16:(e.length-1)%16+1,I=u(d,l),T=new Array(S);for(s=0;s<S;s++)T[s]=String.fromCharCode(I[s]^e.charCodeAt(16*M+s));m[M]=T.join("")}return n(v+m.join(""))},t.decrypt=function(e,t,i,n){var o=i/8,r=new Array(o);e=n(e),t=h(t);for(var s=0;s<o;s++)r[s]=isNaN(t.charCodeAt(s))?0:t.charCodeAt(s);var a=u(r,p(r)),l=p(a.concat(a.slice(0,o-16))),c=new Array(8),d=e.slice(0,8),m=Math.ceil((e.length-8)/16),f=new Array(m);for(s=0;s<8;s++)c[s]=d.charCodeAt(s);for(var g=0;g<m;g++)f[g]=e.slice(8+16*g,8+16*g+16);var y=new Array(f.length);for(g=0;g<m;g++){for(var b=0;b<4;b++)c[15-b]=g>>>8*b&255;for(b=0;b<4;b++)c[15-b-4]=(g+1)/4294967296-1>>>8*b&255;var v=u(c,l),M=new Array(f[g].length);for(s=0;s<f[g].length;s++)M[s]=String.fromCharCode(v[s]^f[g].charCodeAt(s));y[g]=M.join("")}return y.join("").replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,(function(e){return String.fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2))})).replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,(function(e){return String.fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}))}},39031:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0,o(i(33042),t);var r=i(74129);Object.defineProperty(t,"Animation",{enumerable:!0,get:function(){return r.Animation}})},74129:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0;var n=i(84389),o=i(33042),r=function(){function e(e){this.m_nHandle=0,this.m_nTime=0,this.m_nReverse=0,this.m_nDuration=n.Num.max(e.duration,1),this.m_bLoop=(0,n.castToBoolean)(e.loop),this.onAnimation=e.onAnimation,this.onAnimationStart=e.onAnimationStart,this.onAnimationEnd=e.onAnimationEnd,this.onAnimationCallback=e.onAnimationCallback,e.start&&this.start(e.reverse)}return e.create=function(t){return new e(t)},Object.defineProperty(e.prototype,"elapsed",{get:function(){return this.isReversed?this.m_nReverse-n.Num.min(n.DateTime.elapsed(this.m_nTime,!0),this.m_nReverse):n.Num.min(n.DateTime.elapsed(this.m_nTime,!0),this.m_nDuration)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.m_nDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReady",{get:function(){return 0===this.m_nHandle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReversed",{get:function(){return this.m_nReverse>0},enumerable:!1,configurable:!0}),e.prototype.onAnimate=function(){(0,n.call)(this.onAnimation,this)},e.prototype.onStart=function(){(0,n.call)(this.onAnimationStart,this)},e.prototype.onEnd=function(e){(0,n.call)(this.onAnimationEnd,this,e)},e.prototype.onCallback=function(){(0,n.call)(this.onAnimationCallback,this),this.onAnimationCallback=void 0},e.prototype.start=function(e,t){var i=this;if((0,n.isFunction)(t)&&(this.onAnimationCallback=t),this.isReady){var o=function(){var e=i.elapsed===(i.isReversed?0:i.duration);i.onAnimate(),i.m_nHandle=0===i.m_nTime||!i.m_bLoop&&e?0:(0,n.scheduleFrame)(o),e&&(i.onCallback(),i.m_bLoop||i.onEnd(!1)),i.m_bLoop&&e&&(i.m_nReverse=i.isReversed?i.duration:0,i.m_nTime=n.DateTime.precise)};return this.m_nReverse=(0,n.castToBoolean)(e,this.isReversed)?this.duration:0,this.m_nTime=n.DateTime.precise,this.m_nHandle=(0,n.scheduleFrame)(o),this.onStart(),!0}return!1},e.prototype.stop=function(){this.isReady||(this.m_nHandle=(0,n.cancelFrame)(this.m_nHandle),this.m_nTime=0,this.onEnd(!0))},e.prototype.reverse=function(e){return this.isReversed?(this.m_nTime=n.DateTime.elapsed(this.m_nDuration-n.Num.min(n.DateTime.elapsed(this.m_nTime,!0),this.m_nDuration),!0),this.m_nReverse=0):(this.m_nReverse=n.Num.min(n.DateTime.elapsed(this.m_nTime,!0),this.m_nDuration),this.m_nTime=n.DateTime.precise),this.start(this.isReversed,e),this},e.prototype.jump=function(e){return this.m_nTime=n.DateTime.elapsed(e,!0),this},e.prototype.jumpToBegin=function(){return this.jump(0)},e.prototype.jumpToEnd=function(){return this.jump(this.duration)},e.prototype.linear=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.linear)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quadraticEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quadraticEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quadraticEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quadraticEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quadraticEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quadraticEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.cubicEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.cubicEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.cubicEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.cubicEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.cubicEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.cubicEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quarticEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quarticEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quarticEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quarticEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quarticEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quarticEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quinticEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quinticEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quinticEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quinticEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.quinticEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.quinticEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.sinusoidalEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.sinusoidalEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.sinusoidalEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.sinusoidalEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.sinusoidalEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.sinusoidalEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.exponentialEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.exponentialEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.exponentialEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.exponentialEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.exponentialEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.exponentialEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.circularEaseIn=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.circularEaseIn)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.circularEaseOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.circularEaseOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e.prototype.circularEaseInOut=function(e,t,i,r){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),(0,o.circularEaseInOut)(r||n.Num.max(this.duration-i,0),n.Num.max(this.elapsed-i,0),e,t)},e}();t.Animation=r},33042:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.circularEaseInOut=t.circularEaseOut=t.circularEaseIn=t.exponentialEaseInOut=t.exponentialEaseOut=t.exponentialEaseIn=t.sinusoidalEaseInOut=t.sinusoidalEaseOut=t.sinusoidalEaseIn=t.quinticEaseInOut=t.quinticEaseOut=t.quinticEaseIn=t.quarticEaseInOut=t.quarticEaseOut=t.quarticEaseIn=t.cubicEaseInOut=t.cubicEaseOut=t.cubicEaseIn=t.quadraticEaseInOut=t.quadraticEaseOut=t.quadraticEaseIn=t.linear=t.FPS=void 0;var n=i(84389);t.FPS=1e3/60,t.linear=function(e,t,i,o){return void 0===o&&(o=0),i*n.Num.range(t,0,e)/e+o},t.quadraticEaseIn=function(e,t,i,o){return void 0===o&&(o=0),i*(t=n.Num.range(t,0,e)/e)*t+o},t.quadraticEaseOut=function(e,t,i,o){return void 0===o&&(o=0),-i*(t=n.Num.range(t,0,e)/e)*(t-2)+o},t.quadraticEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),(t=n.Num.range(t,0,e)/(e/2))<1?i/2*t*t+o:-i/2*(--t*(t-2)-1)+o},t.cubicEaseIn=function(e,t,i,o){return void 0===o&&(o=0),i*(t=n.Num.range(t,0,e)/e)*t*t+o},t.cubicEaseOut=function(e,t,i,o){return void 0===o&&(o=0),t=n.Num.range(t,0,e)/e,i*(--t*t*t+1)+o},t.cubicEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),(t=n.Num.range(t,0,e)/(e/2))<1?i/2*t*t*t+o:i/2*((t-=2)*t*t+2)+o},t.quarticEaseIn=function(e,t,i,o){return void 0===o&&(o=0),i*(t=n.Num.range(t,0,e)/e)*t*t*t+o},t.quarticEaseOut=function(e,t,i,o){return void 0===o&&(o=0),t=n.Num.range(t,0,e)/e,-i*(--t*t*t*t-1)+o},t.quarticEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),(t=n.Num.range(t,0,e)/(e/2))<1?i/2*t*t*t*t+o:-i/2*((t-=2)*t*t*t-2)+o},t.quinticEaseIn=function(e,t,i,o){return void 0===o&&(o=0),i*(t=n.Num.range(t,0,e)/e)*t*t*t*t+o},t.quinticEaseOut=function(e,t,i,o){return void 0===o&&(o=0),t=n.Num.range(t,0,e)/e,i*(--t*t*t*t*t+1)+o},t.quinticEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),(t=n.Num.range(t,0,e)/(e/2))<1?i/2*t*t*t*t*t+o:i/2*((t-=2)*t*t*t*t+2)+o},t.sinusoidalEaseIn=function(e,t,i,o){return void 0===o&&(o=0),t>=e?i+o:-i*Math.cos(n.Num.range(t,0,e)/e*(Math.PI/2))+i+o},t.sinusoidalEaseOut=function(e,t,i,o){return void 0===o&&(o=0),i*Math.sin(n.Num.range(t,0,e)/e*(Math.PI/2))+o},t.sinusoidalEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),-i/2*(Math.cos(Math.PI*n.Num.range(t,0,e)/e)-1)+o},t.exponentialEaseIn=function(e,t,i,o){return void 0===o&&(o=0),0===(t=n.Num.range(t,0,e))?o:i*Math.pow(2,10*(t/e-1))+o},t.exponentialEaseOut=function(e,t,i,o){return void 0===o&&(o=0),((t=n.Num.range(t,0,e))>=e?i:i*(1-Math.pow(2,-10*t/e)))+o},t.exponentialEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),0===(t=n.Num.range(t,0,e))?o:t>=e?i+o:(t/=e/2)<1?i/2*Math.pow(2,10*(t-1))+o:(t--,i/2*(2-Math.pow(2,-10*t))+o)},t.circularEaseIn=function(e,t,i,o){return void 0===o&&(o=0),t=n.Num.range(t,0,e)/e,-i*(Math.sqrt(1-t*t)-1)+o},t.circularEaseOut=function(e,t,i,o){return void 0===o&&(o=0),t=n.Num.range(t,0,e)/e,t--,i*Math.sqrt(1-t*t)+o},t.circularEaseInOut=function(e,t,i,o){return void 0===o&&(o=0),(t=n.Num.range(t,0,e)/(e/2))<1?-i/2*(Math.sqrt(1-t*t)-1)+o:(t-=2,i/2*(Math.sqrt(1-t*t)+1)+o)}},65936:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pulse=t.zoomOut=t.zoomIn=t.fallOut=t.fallIn=t.fadeOut=t.fadeIn=t.blinkingBackground=void 0;var n=i(73738);Object.defineProperty(t,"blinkingBackground",{enumerable:!0,get:function(){return n.blinkingBackground}});var o=i(56060);Object.defineProperty(t,"fadeIn",{enumerable:!0,get:function(){return o.fadeIn}});var r=i(62171);Object.defineProperty(t,"fadeOut",{enumerable:!0,get:function(){return r.fadeOut}});var s=i(74826);Object.defineProperty(t,"fallIn",{enumerable:!0,get:function(){return s.fallIn}});var a=i(92769);Object.defineProperty(t,"fallOut",{enumerable:!0,get:function(){return a.fallOut}});var l=i(13624);Object.defineProperty(t,"zoomIn",{enumerable:!0,get:function(){return l.zoomIn}});var c=i(58619);Object.defineProperty(t,"zoomOut",{enumerable:!0,get:function(){return c.zoomOut}});var u=i(77454);Object.defineProperty(t,"pulse",{enumerable:!0,get:function(){return u.pulse}})},73738:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.blinkingBackground=void 0;var o=i(84389);t.blinkingBackground=function(e,t){void 0===t&&(t="0.3s");for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return o.extend.apply(void 0,n([{"@keyframes":{"0%":{backgroundColor:"transparent"},"33%":{backgroundColor:e},"66%":{backgroundColor:"transparent"},"100%":{backgroundColor:e}},backgroundColor:e,animationDuration:t}],i,!1))}},56060:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.fadeIn=void 0;var o=i(84389);t.fadeIn=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:0},to:{visibility:"visible",opacity:1}},animationDuration:e}],t,!1))}},62171:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.fadeOut=void 0;var o=i(84389);t.fadeOut=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:1},to:{visibility:"visible",opacity:0}},animationDuration:e}],t,!1))}},74826:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.fallIn=void 0;var o=i(84389);t.fallIn=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:0,transform:"scale(2)"},to:{visibility:"visible",opacity:1,transform:"scale(1)"}},animationDuration:e}],t,!1))}},92769:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.fallOut=void 0;var o=i(84389);t.fallOut=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:1,transform:"scale(1)"},to:{visibility:"visible",opacity:0,transform:"scale(2)"}},animationDuration:e}],t,!1))}},77454:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.pulse=void 0;var o=i(84389);t.pulse=function(e){void 0===e&&(e="0.3s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{"0%":{transform:"scale3d(1, 1, 1)"},"50%":{transform:"scale3d(1.05, 1.05, 1.05)"},"100%":{transform:"scale3d(1, 1, 1)"}},animationDuration:e}],t,!1))}},13624:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.zoomIn=void 0;var o=i(84389);t.zoomIn=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:0,transform:"scale(0.7)"},to:{visibility:"visible",opacity:1,transform:"scale(1)"}},animationDuration:e}],t,!1))}},58619:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.zoomOut=void 0;var o=i(84389);t.zoomOut=function(e){void 0===e&&(e="0.2s");for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.extend.apply(void 0,n([{"@keyframes":{from:{visibility:"visible",opacity:1,transform:"scale(1)"},to:{visibility:"visible",opacity:0,transform:"scale(0.7)"}},animationDuration:e}],t,!1))}},6148:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Callback=t.Await=void 0;var n=i(75053);Object.defineProperty(t,"Await",{enumerable:!0,get:function(){return n.Await}});var o=i(66439);Object.defineProperty(t,"Callback",{enumerable:!0,get:function(){return o.Callback}})},75053:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Await=void 0;var n=i(70655),o=function(e){function t(t){return e.call(this,{await:t.await,promise:t.promise,conditional:t.conditional,continuous:t.continuous})||this}return(0,n.__extends)(t,e),t.for=function(e){return new t(e)},t.prototype.done=function(){return this.terminate()},t}(i(66439).Callback);t.Await=o},66439:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Callback=void 0;var n=i(84389),o=function(){function e(e){var t;this.m_nPromises=0,this.m_bAsynchronous=!1,this.m_bCanceled=!1,this.m_fnPromise=e.promise,this.m_bContinuous=(0,n.castToBoolean)(e.continuous),(t=e.await(this))!==this&&0===this.m_nPromises&&this.return(t),this.m_bAsynchronous=!0,this.m_bCondition=(0,n.castToBoolean)(this.m_bCondition,!(0,n.castToBoolean)(e.conditional))}return e.of=function(t){return new e(t)},Object.defineProperty(e.prototype,"condition",{get:function(){return(0,n.castToBoolean)(this.m_bCondition,!0)},set:function(e){this.m_bCondition=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAlive",{get:function(){return(0,n.isFunction)(this.m_fnPromise)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promiseCount",{get:function(){return this.m_nPromises},enumerable:!1,configurable:!0}),e.prototype.terminate=function(){return this.return(void 0),this.condition},e.prototype.cancel=function(){return this.m_bCanceled=!0,this.m_bCondition=!0,this.terminate()},e.prototype.return=function(e){return this.m_fnPromise&&this.condition&&(this.m_nPromises++,this.m_fnPromise({isAsynchronous:this.m_bAsynchronous,isCanceled:this.m_bCanceled,payload:e}),this.m_bContinuous||(this.m_fnPromise=void 0)),e},e}();t.Callback=o},42907:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=t.invokeMarker=t.defineMarker=void 0;var n=i(4009);Object.defineProperty(t,"defineMarker",{enumerable:!0,get:function(){return n.defineMarker}}),Object.defineProperty(t,"invokeMarker",{enumerable:!0,get:function(){return n.invokeMarker}});var o=i(28906);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return o.observable}})},4009:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.invokeMarker=t.defineMarker=void 0;var o=i(84389);t.defineMarker=function(e,t,i,n,r){if(void 0===r&&(r="multiple"),!n||!(0,o.isFunction)(n.value))throw new Error("The '@".concat(e,"' decorator can only be applied to a method but '").concat(i,"' seems to be a property."));var s="@marker @".concat(e),a="@marker @".concat(e," #").concat(i),l=Object.getOwnPropertyDescriptor(t,s);if(Object.getOwnPropertyDescriptor(t,a))throw new Error("Decorator '@".concat(e,"' is already applied to the method '").concat(i,"'."));if("single"===r&&l)throw new Error("Decorator '@".concat(e,"' is already used in this class, but can only be applied once."));Object.defineProperty(t,a,{value:!0,writable:!1,enumerable:!1,configurable:!1}),l?l.value.push(n.value):Object.defineProperty(t,s,{value:[n.value],writable:!1,enumerable:!1,configurable:!1})},t.invokeMarker=function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var s=(0,o.getAny)(t,"@marker @".concat(e));if(s){var a=s.length;if(1===a)return o.callBind.apply(void 0,n([s[0],t],i,!1));for(var l=0;l<a;l++)o.callBind.apply(void 0,n([s[l],t],i,!1))}}},28906:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var n=i(84389);function o(e,t,i,o,r){var s={target:t,property:i,oldValue:o,newValue:r};(0,n.each)((0,n.getAny)(t,e),(function(e){(0,n.callBind)(e,t,s)}))}t.observable=function(e,t,i,r,s){var a="@observers #".concat(i),l=Object.getOwnPropertyDescriptor(t,a),c="@observers @".concat(e," #").concat(i);if(Object.getOwnPropertyDescriptor(t,c))throw new Error("Decorator '@".concat(e,"' is already applied to the property '").concat(i,"'."));if(Object.defineProperty(t,c,{value:!0,writable:!1,enumerable:!1,configurable:!1}),l&&(0,n.isArray)(l.value))l.value.push(s);else{if(r){if(r.configurable=!1,!r.set)throw new Error("Decorator '@".concat(e,"' can only be used on writable properties, but '").concat(i,"' seems to be a readonly property or a method."));var u=r.set;r.set=function(e){var t=(0,n.getAny)(this,i);t!==e&&(u.call(this,e),o(a,this,i,t,e))}}else{var p="@observable #".concat(i);Object.defineProperty(t,i,{get:function(){return(0,n.getAny)(this,p)},set:function(e){var t=(0,n.getAny)(this,p);t!==e&&((0,n.setAny)(this,p,e),o(a,this,i,t,e))},enumerable:!0,configurable:!1})}Object.defineProperty(t,a,{value:[s],writable:!1,enumerable:!1,configurable:!1})}}},9072:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVG=t.styleRules=t.desktopStylesheet=t.desktopStyles=t.Rule=t.Stylesheet=t.Style=t.DOMElement=t.perspective=t.Fragment=t.EventListeners=t.Element=t.Application=void 0;var n=i(70655);(0,n.__exportStar)(i(21150),t),(0,n.__exportStar)(i(24278),t);var o=i(50589);Object.defineProperty(t,"Application",{enumerable:!0,get:function(){return o.Application}});var r=i(47480);Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return r.Element}});var s=i(61331);Object.defineProperty(t,"EventListeners",{enumerable:!0,get:function(){return s.EventListeners}});var a=i(51949);Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return a.Fragment}});var l=i(34502);Object.defineProperty(t,"perspective",{enumerable:!0,get:function(){return l.perspective}});var c=i(61293);Object.defineProperty(t,"DOMElement",{enumerable:!0,get:function(){return c.DOMElement}});var u=i(70457);Object.defineProperty(t,"Style",{enumerable:!0,get:function(){return u.Style}});var p=i(20186);Object.defineProperty(t,"Stylesheet",{enumerable:!0,get:function(){return p.Stylesheet}});var h=i(21750);Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return h.Rule}});var d=i(16277);Object.defineProperty(t,"desktopStyles",{enumerable:!0,get:function(){return d.desktopStyles}}),Object.defineProperty(t,"desktopStylesheet",{enumerable:!0,get:function(){return d.desktopStylesheet}});var m=i(36380);Object.defineProperty(t,"styleRules",{enumerable:!0,get:function(){return m.styleRules}});var f=i(65726);Object.defineProperty(t,"SVG",{enumerable:!0,get:function(){return f.SVG}})},50589:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Application=void 0;var n=i(84389),o=i(84389),r=i(61331),s=i(36380),a=i(16277),l=function(){function e(){}return Object.defineProperty(e,"isInteractive",{get:function(){return this.m_bInteractive},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isComplete",{get:function(){return this.m_bComplete},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isUnloading",{get:function(){return this.m_bUnloading},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isVisible",{get:function(){return this.isComplete&&!this.isUnloading&&!this.m_bHidden},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isActive",{get:function(){return this.m_bActive&&this.isVisible&&document.hasFocus()},enumerable:!1,configurable:!0}),e.attach=function(){this.m_bInitialized||("interactive"===document.readyState?this.m_bInteractive=!0:"complete"===document.readyState&&(this.m_bInteractive=!0,this.m_bComplete=!0),this.isInteractive||this.isComplete||r.EventListeners.attachListener(document,"readystatechange",this.onReadyStateChange,{capture:!0},this),this.isInteractive||r.EventListeners.attachListener(document,"DOMContentLoaded",this.onInteractive,{capture:!0},this),this.isComplete||r.EventListeners.attachListener(window,"load",this.onComplete,{capture:!0},this),r.EventListeners.attachListener(document,"visibilitychange",this.onVisibility,{capture:!0},this),r.EventListeners.attachListener(window,"unload",this.onUnload,{capture:!0},this),r.EventListeners.attachListener(window,"focus",this.onFocus,{capture:!0},this),r.EventListeners.attachListener(window,"blur",this.onBlur,{capture:!0},this),this.m_bInitialized=!0)},e.onReadyStateChange=function(){switch(o.DEBUG&&console.log(n.Console.log("DOM.Application","DOM state changed to '".concat(document.readyState,"'"))),document.readyState){case"interactive":this.onInteractive();break;case"complete":this.onComplete()}},e.onInteractive=function(){r.EventListeners.detachListener(document,"DOMContentLoaded",this),this.isInteractive||(o.DEBUG&&console.log(n.Console.log("DOM.Application","DOM interactive")),this.m_bInteractive=!0,this.observe())},e.onComplete=function(){r.EventListeners.detachListener(document,"DOMContentLoaded",this),r.EventListeners.detachListener(document,"readystatechange",this),r.EventListeners.detachListener(window,"load",this),this.isComplete||(o.DEBUG&&console.log(n.Console.log("DOM.Application","DOM complete")),this.m_bInteractive=!0,this.m_bComplete=!0,this.observe())},e.onUnload=function(){this.isInteractive&&!this.isUnloading&&(o.DEBUG&&console.log(n.Console.log("DOM.Application","Unloading application")),this.m_bUnloading=!0,(0,n.each)(this.m_pApplications,(function(e){(0,n.isFunction)(e.do)||((0,n.call)(e.onUnload,e.payload),e.onUnload=void 0)})),this.m_pApplications=[])},e.onVisibility=function(){var e=this;"unloaded"!==document.visibilityState?this.isInteractive&&this.m_bHidden!==(0,n.castToBoolean)(document.hidden)&&(this.m_bHidden=(0,n.castToBoolean)(document.hidden),this.m_bHidden&&this.m_bActive&&(this.m_bActive=!1,(0,n.each)(this.m_pApplications,(function(e){(0,n.isFunction)(e.do)||(0,n.call)(e.onDeactivate,e.payload)}))),(0,n.each)(this.m_pApplications,(function(t){(0,n.isFunction)(t.do)||(0,n.call)(e.m_bHidden?t.onHide:t.onShow,t.payload)}))):this.onUnload()},e.onFocus=function(e){var t=this;e.target!==window||this.m_bActive||(0,n.scheduleAnimation)((function(){t.m_bActive=!0,(0,n.each)(t.m_pApplications,(function(e){(0,n.isFunction)(e.do)||(0,n.call)(e.onActivate,e.payload)}))}))},e.onBlur=function(e){e.target===window&&this.m_bActive&&(this.m_bActive=!1,(0,n.each)(this.m_pApplications,(function(e){(0,n.isFunction)(e.do)||(0,n.call)(e.onDeactivate,e.payload)})))},e.observe=function(){var e=this,t=!1;this.m_nHandle=(0,n.cancelFrame)(this.m_nHandle),(0,n.each)(this.m_pApplications,(function(i){(0,n.isFunction)(i.do)&&(!(0,n.isFunction)(i.first)||(0,n.castToBoolean)((0,n.call)(i.first,i.payload))?i.first=void 0:e.isInteractive&&e.isComplete&&(t=!0),!(0,n.isFunction)(i.when)||(0,n.castToBoolean)((0,n.call)(i.when,i.payload))?i.when=void 0:e.isInteractive&&e.isComplete&&(t=!0),(0,n.isFunction)(i.first)||(0,n.isFunction)(i.when)||!(!i.waitForComplete&&e.isInteractive||e.isComplete)||(o.DEBUG&&console.log(n.Console.log("DOM.Application","Bootstrapping application")),(0,n.call)(i.do,i.payload),i.do=void 0))})),t&&(this.m_nHandle=(0,n.scheduleFrame)((function(){return e.observe()})))},e.run=function(e){if(e.waitForComplete=(0,n.castToBoolean)(e.waitForComplete,!0),(0,n.isFunction)(e.do)){var t=!(0,n.isFunction)(e.first)||(0,n.castToBoolean)((0,n.call)(e.first,e.payload)),i=!(0,n.isFunction)(e.when)||(0,n.castToBoolean)((0,n.call)(e.when,e.payload));o.DEBUG&&console.log(n.Console.log("DOM.Application","Register new application")),e.desktopClass&&(0,a.desktopStylesheet)(),e.styleRules&&(0,s.styleRules)(e.styleRules),this.attach(),this.isInteractive&&(!e.waitForComplete||this.isComplete)&&t&&i?(o.DEBUG&&console.log(n.Console.log("DOM.Application","Bootstrapping application")),(0,n.call)(e.do,e.payload),e.do=void 0,e.first=void 0,e.when=void 0):(t&&(e.first=void 0),i&&(e.when=void 0),this.m_pApplications.push(e))}},e.m_bInitialized=!1,e.m_bInteractive=!1,e.m_bComplete=!1,e.m_bUnloading=!1,e.m_bActive=!0,e.m_bHidden=!1,e.m_pApplications=[],e.m_nHandle=0,e}();t.Application=l},21150:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextWrapper=t.Shader2D=t.applyShader2D=t.renderBackground=t.render2D=t.contextWebGL=t.context2D=t.canvas=t.pixelRatio=t.VerticalAlignment=t.HorizontalAlignment=t.Directions=void 0;var n=i(84389),o=i(24278),r=i(61293);function s(){return window.devicePixelRatio||1}function a(){return document.createElement("canvas")}function l(e,t,i){if(e=e||a())return(0,n.isNumberFinite)(t)&&(0,o.width)(e,t,!0),(0,n.isNumberFinite)(i)&&(0,o.height)(e,i,!0),e.getContext("2d");throw new Error("DOM.Canvas.Context2D: 2D context cannot be created.")}function c(e,t,i,a){var c,u=e instanceof r.DOMElement?e.HTMLElementOfType():e;return(0,n.isNumberFinite)(i)&&(i*=s()),(0,n.isNumberFinite)(a)&&(a*=s()),(c=l(u,i,a))&&(0,n.call)(t,c,i||(0,o.width)(c.canvas,void 0,!0),a||(0,o.height)(c.canvas,void 0,!0),s()),c}!function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal",e[e.Diagonal=2]="Diagonal"}(t.Directions||(t.Directions={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(t.HorizontalAlignment||(t.HorizontalAlignment={})),function(e){e[e.Top=0]="Top",e[e.Middle=1]="Middle",e[e.Bottom=2]="Bottom"}(t.VerticalAlignment||(t.VerticalAlignment={})),t.pixelRatio=s,t.canvas=a,t.context2D=l,t.contextWebGL=function(e,t,i,r){if(e=e||a())return(0,n.isNumberFinite)(i)&&(0,o.width)(e,i,!0),(0,n.isNumberFinite)(r)&&(0,o.height)(e,r,!0),e.getContext("webgl",t)||e.getContext("experimental-webgl",t);throw new Error("DOM.Canvas.ContextWebGL: WebGL context cannot be created.")},t.render2D=c,t.renderBackground=function(e,t,i,o,r){(0,n.isFilledString)(r)&&e.set("background-repeat",r),e.backgroundSize({width:i,height:o}),e.set("background-image","url("+c(void 0,t,i,o).canvas.toDataURL("image/png")+")")},t.applyShader2D=function(e,t,i,n){return new u(e,t,i,n)};var u=function(){function e(e,t,i,n){if(this.m_nWidth=0,this.m_nHeight=0,this.m_pContext=c(e,this.m_fnRender=t,i,n),this.context){var r=(0,o.width)(this.context.canvas,void 0,!0),s=(0,o.height)(this.context.canvas,void 0,!0);"auto"!==r&&(this.m_nWidth=r),"auto"!==s&&(this.m_nHeight=s)}}return Object.defineProperty(e.prototype,"context",{get:function(){return this.m_pContext},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.m_nWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.m_nHeight},enumerable:!1,configurable:!0}),e.prototype.clear=function(e){void 0===e&&(e=!1),this.context&&(this.context.clearRect(0,0,this.width,this.height),e&&this.m_pBuffer&&this.context.drawImage(this.m_pBuffer.canvas,0,0,this.width,this.height,0,0,this.width,this.height))},e.prototype.buffer=function(e){return void 0===e&&(e=!1),!this.context||!e&&this.m_pBuffer||(this.m_pBuffer=l(void 0,this.width,this.height),this.m_pBuffer&&this.m_pBuffer.drawImage(this.context.canvas,0,0,this.width,this.height,0,0,this.width,this.height)),this.m_pBuffer},e.prototype.reset=function(){this.context&&(this.m_pBuffer?(this.clear(!0),this.m_pBuffer=void 0):this.render())},e.prototype.render=function(e,t){if(this.context){var i=(0,o.width)(this.context.canvas,e?e*s():void 0,!0),r=(0,o.height)(this.context.canvas,t?t*s():void 0,!0);this.clear(),"auto"!==i&&(this.m_nWidth=i),"auto"!==r&&(this.m_nHeight=r),(0,n.call)(this.m_fnRender,this.context,this.m_nWidth,this.m_nHeight,s())}},e.prototype.darken=function(e,t,i){if(void 0===i&&(i=0),this.buffer()){var o=this.context.createLinearGradient(0,0,0!==i?this.width:0,1!==i?this.height:0);this.clear(!0),o&&(o.addColorStop(0,"rgba(".concat(e<0?"255,255,255":"0,0,0",",").concat(n.Num.range(Math.abs(e),0,100)/100,")")),o.addColorStop(1,"rgba(".concat(t<0?"255,255,255":"0,0,0",",").concat(n.Num.range(Math.abs(t),0,100)/100,")")),this.context.fillStyle=o,this.context.fillRect(0,0,this.width,this.height))}},e.prototype.lighten=function(e,t,i){void 0===i&&(i=0),this.darken(-e,-t,i)},e.prototype.grayscale=function(e,t,i){if(void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===i&&(i=1),this.buffer()){var n=this.context.getImageData(0,0,this.width,this.height);if(n){var o=n.data;if(o){for(var r=0;r<o.length;r+=4){var s=e?.34*o[r]+.5*o[r+1]+.16*o[r+2]:(o[r]+o[r+1]+o[r+2])/3;t&&(s=200+55/255*(255-s)),o[r]=s,o[r+1]=s,o[r+2]=s,1!==i&&(o[r+3]=o[r+3]*i)}this.context.putImageData(n,0,0)}}}},e}();t.Shader2D=u;var p=function(){function e(e,t){this.m_pContext=e,this.m_sFont=t?t.font:void 0,this.m_nSize=t?t.size:void 0,this.m_sFillStyle=t?t.fillStyle:void 0,this.m_nLineHeight=t?t.lineHeight:void 0,this.m_bStroke=!!t&&(0,n.castToBoolean)(t.stroke),this.m_sStrokeStyle=t?t.strokeStyle:void 0}return e.correction=function(e,t){if(!(0,n.isNumberFinite)(this.m_pCorrections[e+" "+t])){var i=parseInt(e.replace(/^\D+/g,""),10)||18,o=2*i,r=l(void 0,i,o);if(this.m_pCorrections[e+" "+t]=0,r){var s,a="top"===t||"hanging"===t||"middle"===t;if(r.font=e,r.textBaseline=t,r.fillStyle="rgb(0,0,0)",r.fillText("middle"===t?"-":"hanging"===t?"a":"bottom"===t?"p":"A",0,i),s=r.getImageData(0,0,i,o)){var c=s.data;if(c)for(var u=a?0:o-1;a&&u<o||!a&&u>=0;u+=a?1:-1)for(var p=0;p<i;p++)if(c[u*i*4+4*p+3]>0)return this.m_pCorrections[e+" "+t]=i-u}}}return this.m_pCorrections[e+" "+t]},Object.defineProperty(e.prototype,"context",{get:function(){return this.m_pContext},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"font",{get:function(){return(0,n.isFilledString)(this.m_sFont)?this.m_sFont:""},set:function(e){this.m_sFont=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return(0,n.isNumberFinite)(this.m_nSize)?this.m_nSize:0},set:function(e){this.m_nSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lineHeight",{get:function(){return(0,n.isNumberFinite)(this.m_nLineHeight)?this.m_nLineHeight:(0,n.isNumberFinite)(this.m_nSize)?this.m_nSize*e.LINE_HEIGHT:18},set:function(e){this.m_nLineHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fillStyle",{get:function(){return(0,n.isFilledString)(this.m_sFillStyle)?this.m_sFillStyle:""},set:function(e){this.m_sFillStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.m_bStroke},set:function(e){this.m_bStroke=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"strokeStyle",{get:function(){return(0,n.isFilledString)(this.m_sStrokeStyle)?this.m_sStrokeStyle:""},set:function(e){this.m_sStrokeStyle=e},enumerable:!1,configurable:!0}),e.prototype.wrap=function(e,t,i,o){void 0===i&&(i=0),void 0===o&&(o="…");var r=[],s=e.split("\n"),a=(0,n.arraySize)(s);i=n.Num.max(i,0);for(var l=0;l<a&&(0===i||(0,n.arraySize)(r)<i);l++){var c=n.Str.sanitize(s[l]).replace(/\s/g," "),u=1===i?[c]:c.split(" "),p=(0,n.arraySize)(u);c="";for(var h=0;h<p&&(0===i||(0,n.arraySize)(r)<i);h++){var d="";if(i>0&&(0,n.arraySize)(r)+1===i){for(;h<p;)d+=(""===d?"":" ")+u[h],h++;l+1<a&&(d+=o)}else d=u[h];if((0,n.isFilledString)(d)){var m=this.measure((""===c?"":c+" ")+d);if(m>t){for(var f=this.measure(d);f>t;){var g=i>0&&(0,n.arraySize)(r)+1===i?o:"",y=f/(0,n.stringLength)(d),b=n.Num.max(y>0?n.Num.max(t-((0,n.isFilledString)(c)?this.measure(c+" "):0),0)/y:0,1),v=d.substr(0,n.Num.max(b-(0,n.stringLength)(g),0));if((m=this.measure((""===c?"":c+" ")+v+g))>t){v=(""===c?"":c+" ")+v,c="";do{var M=(0,n.stringLength)(v);M>0?v=v.substr(0,M-1):g=g.substr(0,(0,n.stringLength)(g)-1),m=this.measure((""===c?"":c+" ")+v+g)}while(m>t&&((0,n.isFilledString)(v)||(0,n.isFilledString)(g)))}else if(m<t)for(var _="";m<t&&(0,n.stringLength)(v)<(0,n.stringLength)(d);)v+=_,_=d.charAt((0,n.stringLength)(v)),m=this.measure((""===c?"":c+" ")+v+_+g);if(r.push((""===c?"":c+" ")+n.Str.sanitize(v)+g),i>0&&(0,n.arraySize)(r)===i)return r;c="",d=d.substr((0,n.stringLength)(v)),f=(0,n.isFilledString)(d)?this.measure(d):0}if((0,n.isFilledString)(c)&&(r.push(c),i>0&&(0,n.arraySize)(r)===i))return r;c=""}(0,n.isFilledString)(d)&&(c+=(""===c?"":" ")+d)}else-1!==i&&h+1===p&&r.push("")}(0,n.isFilledString)(c)&&r.push(c)}return r},e.prototype.measure=function(e){return this.context.measureText(e).width},e.prototype.draw=function(t,i){var o,r=this;this.context.textAlign=1===i.horizontal?"center":2===i.horizontal?"end":"start",this.context.textBaseline=1===i.vertical?"middle":2===i.vertical?"bottom":"top",(0,n.isString)(i.font||this.font)&&(0,n.isNumberFinite)(i.size||this.size)&&(this.context.font=(i.size||this.size)+"px "+(i.font||this.font)),(0,n.isString)(i.fillStyle||this.fillStyle)&&(this.context.fillStyle=i.fillStyle||this.fillStyle),(0,n.isString)(i.strokeStyle||this.strokeStyle)&&(this.context.strokeStyle=i.strokeStyle||this.strokeStyle),o=i.width>0?this.wrap(t,i.width,i.lines,i.suffix||"…"):[t],i.lineHeight=i.lineHeight||((0,n.isNumberFinite)(i.size)?i.size*e.LINE_HEIGHT:void 0)||this.lineHeight,i.stroke=(0,n.isBoolean)(i.stroke)?i.stroke:this.stroke,i.y+=e.correction(this.context.font,this.context.textBaseline),i.y-=1===i.vertical?n.Num.round(((0,n.arraySize)(o)-1)*i.lineHeight/2):2===i.vertical?((0,n.arraySize)(o)-1)*i.lineHeight:0,i.width>0&&(i.x+=1===i.horizontal?n.Num.round(i.width/2):2===i.horizontal?i.width:0),(0,n.each)(o,(function(e){i.stroke?r.context.strokeText(e,i.x,i.y):r.context.fillText(e,i.x,i.y),i.y+=i.lineHeight||0}))},e.prototype.single=function(e,t,i,n,o,r){void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r="…"),this.draw(e,{x:t,y:i,width:n,horizontal:o,lines:1,suffix:r})},e.prototype.Mmultiple=function(e,t,i,n,o,r,s,a){void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===a&&(a="…"),this.draw(e,{x:t,y:i,width:n,horizontal:r,vertical:s,lines:o,suffix:a})},e.LINE_HEIGHT=1.15,e.m_pCorrections={},e}();t.TextWrapper=p},52313:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZINDEX_MENU=t.ZINDEX_SCROLLBARS=t.ZINDEX_MODAL=t.ZINDEX_ELEVATED=t.ZINDEX_FLOATING=t.ZINDEX_LAYERS=t.MAX_OPACITY=void 0,t.MAX_OPACITY=100,t.ZINDEX_LAYERS=1e7,t.ZINDEX_FLOATING=2e7,t.ZINDEX_ELEVATED=3e7,t.ZINDEX_MODAL=4e7,t.ZINDEX_SCROLLBARS=t.ZINDEX_MODAL,t.ZINDEX_MENU=5e7},24278:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Asset=t.blur=t.focus=t.skew=t.tabIndex=t.property=t.scrollHeight=t.scrollWidth=t.scrollTop=t.scrollLeft=t.position=t.translate=t.backgroundSize=t.height=t.width=t.bottom=t.right=t.top=t.left=t.rectangleHeight=t.rectangleWidth=t.rectangleBottom=t.rectangleRight=t.rectangleTop=t.rectangleLeft=t.rectangle=t.overflowVertical=t.overflowHorizontal=t.overflow=t.visible=t.rendering=t.boxModel=t.positioning=void 0;var n=i(70655),o=i(84389),r=i(95349),s=i(84389),a=i(22270),l=i(34502),c=i(50589),u=i(61293),p=i(70457),h=i(20186);function d(e,t){if(t)return p.Style.set(e,"position",t),t;switch(p.Style.get(e,"position")){case"relative":return"relative";case"absolute":return"absolute";case"fixed":return"fixed"}return"static"}function m(e,t){if(t)return p.Style.set(e,"box-sizing",t+"-box"),t;switch(p.Style.get(e,"box-sizing")){case"border-box":return"border";case"padding-box":return"padding"}return"content"}function f(e,t){if(t)return p.Style.set(e,"display",t),t;switch(p.Style.get(e,"display")){case"inline":return"inline";case"block":return"block"}return"none"}function g(e,t,i){return(0,o.isBoolean)(t)?(p.Style.set(e,"visibility",t?i?"":"visible":"hidden"),t):"visible"===p.Style.get(e,"visibility")}function y(e,t){if(t)return p.Style.set(e,"overflow",t),t;switch(p.Style.get(e,"overflow")){case"hidden":return"hidden";case"scroll":return"scroll";case"auto":return"auto"}return"visible"}function b(e,t){if(t)return p.Style.set(e,"overflow-x",t),t;switch(p.Style.get(e,"overflow-x")){case"hidden":return"hidden";case"scroll":return"scroll";case"auto":return"auto"}return"visible"}function v(e,t){if(t)return p.Style.set(e,"overflow-y",t),t;switch(p.Style.get(e,"overflow-y")){case"hidden":return"hidden";case"scroll":return"scroll";case"auto":return"auto"}return"visible"}function M(e,t,i){if(e&&e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n){var r=n.left,s=n.top,l=n.right,c=n.bottom;if(t){var u=p.Style.get(e,"border-left-width"),h=p.Style.get(e,"border-top-width");u.indexOf("px")>0&&(r+=(0,o.castToNumber)(u.replace("px",""))),h.indexOf("px")>0&&(s+=(0,o.castToNumber)(h.replace("px",""))),l=r+e.clientWidth,c=s+e.clientHeight}return i?new a.Rectangle({left:(i.left>=0?r:l)+i.left,top:(i.top>=0?s:c)+i.top,right:(i.right>=0?l:r)-i.right,bottom:(i.bottom>=0?c:s)-i.bottom}):new a.Rectangle({left:r,top:s,right:l,bottom:c})}}return new a.Rectangle}function _(e){return M(e).left}function S(e){return M(e).top}function I(e){return M(e).right}function T(e){return M(e).bottom}function N(e){return M(e).width}function j(e){return M(e).height}function w(e,t){var i;return(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(p.Style.set(e,"left","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)((0,o.castToNumber)(t))+"px"),"inherit"===t?0:t):(i=p.Style.get(e,"left"),(0,o.isFilledString)(i)&&"auto"!==i?(0,o.castToNumber)(i):"auto")}function L(e,t){var i;return(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(p.Style.set(e,"top","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)((0,o.castToNumber)(t))+"px"),"inherit"===t?0:t):(i=p.Style.get(e,"top"),(0,o.isFilledString)(i)&&"auto"!==i?(0,o.castToNumber)(i):"auto")}function C(e,t){var i;return(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(p.Style.set(e,"right","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)((0,o.castToNumber)(t))+"px"),"inherit"===t?0:t):(i=p.Style.get(e,"right"),(0,o.isFilledString)(i)&&"auto"!==i?(0,o.castToNumber)(i):"auto")}function O(e,t){var i;return(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(p.Style.set(e,"bottom","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)((0,o.castToNumber)(t))+"px"),"inherit"===t?0:t):(i=p.Style.get(e,"bottom"),(0,o.isFilledString)(i)&&"auto"!==i?(0,o.castToNumber)(i):"auto")}function D(e,t,i){var n;return i=(0,o.castToBoolean)(i),(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(i?"auto"===t||"inherit"===t?p.Style.destroyAttribute(e,"width"):p.Style.attribute(e,"width",(0,o.castToString)(o.Num.max((0,o.castToNumber)(t),0))):p.Style.set(e,"width","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)(o.Num.max((0,o.castToNumber)(t),0))+"px"),"inherit"===t?0:t):(n=i?p.Style.attribute(e,"width"):p.Style.get(e,"width"),(0,o.isFilledString)(n)&&"auto"!==n?(0,o.castToNumber)(n):"auto")}function x(e,t,i){var n;return i=(0,o.castToBoolean)(i),(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(i?"auto"===t||"inherit"===t?p.Style.destroyAttribute(e,"height"):p.Style.attribute(e,"height",(0,o.castToString)(o.Num.max((0,o.castToNumber)(t),0))):p.Style.set(e,"height","auto"===t?"auto":"inherit"===t?"":(0,o.castToString)(o.Num.max((0,o.castToNumber)(t),0))+"px"),"inherit"===t?0:t):(n=i?p.Style.attribute(e,"height"):p.Style.get(e,"height"),(0,o.isFilledString)(n)&&"auto"!==n?(0,o.castToNumber)(n):"auto")}function A(e,t){if(t){var i=("auto"===t.width?"auto":(0,o.castToString)(o.Num.max((0,o.castToNumber)(t.width),0))+"px")+" "+("auto"===t.height?"auto":(0,o.castToString)(o.Num.max((0,o.castToNumber)(t.height),0))+"px");return p.Style.set(e,"background-size",i),i}return p.Style.get(e,"background-size")}function k(e,t){var i=(0,o.isNumberFinite)(t.x)||(0,o.isNumberFinite)(t.y),n="";if(!(0,o.isNumberFinite)(t.x)||!(0,o.isNumberFinite)(t.y)||!(0,o.castToBoolean)(t.ignoreTransformations)){var r=void 0;if(n=p.Style.transformation(e),r=o.Str.extract(n,{left:"translate3d(",right:")",ignoreCase:!0}),i&&(n=o.Str.replace(n,"translate3d("+r+")","",!0)),(0,o.isFilledString)(r)||(r=o.Str.extract(n,{left:"translate(",right:")",ignoreCase:!0}),i&&(n=o.Str.replace(n,"translate("+r+")","",!0))),(0,o.isFilledString)(r)){var s=r.split(",");(0,o.arraySize)(s)>=2&&((0,o.isNumberFinite)(t.x)||(t.x=(0,o.castToFloat)(s[0])),(0,o.isNumberFinite)(t.y)||(t.y=(0,o.castToFloat)(s[1])))}if(!(0,o.isNumberFinite)(t.x)){var a=o.Str.extract(n,{left:"translateX(",right:")",ignoreCase:!0});(0,o.isFilledString)(a)&&(i&&(n=o.Str.replace(n,"translateX("+a+")","",!0)),t.x=(0,o.castToFloat)(a))}if(!(0,o.isNumberFinite)(t.y)){var l=o.Str.extract(n,{left:"translateY(",right:")",ignoreCase:!0});(0,o.isFilledString)(l)&&(i&&(n=o.Str.replace(n,"translateY("+l+")","",!0)),t.y=(0,o.castToFloat)(l))}(0,o.isNumberFinite)(t.x)||(t.x=0),(0,o.isNumberFinite)(t.y)||(t.y=0)}return i&&(t.translate3D=(0,o.castToBoolean)(t.translate3D,!0),p.Style.transformation(e,"translate"+(t.translate3D?"3d":"")+"("+t.x+"px,"+t.y+"px"+(t.translate3D?",0px":"")+")"+((0,o.isFilledString)(n)?" "+n:""))),{x:t.x,y:t.y}}function z(e,t){return e?(0,o.isNumberFinite)(t)?e.scrollLeft=o.Num.round(t):e.scrollLeft||0:0}function P(e,t){return e?(0,o.isNumberFinite)(t)?e.scrollTop=o.Num.round(t):e.scrollTop||0:0}function E(e){return e&&e.scrollWidth||0}function H(e){return e&&e.scrollHeight||0}function F(e,t,i){return void 0!==i?((0,o.setAny)(e,t,i),i):(0,o.getAny)(e,t)}function R(e,t){return e?(0,o.isNumberFinite)(t)?e.tabIndex=o.Num.range(t,-1,32767):e.tabIndex||(0,o.castToNumber)(u.DOMElement.attribute(e,"tabindex"),-1):-1}function B(e,t){return c.Application.isActive&&p.Style.isInDOM(e)?((0,r.write)((function(){c.Application.isActive&&e&&p.Style.isInDOM(e)&&e.focus&&e.focus()}),!0),!0):!!t&&(c.Application.isActive&&(0,o.scheduleAction)((function(){return B(e,!0)})),!0)}function Y(e){return!(!c.Application.isActive||!p.Style.isInDOM(e))&&((0,r.write)((function(){c.Application.isActive&&e&&p.Style.isInDOM(e)&&e.blur&&e.blur()}),!0),!0)}t.positioning=d,t.boxModel=m,t.rendering=f,t.visible=g,t.overflow=y,t.overflowHorizontal=b,t.overflowVertical=v,t.rectangle=M,t.rectangleLeft=_,t.rectangleTop=S,t.rectangleRight=I,t.rectangleBottom=T,t.rectangleWidth=N,t.rectangleHeight=j,t.left=w,t.top=L,t.right=C,t.bottom=O,t.width=D,t.height=x,t.backgroundSize=A,t.translate=k,t.position=function(e,t){"no"!==t.translate?(t.resetCSSPosition&&(w(e,0),L(e,0)),k(e,{x:t.x,y:t.y,translate3D:"accelerated"===t.translate,ignoreTransformations:!0})):(w(e,t.x),L(e,t.y))},t.scrollLeft=z,t.scrollTop=P,t.scrollWidth=E,t.scrollHeight=H,t.property=F,t.tabIndex=R,t.skew=function(e,t){p.Style.set(e,"transform-origin","0 0 0");var i=(0,o.castToNumber)(t.width,e?e.offsetWidth:0),n=(0,o.castToNumber)(t.height,e?e.offsetHeight:0);p.Style.transformation(e,(0,l.perspective)({leftTopX:(0,o.castToNumber)(t.leftTopX,0),leftTopY:(0,o.castToNumber)(t.leftTopY,0),rightTopX:(0,o.castToNumber)(t.rightTopX,i),rightTopY:(0,o.castToNumber)(t.rightTopY,0),leftBottomX:(0,o.castToNumber)(t.leftBottomX,0),leftBottomY:(0,o.castToNumber)(t.leftBottomY,n),rightBottomX:(0,o.castToNumber)(t.rightBottomX,i),rightBottomY:(0,o.castToNumber)(t.rightBottomY,n),width:i,height:n}))},t.focus=B,t.blur=Y;var Z=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_nZoom=1,n.m_nX=0,n.m_nY=0,n.m_sTranslate="no",i&&i(n),n}return(0,n.__extends)(t,e),Object.defineProperty(t,"isFocused",{get:function(){return document.activeElement?this.of(document.activeElement):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isFocusedOnInput",{get:function(){var e=this.isFocused;return e instanceof t&&("textarea"===e.tagName||"input"===e.tagName||"select"===e.tagName)},enumerable:!1,configurable:!0}),t.of=function(e){return e instanceof t?e:new t(e)},t.assert=function(e){return this.of(e)},t.apply=function(e,i){return new t(e,i)},t.style=function(e,t,i){void 0===i&&(i=h.Stylesheet.app),i.styleAsset(this.of(e),t)},t.styleSafe=function(e,t,i){void 0===i&&(i=h.Stylesheet.app),i.styleAssetSafe(this.of(e),t)},t.create=function(e,i,n,a){var l=this;void 0===n&&(n=document.body);var c=new t(document.createElement(e),i);if(c.HTMLElement){var u=n instanceof t?n.HTMLElement:this.$(n);if(u){var p=this.isInDOM(u);(0,r.write)((function(){u&&c.HTMLElement&&((a=l.$(a))?u.insertBefore(c.HTMLElement,a):u.appendChild(c.HTMLElement))}),!p,p),s.DEBUG&&console.log(o.Console.log("DOM.Properties","Created new asset '".concat(this.$ignature(c),"'")))}return c}},Object.defineProperty(t.prototype,"parent",{get:function(){var e=this.HTMLElement;if(e&&e.parentElement)return new t(e.parentElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e=this.HTMLElement;if(e&&e.firstElementChild)return new t(e.firstElementChild)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){var e=this.HTMLElement;if(e&&e.lastElementChild)return new t(e.lastElementChild)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this.m_nX},set:function(e){this.m_nX!==e&&("no"!==this.m_sTranslate?this.position({x:e}):(p.Style.set(this.HTMLElement,"left",e+"px"),this.m_nX=e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.m_nY},set:function(e){this.m_nY!==e&&("no"!==this.m_sTranslate?this.position({y:e}):(p.Style.set(this.HTMLElement,"top",e+"px"),this.m_nY=e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"z",{get:function(){return this.m_nZ||1},set:function(e){this.m_nZ!==e&&this.position({z:e})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"positionByTranslate",{get:function(){return"no"!==this.m_sTranslate},set:function(e){this.position({translate:e?"yes":"no"})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"positionByTranslate3D",{get:function(){return"accelerated"===this.m_sTranslate},set:function(e){this.position({translate:e?"accelerated":"no"})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"positioning",{get:function(){return d(this.HTMLElement)},set:function(e){d(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"boxModel",{get:function(){return m(this.HTMLElement)},set:function(e){m(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rendering",{get:function(){return f(this.HTMLElement)},set:function(e){f(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return g(this.HTMLElement)},set:function(e){g(this.HTMLElement,e,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleExplicit",{set:function(e){g(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overflow",{get:function(){return y(this.HTMLElement)},set:function(e){y(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overflowHorizontal",{get:function(){return b(this.HTMLElement)},set:function(e){b(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overflowVertical",{get:function(){return v(this.HTMLElement)},set:function(e){v(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangle",{get:function(){return M(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleClient",{get:function(){return M(this.HTMLElement,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleLeft",{get:function(){return _(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleTop",{get:function(){return S(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleRight",{get:function(){return I(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleBottom",{get:function(){return T(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleWidth",{get:function(){return N(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangleHeight",{get:function(){return j(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this.m_nZoom},set:function(e){this.m_nZoom!==e&&(this.m_nZoom=e,(0,o.isNumberFinite)(this.m_nLeft)&&w(this.HTMLElement,this.m_nLeft*e),(0,o.isNumberFinite)(this.m_nTop)&&L(this.HTMLElement,this.m_nTop*e),(0,o.isNumberFinite)(this.m_nRight)&&C(this.HTMLElement,this.m_nRight*e),(0,o.isNumberFinite)(this.m_nBottom)&&O(this.HTMLElement,this.m_nBottom*e),(0,o.isNumberFinite)(this.m_nWidth)&&D(this.HTMLElement,this.m_nWidth*e),(0,o.isNumberFinite)(this.m_nHeight)&&x(this.HTMLElement,this.m_nHeight*e),this.m_nBackgroundWidth&&this.m_nBackgroundHeight&&A(this.HTMLElement,{width:"auto"===this.m_nBackgroundWidth?"auto":this.m_nBackgroundWidth*e,height:"auto"===this.m_nBackgroundHeight?"auto":this.m_nBackgroundHeight*e}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return(0,o.isNumberFinite)(this.m_nLeft)?this.m_nLeft:"auto"===this.m_nLeft?"auto":this.m_nLeft=w(this.HTMLElement)},set:function(e){if(this.m_nLeft!==e)switch(e){case"auto":w(this.HTMLElement,this.m_nLeft="auto");break;case"inherit":this.m_nLeft=void 0,w(this.HTMLElement,"inherit");break;default:w(this.HTMLElement,(this.m_nLeft=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return(0,o.isNumberFinite)(this.m_nTop)?this.m_nTop:"auto"===this.m_nTop?"auto":this.m_nTop=L(this.HTMLElement)},set:function(e){if(this.m_nTop!==e)switch(e){case"auto":L(this.HTMLElement,this.m_nTop="auto");break;case"inherit":this.m_nTop=void 0,L(this.HTMLElement,"inherit");break;default:L(this.HTMLElement,(this.m_nTop=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return(0,o.isNumberFinite)(this.m_nRight)?this.m_nRight:"auto"===this.m_nRight?"auto":this.m_nRight=C(this.HTMLElement)},set:function(e){if(this.m_nRight!==e)switch(e){case"auto":C(this.HTMLElement,this.m_nRight="auto");break;case"inherit":this.m_nRight=void 0,C(this.HTMLElement,"inherit");break;default:C(this.HTMLElement,(this.m_nRight=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return(0,o.isNumberFinite)(this.m_nBottom)?this.m_nBottom:"auto"===this.m_nBottom?"auto":this.m_nBottom=O(this.HTMLElement)},set:function(e){if(this.m_nBottom!==e)switch(e){case"auto":O(this.HTMLElement,this.m_nBottom="auto");break;case"inherit":this.m_nBottom=void 0,O(this.HTMLElement,"inherit");break;default:O(this.HTMLElement,(this.m_nBottom=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return(0,o.isNumberFinite)(this.m_nWidth)?this.m_nWidth:"auto"===this.m_nWidth?"auto":this.m_nWidth=D(this.HTMLElement)},set:function(e){if(this.m_nWidth!==e)switch(e){case"auto":D(this.HTMLElement,this.m_nWidth="auto");break;case"inherit":this.m_nWidth=void 0,D(this.HTMLElement,"inherit");break;default:D(this.HTMLElement,(this.m_nWidth=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return(0,o.isNumberFinite)(this.m_nHeight)?this.m_nHeight:"auto"===this.m_nHeight?"auto":this.m_nHeight=x(this.HTMLElement)},set:function(e){if(this.m_nHeight!==e)switch(e){case"auto":x(this.HTMLElement,this.m_nHeight="auto");break;case"inherit":this.m_nHeight=void 0,x(this.HTMLElement,"inherit");break;default:x(this.HTMLElement,(this.m_nHeight=e)*this.m_nZoom)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementWidth",{get:function(){return D(this.HTMLElement,void 0,!0)},set:function(e){D(this.HTMLElement,e,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elementHeight",{get:function(){return x(this.HTMLElement,void 0,!0)},set:function(e){x(this.HTMLElement,e,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollLeft",{get:function(){return z(this.HTMLElement)},set:function(e){z(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollTop",{get:function(){return P(this.HTMLElement)},set:function(e){P(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollWidth",{get:function(){return E(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollHeight",{get:function(){return H(this.HTMLElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return R(this.HTMLElement)},set:function(e){R(this.HTMLElement,e)},enumerable:!1,configurable:!0}),t.prototype.property=function(e,t){return F(this.HTMLElement,e,t)},t.prototype.apply=function(e,t){var i=this;return void 0===t&&(t=!1),(0,r.write)((function(){return e(i)}),t||!this.isInDOM),this},t.prototype.style=function(e,t){void 0===t&&(t=h.Stylesheet.app),t.styleAsset(this,e)},t.prototype.styleSafe=function(e,t){void 0===t&&(t=h.Stylesheet.app),t.styleAssetSafe(this,e)},t.prototype.child=function(e){void 0===e&&(e=0);var i=this.HTMLElement;if(i){var n=(0,o.arrayItem)(i.children,e);if(n)return new t(n)}},t.prototype.forEachChild=function(e){var i=this.HTMLElement;i&&(0,o.each)(i.children,(function(i){return e(new t(i))}))},t.prototype.position=function(e){var t="no"!==this.m_sTranslate;(0,o.isNumberFinite)(e.x)&&(this.m_nX=e.x),(0,o.isNumberFinite)(e.y)&&(this.m_nY=e.y),(0,o.isNumberFinite)(e.z)&&(this.m_nZ=e.z),e.translate&&(this.m_sTranslate=e.translate),"no"!==this.m_sTranslate?(t||(p.Style.set(this.HTMLElement,"left",""),p.Style.set(this.HTMLElement,"top","")),this.transcale(this.m_nX,this.m_nY,this.m_nZ,"accelerated"===this.m_sTranslate)):(p.Style.set(this.HTMLElement,"left",this.m_nX+"px"),p.Style.set(this.HTMLElement,"top",this.m_nY+"px"),this.transcale(void 0,void 0,this.m_nZ,!0))},t.prototype.shift=function(e){this.position({x:this.m_nX+(0,o.castToNumber)(e.horizontal),y:this.m_nY+(0,o.castToNumber)(e.vertical),translate:e.translate})},t.prototype.rectangleOffset=function(e){return M(this.HTMLElement,!1,e)},t.prototype.backgroundSize=function(e){return this.m_nBackgroundWidth=e?e.width:void 0,this.m_nBackgroundHeight=e?e.height:void 0,A(this.HTMLElement,this.m_nBackgroundWidth&&this.m_nBackgroundHeight?{width:"auto"===this.m_nBackgroundWidth?"auto":this.m_nBackgroundWidth*this.m_nZoom,height:"auto"===this.m_nBackgroundHeight?"auto":this.m_nBackgroundHeight*this.m_nZoom}:void 0)},t.prototype.translate=function(e){return k(this.HTMLElement,e)},t.prototype.translateX=function(e){return this.translate(e).x},t.prototype.translateY=function(e){return this.translate(e).y},t.prototype.skew=function(e){this.set("transform-origin","left top 0");var t=e.width||(0,o.castToNumber)(this.width),i=e.height||(0,o.castToNumber)(this.height);this.transformationPrefix=(0,l.perspective)({leftTopX:(0,o.castToNumber)(e.leftTopX,0),leftTopY:(0,o.castToNumber)(e.leftTopY,0),rightTopX:(0,o.castToNumber)(e.rightTopX,t),rightTopY:(0,o.castToNumber)(e.rightTopY,0),leftBottomX:(0,o.castToNumber)(e.leftBottomX,0),leftBottomY:(0,o.castToNumber)(e.leftBottomY,i),rightBottomX:(0,o.castToNumber)(e.rightBottomX,t),rightBottomY:(0,o.castToNumber)(e.rightBottomY,i),width:t,height:i})},t.prototype.skewOffset=function(e){var t=e.width||(0,o.castToNumber)(this.width),i=e.height||(0,o.castToNumber)(this.height);this.skew({leftTopX:(0,o.castToNumber)(e.leftTopX,0),leftTopY:(0,o.castToNumber)(e.leftTopY,0),rightTopX:t-(0,o.castToNumber)(e.rightTopX,0),rightTopY:(0,o.castToNumber)(e.rightTopY,0),leftBottomX:(0,o.castToNumber)(e.leftBottomX,0),leftBottomY:i-(0,o.castToNumber)(e.leftBottomY,0),rightBottomX:t-(0,o.castToNumber)(e.rightBottomX,0),rightBottomY:i-(0,o.castToNumber)(e.rightBottomY,0),width:t,height:i})},t.prototype.unskew=function(){this.transformationPrefix=""},t.prototype.focus=function(e){return void 0===e&&(e=!0),B(this.HTMLElement,e)},t.prototype.blur=function(){return Y(this.HTMLElement)},t.prototype.destroyChildren=function(){t.destroyChildren(this.HTMLElement)},t.prototype.destroy=function(i,n){void 0===i&&(i=!0),void 0===n&&(n=!1);var o=e.prototype.destroy.call(this);return i&&t.destroy(o,n),o},t}(p.Style);t.Asset=Z},61293:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOMElement=void 0;var n=i(84389),o=i(95349),r=i(35781),s=function(){function e(t){this.m_bIsInDOM=!1,this.m_nId=e.m_pEnumerator.n,this.m_pHTMLElement=e.$(t)}return e.data=function(e,t,i){return this.attribute(e,"data-"+t,i)},e.destroyData=function(e,t){this.destroyAttribute(e,"data-"+t)},e.attribute=function(e,t,i){return e&&(0,n.isFilledString)(t)&&e.getAttribute?(0,n.isString)(i)?(e.setAttribute(t,i),i):(0,n.castToString)(e.getAttribute(t)):""},e.destroyAttribute=function(e,t){e&&(0,n.isFilledString)(t)&&e.removeAttribute&&e.removeAttribute(t)},e.isInDOM=function(e){return!!e&&document.body.contains(e)},e.isEqual=function(t,i){var n=t instanceof e?t.HTMLElement:t,o=i instanceof e?i.HTMLElement:i;return!(!n||!o)&&(n.isEqualNode&&n.isEqualNode(o))},e.$=function(t){return t instanceof e?t.HTMLElement:(0,n.isFilledString)(t)?document.getElementById(t)||void 0:t||void 0},e.$ignature=function(t){var i="",o="",r=-1;return t instanceof e?(r=t.id,t=t.HTMLElement):(0,n.isString)(t)&&(t=this.$(t)),t&&!(0,n.isString)(t)&&(t instanceof Window?(i="Window",o="Window"):(0,n.isFilledString)((0,n.getString)(t,"tagName"))?(i=n.Str.capitalize((0,n.getString)(t,"tagName"),"first-character",!0),o="HTMLElement"):(i="Document",o="DocumentElement"),-1!==r&&(o+=":"+n.Str.padLeft((0,n.castToString)(r),"0",8,!1,!0)),(0,n.isFilledString)(this.attribute(t,"id"))&&(o=this.attribute(t,"id"))),((0,n.isFilledString)(i)?i+":":"")+((0,n.isFilledString)(o)?o:"<Null>")},e.removeChildren=function(e){if(e)for(var t=e.lastChild;t;)e.removeChild(t),t=e.lastChild},e.destroyChildren=function(e){var t=this,i=this.isInDOM(e);(0,o.write)((function(){t.removeChildren(e)}),!i,i)},e.destroy=function(e,t,i){void 0===t&&(t=!1);var n=this.isInDOM(e);n&&t&&this.destroyChildren(e),(0,o.write)((function(){e&&e.parentElement&&e.parentElement.removeChild(e),i&&i()}),!n,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this.m_nId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){var e=this.HTMLElement,t=(0,r.CSHA2_256)((0,n.castToString)(this.id));return e&&!(0,n.isFilledString)(e.id)&&(e.id=t),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"HTMLElement",{get:function(){return this.m_pHTMLElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"exists",{get:function(){return!!this.HTMLElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDOM",{get:function(){return this.m_bIsInDOM&&this.exists||(this.m_bIsInDOM=e.isInDOM(this.HTMLElement))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){var t=this.HTMLElement;if(t&&t.parentElement)return new e(t.parentElement)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t=this.HTMLElement;if(t&&t.firstElementChild)return new e(t.firstElementChild)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childCount",{get:function(){var e=this.HTMLElement;return e?(0,n.castToNumber)(e.childElementCount):0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){if(this.isInDOM){var e=this.HTMLElement;if(e){for(var t=0,i=e.parentElement;i;)t++,i=i.parentElement;return t}}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){var e=this.HTMLElement;return e?n.Str.lowercase(e.tagName):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvas",{get:function(){var e=this.HTMLElementOfType();if(e&&e.getContext)return e.getContext("2d")||void 0},enumerable:!1,configurable:!0}),e.prototype.data=function(t,i){return e.data(this.HTMLElement,t,i)},e.prototype.destroyData=function(t){e.destroyData(this.HTMLElement,t)},e.prototype.attribute=function(t,i){return e.attribute(this.HTMLElement,t,i)},e.prototype.destroyAttribute=function(t){e.destroyAttribute(this.HTMLElement,t)},e.prototype.isEqual=function(t){return e.isEqual(this,t)},e.prototype.isParentOf=function(t){for(var i=e.$(t);i;){if(e.isEqual(this,i))return!0;i=i.parentElement}return!1},e.prototype.isChildOf=function(t){for(var i=this.HTMLElement;i;){if(e.isEqual(t,i))return!0;i=i.parentElement}return!1},e.prototype.HTMLElementOfType=function(){return this.HTMLElement?this.HTMLElement:void 0},e.prototype.destroy=function(){if(this.m_pHTMLElement){var e=this.m_pHTMLElement;return this.m_pHTMLElement=void 0,e}},e.m_pEnumerator=new n.Enumerator,e}();t.DOMElement=s},47480:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Element=void 0;var n=i(70655),o=i(84389),r=i(94689),s=i(95349),a=i(84389),l=i(68924),c=i(24278),u=i(20186),p=function(e){function t(i,n,r,l,p,h){var d=e.call(this,(0,o.isString)(i)?""!==i?document.createElement(i):void 0:i)||this;if(d.m_pChain={},d.m_bDestroyed=!1,d.HTMLElement){var m=r instanceof c.Asset?r.HTMLElement:t.$(r);if(p&&d.addClass((h||u.Stylesheet.app).style(p)),n&&n(d),m){var f=c.Asset.isInDOM(m);r instanceof t&&(d.m_pParent=r).chain(d),(0,s.write)((function(){!m||!d.HTMLElement||f&&d.m_pParent&&!d.m_pParent.isInChain(d)||((l=t.$(l))?m.insertBefore(d.HTMLElement,l):m.appendChild(d.HTMLElement))}),!f,f),t.m_nCount++,a.DEBUG&&console.log(o.Console.log("DOM.Element","Created new asset '".concat(t.$ignature(d),"' (").concat(t.m_nCount," element").concat(1===t.m_nCount?"":"s"," in DOM)")))}}return d}return(0,n.__extends)(t,e),Object.defineProperty(t,"head",{get:function(){return this.m_pHead||(this.m_pHead=new t(document.head||"head"))},enumerable:!1,configurable:!0}),Object.defineProperty(t,"body",{get:function(){return this.m_pBody||(this.m_pBody=new t(document.body))},enumerable:!1,configurable:!0}),t.setTrustedTypesPolicy=function(e){this.m_sTrustedTypesPolicy=e},t.whenDestroyed=function(e){if(this.m_fnDestroy){var t=this.m_fnDestroy;this.m_fnDestroy=function(i,n){e(i,n),t(i,n)}}else this.m_fnDestroy=e},t.create=function(e,i,n,o,r,s){return void 0===n&&(n=document.body),new t(e,i,n,o,r,s)},t.assert=function(e){return e||new t("")},t.sanitize=function(e){return"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&this.m_sTrustedTypesPolicy?(this.m_pTrustedTypesPolicies[this.m_sTrustedTypesPolicy]||(this.m_pTrustedTypesPolicies[this.m_sTrustedTypesPolicy]=trustedTypes.createPolicy(this.m_sTrustedTypesPolicy,{createHTML:function(e){return(0,l.filterXSS)(e)}}))).createHTML(e):(0,l.filterXSS)(e)},t.HTML=function(e,t){var i=this;if(e){if((0,o.isString)(t)){var n=c.Asset.isInDOM(e);(0,s.write)((function(){e&&(i.removeChildren(e),e.innerHTML=i.sanitize(t))}),!n,n)}return e.innerHTML}return""},t.text=function(e,t,i,n){var r=this;if(void 0===i&&(i=!1),void 0===n&&(n=!1),e){if((0,o.isString)(t)){var a=c.Asset.isInDOM(e);return(0,s.write)((function(){e&&(i||n||r.removeChildren(e),n?e.insertBefore(document.createTextNode(t),e.firstChild):e.appendChild(document.createTextNode(t)))}),!a,a),t}return(0,o.castToString)(e.textContent)}return""},t.zoom=function(e,t){(0,o.each)(e,(function(e){e.zoom=t}))},Object.defineProperty(t.prototype,"parent",{get:function(){if(this.m_pParent)return this.m_pParent;var e=this.HTMLElement;return e&&e.parentElement?new c.Asset(e.parentElement):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){var e=this;if(this.HTMLElement){var t=-1,i=this.HTMLElement.parentElement;if(i&&(0,o.findFirst)(i.children,(function(i){return t++,e.isEqual(i)})))return t}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HTML",{get:function(){return t.HTML(this.HTMLElement)},set:function(e){this.destroyChildren(),t.HTML(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return t.text(this.HTMLElement)},set:function(e){this.destroyChildren(),t.text(this.HTMLElement,e,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroyed",{get:function(){return this.m_bDestroyed},enumerable:!1,configurable:!0}),t.prototype.isInChain=function(e){return this.m_pChain[e.id]instanceof t},t.prototype.unchain=function(e){(0,o.destroy)(this.m_pChain,(0,o.castToString)(e.id))},t.prototype.destroyRecursive=function(i,n){if(!this.m_bDestroyed)return this.m_bDestroyed=!0,this.m_pParent&&(i||this.m_pParent.unchain(this),this.m_pParent=void 0),this.HTMLElement&&((0,o.each)(this.m_pChain,(function(e){e.destroyRecursive(!0,n)})),this.m_pChain={},t.m_nCount--,this.onDestroy&&this.onDestroy(this,i),t.m_fnDestroy&&t.m_fnDestroy(this,i),a.DEBUG&&console.log(o.Console.log("DOM.Element","Destroy asset '".concat(t.$ignature(this),"' (").concat(t.m_nCount," element").concat(1===t.m_nCount?"":"s"," in DOM)")))),e.prototype.destroy.call(this,!i||n,n)},t.prototype.chain=function(e){this.m_pChain[(0,o.castToString)(e.id)]=e},t.prototype.create=function(e,i,n,o){return t.create(e,i,this,void 0,n,o)},t.prototype.append=function(e,i,n,o){return t.create(e,i,this,void 0,n,o)},t.prototype.insert=function(e,i,n,r,s){return void 0===s&&(s=0),t.create(e,i,this,s>=0&&this.HTMLElement?(0,o.arrayItem)(this.HTMLElement.children,s):void 0,n,r)},t.prototype.textAppend=function(e){t.text(this.HTMLElement,e,!0,!1)},t.prototype.textInsert=function(e){t.text(this.HTMLElement,e,!1,!0)},t.prototype.markdown=function(e,i,n){var s=this,a=i&&"number"==typeof i.features?i.features:r.MarkdownFeatures.All;this.destroyChildren(),e.map((function(e,l,c,u,p){if("root"===p)return s;if("text"===p)return l&&t.text(s.HTMLElement,l),s;var h;switch(u||(u=s),e){case"bold":a&r.MarkdownFeatures.Formatting&&(h=u.create("b"));break;case"italic":a&r.MarkdownFeatures.Formatting&&(h=u.create("i"));break;case"bold+italic":a&r.MarkdownFeatures.Formatting&&(h=u.create("b").create("i"));break;case"underline":a&r.MarkdownFeatures.Formatting&&(h=u.create("u"));break;case"strikethrough":a&r.MarkdownFeatures.Formatting&&(h=u.create("s"));break;case"paragraph":a&r.MarkdownFeatures.Paragraphs&&(h=u.create("p"));break;case"break":return a&r.MarkdownFeatures.Paragraphs?u.create("br"):u;case"quote":a&r.MarkdownFeatures.Blockquotes&&(h=u.create("blockquote"));break;case"code":a&r.MarkdownFeatures.InlineCode&&(h=u.create("code"));break;case"codeblock":case"codeline":a&r.MarkdownFeatures.Code&&(h=u.create("codeblock"===e?"pre":"code"));break;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":a&r.MarkdownFeatures.Headings&&(h=u.create(e));break;case"hyperlink":a&r.MarkdownFeatures.Hyperlinks&&((h=u.create("a")).attribute("href",(0,o.castToString)(c)),h.attribute("rel","noopener"),i&&"self"===i.target||h.attribute("target","_blank"));break;case"image":return a&r.MarkdownFeatures.Images?((h=u.create("img")).attribute("src",(0,o.castToString)(c)),h.attribute("alt",l)):h=u.create("span"),h;case"mention":if(i&&i.mentions)return i.mentions(u,c,l)||u;break;case"reference":if(i&&i.references)return i.references(u,c,l)||u}return h||(h=u.create("span")),l&&t.text(h.HTMLElement,l),n&&e&&n(h,e),h}))},t.prototype.destroyChildren=function(){(0,o.each)(this.m_pChain,(function(e){e.destroyRecursive(!1,!1)})),e.prototype.destroyChildren.call(this)},t.prototype.destroy=function(e){return void 0===e&&(e=!1),this.destroyRecursive(!1,e)},t.m_nCount=0,t.m_pTrustedTypesPolicies={},t.m_sTrustedTypesPolicy="",t}(c.Asset);t.Element=p},51949:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Fragment=void 0;var n=i(84389),o=i(95349),r=i(24278),s=i(47480),a=function(){function e(e){this.m_pFragment=document.createDocumentFragment(),this.m_pAsset=void 0,this.m_pChain=[],(0,n.call)(e,this)}return e.create=function(t,i,n){void 0===i&&(i=document.body);var o=new e(t);return o.reflect(i,n),o},e.prototype.create=function(e,t){return this.insertBefore(e,void 0,t)},e.prototype.append=function(e,t){return this.insertBefore(e,void 0,t)},e.prototype.insertBefore=function(e,t,i){if(this.m_pFragment||this.m_pAsset){var n=s.Element.create(e,i,this.m_pFragment||this.m_pAsset,t);return this.m_pFragment&&this.m_pChain.push(n),n}},e.prototype.reflect=function(e,t){var i=this;if(void 0===e&&(e=document.body),this.m_pFragment){var a=e instanceof r.Asset?e.HTMLElement:s.Element.$(e);if(a){var l=s.Element.isInDOM(a);(0,o.write)((function(){i.m_pFragment&&a&&((t=s.Element.$(t))?a.insertBefore(i.m_pFragment,t):a.appendChild(i.m_pFragment)),i.m_pAsset=a,i.m_pFragment=void 0,e instanceof s.Element&&(i.m_pAsset=e,(0,n.each)(i.m_pChain,(function(t){e.chain(t)})))}),!l,l)}}this.m_pChain=[]},e}();t.Fragment=a},61331:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventListeners=void 0;var n=i(70655),o=i(84389),r=i(95349),s=i(84389),a=i(61293),l="$dom-event-listener-",c=function(e){function t(t){var i=e.call(this,t)||this;return i.m_pEvents={},i}return(0,n.__extends)(t,e),Object.defineProperty(t,"isPassiveSupported",{get:function(){var e=this;if(!(0,o.isBoolean)(this.m_bPassive)){this.m_bPassive=!1;try{var t=function(){};window.addEventListener("test",t,Object.defineProperty({},"passive",{get:function(){e.m_bPassive=!0}})),window.removeEventListener("test",t)}catch(e){}}return this.m_bPassive},enumerable:!1,configurable:!0}),t.options=function(e,t){return this.isPassiveSupported&&(0,o.isBoolean)(t)?{capture:e,passive:t}:e},t.attachListener=function(e,i,n,c,u){var p=this;void 0===c&&(c={}),void 0===u&&(u=this);var h=this.$(e);return!(!h||!(0,o.isFunction)(n))&&(n=n.bind(u),(0,o.each)((0,o.isFilledString)(i)?[i]:(0,o.isArray)(i)?i:[],(function(i){if((0,o.isFilledString)(i)&&h&&h.addEventListener){var d,m,f=(0,o.castToBoolean)(c.capture);switch(c.sequencer){case"read":m=function(e){return(0,r.read)((function(){return n(e)}))};break;case"write":m=function(e){return(0,r.write)((function(){return n(e)}))};break;case"write-thorough":m=function(e){return(0,r.write)((function(){return n(e)}),!1,!0)};break;case"write-after-read":m=function(e){return(0,r.writeAfterRead)((function(){return n(e)}))};break;default:m=n}c.limiter&&(d=new o.Limiter(c.limiter,(function(e){return m(e)}),c.timeout||0)),h.addEventListener(i,(0,o.setAny)(u,l+(e instanceof a.DOMElement?"".concat(e.id,"-"):"")+i,{listener:function(e){e&&!e.cancelBubble&&(c.stopPropagation&&t.stopPropagation(e),d?d.invoke(e):m(e))},limiter:d,capture:f,passive:c.passive}).listener,t.options(f,c.passive)),s.DEBUG&&console.log(o.Console.log("DOM.EventListeners","Attached event '".concat(i).concat(c.limiter?"-"+c.limiter:"","' to asset '").concat(p.$ignature(h),"' (").concat(f?"capture mode":"bubble mode",")")))}})),!0)},t.detachListener=function(e,t,i){var n=this;void 0===i&&(i=this);var r=this.$(e);return!!r&&((0,o.each)((0,o.isFilledString)(t)?[t]:(0,o.isArray)(t)?t:[],(function(t){if((0,o.isFilledString)(t)&&r&&r.addEventListener){var c=l+(e instanceof a.DOMElement?"".concat(e.id,"-"):"")+t,u=(0,o.getAny)(i,c);u&&(r.removeEventListener(t,u.listener,u.capture),u.limiter&&u.limiter.cancel(),(0,o.destroy)(i,c),s.DEBUG&&console.log(o.Console.log("DOM.EventListeners","Detach event '".concat(t,"' from asset '").concat(n.$ignature(r),"' (").concat(u.capture?"capture mode":"bubble mode",")"))))}})),!0)},t.stopPropagation=function(e){(0,o.isObject)(e)&&((0,o.isFunction)(e.preventDefault)&&e.preventDefault(),(0,o.isFunction)(e.stopPropagation)&&e.stopPropagation())},t.prototype.on=function(e,i,n){var a=this;void 0===n&&(n={});var l=this.HTMLElement;return!!l&&(i=i.bind(this),n.overwrite&&this.off(e),(0,o.each)((0,o.isFilledString)(e)?[e]:(0,o.isArray)(e)?e:[],(function(e){if((0,o.isFilledString)(e)&&l&&l.addEventListener)if((0,o.getAny)(a.m_pEvents,e)){if(!n.noOverwrite)throw new Error("DOM.EventListeners: Another handler is already attached to event '".concat(e,"' for asset '").concat(t.$ignature(a),"'"))}else{var c,u,p=(0,o.castToBoolean)(n.capture);switch(n.sequencer){case"read":u=function(e){return(0,r.read)((function(){return i(e)}))};break;case"write":u=function(e){return(0,r.write)((function(){return i(e)}))};break;case"write-thorough":u=function(e){return(0,r.write)((function(){return i(e)}),!1,!0)};break;case"write-after-read":u=function(e){return(0,r.writeAfterRead)((function(){return i(e)}))};break;default:u=i}n.limiter&&(c=new o.Limiter(n.limiter,(function(e){return u(e)}),n.timeout||0)),l.addEventListener(e,(0,o.setAny)(a.m_pEvents,e,{listener:function(e){e&&!e.cancelBubble&&(n.stopPropagation&&t.stopPropagation(e),c?c.invoke(e):u(e))},limiter:c,capture:p,passive:n.passive}).listener,t.options(p,n.passive)),s.DEBUG&&console.log(o.Console.log("DOM.EventListeners","Attached event '".concat(e).concat(n.limiter?"-"+n.limiter:"","' to asset '").concat(t.$ignature(a),"' (").concat(p?"capture mode":"bubble mode",")")))}})),!0)},t.prototype.off=function(e){var i=this;if((0,o.isFilledString)(e)){var n=e,r=(0,o.getAny)(this.m_pEvents,n);if(r){var a=this.HTMLElement;r.limiter&&r.limiter.cancel(),a&&a.removeEventListener&&a.removeEventListener(n,r.listener,r.capture),(0,o.destroy)(this.m_pEvents,n),s.DEBUG&&console.log(o.Console.log("DOM.EventListeners","Detach event '".concat(n,"' from asset '").concat(t.$ignature(this),"'")))}}else(0,o.each)(e,(function(e){return i.off(e)}))},t.prototype.listensTo=function(e){return!!(0,o.getAny)(this.m_pEvents,e)},t.prototype.destroy=function(){var t=this;return(0,o.each)(Object.keys(this.m_pEvents),(function(e){return t.off(e)})),e.prototype.destroy.call(this)},t}(a.DOMElement);t.EventListeners=c},70457:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Style=void 0;for(var n=i(70655),o=i(84389),r=i(95349),s=i(61331),a=i(20186),l=i(52313),c=i(52313),u=["-webkit-","-khtml-","-moz-","-ms-","-o-"],p={"backdrop-filter":!0,"backface-visibility":!0,"box-sizing":!0,filter:!0,perspective:!0,"perspective-origin":!0,transition:!0,"transition-delay":!0,"transition-duration":!0,"transition-property":!0,"transition-timing-function":!0,transform:!0,"transform-origin":!0,"transform-style":!0,appearance:!0,"text-size-adjust":!0,"user-select":!0},h={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0},d={padding:!0,margin:!0},m=0,f=Object.keys(h);m<f.length;m++)for(var g=f[m],y=0,b=u;y<b.length;y++){h[b[y]+g]=!0}var v=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_bElevated=!1,n.m_bTransitions=!0,n.m_nTransitionTimeout=0,n.m_sTransformationPrefix="",n.m_sTransformationTranslate="",n.m_sTransformationScale="",i&&i(n),n}return(0,n.__extends)(t,e),Object.defineProperty(t,"MAX_OPACITY",{get:function(){return l.MAX_OPACITY},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_LAYERS",{get:function(){return c.ZINDEX_LAYERS},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_FLOATING",{get:function(){return c.ZINDEX_FLOATING},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_ELEVATED",{get:function(){return c.ZINDEX_ELEVATED},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_MODAL",{get:function(){return c.ZINDEX_MODAL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_SCROLLBARS",{get:function(){return c.ZINDEX_SCROLLBARS},enumerable:!1,configurable:!0}),Object.defineProperty(t,"ZINDEX_MENU",{get:function(){return c.ZINDEX_MENU},enumerable:!1,configurable:!0}),t.prefix=function(e){return!!p[e]},t.hyphenate=function(e){return o.Str.sanitize(e).replace(/([A-Z])/g,"-$1").replace(/^webkit-/,"-webkit-").replace(/^ms-/,"-ms-").replace(/^moz-/,"-moz-").replace(/^o-/,"-o-").toLowerCase()},t.extendStyles=function(e){if((0,o.isArray)(e)){var t=e;return 1===t.length&&t[0]?t[0]:o.extendImmutable.apply(void 0,t)}return e},t.parseStylesToRules=function(e,t,i,n,r,s,l,c){var p,m,f=this,g=[],y="",b="",v=-1;if(e=o.Str.sanitize(e),p=(0,o.isFilledString)(e),i=i&&p,n){if(p){(0,o.each)(u,(function(i){f.parseStylesToRules("@".concat(i,"keyframes ").concat(e),t,!1,!1,!0,s,"")}));var M=this.parseStylesToRules("@keyframes ".concat(e),t,!1,!1,!0,s,"");M.isEmpty||(y+=M.hash)}}else v=s.push({selector:e,properties:g,atRule:l}),p&&(y=l+e),(0,o.each)(this.extendStyles(t),(function(t,n){if((0,o.isObject)(t)){if(i||r){var a=o.Str.sanitize(n);(0,o.isFilledString)(a)&&(c&&(0,o.isFunction)(c[a])?g.push.apply(g,c[a](t)):r||"@"!==a.charAt(0)?b+=f.parseStylesToRules(r?a:-1!==a.indexOf("&")?a.replace(/&/g,e):"".concat(e," ").concat(a),t,i&&!r,!1,!1,s,r?e:l,c).hash:b+=f.parseStylesToRules(e,t,i,!1,!1,s,a,c).hash)}}else if(!r){var p,m=f.hyphenate(n);if((0,o.isFilledString)(m))(0,o.isArray)(t)?(p="",(0,o.each)(t,(function(e){var t;t=(0,o.isNumberFinite)(e)&&0!==e&&!h[m]?"".concat(e,"px"):(0,o.castToString)(e),h[m]?p=t:p+=(""===p?"":d[m]?" ":",")+t}))):p=(0,o.isNumberFinite)(t)&&0!==t&&!h[m]?"".concat(t,"px"):(0,o.castToString)(t),p=p.replace(/([\{\}\[\]])/g,"\\$1"),(0,o.isFilledString)(p)&&(g.push({name:m,value:p}),f.prefix(m)&&(0,o.each)(u,(function(e){switch(m){case"transition":case"transition-property":p=o.Str.replace(p,"transform",e+"transform"),p=o.Str.replace(p,"perspective",e+"perspective")}g.push({name:e+m,value:p})})))}}),{keys:!0}),g.length>0?(g.sort((function(e,t){return e.name>t.name?1:-1})),(p||i)&&(0,o.each)(g,(function(e){y+="".concat(e.name,":").concat(e.value,";")}))):v>0&&(s.splice(v-1,1),y=""),y+=b;return m=(0,o.isFilledString)(y),p&&(n||1===v)&&(y=a.Stylesheet.hash(y,n?"a":"c"),(0,o.each)(s,(function(e){n?e.atRule=e.atRule.replace(/&/g,y):e.selector=e.selector.replace(/&/g,".".concat(y))}))),{rules:s,hash:y,isEmpty:!m}},t.of=function(e){return e instanceof t?e:new t(e)},t.apply=function(e,i){return new t(e,i)},t.set=function(e,t,i,n,r){var s,a=this;(void 0===n&&(n=!0),void 0===r&&(r=!1),e&&(0,o.isFilledString)(t))&&((0,o.isArray)(i)?(s="",(0,o.each)(i,(function(e){var i;i=(0,o.isNumberFinite)(e)&&0!==e&&!h[t]?"".concat(e,"px"):(0,o.castToString)(e),h[t]?s=i:s+=(""===s?"":d[t]?" ":",")+i}))):s=(0,o.isNumberFinite)(i)&&0!==i&&!h[t]?"".concat(i,"px"):(0,o.castToString)(i),(r=r||-1!==s.indexOf("!important"))&&(s=o.Str.trim(o.Str.replace(s,"!important",""))),n&&this.prefix(t)&&(0,o.each)(u,(function(i){switch(t){case"transition":case"transition-property":s=o.Str.replace(s,"transform",i+"transform"),s=o.Str.replace(s,"perspective",i+"perspective")}a.set(e,i+t,s,!1,r)})),r?e.style.setProperty(t,s,r?"important":""):e.style.setProperty(t,s))},t.get=function(e,t,i,n){if(void 0===i&&(i=!0),e&&(0,o.isFilledString)(t)){var r="";if(this.prefix(t))for(var s=0;s<(0,o.arraySize)(u);s++)if(r=this.get(e,u[s]+t,i,n),(0,o.isFilledString)(r))return r;if(i){var a=window.getComputedStyle(e,(0,o.isFilledString)(n)?n:void 0);if((0,o.isObject)(a)&&(r=a.getPropertyValue(t),(0,o.isFilledString)(r)))return r}return(0,o.castToString)(e.style.getPropertyValue(t))}return""},t.styles=function(e,t){var i=this;(0,o.each)(t,(function(t,n){i.set(e,i.hyphenate(n),t,!0)}),{keys:!0})},t.stylesToRules=function(e,t,i,n,o){return this.parseStylesToRules(e,t,i,n,!1,[],"",o)},t.stylesToString=function(e){var t=this.stylesToRules("",e,!1,!1).rules,i="";return(0,o.arraySize)(t)>0&&(0,o.each)(t[0].properties,(function(e){i+="".concat(e.name,":").concat(e.value,";")})),i},t.pointerEvents=function(e,t){return(0,o.isBoolean)(t)?(this.set(e,"pointer-events",t?"auto":"none"),t):"none"!==this.get(e,"pointer-events")},t.zIndex=function(e,t){var i;return(0,o.isNumber)(t)||"auto"===t||"inherit"===t?(this.set(e,"z-index","auto"===t?"auto":"inherit"===t?"":t),"inherit"===t?0:t):(i=this.get(e,"z-index",!1),(0,o.isFilledString)(i)&&"auto"!==i?(0,o.castToNumber)(i):"auto")},t.opacity=function(e,t){return"inherit"===t?(this.set(e,"opacity",""),l.MAX_OPACITY):(0,o.isNumber)(t)?(t=o.Num.range(t,0,l.MAX_OPACITY),this.set(e,"opacity",1/l.MAX_OPACITY*t),t):(0,o.castToNumber)((0,o.castToFloat)(this.get(e,"opacity"))*l.MAX_OPACITY)},t.transition=function(e,t){var i;return(0,o.isString)(t)?(this.set(e,"transition","inherit"===t?"":(0,o.isFilledString)(t)?t:"none"),t):""===(i=this.get(e,"transition"))||"all 0s ease 0s"===i?"inherit":"none"!==i?i:""},t.transformation=function(e,t){var i;return(0,o.isString)(t)?(this.set(e,"transform",(0,o.isFilledString)(t)?t:""),t):(i=this.get(e,"transform",!1),(0,o.isFilledString)(i)||(i=this.get(e,"transform",!0)),"none"!==i?i:"")},t.class=function(e,t){return e?((0,o.isString)(t)&&(e.className=o.Str.sanitize(t)),e.className):""},t.addClass=function(e,i){var n;return(0,o.isFilledString)(i)?e&&e.classList?(e.classList.add(i),t.class(e)):(n=t.class(e),this.class(e,o.Str.sanitize(n+(-1===String(" ".concat(n," ")).indexOf(" ".concat(o.Str.sanitize(i)," "))?" "+i:"")))):t.class(e)},t.removeClass=function(e,i){return(0,o.isFilledString)(i)?e&&e.classList?(e.classList.remove(i),t.class(e)):this.class(e,o.Str.sanitize(o.Str.replace(" ".concat(t.class(e)," ")," ".concat(o.Str.sanitize(i)," ")," "))):t.class(e)},t.toggleClass=function(e,i){return(0,o.isFilledString)(i)?e&&e.classList?(e.classList.toggle(i),t.class(e)):this.hasClass(e,i)?this.removeClass(e,i):this.addClass(e,i):t.class(e)},t.setClass=function(e,t,i){return i?this.addClass(e,t):this.removeClass(e,t)},t.hasClass=function(e,i){return!(!(0,o.isFilledString)(i)||!e)&&(e.classList?e.classList.contains(i):-1!==String(" ".concat(t.class(e)," ")).indexOf(" ".concat(o.Str.sanitize(i)," ")))},Object.defineProperty(t.prototype,"class",{get:function(){return t.class(this.HTMLElement)},set:function(e){t.class(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){var e=this.HTMLElement;return e?e.style:{}},set:function(e){t.styles(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pointerEvents",{get:function(){return t.pointerEvents(this.HTMLElement)},set:function(e){t.pointerEvents(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zIndex",{get:function(){return(0,o.isNumberFinite)(this.m_nZIndex)?this.m_nZIndex:"auto"===this.m_nZIndex?"auto":this.m_nZIndex=t.zIndex(this.HTMLElement)},set:function(e){this.m_nZIndex!==e&&(this.m_nZIndex="inherit"===e?void 0:e,this.m_bElevated||t.zIndex(this.HTMLElement,e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elevate",{set:function(e){0!==e!==this.m_bElevated&&(this.m_bElevated=0!==e,this.m_bElevated&&!(0,o.isNumberFinite)(this.m_nZIndex)&&(this.m_nZIndex=t.zIndex(this.HTMLElement)),t.zIndex(this.HTMLElement,this.m_bElevated?((0,o.isNumberFinite)(this.m_nZIndex)?this.m_nZIndex:(0,o.castToNumber)(this.get("z-index",!0)))+e:(0,o.isNumberFinite)(this.m_nZIndex)||"auto"===this.m_nZIndex?this.m_nZIndex:"inherit"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"elevated",{get:function(){return this.m_bElevated},set:function(e){var t=this;e?(this.transitions=!1,this.elevate=c.ZINDEX_ELEVATED):this.transitionActivate((function(){return t.elevate=0}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{get:function(){return t.opacity(this.HTMLElement)},set:function(e){t.opacity(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transition",{get:function(){return(0,o.isString)(this.m_sTransition)?this.m_sTransition:this.m_sTransition=t.transition(this.HTMLElement)},set:function(e){this.m_sTransition=e,this.m_bTransitions&&t.transition(this.HTMLElement,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTransitionEnd",{get:function(){return this.m_fnTransitionEnd},set:function(e){this.m_fnTransitionEnd=e,e?this.on(["webkitTransitionEnd","oTransitionEnd","transitionend"],(function(t){e(t.propertyName,(0,o.castToNumber)(1e3*t.elapsedTime))}),{overwrite:!0}):this.off(["webkitTransitionEnd","oTransitionEnd","transitionend"])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.m_bTransitions},set:function(e){this.m_bTransitions!==e&&(this.m_bTransitions=e,this.m_bTransitions||(0,o.isString)(this.m_sTransition)||(this.m_sTransition=t.transition(this.HTMLElement)),t.transition(this.HTMLElement,this.m_bTransitions?this.m_sTransition:""))},enumerable:!1,configurable:!0}),t.prototype.transitionActivate=function(e,t){var i=this;void 0===t&&(t=250),(0,o.call)(this.onTransitionEnd,"",0),this.onTransitionEnd=function(){i.m_nTransitionTimeout=(0,o.cancelTimeout)(i.m_nTransitionTimeout),i.onTransitionEnd=void 0,e()},this.transitions=!0,(0,r.read)((function(){var e=i.get("transition-duration",!0);(0,o.isFilledString)(e)&&"0s"!==e?i.m_nTransitionTimeout=(0,o.scheduleTimeout)((function(){return(0,o.call)(i.onTransitionEnd,"",0)}),t):(0,o.call)(i.onTransitionEnd,"",0)}))},Object.defineProperty(t.prototype,"onAnimationStart",{get:function(){return this.m_fnAnimationStart},set:function(e){this.m_fnAnimationStart=e,e?this.on(["webkitAnimationStart","oAnimationStart","animationstart"],(function(t){e(t.animationName)}),{overwrite:!0}):this.off(["webkitAnimationStart","oAnimationStart","animationstart"])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onAnimationEnd",{get:function(){return this.m_fnAnimationEnd},set:function(e){this.m_fnAnimationEnd=e,e?this.on(["webkitAnimationEnd","oAnimationEnd","animationend"],(function(t){e(t.animationName,(0,o.castToNumber)(1e3*t.elapsedTime))}),{overwrite:!0}):this.off(["webkitAnimationEnd","oAnimationEnd","animationend"])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transformation",{get:function(){return(0,o.isString)(this.m_sTransformation)?this.m_sTransformation:this.m_sTransformation=t.transformation(this.HTMLElement)},set:function(e){this.m_sTransformation!==e&&(this.m_sTransformation=e,t.transformation(this.HTMLElement,"".concat((0,o.isFilledString)(this.m_sTransformationTranslate)?this.m_sTransformationTranslate+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformationScale)?this.m_sTransformationScale+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformationPrefix)?this.m_sTransformationPrefix+" ":"")+"".concat((0,o.isFilledString)(e)?e:"")))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transformationPrefix",{set:function(e){this.m_sTransformationPrefix!==e&&(this.m_sTransformationPrefix=e,t.transformation(this.HTMLElement,"".concat((0,o.isFilledString)(this.m_sTransformationTranslate)?this.m_sTransformationTranslate+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformationScale)?this.m_sTransformationScale+" ":"")+"".concat((0,o.isFilledString)(e)?e+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformation)?this.m_sTransformation:"")))},enumerable:!1,configurable:!0}),t.prototype.apply=function(e,t){var i=this;return void 0===t&&(t=!0),t?(0,r.write)((function(){return i.apply(e,!1)}),!this.isInDOM):e(this),this},t.prototype.set=function(e,i){t.set(this.HTMLElement,e,i)},t.prototype.get=function(e,i,n){return void 0===i&&(i=!0),t.get(this.HTMLElement,e,i,n)},t.prototype.animate=function(e,t,i,n){var s=this;void 0===i&&(i=!1),void 0===n&&(n="safe"),"frame"!==n?(this.onAnimationEnd=function(n,a){i&&(0,r.write)((function(){return s.removeClass(e)})),(0,o.scheduleAnimation)(t,(0,o.castToString)(n),(0,o.castToNumber)(a)),s.onAnimationEnd=void 0},(0,r.write)((function(){s.addClass(e),(0,r.read)((function(){var e=s.get("animation-name");(0,o.isFilledString)(e)&&"none"!==e||(0,o.call)(s.onAnimationEnd,"",0)}))}),"synchronous"===n||!this.isInDOM)):(0,o.scheduleAnimation)((function(){return s.animate(e,t,i,"safe")}))},t.prototype.transcale=function(e,i,n,r){void 0===r&&(r=!0),this.m_sTransformationTranslate=(0,o.isNumberFinite)(e)&&(0,o.isNumberFinite)(i)&&(r||0!==e||0!==i)?"translate".concat(r?"3d":"","(").concat(e,"px,").concat(i,"px").concat(r?",0px":"",")"):"",this.m_sTransformationScale=(0,o.isNumberFinite)(n)&&1!==n?"scale".concat(r?"3d":"","(").concat(n).concat(r?",".concat(n,",1"):"",")"):"",t.transformation(this.HTMLElement,"".concat((0,o.isFilledString)(this.m_sTransformationTranslate)?this.m_sTransformationTranslate+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformationScale)?this.m_sTransformationScale+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformationPrefix)?this.m_sTransformationPrefix+" ":"")+"".concat((0,o.isFilledString)(this.m_sTransformation)?this.m_sTransformation:""))},t.prototype.addClass=function(e){return t.addClass(this.HTMLElement,e)},t.prototype.addClassSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.addClassSafe(e,!1)})):(0,r.write)((function(){return i.addClass(e)}),!this.isInDOM)},t.prototype.removeClass=function(e){return t.removeClass(this.HTMLElement,e)},t.prototype.removeClassSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.removeClassSafe(e,!1)})):(0,r.write)((function(){return i.removeClass(e)}),!this.isInDOM)},t.prototype.toggleClass=function(e){return t.toggleClass(this.HTMLElement,e)},t.prototype.toggleClassSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.toggleClassSafe(e,!1)})):(0,r.write)((function(){return i.toggleClass(e)}),!this.isInDOM)},t.prototype.setClass=function(e,t){return t?this.addClass(e):this.removeClass(e)},t.prototype.setClassSafe=function(e,t,i){var n=this;void 0===i&&(i=!1),i?(0,o.scheduleFrame)((function(){return n.setClassSafe(e,t,!1)})):(0,r.write)((function(){return n.setClass(e,t)}),!this.isInDOM)},t.prototype.hasClass=function(e){return t.hasClass(this.HTMLElement,e)},t.prototype.selector=function(e,t){return this.setClass(a.Stylesheet.selectorHash(e),t)},t.prototype.selectorSafe=function(e,t,i){var n=this;void 0===i&&(i=!1),i?(0,o.scheduleFrame)((function(){return n.selectorSafe(e,t,!1)})):(0,r.write)((function(){return n.selector(e,t)}),!this.isInDOM)},t.prototype.addSelector=function(e){return this.addClass(a.Stylesheet.selectorHash(e))},t.prototype.addSelectorSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.addSelectorSafe(e,!1)})):(0,r.write)((function(){return i.addSelector(e)}),!this.isInDOM)},t.prototype.removeSelector=function(e){return this.removeClass(a.Stylesheet.selectorHash(e))},t.prototype.removeSelectorSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.removeSelectorSafe(e,!1)})):(0,r.write)((function(){return i.removeSelector(e)}),!this.isInDOM)},t.prototype.toggleSelector=function(e){return this.toggleClass(a.Stylesheet.selectorHash(e))},t.prototype.toggleSelectorSafe=function(e,t){var i=this;void 0===t&&(t=!1),t?(0,o.scheduleFrame)((function(){return i.toggleSelectorSafe(e,!1)})):(0,r.write)((function(){return i.toggleSelector(e)}),!this.isInDOM)},t.prototype.hasSelector=function(e){return this.hasClass(a.Stylesheet.selectorHash(e))},t.prototype.animateSelector=function(e,t,i,n){void 0===i&&(i=!1),void 0===n&&(n="safe"),this.animate(a.Stylesheet.selectorHash(e),t,i,n)},t.prototype.destroy=function(){return this.m_nTransitionTimeout=(0,o.cancelTimeout)(this.m_nTransitionTimeout),e.prototype.destroy.call(this)},t}(s.EventListeners);t.Style=v},16277:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.desktopStylesheet=t.desktopStyles=void 0;var n=i(20186),o=i(36380);t.desktopStyles=function(){return{"*":{webkitTouchCallout:"none",webkitTapHighlightColor:"transparent",touchAction:"none",textRendering:"optimizeLegibility",userSelect:"none",boxSizing:"border-box",cursor:"default","&:focus":{outline:"none"}},"input[type='text']":{userSelect:"text",cursor:"text",resize:"none","&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"}},"input[type='password']":{userSelect:"text",cursor:"text",resize:"none","&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"}},"input[type='email']":{userSelect:"text",cursor:"text",resize:"none","&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"}},"input[type='search']":{userSelect:"text",cursor:"text",resize:"none","&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"}},textarea:{userSelect:"text",cursor:"text",resize:"none","&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"}}}},t.desktopStylesheet=function(e){void 0===e&&(e=n.Stylesheet.app),(0,o.styleRules)((0,t.desktopStyles)(),e),e.static("html",{textSizeAdjust:"none"}),e.static("body",{overflow:"hidden"})}},21750:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=void 0;var n=i(84389),o=i(70457),r=i(20186),s=function(){function e(t,i,s,a,l){if(this.m_sClass=(0,n.castToString)(l),(0,n.isFilledString)(i)&&(this.m_pRule=e.getFromSelector(t.CSSStyleRules,i),s)){var c=this.sheet||t.sheet;if(c&&((0,n.isNumberFinite)(a)||(a=this.index),-1===a&&(a=r.Stylesheet.count(c)),(0,n.isNumberFinite)(a))){var u=o.Style.stylesToString(s);this.delete(),a=n.Num.range(a,0,r.Stylesheet.count(c)),"insertRule"in c?c.insertRule("".concat(i," { ").concat(u," }"),a):"addRule"in c&&c.addRule(i,u,a),this.m_pRule=e.getFromSelector(c.cssRules||c.rules,i)}}}return e.getFromSelector=function(e,t){return(0,n.isFilledString)(t)?(0,n.findFirst)(e,(function(e){return e.selectorText===t})):void 0},e.getSelectorIndex=function(e,t){var i=-1;return(0,n.isFilledString)(t)&&(0,n.findFirst)(e,(function(e){return i++,e.selectorText===t}))?i:-1},Object.defineProperty(e.prototype,"sheet",{get:function(){return this.m_pRule&&this.m_pRule.parentStyleSheet?this.m_pRule.parentStyleSheet:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selector",{get:function(){return this.m_pRule?this.m_pRule.selectorText:""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"class",{get:function(){return this.m_sClass},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){var t=this.sheet;return t?e.getSelectorIndex(t.cssRules||t.rules,this.selector):-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"CSS",{get:function(){return this.m_pRule?this.m_pRule.style.cssText:""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){return this.m_pRule?this.m_pRule.style:{}},set:function(e){o.Style.styles(this.m_pRule,e)},enumerable:!1,configurable:!0}),e.prototype.set=function(e,t,i){void 0===i&&(i=!1),o.Style.set(this.m_pRule,e,t,!0,i)},e.prototype.get=function(e){return o.Style.get(this.m_pRule,e,!1)},e.prototype.delete=function(){var e=this.sheet;if(this.m_pRule&&e){var t=this.index;if(-1!==t)return"deleteRule"in e?e.deleteRule(t):"removeRule"in e&&e.removeRule(t),this.m_pRule=void 0,!0}return!1},e}();t.Rule=s},36380:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleRules=void 0;var n=i(84389),o=i(20186);t.styleRules=function(e,t){void 0===t&&(t=o.Stylesheet.app),(0,n.each)(e,(function(e,i){t.static(i,e)}),{keys:!0})}},20186:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stylesheet=void 0;var n=i(84389),o=i(95349),r=i(84389),s=i(40100),a=i(24278),l=i(70457),c=i(21750),u=function(){function e(e,t,i){void 0===e&&(e=!0),void 0===t&&(t=""),this.m_nReflection=0,this.m_pStylesheets=[],this.m_pClasses={},this.m_pRules={},this.m_sMedia=t,this.m_pTarget=a.Asset.$(i),this.m_bAutoReflection=e,this.m_bNeedReflection=!1}return Object.defineProperty(e,"pool",{get:function(){return this.m_pPool||(this.m_pPool=new s.Pool({onAllocate:function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e},onRequest:function(e){e.textContent="",e.removeAttribute("media")},onDispose:function(e,t){a.Asset.destroy(e,!1,t)}}))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"app",{get:function(){return this.m_pApplication||(this.m_pApplication=new e(!0))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"screen",{get:function(){return this.m_pScreen||(this.m_pScreen=new e(!0,"screen"))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"print",{get:function(){return this.m_pPrint||(this.m_pPrint=new e(!0,"print"))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"prefix",{get:function(){return this.m_sPrefix},set:function(e){this.m_sPrefix=e},enumerable:!1,configurable:!0}),e.hash=function(e,t){return n.Str.djb2Hash(e,"".concat(this.prefix).concat(""===this.prefix?"":"-").concat(t))},e.count=function(e){return e?(0,n.arraySize)(e.cssRules||e.rules):0},e.create=function(t,i,n){return void 0===t&&(t=!0),void 0===i&&(i=""),new e(t,i,n)},e.selectorHash=function(e){var t=this.m_pSelectors[e];return(0,n.isString)(t)?t:this.m_pSelectors[e]=this.hash(e,"s")},e.selector=function(e,t){return void 0===t&&(t="&"),t+"."+this.selectorHash(e)},e.selectors=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o="";return(0,n.each)(t,(function(t){o+=(""===o?"":",")+e.selector(t)})),o},Object.defineProperty(e.prototype,"parsers",{get:function(){var e=this;return{"@keyframes":function(t){return[{name:"animation-name",value:e.animation(t)}]}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sheets",{get:function(){var e=[];return(0,n.each)(this.m_pStylesheets,(function(t){if(t){var i=t.sheet;i&&e.push(i)}})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sheet",{get:function(){return this.reflect(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){var t=0;return(0,n.each)(this.sheets,(function(i){t+=e.count(i)})),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"CSSStyleRules",{get:function(){var e=[];return(0,n.each)(this.sheets,(function(t){(0,n.each)(t.cssRules||t.rules,(function(t){t&&e.push(t)}))})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"CSSText",{get:function(){var e="";return(0,n.each)(this.m_pRules,(function(t){e+=t.rules})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){var e=this,t=[];return(0,n.each)(this.CSSStyleRules,(function(i){t.push(new c.Rule(e,i.selectorText))})),t},enumerable:!1,configurable:!0}),e.prototype.reflect=function(t){var i,s=this;if(this.reflectCancel(),this.m_pStylesheets)if(t&&0===(0,n.arraySize)(this.m_pStylesheets)||this.m_bNeedReflection){if((i=e.pool.request())&&((0,n.isFilledString)(this.m_sMedia)&&i.setAttribute("media",this.m_sMedia),this.write(i)||t)){var l=a.Asset.isInDOM(this.m_pTarget||document.head);(0,o.write)((function(){var e=s.m_pTarget||document.head;e&&e.appendChild(i)}),!l,l),this.m_pStylesheets.push(i),r.DEBUG&&console.log(n.Console.log("DOM.Stylesheet","Flush stylesheet"))}}else i=(0,n.lastArrayItem)(this.m_pStylesheets);return i?i.sheet:void 0},e.prototype.reflectSchedule=function(){var e=this;this.m_bNeedReflection=!0,this.m_bAutoReflection&&0===this.m_nReflection&&(this.m_nReflection=(0,o.read)((function(){e.m_nReflection=0,e.reflect(!1)})))},e.prototype.reflectCancel=function(){0!==this.m_nReflection&&((0,o.revoke)(this.m_nReflection),this.m_nReflection=0)},e.prototype.stringify=function(e){var t="",i="";return(0,n.each)(e,(function(e){e.atRule!==i&&(""!==i&&(t+="}"),""!==(i=e.atRule)&&(t+="".concat(i,"{"))),t+="".concat(e.selector,"{"),(0,n.each)(e.properties,(function(e){t+="".concat(e.name,":").concat(e.value,";")})),t+="}"})),""!==i&&(t+="}"),t},e.prototype.cache=function(e){return e.isEmpty||this.m_pRules[e.hash]||(this.m_pRules[e.hash]={rules:this.stringify(e.rules),isReflected:!1},this.reflectSchedule()),e},e.prototype.write=function(e){if(this.m_bNeedReflection){var t="";if((0,n.each)(this.m_pRules,(function(e){e.isReflected||(t+=e.rules,e.isReflected=!0)})),this.m_bNeedReflection=!1,""!==t)return e.textContent=t,!0}return!1},e.prototype.static=function(e,t){this.cache(l.Style.stylesToRules(e,t,!0,!1,this.parsers))},e.prototype.style=function(e){var t=l.Style.stylesToRules("&",e,!0,!1,this.parsers);return t.isEmpty?"":this.cache(t).hash},e.prototype.styleAsset=function(e,t){e.addClass(this.style(t))},e.prototype.styleAssetSafe=function(e,t){e.addClassSafe(this.style(t))},e.prototype.animation=function(e,t){var i=l.Style.stylesToRules(t||"&",e,!1,!0);return i.isEmpty?"":(this.cache(i),t||i.hash)},e.prototype.rule=function(t){void 0===t&&(t={});var i=e.hash("rule.".concat(e.m_pEnumerator.n),"r");return new c.Rule(this,".".concat(i),t,-1,i)},e.prototype.insertRule=function(e,t,i){return void 0===t&&(t={}),new c.Rule(this,e,t,0,this.m_pClasses[e]=i)},e.prototype.insertRuleAt=function(e,t,i,n){return void 0===i&&(i={}),new c.Rule(this,t,i,e,this.m_pClasses[t]=n)},e.prototype.addRule=function(e,t,i){return void 0===t&&(t={}),new c.Rule(this,e,t,-1,this.m_pClasses[e]=i)},e.prototype.getRule=function(e){return new c.Rule(this,e,void 0,void 0,this.m_pClasses[e])},e.prototype.deleteRule=function(e){return new c.Rule(this,e).delete()},e.prototype.flush=function(){this.reflect(!1)},e.prototype.destroy=function(){this.reflectCancel(),(0,n.each)(this.m_pStylesheets,(function(t){return e.pool.dispose(t)})),this.m_pClasses={},this.m_pRules={},this.m_bNeedReflection=!1,this!==e.app&&this!==e.screen&&this!==e.print?(this.m_pStylesheets=void 0,this.m_pTarget=void 0):this.m_pStylesheets=[]},e.m_pEnumerator=new n.Enumerator,e.m_sPrefix="",e.m_pSelectors={},e}();t.Stylesheet=u},65726:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVG=void 0;var n=i(84389),o=i(95349);!function(e){function t(e,t,i){return'<svg xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision"'+' width="'.concat(e,'px" height="').concat(t,'px">').concat(i,"</svg>")}function i(e,i,n){return"data:image/svg+xml;base64,".concat(btoa(t(e,i,n)))}e.create=t,e.createBase64=i,e.apply=function(e,t,r,s,a){(0,o.write)((function(){(0,n.castToBoolean)(a,!0)&&(e.width=t,e.height=r),e.attribute("src",i(t,r,s))}),!e||!e.isInDOM)},e.background=function(e,t,r,s,a,l){(0,o.write)((function(){(0,n.castToBoolean)(a,!0)&&(e.backgroundSize({width:t,height:r}),e.set("background-repeat","no-repeat")),(0,n.castToBoolean)(l,!0)&&(e.width=t,e.height=r),e.set("background-image","url('".concat(i(t,r,s),"')"))}),!e||!e.isInDOM)}}(t.SVG||(t.SVG={}))},34502:function(e,t){"use strict";function i(e,t){return[e[0]*t[0]+e[1]*t[3]+e[2]*t[6],e[0]*t[1]+e[1]*t[4]+e[2]*t[7],e[0]*t[2]+e[1]*t[5]+e[2]*t[8],e[3]*t[0]+e[4]*t[3]+e[5]*t[6],e[3]*t[1]+e[4]*t[4]+e[5]*t[7],e[3]*t[2]+e[4]*t[5]+e[5]*t[8],e[6]*t[0]+e[7]*t[3]+e[8]*t[6],e[6]*t[1]+e[7]*t[4]+e[8]*t[7],e[6]*t[2]+e[7]*t[5]+e[8]*t[8]]}function n(e){return[e[4]*e[8]-e[5]*e[7],e[2]*e[7]-e[1]*e[8],e[1]*e[5]-e[2]*e[4],e[5]*e[6]-e[3]*e[8],e[0]*e[8]-e[2]*e[6],e[2]*e[3]-e[0]*e[5],e[3]*e[7]-e[4]*e[6],e[1]*e[6]-e[0]*e[7],e[0]*e[4]-e[1]*e[3]]}function o(e,t,o,r,s,a,l,c){var u=[e,o,s,t,r,a,1,1,1];return i(u,function(e,t){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],0,0,0,t[3]*e[0]+t[4]*e[1]+t[5]*e[2],0,0,0,t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}([l,c,1],n(u)))}Object.defineProperty(t,"__esModule",{value:!0}),t.perspective=void 0,t.perspective=function(e){var t,r,s=(t=[0,0,e.width,0,0,e.height,e.width,e.height],i(o((r=[e.leftTopX,e.leftTopY,e.rightTopX,e.rightTopY,e.leftBottomX,e.leftBottomY,e.rightBottomX,e.rightBottomY])[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7]),n(o(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]))));return"matrix3d("+[s[0]/s[8],s[3]/s[8],0,s[6]/s[8],s[1]/s[8],s[4]/s[8],0,s[7]/s[8],0,0,1,0,s[2]/s[8],s[5]/s[8],0,1].join(",")+")"}},84389:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.disableDebugging=t.enableDebugging=t.DEBUG=t.Stack=t.Debounce=t.Throttle=t.Limiter=t.Enumerator=t.Flags=t.DateTime=t.Str=t.Num=t.Environment=t.Console=void 0,i(70655).__exportStar(i(9226),t);var n=i(22862);Object.defineProperty(t,"Console",{enumerable:!0,get:function(){return n.Console}});var o=i(33206);Object.defineProperty(t,"Environment",{enumerable:!0,get:function(){return o.Environment}});var r=i(41984);Object.defineProperty(t,"Num",{enumerable:!0,get:function(){return r.Num}});var s=i(59930);Object.defineProperty(t,"Str",{enumerable:!0,get:function(){return s.Str}});var a=i(87729);Object.defineProperty(t,"DateTime",{enumerable:!0,get:function(){return a.DateTime}});var l=i(84957);Object.defineProperty(t,"Flags",{enumerable:!0,get:function(){return l.Flags}});var c=i(17269);Object.defineProperty(t,"Enumerator",{enumerable:!0,get:function(){return c.Enumerator}});var u=i(64569);Object.defineProperty(t,"Limiter",{enumerable:!0,get:function(){return u.Limiter}}),Object.defineProperty(t,"Throttle",{enumerable:!0,get:function(){return u.Throttle}}),Object.defineProperty(t,"Debounce",{enumerable:!0,get:function(){return u.Debounce}});var p=i(89439);Object.defineProperty(t,"Stack",{enumerable:!0,get:function(){return p.Stack}}),t.DEBUG=!1,t.enableDebugging=function(){t.DEBUG=!0},t.disableDebugging=function(){t.DEBUG=!1}},22862:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Console=void 0;var n=i(59930),o=i(87729);!function(e){function t(){return n.Str.padRight(o.DateTime.logTime," ",16,!0)}function i(e){return n.Str.padRight(e," ",23,!0)}e.time=t,e.module=i,e.log=function(e,n){return t()+i(e)+n}}(t.Console||(t.Console={}))},17551:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENUMERATOR=t.UI=t.PROMISES=t.FRAMES=t.TICKS=t.IS_WEBWORKER=t.IS_NODE=t.IS_BROWSER=t.FUNCTION_PRECISE=t.FUNCTION_INTERVAL=t.FUNCTION_TIMEOUT=void 0;var n=i(61019),o=i(17269),r="undefined"!=typeof process&&process&&process.nextTick?function(e){process.nextTick(e)}:"undefined"!=typeof Promise&&Promise?function(e){Promise.resolve().then(e)}:function(e){setTimeout(e,0)},s="undefined"!=typeof Promise&&Promise?function(e){Promise.resolve().then(e)}:"undefined"!=typeof process&&process&&process.nextTick?function(e){process.nextTick(e)}:function(e){setTimeout(e,0)},a="undefined"!=typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)||0}:function(e){return setTimeout(e,1e3/60)||0};t.FUNCTION_TIMEOUT=function(e,t){return void 0===t&&(t=0),setTimeout(e,t)||0};t.FUNCTION_INTERVAL=function(e,t){return void 0===t&&(t=0),setInterval(e,t)||0};t.FUNCTION_PRECISE=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},t.IS_BROWSER="undefined"!=typeof window,t.IS_NODE="undefined"==typeof window&&"undefined"!=typeof process,t.IS_WEBWORKER="undefined"!=typeof self&&"function"==typeof postMessage,t.TICKS=new n.Scheduler(r),t.FRAMES=new n.Scheduler(a),t.PROMISES=new n.Scheduler(s),t.UI={},t.ENUMERATOR=new o.Enumerator},87729:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTime=void 0;var n=i(9226),o=i(41984),r=i(59930),s=i(17551),a=function(){function e(t){void 0===t&&(t=new Date),t instanceof e?this.m_pDate=new Date(t.time):(0,n.isDate)(t)?this.m_pDate=new Date(t.getTime()):this.m_pDate=new Date(t)}return Object.defineProperty(e,"now",{get:function(){return Date.now()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"precise",{get:function(){return(0,s.FUNCTION_PRECISE)()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"UTC",{get:function(){return this.now-60*(new Date).getTimezoneOffset()*1e3},enumerable:!1,configurable:!0}),Object.defineProperty(e,"today",{get:function(){var e=new Date;return e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"UTCToday",{get:function(){var e=new Date,t=new Date;return t.setUTCFullYear(e.getFullYear()),t.setUTCMonth(e.getMonth()),t.setUTCDate(e.getDate()),t.setUTCHours(0),t.setUTCMinutes(0),t.setUTCSeconds(0),t.setUTCMilliseconds(0),t.getTime()},enumerable:!1,configurable:!0}),e.isFuture=function(e){return this.now<e},e.isPast=function(e){return this.now>=e},e.elapsed=function(e,t){return void 0===t&&(t=!1),((0,n.castToBoolean)(t)?this.precise:this.now)-e},e.timerReset=function(){var e=this.m_nStamp;return this.m_nStamp=this.precise,e},Object.defineProperty(e,"timerElapsed",{get:function(){return this.precise-this.timerReset()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"timerStamp",{get:function(){return this.formatElapsed()},enumerable:!1,configurable:!0}),e.format=function(e,t,i,o){void 0===e&&(e="dd-MM-yyyy HH:mm:ss.SSS"),void 0===t&&(t=this.now),void 0===i&&(i=!1);var s=new Date(t);return r.Str.sanitize(e.replace(/('[^']+')|('')|(HH)|(H)|(hh)|(h)|(mm)|(m)|(ss)|(s)|(SSS)|(S)|(zzzz)|(z)|(dd)|(d)|(MMMMM)|(MMMM)|(MMM)|(MM)|(M)|(LLLLL)|(LLLL)|(LLL)|(EEEEE)|(EEEE)|(EEE)|(EE)|(E)|(ccccc)|(cccc)|(ccc)|(cc)|(yyyy)|(yy)|(y)|(a)/g,(function(e){switch(e){case"HH":return r.Str.padLeft((0,n.castToString)(i?s.getUTCHours():s.getHours()),"0",2);case"H":return(0,n.castToString)(i?s.getUTCHours():s.getHours());case"hh":return r.Str.padLeft((0,n.castToString)(((i?s.getUTCHours():s.getHours())+11)%12+1),"0",2);case"h":return(0,n.castToString)(((i?s.getUTCHours():s.getHours())+11)%12+1);case"a":return o?(0,n.castToString)((i?s.getUTCHours():s.getHours())>=12?o.PM:o.AM):"";case"mm":return r.Str.padLeft((0,n.castToString)(i?s.getUTCMinutes():s.getMinutes()),"0",2);case"m":return(0,n.castToString)(i?s.getUTCMinutes():s.getMinutes());case"ss":return r.Str.padLeft((0,n.castToString)(i?s.getUTCSeconds():s.getSeconds()),"0",2);case"s":return(0,n.castToString)(i?s.getUTCSeconds():s.getSeconds());case"SSS":return r.Str.padLeft((0,n.castToString)(i?s.getUTCMilliseconds():s.getMilliseconds()),"0",3);case"S":return(0,n.castToString)(i?s.getUTCMilliseconds():s.getMilliseconds());case"z":case"zzzz":return"";case"dd":return r.Str.padLeft((0,n.castToString)(i?s.getUTCDate():s.getDate()),"0",2);case"d":return(0,n.castToString)(i?s.getUTCDate():s.getDate());case"yyyy":case"y":return(0,n.castToString)(i?s.getUTCFullYear():s.getFullYear());case"yy":return r.Str.padLeft((0,n.castToString)(i?s.getUTCFullYear():s.getFullYear()),"0",2,!0);case"MMMMM":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsFormattedNarrow:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"MMMM":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsFormattedWide:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"MMM":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsFormattedAbbreviated:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"MM":return r.Str.padLeft((0,n.castToString)((i?s.getUTCMonth():s.getMonth())+1),"0",2);case"M":return(0,n.castToString)((i?s.getUTCMonth():s.getMonth())+1);case"LLLLL":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsNominativeNarrow:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"LLLL":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsNominativeWide:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"LLL":return(0,n.castToString)((0,n.arrayItem)(o?o.monthsNominativeAbbreviated:void 0,i?s.getUTCMonth():s.getMonth(),"?"));case"EEEEE":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysFormattedNarrow:void 0,i?s.getUTCDay():s.getDay(),"?"));case"EEEE":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysFormattedWide:void 0,i?s.getUTCDay():s.getDay(),"?"));case"EEE":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysFormattedAbbreviated:void 0,i?s.getUTCDay():s.getDay(),"?"));case"EE":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysFormattedShort:void 0,i?s.getUTCDay():s.getDay(),"?"));case"E":return(0,n.castToString)(i?s.getUTCDay():s.getDay());case"ccccc":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysNominativeNarrow:void 0,i?s.getUTCDay():s.getDay(),"?"));case"cccc":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysNominativeWide:void 0,i?s.getUTCDay():s.getDay(),"?"));case"ccc":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysNominativeAbbreviated:void 0,i?s.getUTCDay():s.getDay(),"?"));case"cc":return(0,n.castToString)((0,n.arrayItem)(o?o.weekdaysNominativeShort:void 0,i?s.getUTCDay():s.getDay(),"?"));case"''":return"'"}return e.replace(/'/g,"")})))},e.formatElapsed=function(e,t,i,s){var a,l,c,u,p,h;return void 0===e&&(e="H'h':mm'm':ss's'.SSS'ms'.uuu'µs'"),t=o.Num.conform((0,n.castToFloat)(t,this.timerElapsed),3),a=Math.floor(t/36e5),l=Math.floor(t%36e5/6e4),c=Math.floor(t%36e5%6e4/1e3),h=(0,n.castToString)(o.Num.conform(t%36e5%6e4%1e3,3)).split("."),u=h[0],p=(0,n.arraySize)(h)>=2?h[1]:"0",r.Str.sanitize(e.replace(/('[^']+')|('')|(HH)|(H)|(hh)|(h)|(mm)|(m)|(ss)|(s)|(SSS)|(S)|(uuu)|(u)|(zzzz)|(z)|(dd)|(d)|(MMMMM)|(MMMM)|(MMM)|(MM)|(M)|(LLLLL)|(LLLL)|(LLL)|(EEEEE)|(EEEE)|(EEE)|(EE)|(E)|(ccccc)|(cccc)|(ccc)|(cc)|(yyyy)|(yy)|(y)|(a)/g,(function(e){switch(e){case"HH":return r.Str.padLeft((0,n.castToString)(a),"0",2);case"H":return(0,n.castToString)(a);case"hh":return r.Str.padLeft((0,n.castToString)((a+11)%12+1),"0",2);case"h":return(0,n.castToString)((a+11)%12+1);case"a":return(0,n.castToString)(a>=12?s:i);case"mm":return r.Str.padLeft((0,n.castToString)(l),"0",2);case"m":return(0,n.castToString)(l);case"ss":return r.Str.padLeft((0,n.castToString)(c),"0",2);case"s":return(0,n.castToString)(c);case"SSS":return r.Str.padLeft(u,"0",3);case"S":return u;case"uuu":return r.Str.padLeft(p,"0",3);case"u":return p;case"z":case"zzzz":return"";case"''":return"'"}return e.replace(/'/g,"")})))},Object.defineProperty(e,"log",{get:function(){return this.format("dd-MM-yyyy HH:mm:ss.SSS")},enumerable:!1,configurable:!0}),Object.defineProperty(e,"logTime",{get:function(){return this.format("HH:mm:ss.SSS")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"date",{get:function(){return this.m_pDate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.date.getTime()},set:function(e){this.m_pDate=new Date(e)},enumerable:!1,configurable:!0}),e.m_nStamp=0,e}();t.DateTime=a},17269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Enumerator=void 0;var i=function(){function e(){this.m_nEnumerator=0}return Object.defineProperty(e,"n",{get:function(){return this.m_nEnumerator===Number.MAX_VALUE&&(this.m_nEnumerator=0),++this.m_nEnumerator},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"n",{get:function(){return this.m_nEnumerator===Number.MAX_VALUE&&(this.m_nEnumerator=0),++this.m_nEnumerator},set:function(e){e>this.m_nEnumerator&&e<=Number.MAX_VALUE&&(this.m_nEnumerator=e)},enumerable:!1,configurable:!0}),e.recycle=function(){this.m_nEnumerator=Number.MAX_VALUE},e.prototype.recycle=function(){this.m_nEnumerator=Number.MAX_VALUE},e.m_nEnumerator=0,e}();t.Enumerator=i},33206:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Environment=void 0;var n=i(17551);!function(e){e.isBrowser=n.IS_BROWSER,e.isNode=n.IS_NODE,e.isWebWorker=n.IS_WEBWORKER}(t.Environment||(t.Environment={}))},84957:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Flags=void 0;var n=i(9226),o=function(){function e(){this.m_nFlag=1}return Object.defineProperty(e.prototype,"flag",{get:function(){var e=this.m_nFlag;return this.m_nFlag=this.m_nFlag<<1,e},enumerable:!1,configurable:!0}),e.convert=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=1;return(0,n.reduce)(e,(function(e,t){return e|=t?i:0,i*=2,e}),0)||0},e.has=function(e,t){var i=1;if(t>0)for(;--t;)i*=2;return(0,n.castToBoolean)(e&i)},e}();t.Flags=o},9226:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callEx=t.callPromise=t.callAsync=t.call=t.find=t.findLast=t.findFirst=t.filter=t.forEach=t.count=t.hasOneOrMore=t.hasOnly=t.has=t.reduce=t.map=t.eachReverse=t.each=t.compare=t.extendImmutable=t.extend=t.clone=t.castToBoolean=t.castToFloat=t.castToNumber=t.castToString=t.cast=t.assert=t.isError=t.isRegEx=t.isDate=t.lastArrayItem=t.firstArrayItem=t.arrayItem=t.arraySize=t.isArrayOrCollection=t.isCollection=t.isArray=t.isBoolean=t.isFloat=t.isNumberFinite=t.isNumber=t.isFilledString=t.stringLength=t.isString=t.isFunction=t.isObject=t.isNull=t.isDefined=t.isUndefined=t.noop=void 0,t.createInstanceOf=t.destroy=t.getFloat=t.getNumber=t.getString=t.getBoolean=t.getAny=t.get=t.setAny=t.set=t.scheduleAction=t.scheduleEvent=t.scheduleAnimation=t.scheduleNumberOfFrames=t.cancelUIInterval=t.scheduleUIInterval=t.cancelInterval=t.scheduleInterval=t.cancelUITimeout=t.scheduleUITimeout=t.cancelTimeout=t.scheduleTimeout=t.cancelFrame=t.scheduleAndCancelFrame=t.scheduleFrame=t.cancelPromise=t.scheduleAndCancelPromise=t.schedulePromise=t.cancelTick=t.scheduleAndCancelTick=t.scheduleTick=t.callFunction=t.callBind=void 0;var n=i(70655),o=i(87729),r=i(17551);function s(e){return void 0===e}function a(e){return!s(e)}function l(e){return s(e)||"object"==typeof e&&null===e}function c(e){return"object"==typeof e&&null!==e&&!g(e)}function u(e){return"function"==typeof e}function p(e){return"string"==typeof e}function h(e){return p(e)?e.length:0}function d(e){return h(e)>0}function m(e,t,i){return"number"==typeof e&&isFinite(e)&&("number"!=typeof t||e>=t)&&("number"!=typeof i||e<=i)}function f(e){return"boolean"==typeof e}function g(e){return Array.isArray(e)}function y(e){return(c(e)||g(e)||u(e))&&"number"==typeof e.length&&"function"==typeof e.item}function b(e){return g(e)||y(e)?e.length:c(e)?b(Object.keys(e)):0}function v(e,t){return p(e)?e:a(e)&&!l(e)&&u(e.toString)?e.toString():p(t)?t:""}function M(e,t){if(m(e))return Math.round(e);if(f(e))return e?1:0;if(a(e)&&!l(e)&&u(e.toString)){var i=parseFloat(e.toString().replace(/[^-e\d.]/g,""));if(m(i))return Math.round(i)}return m(t)?Math.round(t):0}function _(e,t){if(m(e))return parseFloat("".concat(e));if(f(e))return e?1:0;if(a(e)&&!l(e)&&u(e.toString)){var i=parseFloat(e.toString().replace(/[^-e\d.]/g,""));if(m(i))return i}return m(t)?t:0}function S(e,t){if(f(e))return e;if(m(e))return!!e;if(a(e)&&!l(e)&&u(e.toString)){var i=e.toString();return!("0"===i||"false"===i.toLowerCase())}return!!t}function I(e,t,i){if(e&&t){var o,r=i&&i.arguments?i.arguments:void 0,s=!(!i||!i.replace);if(o=i&&i.keys?r?function(e,i){return t.apply(void 0,n.__spreadArray([e,i],r,!1))}:function(e,i){return t(e,i)}:r?function(e){return t.apply(void 0,n.__spreadArray([e],r,!1))}:function(e){return t(e)},g(e))e.forEach((function(t,i){var n=o(t,i);s&&(e[i]=n)}));else if(y(e))for(var a=e,l=a.length,c=0;c<l;c++)o(a.item(c),c);else{Object.keys(e).forEach((function(t){var i=o(e[t],t);s&&(e[t]=i)}))}}return e}function T(e,t,i){if(void 0===i&&(i=!1),e){var n=void 0,o=void 0;y(e)?n=e:g(e)||(o=Object.keys(e));for(var r=(o||n||e).length,s=0;s<r;s++){if(i===S(j(t,o?e[o[s]]:n?n.item(s):e[s])))return i}return!i}return!1}function N(e,t,i){var o,r,s,a=!(!i||"first"!==i.return),l=!(!i||"last"!==i.return);if(i&&i.return&&"matches"!==i.return||(o=[]),e){var c,h=void 0;y(e)?c=e:g(e)||(h=Object.keys(e));for(var d=(h||c||e).length,m=l?d-1:0;l&&m>=0||!l&&m<d;l?m--:m++){if(S(j(t,h?e[h[m]]:c?c.item(m):e[m]))){if(i&&u(i.do)){var f=j.apply(void 0,n.__spreadArray([i.do],(r=h?h[m]:m,s=i&&i.arguments?i.arguments.slice(0):[],p(r)?s.unshift(e[r]):c?s.unshift(c.item(r)):s.unshift(e[r]),s),!1));i&&i.replace&&!c&&(h?e[h[m]]=f:e[m]=f)}if(a||l)return h?e[h[m]]:c?c.item(m):e[m];o&&(h?o.push(e[h[m]]):c?o.push(c.item(m)):o.push(e[m]))}}}return o}function j(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(e)return e.apply(void 0,t)}function w(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];r.TICKS.schedule.apply(r.TICKS,n.__spreadArray([e],t,!1))}function L(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return r.TICKS.schedule.apply(r.TICKS,n.__spreadArray([e],t,!1))}function C(e){return r.TICKS.cancel(e),0}function O(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return r.PROMISES.schedule.apply(r.PROMISES,n.__spreadArray([e],t,!1))}function D(e){return r.PROMISES.cancel(e),0}function x(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return r.FRAMES.schedule.apply(r.FRAMES,n.__spreadArray([e],t,!1))}function A(e){return r.FRAMES.cancel(e),0}function k(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];e&&(t>0?x((function(){return k.apply(void 0,n.__spreadArray([e,--t],i,!1))})):e.apply(void 0,i))}function z(e,t){if(e&&d(t))return e[t]}function P(e,t){return!!(e&&d(t)&&a(e[t]))&&delete e[t]}t.noop=function(){},t.isUndefined=s,t.isDefined=a,t.isNull=l,t.isObject=c,t.isFunction=u,t.isString=p,t.stringLength=h,t.isFilledString=d,t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isNumberFinite=m,t.isFloat=function(e,t,i){return"number"==typeof e&&isFinite(e)&&e%1!=0&&("number"!=typeof t||e>=t)&&("number"!=typeof i||e<=i)},t.isBoolean=f,t.isArray=g,t.isCollection=y,t.isArrayOrCollection=function(e){return g(e)||y(e)},t.arraySize=b,t.arrayItem=function(e,t,i){if(t=M(t),e)if(g(e)){if(t>=0&&t<b(e))return e[t]}else if(y(e)){if(t>=0&&t<b(e))return e.item(t)}else if(c(e)){var n=Object.keys(e);if(t>=0&&t<b(n))return e[n[t]]}return a(i)?i:void 0},t.firstArrayItem=function(e,t){if(e)if(g(e)){if(b(e)>0)return e[0]}else if(y(e)){if(b(e)>0)return e.item(0)}else if(c(e)){var i=Object.keys(e);if(b(i)>0)return e[i[0]]}return a(t)?t:void 0},t.lastArrayItem=function(e,t){if(e)if(g(e)){if((i=b(e))>0)return e[i-1]}else if(y(e)){if((i=b(e))>0)return e.item(i-1)}else if(c(e)){var i,n=Object.keys(e);if((i=b(n))>0)return e[n[i-1]]}return a(t)?t:void 0},t.isDate=function(e){return c(e)&&"[object Date]"===Object.prototype.toString.call(e)},t.isRegEx=function(e){return c(e)&&"[object RegExp]"===Object.prototype.toString.call(e)},t.isError=function(e){return e instanceof Error},t.assert=function(e,t){if(l(e))throw new Error(t||"Assert failed!");return e},t.cast=function(e){return e},t.castToString=v,t.castToNumber=M,t.castToFloat=_,t.castToBoolean=S,t.clone=function(e){return Object.create(e)},t.extend=function e(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var o=t;return I(i,(function(t){I(t,(function(t,i){c(t)&&c(o[i])?e(o[i],t):o[i]=t}),{keys:!0})})),o},t.extendImmutable=function e(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n={};return I(t,(function(t){I(t,(function(t,i){c(t)&&c(n[i])?n[i]=e(n[i],t):n[i]=t}),{keys:!0})})),n},t.compare=function e(t,i,n){if(c(t)||g(t)){var o=void 0,r=void 0,s=!1,a=!1;if(c(t)!==c(i)||g(t)!==g(i))return!1;if(y(t)?s=!0:g(t)||(o=Object.keys(t)),y(i)?a=!0:g(i)||(r=Object.keys(i)),s!==a||g(o)!==g(r)||(o||t).length!==(r||i).length)return!1;for(var u=(o||t).length,p=0;p<u;p++){var h=o?o[p]:p,d=r?r[p]:p;if(h!==d||!e(s?t.item(h):t[h],a?i.item(d):i[d],n))return!1}return!0}return!(typeof t!=typeof i||l(t)!==l(i)||n&&t!==i)},t.each=I,t.eachReverse=function(e,t,i){if(e){var o,r=void 0;y(e)?o=e:g(e)||(r=Object.keys(e));for(var s=(r||o||e).length-1;s>=0;s--){var a=j.apply(void 0,n.__spreadArray([t],(l=r?r[s]:s,c=i&&i.arguments?i.arguments.slice(0):[],i&&i.keys&&c.unshift(l),p(l)?c.unshift(e[l]):o?c.unshift(o.item(l)):c.unshift(e[l]),c),!1));i&&i.replace&&!o&&(r?e[r[s]]=a:e[s]=a)}}var l,c;return e},t.map=function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var r,s,a=[];if(e){var l,c=void 0;y(e)?l=e:g(e)||(c=Object.keys(e));for(var u=(c||l||e).length,h=0;h<u;h++)a.push(j.apply(void 0,n.__spreadArray([t],(r=c?c[h]:h,s=i.slice(0),p(r)?s.unshift(e[r]):l?s.unshift(l.item(r)):s.unshift(e[r]),s),!1)))}return a},t.reduce=function(e,t,i){for(var o,r,s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];if(e){var l,c=void 0;y(e)?l=e:g(e)||(c=Object.keys(e));for(var u=(c||l||e).length,h=0;h<u;h++)i=j.apply(void 0,n.__spreadArray([t],(o=c?c[h]:h,r=s.slice(0),p(o)?r.unshift(e[o]):l?r.unshift(l.item(o)):r.unshift(e[o]),r.unshift(i),r),!1))}return i},t.has=T,t.hasOnly=function(e,t){return T(e,t,!1)},t.hasOneOrMore=function(e,t){return T(e,t,!0)},t.count=function(e,t){var i=0;if(e){var n=void 0,o=void 0;y(e)?n=e:g(e)||(o=Object.keys(e));for(var r=(o||n||e).length,s=0;s<r;s++){var a=!0;u(t)&&(a=S(j(t,o?e[o[s]]:n?n.item(s):e[s]))),a&&i++}}return i},t.forEach=N,t.filter=function(e,t){return N(e,t)},t.findFirst=function(e,t){return N(e,t,{return:"first"})},t.findLast=function(e,t){return N(e,t,{return:"last"})},t.find=function(e,t){if(e){var i=void 0,n=void 0;y(e)?i=e:g(e)||(n=Object.keys(e));for(var o=(n||i||e).length,r=0;r<o;r++){if(S(j(t,n?e[n[r]]:i?i.item(r):e[r])))return n?n[r]:r}}},t.call=j,t.callAsync=w,t.callPromise=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];r.PROMISES.schedule.apply(r.PROMISES,n.__spreadArray([e],t,!1))},t.callEx=function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];t?j.apply(void 0,n.__spreadArray([e],i,!1)):w.apply(void 0,n.__spreadArray([e],i,!1))},t.callBind=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];if(e&&t)return e.bind(t).apply(void 0,i)},t.callFunction=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(u(e))return e.apply(void 0,t)},t.scheduleTick=L,t.scheduleAndCancelTick=function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return C(t),L.apply(void 0,n.__spreadArray([e],i,!1))},t.cancelTick=C,t.schedulePromise=O,t.scheduleAndCancelPromise=function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return D(t),O.apply(void 0,n.__spreadArray([e],i,!1))},t.cancelPromise=D,t.scheduleFrame=x,t.scheduleAndCancelFrame=function(e,t){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return A(t),x.apply(void 0,n.__spreadArray([e],i,!1))},t.cancelFrame=A,t.scheduleTimeout=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return(0,r.FUNCTION_TIMEOUT)((function(){return e.apply(void 0,i)}),t)},t.cancelTimeout=function(e){return 0!==e&&clearTimeout(e),0},t.scheduleUITimeout=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var s=r.ENUMERATOR.n+1,a=v(s),l=o.DateTime.precise,c=function(){r.UI[a]&&(o.DateTime.elapsed(l,!0)>=t?(r.UI[a].apply(r.UI,i),P(r.UI,a)):x(c))};return r.UI[a]=e,x(c),s},t.cancelUITimeout=function(e){return 0!==e&&P(r.UI,v(e)),0},t.scheduleInterval=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return(0,r.FUNCTION_INTERVAL)((function(){return e.apply(void 0,i)}),t)},t.cancelInterval=function(e){return 0!==e&&clearInterval(e),0},t.scheduleUIInterval=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var s=r.ENUMERATOR.n+1,a=v(s),l=o.DateTime.precise,c=function(){r.UI[a]&&(o.DateTime.elapsed(l,!0)>=t&&(r.UI[a].apply(r.UI,i),l=o.DateTime.precise),x(c))};return r.UI[a]=e,x(c),s},t.cancelUIInterval=function(e){return 0!==e&&P(r.UI,v(e)),0},t.scheduleNumberOfFrames=k,t.scheduleAnimation=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];k.apply(void 0,n.__spreadArray([e,2],t,!1))},t.scheduleEvent=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];k.apply(void 0,n.__spreadArray([e,2],t,!1))},t.scheduleAction=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];k.apply(void 0,n.__spreadArray([e,5],t,!1))},t.set=function(e,t,i){return e[t]=i},t.setAny=function(e,t,i){return(c(e)||u(e))&&d(t)?e[t]=i:i},t.get=function(e,t){return e[t]},t.getAny=z,t.getBoolean=function(e,t,i){return void 0===i&&(i=!1),S(z(e,t),i)},t.getString=function(e,t,i){return void 0===i&&(i=""),v(z(e,t),i)},t.getNumber=function(e,t,i){return void 0===i&&(i=0),M(z(e,t),i)},t.getFloat=function(e,t,i){return void 0===i&&(i=0),_(z(e,t),i)},t.destroy=P,t.createInstanceOf=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return new(e.bind.apply(e,n.__spreadArray([void 0],t,!1)))}},64569:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Debounce=t.Throttle=t.Limiter=void 0;var n=i(70655),o=i(9226),r=i(87729),s=function(){function e(e,t,i){this.m_pArguments=[],this.m_nTime=0,this.m_nHandle=0,this.m_bPromise=!1,this.m_bFrame=!1,this.m_bDoubleFrame=!1,this.m_sHold=!1,this.m_bThrottle="debounce"!==e,this.m_bDelay="throttle-delay"===e,this.m_fnCallback=t,this.m_nTimeout="tick"!==i&&"promise"!==i&&"frame"!==i&&"double-frame"!==i&&i||0,this.m_bPromise="promise"===i,this.m_bFrame="frame"===i||"double-frame"===i,this.m_bDoubleFrame="double-frame"===i}return e.prototype.call=function(){this.m_nHandle=0,this.m_fnCallback.apply(this,this.m_pArguments)},e.prototype.invoke=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];if(!this.m_sHold&&this.m_bThrottle&&this.m_nTimeout>0){if(!this.m_bDelay)return void(r.DateTime.elapsed(this.m_nTime,!0)>=this.m_nTimeout&&(this.m_pArguments=t,this.m_nTime=r.DateTime.precise,this.call()));0!==this.m_nHandle&&r.DateTime.elapsed(this.m_nTime,!0)>=this.m_nTimeout&&(this.cancel(),this.call())}this.m_pArguments=t,this.m_bThrottle||this.cancel(),this.m_sHold?this.m_sHold="hold":0===this.m_nHandle&&(this.m_nTime=r.DateTime.precise,this.m_nTimeout>0?this.m_nHandle=(0,o.scheduleTimeout)((function(){return e.call()}),this.m_nTimeout):this.m_bPromise?this.m_nHandle=(0,o.schedulePromise)((function(){return e.call()})):this.m_bFrame?this.m_nHandle=(0,o.scheduleFrame)((function(){e.m_bDoubleFrame?e.m_nHandle=(0,o.scheduleFrame)((function(){return e.call()})):e.call()})):this.m_nHandle=(0,o.scheduleTick)((function(){return e.call()})))},e.prototype.cancel=function(){var e=this.m_nTimeout>0?o.cancelTimeout:this.m_bPromise?o.cancelPromise:this.m_bFrame?o.cancelFrame:o.cancelTick;this.m_nHandle=e(this.m_nHandle)},e.prototype.flush=function(){this.m_sHold=!1,0!==this.m_nHandle&&(this.cancel(),this.call())},e.prototype.hold=function(){this.m_sHold=this.m_sHold||(0===this.m_nHandle?"catch":"hold"),this.cancel()},e.prototype.release=function(e){if(void 0===e&&(e=!1),this.m_sHold){var t="hold"===this.m_sHold;this.m_sHold=!1,t&&(e?this.call():this.invoke.apply(this,this.m_pArguments))}},e}();t.Limiter=s;var a=function(e){function t(t,i,n){return void 0===i&&(i="frame"),void 0===n&&(n=!0),e.call(this,n?"throttle-delay":"throttle",t,i)||this}return n.__extends(t,e),t}(s);t.Throttle=a;var l=function(e){function t(t,i){return void 0===i&&(i="frame"),e.call(this,"debounce",t,i)||this}return n.__extends(t,e),t}(s);t.Debounce=l},41984:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Num=void 0;var n=i(9226);!function(e){function t(e,t){var i=Math.pow(10,t||0);return(0,n.isNumberFinite)(e)?Math.round((0,n.castToNumber)((e*i).toFixed(1)))/i:0}e.round=function(e){return(0,n.isNumberFinite)(e)?Math.round(e):0},e.floor=function(e){return(0,n.isNumberFinite)(e)?Math.floor(e):0},e.ceil=function(e){return(0,n.isNumberFinite)(e)?Math.ceil(e):0},e.conform=t,e.positive=function(e){return(0,n.isNumberFinite)(e)&&e>0?e:0},e.negative=function(e){return(0,n.isNumberFinite)(e)&&e<0?e:0},e.max=function(e,t){return(0,n.isNumberFinite)(e)&&(0,n.isNumberFinite)(t)?Math.max(e,t):(0,n.isNumberFinite)(e)?e:(0,n.isNumberFinite)(t)?t:0},e.maxL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=(0,n.arraySize)(e),o=NaN;if(i>0)for(var r=0;r<i;r++){var s=e[r];(0,n.isNumberFinite)(s)&&(!(0,n.isNumberFinite)(o)||s>o)&&(o=s)}return(0,n.isNumberFinite)(o)?o:0},e.min=function(e,t){return(0,n.isNumberFinite)(e)&&(0,n.isNumberFinite)(t)?Math.min(e,t):(0,n.isNumberFinite)(e)?e:(0,n.isNumberFinite)(t)?t:0},e.minL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=(0,n.arraySize)(e),o=NaN;if(i>0)for(var r=0;r<i;r++){var s=e[r];(0,n.isNumberFinite)(s)&&(!(0,n.isNumberFinite)(o)||s<o)&&(o=s)}return(0,n.isNumberFinite)(o)?o:0},e.range=function(e,t,i){return(0,n.isNumberFinite)(e)?((0,n.isNumberFinite)(i)&&t>i&&(t=i),(0,n.isNumberFinite)(t)&&e<t?t:(0,n.isNumberFinite)(i)&&e>i?i:e):(0,n.isNumberFinite)(t)?t:(0,n.isNumberFinite)(i)?i:0},e.inRange=function(e,t,i,o,r){return void 0===o&&(o=!0),void 0===r&&(r=!1),(0,n.isNumberFinite)(e)&&(o?e>=t:e>t)&&(r?e<=i:e<i)},e.format=function(e,i,o,r,s){var a,l,c;void 0===i&&(i=0),void 0===o&&(o=","),void 0===r&&(r="."),void 0===s&&(s="-");var u="";if(e="auto"===i?(0,n.castToFloat)(e):t((0,n.castToFloat)(e),i),-1!=="".concat(e).indexOf("e"))if(-1!=="".concat(e).indexOf("e-"))for(var p=e,h=20;h>=0&&(e=p.toFixed(h).replace(/(0*$)/g,"")||"0",parseFloat(e)!==p);h--);else e=e<0?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER;if(l=(a=(0,n.castToString)(e).replace("-",s).split("."))[0],c=(0,n.arraySize)(a)>=2?a[1]:"",(0,n.isFilledString)(o))for(var d=(0,n.stringLength)(l)-1,m=0;d>=0;d--)u=l.charAt(d)+(3===m&&l.charAt(d)!==s?o:"")+u,3===m&&(m=0),m++;else u=l;if(("auto"===i||i>0)&&((c||"auto"!==i)&&(u+=r+c),"auto"!==i))for(i-=(0,n.stringLength)(c);i>0;)u+="0",i--;return u}}(t.Num||(t.Num={}))},61019:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var i=function(){function e(e){this.m_fnScheduler=e,this.m_pStack=[],this.m_nCall=0,this.m_nOffset=0}return e.prototype.call=function(){for(var e=this,t=this.m_pStack.length,i=0;i<t;i++){var n=this.m_pStack[i];n&&n.callee&&n.callee.apply(n,n.arguments)}this.m_pStack.splice(0,t),this.m_pStack.length>0?(this.m_nOffset=this.m_nCall-this.m_pStack.length+1,this.m_fnScheduler((function(){return e.call()}))):this.m_nOffset=0},e.prototype.schedule=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return e?(this.m_nCall++,this.m_pStack.push({callee:e,arguments:i}),0===this.m_nOffset&&(this.m_nOffset=this.m_nCall,this.m_fnScheduler((function(){return t.call()}))),this.m_nCall):0},e.prototype.cancel=function(e){this.m_nOffset>0&&e>=this.m_nOffset&&e<=this.m_nCall&&(this.m_pStack[e-this.m_nOffset]=void 0)},e}();t.Scheduler=i},89439:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;var i=function(){function e(){this.m_pStack=[]}return e.prototype.add=function(e){this.m_pStack.push(e)},e.prototype.flush=function(){for(var e=this.m_pStack.length,t=0;t<e;t++)this.m_pStack[t]()},e.prototype.clear=function(){this.m_pStack=[]},e.prototype.flushAndClear=function(){this.flush(),this.clear()},e}();t.Stack=i},59930:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Str=void 0;var n=i(70655),o=i(9226);!function(e){function t(e){return(0,o.isFilledString)(e)?e.toLowerCase():""}function i(e){return(0,o.isFilledString)(e)?e.replace(/(^\s*)|(\s*$)/g,""):""}function r(e){return(0,o.isFilledString)(e)?e.replace(/(\s*$)/g,""):""}function s(e){return(0,o.isFilledString)(e)?e.replace(/[^\S\r\n\.]{2,}/g," ").replace(/\n[^\S\r\n\.]/g,"\n"):""}function a(e){return s(i(e))}function l(e,t,i){return void 0===i&&(i=""),e=(0,o.castToString)(e),(0,o.isNumberFinite)(t)&&t>0&&t<(0,o.stringLength)(e)?(0,o.isFilledString)(i)?r(e.substr(0,t))+i:e.substr(0,t):e}function c(e,i,n,r){void 0===n&&(n=""),void 0===r&&(r=!1);var s="",a=0;return e=(0,o.castToString)(e),i=(0,o.castToString)(i),(0,o.each)(r?t(e).split(t(i)):e.split(i),(function(t){var r=(0,o.stringLength)(t);s+=(a>0?n:"")+e.substr(a,r),a+=r+(0,o.stringLength)(i)})),s}function u(e,t,i){void 0===t&&(t="");for(var r=[],s=3;s<arguments.length;s++)r[s-3]=arguments[s];var a,l,c="";if(e){var u,p=void 0;(0,o.isCollection)(e)?u=e:(0,o.isArray)(e)||(p=Object.keys(e));for(var h=(p||u||e).length,d=0;d<h;d++)c+=(""===c?"":t)+(0,o.castToString)(i?o.call.apply(void 0,n.__spreadArray([i],(a=p?p[d]:d,l=r.slice(0),(0,o.isString)(a)?l.unshift(e[a]):u?l.unshift(u.item(a)):l.unshift(e[a]),l),!1)):p?e[p[d]]:u?u.item(d):e[d])}return c}e.lowercase=t,e.uppercase=function(e){return(0,o.isFilledString)(e)?e.toUpperCase():""},e.capitalize=function(e,i,n){if(void 0===i&&(i="first-character"),void 0===n&&(n=!1),n&&(e=t(e)),(0,o.isFilledString)(e)){var r="each-sentence"===i?e.split("."):[e];return(0,o.each)(r,(function(e){var t="";if("each-word"!==i){for(var n=e.toString(),r=0;r<(0,o.stringLength)(n);){var s=n.charAt(r);if(" "!==s&&"\t"!==s&&"\r"!==s&&"\n"!==s&&"."!==s){n=n.substr(0,r)+n.substr(r,1).toUpperCase()+n.substr(r+1);break}r++}t+=(0===r?" ":"")+n}else t=e.replace(/(^|[\s`~!@#$%^&+\-*=_()[\]{};:'"\\|,<.>\/?])[^\s`~!@#$%^&+\-*=_()[\]{};:'"\\|,<.>\/?]/g,(function(e){return e.toUpperCase()}));return t}),{replace:!0}),a(u(r,"."))}return""},e.trim=i,e.trimLeft=function(e){return(0,o.isFilledString)(e)?e.replace(/(^\s*)/g,""):""},e.trimRight=r,e.trimMultiple=s,e.sanitize=a,e.removeWhitespaces=function(e){return(0,o.isFilledString)(e)?e.replace(/\s/g,""):""},e.limit=l,e.replace=c,e.replaceMultiple=function(e,t,i,n){return e=(0,o.castToString)(e),(0,o.each)(t,(function(t){e=c(e,t,i,n)})),e},e.makeHTMLSafe=function(e){return(0,o.castToString)(e).replace(/[<>]/g,(function(e){return"<"===e?"&lt;":"&gt;"}))},e.CRLFToHTML=function(e){return(0,o.castToString)(e).replace(/(\r\n|[\r\n])/g,"<br />")},e.iterateToString=u,e.extract=function(e,i){var n=(0,o.castToString)(i.left);if(e=(0,o.castToString)(e),(0,o.isFilledString)(n)){var r=(i.ignoreCase?t(e):e).indexOf(i.ignoreCase?t(n):n);if(-1!==r&&""!==(e=e.substr(r+(0,o.stringLength)(n)))){var s=(0,o.isFilledString)(i.right)?i.fromEnd?(i.ignoreCase?t(e):e).lastIndexOf(i.ignoreCase?t(i.right):i.right):(i.ignoreCase?t(e):e).indexOf(i.ignoreCase?t(i.right):i.right):(0,o.stringLength)(e);if(-1!==s)return e.substr(0,s)}}return""},e.fill=function(e,t){var i="";for(e=(0,o.castToString)(e),t=(0,o.castToNumber)(t);t>0;)i+=e,t--;return i},e.padLeft=function(e,t,i,n,r){var s=(0,o.castToString)(r||(0,o.isNumberFinite)(e)?(0,o.castToNumber)(e):e);if((0,o.isString)(t)&&(0,o.isNumberFinite)(i)&&(0,o.stringLength)(t)>=1){var a,l="";if(a=(r||(0,o.isNumberFinite)(e))&&"-"===s.charAt(0),n&&(0,o.stringLength)(s)>i)return s.substr((0,o.stringLength)(s)-i);if((0,o.stringLength)(s)>=i)return s;a&&(s=s.substr(1));do{l+=t}while((0,o.stringLength)(l)<i);return(a?"-":"")+(l+s).substr((0,o.stringLength)(l+s)+(a?1:0)-i)}return s},e.padRight=function(e,t,i,n){var r=(0,o.castToString)(e);if((0,o.isString)(t)&&(0,o.isNumberFinite)(i)&&(0,o.stringLength)(t)>=1){if(r=(0,o.castToString)(r),n&&(0,o.stringLength)(r)>i)return l(r,i);if((0,o.stringLength)(r)>=i)return r;for(;(0,o.stringLength)(r)<i;)r=l(r+t,i)}return r},e.djb2Hash=function(e,t){void 0===t&&(t="");for(var i=(0,o.stringLength)(e),n=0,r=5381;n<i;)r=33*r^e.charCodeAt(n),n++;return t+(r>>>0).toString(36)}}(t.Str||(t.Str={}))},45992:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridRenderer=t.GridLayout=t.GridNode=t.GridNodes=t.GridCluster=t.GridClusters=t.GridBranch=t.GridBranches=t.Grid=void 0;var n=i(54298);Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return n.Grid}});var o=i(77634);Object.defineProperty(t,"GridBranches",{enumerable:!0,get:function(){return o.GridBranches}});var r=i(64100);Object.defineProperty(t,"GridBranch",{enumerable:!0,get:function(){return r.GridBranch}});var s=i(4983);Object.defineProperty(t,"GridClusters",{enumerable:!0,get:function(){return s.GridClusters}});var a=i(43689);Object.defineProperty(t,"GridCluster",{enumerable:!0,get:function(){return a.GridCluster}});var l=i(70305);Object.defineProperty(t,"GridNodes",{enumerable:!0,get:function(){return l.GridNodes}});var c=i(55097);Object.defineProperty(t,"GridNode",{enumerable:!0,get:function(){return c.GridNode}});var u=i(39185);Object.defineProperty(t,"GridLayout",{enumerable:!0,get:function(){return u.GridLayout}});var p=i(49178);Object.defineProperty(t,"GridRenderer",{enumerable:!0,get:function(){return p.GridRenderer}})},64100:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridBranch=void 0;var n=i(70655),o=function(e){function t(t,i,n,o){return e.call(this,t,(function(e){return new i(n,e)}),o)||this}return(0,n.__extends)(t,e),t}(i(60275).Resource);t.GridBranch=o},77634:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridBranches=void 0;var n=i(70655),o=function(e){function t(t,i){return e.call(this,t,i,1,1,1)||this}return(0,n.__extends)(t,e),t}(i(81405).Dispatcher);t.GridBranches=o},43689:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridCluster=void 0;var n=i(70655),o=function(e){function t(t,i,n){return e.call(this,t,(function(e){return new i(n,e,t.grid?t.grid.threshold:1)}))||this}return(0,n.__extends)(t,e),t}(i(60275).Resource);t.GridCluster=o},4983:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridClusters=void 0;var n=i(70655),o=function(e){function t(t,i,n){return void 0===n&&(n="vertical"),e.call(this,t,i,"horizontal"===n?1:0,"horizontal"===n?1:0,1)||this}return(0,n.__extends)(t,e),t}(i(81405).Dispatcher);t.GridClusters=o},81405:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dispatcher=void 0;var n=i(70655),o=function(e){function t(t,i,n,o,r){var s=e.call(this,n,o,r)||this;return s.m_pType=t,s.m_pParent=i,s}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"grid",{get:function(){return this.parent.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dispatcher",{get:function(){return this.m_pType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.m_pParent},enumerable:!1,configurable:!0}),t.prototype.appendItem=function(e){return this.pushToMatrix(e,{index:-1,recalculate:!0,emit:"push"})},t.prototype.insertItem=function(e){return this.pushToMatrix(e,{index:0,recalculate:!0,emit:"push"})},t.prototype.insertItemAtIndex=function(e,t){return this.pushToMatrix(e,{index:t,recalculate:!0,emit:"push"})},t.prototype.onDimensionChange=function(t){e.prototype.onDimensionChange.call(this,t),this.onDimensions()},t.prototype.onCountChange=function(t){e.prototype.onCountChange.call(this,t),this.parent.onPushOrPop()},t.prototype.onDimensions=function(){this.parent.resize(),this.emitHook("OnResize",{dispatcher:this})},t.prototype.deserialize=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i]},t.prototype.reset=function(){this.clear()},t.prototype.destroy=function(){this.clear(),e.prototype.destroy.call(this)},t}(i(53339).Matrix);t.Dispatcher=o},54298:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grid=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t,i,n){var o=e.call(this,void 0,t,i,n)||this;return o.m_nThreshold=1,o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"threshold",{get:function(){return this.m_nThreshold},set:function(e){this.m_nThreshold=o.Num.max(e,1),this.forEachDescendant((function(t){var i=t.children;i&&(1===i.type?i.rows=e:0===i.type&&(i.columns=e))}))},enumerable:!1,configurable:!0}),t.prototype.deserialize=function(t,i,n){var o=this.isRendered;return this.renderInvalidate(),this.reset(),e.prototype.deserialize.call(this,t,i,n),i.flush(),o&&this.render(!0),this},t}(i(64100).GridBranch);t.Grid=r},39185:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridLayout=void 0;var n=i(22270),o=function(){function e(e,t){this.m_pRenderer=e,this.m_pParent=t}return Object.defineProperty(e.prototype,"renderer",{get:function(){return this.m_pRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this.m_pParent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return 0},enumerable:!1,configurable:!0}),e.prototype.beforeResize=function(e){},e.prototype.zIndex=function(e){},e.prototype.onElevate=function(e){},e.prototype.onPush=function(){},e.prototype.onFirst=function(){},e.prototype.onLast=function(){},e.prototype.onMoveExpansion=function(e,t,i){return new n.Coordinate(0,0,0,0)},e.prototype.onIsMoveIn=function(e,t,i){return!1},e.prototype.onMoveInit=function(e,t){return!0},e.prototype.onMoveStart=function(e){return!0},e.prototype.onMove=function(e,t,i,n){return!0},e.prototype.onMoveEnd=function(e){},e.prototype.onGuidesChange=function(e,t,i,n,o,r){},e}();t.GridLayout=o},55097:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridNode=void 0;var n=i(70655),o=function(e){function t(t){return e.call(this,t)||this}return(0,n.__extends)(t,e),t}(i(60275).Resource);t.GridNode=o},70305:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridNodes=void 0;var n=i(70655),o=function(e){function t(t,i,n,o){return void 0===n&&(n=1),void 0===o&&(o="vertical"),e.call(this,t,i,"horizontal"===o?1:0,0,n)||this}return(0,n.__extends)(t,e),t}(i(81405).Dispatcher);t.GridNodes=o},49178:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridRenderer=void 0;var n=i(84389),o=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.m_pLayouts=e}return Object.defineProperty(e.prototype,"grid",{get:function(){return this.m_pGrid},set:function(e){e&&e!==this.m_pGrid&&(this.m_pGrid=e,this.onInit())},enumerable:!1,configurable:!0}),e.prototype.provider=function(e){var t=(0,n.findFirst)(this.m_pLayouts,(function(t){return e instanceof t.type}));if(t)return t;throw new Error("Grid.Renderer: No layout provider found for the specified type.")},e.prototype.onInit=function(){},e.prototype.onResize=function(e,t,i,n){},e.prototype.onMoveStart=function(){},e.prototype.onMove=function(){},e.prototype.onMoveEnd=function(){},e}();t.GridRenderer=o},60275:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resource=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(77634),a=i(54298),l=i(39185),c=i(13421),u=function(e){function t(t,i,n){var o=e.call(this,t,i,n)||this;return o.m_nZ=0,o.m_bMove=!1,o.m_nMove=-1,o.m_nGuides=0,o.isGrid&&o.initialize(),o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"isGrid",{get:function(){return!(this.ancestor instanceof c.Structure)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"grid",{get:function(){for(var e=this;e;){if(e instanceof a.Grid)return e;e=e.ancestor}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"z",{get:function(){return this.m_nZ},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMoving",{get:function(){return this.m_bMove},enumerable:!1,configurable:!0}),t.prototype.initialize=function(){var e=this.grid;this.position(),this.resize(),this.zIndex(),e&&e.isRendered&&this.render(!1)},t.prototype.onPush=function(t){this.initialize(),e.prototype.onPush.call(this,t),this.onValidate()},t.prototype.onChange=function(t){var i=this;this.position(),28&t.reason&&!this.isGrid&&this.ancestor&&this.ancestor.resize(),this.layout&&(1&t.reason&&this.layout.onPush(),64&t.reason&&this.layout.onLast(),128&t.reason&&this.layout.onFirst()),1&t.reason&&this.zIndex(),e.prototype.onChange.call(this,t),this.onValidate(),this.m_nGuides=(0,o.scheduleAndCancelFrame)((function(){return i.guides()}),this.m_nGuides)},t.prototype.onPop=function(t){e.prototype.onPop.call(this,t),this.destroy()},t.prototype.onValidate=function(){},t.prototype.forEachDescendant=function(e){return!!this.children&&this.children.each(e)},t.prototype.forEachDescendantRecursive=function(e){return!!(0,o.castToBoolean)(e(this),!0)&&(this.forEachDescendant((function(t){t.forEachDescendantRecursive(e)})),!0)},t.prototype.zIndex=function(e){void 0===e&&(e=0);for(var t=this.ancestor;t;)e++,t=t.ancestor;return e!==this.m_nZ&&(this.m_nZ=e,this.layout&&this.layout.zIndex(this.z),this.forEachDescendant((function(e){e.zIndex()})),!0)},t.prototype.position=function(e,t){var i=this;return(0,o.isNumberFinite)(e)?this.rectangles.left=e:this.predecessorInRow?this.rectangles.left=this.predecessorInRow.rectangles.right:this.ancestor?this.rectangles.left=(this.layout?this.layout.x:0)||this.ancestor.rectangles.rectangle("children").left:this.rectangles.left=0,(0,o.isNumberFinite)(t)?this.rectangles.top=t:this.predecessorInColumn?this.rectangles.top=this.predecessorInColumn.rectangles.bottom:this.ancestor?this.rectangles.top=(this.layout?this.layout.y:0)||this.ancestor.rectangles.rectangle("children").top:this.rectangles.top=0,!!this.applyPosition()&&(this.forEachDescendant((function(e){e.shift(i.rectangles.shiftHorizontal,i.rectangles.shiftVertical)})),!0)},t.prototype.shift=function(e,t){this.position(this.rectangles.left+e,this.rectangles.top+t)},t.prototype.resize=function(t,i){var n,r=!1;!this.children||(0,o.isNumber)(t)&&(0,o.isNumber)(i)||(t=i=0,this.children.each((function(e){n=n||e,t=o.Num.max(e.rectangles.right-n.rectangles.left,t||0),i=o.Num.max(e.rectangles.bottom-n.rectangles.top,i||0)})));if(e.prototype.resize.call(this,t,i)){if(!this.isPopped&&!this.isGrid){for(var s=this.successorSibling;s&&s.ancestor;){var a=s.predecessorInRow,l=s.predecessorInColumn;s.position(a?a.rectangles.right:(this.layout?this.layout.x:0)||s.ancestor.rectangles.rectangle("children").left,l?l.rectangles.bottom:(this.layout?this.layout.y:0)||s.ancestor.rectangles.rectangle("children").top),s=s.successorSibling}this.ancestor&&this.ancestor.resize()}r=!0}return r},t.prototype.move=function(e,t,i){var n;return void 0===i&&(i={x:0,y:0}),(0,o.isNumberFinite)(e)&&(0,o.isNumberFinite)(t)?(this.rectangles.isShifted=!0,this.rectangles.shiftLeft=e/this.zoom,this.rectangles.shiftTop=t/this.zoom,n=this.rectangles.shiftRectangle("self")):this.rectangles.isShifted=!1,this.position(this.rectangles.left,this.rectangles.top),{x:n?n.left+i.x/this.zoom:0,y:n?n.top+i.y/this.zoom:0}},t.prototype.guides=function(){for(var e=this.rectangles.rectangle("self"),t=this.ancestor,i=this.isPopped,n=0,o=0;!i&&t&&t.ancestor&&0===n&&0===o;){var r=t.rectangle,s=t.rectangles.rectangle("self",this.zoom);n=r.left-s.left,o=r.top-s.top,i=t.isPopped,t=t.ancestor}this.layout&&this.layout.onGuidesChange(!i,e.left*this.zoom-n,e.top*this.zoom-o,e.width,e.height,this.zoom),this.forEachDescendant((function(e){e.guides()}))},t.prototype.onPushOrPop=function(){},t.prototype.onMoveInit=function(e,t){return this.layout instanceof l.GridLayout&&this.layout.onMoveInit(e,t)},t.prototype.onMoveStart=function(e){return this.m_bMove=!0,this.m_pMove=this.parent,this.m_nMove=this.index,this.renderer&&this.renderer.onMoveStart(),!(!this.layout||!this.layout.onMoveStart(e))&&(this.forEachDescendantRecursive((function(e){e.layout&&e.layout.onElevate(!0)})),!0)},t.prototype.onMove=function(e,i,n,r){var a=this;void 0===r&&(r="children");var l,c=this.move(e,i,n),u=this.grid,p=this.isPopped,h=!1;if(u&&u.forEachDescendantRecursive((function(e){if(e!==a&&e.layout&&e.rectangles.isCoordinateInRectangles(c.x,c.y,!1,e.layout.onMoveExpansion(c.x,c.y,a))){if(a.ancestor&&e.layout.onIsMoveIn(c.x,c.y,a)){var t=e.parent,i=a.ancestor.parent;!t&&i instanceof s.GridBranches?t=i:!i&&t instanceof s.GridBranches&&(i=t),(!t&&!i||t&&i&&t.dispatcher===i.dispatcher)&&(l=(0,o.getAny)(e,r)||l)}return!0}return!1})),l){var d=l,m=1===d.type&&1===d.rows,f=!this.isPopped&&this.parent===d,g=d.count;!(h=d.each((function(e){if(e===a)return!1;if(m||1===d.columns||e.rectangles.isCoordinateInRectangle("self",c.x,void 0,!0)){var i=0,n=0,o=e.index,r=!1,s=m?e.rectangles.meanHorizontal("self"):e.rectangles.meanVertical("self");if(f?r=a.index<e.index:(r=(m?a.rectangles.shiftLeft:a.rectangles.shiftTop)<s)?0===e.index&&(g=0):o++,r?n=s:i=s,m?r?i=a.rectangles.shiftRight-a.rectangles.hintCorrectionRight("self"):n=a.rectangles.shiftLeft+a.rectangles.hintCorrectionLeft("self"):r?i=a.rectangles.shiftBottom-a.rectangles.hintCorrectionBottom("self"):n=a.rectangles.shiftTop+a.rectangles.hintCorrectionTop("self"),i>n&&a.onMoveValidate(d,o,f))return d.pushToMatrix(a,{index:o,recalculate:!0,emit:"change"})instanceof t}return!1}))||f)&&this.onMoveValidate(d,g,!1)&&(h=d.pushToMatrix(this,{index:g,recalculate:!0,emit:"change"})instanceof t)}this.layout&&!this.layout.onMove(c.x,c.y,!h,n)&&(p=!h,h=!1),p||h||(this.popSilent(),this.resize(),this.guides()),this.renderer&&this.renderer.onMove()},t.prototype.onMoveValidate=function(e,t,i){return!0},t.prototype.onMoveEnd=function(e){this.forEachDescendantRecursive((function(e){e.layout&&e.layout.onElevate(!1)})),this.unpop(this.m_pMove,this.m_nMove),this.move(),this.m_bMove=!1,this.layout&&this.layout.onMoveEnd(e),this.renderer&&this.renderer.onMoveEnd()},t.prototype.serialize=function(e){void 0===e&&(e="");var t=(0,r.serializeTo)(this,{id:this.hash});if((0,o.isFilledString)(e)&&this.children&&this.children.count>0){var i=[];this.children.each((function(e){i.push(e.serialize())})),(0,o.set)(t,e,i)}return t},t.prototype.deserialize=function(e,t,i){var o;if(void 0===i&&(i=""),this.renderInvalidate(),(0,r.deserializeFrom)(this,e,t),this.hash=e.id,""!==i&&this.children){var s=e[i];s&&(o=this.children).deserialize.apply(o,(0,n.__spreadArray)([t],s,!1))}return this},t.prototype.reset=function(){this.m_nGuides=(0,o.cancelFrame)(this.m_nGuides),this.children&&this.children.reset(),e.prototype.reset.call(this)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.m_nGuides=(0,o.cancelFrame)(this.m_nGuides),this.children&&this.children.destroy()},(0,n.__decorate)([r.serializer],t.prototype,"serialize",null),(0,n.__decorate)([r.deserializer],t.prototype,"deserialize",null),t}(c.Structure);t.Resource=u},13421:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Structure=void 0;var n=i(70655),o=i(84389),r=i(53339),s=i(22270),a=function(e){function t(t,i,n){var r=e.call(this,t)||this;if(r.m_bRendered=!1,r.m_nZoom=1,t){var a=t.parent;r.m_pRenderer=a.renderer,r.m_nZoom=a.zoom}return n&&(r.m_pRenderer=n,n.grid||(n.grid=(0,o.cast)(r))),r.m_pChildren=i?i(r):void 0,r.m_pRectangles=(r.layout?r.layout.configuration:void 0)||new s.Rectangles,r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ancestor",{get:function(){if(this.parent)return this.parent.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this.m_pChildren},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this.m_nZoom},set:function(e){this.m_nZoom=o.Num.max(e,0),this.applyResize("zoom"),this.applyPosition("zoom")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layout",{get:function(){return this.m_pLayout?this.m_pLayout:this.renderer?this.m_pLayout=this.renderer.layout(this):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this.m_pRenderer},set:function(e){this.forEachDescendantRecursive((function(t){t.m_bRendered=!1,t.m_pRenderer=e}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRendered",{get:function(){return this.m_bRendered},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangles",{get:function(){return this.m_pRectangles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangle",{get:function(){return this.rectangles.rectangleApplied("self",this.zoom)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.rectangle.left},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.rectangle.top},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.rectangle.right},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.rectangle.bottom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.rectangles.rectangleApplied("self").width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.rectangles.rectangleApplied("self").height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"meanHorizontal",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"meanVertical",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),t.prototype.renderInvalidate=function(){this.m_pLayout&&(this.m_pLayout.destroy(),this.m_pLayout=void 0),this.m_bRendered=!1},t.prototype.applyPosition=function(e){if(this.rectangles.position()||e){var t=this.rectangle;return this.layout&&this.layout.position(t.left,t.top,this.zoom,e||"redraw"),!0}return!1},t.prototype.applyResize=function(e){var t=this.rectangles.resize();if("none"!==t||e){var i=this.rectangles.rectangleApplied("self"),n="both"===t||"redraw"===e?"redraw":"none"!==t?t:"zoom";return this.layout&&this.layout.resize(i.width,i.height,this.zoom,n),!this.ancestor&&this.renderer&&this.renderer.onResize(i.width,i.height,this.zoom,n),!0}return!1},t.prototype.resize=function(e,t){return(0,o.isNumberFinite)(e)&&this.rectangles.rectangleWidth("children",e),(0,o.isNumberFinite)(t)&&this.rectangles.rectangleHeight("children",t),this.layout&&this.layout.beforeResize(this.rectangles),this.applyResize()},t.prototype.render=function(e){this.isRendered||(this.layout&&(this.layout.render("render"),this.m_bRendered=!0),this.onRender(),e&&this.forEachDescendant((function(e){e.render(!0)})))},t.prototype.rerender=function(e){this.isRendered&&this.layout&&this.layout.render(e)},t.prototype.onRender=function(){},t.prototype.reset=function(){var e=this.isRendered;this.renderInvalidate(),e&&this.render(!1)},t.prototype.destroy=function(){this.renderInvalidate(),this.m_pRenderer=void 0,e.prototype.destroy.call(this)},t}(r.Item);t.Structure=a},29165:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hookup=t.Hooks=void 0;var n=i(95995);Object.defineProperty(t,"Hooks",{enumerable:!0,get:function(){return n.Hooks}});var o=i(81835);Object.defineProperty(t,"hookup",{enumerable:!0,get:function(){return o.hookup}})},81835:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hookup=void 0;var n=i(42907);t.hookup=function(e){return function(t,i,o){(0,n.observable)("hookup",t,i,o,(function(t){t.target.emitHook(e,{property:t.property,value:t.newValue})}))}}},95995:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hooks=void 0;var n=i(84389),o=function(){function e(){this.m_pHooks={},this.m_nHookTimeout=0,this.m_nHookFrame=0,this.m_nHookBuffer=0}return Object.defineProperty(e.prototype,"isHookBufferEnabled",{get:function(){return this.m_nHookBuffer>0},enumerable:!1,configurable:!0}),e.prototype.getHooks=function(e){var t=this.m_pHooks[e];if(t)return(0,n.cast)(t)},e.prototype.prepareHookPayload=function(e,t,i){return e.hook={name:t,type:i},e},e.prototype.scheduleHook=function(e){var t=this;"framed"===e?this.m_nHookFrame=(0,n.scheduleAndCancelFrame)((function(){return t.invokeHook(e)}),this.m_nHookFrame):this.m_nHookTimeout=(0,n.scheduleAndCancelTick)((function(){return t.invokeHook(e)}),this.m_nHookTimeout)},e.prototype.invokeHook=function(e){var t=this,i=new n.Stack;(0,n.each)(this.m_pHooks,(function(o,r){(0,n.each)(o,(function(o){o.type===e&&(0,n.each)(o.payloads.splice(0,o.payloads.length),(function(e){i.add((function(){return o.hook(t.prepareHookPayload(e,r,o.type))}))}))}))}),{keys:!0}),i.flush()},e.prototype.attachHook=function(e,t,i,n,o){(this.getHooks(e)||(this.m_pHooks[e]=[])).push({hook:i,payloads:[],type:t,group:n,context:o})},e.prototype.hook=function(e,t,i,n){return this.attachHook(e,t,i,!1,n),this},e.prototype.groupedHook=function(e,t,i,n){return this.attachHook(e,t,i,!0,n),this},e.prototype.emitHook=function(e,t,i){var o=this;void 0===i&&(i="fifo");var r=this.getHooks(e);if(r){var s=new n.Stack;return(0,n.each)(r,(function(n){"synchronous"!==n.type||o.isHookBufferEnabled?(n.group&&n.payloads.length>0?n.payloads[0]=t:"lifo"===i?n.payloads.splice(0,0,t):n.payloads.push(t),"synchronous"===n.type||o.isHookBufferEnabled||o.scheduleHook(n.type)):s.add((function(){return n.hook(o.prepareHookPayload(t,e,"synchronous"))}))})),s.flush(),!0}return!1},e.prototype.bufferHooks=function(){this.m_nHookTimeout=(0,n.cancelTick)(this.m_nHookTimeout),this.m_nHookFrame=(0,n.cancelFrame)(this.m_nHookFrame),this.m_nHookBuffer++},e.prototype.flushHooks=function(){var e=this;if(this.m_nHookBuffer>0&&(this.m_nHookBuffer--,0===this.m_nHookBuffer)){var t=new n.Stack;(0,n.each)(this.m_pHooks,(function(i,o){(0,n.each)(i,(function(i){"synchronous"===i.type?(0,n.each)(i.payloads.splice(0,i.payloads.length),(function(n){t.add((function(){return i.hook(e.prepareHookPayload(n,o,i.type))}))})):e.scheduleHook(i.type)}))}),{keys:!0}),t.flush()}},e.prototype.unhook=function(e,t){var i=this.getHooks(e);if(i){var o=!1;if(t)for(var r=i.length;r--;){var s=i[r];s.context!==t&&s.hook!==t||(i.splice(r,1),o=!0)}return t&&0!==i.length?o:((0,n.destroy)(this.m_pHooks,e),!0)}return!1},e.prototype.unhookContext=function(e){var t=this,i=!1;return(0,n.each)(this.m_pHooks,(function(o,r){for(var s=o.length;s--;){o[s].context===e&&(o.splice(s,1),i=!0)}0===o.length&&(0,n.destroy)(t.m_pHooks,r)}),{keys:!0}),i},e.prototype.destroy=function(){var e=this,t=new n.Stack;this.m_nHookTimeout=(0,n.cancelTick)(this.m_nHookTimeout),this.m_nHookFrame=(0,n.cancelFrame)(this.m_nHookFrame),this.m_nHookBuffer=0,(0,n.each)(this.m_pHooks,(function(i,o){(0,n.each)(i,(function(i){(0,n.each)(i.payloads.splice(0,i.payloads.length),(function(n){t.add((function(){return i.hook(e.prepareHookPayload(n,o,i.type))}))}))}))}),{keys:!0}),this.m_pHooks={},t.flush()},e}();t.Hooks=o},64600:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOMAINS=void 0,t.DOMAINS={af:["Afrikaans","Afrikaans"],"af-NA":["Afrikaans (Namibia)","Afrikaans (Namibië)"],agq:["Aghem","Aghem"],ak:["Akan","Akan"],am:["Amharic","አማርኛ"],ar:["Arabic","العربية"],"ar-AE":["Arabic (United Arab Emirates)","العربية (الإمارات العربية المتحدة)"],"ar-BH":["Arabic (Bahrain)","العربية (البحرين)"],"ar-DJ":["Arabic (Djibouti)","العربية (جيبوتي)"],"ar-DZ":["Arabic (Algeria)","العربية (الجزائر)"],"ar-EG":["Arabic (Egypt)","العربية (مصر)"],"ar-EH":["Arabic (Western Sahara)","العربية (الصحراء الغربية)"],"ar-ER":["Arabic (Eritrea)","العربية (إريتريا)"],"ar-IL":["Arabic (Israel)","العربية (إسرائيل)"],"ar-IQ":["Arabic (Iraq)","العربية (العراق)"],"ar-JO":["Arabic (Jordan)","العربية (الأردن)"],"ar-KM":["Arabic (Comoros)","العربية (جزر القمر)"],"ar-KW":["Arabic (Kuwait)","العربية (الكويت)"],"ar-LB":["Arabic (Lebanon)","العربية (لبنان)"],"ar-LY":["Arabic (Libya)","العربية (ليبيا)"],"ar-MA":["Arabic (Morocco)","العربية (المغرب)"],"ar-MR":["Arabic (Mauritania)","العربية (موريتانيا)"],"ar-OM":["Arabic (Oman)","العربية (عُمان)"],"ar-PS":["Arabic (Palestinian Territories)","العربية (الأراضي الفلسطينية)"],"ar-QA":["Arabic (Qatar)","العربية (قطر)"],"ar-SA":["Arabic (Saudi Arabia)","العربية (المملكة العربية السعودية)"],"ar-SD":["Arabic (Sudan)","العربية (السودان)"],"ar-SO":["Arabic (Somalia)","العربية (الصومال)"],"ar-SS":["Arabic (South Sudan)","العربية (جنوب السودان)"],"ar-SY":["Arabic (Syria)","العربية (سوريا)"],"ar-TD":["Arabic (Chad)","العربية (تشاد)"],"ar-TN":["Arabic (Tunisia)","العربية (تونس)"],"ar-YE":["Arabic (Yemen)","العربية (اليمن)"],as:["Assamese","অসমীয়া"],asa:["Asu","Kipare"],ast:["Asturian","asturianu"],az:["Azerbaijani","azərbaycan"],"az-Cyrl":["Azerbaijani (Cyrillic)","азәрбајҹан (Кирил)"],"az-Latn":["Azerbaijani (Latin)","azərbaycan (latın)"],bas:["Basaa","Ɓàsàa"],be:["Belarusian","беларуская"],"be-tarask":["Belarusian","беларуская"],bem:["Bemba","Ichibemba"],bez:["Bena","Hibena"],bg:["Bulgarian","български"],bm:["Bambara","bamanakan"],bn:["Bangla","বাংলা"],"bn-IN":["Bangla (India)","বাংলা (ভারত)"],bo:["Tibetan","བོད་སྐད་"],"bo-IN":["Tibetan (India)","བོད་སྐད་ (རྒྱ་གར་)"],br:["Breton","brezhoneg"],brx:["Bodo","बड़ो"],bs:["Bosnian","bosanski"],"bs-Cyrl":["Bosnian (Cyrillic)","босански (ћирилица)"],"bs-Latn":["Bosnian (Latin)","bosanski (latinica)"],ca:["Catalan","català"],"ca-AD":["Catalan (Andorra)","català (Andorra)"],"ca-ES-valencia":["Catalan (Spain)","català (Espanya)"],"ca-FR":["Catalan (France)","català (França)"],"ca-IT":["Catalan (Italy)","català (Itàlia)"],ccp:["Chakma","𑄌𑄋𑄴𑄟𑄳𑄦"],"ccp-IN":["Chakma (India)","𑄌𑄋𑄴𑄟𑄳𑄦 (𑄞𑄢𑄧𑄖𑄴)"],ce:["Chechen","нохчийн"],ceb:["Cebuano","Binisaya"],cgg:["Chiga","Rukiga"],chr:["Cherokee","ᏣᎳᎩ"],ckb:["Central Kurdish","کوردیی ناوەندی"],"ckb-IR":["Central Kurdish (Iran)","کوردیی ناوەندی (ئێران)"],cs:["Czech","čeština"],cy:["Welsh","Cymraeg"],da:["Danish","dansk"],"da-GL":["Danish (Greenland)","dansk (Grønland)"],dav:["Taita","Kitaita"],de:["German","Deutsch"],"de-AT":["German (Austria)","Deutsch (Österreich)"],"de-BE":["German (Belgium)","Deutsch (Belgien)"],"de-CH":["German (Switzerland)","Deutsch (Schweiz)"],"de-IT":["German (Italy)","Deutsch (Italien)"],"de-LI":["German (Liechtenstein)","Deutsch (Liechtenstein)"],"de-LU":["German (Luxembourg)","Deutsch (Luxemburg)"],dje:["Zarma","Zarmaciine"],doi:["Dogri","डोगरी"],dsb:["Lower Sorbian","dolnoserbšćina"],dua:["Duala","duálá"],dyo:["Jola-Fonyi","joola"],dz:["Dzongkha","རྫོང་ཁ"],ebu:["Embu","Kĩembu"],ee:["Ewe","Eʋegbe"],"ee-TG":["Ewe (Togo)","Eʋegbe (Togo nutome)"],el:["Greek","Ελληνικά"],"el-CY":["Greek (Cyprus)","Ελληνικά (Κύπρος)"],en:["English","English"],"en-001":["English (world)","English (world)"],"en-150":["English (Europe)","English (Europe)"],"en-AE":["English (United Arab Emirates)","English (United Arab Emirates)"],"en-AG":["English (Antigua & Barbuda)","English (Antigua & Barbuda)"],"en-AI":["English (Anguilla)","English (Anguilla)"],"en-AS":["English (American Samoa)","English (American Samoa)"],"en-AT":["English (Austria)","English (Austria)"],"en-AU":["English (Australia)","English (Australia)"],"en-BB":["English (Barbados)","English (Barbados)"],"en-BE":["English (Belgium)","English (Belgium)"],"en-BI":["English (Burundi)","English (Burundi)"],"en-BM":["English (Bermuda)","English (Bermuda)"],"en-BS":["English (Bahamas)","English (Bahamas)"],"en-BW":["English (Botswana)","English (Botswana)"],"en-BZ":["English (Belize)","English (Belize)"],"en-CA":["English (Canada)","English (Canada)"],"en-CC":["English (Cocos (Keeling) Islands)","English (Cocos (Keeling) Islands)"],"en-CH":["English (Switzerland)","English (Switzerland)"],"en-CK":["English (Cook Islands)","English (Cook Islands)"],"en-CM":["English (Cameroon)","English (Cameroon)"],"en-CX":["English (Christmas Island)","English (Christmas Island)"],"en-CY":["English (Cyprus)","English (Cyprus)"],"en-DE":["English (Germany)","English (Germany)"],"en-DG":["English (Diego Garcia)","English (Diego Garcia)"],"en-DK":["English (Denmark)","English (Denmark)"],"en-DM":["English (Dominica)","English (Dominica)"],"en-ER":["English (Eritrea)","English (Eritrea)"],"en-FI":["English (Finland)","English (Finland)"],"en-FJ":["English (Fiji)","English (Fiji)"],"en-FK":["English (Falkland Islands)","English (Falkland Islands)"],"en-FM":["English (Micronesia)","English (Micronesia)"],"en-GB":["English (United Kingdom)","English (United Kingdom)"],"en-GD":["English (Grenada)","English (Grenada)"],"en-GG":["English (Guernsey)","English (Guernsey)"],"en-GH":["English (Ghana)","English (Ghana)"],"en-GI":["English (Gibraltar)","English (Gibraltar)"],"en-GM":["English (Gambia)","English (Gambia)"],"en-GU":["English (Guam)","English (Guam)"],"en-GY":["English (Guyana)","English (Guyana)"],"en-HK":["English (Hong Kong SAR China)","English (Hong Kong SAR China)"],"en-IE":["English (Ireland)","English (Ireland)"],"en-IL":["English (Israel)","English (Israel)"],"en-IM":["English (Isle of Man)","English (Isle of Man)"],"en-IN":["English (India)","English (India)"],"en-IO":["English (British Indian Ocean Territory)","English (British Indian Ocean Territory)"],"en-JE":["English (Jersey)","English (Jersey)"],"en-JM":["English (Jamaica)","English (Jamaica)"],"en-KE":["English (Kenya)","English (Kenya)"],"en-KI":["English (Kiribati)","English (Kiribati)"],"en-KN":["English (St. Kitts & Nevis)","English (St. Kitts & Nevis)"],"en-KY":["English (Cayman Islands)","English (Cayman Islands)"],"en-LC":["English (St. Lucia)","English (St. Lucia)"],"en-LR":["English (Liberia)","English (Liberia)"],"en-LS":["English (Lesotho)","English (Lesotho)"],"en-MG":["English (Madagascar)","English (Madagascar)"],"en-MH":["English (Marshall Islands)","English (Marshall Islands)"],"en-MO":["English (Macao SAR China)","English (Macao SAR China)"],"en-MP":["English (Northern Mariana Islands)","English (Northern Mariana Islands)"],"en-MS":["English (Montserrat)","English (Montserrat)"],"en-MT":["English (Malta)","English (Malta)"],"en-MU":["English (Mauritius)","English (Mauritius)"],"en-MW":["English (Malawi)","English (Malawi)"],"en-MY":["English (Malaysia)","English (Malaysia)"],"en-NA":["English (Namibia)","English (Namibia)"],"en-NF":["English (Norfolk Island)","English (Norfolk Island)"],"en-NG":["English (Nigeria)","English (Nigeria)"],"en-NL":["English (Netherlands)","English (Netherlands)"],"en-NR":["English (Nauru)","English (Nauru)"],"en-NU":["English (Niue)","English (Niue)"],"en-NZ":["English (New Zealand)","English (New Zealand)"],"en-PG":["English (Papua New Guinea)","English (Papua New Guinea)"],"en-PH":["English (Philippines)","English (Philippines)"],"en-PK":["English (Pakistan)","English (Pakistan)"],"en-PN":["English (Pitcairn Islands)","English (Pitcairn Islands)"],"en-PR":["English (Puerto Rico)","English (Puerto Rico)"],"en-PW":["English (Palau)","English (Palau)"],"en-RW":["English (Rwanda)","English (Rwanda)"],"en-SB":["English (Solomon Islands)","English (Solomon Islands)"],"en-SC":["English (Seychelles)","English (Seychelles)"],"en-SD":["English (Sudan)","English (Sudan)"],"en-SE":["English (Sweden)","English (Sweden)"],"en-SG":["English (Singapore)","English (Singapore)"],"en-SH":["English (St. Helena)","English (St. Helena)"],"en-SI":["English (Slovenia)","English (Slovenia)"],"en-SL":["English (Sierra Leone)","English (Sierra Leone)"],"en-SS":["English (South Sudan)","English (South Sudan)"],"en-SX":["English (Sint Maarten)","English (Sint Maarten)"],"en-SZ":["English (Eswatini)","English (Eswatini)"],"en-TC":["English (Turks & Caicos Islands)","English (Turks & Caicos Islands)"],"en-TK":["English (Tokelau)","English (Tokelau)"],"en-TO":["English (Tonga)","English (Tonga)"],"en-TT":["English (Trinidad & Tobago)","English (Trinidad & Tobago)"],"en-TV":["English (Tuvalu)","English (Tuvalu)"],"en-TZ":["English (Tanzania)","English (Tanzania)"],"en-UG":["English (Uganda)","English (Uganda)"],"en-UM":["English (U.S. Outlying Islands)","English (U.S. Outlying Islands)"],"en-VC":["English (St. Vincent & Grenadines)","English (St. Vincent & Grenadines)"],"en-VG":["English (British Virgin Islands)","English (British Virgin Islands)"],"en-VI":["English (U.S. Virgin Islands)","English (U.S. Virgin Islands)"],"en-VU":["English (Vanuatu)","English (Vanuatu)"],"en-WS":["English (Samoa)","English (Samoa)"],"en-ZA":["English (South Africa)","English (South Africa)"],"en-ZM":["English (Zambia)","English (Zambia)"],"en-ZW":["English (Zimbabwe)","English (Zimbabwe)"],eo:["Esperanto","esperanto"],es:["Spanish","español"],"es-419":["Spanish (Latin America)","español (Latinoamérica)"],"es-AR":["Spanish (Argentina)","español (Argentina)"],"es-BO":["Spanish (Bolivia)","español (Bolivia)"],"es-BR":["Spanish (Brazil)","español (Brasil)"],"es-BZ":["Spanish (Belize)","español (Belice)"],"es-CL":["Spanish (Chile)","español (Chile)"],"es-CO":["Spanish (Colombia)","español (Colombia)"],"es-CR":["Spanish (Costa Rica)","español (Costa Rica)"],"es-CU":["Spanish (Cuba)","español (Cuba)"],"es-DO":["Spanish (Dominican Republic)","español (República Dominicana)"],"es-EA":["Spanish (Ceuta & Melilla)","español (Ceuta y Melilla)"],"es-EC":["Spanish (Ecuador)","español (Ecuador)"],"es-GQ":["Spanish (Equatorial Guinea)","español (Guinea Ecuatorial)"],"es-GT":["Spanish (Guatemala)","español (Guatemala)"],"es-HN":["Spanish (Honduras)","español (Honduras)"],"es-IC":["Spanish (Canary Islands)","español (Canarias)"],"es-MX":["Spanish (Mexico)","español (México)"],"es-NI":["Spanish (Nicaragua)","español (Nicaragua)"],"es-PA":["Spanish (Panama)","español (Panamá)"],"es-PE":["Spanish (Peru)","español (Perú)"],"es-PH":["Spanish (Philippines)","español (Filipinas)"],"es-PR":["Spanish (Puerto Rico)","español (Puerto Rico)"],"es-PY":["Spanish (Paraguay)","español (Paraguay)"],"es-SV":["Spanish (El Salvador)","español (El Salvador)"],"es-US":["Spanish (United States)","español (Estados Unidos)"],"es-UY":["Spanish (Uruguay)","español (Uruguay)"],"es-VE":["Spanish (Venezuela)","español (Venezuela)"],et:["Estonian","eesti"],eu:["Basque","euskara"],ewo:["Ewondo","ewondo"],fa:["Persian","فارسی"],"fa-AF":["Persian (Afghanistan)","فارسی (افغانستان)"],ff:["Fulah","Pulaar"],"ff-Adlm":["Fulah (Adlam)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃)"],"ff-Adlm-BF":["Fulah (Adlam, Burkina Faso)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤄𞤵𞤪𞤳𞤭𞤲𞤢 𞤊𞤢𞤧𞤮𞥅)"],"ff-Adlm-CM":["Fulah (Adlam, Cameroon)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤑𞤢𞤥𞤢𞤪𞤵𞥅𞤲)"],"ff-Adlm-GH":["Fulah (Adlam, Ghana)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤘𞤢𞤲𞤢)"],"ff-Adlm-GM":["Fulah (Adlam, Gambia)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤘𞤢𞤥𞤦𞤭𞤴𞤢)"],"ff-Adlm-GW":["Fulah (Adlam, Guinea-Bissau)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤘𞤭𞤲𞤫-𞤄𞤭𞤧𞤢𞤱𞤮𞥅)"],"ff-Adlm-LR":["Fulah (Adlam, Liberia)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤂𞤢𞤦𞤭𞤪𞤭𞤴𞤢𞥄)"],"ff-Adlm-MR":["Fulah (Adlam, Mauritania)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤃𞤮𞤪𞤼𞤢𞤲𞤭𞥅)"],"ff-Adlm-NE":["Fulah (Adlam, Niger)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤐𞤭𞥅𞤶𞤫𞤪)"],"ff-Adlm-NG":["Fulah (Adlam, Nigeria)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤐𞤢𞤶𞤫𞤪𞤭𞤴𞤢𞥄)"],"ff-Adlm-SL":["Fulah (Adlam, Sierra Leone)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤅𞤢𞤪𞤢𞤤𞤮𞤲)"],"ff-Adlm-SN":["Fulah (Adlam, Senegal)","𞤆𞤵𞤤𞤢𞤪 (𞤀𞤁𞤂𞤢𞤃⹁ 𞤅𞤫𞤲𞤫𞤺𞤢𞥄𞤤)"],"ff-Latn":["Fulah (Latin)","Pulaar (Latn)"],"ff-Latn-BF":["Fulah (Latin, Burkina Faso)","Pulaar (Latn, Burkibaa Faaso)"],"ff-Latn-CM":["Fulah (Latin, Cameroon)","Pulaar (Latn, Kameruun)"],"ff-Latn-GH":["Fulah (Latin, Ghana)","Pulaar (Latn, Ganaa)"],"ff-Latn-GM":["Fulah (Latin, Gambia)","Pulaar (Latn, Gammbi)"],"ff-Latn-GN":["Fulah (Latin, Guinea)","Pulaar (Latn, Gine)"],"ff-Latn-GW":["Fulah (Latin, Guinea-Bissau)","Pulaar (Latn, Gine-Bisaawo)"],"ff-Latn-LR":["Fulah (Latin, Liberia)","Pulaar (Latn, Liberiyaa)"],"ff-Latn-MR":["Fulah (Latin, Mauritania)","Pulaar (Latn, Muritani)"],"ff-Latn-NE":["Fulah (Latin, Niger)","Pulaar (Latn, Nijeer)"],"ff-Latn-NG":["Fulah (Latin, Nigeria)","Pulaar (Latn, Nijeriyaa)"],"ff-Latn-SL":["Fulah (Latin, Sierra Leone)","Pulaar (Latn, Seraa liyon)"],fi:["Finnish","suomi"],fil:["Filipino","Filipino"],fo:["Faroese","føroyskt"],"fo-DK":["Faroese (Denmark)","føroyskt (Danmark)"],fr:["French","français"],"fr-BE":["French (Belgium)","français (Belgique)"],"fr-BF":["French (Burkina Faso)","français (Burkina Faso)"],"fr-BI":["French (Burundi)","français (Burundi)"],"fr-BJ":["French (Benin)","français (Bénin)"],"fr-BL":["French (St. Barthélemy)","français (Saint-Barthélemy)"],"fr-CA":["French (Canada)","français (Canada)"],"fr-CD":["French (Congo - Kinshasa)","français (Congo-Kinshasa)"],"fr-CF":["French (Central African Republic)","français (République centrafricaine)"],"fr-CG":["French (Congo - Brazzaville)","français (Congo-Brazzaville)"],"fr-CH":["French (Switzerland)","français (Suisse)"],"fr-CI":["French (Côte d’Ivoire)","français (Côte d’Ivoire)"],"fr-CM":["French (Cameroon)","français (Cameroun)"],"fr-DJ":["French (Djibouti)","français (Djibouti)"],"fr-DZ":["French (Algeria)","français (Algérie)"],"fr-GA":["French (Gabon)","français (Gabon)"],"fr-GF":["French (French Guiana)","français (Guyane française)"],"fr-GN":["French (Guinea)","français (Guinée)"],"fr-GP":["French (Guadeloupe)","français (Guadeloupe)"],"fr-GQ":["French (Equatorial Guinea)","français (Guinée équatoriale)"],"fr-HT":["French (Haiti)","français (Haïti)"],"fr-KM":["French (Comoros)","français (Comores)"],"fr-LU":["French (Luxembourg)","français (Luxembourg)"],"fr-MA":["French (Morocco)","français (Maroc)"],"fr-MC":["French (Monaco)","français (Monaco)"],"fr-MF":["French (St. Martin)","français (Saint-Martin)"],"fr-MG":["French (Madagascar)","français (Madagascar)"],"fr-ML":["French (Mali)","français (Mali)"],"fr-MQ":["French (Martinique)","français (Martinique)"],"fr-MR":["French (Mauritania)","français (Mauritanie)"],"fr-MU":["French (Mauritius)","français (Maurice)"],"fr-NC":["French (New Caledonia)","français (Nouvelle-Calédonie)"],"fr-NE":["French (Niger)","français (Niger)"],"fr-PF":["French (French Polynesia)","français (Polynésie française)"],"fr-PM":["French (St. Pierre & Miquelon)","français (Saint-Pierre-et-Miquelon)"],"fr-RE":["French (Réunion)","français (La Réunion)"],"fr-RW":["French (Rwanda)","français (Rwanda)"],"fr-SC":["French (Seychelles)","français (Seychelles)"],"fr-SN":["French (Senegal)","français (Sénégal)"],"fr-SY":["French (Syria)","français (Syrie)"],"fr-TD":["French (Chad)","français (Tchad)"],"fr-TG":["French (Togo)","français (Togo)"],"fr-TN":["French (Tunisia)","français (Tunisie)"],"fr-VU":["French (Vanuatu)","français (Vanuatu)"],"fr-WF":["French (Wallis & Futuna)","français (Wallis-et-Futuna)"],"fr-YT":["French (Mayotte)","français (Mayotte)"],fur:["Friulian","furlan"],fy:["Western Frisian","Frysk"],ga:["Irish","Gaeilge"],"ga-GB":["Irish (United Kingdom)","Gaeilge (an Ríocht Aontaithe)"],gd:["Scottish Gaelic","Gàidhlig"],gl:["Galician","galego"],gsw:["Swiss German","Schwiizertüütsch"],"gsw-FR":["Swiss German (France)","Schwiizertüütsch (Frankriich)"],"gsw-LI":["Swiss German (Liechtenstein)","Schwiizertüütsch (Liächteschtäi)"],gu:["Gujarati","ગુજરાતી"],guz:["Gusii","Ekegusii"],gv:["Manx","Gaelg"],ha:["Hausa","Hausa"],"ha-GH":["Hausa (Ghana)","Hausa (Gana)"],"ha-NE":["Hausa (Niger)","Hausa (Nijar)"],haw:["Hawaiian","ʻŌlelo Hawaiʻi"],he:["Hebrew","עברית"],hi:["Hindi","हिन्दी"],hr:["Croatian","hrvatski"],"hr-BA":["Croatian (Bosnia & Herzegovina)","hrvatski (Bosna i Hercegovina)"],hsb:["Upper Sorbian","hornjoserbšćina"],hu:["Hungarian","magyar"],hy:["Armenian","հայերեն"],ia:["Interlingua","interlingua"],id:["Indonesian","Indonesia"],ig:["Igbo","Igbo"],ii:["Sichuan Yi","ꆈꌠꉙ"],is:["Icelandic","íslenska"],it:["Italian","italiano"],"it-CH":["Italian (Switzerland)","italiano (Svizzera)"],"it-SM":["Italian (San Marino)","italiano (San Marino)"],"it-VA":["Italian (Vatican City)","italiano (Città del Vaticano)"],ja:["Japanese","日本語"],jgo:["Ngomba","Ndaꞌa"],jmc:["Machame","Kimachame"],jv:["Javanese","Jawa"],ka:["Georgian","ქართული"],kab:["Kabyle","Taqbaylit"],kam:["Kamba","Kikamba"],kde:["Makonde","Chimakonde"],kea:["Kabuverdianu","kabuverdianu"],kgp:["Kaingang","kanhgág"],khq:["Koyra Chiini","Koyra ciini"],ki:["Kikuyu","Gikuyu"],kk:["Kazakh","қазақ тілі"],kkj:["Kako","kakɔ"],kl:["Kalaallisut","kalaallisut"],kln:["Kalenjin","Kalenjin"],km:["Khmer","ខ្មែរ"],kn:["Kannada","ಕನ್ನಡ"],ko:["Korean","한국어"],"ko-KP":["Korean (North Korea)","한국어(조선민주주의인민공화국)"],kok:["Konkani","कोंकणी"],ks:["Kashmiri","کٲشُر"],"ks-Arab":["Kashmiri (Arabic)","کٲشُر (اَربی)"],ksb:["Shambala","Kishambaa"],ksf:["Bafia","rikpa"],ksh:["Colognian","Kölsch"],ku:["Kurdish","kurdî"],kw:["Cornish","kernewek"],ky:["Kyrgyz","кыргызча"],lag:["Langi","Kɨlaangi"],lb:["Luxembourgish","Lëtzebuergesch"],lg:["Ganda","Luganda"],lkt:["Lakota","Lakȟólʼiyapi"],ln:["Lingala","lingála"],"ln-AO":["Lingala (Angola)","lingála (Angóla)"],"ln-CF":["Lingala (Central African Republic)","lingála (Repibiki ya Afríka ya Káti)"],"ln-CG":["Lingala (Congo - Brazzaville)","lingála (Kongo)"],lo:["Lao","ລາວ"],lrc:["Northern Luri","لۊری شومالی"],"lrc-IQ":["Northern Luri (Iraq)","لۊری شومالی (IQ)"],lt:["Lithuanian","lietuvių"],lu:["Luba-Katanga","Tshiluba"],luo:["Luo","Dholuo"],luy:["Luyia","Luluhia"],lv:["Latvian","latviešu"],mai:["Maithili","मैथिली"],mas:["Masai","Maa"],"mas-TZ":["Masai (Tanzania)","Maa (Tansania)"],mer:["Meru","Kĩmĩrũ"],mfe:["Morisyen","kreol morisien"],mg:["Malagasy","Malagasy"],mgh:["Makhuwa-Meetto","Makua"],mgo:["Metaʼ","metaʼ"],mi:["Māori","te reo Māori"],mk:["Macedonian","македонски"],ml:["Malayalam","മലയാളം"],mn:["Mongolian","монгол"],mni:["Manipuri","মৈতৈলোন্"],"mni-Beng":["Manipuri (Bangla)","মৈতৈলোন্ (বাংলা)"],mr:["Marathi","मराठी"],ms:["Malay","Melayu"],"ms-BN":["Malay (Brunei)","Melayu (Brunei)"],"ms-ID":["Malay (Indonesia)","Melayu (Indonesia)"],"ms-SG":["Malay (Singapore)","Melayu (Singapura)"],mt:["Maltese","Malti"],mua:["Mundang","MUNDAŊ"],my:["Burmese","မြန်မာ"],mzn:["Mazanderani","مازرونی"],naq:["Nama","Khoekhoegowab"],nb:["Norwegian Bokmål","norsk bokmål"],"nb-SJ":["Norwegian Bokmål (Svalbard & Jan Mayen)","norsk bokmål (Svalbard og Jan Mayen)"],nd:["North Ndebele","isiNdebele"],nds:["Low German","nds"],"nds-NL":["Low German (Netherlands)","nds (NL)"],ne:["Nepali","नेपाली"],"ne-IN":["Nepali (India)","नेपाली (भारत)"],nl:["Dutch","Nederlands"],"nl-AW":["Dutch (Aruba)","Nederlands (Aruba)"],"nl-BE":["Dutch (Belgium)","Nederlands (België)"],"nl-BQ":["Dutch (Caribbean Netherlands)","Nederlands (Caribisch Nederland)"],"nl-CW":["Dutch (Curaçao)","Nederlands (Curaçao)"],"nl-SR":["Dutch (Suriname)","Nederlands (Suriname)"],"nl-SX":["Dutch (Sint Maarten)","Nederlands (Sint-Maarten)"],nmg:["Kwasio","nmg"],nn:["Norwegian Nynorsk","norsk nynorsk"],nnh:["Ngiemboon","Shwóŋò ngiembɔɔn"],no:["Norwegian","norsk"],nus:["Nuer","Thok Nath"],nyn:["Nyankole","Runyankore"],om:["Oromo","Oromoo"],"om-KE":["Oromo (Kenya)","Oromoo (Keeniyaa)"],or:["Odia","ଓଡ଼ିଆ"],os:["Ossetic","ирон"],"os-RU":["Ossetic (Russia)","ирон (Уӕрӕсе)"],pa:["Punjabi","ਪੰਜਾਬੀ"],"pa-Arab":["Punjabi (Arabic)","پنجابی (عربی)"],"pa-Guru":["Punjabi (Gurmukhi)","ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ)"],pcm:["Nigerian Pidgin","Naijíriá Píjin"],pl:["Polish","polski"],ps:["Pashto","پښتو"],"ps-PK":["Pashto (Pakistan)","پښتو (پاکستان)"],pt:["Portuguese","português"],"pt-AO":["Portuguese (Angola)","português (Angola)"],"pt-CH":["Portuguese (Switzerland)","português (Suíça)"],"pt-CV":["Portuguese (Cape Verde)","português (Cabo Verde)"],"pt-GQ":["Portuguese (Equatorial Guinea)","português (Guiné Equatorial)"],"pt-GW":["Portuguese (Guinea-Bissau)","português (Guiné-Bissau)"],"pt-LU":["Portuguese (Luxembourg)","português (Luxemburgo)"],"pt-MO":["Portuguese (Macao SAR China)","português (Macau, RAE da China)"],"pt-MZ":["Portuguese (Mozambique)","português (Moçambique)"],"pt-PT":["Portuguese (Portugal)","português (Portugal)"],"pt-ST":["Portuguese (São Tomé & Príncipe)","português (São Tomé e Príncipe)"],"pt-TL":["Portuguese (Timor-Leste)","português (Timor-Leste)"],qu:["Quechua","Runasimi"],"qu-BO":["Quechua (Bolivia)","Runasimi (Bolivia)"],"qu-EC":["Quechua (Ecuador)","Runasimi (Ecuador)"],rm:["Romansh","rumantsch"],rn:["Rundi","Ikirundi"],ro:["Romanian","română"],"ro-MD":["Romanian (Moldova)","română (Republica Moldova)"],rof:["Rombo","Kihorombo"],ru:["Russian","русский"],"ru-BY":["Russian (Belarus)","русский (Беларусь)"],"ru-KG":["Russian (Kyrgyzstan)","русский (Киргизия)"],"ru-KZ":["Russian (Kazakhstan)","русский (Казахстан)"],"ru-MD":["Russian (Moldova)","русский (Молдова)"],"ru-UA":["Russian (Ukraine)","русский (Украина)"],rw:["Kinyarwanda","Kinyarwanda"],rwk:["Rwa","Kiruwa"],sa:["Sanskrit","संस्कृत भाषा"],sah:["Sakha","саха тыла"],saq:["Samburu","Kisampur"],sat:["Santali","ᱥᱟᱱᱛᱟᱲᱤ"],"sat-Olck":["Santali (Ol Chiki)","ᱥᱟᱱᱛᱟᱲᱤ (ᱚᱞ ᱪᱤᱠᱤ)"],sbp:["Sangu","Ishisangu"],sc:["Sardinian","sardu"],sd:["Sindhi","سنڌي"],"sd-Arab":["Sindhi (Arabic)","سنڌي (عربي)"],"sd-Deva":["Sindhi (Devanagari)","सिन्धी (देवनागिरी)"],se:["Northern Sami","davvisámegiella"],"se-FI":["Northern Sami (Finland)","davvisámegiella (Suopma)"],"se-SE":["Northern Sami (Sweden)","davvisámegiella (Ruoŧŧa)"],seh:["Sena","sena"],ses:["Koyraboro Senni","Koyraboro senni"],sg:["Sango","Sängö"],shi:["Tachelhit","ⵜⴰⵛⵍⵃⵉⵜ"],"shi-Latn":["Tachelhit (Latin)","Tashelḥiyt (Latn)"],"shi-Tfng":["Tachelhit (Tifinagh)","ⵜⴰⵛⵍⵃⵉⵜ (Tfng)"],si:["Sinhala","සිංහල"],sk:["Slovak","slovenčina"],sl:["Slovenian","slovenščina"],smn:["Inari Sami","anarâškielâ"],sn:["Shona","chiShona"],so:["Somali","Soomaali"],"so-DJ":["Somali (Djibouti)","Soomaali (Jabuuti)"],"so-ET":["Somali (Ethiopia)","Soomaali (Itoobiya)"],"so-KE":["Somali (Kenya)","Soomaali (Kenya)"],sq:["Albanian","shqip"],"sq-MK":["Albanian (North Macedonia)","shqip (Maqedonia e Veriut)"],"sq-XK":["Albanian (Kosovo)","shqip (Kosovë)"],sr:["Serbian","српски"],"sr-Cyrl":["Serbian (Cyrillic)","српски (ћирилица)"],"sr-Cyrl-BA":["Serbian (Cyrillic, Bosnia & Herzegovina)","српски (ћирилица, Босна и Херцеговина)"],"sr-Cyrl-ME":["Serbian (Cyrillic, Montenegro)","српски (ћирилица, Црна Гора)"],"sr-Cyrl-XK":["Serbian (Cyrillic, Kosovo)","српски (ћирилица, Косово)"],"sr-Latn":["Serbian (Latin)","srpski (latinica)"],"sr-Latn-BA":["Serbian (Latin, Bosnia & Herzegovina)","srpski (latinica, Bosna i Hercegovina)"],"sr-Latn-ME":["Serbian (Latin, Montenegro)","srpski (latinica, Crna Gora)"],"sr-Latn-XK":["Serbian (Latin, Kosovo)","srpski (latinica, Kosovo)"],su:["Sundanese","Basa Sunda"],"su-Latn":["Sundanese (Latin)","Basa Sunda (Latin)"],sv:["Swedish","svenska"],"sv-AX":["Swedish (Åland Islands)","svenska (Åland)"],"sv-FI":["Swedish (Finland)","svenska (Finland)"],sw:["Swahili","Kiswahili"],"sw-CD":["Swahili (Congo - Kinshasa)","Kiswahili (Jamhuri ya Kidemokrasia ya Kongo)"],"sw-KE":["Swahili (Kenya)","Kiswahili (Kenya)"],"sw-UG":["Swahili (Uganda)","Kiswahili (Uganda)"],ta:["Tamil","தமிழ்"],"ta-LK":["Tamil (Sri Lanka)","தமிழ் (இலங்கை)"],"ta-MY":["Tamil (Malaysia)","தமிழ் (மலேசியா)"],"ta-SG":["Tamil (Singapore)","தமிழ் (சிங்கப்பூர்)"],te:["Telugu","తెలుగు"],teo:["Teso","Kiteso"],"teo-KE":["Teso (Kenya)","Kiteso (Kenia)"],tg:["Tajik","тоҷикӣ"],th:["Thai","ไทย"],ti:["Tigrinya","ትግርኛ"],"ti-ER":["Tigrinya (Eritrea)","ትግርኛ (ኤርትራ)"],tk:["Turkmen","türkmen dili"],to:["Tongan","lea fakatonga"],tr:["Turkish","Türkçe"],"tr-CY":["Turkish (Cyprus)","Türkçe (Kıbrıs)"],tt:["Tatar","татар"],twq:["Tasawaq","Tasawaq senni"],tzm:["Central Atlas Tamazight","Tamaziɣt n laṭlaṣ"],ug:["Uyghur","ئۇيغۇرچە"],uk:["Ukrainian","українська"],und:["Unknown language","und"],ur:["Urdu","اردو"],"ur-IN":["Urdu (India)","اردو (بھارت)"],uz:["Uzbek","o‘zbek"],"uz-Arab":["Uzbek (Arabic)","اوزبیک (عربی)"],"uz-Cyrl":["Uzbek (Cyrillic)","ўзбекча (Кирил)"],"uz-Latn":["Uzbek (Latin)","o‘zbek (lotin)"],vai:["Vai","ꕙꔤ"],"vai-Latn":["Vai (Latin)","Vai (Latn)"],"vai-Vaii":["Vai (Vai)","ꕙꔤ (Vaii)"],vi:["Vietnamese","Tiếng Việt"],vun:["Vunjo","Kyivunjo"],wae:["Walser","Walser"],wo:["Wolof","Wolof"],xh:["Xhosa","isiXhosa"],xog:["Soga","Olusoga"],yav:["Yangben","nuasue"],yi:["Yiddish","ייִדיש"],yo:["Yoruba","Èdè Yorùbá"],"yo-BJ":["Yoruba (Benin)","Èdè Yorùbá (Bɛ̀nɛ̀)"],yrl:["Nheengatu","nheẽgatu"],"yrl-CO":["Nheengatu (Colombia)","ñengatú (Kurũbiya)"],"yrl-VE":["Nheengatu (Venezuela)","ñengatú (Wenesuera)"],yue:["Cantonese","粵語"],"yue-Hans":["Cantonese (Simplified)","粤语 (简体)"],"yue-Hant":["Cantonese (Traditional)","粵語 (繁體)"],zgh:["Standard Moroccan Tamazight","ⵜⴰⵎⴰⵣⵉⵖⵜ"],zh:["Chinese","中文"],"zh-Hans":["Chinese (Simplified)","中文(简体)"],"zh-Hans-HK":["Chinese (Simplified, Hong Kong SAR China)","中文(简体,中国香港特别行政区)"],"zh-Hans-MO":["Chinese (Simplified, Macao SAR China)","中文(简体,中国澳门特别行政区)"],"zh-Hans-SG":["Chinese (Simplified, Singapore)","中文(简体,新加坡)"],"zh-Hant":["Chinese (Traditional)","中文(繁體)"],"zh-Hant-HK":["Chinese (Traditional, Hong Kong SAR China)","中文(繁體字,中國香港特別行政區)"],"zh-Hant-MO":["Chinese (Traditional, Macao SAR China)","中文(繁體字,中國澳門特別行政區)"],zu:["Zulu","isiZulu"]}},5466:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Namespace=t.Plurals=t._n=t._=t.dnpgettext=t.npgettext=t.dpgettext=t.pgettext=t.dngettext=t.ngettext=t.dgettext=t.gettext=t.Locales=t.LOCALE_DEFAULTS=t.CONTEXT_SEPARATOR=t.Domain=t.Translations=t.Translation=void 0;var n=i(29091);Object.defineProperty(t,"Translation",{enumerable:!0,get:function(){return n.Translation}});var o=i(64060);Object.defineProperty(t,"Translations",{enumerable:!0,get:function(){return o.Translations}}),Object.defineProperty(t,"Domain",{enumerable:!0,get:function(){return o.Translations}}),Object.defineProperty(t,"CONTEXT_SEPARATOR",{enumerable:!0,get:function(){return o.CONTEXT_SEPARATOR}});var r=i(66333);Object.defineProperty(t,"LOCALE_DEFAULTS",{enumerable:!0,get:function(){return r.DEFAULTS}}),Object.defineProperty(t,"Locales",{enumerable:!0,get:function(){return r.Locales}});var s=i(94083);Object.defineProperty(t,"gettext",{enumerable:!0,get:function(){return s.gettext}}),Object.defineProperty(t,"dgettext",{enumerable:!0,get:function(){return s.dgettext}}),Object.defineProperty(t,"ngettext",{enumerable:!0,get:function(){return s.ngettext}}),Object.defineProperty(t,"dngettext",{enumerable:!0,get:function(){return s.dngettext}}),Object.defineProperty(t,"pgettext",{enumerable:!0,get:function(){return s.pgettext}}),Object.defineProperty(t,"dpgettext",{enumerable:!0,get:function(){return s.dpgettext}}),Object.defineProperty(t,"npgettext",{enumerable:!0,get:function(){return s.npgettext}}),Object.defineProperty(t,"dnpgettext",{enumerable:!0,get:function(){return s.dnpgettext}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"_n",{enumerable:!0,get:function(){return s._n}});var a=i(59903);Object.defineProperty(t,"Plurals",{enumerable:!0,get:function(){return a.Plurals}});var l=i(65051);Object.defineProperty(t,"Namespace",{enumerable:!0,get:function(){return l.Namespace}})},94083:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._n=t._=t.dnpgettext=t.npgettext=t.dpgettext=t.pgettext=t.dngettext=t.ngettext=t.dgettext=t.gettext=void 0;var n=i(70655),o=i(64060),r=i(66333);t.gettext=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,"",e,!1,"",0],t,!1))},t.dgettext=function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return o.Translations.translate.apply(o.Translations,n.__spreadArray([e,"",t,!1,"",0],i,!1))},t.ngettext=function(e,t,i){for(var s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,"",e,!0,t,i,r.Locales.number(i)],s,!1))},t.dngettext=function(e,t,i,s){for(var a=[],l=4;l<arguments.length;l++)a[l-4]=arguments[l];return o.Translations.translate.apply(o.Translations,n.__spreadArray([e,"",t,!0,i,s,r.Locales.number(s,0,!0,e)],a,!1))},t.pgettext=function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,e,t,!1,"",0],i,!1))},t.dpgettext=function(e,t,i){for(var r=[],s=3;s<arguments.length;s++)r[s-3]=arguments[s];return o.Translations.translate.apply(o.Translations,n.__spreadArray([e,t,i,!1,"",0],r,!1))},t.npgettext=function(e,t,i,s){for(var a=[],l=4;l<arguments.length;l++)a[l-4]=arguments[l];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,e,t,!0,i,s,r.Locales.number(s)],a,!1))},t.dnpgettext=function(e,t,i,s,a){for(var l=[],c=5;c<arguments.length;c++)l[c-5]=arguments[c];return o.Translations.translate.apply(o.Translations,n.__spreadArray([e,t,i,!0,s,a,r.Locales.number(a,0,!0,e)],l,!1))},t._=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,"",e,!1,"",0],t,!1))},t._n=function(e,t,i){for(var s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];return o.Translations.translate.apply(o.Translations,n.__spreadArray([o.Translations.current,"",e,!0,t,i,r.Locales.number(i)],s,!1))}},66333:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Locales=t.DEFAULTS=void 0;var n=i(84389),o=i(64600);t.DEFAULTS={locale:"en",domain:"en",direction:"ltr",countryCode:"",country:"",countryNative:"",language:"English",languageNative:"English",translations:{months:{formatted:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},nominative:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},days:{formatted:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},nominative:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},time:{AM:"AM",PM:"PM"}},formats:{date:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},time:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTime:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}"},numbers:{decimals:".",grouping:",",minus:"-"}}};var r=function(){function e(){}return Object.defineProperty(e,"locale",{get:function(){return this.m_pLocale||t.DEFAULTS},enumerable:!1,configurable:!0}),Object.defineProperty(e,"identifier",{get:function(){return this.locale.locale},enumerable:!1,configurable:!0}),Object.defineProperty(e,"domain",{get:function(){return this.locale.domain},enumerable:!1,configurable:!0}),Object.defineProperty(e,"countryCode",{get:function(){return this.locale.countryCode},enumerable:!1,configurable:!0}),Object.defineProperty(e,"country",{get:function(){return this.locale.country},enumerable:!1,configurable:!0}),Object.defineProperty(e,"countryNative",{get:function(){return this.locale.countryNative},enumerable:!1,configurable:!0}),Object.defineProperty(e,"language",{get:function(){return this.locale.language},enumerable:!1,configurable:!0}),Object.defineProperty(e,"languageNative",{get:function(){return this.locale.languageNative},enumerable:!1,configurable:!0}),Object.defineProperty(e,"direction",{get:function(){return this.locale.direction},enumerable:!1,configurable:!0}),Object.defineProperty(e,"locales",{get:function(){var e=[];return(0,n.each)(o.DOMAINS,(function(t,i){e.push(i)}),{keys:!0}),e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"domains",{get:function(){var e=[];return(0,n.each)(o.DOMAINS,(function(t,i){e.push({locale:i,language:t[0],native:t[1]})}),{keys:!0}),e},enumerable:!1,configurable:!0}),e.isLoaded=function(e){return(0,n.isFilledString)(e)&&(0,n.isObject)(this.m_pLocales[e.toLowerCase()])},e.load=function(e,i){var o=this;void 0===i&&(i=!0);var r=!1;return(0,n.each)((0,n.isArray)(e)?e:[e],(function(e){(0,n.compare)(e,t.DEFAULTS,!1)&&(o.isLoaded(e.locale)||(o.m_pLocales[e.locale.toLowerCase()]=(0,n.extendImmutable)(e)),r=!0)})),r&&i&&!(0,n.isArray)(e)&&this.set(e.locale),r},e.get=function(e){return((0,n.isFilledString)(e)?this.m_pLocales[e.toLowerCase()]:void 0)||this.locale},e.set=function(e){return(0,n.isObject)(this.m_pLocale=this.isLoaded(e)&&this.m_pLocales[e.toLowerCase()].locale===e?this.m_pLocales[e.toLowerCase()]:void 0)},e.findDomain=function(e){var t=this;if(!e||o.DOMAINS[e])return e||"";e=n.Str.replace(e.toLowerCase(),"_","-"),this.m_pDomains||(this.m_pDomains={},(0,n.each)(o.DOMAINS,(function(e,i){t.m_pDomains[i.toLowerCase()]=i}),{keys:!0}));for(var i=this.m_pDomains[e];!i&&-1!==e.lastIndexOf("-");)e=e.substr(0,e.lastIndexOf("-")),i=this.m_pDomains[e];return i||""},e.getDomain=function(e){e=this.findDomain(e)||this.locale.domain;var t=o.DOMAINS[e];return{locale:e,language:t[0],native:t[1]}},e.number=function(e,t,i,o){void 0===t&&(t=0),void 0===i&&(i=!0);var r=this.get(o);return n.Num.format(e,t,i?r.formats.numbers.grouping:"",r.formats.numbers.decimals,r.formats.numbers.minus)},e.dateTime=function(e,t,i,o){void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1);var r=this.get(o);return n.DateTime.format(e,t,i,{monthsFormattedAbbreviated:r.translations.months.formatted.abbreviated,monthsFormattedNarrow:r.translations.months.formatted.narrow,monthsFormattedWide:r.translations.months.formatted.wide,monthsNominativeAbbreviated:r.translations.months.nominative.abbreviated,monthsNominativeNarrow:r.translations.months.nominative.narrow,monthsNominativeWide:r.translations.months.nominative.wide,weekdaysFormattedAbbreviated:r.translations.days.formatted.abbreviated,weekdaysFormattedNarrow:r.translations.days.formatted.narrow,weekdaysFormattedShort:r.translations.days.formatted.short,weekdaysFormattedWide:r.translations.days.formatted.wide,weekdaysNominativeAbbreviated:r.translations.days.nominative.abbreviated,weekdaysNominativeNarrow:r.translations.days.nominative.narrow,weekdaysNominativeShort:r.translations.days.nominative.short,weekdaysNominativeWide:r.translations.days.nominative.wide,AM:r.translations.time.AM,PM:r.translations.time.PM})},e.dateFull=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.date.full,e,t,i)},e.dateLong=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.date.long,e,t,i)},e.dateMedium=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.date.medium,e,t,i)},e.dateShort=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.date.short,e,t,i)},e.timeFull=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.time.full,e,t,i)},e.timeLong=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.time.long,e,t,i)},e.timeMedium=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.time.medium,e,t,i)},e.timeShort=function(e,t,i){return void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1),this.dateTime(this.get(i).formats.time.short,e,t,i)},e.dateTimeFull=function(e,t,i){void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1);var o=this.get(i);return this.dateTime(n.Str.replace(n.Str.replace(o.formats.dateTime.full,"{0}",o.formats.time.full),"{1}",o.formats.date.full),e,t,i)},e.dateTimeLong=function(e,t,i){void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1);var o=this.get(i);return this.dateTime(n.Str.replace(n.Str.replace(o.formats.dateTime.long,"{0}",o.formats.time.long),"{1}",o.formats.date.long),e,t,i)},e.dateTimeMedium=function(e,t,i){void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1);var o=this.get(i);return this.dateTime(n.Str.replace(n.Str.replace(o.formats.dateTime.medium,"{0}",o.formats.time.medium),"{1}",o.formats.date.medium),e,t,i)},e.dateTimeShort=function(e,t,i){void 0===e&&(e=n.DateTime.now),void 0===t&&(t=!1);var o=this.get(i);return this.dateTime(n.Str.replace(n.Str.replace(o.formats.dateTime.short,"{0}",o.formats.time.short),"{1}",o.formats.date.short),e,t,i)},Object.defineProperty(e.prototype,"locale",{get:function(){return this.m_pLocale||e.locale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"identifier",{get:function(){return this.locale.locale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domain",{get:function(){return this.locale.domain},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"countryCode",{get:function(){return this.locale.countryCode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"country",{get:function(){return this.locale.country},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"countryNative",{get:function(){return this.locale.countryNative},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this.locale.language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageNative",{get:function(){return this.locale.languageNative},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"direction",{get:function(){return this.locale.direction},enumerable:!1,configurable:!0}),e.prototype.load=function(t){var i=e.load(t,!1);return this.set(t.locale),i},e.prototype.set=function(t){return(0,n.isObject)(this.m_pLocale=e.isLoaded(t)&&e.m_pLocales[t.toLowerCase()].locale===t?e.m_pLocales[t.toLowerCase()]:void 0)},e.prototype.number=function(t,i,n){return void 0===i&&(i=0),void 0===n&&(n=!0),e.number(t,i,n,this.identifier)},e.prototype.dateTime=function(t,i,o){return void 0===i&&(i=n.DateTime.now),void 0===o&&(o=!1),e.dateTime(t,i,o,this.identifier)},e.prototype.dateFull=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateFull(t,i,this.identifier)},e.prototype.dateLong=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateLong(t,i,this.identifier)},e.prototype.dateMedium=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateMedium(t,i,this.identifier)},e.prototype.dateShort=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateShort(t,i,this.identifier)},e.prototype.timeFull=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.timeFull(t,i,this.identifier)},e.prototype.timeLong=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.timeLong(t,i,this.identifier)},e.prototype.timeMedium=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.timeMedium(t,i,this.identifier)},e.prototype.timeShort=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.timeShort(t,i,this.identifier)},e.prototype.dateTimeFull=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateTimeFull(t,i,this.identifier)},e.prototype.dateTimeLong=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateTimeLong(t,i,this.identifier)},e.prototype.dateTimeMedium=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateTimeMedium(t,i,this.identifier)},e.prototype.dateTimeShort=function(t,i){return void 0===t&&(t=n.DateTime.now),void 0===i&&(i=!1),e.dateTimeShort(t,i,this.identifier)},e.m_pLocales={},e}();t.Locales=r},65051:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Namespace=void 0;var n=i(70655),o=i(64060),r=i(66333),s=function(){function e(e,t){this.m_pLocale=t?r.Locales:new r.Locales,this.m_pTranslations=e?o.Translations:new o.Translations}return Object.defineProperty(e,"global",{get:function(){return this.m_pNamespaces[""]||(this.m_pNamespaces[""]=new e(!0,!0))},enumerable:!1,configurable:!0}),e.create=function(t){return this.m_pNamespaces[t]||(this.m_pNamespaces[t]=new e(!1,!1))},e.translation=function(t){return this.m_pNamespaces[t]||(this.m_pNamespaces[t]=new e(!1,!0))},Object.defineProperty(e.prototype,"locale",{get:function(){return this.m_pLocale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"default",{get:function(){return this.m_pTranslations.default},set:function(e){this.m_pTranslations.default=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.m_pTranslations.current},set:function(e){this.m_pTranslations.current=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"domains",{get:function(){return this.m_pTranslations.domains},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"load",{get:function(){var e=this;return function(t,i,n){return void 0===i&&(i=!0),void 0===n&&(n="enrich"),e.m_pTranslations.load(t,i,n)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unload",{get:function(){var e=this;return function(t){return e.m_pTranslations.unload(t)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLoaded",{get:function(){var e=this;return function(t){return e.m_pTranslations.isLoaded(t)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reset",{get:function(){var e=this;return function(t){return e.m_pTranslations.reset(t)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gettext",{get:function(){var e=this;return function(t){for(var i,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return(i=e.m_pTranslations).translate.apply(i,n.__spreadArray([e.m_pTranslations.current,"",t,!1,"",0],o,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dgettext",{get:function(){var e=this;return function(t,i){for(var o,r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return(o=e.m_pTranslations).translate.apply(o,n.__spreadArray([t,"",i,!1,"",0],r,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ngettext",{get:function(){var e=this;return function(t,i,o){for(var r,s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];return(r=e.m_pTranslations).translate.apply(r,n.__spreadArray([e.m_pTranslations.current,"",t,!0,i,o,e.m_pLocale.number(o)],s,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dngettext",{get:function(){var e=this;return function(t,i,o,s){for(var a,l=[],c=4;c<arguments.length;c++)l[c-4]=arguments[c];return(a=e.m_pTranslations).translate.apply(a,n.__spreadArray([t,"",i,!0,o,s,r.Locales.number(s,0,!0,t)],l,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pgettext",{get:function(){var e=this;return function(t,i){for(var o,r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return(o=e.m_pTranslations).translate.apply(o,n.__spreadArray([e.m_pTranslations.current,t,i,!1,"",0],r,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dpgettext",{get:function(){var e=this;return function(t,i,o){for(var r,s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];return(r=e.m_pTranslations).translate.apply(r,n.__spreadArray([t,i,o,!1,"",0],s,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"npgettext",{get:function(){var e=this;return function(t,i,o,r){for(var s,a=[],l=4;l<arguments.length;l++)a[l-4]=arguments[l];return(s=e.m_pTranslations).translate.apply(s,n.__spreadArray([e.m_pTranslations.current,t,i,!0,o,r,e.m_pLocale.number(r)],a,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dnpgettext",{get:function(){var e=this;return function(t,i,o,s,a){for(var l,c=[],u=5;u<arguments.length;u++)c[u-5]=arguments[u];return(l=e.m_pTranslations).translate.apply(l,n.__spreadArray([t,i,o,!0,s,a,r.Locales.number(a,0,!0,t)],c,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_",{get:function(){var e=this;return function(t){for(var i,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return(i=e.m_pTranslations).translate.apply(i,n.__spreadArray([e.m_pTranslations.current,"",t,!1,"",0],o,!1))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_n",{get:function(){var e=this;return function(t,i,o){for(var r,s=[],a=3;a<arguments.length;a++)s[a-3]=arguments[a];return(r=e.m_pTranslations).translate.apply(r,n.__spreadArray([e.m_pTranslations.current,"",t,!0,i,o,e.m_pLocale.number(o)],s,!1))}},enumerable:!1,configurable:!0}),e.m_pNamespaces={},e}();t.Namespace=s},59903:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plurals=void 0;var n=i(84389),o=i(66333),r={"Asian (Chinese, Japanese, Korean)":{rules:["Everything"],expression:"nplurals=1; plural=0;",locales:["zh","ja","ko"],fn:function(e){return 0}},Persian:{rules:["Everything"],expression:"nplurals=1; plural=0;",locales:["fa"],fn:function(e){return 0}},"Turkic/Altaic (Turkish)":{rules:["Everything"],expression:"nplurals=1; plural=0;",locales:["tr"],fn:function(e){return 0}},Thai:{rules:["Everything"],expression:"nplurals=1; plural=0;",locales:["th"],fn:function(e){return 0}},Lao:{rules:["Everything"],expression:"nplurals=1; plural=0;",locales:["lo"],fn:function(e){return 0}},"Germanic (Danish, Dutch, English, Faroese, Frisian, German, Norwegian, Swedish)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["da","nl","en","fo","fy","de","nn","sv"],fn:function(e){return 1!==e?1:0}},"Finno-Ugric (Estonian, Finnish, Hungarian)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["et","fi","hu"],fn:function(e){return 1!==e?1:0}},"Language isolate (Basque)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["eu"],fn:function(e){return 1!==e?1:0}},"Latin/Greek (Greek)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["el"],fn:function(e){return 1!==e?1:0}},"Semitic (Hebrew)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["he"],fn:function(e){return 1!==e?1:0}},"Romanic (Italian, Portuguese, Spanish, Catalan)":{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["it","pt","es","ca"],fn:function(e){return 1!==e?1:0}},Vietnamese:{rules:["Is 1","Everything else"],expression:"nplurals=2; plural=(n != 1);",locales:["vi"],fn:function(e){return 1!==e?1:0}},"Romanic (French, Brazilian Portuguese)":{rules:["Is 0 or 1","Everything else"],expression:"nplurals=2; plural=(n > 1);",locales:["fr","pt_BR"],fn:function(e){return e>1?1:0}},Lingala:{rules:["Is 0 or 1","Everything else"],expression:"nplurals=2; plural=(n > 1);",locales:["ln"],fn:function(e){return e>1?1:0}},"Baltic (Latvian, Latgalian)":{rules:["Ends in 0","Ends in 1, excluding 11","Everything else"],expression:"nplurals=3; plural=(n%10==0 || (n%100>=11 && n%100<=19) ? 0 : n%10==1 && n%100!=11 ? 1 : 2);",locales:["lv"],fn:function(e){return e%10==0||e%100>=11&&e%100<=19?0:e%10==1&&e%100!=11?1:2}},"Celtic (Scottish Gaelic)":{rules:["Is 1 or 11","Is 2 or 12","Is 3-10 or 13-19","Everything else"],expression:"nplurals=4; plural=(n==1 || n==11 ? 0 : n==2 || n==12 ? 1 : (n>=3 && n<=10) || (n>=13 && n<=19) ? 2 : 3);",locales:["gd"],fn:function(e){return 1===e||11===e?0:2===e||12===e?1:e>=3&&e<=10||e>=13&&e<=19?2:3}},"Romanic (Romanian)":{rules:["Is 1","Is 0 or ends in 01-19, excluding 1","Everything else"],expression:"nplurals=3; plural=(n==1 ? 0 : n==0 || (n!=1 && n%100>=1 && n%100<=19) ? 1 : 2);",locales:["ro"],fn:function(e){return 1===e?0:0===e||1!==e&&e%100>=1&&e%100<=19?1:2}},"Baltic (Lithuanian)":{rules:["Ends in 1, excluding 11","Ends in 0 or ends in 11-19","Everything else"],expression:"nplurals=3; plural=(n%10==1 && (n%100<11 || n%100>19) ? 0 : n%10>=2 && n%10<=9 && (n%100<11 || n%100>19) ? 1 : 2);",locales:["lt"],fn:function(e){return e%10==1&&(e%100<11||e%100>19)?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2}},Belarusian:{rules:["Ends in 1, excluding 11","Ends in 2-4, excluding 12-14","Everything else"],expression:"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",locales:["be"],fn:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2}},Russian:{rules:["Ends in 1, excluding 11","Ends in 2-4, excluding 12-14","Everything else"],expression:"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",locales:["ru"],fn:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2}},Ukrainian:{rules:["Ends in 1, excluding 11","Ends in 2-4, excluding 12-14","Everything else"],expression:"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",locales:["uk"],fn:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2}},"Slavic (Slovak, Czech)":{rules:["Is 1","Is 2-4","Everything else"],expression:"nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 ? 1 : 2);",locales:["sk","cs"],fn:function(e){return 1===e?0:e>=2&&e<=4?1:2}},"Slavic (Polish)":{rules:["Is 1","Ends in 2-4, excluding 12-14","Everything else"],expression:"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",locales:["pl"],fn:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2}},"Slavic (Slovenian, Sorbian)":{rules:["Ends in 01","Ends in 02","Ends in 03-04","Everything else"],expression:"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n%100<=4 ? 2 : 3);",locales:["sl","dsb","hsb"],fn:function(e){return e%100==1?0:e%100==2?1:e%100>=3&&e%100<=4?2:3}},"Celtic (Irish Gaelic)":{rules:["Is 1","Is 2","Is 3-6","Is 7-10","Everything else"],expression:"nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n>=3 && n<=6 ? 2 : n>=7 && n<=10 ? 3 : 4);",locales:["ga"],fn:function(e){return 1===e?0:2===e?1:e>=3&&e<=6?2:e>=7&&e<=10?3:4}},"Semitic (Arabic)":{rules:["Is 0","Is 1","Is 2","Ends in 03-10","Everything else but is 0 and ends in 00-02, excluding 0-2","Ends in 00-02, excluding 0-2"],expression:"nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);",locales:["ar"],fn:function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5}},"Semitic (Maltese)":{rules:["Is 1","Is 0 or ends in 01-10, excluding 1","Ends in 11-19","Everything else"],expression:"nplurals=4; plural=(n==1 ? 0 : n==0 || (n%100>=2 && n%100<=10) ? 1 : n%100>=11 && n%100<=19 ? 2 : 3);",locales:["mt"],fn:function(e){return 1===e?0:0===e||e%100>=2&&e%100<=10?1:e%100>=11&&e%100<=19?2:3}},Icelandic:{rules:["Ends in 1, excluding 11","Everything else"],expression:"nplurals=2; plural=(n%10==1 && n%100!=11 ? 0 : 1);",locales:["is"],fn:function(e){return e%10==1&&e%100!=11?0:1}},Macedonian:{rules:["Ends in 1, excluding 11","Everything else"],expression:"nplurals=2; plural=(n%10==1 && n%100!=11 ? 0 : 1);",locales:["mk"],fn:function(e){return e%10==1&&e%100!=11?0:1}},"Celtic (Breton)":{rules:["Ends in 1, excluding 11, 71, 91","Ends in 2, excluding 12, 72, 92","Ends in 3, 4 or 9 excluding 13, 14, 19, 73, 74, 79, 93, 94, 99","Ends in 000000","Everything else"],expression:"nplurals=5; plural=(n%10==1 && n%100!=11 && n%100!=71 && n%100!=91 ? 0 : n%10==2 && n%100!=12 && n%100!=72 && n%100!=92 ? 1 : ((n%10>=3 && n%10<=4) || n%10==9) && (n%100<10 || n%100>19) && (n%100<70 || n%100>79) && (n%100<90 || n%100>99) ? 2 : n!=0 && n%1000000==0 ? 3 : 4);",locales:["br"],fn:function(e){return e%10==1&&e%100!=11&&e%100!=71&&e%100!=91?0:e%10==2&&e%100!=12&&e%100!=72&&e%100!=92?1:(e%10>=3&&e%10<=4||e%10==9)&&(e%100<10||e%100>19)&&(e%100<70||e%100>79)&&(e%100<90||e%100>99)?2:0!==e&&e%1e6==0?3:4}},"Ecuador indigenous languages (Shuar)":{rules:["Is 0","Everything else"],expression:"nplurals=2; plural=(n != 0);",locales:[],fn:function(e){return 0!==e?1:0}},Welsh:{rules:["Is 0","Is 1","Is 2","Is 3","Is 6","Everything else"],expression:"nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n==3 ? 3 : n==6 ? 4 : 5);",locales:["cy"],fn:function(e){return 0===e?0:1===e?1:2===e?2:3===e?3:6===e?4:5}},"Slavic (Bosnian, Croatian, Serbian)":{rules:["Ends in 1, excluding 11","Ends in 2-4, excluding 12-14","Everything else"],expression:"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",locales:["bs","hr","sr"],fn:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2}}},s=function(){function e(){}return Object.defineProperty(e,"rules",{get:function(){var e=[];return(0,n.each)(r,(function(t,i){e.push({family:i,rules:t.rules,expression:t.expression,locales:t.locales,fn:t.fn})}),{keys:!0}),e.sort((function(e,t){return e.family.localeCompare(t.family,o.Locales.domain,{sensitivity:"base"})}))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"locales",{get:function(){var e={};return(0,n.each)(r,(function(t,i){(0,n.each)(t.locales,(function(n){e[n]={family:i,rules:t.rules,expression:t.expression,locales:t.locales,fn:t.fn}}))}),{keys:!0}),e},enumerable:!1,configurable:!0}),e.getForLocale=function(e){return this.locales[e||o.Locales.domain]},e.getForFamily=function(e){return(0,n.findFirst)(this.rules,(function(t){return t.family===e}))},e.getForExpression=function(e){return(0,n.findFirst)(this.rules,(function(t){return t.expression===e}))||(0,n.findFirst)(this.rules,(function(t){return n.Str.removeWhitespaces(t.expression)===n.Str.removeWhitespaces(e)}))},e}();t.Plurals=s},29091:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Translation=void 0;var n=i(84389),o=i(59903),r=function(){function e(e){this.m_nPlurals=1;var t=(this.m_pTranslation=(0,n.extendImmutable)(e))[""];if((0,n.isObject)(t)){var i=(0,n.castToString)(t["plural-forms"]);if((0,n.isFilledString)(i)){var r=o.Plurals.getForExpression(i);if(r&&r.rules.length>0)this.m_nPlurals=r.rules.length,this.m_fnPlural=r.fn;else{var s,a=/nplurals\=(\d+);/;if(i=i.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(i)||(i=i.concat(";")),(s=(0,n.castToNumber)((0,n.arrayItem)(i.match(a),1)))>1&&(i=i.replace(a,""),i=(0,n.castToString)((0,n.arrayItem)(i.match(/plural\=(.*);/),1)),(0,n.isFilledString)(i)&&/^[0-9n\u002b\u002d\u002a\u002f\u0025\u003e\u003c\u003d\u0021\u007e\u007c\u0026\u005e\u0028\u0029\u003a\u003b\u003f\s]+$/.test(i))){var l=new Function("n","return "+i);this.m_nPlurals=s,this.m_fnPlural=function(e){return(0,n.castToNumber)(l(e))}}}}}}return Object.defineProperty(e.prototype,"plurals",{get:function(){return this.m_nPlurals},enumerable:!1,configurable:!0}),e.prototype.enrich=function(e,t){var i=this;(0,n.each)(e,(function(e,n){!n||i.m_pTranslation[n]&&!t||(i.m_pTranslation[n]=e)}),{keys:!0})},e.prototype.plural=function(e){return n.Num.range(this.m_fnPlural?this.m_fnPlural(e):1!==e?1:0,0,this.plurals-1)},e.prototype.translation=function(e){return this.m_pTranslation[e]},e}();t.Translation=r},64060:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Translations=t.ARGUMENTS_SEPARATOR=t.DOMAIN_SEPARATOR=t.CONTEXT_SEPARATOR=void 0;var n=i(70655),o=i(84389),r=i(29091),s=i(66333);t.CONTEXT_SEPARATOR="",t.DOMAIN_SEPARATOR="",t.ARGUMENTS_SEPARATOR="";var a=function(){function e(){this.m_pTranslations={},this.m_pCache={},this.m_sDefault=s.Locales.domain,this.m_sCurrent=""}return e.assert=function(){return this.m_pTranslations||(this.m_pTranslations=new e)},Object.defineProperty(e,"domains",{get:function(){return this.assert().domains},enumerable:!1,configurable:!0}),Object.defineProperty(e,"default",{get:function(){return this.assert().default},set:function(e){this.assert().default=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return this.assert().current},set:function(e){this.assert().current=e},enumerable:!1,configurable:!0}),e.load=function(e,t,i){return void 0===t&&(t=!0),void 0===i&&(i="enrich"),this.assert().load(e,t,i)},e.unload=function(e){this.assert().unload(e)},e.isLoaded=function(e){return this.assert().isLoaded(e)},e.reset=function(e){void 0===e&&(e=""),this.assert().reset(e)},e.translate=function(e,t,i,o,r,s){var a;void 0===o&&(o=!1),void 0===r&&(r=""),void 0===s&&(s=0);for(var l=[],c=6;c<arguments.length;c++)l[c-6]=arguments[c];return(a=this.assert()).translate.apply(a,n.__spreadArray([e,t,i,o,r,s],l,!1))},e.prototype.message=function(e,i,n,o,r){if(e){var s=e.translation((i?i+t.CONTEXT_SEPARATOR:"")+n);if(s){var a=1+(o?e.plural(r):0);if(a<s.length){var l=s[a];if("string"==typeof l)return l;if(Array.isArray(l)&&1===l.length){var c=l[0];if("string"==typeof c)return c}return""}}}return""},e.prototype.find=function(i,n,o,r,s){if(!i)return"";var a=i+t.DOMAIN_SEPARATOR+n+o+t.ARGUMENTS_SEPARATOR+(r?"P":"S")+s,l=this.m_pCache[a]||(this.m_pCache[a]=this.message(this.m_pTranslations[i],n,o,r,s));if(l)return l;var c=e.m_pAlternatives[i];if(c)return this.find(c.alternative,n,o,r,s);var u=i.lastIndexOf("-"),p=-1!==u?i.substr(0,u):void 0;return e.m_pAlternatives[i]={alternative:p},this.find(p,n,o,r,s)},e.prototype.invalidate=function(e){var i=this;if(e){var n=e+t.DOMAIN_SEPARATOR;(0,o.each)(this.m_pCache,(function(e,t){0===t.indexOf(n)&&(0,o.destroy)(i.m_pCache,t)}),{keys:!0})}},Object.defineProperty(e.prototype,"domains",{get:function(){var e=[];return(0,o.each)(this.m_pTranslations,(function(t,i){e.push(i)}),{keys:!0}),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"default",{get:function(){return this.m_sDefault},set:function(e){(e=s.Locales.findDomain(e))&&(this.m_sDefault=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.m_sCurrent||this.default},set:function(e){this.m_sCurrent=s.Locales.findDomain(e)},enumerable:!1,configurable:!0}),e.prototype.load=function(e,t,i){var n=this,a=!1,l="";return(0,o.each)((0,o.isArray)(e)?e:[e],(function(e){if((0,o.isObject)(e)){var t=e[""];if((0,o.isObject)(t)){(0,o.setAny)(t,"language",s.Locales.findDomain(t.language)||n.current),n.invalidate(t.language);var c="replace"!==i?n.m_pTranslations[t.language]:void 0;c?c.enrich(e,"overwrite"===i):n.m_pTranslations[t.language]=new r.Translation(e),l||(l=t.language),a=!0}}})),!1===t||!l||!0!==t&&this.m_sCurrent||(this.current=l),a},e.prototype.unload=function(e){var t=this;e?(e=s.Locales.findDomain(e),this.invalidate(e),(0,o.destroy)(this.m_pTranslations,e)):(0,o.each)(this.m_pTranslations,(function(e,i){t.invalidate(i),(0,o.destroy)(t.m_pTranslations,i)}),{keys:!0})},e.prototype.isLoaded=function(e){return this.default===e||this.m_pTranslations[s.Locales.findDomain(e)]instanceof r.Translation},e.prototype.reset=function(e){void 0===e&&(e=""),this.unload(),this.current=e},e.prototype.translate=function(e,t,i,n,r,s){for(var a=[],l=6;l<arguments.length;l++)a[l-6]=arguments[l];var c=this.find(e,t,i,n,s)||e!==this.default&&this.find(this.default,t,i,n,s)||(n&&1!==s?r:i);return a.length>0?c.replace(/%(\d+)/g,(function(e,t){return(0,o.castToString)((0,o.arrayItem)(a,(0,o.castToNumber)(t)-1,e))})):c},e.m_pAlternatives={},e}();t.Translations=a},21192:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadScriptWithContext=t.loadScript=t.defineContext=void 0;var n=i(81095);Object.defineProperty(t,"defineContext",{enumerable:!0,get:function(){return n.defineContext}});var o=i(35046);Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptWithContext",{enumerable:!0,get:function(){return o.loadScriptWithContext}})},81095:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineContext=void 0,t.defineContext=function(e,t){var i=window;if(void 0!==i)if(void 0!==typeof i[e])i[e]=t;else if(i[e]!==t)throw new Error("Marblecore.Loader: Another context is already registered for '".concat(e,"'!"))}},35046:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadScriptWithContext=t.loadScript=void 0;var n=i(81095),o=i(95098);function r(e,t,i){if("undefined"!=typeof document){var n=!1,r=function(e){n||(n=!0,i&&i(e))};try{var s=document.createElement("script");s.onload=function(){return r(!0)},s.onerror=function(){return r(!1)},s.async=!0,s.src=(0,o.getScriptSrcWithPolicy)(e,t),document.body.appendChild(s)}catch(e){r(!1)}}else i&&i(!1)}t.loadScript=r,t.loadScriptWithContext=function(e,t,i,o,s){(0,n.defineContext)(e,i),r(t,o,s)}},95098:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScriptSrcWithPolicy=void 0;var i={};t.getScriptSrcWithPolicy=function(e,t){return"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&t?(i[t]||(i[t]=trustedTypes.createPolicy(t,{createScriptURL:function(e){return e}}))).createScriptURL(e):e}},94689:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownFeatures=t.MarkdownParser=void 0;var n=i(84600);Object.defineProperty(t,"MarkdownParser",{enumerable:!0,get:function(){return n.MarkdownParser}});var o=i(29690);Object.defineProperty(t,"MarkdownFeatures",{enumerable:!0,get:function(){return o.MarkdownFeatures}})},29690:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownFeatures=void 0,function(e){e[e.None=0]="None",e[e.Formatting=1]="Formatting",e[e.Paragraphs=2]="Paragraphs",e[e.Breaks=4]="Breaks",e[e.Hyperlinks=8]="Hyperlinks",e[e.Headings=16]="Headings",e[e.Blockquotes=32]="Blockquotes",e[e.Code=64]="Code",e[e.InlineCode=128]="InlineCode",e[e.Images=256]="Images",e[e.All=511]="All"}(t.MarkdownFeatures||(t.MarkdownFeatures={}))},84600:function(e,t,i){"use strict";var n=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownParser=void 0;var o,r=i(29690);!function(e){e[e.Text=1]="Text",e[e.Content=2]="Content",e[e.Newline=4]="Newline",e[e.Space=8]="Space",e[e.Heading=16]="Heading",e[e.Quote=32]="Quote",e[e.Code=64]="Code",e[e.InlineCode=128]="InlineCode"}(o||(o={}));var s=function(){function e(e,t){if(this.m_nFeatures=r.MarkdownFeatures.All,this.m_bMentions=!1,this.m_bReferences=!1,this.m_pBlocks=[],this.m_nOpcode=o.Newline,this.m_nIndex=0,this.m_sBuffer="",this.m_pTags=[],this.m_nStopIndex=-1,this.m_sMarkdown=e.replace(/(\r\n|[\r\n])/,"\n"),this.m_nLength=this.m_sMarkdown.length,/[\n\\\*_~`#>\[!@]/g.test(this.m_sMarkdown))t&&("number"==typeof t.features&&(this.m_nFeatures=t.features),this.m_pMentions=t.mentions,this.m_pReferences=t.references,this.m_sStopWord=t.stopWord,this.m_sStopWord&&(this.m_sStopChar=this.m_sStopWord.charAt(0))),this.parse();else{if(t&&t.stopWord){var i=this.m_sMarkdown.indexOf(t.stopWord);-1!==i&&(this.m_sMarkdown=this.m_sMarkdown.substr(0,i),this.m_nStopIndex=i)}this.m_pBlocks.push({content:this.m_sMarkdown.replace(/\s\s+/g," ")})}}return e.parse=function(t,i){return new e(t,i)},Object.defineProperty(e.prototype,"features",{get:function(){return this.m_nFeatures},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"abstractSyntaxTree",{get:function(){var e=this.m_pBlocks.length;if(1===e){var t={content:this.m_pBlocks[0].content,value:this.m_pBlocks[0].value};return"paragraph"!==this.m_pBlocks[0].type&&(t.type=this.m_pBlocks[0].type),t}return{content:0===e?"":this.m_pBlocks}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){var e="";return this.map((function(t,i){switch(t){case"break":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"quote":case"codeline":return void(e+=(""===e?"":"\n")+i);case"paragraph":return void(e+=(""===e?"":"\n\n")+i);case"codeblock":case"image":return;default:return void(e+=i)}})),e.replace(/(^\s*)|(\s*$)/g,"").replace(/[^\S\r\n\.]{2,}/g," ").replace(/\n[^\S\r\n\.]/g,"\n")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasMentions",{get:function(){return this.m_bMentions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasReferences",{get:function(){return this.m_bReferences},enumerable:!1,configurable:!0}),e.prototype.parse=function(){for(var e=this;this.m_nIndex<this.m_nLength;this.m_nIndex++){if(this.m_sBuffer=this.m_sMarkdown.charAt(this.m_nIndex),this.m_nOpcode&o.Code){if("\n"===this.m_sBuffer){this.m_nOpcode&o.Newline&&this.m_pTag&&"codeblock"===this.m_pTag.type&&"string"!=typeof this.m_pTag.content&&(!Array.isArray(this.m_pTag.content)||this.m_pTag.content.length>0)&&(this.m_pTag.content=n(n([],Array.isArray(this.m_pTag.content)?this.m_pTag.content:[this.m_pTag.content],!0),[{parent:this.m_pTag,type:"codeline",content:""}],!1)),this.m_nOpcode|=o.Newline,this.m_pText=void 0;continue}}else{if("\n"===this.m_sBuffer){this.features&r.MarkdownFeatures.Paragraphs?this.m_nOpcode&o.Newline&&this.m_pText&&(this.m_nOpcode&=~o.Quote,this.block("paragraph")):this.features&r.MarkdownFeatures.Breaks&&this.m_nOpcode&o.Text&&(this.m_nOpcode&=~o.Content,this.m_pTags.push("break")),this.m_nOpcode|=o.Newline,this.m_nOpcode&o.Heading&&(this.m_nOpcode&=~o.Heading,this.block("paragraph"));continue}if(this.parseLinebreak())continue;if(this.m_nIndex>0&&(this.m_nOpcode&o.Newline||this.m_nOpcode&o.Space)&&" "===this.m_sBuffer)continue;if(this.m_nIndex>0&&(this.m_nOpcode&o.Newline||this.m_nOpcode&o.Space)&&"\t"===this.m_sBuffer)continue}this.parseStopWord()||(!(this.parseEscapeCharacters()||this.parseCodeBlock()||this.parseBuffer("mention",this.m_pMentions,"@",(function(){return e.m_bMentions=!0}))||this.parseBuffer("reference",this.m_pReferences,"#",(function(){return e.m_bReferences=!0}))||this.parseCode())&&(this.parseHeading()||this.parseBlockquotes()||this.parseImage()||this.parseHyperlinks()||this.features&r.MarkdownFeatures.Formatting&&(this.parseTag("bold+italic","*","triple")||this.parseTag("bold","*","double")||this.parseTag("italic","*","single")||this.parseTag("underline","_","single-or-double")||this.parseTag("strikethrough","~","single-or-double")))||this.flush(),0===this.m_pTags.length&&(this.m_nOpcode&=~o.Newline," "!==this.m_sBuffer&&"\t"!==this.m_sBuffer||(this.m_nOpcode|=o.Space)))}},e.prototype.pushBlock=function(e,t){var i={parent:void 0,type:e,content:"",value:t};return this.m_pBlocks.push(i),this.m_nOpcode&=~o.Content,i},e.prototype.block=function(e,t){this.m_pBlock={type:e,value:t},this.m_pTags=[],this.m_nOpcode&=~o.InlineCode},e.prototype.pushTag=function(e){this.m_pTags.push(e)},e.prototype.popTag=function(e){var t=this.m_pTags.length,i=this.m_pTag;if(t>0)for(var n=t-1;n>=0;n--)if(this.m_pTags[n]===e)return this.m_pTags.splice(n,this.m_pTags.length-n),!0;for(;i;){if(i.type===e)return this.m_pTag=this.m_pText=i.parent,!0;i=i.parent}return!1},e.prototype.isTagActive=function(e){var t=this.m_pTags.length,i=this.m_pTag;if(t>0)for(var n=t-1;n>=0;n--)if(this.m_pTags[n]===e)return!0;for(;i;){if(i.type===e)return!0;i=i.parent}return!1},e.prototype.tag=function(e){return!this.popTag(e)&&(this.pushTag(e),!0)},e.prototype.flush=function(e){if(void 0===e&&(e=!1),!this.m_sBuffer&&!e)return{content:""};this.m_pBlock?(this.m_pTag=this.m_pText=this.pushBlock(this.m_pBlock.type,this.m_pBlock.value),this.m_pBlock=void 0,this.m_nOpcode&o.Code&&(this.m_pTag.content=this.m_pText={parent:this.m_pTag,type:"codeline",content:""})):this.m_pTag||(this.m_pTag=this.m_pText=this.pushBlock("paragraph"));for(var t=this.m_pTags.shift();t;)this.m_pText={parent:this.m_pTag,type:t,content:""},"string"==typeof this.m_pTag.content&&this.m_pTag.content&&(this.m_pTag.content={parent:this.m_pTag,content:this.m_pTag.content}),this.m_pTag.content="string"==typeof this.m_pTag.content?this.m_pText:n(n([],Array.isArray(this.m_pTag.content)?this.m_pTag.content:[this.m_pTag.content],!0),[this.m_pText],!1),"break"===t?this.m_pText=this.m_pTag:this.m_pTag=this.m_pText,t=this.m_pTags.shift();return this.m_pText&&"string"==typeof this.m_pText.content||(this.m_pText={parent:this.m_pTag,content:""},this.m_pTag.content=n(n([],Array.isArray(this.m_pTag.content)?this.m_pTag.content:[this.m_pTag.content],!0),[this.m_pText],!1),"codeblock"===this.m_pTag.type&&(this.m_pText.type="codeline")),"\t"===this.m_sBuffer?(this.m_pText.content+="codeline"===this.m_pText.type?" ":" ",{content:""}):(this.m_nOpcode&o.Newline&&this.m_nOpcode&o.Content&&(e||" "!==this.m_sBuffer)&&(this.m_pText.content+=" "),this.m_pText.content+=this.m_sBuffer,this.m_nOpcode|=o.Text,this.m_nOpcode|=o.Content,this.m_nOpcode&=~o.Space,e&&(this.m_sBuffer=""),this.m_pText)},e.prototype.parseLinebreak=function(){return!!(this.features&r.MarkdownFeatures.Paragraphs&&this.features&r.MarkdownFeatures.Breaks&&this.m_nOpcode&o.Content&&" "===this.m_sBuffer&&this.m_nIndex+2<this.m_nLength&&" "===this.m_sMarkdown.charAt(this.m_nIndex+1)&&"\n"===this.m_sMarkdown.charAt(this.m_nIndex+2))&&(this.m_nIndex++,this.m_nOpcode&=~o.Space,this.m_nOpcode&=~o.Content,this.m_pTags.push("break"),!0)},e.prototype.parseEscapeCharacters=function(){if("\\"===this.m_sBuffer&&this.m_nIndex+1<this.m_nLength){var e=this.m_sMarkdown.charAt(this.m_nIndex+1);if("\\"===e||"*"===e||"_"===e||"~"===e||"`"===e||"#"===e||">"===e||"["===e||"]"===e||"("===e||")"===e||"!"===e||"@"===e)return this.m_sBuffer=e,this.m_nIndex++,!0}return!1},e.prototype.parseTag=function(e,t,i){if(this.m_sBuffer===t){if("single"!==i&&this.m_nIndex+("triple"===i?2:1)<this.m_nLength&&this.m_sMarkdown.charAt(this.m_nIndex+1)===t&&("triple"!==i||this.m_sMarkdown.charAt(this.m_nIndex+2)===t))this.m_nIndex+="triple"===i?2:1;else if("double"===i||"triple"===i)return!1;if("bold"===e||"italic"===e){if(this.popTag("bold+italic"))return this.tag("bold"===e?"italic":"bold"),!0}else if("bold+italic"===e){var n=this.isTagActive("bold"),o=this.isTagActive("italic");if(this.popTag("bold"),this.popTag("italic"),n&&o)return!0;(n||o)&&(this.popTag(n?"bold":"italic"),e=n?"italic":"bold")}return this.tag(e),!0}return!1},e.prototype.parseBuffer=function(t,i,n,o){if(i&&this.m_sBuffer===n&&this.m_nIndex+1<this.m_nLength){var s=i.parser(this.m_sMarkdown.substr(this.m_nIndex+1,i.numberOfChars||void 0),this.m_nIndex);if(s&&s.shift>0){this.m_nIndex+=s.shift,this.m_sBuffer="",this.pushTag(t);var a=this.flush(!0);return s.markdown?a.parent&&"code"===a.parent.type?a.content=s.markdown:a.content=e.parse(s.markdown,{features:this.features&r.MarkdownFeatures.Formatting|this.features&r.MarkdownFeatures.InlineCode|this.features&r.MarkdownFeatures.Hyperlinks|this.features&r.MarkdownFeatures.Images,mentions:this.m_pMentions,references:this.m_pReferences}).abstractSyntaxTree.content:s.text&&(a.content=s.text),a.value=s.value,a.value&&o(),this.popTag(t),!0}}return!1},e.prototype.parseStopWord=function(){return!(this.m_nOpcode&o.InlineCode||this.m_nOpcode&o.Code||this.m_sBuffer!==this.m_sStopChar||!this.m_sStopWord||this.m_sMarkdown.substr(this.m_nIndex,this.m_sStopWord.length)!==this.m_sStopWord)&&(this.m_nStopIndex=this.m_nIndex,this.m_nIndex=this.m_nLength,!0)},e.prototype.parseHeading=function(){if(this.features&r.MarkdownFeatures.Paragraphs&&this.features&r.MarkdownFeatures.Headings&&this.m_nOpcode&o.Newline&&"#"===this.m_sBuffer){for(var e=1,t=this.m_nIndex+1;t<this.m_nLength&&e>=1&&e<=6;){var i=this.m_sMarkdown.charAt(t);if("#"!==i){" "!==i&&(e=0);break}e++,t++}switch(e){case 1:this.block("h1");break;case 2:this.block("h2");break;case 3:this.block("h3");break;case 4:this.block("h4");break;case 5:this.block("h5");break;case 6:this.block("h6");break;default:return!1}return this.m_nIndex+=e,this.m_nOpcode|=o.Heading,!0}return!1},e.prototype.parseBlockquotes=function(){return!!(this.features&r.MarkdownFeatures.Paragraphs&&this.features&r.MarkdownFeatures.Blockquotes&&this.m_nOpcode&o.Newline&&">"===this.m_sBuffer)&&(this.m_nIndex+1<this.m_nLength&&" "===this.m_sMarkdown.charAt(this.m_nIndex+1)&&this.m_nIndex++,this.m_nOpcode&o.Quote?(this.m_sBuffer=" ",!1):(this.m_nOpcode|=o.Quote,this.block("quote"),!0))},e.prototype.parseImage=function(){if(this.features&r.MarkdownFeatures.Images&&"!"===this.m_sBuffer&&this.m_nIndex+4<this.m_nLength&&"["===this.m_sMarkdown.charAt(this.m_nIndex+1)){for(var e="",t="",i=!1,n=this.m_nIndex++;++this.m_nIndex<this.m_nLength;){if(this.m_sBuffer=this.m_sMarkdown.charAt(this.m_nIndex),!this.parseEscapeCharacters())if(i){if(")"===this.m_sBuffer){if(""!==t){this.pushTag("image");var o=this.flush(!0);o.content=e,o.value=t,this.popTag("image")}return!0}}else if("]"===this.m_sBuffer&&this.m_nIndex+1<this.m_nLength&&"("===this.m_sMarkdown.charAt(this.m_nIndex+1)){i=!0,this.m_nIndex++;continue}i?t+=this.m_sBuffer:e+=this.m_sBuffer}return this.m_nIndex=n,this.m_sBuffer="!",!1}return!1},e.prototype.parseHyperlinks=function(){if(this.features&r.MarkdownFeatures.Hyperlinks&&"["===this.m_sBuffer&&this.m_nIndex+3<this.m_nLength){var t=e.parse(this.m_sMarkdown.substr(this.m_nIndex+1),{features:this.features&r.MarkdownFeatures.Formatting|this.features&r.MarkdownFeatures.InlineCode|this.features&r.MarkdownFeatures.Images,mentions:this.m_pMentions,references:this.m_pReferences,stopWord:"]("});if(-1!==t.m_nStopIndex){var i=this.m_nIndex,n="";for(this.m_nIndex+=t.m_nStopIndex+2;++this.m_nIndex<this.m_nLength;){if(this.m_sBuffer=this.m_sMarkdown.charAt(this.m_nIndex),!this.parseEscapeCharacters()&&")"===this.m_sBuffer){if(""!==n){this.pushTag("hyperlink");var o=this.flush(!0);o.content=t.abstractSyntaxTree.content||n,o.value=n,this.popTag("hyperlink")}return!0}n+=this.m_sBuffer}this.m_nIndex=i,this.m_sBuffer="["}}return!1},e.prototype.parseCode=function(){return this.features&r.MarkdownFeatures.InlineCode&&"`"===this.m_sBuffer&&(this.m_sBuffer="",this.m_nOpcode=this.m_nOpcode^o.InlineCode,this.tag("code")),!!(this.m_nOpcode&o.InlineCode)},e.prototype.parseCodeBlock=function(){if(this.features&r.MarkdownFeatures.Paragraphs&&this.features&r.MarkdownFeatures.Code&&this.m_nOpcode&o.Newline&&"`"===this.m_sBuffer&&this.m_nIndex+2<this.m_nLength&&"`"===this.m_sMarkdown.charAt(this.m_nIndex+1)&&"`"===this.m_sMarkdown.charAt(this.m_nIndex+2)){var e="",t=!0;for(this.m_nOpcode=this.m_nOpcode^o.Code,this.m_nIndex+=3,this.m_sBuffer="";this.m_nIndex<this.m_nLength;){var i=this.m_sMarkdown.charAt(this.m_nIndex);if("\n"===i){this.m_nIndex--;break}" "===i||"\t"===i?t=!1:t&&(e+=i),this.m_nIndex++}return this.m_nOpcode&o.Code?this.block("codeblock",e||void 0):this.block("paragraph"),!0}return!!(this.m_nOpcode&o.Code)},e.prototype.mapHelper=function(e,t,i,n){var o=this;void 0===i&&(i=!0);var r="string"==typeof e.content,s=e.value;if(s&&s.ref&&"string"==typeof s.string)return t(e.type,s.string,s.ref,n,"node");var a=t(e.type,r?e.content:"",e.value,n,i&&!e.type?r?"text":"root":"node");return r||(Array.isArray(e.content)?e.content.forEach((function(e){return o.mapHelper(e,t,!1,a)})):this.mapHelper(e.content,t,!1,a)),a},e.prototype.reduceHelper=function(e,t){var i=this,n=e.value;if(n&&n.ref&&"string"==typeof n.string)return t(e.type,n.string,n.ref);if("string"!=typeof e.content){var o=[];return Array.isArray(e.content)?e.content.forEach((function(e){return o.push(i.reduceHelper(e,t))})):o.push(this.reduceHelper(e.content,t)),t(e.type,o,e.value)}return t(e.type,e.content,e.value)},e.prototype.map=function(e){return this.mapHelper(this.abstractSyntaxTree,e)},e.prototype.reduce=function(e){return this.reduceHelper(this.abstractSyntaxTree,e)},e}();t.MarkdownParser=s},3737:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientations=void 0,function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal"}(t.Orientations||(t.Orientations={}))},74175:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reasons=void 0,function(e){e[e.Push=1]="Push",e[e.Pop=2]="Pop",e[e.Move=4]="Move",e[e.Swap=8]="Swap",e[e.Sort=16]="Sort",e[e.Recalculation=32]="Recalculation",e[e.Last=64]="Last",e[e.First=128]="First"}(t.Reasons||(t.Reasons={}))},45784:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Types=void 0,function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal",e[e.Square=2]="Square",e[e.SquareHorizontal=3]="SquareHorizontal",e[e.SquareVertical=4]="SquareVertical"}(t.Types||(t.Types={}))},53339:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Types=t.Reasons=t.Orientations=t.ModelItem=t.Model=t.StrictItem=t.StrictMatrix=t.Item=t.Matrix=void 0;var n=i(45207);Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return n.Matrix}});var o=i(43907);Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return o.Item}});var r=i(27152);Object.defineProperty(t,"StrictMatrix",{enumerable:!0,get:function(){return r.StrictMatrix}});var s=i(97626);Object.defineProperty(t,"StrictItem",{enumerable:!0,get:function(){return s.StrictItem}});var a=i(37243);Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return a.Model}});var l=i(37565);Object.defineProperty(t,"ModelItem",{enumerable:!0,get:function(){return l.ModelItem}});var c=i(3737);Object.defineProperty(t,"Orientations",{enumerable:!0,get:function(){return c.Orientations}});var u=i(74175);Object.defineProperty(t,"Reasons",{enumerable:!0,get:function(){return u.Reasons}});var p=i(45784);Object.defineProperty(t,"Types",{enumerable:!0,get:function(){return p.Types}})},43907:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Item=void 0;var n=i(70655),o=i(84389),r=i(29165),s=i(35781),a=function(e){function t(i){var n=e.call(this)||this;return n.m_nIndex=-1,n.m_nColumn=-1,n.m_nRow=-1,n.m_bPopped=!0,n.m_nUniqueId=t.enumerator.n,n.m_pMatrix=i,n}return n.__extends(t,e),t.pushToMatrix=function(e,t){return(t=t||e.parent)&&t.pushToMatrix(e,{index:-1,recalculate:!0,emit:"push"}),e},Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uniqueId",{get:function(){return this.m_nUniqueId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.m_sHash||(this.m_sHash=(0,s.SHA2_256)("".concat(o.DateTime.now).concat(Math.random(),".").concat(this.uniqueId)))},set:function(e){(0,o.isFilledString)(e)&&/[A-Fa-f0-9]{64}/.test(e)&&(this.m_sHash=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.m_nIndex},set:function(e){this.moveToIndex(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnIndex",{get:function(){return this.m_nColumn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowIndex",{get:function(){return this.m_nRow},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPopped",{get:function(){return this.m_bPopped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirst",{get:function(){return!!this.m_pMatrix&&(0===this.m_pMatrix.orientation?0===this.rowIndex:0===this.columnIndex)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLast",{get:function(){return!!this.m_pMatrix&&(this.isLastOfMatrix||(0===this.m_pMatrix.orientation?this.rowIndex===this.m_pMatrix.rows-1:this.columnIndex===this.m_pMatrix.columns-1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstColumn",{get:function(){return 0===this.columnIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastColumn",{get:function(){return!!this.m_pMatrix&&(this.isLastOfMatrix||this.columnIndex===this.m_pMatrix.columns-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstRow",{get:function(){return 0===this.rowIndex},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastRow",{get:function(){return!!this.m_pMatrix&&(this.isLastOfMatrix||this.rowIndex===this.m_pMatrix.rows-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstOfMatrix",{get:function(){return 0===this.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastOfMatrix",{get:function(){return!!this.m_pMatrix&&this.index===this.m_pMatrix.count-(this.m_bPopped?0:1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessorSibling",{get:function(){return this.m_pMatrix&&!this.isFirstOfMatrix?this.m_pMatrix.itemAtIndex(this.index-1):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successorSibling",{get:function(){return this.m_pMatrix&&!this.isLastOfMatrix?this.m_pMatrix.itemAtIndex(this.index+(this.m_bPopped?0:1)):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessorInColumn",{get:function(){return this.m_pMatrix?this.m_pMatrix.itemAtPosition(this.m_nColumn,this.m_nRow-1):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successorInColumn",{get:function(){return this.m_pMatrix?this.m_pMatrix.itemAtPosition(this.m_nColumn,this.m_nRow+1):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessorInRow",{get:function(){return this.m_pMatrix?this.m_pMatrix.itemAtPosition(this.m_nColumn-1,this.m_nRow):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successorInRow",{get:function(){return this.m_pMatrix?this.m_pMatrix.itemAtPosition(this.m_nColumn+1,this.m_nRow):void 0},enumerable:!1,configurable:!0}),t.prototype.matrix=function(){return this.m_pMatrix},t.prototype.onPush=function(e){this.emitHook("OnItemPush",e,"lifo")},t.prototype.onChange=function(e){this.emitHook("OnItemChange",e)},t.prototype.onPop=function(e){this.emitHook("OnItemPop",e)},t.prototype.dispatch=function(e,t){var i=this;if("Pop"!==t)if("Detach"!==t)switch(t.hook){case"OnItemChange":e.push((function(){i.onChange(t.payload)}));break;case"OnItemPop":e.push((function(){i.onPop(t.payload)}))}else this.m_pMatrix=void 0;else this.m_bPopped=!0},t.prototype.reindex=function(e,t,i,n,o){var r,s=this,a=this.m_nColumn,l=this.m_nRow,c=!1;if(this.m_pMatrix!==t&&(r=this.m_pMatrix,this.m_pMatrix=t,c=!0),this.m_nIndex===i&&"change"!==n&&"push"!==n||(0!==i&&0!==this.m_nIndex||(o|=128),i+1!==t.count&&this.m_nIndex+1!==t.count||(o|=64),this.m_nIndex=i,c=!0),this.m_nColumn=0===this.m_pMatrix.orientation?Math.floor(this.m_nIndex/this.m_pMatrix.rows):this.m_nIndex%this.m_pMatrix.columns,this.m_nRow=0===this.m_pMatrix.orientation?this.m_nIndex%this.m_pMatrix.rows:Math.floor(this.m_nIndex/this.m_pMatrix.columns),this.isPopped){var u=this.m_pMatrix.itemAtIndex(i);u&&u===this&&(this.m_bPopped=!1,c=!0)}return!(!c&&this.m_nColumn===a&&this.m_nRow===l)&&("nothing"!==n&&("push"===n?(e.push((function(){s.onPush({matrix:t,matrixPrevious:r,item:s,reason:o})})),this.m_pMatrix.emitHook("OnItemPush",{matrix:this.m_pMatrix,matrixPrevious:r,item:this,reason:o},"lifo")):(e.push((function(){s.onChange({matrix:t,matrixPrevious:r,item:s,reason:o})})),this.m_pMatrix.emitHook("OnItemChange",{matrix:this.m_pMatrix,matrixPrevious:r,item:this,reason:o}))),!0)},t.prototype.moveTo=function(e){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.moveTo(this,e)},t.prototype.moveToIndex=function(e){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.moveToIndex(this,e)},t.prototype.moveToPosition=function(e,t){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.moveToPosition(this,e,t)},t.prototype.moveToItem=function(e,t){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.moveToItem(this,e,t)},t.prototype.moveUpOrDown=function(e){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.moveUpOrDown(this,e)},t.prototype.swap=function(e){return!(!this.m_pMatrix||this.m_bPopped)&&this.m_pMatrix.swap(this,e)},t.prototype.pop=function(){return!(this.m_pMatrix&&!this.m_bPopped)||this.m_pMatrix.popFromMatrix(this,!0)instanceof t},t.prototype.popSilent=function(){return!(this.m_pMatrix&&!this.m_bPopped)||this.m_pMatrix.popFromMatrix(this,!1)instanceof t},t.prototype.unpop=function(e,i){return!(!this.m_bPopped||!e&&!this.m_pMatrix)&&(e||this.m_pMatrix).pushToMatrix(this,{index:i,recalculate:!0,emit:"change"})instanceof t},t.prototype.unpopSilent=function(e,i){return e=e||this.m_pMatrix,!(!this.m_bPopped||!e)&&e.pushToMatrix(this,{index:i,recalculate:!0,emit:"nothing"})instanceof t},t.enumerator=new o.Enumerator,t}(r.Hooks);t.Item=a},45207:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Matrix=void 0;var n=i(70655),o=i(84389),r=i(29165),s=i(10154),a=function(e){function t(i,n,o){void 0===i&&(i=0),void 0===n&&(n=0),void 0===o&&(o=1);var r=e.call(this)||this;return r.m_nCurrentCount=0,r.m_pCursor={column:0,row:0,index:0},r.m_bSilent=!1,r.m_pItems=[],r.m_nUniqueId=t.enumerator.n,r.m_nType=i,r.m_nOrientation=n,r.m_nColumns=r.m_nCurrentColumns=0===r.type?Math.max(o,1):0,r.m_nRows=r.m_nCurrentRows=1===r.type?Math.max(o,1):0,r}return n.__extends(t,e),Object.defineProperty(t.prototype,"uniqueId",{get:function(){return this.m_nUniqueId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_nType},set:function(e){this.m_nType!==e&&(this.m_nType=e,this.recalculate(new s.Stack,0,"change",-1,32).flush())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"orientation",{get:function(){return this.m_nOrientation},set:function(e){if(this.m_nOrientation!==e){var t=new s.Stack;this.m_nOrientation=e,this.reindex(t,0,-1,"change",-1,32),t.flush()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columns",{get:function(){return this.m_nColumns},set:function(e){this.m_nType=0,e!==this.m_nColumns&&(this.m_nColumns=Math.max(e,1),this.recalculate(new s.Stack,0,"change",-1,32).flush())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.m_nRows},set:function(e){this.m_nType=1,e!==this.m_nRows&&(this.m_nRows=Math.max(e,1),this.recalculate(new s.Stack,0,"change",-1,32).flush())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this.m_pItems.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"all",{get:function(){return this.m_pItems},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentItem",{get:function(){return this.itemAtIndex(this.safeCursor.index)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstItem",{get:function(){return this.itemAtIndex(0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastItem",{get:function(){return this.itemAtIndex(this.count-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastItemInFirstRow",{get:function(){return this.lastItemInRow(0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastItemInFirstColumn",{get:function(){return this.lastItemInColumn(0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursor",{get:function(){return this.m_pCursor},set:function(e){var t=this.m_pCursor.column,i=this.m_pCursor.row;this.m_pCursor=this.getSafeCursor(e),this.m_pCursor.column===t&&this.m_pCursor.row===i||this.isSilent||this.onCursorChange({matrix:this,cursor:this.cursor})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"safeCursor",{get:function(){return this.m_pCursor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtFirstColumn",{get:function(){return 0===this.cursor.column},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtLastColumn",{get:function(){return this.cursor.column===this.columns-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtEndColumn",{get:function(){return this.cursor.column===this.columns},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtFirstRow",{get:function(){return 0===this.cursor.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtLastRow",{get:function(){return this.cursor.row===this.rows-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtEndRow",{get:function(){return this.cursor.row===this.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtFirst",{get:function(){return 0===this.cursor.index},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtLast",{get:function(){return this.cursor.index===this.count-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCursorAtEnd",{get:function(){return this.cursor.index===this.count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSilent",{get:function(){return(0,o.isFunction)(this.m_bSilent)?this.m_bSilent():this.m_bSilent},set:function(e){this.m_bSilent=e},enumerable:!1,configurable:!0}),t.prototype.isValidIndex=function(e,t){return void 0===t&&(t=!1),(0,o.isNumberFinite)(e)&&e>=0&&e<this.count+(t?1:0)},t.prototype.reindex=function(e,t,i,n,r,s){var a=!1;for(t=o.Num.max(t,0),i=this.isValidIndex(i)?i+1:this.count,r=this.isValidIndex(r)?r:-1,this.isSilent&&(n="nothing");t<i;)a=this.m_pItems[t].reindex(e,this,t,"nothing"!==n?r===t?n:"auto":"nothing",s)||a,t++;return a},t.prototype.recalculate=function(e,t,i,n,o){var r=this,s="nothing"!==i&&!this.isSilent,a=this.count;switch(this.m_nType){case 0:0===this.m_nColumns&&(this.m_nColumns=1),this.m_nRows=Math.max(Math.ceil(a/this.m_nColumns),a>0?1:0);break;case 1:0===this.m_nRows&&(this.m_nRows=1),this.m_nColumns=Math.max(Math.ceil(a/this.m_nRows),a>0?1:0);break;case 2:this.m_nColumns=this.m_nRows=Math.max(Math.ceil(Math.sqrt(a)),a>0?1:0);break;case 3:case 4:for(this.m_nColumns=this.m_nRows=Math.max(Math.floor(Math.sqrt(a)),a>0?1:0);this.m_nColumns*this.m_nRows<a;)for(3===this.m_nType?this.m_nColumns++:this.m_nRows++;this.m_nColumns*this.m_nRows<a;)4===this.m_nType?this.m_nColumns++:this.m_nRows++}return s&&(this.bufferHooks(),(1===this.m_nOrientation&&this.m_nColumns!==this.m_nCurrentColumns||0===this.m_nOrientation&&this.m_nRows!==this.m_nCurrentRows)&&(t=0),this.isValidIndex(t)&&this.reindex(e,t,a,i,n,o)),this.m_nColumns===this.m_nCurrentColumns&&this.m_nRows===this.m_nCurrentRows||((this.safeCursor.column>this.m_nColumns||this.safeCursor.row>this.m_nRows)&&(this.cursor={column:Math.min(this.safeCursor.column,this.m_nColumns),row:Math.min(this.safeCursor.row,this.m_nRows)}),s&&e.push((function(){r.onDimensionChange({matrix:r,difference:r.m_nColumns*r.m_nRows-r.m_nCurrentColumns*r.m_nCurrentRows,columns:r.m_nColumns,rows:r.m_nRows,reason:o})})),this.m_nCurrentColumns=this.m_nColumns,this.m_nCurrentRows=this.m_nRows),a!==this.m_nCurrentCount&&(s&&e.push((function(){r.onCountChange({matrix:r,difference:a-r.m_nCurrentCount,count:a,reason:o})})),this.m_nCurrentCount=a),s&&this.flushHooks(),e},t.prototype.getSafeCursor=function(e){if(!(0,o.isNumberFinite)(e.index)||e.index<0){var t=Math.min(Math.max((0,o.isNumberFinite)(e.column)?e.column:this.columns,0),this.columns),i=Math.min(Math.max((0,o.isNumberFinite)(e.row)?e.row:this.rows,0),this.rows);return{column:t,row:i,index:this.indexFromColumnRow(t,i)}}return this.cursorFromIndex(e.index)},t.prototype.onDimensionChange=function(e){this.emitHook("OnDimensionChange",e)},t.prototype.onCountChange=function(e){this.emitHook("OnCountChange",e)},t.prototype.onCursorChange=function(e){this.emitHook("OnCursorChange",e)},t.prototype.indexFromColumnRow=function(e,t){var i=e>=0&&e<this.columns&&t>=0&&t<this.rows?0===this.orientation?this.rows*e+t:this.columns*t+e:-1;return i>=0&&i<this.count?i:-1},t.prototype.cursorFromIndex=function(e){return{column:(e=Math.min(Math.max(e||0,0),this.count))<this.count?0===this.orientation?Math.floor(e/this.rows):e%this.columns:this.columns,row:e<this.count?0===this.orientation?e%this.rows:Math.floor(e/this.columns):this.rows,index:e}},t.prototype.pushToMatrix=function(e,t){void 0===t&&(t={index:void 0,recalculate:!0,emit:"push"});var i,n,r=this.isSilent?"nothing":t.emit,a=(0,o.castToBoolean)(t.recalculate,!0),l=new s.Stack;if(n=(0,o.isNumberFinite)(t.index)?t.index:e.index,!e.isPopped&&e.parent){if(this===e.parent)return this.isValidIndex(t.index,!0)&&e.moveToIndex(t.index),e;i=e.parent,e.popSilent()}if(this.isValidIndex(n)?this.m_pItems.splice(n,0,e):n=this.m_pItems.push(e)-1,"nothing"!==r&&this.bufferHooks(),a&&"nothing"!==r||e.reindex(l,this,n,r,1),a&&this.recalculate(l,n,r,n,1),"nothing"!==r){if(e.isFirst){var c=e.successorSibling;c&&(c.dispatch(l,{hook:"OnItemChange",payload:{matrix:this,matrixPrevious:i,item:c,reason:128}}),this.emitHook("OnItemChange",{matrix:this,matrixPrevious:i,item:c,reason:128}))}if(e.isLast){var u=e.predecessorSibling;u&&(u.dispatch(l,{hook:"OnItemChange",payload:{matrix:this,matrixPrevious:i,item:u,reason:64}}),this.emitHook("OnItemChange",{matrix:this,matrixPrevious:i,item:u,reason:64}))}}return l.flush(),"nothing"!==r&&this.flushHooks(),e},t.prototype.moveTo=function(e,t){return this.moveToIndex(e,this.getSafeCursor(t).index)},t.prototype.moveToIndex=function(e,t){if(this.isValidIndex(t,!0)&&e.index!==t){var i=new s.Stack;return this.m_pItems.splice(t,0,this.m_pItems.splice(e.index,1)[0]),this.reindex(i,Math.min(e.index,t),Math.max(e.index,t),"change",-1,4),i.flush(),!0}return!1},t.prototype.moveToPosition=function(e,t,i){return this.moveToIndex(e,this.indexFromColumnRow(t,i))},t.prototype.moveToItem=function(e,t,i){return this.moveToIndex(e,t.index+(i?0:1)-(e.index<t.index?1:0))},t.prototype.moveUpOrDown=function(e,t){if(t&&!e.isFirstOfMatrix||!t&&!e.isLastOfMatrix){var i=new s.Stack;return this.m_pItems[e.index]=this.m_pItems[e.index+(t?-1:1)],this.m_pItems[e.index+(t?-1:1)]=e,this.reindex(i,e.index-(t?1:0),e.index+(t?0:1),"change",-1,4),i.flush(),!0}return!1},t.prototype.swap=function(e,t){if(e.index!==t.index){var i=new s.Stack;return this.m_pItems[e.index]=t,this.m_pItems[t.index]=e,this.reindex(i,o.Num.min(e.index,t.index),o.Num.max(e.index,t.index),"change",-1,8),i.flush(),!0}return!1},t.prototype.popFromMatrix=function(e,t){void 0===t&&(t=!0);var i=[],n=!1,o=!1;if(e||(e=this.itemAtIndex(this.count-1)),e&&(n=e.isFirst,o=e.isLast,this.isValidIndex(e.index)&&e===this.m_pItems[e.index]&&(i=this.m_pItems.splice(e.index,1))),1===i.length&&i[0]){var r=new s.Stack,a=!!this.isSilent;if(i[0].dispatch(r,"Pop"),a||(this.bufferHooks(),t&&(i[0].dispatch(r,{hook:"OnItemPop",payload:{matrix:this,item:i[0]}}),this.emitHook("OnItemPop",{matrix:this,item:i[0]}))),this.recalculate(r,i[0].index,"change",-1,2),!a){if(n){var l=this.firstItem;l&&(l.dispatch(r,{hook:"OnItemChange",payload:{matrix:this,matrixPrevious:void 0,item:l,reason:128}}),this.emitHook("OnItemChange",{matrix:this,matrixPrevious:void 0,item:l,reason:128}))}if(o){var c=this.lastItem;c&&(c.dispatch(r,{hook:"OnItemChange",payload:{matrix:this,matrixPrevious:void 0,item:c,reason:64}}),this.emitHook("OnItemChange",{matrix:this,matrixPrevious:void 0,item:c,reason:64}))}}return r.flush(),a||this.flushHooks(),i[0]}},t.prototype.sort=function(e){void 0===e&&(e=function(e,t){return e.uniqueId-t.uniqueId}),this.m_pItems.sort(e);var t=new s.Stack,i=this.reindex(t,0,-1,"change",-1,16);return t.flush(),i},t.prototype.clear=function(e){void 0===e&&(e="thorough");var t=new s.Stack;if("dirty"!==e)for(var i=this.count,n=0;n<i;n++){var o=this.m_pItems[n];o.dispatch(t,"Pop"),this.isSilent||(o.dispatch(t,{hook:"OnItemPop",payload:{matrix:this,item:o}}),"thorough"===e&&this.emitHook("OnItemPop",{matrix:this,item:o})),o.dispatch(t,"Detach")}this.m_pItems=[],"dirty"!==e&&("thorough"===e&&this.recalculate(t,0,"change",-1,2),t.flush())},t.prototype.invalidateMatrix=function(){this.onDimensionChange({matrix:this,difference:this.m_nColumns*this.m_nRows-this.m_nCurrentColumns*this.m_nCurrentRows,columns:this.columns,rows:this.rows,reason:32})},t.prototype.recalculateMatrix=function(){this.recalculate(new s.Stack,0,"change",-1,32).flush()},t.prototype.each=function(e,t,i){for(var n=this.m_pItems.slice(t,(0,o.isNumberFinite)(i)&&i>=0?i+1:i),r=n.length,s=0;s<r;s++){var a=e(n[s]);if((0,o.isBoolean)(a)&&a)return!0}return!1},t.prototype.reverseEach=function(e,t,i){for(var n=this.m_pItems.slice(t,(0,o.isNumberFinite)(i)&&i>=0?i+1:i),r=n.length-1;r>=0;r--){var s=e(n[r]);if((0,o.isBoolean)(s)&&s)return!0}return!1},t.prototype.itemAtIndex=function(e){return this.isValidIndex(e)?this.m_pItems[e]:void 0},t.prototype.itemAtPosition=function(e,t){return this.itemAtIndex(this.indexFromColumnRow(e,t))},t.prototype.itemAtCursor=function(e){return this.itemAtIndex(this.getSafeCursor(e).index)},t.prototype.itemFromId=function(e){return(0,o.findFirst)(this.m_pItems,(function(t){return t.uniqueId===e}))},t.prototype.lastItemInRow=function(e){for(var t,i=this.columns;!t&&i>0;)t=this.itemAtPosition(--i,e);return t},t.prototype.lastItemInColumn=function(e){for(var t,i=this.rows;!t&&i>0;)t=this.itemAtPosition(e,--i);return t},t.prototype.moveCursorToFirstColumn=function(e){return void 0===e&&(e=!1),this.cursor={column:0,row:e?0:this.safeCursor.row,index:-1}},t.prototype.moveCursorToSuccessorColumn=function(e){return void 0===e&&(e=!1),this.cursor={column:this.cursor.column+1,row:e?0:this.safeCursor.row,index:-1}},t.prototype.moveCursorToPredecessorColumn=function(e){return void 0===e&&(e=!1),this.cursor={column:this.cursor.column-1,row:e?0:this.safeCursor.row,index:-1}},t.prototype.moveCursorToLastColumn=function(e){return void 0===e&&(e=!1),this.cursor={column:this.columns-1,row:e?0:this.safeCursor.row,index:-1}},t.prototype.moveCursorToFirstRow=function(e){return void 0===e&&(e=!1),this.cursor={column:e?0:this.safeCursor.column,row:0,index:-1}},t.prototype.moveCursorToSuccessorRow=function(e){return void 0===e&&(e=!1),this.cursor={column:e?0:this.safeCursor.column,row:this.cursor.row+1,index:-1}},t.prototype.moveCursorToPredecessorRow=function(e){return void 0===e&&(e=!1),this.cursor={column:e?0:this.safeCursor.column,row:this.cursor.row-1,index:-1}},t.prototype.moveCursorToLastRow=function(e){return void 0===e&&(e=!1),this.cursor={column:e?0:this.safeCursor.column,row:this.rows-1,index:-1}},t.prototype.moveCursorToFirst=function(){return this.cursor={column:-1,row:-1,index:0}},t.prototype.moveCursorToSuccessor=function(){return this.cursor={column:-1,row:-1,index:this.safeCursor.index+1}},t.prototype.moveCursorToPredecessor=function(){return this.cursor={column:-1,row:-1,index:this.safeCursor.index-1}},t.prototype.moveCursorToLast=function(){return this.cursor={column:-1,row:-1,index:this.count-1}},t.prototype.moveCursorToEnd=function(){return this.cursor={column:-1,row:-1,index:this.count}},t.enumerator=new o.Enumerator,t}(r.Hooks);t.Matrix=a},37565:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModelItem=void 0;var n=i(70655),o=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_pData=i,n}return n.__extends(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.m_pData},set:function(e){this.m_pData!==e&&(this.m_pData=e,this.emitHook("OnDataChange",{model:this.parent,item:this,data:this.data}),this.parent.emitHook("OnDataChange",{model:this.parent,item:this,data:this.data}))},enumerable:!1,configurable:!0}),t.prototype.insertBefore=function(t){return e.prototype.insertBefore.call(this,t)},t.prototype.insertAfter=function(t){return e.prototype.insertAfter.call(this,t)},t}(i(97626).StrictItem);t.ModelItem=o},37243:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;var n=i(70655),o=i(84389),r=i(27152),s=i(37565),a=function(e){function t(t,i,n,r){void 0===t&&(t=0),void 0===i&&(i=0),void 0===n&&(n=1);var a=e.call(this,s.ModelItem,t,i,n)||this;if(r){var l=(0,o.arraySize)(r);(0,o.each)(r,(function(e){l--,a.pushToMatrix(a.onItemInstance(e),{index:-1,recalculate:0===l,emit:"nothing"})}))}return a}return n.__extends(t,e),t.prototype.append=function(e){return this.appendToMatrix(e)},t.prototype.insert=function(e){return this.insertToMatrix(e)},t.prototype.insertAtCursor=function(e,t){return this.insertToMatrixAtCursor(e,t)},t.prototype.insertAtIndex=function(e,t){return this.insertToMatrixAtIndex(e,t)},t.prototype.insertAtPosition=function(e,t,i){return this.insertToMatrixAtPosition(e,t,i)},t}(r.StrictMatrix);t.Model=a},10154:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;var i=function(){function e(){this.m_pStack=[]}return e.prototype.push=function(e){this.m_pStack.push(e)},e.prototype.flush=function(){for(var e=this.m_pStack.shift();e;)e(),e=this.m_pStack.shift()},e}();t.Stack=i},97626:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StrictItem=void 0;var n=i(70655),o=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),t.prototype.matrix=function(){return e.prototype.matrix.call(this)},t.prototype.insertBefore=function(e){return this.parent.pushToMatrix(this.parent.onItemInstance(e),{index:this.index,recalculate:!0,emit:"push"})},t.prototype.insertAfter=function(e){return this.parent.pushToMatrix(this.parent.onItemInstance(e),{index:this.index+(this.isPopped?0:1),recalculate:!0,emit:"push"})},t.prototype.dispatch=function(t,i){"Detach"!==i&&e.prototype.dispatch.call(this,t,i)},t}(i(43907).Item);t.StrictItem=o},27152:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StrictMatrix=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t,i,n,o){void 0===i&&(i=0),void 0===n&&(n=0),void 0===o&&(o=1);var r=e.call(this,i,n,o)||this;return r.m_pItemConstructor=t,r}return n.__extends(t,e),Object.defineProperty(t.prototype,"itemConstructor",{get:function(){return this.m_pItemConstructor},enumerable:!1,configurable:!0}),t.prototype.appendToMatrix=function(e){return this.pushToMatrix(this.onItemInstance(e),{index:-1,recalculate:!0,emit:"push"})},t.prototype.insertToMatrix=function(e){return this.pushToMatrix(this.onItemInstance(e),{index:0,recalculate:!0,emit:"push"})},t.prototype.insertToMatrixAtCursor=function(e,t){return this.pushToMatrix(this.onItemInstance(e),{index:this.getSafeCursor(t).index,recalculate:!0,emit:"push"})},t.prototype.insertToMatrixAtIndex=function(e,t){return this.pushToMatrix(this.onItemInstance(e),{index:t,recalculate:!0,emit:"push"})},t.prototype.insertToMatrixAtPosition=function(e,t,i){return this.pushToMatrix(this.onItemInstance(e),{index:this.indexFromColumnRow(t,i),recalculate:!0,emit:"push"})},t.prototype.onItemInstance=function(e){return new this.itemConstructor((0,o.cast)(this),e)},t}(i(45207).Matrix);t.StrictMatrix=r},22270:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spacing=t.Dimensions=t.Coordinate=t.Rectangles=t.Rectangle=void 0;var n=i(57730);Object.defineProperty(t,"Rectangle",{enumerable:!0,get:function(){return n.Rectangle}});var o=i(22085);Object.defineProperty(t,"Rectangles",{enumerable:!0,get:function(){return o.Rectangles}});var r=i(84950);Object.defineProperty(t,"Coordinate",{enumerable:!0,get:function(){return r.Coordinate}});var s=i(42136);Object.defineProperty(t,"Dimensions",{enumerable:!0,get:function(){return s.Dimensions}});var a=i(76287);Object.defineProperty(t,"Spacing",{enumerable:!0,get:function(){return a.Spacing}})},84950:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coordinate=void 0;var i=function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=0),void 0===n&&(n=0),this.left=e,this.top=t,this.right=i,this.bottom=n};t.Coordinate=i},42136:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dimensions=void 0;var n=i(84389),o=Number.POSITIVE_INFINITY,r=function(){function e(t,i,n,o,r,s){void 0===t&&(t=e.NONE),void 0===i&&(i=e.NONE),void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===s&&(s=0),this.minWidth=n,this.minHeight=o,this.maxWidth=r,this.maxHeight=s,this.width=t,this.height=i}return Object.defineProperty(e,"NONE",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.m_nMinWidth},set:function(e){this.m_nMinWidth=n.Num.max(e,0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.m_nMinHeight},set:function(e){this.m_nMinHeight=n.Num.max(e,0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return 0===this.m_nMaxWidth?Number.POSITIVE_INFINITY:this.m_nMaxWidth},set:function(e){this.m_nMaxWidth=n.Num.max(e,0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxHeight",{get:function(){return 0===this.m_nMaxHeight?Number.POSITIVE_INFINITY:this.m_nMaxHeight},set:function(e){this.m_nMaxHeight=n.Num.max(e,0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return n.Num.range(this.m_nWidth,this.minWidth,this.maxWidth)},set:function(e){this.m_nWidth=(0,n.isNumberFinite)(e)?e:o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return n.Num.range(this.m_nHeight,this.minHeight,this.maxHeight)},set:function(e){this.m_nHeight=(0,n.isNumberFinite)(e)?e:o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isWidthSpecified",{get:function(){return this.m_nWidth!==o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isHeightSpecified",{get:function(){return this.m_nHeight!==o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"w",{get:function(){return this.m_nWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h",{get:function(){return this.m_nHeight},enumerable:!1,configurable:!0}),e}();t.Dimensions=r},57730:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rectangle=void 0;var n=i(84389),o=i(84950),r=i(42136),s=function(){function e(e){e?(this.m_pCoordinate=new o.Coordinate(e.left,e.top,e.right,e.bottom),this.m_pDimensions=new r.Dimensions(e.width,e.height,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight)):(this.m_pCoordinate=new o.Coordinate,this.m_pDimensions=new r.Dimensions)}return Object.defineProperty(e.prototype,"dimensions",{get:function(){return this.m_pDimensions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.m_pCoordinate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.m_pCoordinate.left},set:function(e){this.m_pCoordinate.left=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.m_pCoordinate.top},set:function(e){this.m_pCoordinate.top=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.m_pDimensions.isWidthSpecified?this.m_pCoordinate.left+this.m_pDimensions.width:this.m_pCoordinate.right},set:function(e){(0,n.isNumberFinite)(e)&&(this.m_pDimensions.width=r.Dimensions.NONE,this.m_pCoordinate.right=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.m_pDimensions.isHeightSpecified?this.m_pCoordinate.top+this.m_pDimensions.height:this.m_pCoordinate.bottom},set:function(e){(0,n.isNumberFinite)(e)&&(this.m_pDimensions.height=r.Dimensions.NONE,this.m_pCoordinate.bottom=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.m_pDimensions.isWidthSpecified?this.m_pDimensions.width:Math.abs(this.right-this.left)},set:function(e){this.m_pDimensions.width=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.m_pDimensions.isHeightSpecified?this.m_pDimensions.height:Math.abs(this.bottom-this.top)},set:function(e){this.m_pDimensions.height=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundedWidth",{get:function(){return n.Num.round(this.width)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roundedHeight",{get:function(){return n.Num.round(this.height)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"w",{get:function(){return this.m_pDimensions.isWidthSpecified?this.m_pDimensions.w:this.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"h",{get:function(){return this.m_pDimensions.isHeightSpecified?this.m_pDimensions.h:this.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"copy",{get:function(){return new e({left:this.left,top:this.top,right:this.right,bottom:this.bottom})},enumerable:!1,configurable:!0}),e.prototype.isIn=function(e,t){return(!(0,n.isNumberFinite)(e)||n.Num.inRange(e,this.left,this.right))&&(!(0,n.isNumberFinite)(t)||n.Num.inRange(t,this.top,this.bottom))},e}();t.Rectangle=s},22085:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rectangles=void 0;var n=i(84389),o=i(84950),r=i(76287),s=i(42136),a=i(57730),l=function(){function e(e){var t=this;this.m_pRectangles={},this.m_bShift=!1,this.m_pShiftCoordinate=new o.Coordinate,this.m_nShiftLeft=0,this.m_nShiftTop=0,this.m_nShiftHorizontal=0,this.m_nShiftVertical=0,(0,n.each)(e,(function(e){var i=t.m_pRectangles[e.name]={rectangle:new a.Rectangle({width:(0,n.castToNumber)(e.width),height:(0,n.castToNumber)(e.height),minWidth:(0,n.castToNumber)(e.minWidth),minHeight:(0,n.castToNumber)(e.minHeight),maxWidth:(0,n.castToNumber)(e.maxWidth),maxHeight:(0,n.castToNumber)(e.maxHeight)}),buffer:new a.Rectangle({width:0,height:0}),spacing:new r.Spacing((0,n.castToNumber)(e.spacingLeft),(0,n.castToNumber)(e.spacingTop),(0,n.castToNumber)(e.spacingRight),(0,n.castToNumber)(e.spacingBottom)),hinting:new r.Spacing((0,n.castToNumber)(e.hintCorrectionLeft),(0,n.castToNumber)(e.hintCorrectionTop),(0,n.castToNumber)(e.hintCorrectionRight),(0,n.castToNumber)(e.hintCorrectionBottom)),meanCorrectionHorizontal:(0,n.castToNumber)(e.meanCorrectionHorizontal),meanCorrectionVertical:(0,n.castToNumber)(e.meanCorrectionVertical),align:e.align};i.buffer.width=i.rectangle.width+i.spacing.horizontal,i.buffer.height=i.rectangle.height+i.spacing.vertical})),this.left=0,this.top=0}return Object.defineProperty(e.prototype,"left",{get:function(){var e=(0,n.arrayItem)(this.m_pRectangles,0);return e?e.rectangle.left-e.spacing.left:0},set:function(e){(0,n.each)(this.m_pRectangles,(function(t){t.rectangle.left=e+t.spacing.left}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){var e=(0,n.arrayItem)(this.m_pRectangles,0);return e?e.rectangle.top-e.spacing.top:0},set:function(e){(0,n.each)(this.m_pRectangles,(function(t){t.rectangle.top=e+t.spacing.top}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.right+t.spacing.right,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.bottom+t.spacing.bottom,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.width+t.spacing.horizontal,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.height+t.spacing.vertical,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dimensions",{get:function(){var e=0,t=0;return(0,n.each)(this.m_pRectangles,(function(i){e=n.Num.max(i.rectangle.width+i.spacing.horizontal,e),t=n.Num.max(i.rectangle.height+i.spacing.vertical,t)})),new s.Dimensions(e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerLeft",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.min(t.rectangle.left,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerTop",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.min(t.rectangle.top,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerRight",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.right,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerBottom",{get:function(){return(0,n.castToNumber)((0,n.reduce)(this.m_pRectangles,(function(e,t){return n.Num.max(t.rectangle.bottom,e)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this.innerRight-this.innerLeft},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerHeight",{get:function(){return this.innerBottom-this.innerTop},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isShifted",{get:function(){return this.m_bShift},set:function(e){this.m_bShift!==e&&(this.m_bShift=e,e&&(this.m_nShiftLeft=this.m_pShiftCoordinate.left=this.left,this.m_nShiftTop=this.m_pShiftCoordinate.top=this.top))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftLeft",{get:function(){return this.m_nShiftLeft},set:function(e){this.m_nShiftLeft=this.m_pShiftCoordinate.left+e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftTop",{get:function(){return this.m_nShiftTop},set:function(e){this.m_nShiftTop=this.m_pShiftCoordinate.top+e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftRight",{get:function(){return this.shiftLeft+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftBottom",{get:function(){return this.shiftTop+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftHorizontal",{get:function(){return this.m_nShiftHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftVertical",{get:function(){return this.m_nShiftVertical},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftMeanHorizontal",{get:function(){return this.shiftLeft+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shiftMeanVertical",{get:function(){return this.shiftTop+this.height/2},enumerable:!1,configurable:!0}),e.prototype.each=function(e,t){void 0===t&&(t=1),(0,n.each)(this.m_pRectangles,(function(i,o){e(1!==t&&(0,n.isNumberFinite)(t,0)?new a.Rectangle({left:i.rectangle.left*t,top:i.rectangle.top*t,right:i.rectangle.right*t,bottom:i.rectangle.bottom*t}):i.rectangle,o)}),{keys:!0})},e.prototype.minWidth=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.rectangle.dimensions.minWidth=t:i.rectangle.dimensions.minWidth:0},e.prototype.minHeight=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.rectangle.dimensions.minHeight=t:i.rectangle.dimensions.minHeight:0},e.prototype.maxWidth=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.rectangle.dimensions.maxWidth=t:i.rectangle.dimensions.maxWidth:0},e.prototype.maxHeight=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.rectangle.dimensions.maxHeight=t:i.rectangle.dimensions.maxHeight:0},e.prototype.meanHorizontal=function(e){if((0,n.isFilledString)(e)){var t=this.m_pRectangles[e];return t?t.rectangle.left+(t.rectangle.width+t.meanCorrectionHorizontal)/2:0}return this.left+this.width/2},e.prototype.meanVertical=function(e){if((0,n.isFilledString)(e)){var t=this.m_pRectangles[e];return t?t.rectangle.top+(t.rectangle.height+t.meanCorrectionVertical)/2:0}return this.top+this.height/2},e.prototype.rectangle=function(e,t){if(void 0===t&&(t=1),(0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)&&1!==t?new a.Rectangle({left:i.rectangle.left*t,top:i.rectangle.top*t,right:i.rectangle.right*t,bottom:i.rectangle.bottom*t}):i.rectangle:new a.Rectangle}return new a.Rectangle({left:this.left*t,top:this.top*t,right:this.right*t,bottom:this.bottom*t})},e.prototype.rectangleApplied=function(e,t){if(void 0===t&&(t=1),(0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?new a.Rectangle({left:(i.buffer.left+i.spacing.left)*t,top:(i.buffer.top+i.spacing.top)*t,right:(i.buffer.right-i.spacing.right)*t,bottom:(i.buffer.bottom-i.spacing.bottom)*t}):new a.Rectangle}return this.rectangle(void 0,t)},e.prototype.rectangleWidth=function(e,t){var i=this;if((0,n.isFilledString)(e)){var o=this.m_pRectangles[e];return o?((0,n.isNumberFinite)(t)&&(o.rectangle.width=t,(0,n.each)(o.align,(function(e){i.rectangleWidth(e,t+o.spacing.horizontal-i.spacingHorizontal(e))}))),o.rectangle.w):0}return this.width},e.prototype.rectangleHeight=function(e,t){var i=this;if((0,n.isFilledString)(e)){var o=this.m_pRectangles[e];return o?((0,n.isNumberFinite)(t)&&(o.rectangle.height=t,(0,n.each)(o.align,(function(e){i.rectangleHeight(e,t+o.spacing.vertical-i.spacingVertical(e))}))),o.rectangle.h):0}return this.height},e.prototype.isRectangleAligned=function(e,t){var i=this.m_pRectangles[t];return!!i&&(0,n.isFilledString)((0,n.findFirst)(i.align,(function(t){return e===t})))},e.prototype.spacingLeft=function(e,t){if((0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?((0,n.isNumberFinite)(t)&&(i.rectangle.left=this.left+(i.spacing.left=t)),i.spacing.left):0}return this.innerLeft-this.left},e.prototype.spacingTop=function(e,t){if((0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?((0,n.isNumberFinite)(t)&&(i.rectangle.top=this.top+(i.spacing.top=t)),i.spacing.top):0}return this.innerTop-this.top},e.prototype.spacingRight=function(e,t){if((0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.spacing.right=t:i.spacing.right:0}return this.right-this.innerRight},e.prototype.spacingBottom=function(e,t){if((0,n.isFilledString)(e)){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.spacing.bottom=t:i.spacing.bottom:0}return this.bottom-this.innerBottom},e.prototype.spacingHorizontal=function(e){if((0,n.isFilledString)(e)){var t=this.m_pRectangles[e];return t?t.spacing.horizontal:0}return this.spacingLeft()+this.spacingRight()},e.prototype.spacingVertical=function(e){if((0,n.isFilledString)(e)){var t=this.m_pRectangles[e];return t?t.spacing.vertical:0}return this.spacingTop()+this.spacingBottom()},e.prototype.hintCorrectionLeft=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.hinting.left=t:i.hinting.left:0},e.prototype.hintCorrectionTop=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.hinting.top=t:i.hinting.top:0},e.prototype.hintCorrectionRight=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.hinting.right=t:i.hinting.right:0},e.prototype.hintCorrectionBottom=function(e,t){var i=this.m_pRectangles[e];return i?(0,n.isNumberFinite)(t)?i.hinting.bottom=t:i.hinting.bottom:0},e.prototype.shiftRectangle=function(e){if((0,n.isFilledString)(e)){var t=this.m_pRectangles[e];return t?new a.Rectangle({left:this.shiftLeft+t.spacing.left,top:this.shiftTop+t.spacing.top,right:this.shiftRight-t.spacing.right,bottom:this.shiftBottom-t.spacing.bottom}):new a.Rectangle}return new a.Rectangle({left:this.shiftLeft,top:this.shiftTop,right:this.shiftRight,bottom:this.shiftBottom})},e.prototype.position=function(){var e=this;return(0,n.each)(this.m_pRectangles,(function(t){e.m_nShiftHorizontal=-(t.buffer.left-(t.buffer.left=e.m_bShift?e.shiftLeft:t.rectangle.left-t.spacing.left)),e.m_nShiftVertical=-(t.buffer.top-(t.buffer.top=e.m_bShift?e.shiftTop:t.rectangle.top-t.spacing.top))})),0!==this.m_nShiftHorizontal||0!==this.m_nShiftVertical},e.prototype.resize=function(){var e=!1,t=!1;return(0,n.each)(this.m_pRectangles,(function(i){i.buffer.width!==i.rectangle.width+i.spacing.horizontal&&(i.buffer.width=i.rectangle.width+i.spacing.horizontal,e=!0),i.buffer.height!==i.rectangle.height+i.spacing.vertical&&(i.buffer.height=i.rectangle.height+i.spacing.vertical,t=!0)})),e&&t?"both":e?"width":t?"height":"none"},e.prototype.isCoordinateIn=function(e,t,i){return void 0===i&&(i=!1),(0,n.isObject)((0,n.findFirst)(this.m_pRectangles,(function(o){return(!(0,n.isNumberFinite)(e)||n.Num.inRange(e,o.rectangle.left-(i?o.spacing.left:0),o.rectangle.right+(i?o.spacing.right:0)))&&(!(0,n.isNumberFinite)(t)||n.Num.inRange(t,o.rectangle.top-(i?o.spacing.top:0),o.rectangle.bottom+(i?o.spacing.bottom:0)))})))},e.prototype.isCoordinateInRectangles=function(e,t,i,r){if(void 0===i&&(i=!1),void 0===r&&(r=new o.Coordinate(0,0,0,0)),(0,n.isNumberFinite)(e)){var s=(i?this.innerLeft:this.left)-r.left,a=(i?this.innerRight:this.right)+r.right;if(!n.Num.inRange(e,s,a))return!1}if((0,n.isNumberFinite)(t)){var l=(i?this.innerTop:this.top)-r.top,c=(i?this.innerBottom:this.bottom)+r.bottom;if(!n.Num.inRange(t,l,c))return!1}return!0},e.prototype.isCoordinateInRectangle=function(e,t,i,o){void 0===o&&(o=!1);var r=this.m_pRectangles[e];return!!r&&(!((0,n.isNumberFinite)(t)&&!n.Num.inRange(t,r.rectangle.left-(o?r.spacing.left:0),r.rectangle.right+(o?r.spacing.right:0)))&&!((0,n.isNumberFinite)(i)&&!n.Num.inRange(i,r.rectangle.top-(o?r.spacing.top:0),r.rectangle.bottom+(o?r.spacing.bottom:0))))},e}();t.Rectangles=l},76287:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spacing=void 0;var n=i(70655),o=function(e){function t(t,i,n,o){return void 0===t&&(t=0),void 0===i&&(i=0),void 0===n&&(n=0),void 0===o&&(o=0),e.call(this,t,i,n,o)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"horizontal",{get:function(){return this.left+this.right},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this.top+this.bottom},enumerable:!1,configurable:!0}),t}(i(84950).Coordinate);t.Spacing=o},40100:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pool=void 0;var n=i(38653);Object.defineProperty(t,"Pool",{enumerable:!0,get:function(){return n.Pool}})},38653:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pool=void 0;var i=function(){function e(e){var t=this;this.m_pTypes=[],this.m_pPool=[],this.m_pPools={};var i=e.size||0;this.m_sName=e.name||"*",this.m_fnAllocate=e.onAllocate,this.m_fnRequest=e.onRequest,this.m_fnDispose=e.onDispose,e.types&&e.types.forEach((function(e){t.expand(e.size||0,e.type)})),this.expand(i)}return Object.defineProperty(e.prototype,"size",{get:function(){var e=this,t=this.m_pPool.length;return this.m_pTypes.forEach((function(i){t+=e.m_pPools[i].length})),t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"types",{get:function(){return this.m_pTypes},enumerable:!1,configurable:!0}),e.prototype.get=function(e){return e?this.m_pPools[e]?this.m_pPools[e]:(this.m_pTypes.push(e),this.m_pPools[e]=[]):this.m_pPool},e.prototype.allocate=function(e){return this.m_fnAllocate(e)},e.prototype.push=function(t,i,n){t.push(i),e.profiler&&console.log("Pool Name<".concat(this.m_sName,"> Type<").concat(n||"*","> Size<").concat(t.length,">"))},e.prototype.expand=function(e,t){for(var i=this.get(t);e--;)this.push(i,this.allocate(t),t)},e.prototype.shrink=function(e,t){for(var i=this.get(t);e--;)i.pop()},e.prototype.request=function(e){var t=this.get(e).pop()||this.allocate(e);return this.m_fnRequest&&this.m_fnRequest(t,e),t},e.prototype.dispose=function(e,t){var i=this;return this.m_fnDispose?this.m_fnDispose(e,(function(){i.push(i.get(t),e,t)}),t):this.push(this.get(t),e,t),e},e.prototype.destroy=function(){var e=this;this.m_pPool.length=0,this.m_pTypes.forEach((function(t){e.m_pPools[t].length=0}))},e.profiler=!1,e}();t.Pool=i},75048:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gt=t.lt=t.equal=t.compare=t.valid=void 0;var n=i(86303);Object.defineProperty(t,"valid",{enumerable:!0,get:function(){return n.valid}});var o=i(54399);Object.defineProperty(t,"compare",{enumerable:!0,get:function(){return o.compare}}),Object.defineProperty(t,"equal",{enumerable:!0,get:function(){return o.equal}}),Object.defineProperty(t,"lt",{enumerable:!0,get:function(){return o.lt}}),Object.defineProperty(t,"gt",{enumerable:!0,get:function(){return o.gt}})},54399:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gt=t.lt=t.equal=t.compare=void 0;var n=i(86303);function o(e,t){var i=(0,n.valid)(e),o=(0,n.valid)(t);if(!i||!o)return i&&!o?1:!i&&o?-1:0;for(var r=e.split("-"),s=t.split("-"),a=r[0].split("."),l=s[0].split("."),c=0;c<3;c++){var u=Number(a[c]),p=Number(l[c]);if(u>p)return 1;if(p>u)return-1;if(!isNaN(u)&&isNaN(p))return 1;if(isNaN(u)&&!isNaN(p))return-1}return r[1]&&s[1]?r[1]>s[1]?1:r[1]<s[1]?-1:0:!r[1]&&s[1]?1:r[1]&&!s[1]?-1:0}t.compare=o,t.equal=function(e,t){return 0===o(e,t)},t.lt=function(e,t){return-1===o(e,t)},t.gt=function(e,t){return 1===o(e,t)}},86303:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valid=void 0;var i=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;t.valid=function(e){return e&&i.test(e)||!1}},95349:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stop=t.flush=t.revoke=t.writeAfterRead=t.write=t.read=void 0;var n=i(38319);Object.defineProperty(t,"read",{enumerable:!0,get:function(){return n.read}}),Object.defineProperty(t,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(t,"writeAfterRead",{enumerable:!0,get:function(){return n.writeAfterRead}}),Object.defineProperty(t,"revoke",{enumerable:!0,get:function(){return n.revoke}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return n.flush}}),Object.defineProperty(t,"stop",{enumerable:!0,get:function(){return n.stop}})},38319:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stop=t.flush=t.revoke=t.writeAfterRead=t.write=t.read=void 0;var n,o,r=i(84389),s=0,a=[],l=0,c=!1,u=!1,p=0,h=1;function d(){l=-1,p=0,c=0===h,(0,r.call)(o),o=void 0,m()}function m(){var e;if(-1===l&&n&&(e=n.shift()))return p=e.id,h=e.type,o=e.proc,void(0!==h||c?d():l=(0,r.scheduleFrame)((function(){u?(l=(0,r.scheduleFrame)((function(){return d()})),u=!1):d()})));l=0,n=void 0,f()}function f(){0===l&&a.length>0&&(n=a.splice(0,a.length),l=-1,m())}function g(e,t,i,n){if(e)for(var o=e.length,s=0;s<o;s++){var a=e[s];if(a.id===t)return n&&(0,r.call)(a.proc),a.id=0,a.proc=void 0,i&&e.splice(s,1),!0}return!1}function y(){if(a.length>50){var e=n?n.splice(0,n.length):void 0,t=a.splice(0,a.length);return l=-1,n=void 0,a=[],(0,r.each)(e,(function(e){c=c&&0===e.type,(0,r.call)(e.proc)})),(0,r.each)(t,(function(e){c=c&&0===e.type,(0,r.call)(e.proc)})),!0}return!1}function b(e,t,i){return void 0===t&&(t=0),void 0===i&&(i=!1),M(t),0===l&&c||i||y()?((0,r.call)(e),0):(a.push({id:++s,type:0,proc:e}),f(),s)}function v(e,t,i){return void 0===t&&(t=!1),void 0===i&&(i=!1),u=u||i,0===l||t||y()?(c=!1,(0,r.call)(e),0):(a.push({id:++s,type:1,proc:e}),f(),s)}function M(e){return!(!(0,r.isNumberFinite)(e)||e<=0)&&(p===e?((0,r.cancelFrame)(l),l=-1,p=0,o=void 0,m(),!0):g(a,e,!0,!1)||g(n,e,!1,!1))}t.read=b,t.write=v,t.writeAfterRead=function(e,t){return void 0===t&&(t=!1),b((function(){return v(e,!1,t)}))},t.revoke=M,t.flush=function(e){return!(!(0,r.isNumberFinite)(e)||e<=0)&&(p===e?((0,r.cancelFrame)(l),u=!1,d(),!0):g(a,e,!0,!0)||g(n,e,!1,!0))},t.stop=function(){0!==l&&(0,r.cancelFrame)(l),l=0,p=0,o=void 0,a=[]}},10644:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserialize=void 0;var n=i(84389),o=i(57791);t.deserialize=function(e,t,i){var r=Object.getOwnPropertyDescriptor(e,o.DESERIALIZE);if(i&&!i.set)throw new Error("Decorator '@deserialize' can only be used on writable properties, but '".concat(t,"' seems to be a readonly property or a method."));r&&(0,n.isArray)(r.value)?r.value.push(t):Object.defineProperty(e,o.DESERIALIZE,{value:[t],writable:!1,enumerable:!1,configurable:!1})}},47695:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializer=void 0;var n=i(84389),o=i(57791);t.deserializer=function(e,t,i){if(!i||!(0,n.isFunction)(i.value))throw new Error("Decorator '@deserializer' needs to be applied to a function, but '".concat(t,"' seems to be a property."));if(Object.getOwnPropertyDescriptor(e,o.DESERIALIZER))throw new Error("Decorator '@deserializer' is applied multiple times, but can only be used once in a class.");Object.defineProperty(e,o.DESERIALIZER,{value:t,writable:!1,enumerable:!1,configurable:!1})}},92492:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serialize=void 0;var n=i(84389),o=i(57791);t.serialize=function(e,t,i){var r=Object.getOwnPropertyDescriptor(e,o.SERIALIZE);if(i&&!i.get)throw new Error("Decorator '@serialize' can only be used on readable properties, but '".concat(t,"' is not a property."));r&&(0,n.isArray)(r.value)?r.value.push(t):Object.defineProperty(e,o.SERIALIZE,{value:[t],writable:!1,enumerable:!1,configurable:!1})}},81595:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializer=void 0;var n=i(84389),o=i(57791);t.serializer=function(e,t,i){if(!i||!(0,n.isFunction)(i.value))throw new Error("Decorator '@serializer' needs to be applied to a function, but '".concat(t,"' seems to be a property."));if(Object.getOwnPropertyDescriptor(e,o.SERIALIZER))throw new Error("Decorator '@serializer' is applied multiple times, but can only be used once in a class.");Object.defineProperty(e,o.SERIALIZER,{value:t,writable:!1,enumerable:!1,configurable:!1})}},88678:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serialize=t.serializer=t.deserializer=t.deserialize=t.deserializableProps=t.serializableProps=t.deserializeFrom=t.serializeTo=void 0;var n=i(14639);Object.defineProperty(t,"serializeTo",{enumerable:!0,get:function(){return n.serializeTo}});var o=i(66930);Object.defineProperty(t,"deserializeFrom",{enumerable:!0,get:function(){return o.deserializeFrom}});var r=i(94604);Object.defineProperty(t,"serializableProps",{enumerable:!0,get:function(){return r.serializableProps}}),Object.defineProperty(t,"deserializableProps",{enumerable:!0,get:function(){return r.deserializableProps}});var s=i(10644);Object.defineProperty(t,"deserialize",{enumerable:!0,get:function(){return s.deserialize}});var a=i(47695);Object.defineProperty(t,"deserializer",{enumerable:!0,get:function(){return a.deserializer}});var l=i(81595);Object.defineProperty(t,"serializer",{enumerable:!0,get:function(){return l.serializer}});var c=i(92492);Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return c.serialize}})},57791:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DESERIALIZER=t.DESERIALIZE=t.SERIALIZER=t.SERIALIZE=void 0,t.SERIALIZE="@serializer #properties",t.SERIALIZER="@serializer #proc",t.DESERIALIZE="@deserializer #properties",t.DESERIALIZER="@deserializer #proc"},66930:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeFrom=void 0;var n=i(84389),o=i(57791);t.deserializeFrom=function(e,t,i){var r=i||new n.Stack;return(0,n.each)((0,n.getAny)(e,o.DESERIALIZE),(function(i){var s=t[i];if((0,n.isDefined)(s)){var a=(0,n.getAny)(e,i),l=(0,n.getAny)(a,o.DESERIALIZER);if(a&&(0,n.isFilledString)(l))return void(0,n.callBind)((0,n.getAny)(a,l),a,s,r);(0,n.setAny)(e,i,s)}})),i||r.flush(),e}},94604:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializableProps=t.serializableProps=void 0;var n=i(84389),o=i(57791);t.serializableProps=function(e){return(0,n.map)((0,n.getAny)(e,o.SERIALIZE),(function(t){return{property:t,get value(){return(0,n.getAny)(e,t)}}}))},t.deserializableProps=function(e){return(0,n.map)((0,n.getAny)(e,o.DESERIALIZE),(function(t){return{property:t,get value(){return(0,n.getAny)(e,t)}}}))}},14639:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeTo=void 0;var n=i(84389),o=i(57791);t.serializeTo=function(e,t){var i={};return(0,n.each)(t,(function(e,t){(0,n.isDefined)(e)&&(0,n.setAny)(i,t,e)}),{keys:!0}),(0,n.each)((0,n.getAny)(e,o.SERIALIZE),(function(t){var r=(0,n.getAny)(e,t);if((0,n.isDefined)(r)){var s=(0,n.getAny)(r,o.SERIALIZER);(0,n.setAny)(i,t,(0,n.isFilledString)(s)?(0,n.callBind)((0,n.getAny)(r,s),r):r)}})),i}},35781:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CSHA2_512_256=t.CSHA2_512_224=t.CSHA2_512=t.CSHA2_384=t.CSHA2_256=t.CSHA2_224=t.SHA2_512_256=t.SHA2_512_224=t.SHA2_512=t.SHA2_384=t.SHA2_256=t.SHA2_224=void 0;var n=i(70194);Object.defineProperty(t,"SHA2_224",{enumerable:!0,get:function(){return n.SHA2_224}}),Object.defineProperty(t,"SHA2_256",{enumerable:!0,get:function(){return n.SHA2_256}}),Object.defineProperty(t,"SHA2_384",{enumerable:!0,get:function(){return n.SHA2_384}}),Object.defineProperty(t,"SHA2_512",{enumerable:!0,get:function(){return n.SHA2_512}}),Object.defineProperty(t,"SHA2_512_224",{enumerable:!0,get:function(){return n.SHA2_512_224}}),Object.defineProperty(t,"SHA2_512_256",{enumerable:!0,get:function(){return n.SHA2_512_256}});var o=i(49034);Object.defineProperty(t,"CSHA2_224",{enumerable:!0,get:function(){return o.CSHA2_224}}),Object.defineProperty(t,"CSHA2_256",{enumerable:!0,get:function(){return o.CSHA2_256}}),Object.defineProperty(t,"CSHA2_384",{enumerable:!0,get:function(){return o.CSHA2_384}}),Object.defineProperty(t,"CSHA2_512",{enumerable:!0,get:function(){return o.CSHA2_512}}),Object.defineProperty(t,"CSHA2_512_224",{enumerable:!0,get:function(){return o.CSHA2_512_224}}),Object.defineProperty(t,"CSHA2_512_256",{enumerable:!0,get:function(){return o.CSHA2_512_256}})},49034:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CSHA2_512_256=t.CSHA2_512_224=t.CSHA2_512=t.CSHA2_384=t.CSHA2_256=t.CSHA2_224=void 0;var n=i(70194),o={},r={},s={},a={},l={},c={};t.CSHA2_224=function(e){var t=o[e];return t||(o[e]=(0,n.SHA2_224)(e))},t.CSHA2_256=function(e){var t=r[e];return t||(r[e]=(0,n.SHA2_256)(e))},t.CSHA2_384=function(e){var t=s[e];return t||(s[e]=(0,n.SHA2_384)(e))},t.CSHA2_512=function(e){var t=a[e];return t||(a[e]=(0,n.SHA2_512)(e))},t.CSHA2_512_224=function(e){var t=l[e];return t||(l[e]=(0,n.SHA2_512_224)(e))},t.CSHA2_512_256=function(e){var t=c[e];return t||(c[e]=(0,n.SHA2_512_256)(e))}},70194:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2_512_256=t.SHA2_512_224=t.SHA2_512=t.SHA2_384=t.SHA2_256=t.SHA2_224=void 0;var i=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428],r=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],s=[2352822216,424955298,1944164710,2312950998,502970286,855612546,1738396948,1479516111,258812777,2077511080,2011393907,79989058,1067287976,1780299464,286451373,2446758561],a=[573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882],l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function u(e,t){return e>>>t|e<<32-t}function p(e,t,i,n){return u(e,t)^u(e,i)^e>>>n}function h(e,t){return e[15&t]+=p(e[t+14&15],17,19,10)+e[t+9&15]+p(e[t+1&15],7,18,3)}function d(e,t){var i=(65535&e)+(65535&t);return(t=(e>>16)+(t>>16)+(i>>16))<<16|65535&i}function m(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];for(var o=0,r=0,s=0,a=0;o<i.length/2;o++)s+=65535&(r=i[o]),a+=r>>>16;for(a+=s>>>16,e[t+1]=a<<16|65535&s,s=a>>>16,a=0;o<i.length;o++)s+=65535&(r=i[o]),a+=r>>>16;a+=s>>>16,e[t]=a<<16|65535&s}function f(e,t){for(var i=0,n=[],o=[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];i<16;)n[i]=t[3+(i<<2)]|t[2+(i<<2)]<<8|t[1+(i<<2)]<<16|t[i<<2]<<24,i++;for(i=0;i<64;i++)for(var r=o[0],s=o[1],a=o[2],c=o[4],p=o[7]+(u(c,6)^u(c,11)^u(c,25))+(c&o[5]^~c&o[6])+l[i]+(i<16?n[i]:h(n,i)),m=7;m>=0;m--)o[m]=4===m?d(o[3],p):0===m?d(p,(u(r,2)^u(r,13)^u(r,22))+(r&s^r&a^s&a)):o[m-1];for(i=0;i<8;i++)e[i]+=o[i]}function g(e,t,l){var u;try{u=unescape(encodeURIComponent(e))}catch(t){u=function(e){for(var t=e.length,i="",n=0;n<t;n++){var o=e.charCodeAt(n);if(o<128)i+=String.fromCharCode(o);else if(o<2048)i+=String.fromCharCode(192|o>>>6,128|63&o);else if(o<55296||o>=57344)i+=String.fromCharCode(224|o>>>12,128|o>>>6&63,128|63&o);else{var r=65536+((1023&o)<<10|1023&e.charCodeAt(++n));i+=String.fromCharCode(240|r>>>18,128|r>>>12&63,128|r>>>6&63,128|63&r)}}return i}(e)}var p,h,d=(t?224===l?s:256===l?a:384===l?o:r:224===l?i:n).slice(),g=u.length,y=[],b="",v=0,M=!0,_=0,S=0,I=0,T=0,N=0;if(t){var j=[0,0,0,0,0,0,0,0],w=[24,16,8,0],L=void 0;do{for(y[0]=v,p=1;p<=32;p++)y[p]=0;for(p=I;_<g&&p<128;++_){var C=u.charCodeAt(_);C<128?y[p>>2]|=C<<w[3&p++]:(y[p>>2]|=(192|C>>6)<<w[3&p++],y[p>>2]|=(128|63&C)<<w[3&p++])}for(S+=p-I,I=p-128,_===g&&(y[p>>2]|=[-2147483648,8388608,32768,128][3&p],++_),v=y[32],_>g&&p<112&&(y[31]=S<<3,M=!1),h=32;h<160;h+=2){var O=y[h-30],D=y[h-29],x=y[h-4],A=y[h-3];m(y,h,y[h-13],y[h-31],(D>>>1|O<<31)^(D>>>8|O<<24)^(D>>>7|O<<25),(A>>>19|x<<13)^(x>>>29|A<<3)^(A>>>6|x<<26),y[h-14],y[h-32],(O>>>1|D<<31)^(O>>>8|D<<24)^O>>>7,(x>>>19|A<<13)^(A>>>29|x<<3)^x>>>6)}for(L=d.slice(),j[6]=L[2]&L[4],j[7]=L[3]&L[5],p=0;p<160;p+=8)for(h=0;h<8;h+=2){var k=h>0?8-h:0,z=[0,0,0,0];m(z,0,c[p+h+1],y[p+h+1],L[9+k]&L[2===h?9:11+k]^~L[9+k]&L[6===h?15:13-h],(L[9+k]>>>14|L[8+k]<<18)^(L[9+k]>>>18|L[8+k]<<14)^(L[8+k]>>>9|L[9+k]<<23),L[15-h],c[p+h],y[p+h],L[8+k]&L[2===h?8:10+k]^~L[8+k]&L[6===h?14:12-h],(L[8+k]>>>14|L[9+k]<<18)^(L[8+k]>>>18|L[9+k]<<14)^(L[9+k]>>>9|L[8+k]<<23),L[14-h]),m(z,2,(j[h+1]=L[1+k]&L[2===h?1:3+k])^L[1+k]&L[(6===h?h:4-h)+1]^j[7-k],(L[1+k]>>>28|L[k]<<4)^(L[k]>>>2|L[1+k]<<30)^(L[k]>>>7|L[1+k]<<25),(j[h]=L[k]&L[2===h?0:2+k])^L[k]&L[6===h?h:4-h]^j[6-k],(L[k]>>>28|L[1+k]<<4)^(L[1+k]>>>2|L[k]<<30)^(L[1+k]>>>7|L[k]<<25)),m(L,14-h,L[7-h],z[1],L[6-h],z[0]),m(L,6-h,z[3],z[1],z[2],z[0])}for(p=0;p<16;p+=2)m(d,p,d[p+1],L[p+1],d[p],L[p])}while(M)}else{for(I=63&g,T=g<<3,N=g>>29,p=0;p+63<g;p+=64){for(h=_;h<64;h++)y[h]=u.charCodeAt(S++);f(d,y),_=0}for(p=0;p<I;p++)y[p]=u.charCodeAt(S++);for(_=T>>3&63,y[_++]=128,p=_;p<(_>56?64:56);p++)y[p]=0;if(_>56)for(f(d,y),p=0;p<56;p++)y[p]=0;for(;p<64;)for(h=24;h>=0;h-=8,p++)y[p]=(p>=60?T:N)>>>h&255;f(d,y)}for(p=0;p<(512===l?16:384===l?12:256===l?8:7);p++)for(h=28;h>=0;h-=4)b+="0123456789abcdef".charAt(d[p]>>>h&15);return b}t.SHA2_224=function(e){return g(e,!1,224)},t.SHA2_256=function(e){return g(e,!1,256)},t.SHA2_384=function(e){return g(e,!0,384)},t.SHA2_512=function(e){return g(e,!0,512)},t.SHA2_512_224=function(e){return g(e,!0,224)},t.SHA2_512_256=function(e){return g(e,!0,256)}},29891:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stepper=void 0;var n=i(6116);Object.defineProperty(t,"Stepper",{enumerable:!0,get:function(){return n.Stepper}})},6116:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stepper=void 0;var n=i(84389),o=function(){function e(e,t){this.m_bStopped=!1,this.m_nStep=0,this.m_nId=0,this.m_fnOnStep=e,this.m_fnOnStop=t}return Object.defineProperty(e.prototype,"isStopped",{get:function(){return this.m_bStopped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPostponed",{get:function(){return 0!==this.m_nId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this.m_nStep},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"payload",{get:function(){return this.m_pPayload},enumerable:!1,configurable:!0}),e.prototype.onStep=function(){(0,n.call)(this.m_fnOnStep,this)},e.prototype.onStop=function(){(0,n.call)(this.m_fnOnStop,this)},e.prototype.next=function(e,t){return this.suspend(),(0,n.isDefined)(t)&&(this.m_pPayload=t),(0,n.isNumberFinite)(e)?this.m_nStep=e||0:this.m_nStep++,this.m_nStep>0&&this.onStep(),this.step},e.prototype.invoke=function(e,t,i){var o=this;void 0===t&&(t=0),void 0===i&&(i=!0);var r=function(){o.suspend(),(0,n.call)(e,o),i&&o.reset()};this.suspend(),t>0?(this.m_nId=(0,n.scheduleTimeout)(r,t),this.m_fnCallee=e):r()},e.prototype.postpone=function(e,t){void 0===t&&(t=0),this.invoke(e,t,!1)},e.prototype.suspend=function(){0!==this.m_nId&&(this.m_nId=(0,n.cancelTimeout)(this.m_nId),this.m_fnCallee=void 0)},e.prototype.continue=function(){0!==this.m_nId&&((0,n.call)(this.m_fnCallee,this),this.suspend())},e.prototype.stop=function(){this.suspend(),this.m_bStopped=!0,this.m_nStep>0&&this.onStop(),this.m_pPayload=void 0,this.m_nStep=0},e.prototype.reset=function(){this.stop(),this.m_bStopped=!1,this.m_fnCallee=void 0},e}();t.Stepper=o},99636:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Drag=void 0;var n=i(98116);Object.defineProperty(t,"Drag",{enumerable:!0,get:function(){return n.Drag}})},98116:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Drag=void 0;var n=i(70655),o=i(42396),r=i(84389),s=i(27636),a=i(29891),l=i(56642),c=i(15661),u=function(e){function t(i){var n=e.call(this,t,i.asset,"single",i.stylesheet,i.area,"horizontal"===i.direction||2===i.direction?t.horizontal:"vertical"===i.direction||4===i.direction?t.vertical:t.bidirectional)||this;return n.m_bInitialized=!1,n.m_bPrioritize=!1,n.m_bDragging=!1,n.m_nDelay=r.Num.max((0,r.castToNumber)(i.delay),0),n.m_bEdgeScrolling=(0,r.castToBoolean)(i.edgeScrolling,!0),n.m_bEdgeInSpacing=(0,r.castToBoolean)(i.edgeInSpacing),n.m_pEdgeTargets=i.edgeTargets||[],n.m_bEdgeAnywhere=(0,r.castToBoolean)(i.edgeAnywhere),n.m_bPrioritize=(0,r.castToBoolean)(i.prioritize),n.onInit=i.onInit,n.onStart=i.onStart,n.onMove=i.onMove,n.onEnd=i.onEnd,s.Touch.implement("drag",t.types),s.Touch.implement("snap",t.types),n}return(0,n.__extends)(t,e),Object.defineProperty(t,"bidirectional",{get:function(){return this.m_nBidirectional||(this.m_nBidirectional=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"horizontal",{get:function(){return this.m_nHorizontal||(this.m_nHorizontal=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"vertical",{get:function(){return this.m_nVertical||(this.m_nVertical=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"id",{get:function(){return"Drag"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.bidirectional|this.horizontal|this.vertical},enumerable:!1,configurable:!0}),Object.defineProperty(t,"priority",{get:function(){return 3},enumerable:!1,configurable:!0}),Object.defineProperty(t,"state",{get:function(){return this.m_pState||(this.m_pState=new a.Stepper)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"data",{get:function(){return this.state.payload||{point:void 0,shift:{x:0,y:0},position:{x:0,y:0},isMouse:!1,isTouch:!1,isPen:!1,time:0,debounce:!1}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isDragging",{get:function(){return 2===this.state.step},enumerable:!1,configurable:!0}),t.processor=function(e){var t=this;if(!(-64&e)){if(!this.state.isStopped){var i=2===this.state.step?s.Touch.point(s.Point.id(this.data.point)):s.Touch.firstPoint;switch(this.state.step){case 0:if(9&e&&1===s.Touch.touches&&i&&(i.isTouch||1537&i.buttons)){var n=-1,a=r.Num.maxL(i.implements("hold")?l.SCROLL_TIMEOUT:0,i.implements("doubletap")||i.implements("tap")?c.TAP_SINGLE_TIMEOUT:0);s.Point.controllers(i,this.types,"stop",(function(e,i){n=-1===n||e.m_nDelay<n?e.m_nDelay:n,e.m_bDragging=!1,e.m_bInitialized=!1,(e.m_bPrioritize||1024&i.buttons)&&(a=0),t.state.next(1,{point:s.Point.clone(i),shift:{x:0,y:0},position:{x:0,y:0},isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,time:r.DateTime.now,debounce:!0})})),n=r.Num.max(0,n),1===this.state.step?(this.m_bScheduled=!0,s.Touch.schedule((function(){t.m_bScheduled=!1,s.Point.controllers(i,t.types,"stop",(function(e,t){return e.dragInit(t.translateToAsset(e.asset),t.isMouse,t.isTouch,t.isPen,n)}))}),a),this.state.postpone((function(){i&&(t.state.next(),s.Touch.scheduleInvoke(),s.Touch.capture(t.bidirectional),i.reinit(),t.data.time=r.DateTime.now,s.Point.each(i,t.types,(function(e,i){return e.dragStart(t.data.position=i.translateToAsset(e.asset),i.isMouse,i.isTouch,i.isPen)})))}),a+n)):this.state.stop()}break;case 1:1===s.Touch.touches?i&&!i.implements("hold")&&i.radius>(i.isTouch?l.SCROLL_SENSITIVITY_TOUCH:l.SCROLL_SENSITIVITY_MOUSE)&&this.state.continue():0===s.Touch.touches?(s.Touch.schedulePause(),this.state.next(3),this.state.invoke((function(){t.terminate()}),c.TAP_SINGLE_DOUBLE_GAP,!1)):this.terminate();break;case 2:if(i){var u=!1;this.data.debounce&&(i.isActive&&r.DateTime.now-this.data.time<150?i.radius>(i.isTouch?10:5)&&(this.data.debounce=!1):(this.data.debounce=!1,i.reinit())),this.data.debounce||s.Point.each(i,this.types,(function(e,i){if(e&&e.m_bInitialized&&e.m_bDragging){if(!i.isActive||e.type&t.bidirectional||e.type&t.horizontal&&0!==i.diffX||e.type&t.vertical&&0!==i.diffY){var n=e.asset;if(i.isActive||l.Scroll.edgeDetectionStop(),i.isActive?e.onDragMove({drag:e,asset:e.asset,offset:t.data.position,isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,diffX:e.type&(t.bidirectional|t.horizontal)?i.diffX+t.data.shift.x:0,diffY:e.type&(t.bidirectional|t.vertical)?i.diffY+t.data.shift.y:0,moveX:e.type&(t.bidirectional|t.horizontal)?i.diffX:0,moveY:e.type&(t.bidirectional|t.vertical)?i.diffY:0,isDragging:e.m_bDragging,isEdging:!1})||t.terminate():(e.m_bDragging&&o.Hover.enable(),e.onDragEnd({drag:e,asset:e.asset,offset:t.data.position,isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,diffX:e.type&(t.bidirectional|t.horizontal)?i.diffX+t.data.shift.x:0,diffY:e.type&(t.bidirectional|t.vertical)?i.diffY+t.data.shift.y:0,moveX:e.type&(t.bidirectional|t.horizontal)?i.diffX:0,moveY:e.type&(t.bidirectional|t.vertical)?i.diffY:0,isDragging:e.m_bDragging,isEdging:!1})),e.m_bEdgeScrolling&&!u&&i.isActive&&n){var s=void 0;if(!e.m_bEdgeAnywhere){var a=n.parent;s=(a?[a]:[]).concat(e.m_pEdgeTargets)}u=l.Scroll.edgeDetection(s,i.currentPosition,e.m_bEdgeInSpacing,(0,r.castToBoolean)(e.type&(t.bidirectional|t.horizontal)),(0,r.castToBoolean)(e.type&(t.bidirectional|t.vertical)),(function(o,r){r.isParentOf(n)?t.data.shift={x:t.data.shift.x+o.x,y:t.data.shift.y+o.y}:t.data.position={x:t.data.position.x+o.x,y:t.data.position.y+o.y},e.onDragMove({drag:e,asset:e.asset,offset:t.data.position,isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,diffX:e.type&(t.bidirectional|t.horizontal)?i.diffX+t.data.shift.x:0,diffY:e.type&(t.bidirectional|t.vertical)?i.diffY+t.data.shift.y:0,moveX:e.type&(t.bidirectional|t.horizontal)?i.diffX:0,moveY:e.type&(t.bidirectional|t.vertical)?i.diffY:0,isDragging:e.m_bDragging,isEdging:!0})||t.terminate()}),i.radius>5?100/l.SCROLL_EDGE_SPEED*(i.radius-5):0)}}}else t.terminate()})),0!==s.Touch.touches&&i.isActive||this.terminate()}else this.terminate();break;case 3:1===s.Touch.touches&&i&&(this.state.next(),this.state.postpone((function(){i&&(t.state.next(2,{point:s.Point.clone(i),shift:{x:0,y:0},position:{x:0,y:0},isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,time:r.DateTime.now,debounce:!0}),s.Touch.scheduleInvoke(),s.Touch.capture(t.bidirectional),s.Point.each(i,t.types,(function(e,i){return e.dragStart(t.data.position=i.translateToAsset(e.asset),i.isMouse,i.isTouch,i.isPen)})))}),i.implements("doubletap")?c.TAP_DOUBLE_TIMEOUT:0));break;case 4:1===s.Touch.touches&&i&&i.radius>(i.isTouch?l.SCROLL_SENSITIVITY_TOUCH:l.SCROLL_SENSITIVITY_MOUSE)&&this.state.continue()}}0===s.Touch.touches&&3!==this.state.step&&this.terminate()}},t.terminate=function(){var e=this;l.Scroll.edgeDetectionStop(),s.Touch.scheduleCancel(),this.m_bScheduled||s.Point.each(this.data.point,this.types,(function(t){t.dragEnd(e.data.position,e.data.isMouse,e.data.isTouch,e.data.isPen)})),this.state.reset()},t.on=function(e){return new t(e)},t.prototype.dragInit=function(e,t,i,n,o){this.m_bInitialized=!this.isDisabled&&this.onDragInit({drag:this,asset:this.asset,offset:e,isMouse:t,isTouch:i,isPen:n,delay:o})},t.prototype.dragStart=function(e,t,i,n){return this.m_bDragging=this.m_bInitialized&&!this.isDisabled&&this.onDragStart({drag:this,asset:this.asset,offset:e,isMouse:t,isTouch:i,isPen:n}),this.m_bDragging&&o.Hover.disable(),this.m_bDragging},t.prototype.dragEnd=function(e,t,i,n){this.m_bDragging&&o.Hover.enable(),this.onDragEnd({drag:this,asset:this.asset,offset:e,isMouse:t,isTouch:i,isPen:n,diffX:0,diffY:0,moveX:0,moveY:0,isDragging:this.m_bDragging,isEdging:!1})},t.prototype.onDragInit=function(e){return this.emitHook("OnDragInit",e),this.emit({event:this.onInit,payload:e})},t.prototype.onDragStart=function(e){return this.emitHook("OnDragStart",e),this.emit({event:this.onStart,activate:!0,payload:e})},t.prototype.onDragMove=function(e){return!!this.m_bDragging&&(this.emitHook("OnDragMove",e),this.emit({event:this.onMove,activate:!0,payload:e}))},t.prototype.onDragEnd=function(e){return!!this.m_bInitialized&&(this.m_bInitialized=!1,this.emitHook("OnDragEnd",e),this.emit({event:this.onEnd,activate:!1,payload:e}))},t.prototype.onDestroy=function(){return this.m_bDragging&&this.dragEnd(t.data.position,t.data.isMouse,t.data.isTouch,t.data.isPen),e.prototype.onDestroy.call(this)},t.m_bScheduled=!1,t}(s.Controller);t.Drag=u},70569:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Focus=void 0;var n=i(43066);Object.defineProperty(t,"Focus",{enumerable:!0,get:function(){return n.Focus}})},43066:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Focus=void 0;var n=i(70655),o=i(27636),r=i(15661),s=function(e){function t(i,n,o,s,a,l,c){var u=e.call(this,t,i,"multiple")||this;return u.m_bFocus=!1,u.m_bFocusOnStroke="focus-on-stroke"===o,u.m_pPhysical=n,u.m_fnCondition=c,u.on=l,-1===n.tabIndex&&(n.tabIndex=a>0?a:0),u.m_nTab=n.tabIndex,n.on("focus",(function(){return t.synchronize(i,n,!0,"auto-blur"===s)}),{noOverwrite:!0}),n.on("blur",(function(){return t.synchronize(i,n,!1,"auto-blur"===s)}),{noOverwrite:!0}),"focus-on-tap"===o&&r.Tap.on(i,(function(){return u.focus()})),u}return(0,n.__extends)(t,e),Object.defineProperty(t,"id",{get:function(){return"Focus"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.m_nType||(this.m_nType=o.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"priority",{get:function(){return 5},enumerable:!1,configurable:!0}),t.synchronize=function(e,t,i,n){var r=this;n&&(i?o.Touch.focus(e,t,(function(){return r.synchronize(e,t,!1,!1)})):o.Touch.blur(e)),o.Touch.each(e,this.types,(function(t){t.m_bFocus!==i&&(t.m_bFocus=i,t.isDisabled||t.onFocus({focus:t,asset:e,hasFocus:i}))}))},t.processor=function(e){if(!(~9&e||0===o.Touch.touches||o.Touch.isInput)){var t=o.Touch.firstPoint;!t||t.isInput||t.isLabel||o.Point.controllers(t,this.types,"bubble",(function(e){return!(e.isDisabled||!e.m_bFocusOnStroke)&&(!(!t.hasVirtualFocus||t.target.isChildOf(e.asset))||e.focus())}))}},t.on=function(e,i,n,o,r,s,a){return void 0===s&&(s=0),new t(e,i,n,o,s,r,a)},Object.defineProperty(t.prototype,"hasFocus",{get:function(){return this.m_bFocus},enumerable:!1,configurable:!0}),t.prototype.onFocus=function(e){this.emitHook("OnFocus",e),this.on&&this.on(e)},t.prototype.focus=function(){return this.hasFocus||this.isDisabled||this.m_fnCondition&&!this.m_fnCondition(this)?this.hasFocus:this.m_pPhysical.focus()},t.prototype.blur=function(){return!!this.hasFocus&&this.m_pPhysical.blur()},t.prototype.update=function(){-1!==this.m_nTab&&(this.m_pPhysical.tabIndex=this.isDisabled||this.m_fnCondition&&!this.m_fnCondition(this)?-1:this.m_nTab)},t.prototype.onDestroy=function(){return!!e.prototype.onDestroy.call(this)&&(1===o.Touch.filter(this.asset,this.type).length&&(this.m_pPhysical.off("focus"),this.m_pPhysical.off("blur")),!0)},t}(o.Controller);t.Focus=s},42396:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hover=void 0;var n=i(64652);Object.defineProperty(t,"Hover",{enumerable:!0,get:function(){return n.Hover}})},64652:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hover=t.HoverType=void 0;var n=i(70655),o=i(84389),r=i(27636);!function(e){e[e.Mouse=1]="Mouse",e[e.Touch=2]="Touch",e[e.Pen=4]="Pen"}(t.HoverType||(t.HoverType={}));var s=function(e){function t(i,n,o,s,a){void 0===a&&(a=7);var l=e.call(this,t,i,"multiple")||this;return l.m_sHover="none",l.m_bAlways=!1,l.m_nHoverType=a,l.on=n,l.onStart=o,l.onEnd=s,i.on("pointerenter",(function(e){r.Touch.each(i,l.type,(function(i){if(i.m_nHoverType&t.eventHoverType(e)){var n="mouse";switch(e.pointerType){case"touch":n="touch";break;case"pen":n="pen"}i.hoverStart(n)}}))}),{noOverwrite:!0}),i.on("pointerleave",(function(e){r.Touch.each(i,l.type,(function(i){i.m_nHoverType&t.eventHoverType(e)&&i.hoverEnd()}))}),{noOverwrite:!0}),!r.Touch.supportsPointerEvents&&1&l.m_nHoverType&&(2&l.m_nHoverType&&(t.m_bTouch=!0),i.on("mouseenter",(function(){r.Touch.supportsPointerEvents||r.Touch.wasTouched||r.Touch.each(i,l.type,(function(e){1&e.m_nHoverType&&(t.m_nMouse++,e.hoverStart("mouse"))}))}),{noOverwrite:!0}),i.on("mouseleave",(function(){r.Touch.each(i,l.type,(function(e){1&e.m_nHoverType&&(t.m_nMouse>0&&t.m_nMouse--,e.hoverEnd())}))}),{noOverwrite:!0})),l}return(0,n.__extends)(t,e),Object.defineProperty(t,"id",{get:function(){return"Hover"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.m_nType||(this.m_nType=r.Controller.createType())},enumerable:!1,configurable:!0}),t.eventHoverType=function(e){switch(e.pointerType){case"touch":return 2;case"pen":return 4}return 1},t.processor=function(e){var t=this;!r.Touch.supportsPointerEvents&&this.m_bTouch&&(1&e&&(this.m_nMouse>0&&(r.Touch.each("*",this.types,(function(e){1&e.m_nHoverType&&e.hoverEnd()})),this.m_nMouse=0),1===r.Touch.touches?r.Point.controllers(r.Touch.firstPoint,this.types,"bubble",(function(e,i){2&e.m_nHoverType&&(e.hoverStart("touch"),t.m_pHovers.push(e))})):this.terminate()),4&e&&this.terminate())},t.terminate=function(){!r.Touch.supportsPointerEvents&&this.m_pHovers.length>0&&(0,o.each)(this.m_pHovers.splice(0,this.m_pHovers.length),(function(e){e.hoverEnd()}))},t.disable=function(){this.m_bDisabled=!0},t.enable=function(){this.m_bDisabled=!1},t.stop=function(){r.Touch.each("*",this.types,(function(e){e.hoverEnd()}))},t.on=function(e,i,n,o,r){return void 0===r&&(r=7),new t(e,i,n,o,r)},t.mouse=function(e,i,n,o){return new t(e,i,n,o,1)},t.touch=function(e,i,n,o){return new t(e,i,n,o,2)},t.pen=function(e,i,n,o){return new t(e,i,n,o,4)},t.pointer=function(e,i,n,o){return new t(e,i,n,o,5)},Object.defineProperty(t.prototype,"isHovered",{get:function(){return"none"!==this.m_sHover},enumerable:!1,configurable:!0}),t.prototype.hoverStart=function(e){if((!t.m_bDisabled||this.m_bAlways)&&!this.isDisabled&&"none"===this.m_sHover){var i={asset:this.asset,hover:this,isHovered:!0,isMouse:"mouse"===e,isTouch:"touch"===e,isPen:"pen"===e};this.m_sHover=e,this.onHoverStart(i),this.onHover(i)}},t.prototype.hoverEnd=function(){if("none"!==this.m_sHover){var e={asset:this.asset,hover:this,isHovered:!1,isMouse:"mouse"===this.m_sHover,isTouch:"touch"===this.m_sHover,isPen:"pen"===this.m_sHover};this.onHover(e),this.onHoverEnd(e),this.m_sHover="none"}},t.prototype.onHover=function(e){this.emitHook("OnHover",e),(0,o.call)(this.on,e)},t.prototype.onHoverStart=function(e){this.emitHook("OnHoverStart",e),(0,o.call)(this.onStart,e)},t.prototype.onHoverEnd=function(e){this.emitHook("OnHoverEnd",e),(0,o.call)(this.onEnd,e)},t.prototype.onDestroy=function(){return!!e.prototype.onDestroy.call(this)&&(1===(0,o.arraySize)(r.Touch.filter(this.asset,this.type))&&(this.asset.off("pointerenter"),this.asset.off("pointerleave"),this.asset.off("mouseenter"),this.asset.off("mouseleave")),!0)},t.prototype.alwaysOn=function(){return this.m_bAlways=!0,this},t.m_pHovers=[],t.m_bTouch=!1,t.m_bDisabled=!1,t.m_nMouse=0,t}(r.Controller);t.Hover=s},97059:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Keyboard=void 0;var n=i(25905);Object.defineProperty(t,"Keyboard",{enumerable:!0,get:function(){return n.Keyboard}})},25905:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Keyboard=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(27636),a=i(70569),l=i(37381),c=function(e){function t(i,n,o,r){var s=e.call(this,t,o,"multiple",void 0,void 0,"local"===i?t.typeLocal:t.typeGlobal)||this;return s.m_bKeyDown=!1,s.m_sEvents=n,s.on=r,"local"===i?(s.asset.on("keydown",(function(e){return s.keyDown(e)}),{noOverwrite:!0}),s.asset.on("keyup",(function(e){return s.keyUp(e)}),{noOverwrite:!0})):t.attach(),s}return(0,n.__extends)(t,e),Object.defineProperty(t,"typeGlobal",{get:function(){return this.m_nTypeGlobal||(this.m_nTypeGlobal=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"typeLocal",{get:function(){return this.m_nTypeLocal||(this.m_nTypeLocal=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"id",{get:function(){return"Keyboard"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.typeGlobal|this.typeLocal},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isKeyDown",{get:function(){return this.m_bKeyDown},enumerable:!1,configurable:!0}),t.attach=function(){0===this.m_nControllers&&(r.EventListeners.attachListener(document,"keydown",this.keyDown,void 0,this),r.EventListeners.attachListener(document,"keyup",this.keyUp,void 0,this)),this.m_nControllers++},t.detach=function(){this.m_nControllers--,0===this.m_nControllers&&(r.EventListeners.detachListener(document,"keydown",this),r.EventListeners.detachListener(document,"keyup",this))},t.keyDown=function(e){var t=!1;s.Touch.each("*",this.typeGlobal,(function(i){t=t||i.keyDown(e)}))},t.keyUp=function(e){var t=!1;s.Touch.each("*",this.typeGlobal,(function(i){t=t||i.keyUp(e)}))},t.global=function(e,i,n){return void 0===n&&(n="any"),new t("global",n,e,i)},t.local=function(e,i,n){return void 0===n&&(n="any"),new t("local",n,e,i)},Object.defineProperty(t.prototype,"isKeyDown",{get:function(){return this.m_bKeyDown},enumerable:!1,configurable:!0}),t.prototype.parse=function(e,i){"down"===i&&(this.m_sKey=e.key||"");var n=this.m_sKey||e.key||"",o="down"===i&&(e.repeat||this.m_sKeyHistory===n),r=0;return e.altKey&&(r|=128),e.ctrlKey&&(r|=64),e.shiftKey&&(r|=32),e.metaKey&&(r|=256),"up"===i?this.m_sKey=this.m_sKeyHistory=void 0:this.m_sKeyHistory=this.m_sKey,{keyboard:this,asset:this.asset,key:(0,l.parseKey)(n),value:n,modifiers:r,hasModifiers:0!==r,isKeyDown:"down"===i,isKeyUp:"up"===i,isAlt:e.altKey,isCtrl:e.ctrlKey,isShift:e.shiftKey,isMeta:e.metaKey,isRepeat:o,isInput:s.Touch.isInput,isGlobal:this.type===t.typeGlobal}},t.prototype.keyDown=function(e){if(t.m_bKeyDown=this.m_bKeyDown=!0,this.isDisabled||"keyup"===this.m_sEvents)return!1;var i=s.Touch.isDragging||s.Touch.isScrolling||this.onKey(this.parse(e,"down"));return i&&r.EventListeners.stopPropagation(e),i},t.prototype.keyUp=function(e){if(t.m_bKeyDown=this.m_bKeyDown=!1,this.isDisabled||"keydown"===this.m_sEvents)return!1;var i=s.Touch.isDragging||s.Touch.isScrolling||this.onKey(this.parse(e,"up"));return i&&r.EventListeners.stopPropagation(e),i},t.prototype.onKey=function(e){return this.emitHook("OnKey",e),(0,o.castToBoolean)((0,o.call)(this.on,e))},t.prototype.focus=function(){var e=s.Touch.first(this.asset,a.Focus.types)||a.Focus.on(this.asset,this.asset,"no-auto-focus","no-auto-blur");return e.focus(),e},t.prototype.onDestroy=function(){return!!e.prototype.onDestroy.call(this)&&(this.type===t.typeLocal?(this.asset.off("keydown"),this.asset.off("keyup")):t.detach(),!0)},t.m_nControllers=0,t.m_bKeyDown=!1,t}(s.Controller);t.Keyboard=c},37381:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseKey=void 0,t.parseKey=function(e){switch(e){case"Alt":case"AltGraph":case"CapsLock":case"Control":case"Fn":case"FnLock":case"Hyper":case"Meta":case"NumLock":case"ScrollLock":case"Shift":case"Super":case"Symbol":case"SymbolLock":case"Enter":case"Tab":case" ":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":case"PageDown":case"PageUp":case"Backspace":case"Clear":case"Copy":case"CrSel":case"Cut":case"Delete":case"EraseEof":case"ExSel":case"Insert":case"Paste":case"Redo":case"Undo":case"Accept":case"Again":case"Attn":case"Cancel":case"ContextMenu":case"Escape":case"Execute":case"Find":case"Finish":case"Help":case"Pause":case"Play":case"Props":case"Select":case"ZoomIn":case"ZoomOut":case"BrightnessDown":case"BrightnessUp":case"Eject":case"LogOff":case"Power":case"PowerOff":case"PrintScreen":case"Hibernate":case"Standby":case"WakeUp":case"AllCandidates":case"Alphanumeric":case"CodeInput":case"Compose":case"Convert":case"Dead":case"FinalMode":case"GroupFirst":case"GroupLast":case"GroupNext":case"GroupPrevious":case"ModeChange":case"NextCandidate":case"NonConvert":case"PreviousCandidate":case"Process":case"SingleCandidate":case"F1":case"F2":case"F3":case"F4":case"F5":case"F6":case"F7":case"F8":case"F9":case"F10":case"F11":case"F12":case"F13":case"F14":case"F15":case"F16":case"F17":case"F18":case"F19":case"F20":case"Soft1":case"Soft2":case"Soft3":case"Soft4":case"AppSwitch":case"Call":case"Camera":case"CameraFocus":case"EndCall":case"GoBack":case"GoHome":case"HeadsetHook":case"LastNumberRedial":case"Notification":case"MannerMode":case"VoiceDial":case"ChannelDown":case"ChannelUp":case"MediaFastForward":case"MediaPause":case"MediaPlay":case"MediaPlayPause":case"MediaRecord":case"MediaRewind":case"MediaStop":case"MediaTrackNext":case"MediaTrackPrevious":case"AudioBalanceLeft":case"AudioBalanceRight":case"AudioBassDown":case"AudioBassBoostDown":case"AudioBassBoostToggle":case"AudioBassBoostUp":case"AudioBassUp":case"AudioFaderFront":case"AudioFaderRear":case"AudioSurroundModeNext":case"AudioTrebleDown":case"AudioTrebleUp":case"AudioVolumeDown":case"AudioVolumeMute":case"AudioVolumeUp":case"MicrophoneToggle":case"MicrophoneVolumeDown":case"MicrophoneVolumeMute":case"MicrophoneVolumeUp":case"TV":case"TV3DMode":case"TVAntennaCable":case"TVAudioDescription":case"TVAudioDescriptionMixDown":case"TVAudioDescriptionMixUp":case"TVContentsMenu":case"TVDataService":case"TVInput":case"TVInputComponent1":case"TVInputComponent1":case"TVInputComposite1":case"TVInputComposite2":case"TVInputHDMI1":case"TVInputHDMI4":case"TVInputHDMI4":case"TVInputHDMI4":case"TVInputVGA1":case"TVMediaContext":case"TVNetwork":case"TVNumberEntry":case"TVPower":case"TVRadioService":case"TVSatellite":case"TVSatelliteBS":case"TVSatelliteCS":case"TVSatelliteToggle":case"TVTerrestrialAnalog":case"TVTerrestrialDigital":case"TVTimer":case"AVRInput":case"AVRPower":case"ColorF0Red":case"ColorF1Green":case"ColorF2Yellow":case"ColorF3Blue":case"ColorF4Grey":case"ColorF5Brown":case"ClosedCaptionToggle":case"Dimmer":case"DisplaySwap":case"DVR":case"Exit":case"FavoriteClear0":case"FavoriteClear1":case"FavoriteClear2":case"FavoriteClear3":case"FavoriteRecall0":case"FavoriteRecall1":case"FavoriteRecall2":case"FavoriteRecall3":case"FavoriteStore0":case"FavoriteStore1":case"FavoriteStore2":case"FavoriteStore3":case"Guide":case"GuideNextDay":case"GuidePreviousDay":case"Info":case"InstantReplay":case"Link":case"ListProgram":case"LiveContent":case"Lock":case"MediaApps":case"MediaAudioTrack":case"MediaLast":case"MediaSkipBackward":case"MediaSkipForward":case"MediaStepBackward":case"MediaStepForward":case"MediaTopMenu":case"NavigateIn":case"NavigateNext":case"NavigateOut":case"NavigatePrevious":case"NextFavoriteChannel":case"NextUserProfile":case"OnDemand":case"Pairing":case"PinPDown":case"PinPMove":case"PinPToggle":case"PinPUp":case"PlaySpeedDown":case"PlaySpeedReset":case"PlaySpeedUp":case"RandomToggle":case"RcLowBattery":case"RecordSpeedNext":case"RfBypass":case"ScanChannelsToggle":case"ScreenModeNext":case"Settings":case"SplitScreenToggle":case"STBInput":case"groupnext":case"Subtitle":case"Teletext":case"VideoModeNext":case"Wink":case"ZoomToggle":case"SpeechCorrectionList":case"SpeechInputToggle":case"Close":case"New":case"Open":case"Print":case"Save":case"SpellCheck":case"MailForward":case"MailReply":case"MailSend":case"LaunchCalculator":case"LaunchCalendar":case"LaunchContacts":case"LaunchMail":case"LaunchMediaPlayer":case"LaunchMusicPlayer":case"LaunchMyComputer":case"LaunchPhone":case"LaunchScreenSaver":case"LaunchSpreadsheet":case"LaunchWebBrowser":case"LaunchWebCam":case"LaunchWordProcessor":case"LaunchApplication1":case"LaunchApplication2":case"LaunchApplication3":case"LaunchApplication4":case"LaunchApplication5":case"LaunchApplication6":case"LaunchApplication7":case"LaunchApplication8":case"LaunchApplication9":case"LaunchApplication10":case"LaunchApplication11":case"LaunchApplication12":case"LaunchApplication13":case"LaunchApplication14":case"LaunchApplication15":case"LaunchApplication16":case"BrowserBack":case"BrowserFavorites":case"BrowserForward":case"BrowserHome":case"BrowserRefresh":case"BrowserSearch":case"BrowserStop":case"+":case"-":case"/":case"*":return e;case"Scroll":return"ScrollLock";case"OS":return"Meta";case"Spacebar":return" ";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Up":return"ArrowUp";case"Down":return"ArrowDown";case"Del":return"Delete";case"Crsel":return"CrSel";case"Exsel":return"ExSel";case"Esc":return"Escape";case"Apps":return"ContextMenu";case"Nonconvert":return"NonConvert";case"MozHomeScreen":return"Home";case"MediaNextTrack":return"MediaTrackNext";case"MediaPreviousTrack":return"MediaTrackPrevious";case"FastFwd":return"MediaFastForward";case"VolumeUp":return"AudioVolumeUp";case"VolumeDown":return"AudioVolumeDown";case"VolumeMute":return"AudioVolumeMute";case"Live":return"TV";case"Zoom":return"ZoomToggle";case"SelectMedia":case"MediaSelect":return"LaunchMediaPlayer";case"Add":return"+";case"Subtract":return"-";case"Multiply":return"*";case"Divide":return"/"}return""}},56642:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCROLL_SENSITIVITY_TOUCH=t.SCROLL_SENSITIVITY_MOUSE=t.SCROLL_EDGE_SPEED=t.SCROLL_DURATION=t.SCROLL_RESIZE_DELAY=t.SCROLL_TIMEOUT=t.Scroll=void 0;var n=i(91008);Object.defineProperty(t,"Scroll",{enumerable:!0,get:function(){return n.Scroll}});var o=i(91008);Object.defineProperty(t,"SCROLL_TIMEOUT",{enumerable:!0,get:function(){return o.TIMEOUT}}),Object.defineProperty(t,"SCROLL_RESIZE_DELAY",{enumerable:!0,get:function(){return o.DELAY_RESIZE}}),Object.defineProperty(t,"SCROLL_DURATION",{enumerable:!0,get:function(){return o.SCROLL_DURATION}}),Object.defineProperty(t,"SCROLL_EDGE_SPEED",{enumerable:!0,get:function(){return o.SCROLL_EDGE_SPEED}}),Object.defineProperty(t,"SCROLL_SENSITIVITY_MOUSE",{enumerable:!0,get:function(){return o.SENSITIVITY_MOUSE}}),Object.defineProperty(t,"SCROLL_SENSITIVITY_TOUCH",{enumerable:!0,get:function(){return o.SENSITIVITY_TOUCH}})},91008:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scroll=t.DELAY_RESIZE=t.SCROLL_EDGE_SPEED=t.SCROLL_DURATION=t.SENSITIVITY_TOUCH=t.SENSITIVITY_MOUSE=t.TIMEOUT=void 0;var n=i(70655),o=i(27636),r=i(84389),s=i(95349),a=i(29891),l=i(39031),c=i(9072),u=i(22270),p=i(39031),h=i(42396),d=i(15661),m=i(20294),f=i(70569),g=i(97059);t.TIMEOUT=250,t.SENSITIVITY_MOUSE=5,t.SENSITIVITY_TOUCH=15;t.SCROLL_DURATION=300;t.SCROLL_EDGE_SPEED=20;var y=250,b=2.75,v=150,M=150;t.DELAY_RESIZE=100;var _;!function(e){e[e.No=0]="No",e[e.Yes=1]="Yes",e[e.Always=2]="Always"}(_||(_={}));var S=function(e){function i(t){var n=e.call(this,i,t.asset,"single",t.stylesheet,void 0,"horizontal"===t.direction||2===t.direction?i.horizontal:"vertical"===t.direction||4===t.direction?i.vertical:i.bidirectional)||this;n.m_nInitializing=0,n.m_bInitializing=!0,n.m_bInitialized=!1,n.m_bHover=!1,n.m_bHovercanceled=!1,n.m_bScrolling=!1,n.m_nScrollLeft=0,n.m_nScrollTop=0,n.m_nScrollX=0,n.m_nScrollY=0,n.m_nScrollWidth=0,n.m_nScrollHeight=0,n.m_bScrollLeft=!1,n.m_bScrollRight=!1,n.m_bScrollUp=!1,n.m_bScrollDown=!1,n.m_bZoom=!1,n.m_bZoomStart=!1,n.m_sZoomCrawl="stop",n.m_nOffsetLeft=0,n.m_nOffsetTop=0,n.m_pViewport=new u.Rectangle,n.m_pSpacing=new u.Spacing,n.m_nDirection=1,n.m_nKinetic=0,n.m_nReflect=0,n.m_nMeasureScroll=0,n.m_nMeasureAsset=0,n.m_bMeasured=!1,n.m_nUpdate=0,n.m_nRules=0,n.m_nCaptured=0,n.m_bCentering=!1,n.m_nBounceHorizontal=_.Yes,n.m_nBounceVertical=_.Yes,n.m_nBounceHorizontalHandle=0,n.m_nBounceVerticalHandle=0;var s=(0,r.castToBoolean)(t.autoInitialize,!0),a=(0,r.castToBoolean)(t.keyboard,!0),l=(0,r.castToBoolean)(t.focus,!0);n.m_bInertialScrolling=(0,r.castToBoolean)(t.inertialScrolling,!0),n.m_bPannable=(0,r.castToBoolean)(t.pannable,!0),n.m_bLockDirection=(0,r.castToBoolean)(t.lockDirection,!0),n.m_bWheel=(0,r.castToBoolean)(t.wheel,!0),n.m_bHovering=(0,r.castToBoolean)(t.hovering),n.m_sScroll=(0,r.castToString)(t.classScroll),n.m_sScrollHorizontal=(0,r.castToString)(t.classScrollHorizontal),n.m_sScrollVertical=(0,r.castToString)(t.classScrollVertical),n.m_sScrollLeft=(0,r.castToString)(t.classScrollLeft),n.m_sScrollRight=(0,r.castToString)(t.classScrollRight),n.m_sScrollUp=(0,r.castToString)(t.classScrollUp),n.m_sScrollDown=(0,r.castToString)(t.classScrollDown),n.m_nZoom=(0,r.castToFloat)(t.zoom,1)||1,n.m_bZoomInitialize=(0,r.castToBoolean)(t.zoomInitialize),n.m_sZoomToFit="all"===t.zoomToFit||"horizontal"===t.zoomToFit||"vertical"===t.zoomToFit?t.zoomToFit:!!t.zoomToFit&&"all",n.m_bZoomDimensions=(0,r.castToBoolean)(t.zoomDimensions),n.m_bZoomAnimations=(0,r.castToBoolean)(t.zoomAnimations,!0),n.m_bZoomOnPinch=(0,r.castToBoolean)(t.zoomOnPinch),n.m_bZoomOnWheel=(0,r.castToBoolean)(t.zoomOnWheel);var c=n.asset.firstChild;if(!(0,r.castToBoolean)(t.native)&&c&&(n.asset.tagName===c.tagName||"div"===c.tagName||"section"===c.tagName||"nav"===c.tagName||"ul"===c.tagName)){switch(t.bounceHorizontal){case"no":n.m_nBounceHorizontal=_.No;break;case"always":n.m_nBounceHorizontal=_.Always;break;default:n.m_nBounceHorizontal=_.Yes}switch(t.bounceVertical){case"no":n.m_nBounceVertical=_.No;break;case"always":n.m_nBounceVertical=_.Always;break;default:n.m_nBounceVertical=_.Yes}n.m_bCentering=(0,r.castToBoolean)(t.centering),n.m_pSpacing=t.spacing||new u.Spacing,n.m_pScroll=c.apply((function(e){e.style({overflow:"visible",overflowHorizontal:"visible",overflowVertical:"visible",display:"block"},n.stylesheet),(n.m_bCentering||(0,r.castToBoolean)(t.hideWhileNotInitialized))&&(e.opacity=0),e.position({x:n.spacing.left,y:n.spacing.top,translate:"accelerated"})})),n.asset.on("scroll",(function(){return n.reflect(!0)}))}return n.asset.style({overflow:"hidden",overflowHorizontal:"hidden",overflowVertical:"hidden"},n.stylesheet),(l||a)&&(n.m_pFocus=f.Focus.on(n.asset,n.asset,"focus-on-stroke","no-auto-blur",(function(){n.hasFocus&&n.onScrollActivate(),l&&n.onScrollFocus()}))),a&&g.Keyboard.global(n.asset,(function(e){if(n.hasFocus&&!o.Touch.isInput){if(" "===e.key&&(!e.hasModifiers||e.isShift))return e.isShift?n.scrollInchUp():n.scrollInchDown();if(!e.hasModifiers)switch(e.key){case"Home":return n.canScrollUp?n.scrollToTop():n.scrollToLeft();case"End":return n.canScrollDown?n.scrollToBottom():n.scrollToRight();case"PageUp":return n.canScrollVertical?n.scrollPageUp():n.scrollPageLeft();case"PageDown":return n.canScrollVertical?n.scrollPageDown():n.scrollPageRight();case"ArrowUp":return n.scrollInchUp();case"ArrowDown":return n.scrollInchDown();case"ArrowLeft":return n.scrollInchLeft();case"ArrowRight":return n.scrollInchRight();case"ZoomIn":case"+":return n.zoomIn();case"ZoomOut":case"-":return n.zoomOut()}}return!1}),"keydown"),n.hovering&&h.Hover.pointer(n.asset,(function(e){return n.hover(e.isHovered,!1)})).alwaysOn(),t.zoomOnDoubleTap&&d.Tap.double(n.asset,(function(e){return n.zoomToggle(n.m_bZoomAnimations,y,!0,e.offset)})),n.onInit=t.onInit,n.onDimensions=t.onDimensions,n.onViewport=t.onViewport,n.onResize=t.onResize,n.onDirection=t.onDirection,n.onFocus=t.onFocus,n.onActivate=t.onActivate,n.onHover=t.onHover,n.onStart=t.onStart,n.onChange=t.onChange,n.onScroll=t.onScroll,n.onEnd=t.onEnd,n.onZoomBounderies=t.onZoomBounderies,n.onZoomStart=t.onZoomStart,n.onZoom=t.onZoom,n.onZoomChange=t.onZoomChange,n.onZoomEnd=t.onZoomEnd,n.onZoomWheel=t.onZoomWheel,o.Touch.implement("hold",i.types),o.Touch.implement("scroll",i.types),s&&n.init(),n}return(0,n.__extends)(i,e),Object.defineProperty(i,"bidirectional",{get:function(){return this.m_nBidirectional||(this.m_nBidirectional=o.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(i,"horizontal",{get:function(){return this.m_nHorizontal||(this.m_nHorizontal=o.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(i,"vertical",{get:function(){return this.m_nVertical||(this.m_nVertical=o.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(i,"id",{get:function(){return"Scroll"},enumerable:!1,configurable:!0}),Object.defineProperty(i,"types",{get:function(){return this.bidirectional|this.horizontal|this.vertical},enumerable:!1,configurable:!0}),Object.defineProperty(i,"priority",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i,"state",{get:function(){return this.m_pState||(this.m_pState=new a.Stepper)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"data",{get:function(){return this.state.payload||{touches:0,distance:0,zoom:0,scrolling:!1,zooming:!1,firstPoint:void 0,secondPoint:void 0,scroll:void 0,debouncer:void 0}},enumerable:!1,configurable:!0}),i.normalize=function(e,t,i){var n=r.Num.range(e,-150,v);return t-n<-150?n=t+v:t-n>i+v&&(n=-i-v+t),n},i.processor=function(e){var t=this;if(64&e){var i=o.Touch.firstPoint;!i||0===i.wheelX&&0===i.wheelY||m.Wheel.isLocked||i.forEachController((function(e,i){if(!e.isDisabled){if(e.m_bZoomOnWheel&&0!==i.wheelY&&64&i.buttons){var n=e.onScrollZoomWheel(i.wheelY>0?"in":"out");return n>0&&e.applyZoom(e.zoom+n*(Math.abs(i.wheelY)<40?1/40*i.wheelY:i.wheelY<0?-1:1),!0,!0,!0,e.m_bZoomAnimations,150,!1,i.translateToAsset(e.asset))&&e.scrollActivate(!0),!0}if(e.wheel){var r=e.type&t.bidirectional&&0!==i.wheelX&&0!==i.wheelY?1:0!==i.wheelX||32&i.buttons||e.type&t.horizontal||0===e.rangeVertical&&e.rangeHorizontal>0?2:4,s=t.normalize(2===r?i.wheelX||i.wheelY:i.wheelX,e.scrollLeft,e.rangeHorizontal),a=t.normalize(2===r?0:i.wheelY,e.scrollTop,e.rangeVertical);if(e.scrollShift(-s,-a,!0,!0,!1,!0))return e.scrollDirection(r),e.scrollActivate(!0),o.Touch.capture(t.bidirectional),!0}}return!1}),this.types)}if(!(-64&e)){if(32&e&&m.Wheel.lock(),!this.state.isStopped){var n=o.Touch.firstPoint,s=o.Touch.secondPoint;if(n)switch(this.state.step){case 0:-37&e&&n.forEachController((function(e,i){if(!e.isDisabled&&(0,r.isObject)(e.asset)&&(i.isTouch||e.pannable&&513&i.buttons)){var n,a=0,l=0;if(2===o.Touch.touches&&e.m_bZoomOnPinch&&s&&!s.forEachController((function(t,o){return t===e&&(n=o.id,a=i.radialDistance(o),l=o.radius+i.radius,!0)}),t.types))return!1;if(1===o.Touch.touches||2===o.Touch.touches){var c=e.scroll(i,!0,!0);if(c||l>=15)return c||(i.reinit(),s&&s.reinit()),t.state.next(1,{touches:o.Touch.touches,distance:a,zoom:e.zoom,scrolling:c,zooming:!1,firstPoint:i.id,secondPoint:n,scroll:e,debouncer:new r.Debounce((function(t,i){e.applyZoom(t,!e.isZooming,!0,!1,!1,0,!1,i)}))}),o.Touch.capture(t.bidirectional),!0}}return!1}),this.types);break;case 1:if(this.data.scroll&&n){var a=this.data.scroll,l=!0;if(!a.isDisabled&&(1===o.Touch.touches||2===o.Touch.touches)&&(n.id!==this.data.firstPoint&&n.forEachController((function(e){return e===a}),this.types)&&(this.data.firstPoint=n.id,n.reinit(),a.calibrate()),s?s.id!==this.data.secondPoint&&s.forEachController((function(e){return e===a}),this.types)&&(this.data.secondPoint=s.id):this.data.secondPoint=void 0,n.id===this.data.firstPoint&&(1===o.Touch.touches||s&&s.id===this.data.secondPoint&&(!a.m_bZoomOnPinch||!a.isBouncing)))){if(o.Touch.touches!==this.data.touches&&(n.reinit(),s&&s.reinit(),a.calibrate(),a.scrollZoomEnd(),this.data.scrolling&&a.scrollStart(),this.data.touches=o.Touch.touches,this.data.distance=n.radialDistance(s),this.data.zoom=a.zoom,a.m_bZoomOnPinch&&(this.data.scrolling=!1)),2===o.Touch.touches&&s&&a.m_bZoomOnPinch){var c=n.radialDistance(s);if(Math.round(Math.abs(c-this.data.distance))>0){var u=this.data.debouncer;this.data.zoom*=c/this.data.distance,u&&u.invoke(this.data.zoom,n.translatePointToAsset(o.Point.proportional(n,s),a.asset)),this.data.distance=c,this.data.zooming=!0}}else this.data.scrolling=a.scroll(n,!1,!this.data.zooming)||!a.m_bZoomOnPinch&&this.data.scrolling;l=!1}l&&(a.deactivate(),a.scrollZoomEnd(),this.data.scrolling?a.kinetic(n):a.scrollEnd(),this.state.stop())}else this.terminate()}}0===o.Touch.touches&&this.terminate()}},i.terminate=function(){this.state.reset()},i.edgeDetection=function(e,i,n,s,a,l,c){var u=this;void 0===c&&(c=100);var h=e?o.Touch.filterRecursive(e,this.types,!1):o.Touch.filter("*",this.types),d=(0,r.findFirst)(h,(function(t){return!(!e||(0,r.arraySize)(e)>1)||(n?t.boundingRectangle:t.viewport).isIn(i.x,i.y)}));if(this.edgeDetectionStop(),d){var m=n?d.boundingRectangle:d.viewport,f=r.Num.min(150,m.width/3),g=r.Num.min(150,m.height/3),y=0,b=0;if(c=r.Num.range(c,0,100),s&&d.type&(this.bidirectional|this.horizontal)&&d.rangeHorizontal>0&&c>0&&(i.x<m.left+f?y=-(f-r.Num.max(i.x-m.left,0)):i.x>m.right-f&&(y=f-r.Num.max(m.right-i.x,0))),a&&d.type&(this.bidirectional|this.vertical)&&d.rangeVertical>0&&c>0&&(i.y<m.top+g?b=-(g-r.Num.max(i.y-m.top,0)):i.y>m.bottom-g&&(b=g-r.Num.max(m.bottom-i.y,0))),0!==y||0!==b){var v=r.DateTime.precise-p.FPS,M=d.scrollLeft,_=d.scrollTop,S=function(){var e=r.DateTime.elapsed(v,!0),i=!0;if(d){if(e>=p.FPS){var n=0,o=0;s&&(n=r.Num.floor((0,p.exponentialEaseIn)(f,Math.abs(y),t.SCROLL_EDGE_SPEED/100*c,0)*e/p.FPS)*(y<0?-1:1)),a&&(o=r.Num.floor((0,p.exponentialEaseIn)(g,Math.abs(b),t.SCROLL_EDGE_SPEED/100*c,0)*e/p.FPS)*(b<0?-1:1)),d.scrollShift(n,o,!1,!1,!0,!0)?l({x:d.scrollLeft-M,y:d.scrollTop-_},d.asset):i=!1,M=d.scrollLeft,_=d.scrollTop,v=r.DateTime.precise}u.m_nEdgeDetection=i?(0,r.scheduleFrame)(S):0}};return this.m_nEdgeDetection=(0,r.scheduleFrame)(S),!0}}return!1},i.edgeDetectionStop=function(){this.m_nEdgeDetection=(0,r.cancelFrame)(this.m_nEdgeDetection)},i.update=function(e,t){var i=this;void 0===e&&(e=250),void 0===t&&(t=!0);var n=function(){i.m_nUpdate=0,o.Touch.isDragging?i.update(r.Num.max(e,250),t):(0,r.each)(o.Touch.filter("*",i.types),(function(e){return e.update(t,0)}))};(0,r.cancelUITimeout)(this.m_nUpdate),e<=0?n():this.m_nUpdate=(0,r.scheduleUITimeout)(n,e)},i.on=function(e){return new i(e)},Object.defineProperty(i.prototype,"focusController",{get:function(){return this.m_pFocus},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"native",{get:function(){return!this.m_pScroll},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"inertialScrolling",{get:function(){return this.m_bInertialScrolling},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"pannable",{get:function(){return this.m_bPannable},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"lockDirection",{get:function(){return this.m_bLockDirection},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"wheel",{get:function(){return this.m_bWheel},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hovering",{get:function(){return this.m_bHovering},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"left",{get:function(){return-this.m_nScrollLeft+this.m_nOffsetLeft},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"top",{get:function(){return-this.m_nScrollTop+this.m_nOffsetTop},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"centerLeft",{get:function(){return this.rangeHorizontal>0||0===this.width?0:r.Num.round((this.viewport.width-this.width)/2)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"centerTop",{get:function(){return this.rangeVertical>0||0===this.height?0:r.Num.round((this.viewport.height-this.height)/2)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hasFocus",{get:function(){return!!this.m_pFocus&&this.m_pFocus.hasFocus},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isHovered",{get:function(){return this.m_bHover},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isHovercanceled",{get:function(){return this.m_bHovercanceled},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isScrolling",{get:function(){return this.m_bScrolling},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isScrollable",{get:function(){return this.rangeHorizontal>0||this.rangeVertical>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isZooming",{get:function(){return this.m_bZoomStart},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this.m_nDirection},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"horizontal",{get:function(){return(0,r.castToBoolean)(this.type&(i.bidirectional|i.horizontal))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"vertical",{get:function(){return(0,r.castToBoolean)(this.type&(i.bidirectional|i.vertical))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"centering",{get:function(){return this.m_bCentering},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"scrollLeft",{get:function(){return r.Num.range(this.m_nScrollLeft,0,this.rangeHorizontal)},set:function(e){this.scrollHorizontal(e,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"scrollTop",{get:function(){return r.Num.range(this.m_nScrollTop,0,this.rangeVertical)},set:function(e){this.scrollVertical(e,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"shiftLeft",{get:function(){return this.m_nOffsetLeft},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"shiftTop",{get:function(){return this.m_nOffsetTop},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"rangeHorizontal",{get:function(){return this.type&i.vertical?0:r.Num.max(this.width-this.viewport.roundedWidth,0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"rangeVertical",{get:function(){return this.type&i.horizontal?0:r.Num.max(this.height-this.viewport.roundedHeight,0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this.m_nScrollWidth},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this.m_nScrollHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollHorizontal",{get:function(){return this.rangeHorizontal>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollVertical",{get:function(){return this.rangeVertical>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollLeft",{get:function(){return this.scrollLeft>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollRight",{get:function(){return this.scrollLeft<this.rangeHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollUp",{get:function(){return this.scrollTop>0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canScrollDown",{get:function(){return this.scrollTop<this.rangeVertical},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canZoomIn",{get:function(){return this.zoom<this.zoomMax},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canZoomOut",{get:function(){return this.zoom>this.zoomMin},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canZoom",{get:function(){return this.canZoomIn||this.canZoomOut},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isZoomFitHorizontal",{get:function(){return this.zoom===this.zoomFitHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isZoomFitVertical",{get:function(){return this.zoom===this.zoomFitVertical},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"bounceHorizontal",{get:function(){return this.m_nScrollLeft<0?this.m_nScrollLeft:this.m_nScrollLeft>this.rangeHorizontal?this.m_nScrollLeft-this.rangeHorizontal:0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"bounceVertical",{get:function(){return this.m_nScrollTop<0?this.m_nScrollTop:this.m_nScrollTop>this.rangeVertical?this.m_nScrollTop-this.rangeVertical:0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBouncing",{get:function(){return 0!==this.bounceHorizontal||0!==this.bounceVertical},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBounceHorizontal",{get:function(){switch(this.m_nBounceHorizontal){case _.Always:return"always";case _.Yes:return"yes"}return"no"},set:function(e){switch(e){case"no":this.m_nBounceHorizontal=_.No;break;case"yes":this.m_nBounceHorizontal=_.Yes;break;case"always":this.m_nBounceHorizontal=_.Always}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBounceVertical",{get:function(){switch(this.m_nBounceVertical){case _.Always:return"always";case _.Yes:return"yes"}return"no"},set:function(e){switch(e){case"no":this.m_nBounceVertical=_.No;break;case"yes":this.m_nBounceVertical=_.Yes;break;case"always":this.m_nBounceVertical=_.Always}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoom",{get:function(){return this.m_nZoom},set:function(e){this.applyZoom(e,!1,!1,!1,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoomMin",{get:function(){return this.onScrollZoomBounderies(0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoomMax",{get:function(){var e=this.onScrollZoomBounderies(Number.MAX_VALUE);return e===Number.MAX_VALUE?1:e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoomFit",{get:function(){return r.Num.min(this.zoomFitHorizontal,this.zoomFitVertical)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoomFitHorizontal",{get:function(){return this.viewport.width>0&&this.width&&this.zoom>0?this.viewport.width/(this.width/this.zoom):1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoomFitVertical",{get:function(){return this.viewport.height>0&&this.height&&this.zoom>0?this.viewport.height/(this.height/this.zoom):1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"viewport",{get:function(){return this.m_pViewport},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"spacing",{get:function(){return this.m_pSpacing},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"boundingRectangle",{get:function(){return new u.Rectangle({left:this.viewport.left-this.spacing.left,top:this.viewport.top-this.spacing.top,right:this.viewport.right+this.spacing.right,bottom:this.viewport.bottom+this.spacing.bottom})},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"parent",{get:function(){var e=this.asset;return this.native?e.parent:e},enumerable:!1,configurable:!0}),i.prototype.calibrate=function(){this.m_nScrollX=this.m_nScrollLeft,this.m_nScrollY=this.m_nScrollTop},i.prototype.reflect=function(e){var t=this;if(!this.native){var i=function(){t.m_nReflect=0;var i=t.asset.scrollLeft,n=t.asset.scrollTop;0===i&&0===n||(e&&c.Asset.isFocusedOnInput?t.scrollToAsset(c.Asset.isFocused,!e,void 0,void 0,void 0,void 0,!0):t.applyScroll(t.m_nScrollLeft+i,t.m_nScrollTop+n,e),(0,s.write)((function(){t.asset.scrollLeft=0,t.asset.scrollTop=0}),e))};e?((0,s.revoke)(this.m_nReflect),i()):this.m_nReflect=(0,s.read)((function(){return i()}),this.m_nReflect)}},i.prototype.measure=function(e,t,i){var n=this;void 0===i&&(i=!1);var o=!1;if(this.m_bInitializing=!1,!i&&this.m_nScrollTop>=0&&this.m_nScrollLeft>=0){var a=this.onScrollDimensions(),l=this.onScrollViewport();this.m_bMeasured=l instanceof u.Rectangle&&a instanceof u.Dimensions,this.m_bMeasured||this.reflect(!1),this.m_nMeasureScroll=(0,s.read)((function(){var i,s,c,u=(l||n.rectangle).copy;if(n.m_nMeasureScroll=0,u.left+=n.spacing.left,u.top+=n.spacing.top,u.right-=n.spacing.right,u.bottom-=n.spacing.bottom,a)i=r.Num.round(a.width*(n.m_bZoomDimensions?n.zoom:1)),s=r.Num.round(a.height*(n.m_bZoomDimensions?n.zoom:1));else{var p=void 0;i=r.Num.max(n.asset.scrollWidth,n.m_pScroll?n.m_pScroll.scrollWidth:0),s=r.Num.max(n.asset.scrollHeight,n.m_pScroll?n.m_pScroll.scrollHeight:0),(p=i-u.width)>0&&p<1&&(i=u.roundedWidth),(p=s-u.height)>0&&p<1&&(s=u.roundedHeight)}if(c=(c=u.width!==n.viewport.width||u.height!==n.viewport.height)||n.m_nScrollWidth!==i||n.m_nScrollHeight!==s,n.m_pViewport=u,n.m_nScrollWidth=i,n.m_nScrollHeight=s,!n.m_bInitialized&&n.m_bZoomInitialize){var h=r.Num.max(n.onScrollZoomBounderies("all"===n.m_sZoomToFit?n.zoomFit:"horizontal"===n.m_sZoomToFit?n.zoomFitHorizontal:"vertical"===n.m_sZoomToFit?n.zoomFitVertical:n.zoom),0);h>0&&h!==n.zoom&&(n.m_nZoom=h,n.m_bZoomDimensions&&a&&(n.m_nScrollWidth=r.Num.round(a.width*n.zoom),n.m_nScrollHeight=r.Num.round(a.height*n.zoom)))}if(c){var d=function(){n.m_bInitialized&&n.applyZoom(n.zoom,!0,!0,!0,e,y,!0)};n.m_bCentering?n.applyOffset(n.centerLeft,n.centerTop,n.m_bInitialized&&e,d):d(),n.applyRules()}n.m_bInitialized||(n.m_bZoomInitialize&&n.onScrollZoom(n.zoom),n.m_pScroll&&(n.m_pScroll.opacity="inherit"),n.m_bInitialized=!0,n.onScrollInit()),c&&n.onScrollResize(),o=(0,r.castToBoolean)((0,r.call)(t))}),this.m_nMeasureScroll,this.m_bMeasured)}else o=(0,r.castToBoolean)((0,r.call)(t));return o},i.prototype.applyZoom=function(e,t,i,n,o,a,c,u){var p=this;if(void 0===a&&(a=0),void 0===c&&(c=!1),void 0===u&&(u={x:this.spacing.left+this.viewport.width/2,y:this.spacing.top+this.viewport.height/2}),!this.onZoom)return!1;if(e=r.Num.max(e,0),this.m_bZoom)return!1;if(this.m_bZoom=!0,e=r.Num.max(this.onScrollZoomBounderies(e),0),this.m_bZoom=!1,e>0&&this.m_nZoom!==e){var h=r.Num.range(u.x-this.spacing.left-this.m_nOffsetLeft,0,this.viewport.width),d=r.Num.range(u.y-this.spacing.top-this.m_nOffsetTop,0,this.viewport.height),m=(0,r.isNumberFinite)(this.m_nZoomAnimationX)?this.m_nZoomAnimationX:this.left,f=(0,r.isNumberFinite)(this.m_nZoomAnimationY)?this.m_nZoomAnimationY:this.top,g=(0,r.isNumberFinite)(this.m_nZoomAnimationZ)?this.m_nZoomAnimationZ:this.zoom,y=r.Num.floor((this.m_nScrollLeft+h)/this.zoom*e-h),b=r.Num.floor((this.m_nScrollTop+d)/this.zoom*e-d),v=this.onScrollDimensions();return v?(this.m_nScrollWidth=r.Num.round(v.width*e),this.m_nScrollHeight=r.Num.round(v.height*e)):(this.m_nScrollWidth=r.Num.round(this.m_nScrollWidth/this.zoom*e),this.m_nScrollHeight=r.Num.round(this.m_nScrollHeight/this.zoom*e)),this.m_nScrollLeft=r.Num.range(y-this.m_nOffsetLeft,0,this.rangeHorizontal),this.m_nScrollTop=r.Num.range(b-this.m_nOffsetTop,0,this.rangeVertical),this.m_nZoom=e,this.m_bCentering&&(this.m_nOffsetLeft=this.centerLeft,this.m_nOffsetTop=this.centerTop),this.m_pZoomAnimation&&this.m_pZoomAnimation.stop(),o&&this.isInitialized?(this.m_nZoomAnimationX=m,this.m_nZoomAnimationY=f,this.m_nZoomAnimationZ=g,this.m_pZoomAnimation=new l.Animation({onAnimationStart:function(){t&&p.scrollZoomStart()},onAnimation:function(e){c?(p.m_nZoomAnimationX=m+e.cubicEaseOut(p.left-m),p.m_nZoomAnimationY=f+e.cubicEaseOut(p.top-f),p.m_nZoomAnimationZ=g+e.cubicEaseOut(p.zoom-g)):(p.m_nZoomAnimationX=m+e.linear(p.left-m),p.m_nZoomAnimationY=f+e.linear(p.top-f),p.m_nZoomAnimationZ=g+e.linear(p.zoom-g)),(0,s.write)((function(){p.applyPosition(p.m_nZoomAnimationX,p.m_nZoomAnimationY,!0),p.onScrollZoom(p.m_nZoomAnimationZ)})),i&&p.onScrollZoomChange(p.m_nZoomAnimationZ)},onAnimationEnd:function(e,t){p.m_pZoomAnimation=void 0,p.m_nZoomAnimationX=void 0,p.m_nZoomAnimationY=void 0,p.m_nZoomAnimationZ=void 0,t||(p.applyRules(),p.onScrollResize()),n&&p.scrollZoomEnd()},duration:a,start:!0})):((0,s.write)((function(){t&&p.scrollZoomStart(),p.applyPosition(p.left,p.top,!0),p.onScrollZoom(),n?p.scrollZoomEnd():i&&p.onScrollZoomChange()})),this.isInitialized&&(this.applyRules(),this.onScrollResize())),!0}return!1},i.prototype.applyPosition=function(e,t,i){var n=this;this.m_pScroll?(0,s.write)((function(){n.m_pScroll&&(n.m_pScroll.position({x:n.spacing.left+e,y:n.spacing.top+t}),n.onScrollMove(-e,-t))}),i):(e=r.Num.range(-e,0,this.rangeHorizontal),t=r.Num.range(-t,0,this.rangeVertical),(0,s.write)((function(){n.asset.scrollLeft=e,n.asset.scrollTop=t,n.onScrollMove(e,t)}),i,!0))},i.prototype.applyScroll=function(e,t,i){return void 0===i&&(i=!1),e=r.Num.floor(e),t=r.Num.floor(t),e===this.m_nScrollLeft&&t===this.m_nScrollTop||(this.m_nScrollLeft=e,this.m_nScrollTop=t,this.applyPosition(this.left,this.top,i),this.applyRules(),this.m_bScrolling&&this.onScrollChange()),0!==this.bounceHorizontal||0!==this.bounceVertical},i.prototype.applyOffset=function(e,t,i,n){var o=this;if(this.m_nOffsetLeft!==e||this.m_nOffsetTop!==t)if(i){var s=this.m_nOffsetLeft,a=this.m_nOffsetTop;this.m_pOffsetAnimation&&this.m_pOffsetAnimation.stop(),this.m_pOffsetAnimation=new l.Animation({onAnimation:function(i){o.applyOffset(s+i.quinticEaseOut(e-s),a+i.quinticEaseOut(t-a),!1,void 0)},onAnimationEnd:function(){o.m_pOffsetAnimation=void 0,n&&n()},duration:400,start:!0})}else this.m_nOffsetLeft=r.Num.round(e),this.m_nOffsetTop=r.Num.round(t),this.applyPosition(this.left,this.top,!1),n&&n()},i.prototype.applyRules=function(){var e=this;(0,r.cancelUITimeout)(this.m_nRules),this.m_nRules=(0,r.scheduleUITimeout)((function(){(0,s.write)((function(){var t=!1,i=!1;e.canScrollLeft!==e.m_bScrollLeft&&(e.asset.setClass(e.m_sScrollLeft,e.m_bScrollLeft=e.canScrollLeft),t=!0),e.canScrollRight!==e.m_bScrollRight&&(e.asset.setClass(e.m_sScrollRight,e.m_bScrollRight=e.canScrollRight),t=!0),e.canScrollUp!==e.m_bScrollUp&&(e.asset.setClass(e.m_sScrollUp,e.m_bScrollUp=e.canScrollUp),i=!0),e.canScrollDown!==e.m_bScrollDown&&(e.asset.setClass(e.m_sScrollDown,e.m_bScrollDown=e.canScrollDown),i=!0),t&&e.asset.setClass(e.m_sScrollHorizontal,e.m_bScrollLeft||e.m_bScrollRight),i&&e.asset.setClass(e.m_sScrollVertical,e.m_bScrollUp||e.m_bScrollDown),(t||i)&&e.asset.setClass(e.m_sScroll,e.m_bScrollLeft||e.m_bScrollRight||e.m_bScrollUp||e.m_bScrollDown)}))}),100)},i.prototype.hover=function(e,t){this.m_bHover!==e&&(this.m_bHover=e,(e||t)&&(this.m_bHovercanceled=!e),this.onScrollHover())},i.prototype.bounce=function(e,t,i){var n=this,o=e?this.bounceVertical:this.bounceHorizontal,s=r.DateTime.precise;if(0!==o&&0!==(e?this.m_nBounceVerticalHandle:this.m_nBounceHorizontalHandle))return!0;if(0!==o){var a=function(){var t=o-(0,p.quinticEaseOut)(400,r.DateTime.elapsed(s,!0),o,0),i=n.applyScroll(e?n.m_nScrollLeft:n.scrollLeft+(0!==r.Num.round(t)?t:0),e?n.scrollTop+(0!==r.Num.round(t)?t:0):n.m_nScrollTop)?(0,r.scheduleFrame)(a):0;e?n.m_nBounceVerticalHandle=i:n.m_nBounceHorizontalHandle=i,0===n.m_nKinetic&&0===n.m_nBounceHorizontalHandle&&0===n.m_nBounceVerticalHandle&&(n.m_nCaptured=0,n.scrollEnd())};return e?this.m_nBounceVerticalHandle=(0,r.scheduleFrame)(a):this.m_nBounceHorizontalHandle=(0,r.scheduleFrame)(a),this.m_nCaptured=t?r.DateTime.precise:0,!0}return e?this.m_nBounceVerticalHandle=(0,r.cancelFrame)(this.m_nBounceVerticalHandle):this.m_nBounceHorizontalHandle=(0,r.cancelFrame)(this.m_nBounceHorizontalHandle),0===this.m_nKinetic&&0===this.m_nBounceHorizontalHandle&&0===this.m_nBounceVerticalHandle&&(this.m_nCaptured=0,this.scrollEnd()),!1},i.prototype.kinetic=function(e){var t=this;if(this.scrollStop(),this.inertialScrolling){var i=e.isMouse?.4:.75,n=this.bounceHorizontal,o=this.bounceVertical,s=0,a=0,l=(0,r.castToBoolean)(this.horizontal&&3&this.m_nDirection&&(this.m_nBounceHorizontal===_.Always||this.rangeHorizontal>0)),c=(0,r.castToBoolean)(this.vertical&&5&this.m_nDirection&&(this.m_nBounceVertical===_.Always||this.rangeVertical>0));if(l&&(e.velocityX>M||e.velocityX<-150)&&(l=0!==(s=e.velocityX*i/(0!==n?10:1))),c&&(e.velocityY>M||e.velocityY<-150)&&(c=0!==(a=e.velocityY*i/(0!==o?10:1))),l||c){var u=r.DateTime.precise,p=l?u:0,h=c?u:0,d=0,m=0,f=u,g=u,y=this.m_nScrollLeft+(0,r.castToNumber)(s),v=this.m_nScrollTop+(0,r.castToNumber)(a),S=function(){var e=r.DateTime.elapsed(p,!0),i=r.DateTime.elapsed(h,!0),l=-s*Math.exp(-e/325),c=-a*Math.exp(-i/325);if(r.Num.min(e,i)<1300&&(l>1||l<-1||c>1||c<-1)){var M=t.m_nScrollLeft,I=t.m_nScrollTop;if(p>0){var T=0;M=y+(0,r.castToNumber)(l),t.m_nBounceHorizontal!==_.No?(M<0?T=M:M>t.rangeHorizontal&&(T=M-t.rangeHorizontal),T-=n,T/=b*(0!==n?1:3),T=r.Num.range(r.Num.round(T),-t.viewport.width,t.viewport.width)):(M<=0||M>=t.rangeHorizontal)&&(p=0),M=r.Num.range(M,0,t.rangeHorizontal)+n+T}if(h>0){var N=0;I=v+(0,r.castToNumber)(c),t.m_nBounceVertical!==_.No?(I<0?N=I:I>t.rangeVertical&&(N=I-t.rangeVertical),N-=o,N/=b*(0!==o?1:3),N=r.Num.range(r.Num.round(N),-t.viewport.height,t.viewport.height)):(I<=0||I>=t.rangeVertical)&&(h=0),I=r.Num.range(I,0,t.rangeVertical)+o+N}t.applyScroll(M,I)&&(p>0&&0!==t.bounceHorizontal&&(p-=10*r.DateTime.elapsed(u,!0)),h>0&&0!==t.bounceVertical&&(h-=10*r.DateTime.elapsed(u,!0))),d!==M?(d=M,f=r.DateTime.precise):r.DateTime.elapsed(f,!0)>100&&(p=0,n=t.bounceHorizontal),m!==I?(m=I,g=r.DateTime.precise):r.DateTime.elapsed(g,!0)>100&&(h=0,o=t.bounceVertical),t.m_nKinetic=(0,r.scheduleFrame)(S)}else t.m_nKinetic=0,p=0,h=0;0===p&&t.bounce(!1,!0,!1),0===h&&t.bounce(!0,!0,!1),u=r.DateTime.precise};this.m_nKinetic=(0,r.scheduleFrame)(S),this.m_nCaptured=r.DateTime.precise}}0===this.m_nKinetic&&(this.bounce(!1,!0,!1),this.bounce(!0,!0,!1))},i.prototype.scroll=function(e,n,o){var s,a,l,c,u=this,p=this.m_nCaptured>0&&r.DateTime.elapsed(this.m_nCaptured,!0)<t.TIMEOUT,h=e.isTouch?t.SENSITIVITY_TOUCH:t.SENSITIVITY_MOUSE,d=e.diffX,m=e.diffY,f=!1;if(this.scrollStop(n),n){if(Math.abs(e.radius)>=5){var g=Math.abs(e.angle);r.Num.inRange(g,20,160)&&!r.Num.inRange(g,70,110)&&(f=!0)}this.calibrate(),this.measure(!1,(function(){u.m_nBounceHorizontal!==_.No&&(u.m_nScrollX<0?u.m_nScrollX*=b:u.m_nScrollX>u.rangeHorizontal&&(u.m_nScrollX=u.rangeHorizontal+(u.m_nScrollX-u.rangeHorizontal)*b)),u.m_nBounceVertical!==_.No&&(u.m_nScrollY<0?u.m_nScrollY*=b:u.m_nScrollY>u.rangeVertical&&(u.m_nScrollY=u.rangeVertical+(u.m_nScrollY-u.rangeVertical)*b))}),p),i.edgeDetectionStop()}if(!n&&o||this.scrollDirection(1),s=this.horizontal&&(0,r.castToBoolean)(3&this.m_nDirection)&&(this.m_nBounceHorizontal===_.Always||this.rangeHorizontal>0),a=this.vertical&&(0,r.castToBoolean)(5&this.m_nDirection)&&(this.m_nBounceVertical===_.Always||this.rangeVertical>0),l=s&&(p||(n?Math.abs(f?e.radius:d)>=h:0!==d)),c=a&&(p||(n?Math.abs(f?e.radius:m)>=h:0!==m)),l||c){var y=0,v=0;return n&&(d=r.Num.range(d,-1,1),m=r.Num.range(m,-1,1),this.lockDirection&&o&&!p&&(this.scrollDirection(f||l&&c?1:c?4:2),l=l&&(0,r.castToBoolean)(3&this.m_nDirection),c=c&&(0,r.castToBoolean)(5&this.m_nDirection))),y=l?this.m_nScrollX-d:this.m_nScrollLeft,v=c?this.m_nScrollY-m:this.m_nScrollTop,this.emit({event:function(){var t=!0;return y=r.Num.range(y,0,u.rangeHorizontal)+(u.m_nBounceHorizontal!==_.No&&s?r.Num.range((0,r.castToNumber)((y<0?y:y>u.rangeHorizontal?y-u.rangeHorizontal:0)/b),-u.viewport.width,u.viewport.width):0),v=r.Num.range(v,0,u.rangeVertical)+(u.m_nBounceVertical!==_.No&&a?r.Num.range((0,r.castToNumber)((v<0?v:v>u.rangeVertical?v-u.rangeVertical:0)/b),-u.viewport.height,u.viewport.height):0),n&&(!(t=u.m_nScrollLeft!==y||u.m_nScrollTop!==v)&&l&&(u.m_nBounceHorizontal===_.Always||u.m_nBounceHorizontal===_.Yes&&u.rangeHorizontal>0)&&(t=!0),!t&&c&&(u.m_nBounceVertical===_.Always||u.m_nBounceVertical===_.Yes&&u.rangeVertical>0)&&(t=!0),t)?(e.reinit(1),!0):!!t&&(u.applyScroll(y,v),u.scrollStart(),!0)},asynchronous:!n,cancelable:!n})}return!1},i.prototype.scrollDirection=function(e){e!==this.m_nDirection&&(this.m_nDirection=e,this.onScrollDirection())},i.prototype.scrollStop=function(e){void 0===e&&(e=!1),this.m_nCaptured=0,(0!==this.m_nBounceHorizontalHandle||0!==this.m_nBounceVerticalHandle||0!==this.m_nKinetic||this.m_pScrollAnimation)&&(this.m_nKinetic=(0,r.cancelFrame)(this.m_nKinetic),this.m_nBounceHorizontalHandle=(0,r.cancelFrame)(this.m_nBounceHorizontalHandle),this.m_nBounceVerticalHandle=(0,r.cancelFrame)(this.m_nBounceVerticalHandle),this.m_pScrollAnimation&&this.m_pScrollAnimation.stop(),e&&this.scrollEnd())},i.prototype.scrollActivate=function(e){void 0===e&&(e=!1),(e||o.Touch.isScrolling)&&(this.m_pFocus?this.m_pFocus.focus():this.onScrollActivate())},i.prototype.scrollZoomStart=function(){this.scrollStop(this.m_bScrolling),this.m_bZoomStart||(this.m_bZoomStart=!0,this.onScrollZoomStart())},i.prototype.scrollZoomEnd=function(){this.m_bZoomStart&&(this.m_bZoomStart=!1,this.onScrollZoomEnd())},i.prototype.scrollStart=function(){this.m_bScrolling||(this.m_bScrolling=!0,this.onScrollStart(),h.Hover.disable())},i.prototype.scrollEnd=function(){this.m_bScrolling&&(this.m_bScrolling=!1,this.onScrollEnd(),h.Hover.enable())},i.prototype.scrollHorizontal=function(e,t){var i=this;void 0===t&&(t=!0),e=r.Num.range(e,0,this.rangeHorizontal),this.horizontal&&e!==this.scrollLeft&&(this.scrollStop(),this.emit({event:function(){i.applyScroll(e,i.scrollTop)},asynchronous:!t,cancelable:!0}))},i.prototype.scrollVertical=function(e,t){var i=this;void 0===t&&(t=!0),e=r.Num.range(e,0,this.rangeVertical),this.vertical&&e!==this.scrollTop&&(this.scrollStop(),this.emit({event:function(){i.applyScroll(i.scrollLeft,e)},asynchronous:!t,cancelable:!0}))},i.prototype.onScrollInit=function(){this.emitHook("OnScrollInit",{scroll:this}),(0,r.call)(this.onInit,this)},i.prototype.onScrollDimensions=function(){if(!this.native)return(0,r.call)(this.onDimensions,this)},i.prototype.onScrollViewport=function(){return(0,r.call)(this.onViewport,this)},i.prototype.onScrollResize=function(){this.emitHook("OnScrollResize",{scroll:this}),(0,r.call)(this.onResize,this)},i.prototype.onScrollDirection=function(){this.emitHook("OnScrollDirection",{scroll:this}),(0,r.call)(this.onDirection,this)},i.prototype.onScrollFocus=function(){this.emitHook("OnScrollFocus",{scroll:this}),this.emit({event:this.onFocus,asynchronous:!0,arguments:[this]})},i.prototype.onScrollActivate=function(){this.emitHook("OnScrollActivate",{scroll:this}),this.emit({event:this.onActivate,asynchronous:!0,arguments:[this]})},i.prototype.onScrollHover=function(){this.emitHook("OnScrollHover",{scroll:this}),this.emit({event:this.onHover,asynchronous:!0,arguments:[this.isHovered,this]})},i.prototype.onScrollStart=function(){this.scrollActivate(),this.emitHook("OnScrollStart",{scroll:this}),this.emit({event:this.onStart,asynchronous:!0,arguments:[this]})},i.prototype.onScrollChange=function(){this.emitHook("OnScrollChange",{scroll:this}),this.emit({event:this.onChange,asynchronous:!0,cancelable:!0,arguments:[this]})},i.prototype.onScrollMove=function(e,t){(0,r.call)(this.onScroll,e,t,this)},i.prototype.onScrollEnd=function(){this.emitHook("OnScrollEnd",{scroll:this}),this.emit({event:this.onEnd,asynchronous:!0,arguments:[this]})},i.prototype.onScrollZoomBounderies=function(e){return(0,r.castToFloat)((0,r.call)(this.onZoomBounderies,e,this),e)},i.prototype.onScrollZoomStart=function(){this.scrollActivate(),this.emitHook("OnZoomStart",{scroll:this}),this.emit({event:this.onZoomStart,asynchronous:!0,arguments:[this.zoom,this]})},i.prototype.onScrollZoom=function(e){this.onZoom&&this.onZoom(e||this.zoom,this)},i.prototype.onScrollZoomChange=function(e){this.emitHook("OnZoomChange",{scroll:this,zoom:e||this.zoom}),this.emit({event:this.onZoomChange,cancelable:!0,asynchronous:!0,arguments:[e||this.zoom,this]})},i.prototype.onScrollZoomEnd=function(){this.emitHook("OnZoomEnd",{scroll:this}),this.emit({event:this.onZoomEnd,asynchronous:!0,arguments:[this.zoom,this]})},i.prototype.onScrollZoomWheel=function(e){return(0,r.castToFloat)((0,r.call)(this.onZoomWheel,e,this),.1)},i.prototype.init=function(){var e=this;this.m_nInitializing=(0,r.cancelFrame)(this.m_nInitializing),!this.m_bInitializing||this.isInitialized||this.isDetached||(this.asset.isInDOM?this.measure(!1):this.m_nInitializing=(0,r.scheduleFrame)((function(){e.m_nInitializing=0,e.init()})))},i.prototype.update=function(e,i){var n=this;void 0===e&&(e=!0),void 0===i&&(i=t.SCROLL_DURATION),this.m_nUpdate=(0,r.cancelUITimeout)(this.m_nUpdate),i>0?this.m_nUpdate=(0,r.scheduleUITimeout)((function(){n.update(e,0),n.m_nUpdate=0}),i):!this.isDetached&&this.isInitialized&&this.measure(e,(function(){var e;return e=n.bounce(!1,!1,!0),e=n.bounce(!0,!1,!0)||e}))},i.prototype.reset=function(){this.scrollStop(),this.applyScroll(0,0)},i.prototype.scrollTo=function(e,i,n,o,s,a){var c=this;return void 0===n&&(n=!0),void 0===o&&(o=!1),void 0===s&&(s=!1),void 0===a&&(a=!0),this.measure(n,(function(){var u=c.m_nScrollLeft,p=c.m_nScrollTop,h=c.horizontal?r.Num.range(e,0,c.rangeHorizontal):c.scrollLeft,d=c.vertical?r.Num.range(i,0,c.rangeVertical):c.scrollTop;return a&&!s&&n&&(c.horizontal&&c.m_nBounceHorizontal!==_.No&&(c.m_nBounceHorizontal===_.Always||c.rangeHorizontal>0)&&(e<0||e>c.rangeHorizontal)&&(h+=r.Num.range((0,r.castToNumber)((e<0?e:e>c.rangeHorizontal?e-c.rangeHorizontal:0)/b),-c.viewport.width,c.viewport.width)),c.vertical&&c.m_nBounceVertical!==_.No&&(c.m_nBounceVertical===_.Always||c.rangeVertical>0)&&(i<0||i>c.rangeVertical)&&(d+=r.Num.range((0,r.castToNumber)((i<0?i:i>c.rangeVertical?i-c.rangeVertical:0)/b),-c.viewport.height,c.viewport.height))),h=r.Num.floor(h),d=r.Num.floor(d),(h!==u||d!==p)&&(c.scrollStop(),!s&&n?(c.scrollDirection(h!==u&&d!==p?1:h!==u?2:4),c.m_pScrollAnimation=new l.Animation({onAnimationStart:function(){c.scrollStart()},onAnimation:function(e){var t,i;o?(t=e.exponentialEaseOut(h-u),i=e.exponentialEaseOut(d-p)):(t=e.cubicEaseInOut(h-u),i=e.cubicEaseInOut(d-p)),c.applyScroll(u+t,p+i)},onAnimationEnd:function(){c.m_pScrollAnimation=void 0,c.bounce(!1,!0,!1),c.bounce(!0,!0,!1)},duration:t.SCROLL_DURATION,start:!0})):c.emit({event:function(){c.applyScroll(h,d)},asynchronous:!s,cancelable:!0}),!0)}),this.isInitialized&&(o||s))},i.prototype.scrollShift=function(e,t,i,n,o,r){return void 0===i&&(i=!0),void 0===n&&(n=!1),void 0===o&&(o=!1),void 0===r&&(r=!0),this.scrollTo(this.scrollLeft+e,this.scrollTop+t,i,n,o,r)},i.prototype.scrollToAsset=function(e,t,i,n,o,a,l){var c=this;void 0===t&&(t=!0),void 0===i&&(i=20),void 0===n&&(n=20),void 0===o&&(o=20),void 0===a&&(a=20),void 0===l&&(l=!1);for(var u=e.parent;u&&!this.asset.isEqual(u);)u=u.parent;u&&((0,s.revoke)(this.m_nMeasureAsset),this.measure(t,(function(){c.m_nMeasureAsset=(0,s.read)((function(){var s=e.rectangle;if(c.m_nMeasureAsset=0,s.width>0&&s.height>0){var u=0,p=0,h=r.Num.inRange(s.left-i,c.viewport.left,c.viewport.right),d=r.Num.inRange(s.right+o,c.viewport.left,c.viewport.right),m=r.Num.inRange(s.top-n,c.viewport.top,c.viewport.bottom),f=r.Num.inRange(s.bottom+a,c.viewport.top,c.viewport.bottom),g=d||s.left-i<c.viewport.left&&s.right+o>c.viewport.right,y=f||s.top-n<c.viewport.top&&s.bottom+a>c.viewport.bottom;if(!(l&&g||h&&d))s.width+i+o<=c.viewport.width?s.left-i<c.viewport.left?u=s.left-i-c.viewport.left:s.right+o>c.viewport.right&&(u=s.right+o-c.viewport.right):(u=s.left-c.viewport.left,u-=r.Num.max(c.viewport.width-s.width,0)/2||a);if(!(l&&y||m&&f))s.height+n+a<=c.viewport.height?s.top-n<c.viewport.top?p=s.top-n-c.viewport.top:s.bottom+a>c.viewport.bottom&&(p=s.bottom+a-c.viewport.bottom):(p=s.top-c.viewport.top,p-=r.Num.max(c.viewport.height-s.height,0)/2||n);0===u&&0===p||c.scrollShift(u,p,t,!1,!1,!1)}}))})))},i.prototype.scrollToTop=function(){return this.scrollTo(this.scrollLeft,0,!0,!0)},i.prototype.scrollToBottom=function(){return this.scrollTo(this.scrollLeft,this.rangeVertical,!0,!0)},i.prototype.scrollToTopOrBottom=function(){return this.scrollTop>0?this.scrollToTop():this.scrollToBottom()},i.prototype.scrollToLeft=function(){return this.scrollTo(0,this.scrollTop,!0,!0)},i.prototype.scrollToRight=function(){return this.scrollTo(this.rangeHorizontal,this.scrollTop,!0,!0)},i.prototype.scrollToLeftOrRight=function(){return this.scrollLeft>0?this.scrollToLeft():this.scrollToRight()},i.prototype.scrollPageUp=function(){return this.scrollTo(this.scrollLeft,this.scrollTop-this.viewport.roundedHeight,!0,!0,!1,!1)},i.prototype.scrollPageDown=function(){return this.scrollTo(this.scrollLeft,this.scrollTop+this.viewport.roundedHeight,!0,!0,!1,!1)},i.prototype.scrollPageLeft=function(){return this.scrollTo(this.scrollLeft-this.viewport.roundedWidth,this.scrollTop,!0,!0,!1,!1)},i.prototype.scrollPageRight=function(){return this.scrollTo(this.scrollLeft+this.viewport.roundedWidth,this.scrollTop,!0,!0,!1,!1)},i.prototype.scrollInchUp=function(){return this.scrollTo(this.scrollLeft,this.scrollTop-96,!0,!0,!1,!1)},i.prototype.scrollInchDown=function(){return this.scrollTo(this.scrollLeft,this.scrollTop+96,!0,!0,!1,!1)},i.prototype.scrollInchLeft=function(){return this.scrollTo(this.scrollLeft-96,this.scrollTop,!0,!0,!1,!1)},i.prototype.scrollInchRight=function(){return this.scrollTo(this.scrollLeft+96,this.scrollTop,!0,!0,!1,!1)},i.prototype.zoomTo=function(e,t,i,n,o){return void 0===t&&(t=this.m_bZoomAnimations),void 0===i&&(i=y),void 0===n&&(n=!0),this.applyZoom(e,!0,!0,!0,t,i,n,o)},i.prototype.zoomToPercentage=function(e,t,i,n,o){return void 0===t&&(t=this.m_bZoomAnimations),void 0===i&&(i=y),void 0===n&&(n=!0),this.zoomTo(.01*r.Num.max(e,0),t,i,n,o)},i.prototype.zoomToMax=function(e,t,i,n){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(this.zoomMax,!0,!0,!0,e,t,i,n)},i.prototype.zoomToMin=function(e,t,i,n){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(this.zoomMin,!0,!0,!0,e,t,i,n)},i.prototype.zoomToFit=function(e,t,i){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(this.zoomFit,!0,!0,!0,e,t,i)},i.prototype.zoomToFitHorizontal=function(e,t,i){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(this.zoomFitHorizontal,!0,!0,!0,e,t,i)},i.prototype.zoomToFitVertical=function(e,t,i){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(this.zoomFitVertical,!0,!0,!0,e,t,i)},i.prototype.zoomToActual=function(e,t,i,n){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.applyZoom(1,!0,!0,!0,e,t,i,n)},i.prototype.zoomToggle=function(e,t,i,n){return void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0),this.zoomToActual(e,t,i,n)||this.zoomToFit(e,t,i)},i.prototype.zoomIn=function(e,t,i,n){void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0);var o=this.zoom+(1-this.zoomMin)/9;return this.applyZoom(o,!0,!0,!0,e,t,i,n)},i.prototype.zoomOut=function(e,t,i,n){void 0===e&&(e=this.m_bZoomAnimations),void 0===t&&(t=y),void 0===i&&(i=!0);var o=this.zoom-(1-this.zoomMin)/9;return this.applyZoom(o,!0,!0,!0,e,t,i,n)},i.prototype.zoomCrawl=function(e,t){var i=this;if(this.m_sZoomCrawl!==e&&(this.zoomCrawlStop(),"stop"!==e&&this.zoomMax-this.zoomMin>0)){var n=t/(this.zoomMax-this.zoomMin),o="in"===e?this.zoomMax-this.zoom:-(this.zoom-this.zoomMin),r=this.zoom;this.m_sZoomCrawl=e,this.m_pZoomCrawl=new l.Animation({onAnimation:function(e){i.zoom=r+e.linear(o)},onAnimationEnd:function(){i.m_pZoomCrawl=void 0,i.m_sZoomCrawl="stop"},duration:Math.abs(o*n),start:!0})}},i.prototype.zoomCrawlStop=function(){this.m_sZoomCrawl="stop",this.m_pZoomCrawl&&(this.m_pZoomCrawl.stop(),this.m_pZoomCrawl=void 0)},i.prototype.cancelHover=function(){this.hover(!1,!0)},i.prototype.focus=function(){this.m_pFocus&&this.m_pFocus.focus()},i.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},i.prototype.onDestroy=function(){return i.data.scroll===this&&i.terminate(),this.zoomCrawlStop(),this.scrollStop(),(0,s.revoke)(this.m_nMeasureScroll),(0,s.revoke)(this.m_nMeasureAsset),(0,s.revoke)(this.m_nReflect),this.m_pZoomAnimation&&this.m_pZoomAnimation.stop(),this.m_pOffsetAnimation&&this.m_pOffsetAnimation.stop(),this.asset.off("mouseenter"),this.asset.off("mouseleave"),this.asset.off("scroll"),this.m_nInitializing=(0,r.cancelFrame)(this.m_nInitializing),this.m_nRules=(0,r.cancelUITimeout)(this.m_nRules),this.m_nUpdate=(0,r.cancelUITimeout)(this.m_nUpdate),this.m_pScroll=void 0,e.prototype.onDestroy.call(this)},i.m_nUpdate=0,i.m_nEdgeDetection=0,i}(o.Controller);t.Scroll=S},23878:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Stroke=void 0;var n=i(57099);Object.defineProperty(t,"Stroke",{enumerable:!0,get:function(){return n.Stroke}});var o=i(57099);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.Stroke}})},57099:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stroke=void 0;var n=i(70655),o=i(27636),r=function(e){function t(i,n,o,r,s){void 0===o&&(o=!1);var a=e.call(this,t,i,"multiple",s,r)||this;return a.m_bBubble=o,a.on=n,a}return(0,n.__extends)(t,e),Object.defineProperty(t,"id",{get:function(){return"Stroke"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.m_nType||(this.m_nType=o.Controller.createType())},enumerable:!1,configurable:!0}),t.processor=function(e){var t=this;~9&e||1===o.Touch.touches&&o.Point.controllers(o.Touch.firstPoint,this.types,"bubble",(function(e,i){return!(e.isDisabled||!e.onStroke({asset:e.asset,offset:i.translateToAsset(e.asset),isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen})||e.m_bBubble)&&(o.Touch.claim(t.types),!0)}))},t.on=function(e,i,n,o,r){return void 0===n&&(n=!1),new t(e,i,n,o,r)},t.prototype.onStroke=function(e){return this.emitHook("OnStroke",e),this.emit({event:this.on,payload:e})},t}(o.Controller);t.Stroke=r},15661:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TAP_SINGLE_DOUBLE_GAP=t.TAP_DOUBLE_TIMEOUT=t.TAP_SINGLE_TIMEOUT=t.Tap=void 0;var n=i(69271);Object.defineProperty(t,"Tap",{enumerable:!0,get:function(){return n.Tap}});var o=i(69271);Object.defineProperty(t,"TAP_SINGLE_TIMEOUT",{enumerable:!0,get:function(){return o.TIMEOUT_TAP}}),Object.defineProperty(t,"TAP_DOUBLE_TIMEOUT",{enumerable:!0,get:function(){return o.TIMEOUT_DOUBLETAP}}),Object.defineProperty(t,"TAP_SINGLE_DOUBLE_GAP",{enumerable:!0,get:function(){return o.TIMEOUT_GAP}})},69271:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tap=t.TIMEOUT_DOUBLETAP=t.TIMEOUT_GAP=t.TIMEOUT_TAP=void 0;var n=i(70655),o=i(84389),r=i(29891),s=i(27636);t.TIMEOUT_TAP=300,t.TIMEOUT_GAP=200,t.TIMEOUT_DOUBLETAP=300;var a=function(e){function i(t,n,o,r,a,l,c){void 0===a&&(a=!1);var u=e.call(this,i,t,"multiple",c,l,a?i.tapDouble:i.tapSingle)||this;return u.m_nTapped=0,u.m_nCount=0,u.m_nButtons=0,u.on=n,u.onStart=o,u.onEnd=r,s.Touch.implement("tap",i.tapSingle),s.Touch.implement("doubletap",i.tapDouble),u}return(0,n.__extends)(i,e),Object.defineProperty(i,"tapSingle",{get:function(){return this.m_nTapSingle||(this.m_nTapSingle=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(i,"tapDouble",{get:function(){return this.m_nTapDouble||(this.m_nTapDouble=s.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(i,"id",{get:function(){return"Tap"},enumerable:!1,configurable:!0}),Object.defineProperty(i,"types",{get:function(){return this.tapSingle|this.tapDouble},enumerable:!1,configurable:!0}),Object.defineProperty(i,"priority",{get:function(){return 2},enumerable:!1,configurable:!0}),Object.defineProperty(i,"state",{get:function(){var e=this;return this.m_pState||(this.m_pState=new r.Stepper((function(){2===e.state.step?e.onEnd():e.onStart()}),(function(){e.onEnd()})))},enumerable:!1,configurable:!0}),i.onStart=function(){var e=this;s.Point.controllers(s.Touch.firstPoint,this.tapSingle|this.tapDouble,"stop",(function(t,i){if(t.m_nButtons=i.buttons,!t.isDisabled){var n={tap:t,asset:t.asset,offset:i.translateToAsset(t.asset),isMouse:i.isMouse,isTouch:i.isTouch,isPen:i.isPen,buttons:i.buttons};t.onTapStart(n),e.m_pEvents.push(n)}}))},i.onEnd=function(){(0,o.each)(this.m_pEvents.splice(0,this.m_pEvents.length),(function(e){e.tap&&e.tap.onTapEnd(e)}))},i.processor=function(e){var i=this;if(!(-46&e)){if(!this.state.isStopped){var n=s.Touch.firstPoint;switch(this.state.step){case 0:1===s.Touch.touches&&n&&(n.isTouch||513&n.buttons)&&this.state.next();break;case 1:case 3:if(0===s.Touch.touches&&1===s.Touch.touched&&n&&n.clicks<=2&&(!n.implements("snap")&&1===this.state.step||n.duration<=(3===this.state.step?t.TIMEOUT_DOUBLETAP:t.TIMEOUT_TAP))&&n.radius<=(n.isTouch?15:10))if(1===this.state.step){var o=(n.implements("doubletap")||n.implements("snap"))&&n.duration<=t.TIMEOUT_TAP;o&&this.state.next(2,n.currentPosition),this.state.invoke((function(){s.Touch.claim(i.tapSingle),s.Point.controllers(n,i.tapSingle,"stop",(function(e,t){return e.tap(t)}))}),o?t.TIMEOUT_GAP:0)}else(2===n.clicks||n.distance(this.state.payload)<=(n.isTouch?42:10))&&this.state.invoke((function(){s.Touch.claim(i.tapDouble),s.Point.controllers(n,i.tapDouble,"stop",(function(e,t){return e.tap(t)}))}));else 1!==s.Touch.touches&&this.state.stop();break;case 2:1===s.Touch.touches&&n&&n.clicks<=2&&(n.isTouch||513&n.buttons)?this.state.next():this.state.stop()}}0===s.Touch.touches&&2!==this.state.step&&this.terminate()}},i.terminate=function(){this.state.reset()},i.on=function(e,t,n,o,r,s,a){return void 0===r&&(r=!1),new i(e,t,n,o,r,s,a)},i.single=function(e,t,i,n,o,r){return this.on(e,t,i,n,!1,o,r)},i.double=function(e,t,i,n,o,r){return this.on(e,t,i,n,!0,o,r)},Object.defineProperty(i.prototype,"isAllowed",{get:function(){return!this.isDisabled&&o.DateTime.elapsed(this.m_nTapped,!0)>t.TIMEOUT_TAP&&(this.m_nTapped=o.DateTime.precise,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"count",{get:function(){return this.m_nCount},enumerable:!1,configurable:!0}),i.prototype.tap=function(e){return!!this.isAllowed&&(this.m_nCount++,this.onTap({tap:this,asset:this.asset,offset:e.translateToAsset(this.asset),isMouse:e.isMouse,isTouch:e.isTouch,isPen:e.isPen,buttons:this.m_nButtons}),!0)},i.prototype.onTap=function(e){this.emitHook("OnTap",e),this.emit({event:this.on,payload:e})},i.prototype.onTapStart=function(e){this.emitHook("OnTapStart",e),(0,o.call)(this.onStart,e)},i.prototype.onTapEnd=function(e){this.emitHook("OnTapEnd",e),(0,o.call)(this.onEnd,e)},i.m_pEvents=[],i}(s.Controller);t.Tap=a},20294:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wheel=void 0;var n=i(31450);Object.defineProperty(t,"Wheel",{enumerable:!0,get:function(){return n.Wheel}})},31450:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wheel=void 0;var n=i(70655),o=i(84389),r=i(27636),s=function(e){function t(i,n,o,r){var s=e.call(this,t,i,"single",r,o)||this;return s.on=n,s}return(0,n.__extends)(t,e),Object.defineProperty(t,"id",{get:function(){return"Wheel"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"types",{get:function(){return this.m_nType||(this.m_nType=r.Controller.createType())},enumerable:!1,configurable:!0}),Object.defineProperty(t,"priority",{get:function(){return 4},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isLocked",{get:function(){return 0!==this.m_nLock&&(!(this.m_nLock<o.DateTime.precise)||(this.m_nLock=0,!1))},enumerable:!1,configurable:!0}),t.processor=function(e){var t,i=this;-65&e?32&e&&this.lock():!(t=r.Touch.firstPoint)||0===t.wheelX&&0===t.wheelY||this.isLocked||t.forEachController((function(e,t){return!(e.isDisabled||!e.onWheel({wheel:t.wheelY,wheelX:t.wheelX,wheelY:t.wheelY,buttons:t.buttons,offset:t.translateToAsset(e.asset),asset:e.asset}))&&(r.Touch.capture(i.types),!0)}),this.types)},t.lock=function(e){this.m_nLock=o.Num.max(o.DateTime.precise+(e||300),this.m_nLock)},t.on=function(e,i,n,o){return new t(e,i,n,o)},t.prototype.onWheel=function(e){return this.emitHook("OnWheel",e),this.emit({event:this.on,payload:e})},t.m_nLock=0,t}(r.Controller);t.Wheel=s},25742:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Buttons=void 0,function(e){e[e.None=0]="None",e[e.MouseLeft=1]="MouseLeft",e[e.MouseRight=2]="MouseRight",e[e.MouseMiddle=4]="MouseMiddle",e[e.MouseBack=8]="MouseBack",e[e.MouseForward=16]="MouseForward",e[e.KeyboardShift=32]="KeyboardShift",e[e.KeyboardCtrl=64]="KeyboardCtrl",e[e.KeyboardAlt=128]="KeyboardAlt",e[e.KeyboardMeta=256]="KeyboardMeta",e[e.PenContact=512]="PenContact",e[e.PenContactWithBarrel=1024]="PenContactWithBarrel",e[e.PenEraser=2048]="PenEraser"}(t.Buttons||(t.Buttons={}))},38011:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Directions=void 0,function(e){e[e.Bidirectional=1]="Bidirectional",e[e.Horizontal=2]="Horizontal",e[e.Vertical=4]="Vertical"}(t.Directions||(t.Directions={}))},89015:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Events=void 0,function(e){e[e.OnTouchStart=1]="OnTouchStart",e[e.OnTouchMove=2]="OnTouchMove",e[e.OnTouchEnd=4]="OnTouchEnd",e[e.OnMouseDown=8]="OnMouseDown",e[e.OnMouseMove=16]="OnMouseMove",e[e.OnMouseUp=32]="OnMouseUp",e[e.OnMouseWheel=64]="OnMouseWheel"}(t.Events||(t.Events={}))},13751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Priorities=void 0,function(e){e[e.Lowest=1]="Lowest",e[e.Low=2]="Low",e[e.Normal=3]="Normal",e[e.High=4]="High",e[e.Highest=5]="Highest"}(t.Priorities||(t.Priorities={}))},27636:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Priorities=t.Events=t.Directions=t.Buttons=t.Point=t.Controller=t.Touch=void 0;var n=i(1330);Object.defineProperty(t,"Touch",{enumerable:!0,get:function(){return n.Coordinator}});var o=i(91055);Object.defineProperty(t,"Controller",{enumerable:!0,get:function(){return o.Controller}});var r=i(95937);Object.defineProperty(t,"Point",{enumerable:!0,get:function(){return r.Point}});var s=i(25742);Object.defineProperty(t,"Buttons",{enumerable:!0,get:function(){return s.Buttons}});var a=i(38011);Object.defineProperty(t,"Directions",{enumerable:!0,get:function(){return a.Directions}});var l=i(89015);Object.defineProperty(t,"Events",{enumerable:!0,get:function(){return l.Events}});var c=i(13751);Object.defineProperty(t,"Priorities",{enumerable:!0,get:function(){return c.Priorities}})},91055:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(22270),a=i(29165),l=i(1330),c=function(e){function t(i,n,o,r,s,a){var c=e.call(this)||this;if(c.m_nCallee=0,c.m_bActive=!1,c.m_bDisabled=!1,c.m_bDetached=!1,c.m_pStylesheet=r||l.Coordinator.stylesheet,c.m_pAsset=t.prepareAsset(n,c.stylesheet),0===(a=a||i.types))throw new Error("Touch.Controller: Controller type is invalid.");if(!c.asset.exists)throw new Error("Touch.Controller: One or more assets are invalid.");if("multiple"!==o&&l.Coordinator.first(c.asset,a))throw new Error("Touch.Controller: Multiple controllers of type `"+i.id+"` on the same asset are not supported.");return c.m_nId=l.Coordinator.enumerator,c.m_nType=a,c.m_pArea=s,l.Coordinator.register(i,c),c}return(0,n.__extends)(t,e),t.prepareAsset=function(e,t){var i=r.Asset.of(e);return i.style({touchAction:"none","-webkit-touch-callout":"none","-webkit-tap-highlight-color":"transparent"},t),i.attribute("x-ms-format-detection","none"),i},t.createType=function(){return this.m_pTypes.flag},Object.defineProperty(t.prototype,"rectangle",{get:function(){return this.asset.rectangle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.m_nId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_nType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"asset",{get:function(){return this.m_pAsset},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"area",{get:function(){return this.m_pArea instanceof s.Coordinate?this.m_pArea:this.m_pArea?this.m_pArea():new s.Coordinate},set:function(e){this.m_pArea=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this.m_bActive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled||l.Coordinator.isDisabled},set:function(e){e!==this.m_bDisabled&&(this.m_bDisabled=e,e&&this.cancel())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDetached",{get:function(){return this.m_bDetached},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.m_bActive=!0},t.prototype.deactivate=function(){this.m_bActive=!1},t.prototype.emit=function(e){var t=this;if((0,o.isBoolean)(e.activate)&&(this.m_bActive=e.activate),(0,o.isFunction)(e.event)){var i=function(){return t.m_nCallee=0,e.arguments?(0,o.castToBoolean)(o.call.apply(void 0,(0,n.__spreadArray)([e.event],e.arguments,!1)),!0):(0,o.castToBoolean)((0,o.call)(e.event,e.payload),!0)};if(this.m_nCallee=(0,o.cancelFrame)(this.m_nCallee),!(0,o.castToBoolean)(e.asynchronous))return i();var r=(0,o.scheduleFrame)(i);(0,o.castToBoolean)(e.cancelable)&&(this.m_nCallee=r)}return!0},t.prototype.onRegister=function(){this.m_bDetached=!1},t.prototype.onDestroy=function(){return!this.m_bDetached&&(e.prototype.destroy.call(this),this.m_bDetached=!0,!0)},t.prototype.enable=function(){this.isDisabled=!1},t.prototype.disable=function(){this.isDisabled=!0},t.prototype.cancel=function(){this.isActive&&(l.Coordinator.terminate(this.type),this.deactivate())},t.prototype.destroy=function(){l.Coordinator.unregister(this)},t.m_pTypes=new o.Flags,t}(a.Hooks);t.Controller=c},1330:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coordinator=t.ATTRIBUTE_MODE=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(95349),a=i(95937),l=i(91055),c=i(24368),u="touch-id",p="touch-controllers";t.ATTRIBUTE_MODE="touch-mode";var h=function(){function e(){}return Object.defineProperty(e,"throttle",{get:function(){var e=this;return this.m_pThrottle||(this.m_pThrottle=new o.Throttle((function(t){return e.cycle(t)})))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"enumerator",{get:function(){return this.m_pEnumerator.n},enumerable:!1,configurable:!0}),Object.defineProperty(e,"count",{get:function(){return this.m_nCount},enumerable:!1,configurable:!0}),Object.defineProperty(e,"touches",{get:function(){return this.m_nTouches},enumerable:!1,configurable:!0}),Object.defineProperty(e,"touched",{get:function(){return(0,o.arraySize)(this.m_pPoints)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"captured",{get:function(){return this.m_nCaptured},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isListening",{get:function(){return this.m_pAssets.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){this.m_bDisabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isDragging",{get:function(){return 0!==this.touches&&(0,o.castToBoolean)(this.captured&this.implements("drag"))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isScrolling",{get:function(){return 0!==this.touches&&(0,o.castToBoolean)(this.captured&this.implements("scroll"))},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isTouch",{get:function(){var e=this.firstPoint;return!!(e&&e.isActive&&e.isTouch)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"wasTouched",{get:function(){return this.isTouch||o.DateTime.precise-this.m_nTouched<100},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isMouse",{get:function(){var e=this.firstPoint;return!!(e&&e.isActive&&e.isMouse)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isPen",{get:function(){var e=this.firstPoint;return!!(e&&e.isActive&&e.isPen)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isInput",{get:function(){var e=this.assetWithPhysicalFocus;return e instanceof r.Asset&&this.isInputElement(e.tagName)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"supportsPointerEvents",{get:function(){return!(!window.PointerEvent&&!this.m_bPointerEvents)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"points",{get:function(){return this.m_pPoints},enumerable:!1,configurable:!0}),Object.defineProperty(e,"firstPoint",{get:function(){return this.pointFromIndex(0)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"secondPoint",{get:function(){return this.pointFromIndex(1)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"assetWithVirtualFocus",{get:function(){return this.m_pFocusVirtual},enumerable:!1,configurable:!0}),Object.defineProperty(e,"assetWithPhysicalFocus",{get:function(){return this.m_pFocusPhysical||(document.activeElement?r.Asset.of(document.activeElement):void 0)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"logging",{get:function(){return this.m_bLog},set:function(e){this.m_bLog!==e&&(this.m_bLog=e,e?this.log():(this.m_nLog=(0,o.cancelFrame)(this.m_nLog),this.m_pLog&&(this.m_pLog.destroy(),this.m_pLog=void 0)))},enumerable:!1,configurable:!0}),e.pointCreate=function(e,t,i,n,s,l,c,u,p,h,d,m,f){var g=new a.Point(e,r.Asset.of(t),i,n,s,l,c,u,p,h,d,m,f,!1);return this.m_nTouches++,(0,o.setAny)(this.m_pPoints,(0,o.castToString)(e),g)},e.pointClear=function(e){var t=this.point(e);t&&(t.destroy(),(0,o.destroy)(this.m_pPoints,(0,o.castToString)(e))),this.m_nTouches=(0,o.arraySize)(this.m_pPoints)},e.pointDecrease=function(){this.m_nTouches--},e.pointRelease=function(e){void 0===e&&(e=!1),e?this.release():0===this.touches&&(this.m_nCaptured=0)},e.findListenerAsset=function(e){for(var t=e;t;){if((0,o.castToNumber)(t.data(p))>0)return t;t=t.parent}},e.attach=function(e){var t=this;this.m_pBuffer.push(e),(0,o.cancelFrame)(this.m_nBind),this.m_nBind=(0,o.scheduleFrame)((function(){t.m_nBind=(0,o.scheduleFrame)((function(){for(var e=[],i=[],n=t.m_pBuffer.pop();n;){-1!==n.asset.depth?e.push({Asset:n.asset,Depth:n.asset.depth}):i.push(n),n=t.m_pBuffer.pop()}e.sort((function(e,t){return e.Depth-t.Depth})),(0,o.each)(e,(function(e){var i=t.findListenerAsset(e.Asset);if(i)i.data(p,(0,o.castToString)((0,o.castToNumber)(i.data(p))+1));else{var n=0;(0,o.each)((0,o.filter)(t.m_pAssets,(function(t){for(;t;){if(t.isEqual(e.Asset))return!0;t=t.parent}return!1})),(function(e){e&&(n+=t.detach(e,!0))})),e.Asset.data(p,(0,o.castToString)(1+n)),t.m_pAssets.push(e.Asset),t.supportsPointerEvents||(r.EventListeners.attachListener(e.Asset,"touchstart",t.touchStart,{capture:!0,passive:!1},t),r.EventListeners.attachListener(e.Asset,"mousedown",t.mouseDown,{capture:!0,passive:!1},t)),r.EventListeners.attachListener(e.Asset,["pointerdown","MSPointerDown"],t.pointerDown,{capture:!0,passive:!1},t),r.EventListeners.attachListener(e.Asset,["wheel","mousewheel","DOMMouseScroll"],t.mouseWheel,{capture:!0,passive:!1},t),r.EventListeners.attachListener(e.Asset,"contextmenu",t.contextMenu,{capture:!0,passive:!1},t),r.EventListeners.attachListener(e.Asset,"click",t.click,{capture:!0,passive:!1},t),o.DEBUG&&console.log(o.Console.log("Touch","Controller host attached to DOM element (now attached to ".concat(t.m_pAssets.length," element").concat(1===t.m_pAssets.length?"":"s",")")))}})),(0,o.each)(i,(function(e){return t.attach(e)}))}))}))},e.detach=function(e,t){var i=(0,o.castToNumber)(e.data(p));if(1===i||t){e.destroyData(p);for(var n=0;n<this.m_pAssets.length;n++)if(this.m_pAssets[n]===e){this.m_pAssets.splice(n,1);break}this.supportsPointerEvents||(r.EventListeners.detachListener(e,"touchstart",this),r.EventListeners.detachListener(e,"mousedown",this)),r.EventListeners.detachListener(e,["pointerdown","MSPointerDown"],this),r.EventListeners.detachListener(e,["mousewheel","DOMMouseScroll"],this),r.EventListeners.detachListener(e,"contextmenu",this),r.EventListeners.detachListener(e,"click",this),o.DEBUG&&console.log(o.Console.log("Touch","Controller host detached from DOM element (now attached to ".concat(this.m_pAssets.length," element").concat(1===this.m_pAssets.length?"":"s",")")))}else i>1&&e.data(p,(0,o.castToString)(i-1));return i},e.attachTouch=function(){this.supportsPointerEvents||this.m_bTouchListeners||(this.m_bTouchListeners=!0,r.EventListeners.attachListener(document,"touchmove",this.touchMove,{capture:!0,passive:!1,stopPropagation:!0},this),r.EventListeners.attachListener(document,"touchend",this.touchEnd,{capture:!0,passive:!1},this),r.EventListeners.attachListener(document,"touchcancel",this.touchCancel,{capture:!0,passive:!1},this))},e.detachTouch=function(){0===this.touches&&this.m_bTouchListeners&&(this.m_bTouchListeners=!1,r.EventListeners.detachListener(document,"touchmove",this),r.EventListeners.detachListener(document,"touchend",this),r.EventListeners.detachListener(document,"touchcancel",this))},e.attachMouse=function(){this.supportsPointerEvents||this.m_bMouseListeners||(this.m_bMouseListeners=!0,r.EventListeners.attachListener(document,"mousemove",this.mouseMove,{capture:!0,passive:!1,limiter:"throttle"},this),r.EventListeners.attachListener(document,"mouseup",this.mouseUp,{capture:!0,passive:!1},this))},e.detachMouse=function(){this.m_bMouseListeners||(this.m_bMouseListeners=!1,r.EventListeners.detachListener(document,"mousemove",this),r.EventListeners.detachListener(document,"mouseup",this))},e.attachPointer=function(){this.supportsPointerEvents&&!this.m_bPointerListeners&&(this.m_bPointerListeners=!0,r.EventListeners.attachListener(document,["pointermove","MSPointerMove"],this.pointerMove,{capture:!0,passive:!1},this),r.EventListeners.attachListener(document,["pointerup","MSPointerUp"],this.pointerUp,{capture:!0,passive:!1},this),r.EventListeners.attachListener(document,["pointercancel","MSPointerCancel"],this.pointerCancel,{capture:!0,passive:!1},this))},e.detachPointer=function(){0===this.touches&&this.m_bPointerListeners&&(this.m_bPointerListeners=!1,r.EventListeners.detachListener(document,["pointermove","MSPointerMove"],this),r.EventListeners.detachListener(document,["pointerup","MSPointerUp"],this),r.EventListeners.detachListener(document,["pointercancel","MSPointerCancel"],this))},e.switchToPointerEvents=function(){var e=this;this.m_bPointerEvents||(this.m_bPointerEvents=!0,(0,o.each)(this.m_pAssets,(function(t){r.EventListeners.detachListener(t,"touchstart",e),r.EventListeners.detachListener(t,"mousedown",e)})))},e.propagation=function(e){return!(this.m_nTypes&(c.TYPE_INPUT|c.TYPE_DISABLED))&&(r.EventListeners.stopPropagation(e),!0)},e.flush=function(){(0,s.flush)(this.m_nQueue),this.m_nQueue=0},e.touchStart=function(e){var t,i=this;if(this.flush(),e.touches&&1===e.touches.length?this.touchSanitize():t=this.firstPoint,!t||t.isTouch){var n=!1,r=!1;(0,o.each)(e.touches,(function(e){i.point(e.identifier)||(t=i.pointCreate(e.identifier,e.target,e.clientX,e.clientY,!0,!1,0,0,0,0,0,0,0),n=!0)})),!this.m_pFocusVirtual||!t||t.hasVirtualFocus||t.types&(c.TYPE_INPUT|c.TYPE_LABEL)||this.blur(),this.m_nTypes=0,(0,o.forEach)(this.m_pPoints,(function(t){return!(0,o.hasOneOrMore)(e.touches,(function(e){return e.identifier===t.id}))||(i.m_nTypes|=t.types,!1)}),{do:function(e){i.pointClear(e.id),n=!0,r=!0},return:"none"}),this.pointRelease(r),n&&(this.m_nQueue=(0,s.read)((function(){i.m_nQueue=0,i.cycle(1)})))}this.m_nTouched=o.DateTime.precise,this.attachTouch(),this.propagation(e),this.log()},e.touchMove=function(e){var t=this,i=!1;(0,o.each)(e.changedTouches,(function(e){var n=t.point(e.identifier);n&&(i=n.move(e.clientX,e.clientY,!1,0,0,0,0)||i)})),i&&this.throttle.invoke(2),this.log()},e.touchEnd=function(e){var t=this,i=[];this.flush(),(0,o.each)(e.changedTouches,(function(e){var n=t.point(e.identifier);n&&(n.move(e.clientX,e.clientY,!0,0,0,0,0),i.push(e.identifier),t.pointDecrease())})),this.m_nTouched=o.DateTime.precise,this.detachTouch(),this.pointRelease(),this.log(),(0,o.arraySize)(i)>0&&(this.m_nQueue=(0,s.read)((function(){t.m_nQueue=0,t.cycle(4),(0,o.each)(i,(function(e){return t.pointClear(e)}))})))},e.touchCancel=function(){var e=this,t=this.touches>0;this.m_nTouches=0,this.flush(),this.pointRelease(),this.detachTouch(),this.detachPointer(),this.log(),t&&(this.m_nQueue=(0,s.read)((function(){e.m_nQueue=0,e.cycle(4),(0,o.each)(e.m_pPoints,(function(t){return e.pointClear(t.id)}))})))},e.touchSanitize=function(){var e=this,t=this.firstPoint;t&&t.isTouch&&(this.terminate(this.m_nTypes),(0,o.each)(this.m_pPoints,(function(t){return e.pointClear(t.id)})),this.m_nTypes=0,this.m_nCaptured=0)},e.mouseDown=function(e){var t=this,i=o.DateTime.precise,n=(0,o.castToNumber)(e.detail),r=e.sourceCapabilities;if(!r||!r.firesTouchEvents){if(n>1&&i-this.m_nClick>300&&(this.m_nClicks=n),this.m_nClick=i,this.m_nTouched=0,this.flush(),this.touchSanitize(),0===this.touched){var a=this.pointCreate(0,e.target,e.clientX,e.clientY,!1,"pen"===e.pointerType,this.pointerButtons(e),o.Num.max(n-this.m_nClicks,0),0,0,e.pressure,0,0);a&&(!this.m_pFocusVirtual||a.hasVirtualFocus||a.types&(c.TYPE_INPUT|c.TYPE_LABEL)||this.blur(),this.m_nTypes=a.types,this.m_nQueue=(0,s.read)((function(){t.m_nQueue=0,t.cycle(8)})))}this.attachMouse(),this.attachPointer(),this.propagation(e),this.log()}},e.mouseMove=function(e){var t=this.point(0);!t||t.types&c.TYPE_DISABLED||(r.EventListeners.stopPropagation(e),!t.isTouch&&t.isActive&&t.move(e.clientX,e.clientY,!1,this.pointerButtons(e),e.pressure,0,0)&&(t.types&c.TYPE_VOID||this.throttle.invoke(16),this.log()))},e.mouseUp=function(e){var t,i=this;this.flush(),(t=this.point(0))&&(t.isTouch||(t.move(e.clientX,e.clientY,!0,0,0,0,0),this.pointDecrease(),this.pointRelease(),this.log(),this.m_nQueue=(0,s.read)((function(){i.m_nQueue=0,!t||t.types&c.TYPE_VOID||i.cycle(32),i.pointClear(0)}))),this.detachMouse(),this.detachPointer(),this.propagation(e))},e.mouseWheel=function(e){var t=this;if(!(a.Point.typesAndTarget(r.Asset.of(e.target)).types&c.TYPE_DISABLED)){var i=0,n=(0,o.castToNumber)(e.wheelDelta||40*-e.detail);switch(r.EventListeners.stopPropagation(e),e.deltaMode){case 1:(0,o.isNumberFinite)(e.deltaX)&&(i=40*-e.deltaX),(0,o.isNumberFinite)(e.deltaY)&&(n=40*-e.deltaY);break;case 2:(0,o.isNumberFinite)(e.deltaX)&&(i=120*-e.deltaX),(0,o.isNumberFinite)(e.deltaY)&&(n=120*-e.deltaY);break;default:(0,o.isNumberFinite)(e.deltaX)&&(i=-e.deltaX),(0,o.isNumberFinite)(e.deltaY)&&(n=-e.deltaY)}(0,s.read)((function(){0===t.touched&&(t.m_nTypes=t.pointCreate(0,e.target,e.clientX,e.clientY,!1,!1,t.pointerButtons(e),0,o.Num.round(i),o.Num.round(n),0,0,0).types,t.cycle(64),t.pointDecrease(),t.pointRelease(),t.log(),t.pointClear(0))}))}},e.pointerDown=function(e){var t=this,i=this.point(0)||this.firstPoint;this.switchToPointerEvents(),i&&i.type!==e.pointerType&&(i.isMouse?this.mouseUp(e):this.pointerCancel()),"touch"===e.pointerType?(this.flush(),this.point(e.pointerId)||((i=this.firstPoint)&&!i.isTouch||(i=this.pointCreate(e.pointerId,e.target,e.clientX,e.clientY,!0,!1,this.pointerButtons(e),0,0,0,e.pressure,e.tiltX,e.tiltY))&&(!this.m_pFocusVirtual||i.hasVirtualFocus||i.types&(c.TYPE_INPUT|c.TYPE_LABEL)||this.blur(),this.m_nTypes=i.types,this.m_nQueue=(0,s.read)((function(){t.m_nQueue=0,t.cycle(1)}))),this.m_nTouched=o.DateTime.precise,this.attachPointer(),this.propagation(e),this.log())):this.mouseDown(e)},e.pointerMove=function(e){var t;"touch"===e.pointerType?(r.EventListeners.stopPropagation(e),(t=this.point(e.pointerId))&&t.move(e.clientX,e.clientY,!1,this.pointerButtons(e),e.pressure,e.tiltX,e.tiltY)&&(this.throttle.invoke(2),this.log())):this.mouseMove(e)},e.pointerUp=function(e){var t,i=this;"touch"===e.pointerType?(this.flush(),(t=this.point(e.pointerId))?(t.isActive&&(t.move(e.clientX,e.clientY,!0,this.pointerButtons(e),e.pressure,e.tiltX,e.tiltY),this.pointDecrease(),this.pointRelease(),this.log(),this.m_nQueue=(0,s.read)((function(){i.m_nQueue=0,i.cycle(4),t&&i.pointClear(t.id)}))),this.detachPointer(),this.propagation(e)):(r.EventListeners.stopPropagation(e),this.pointerCancel()),this.m_nTouched=o.DateTime.precise):this.mouseUp(e)},e.pointerCancel=function(){this.touchCancel()},e.pointerButtons=function(e){var t=0;if((0,o.isNumberFinite)(e.buttons)){var i=(0,o.isFilledString)(e.pointerType)&&"pen"===e.pointerType;1&e.buttons&&(t|=i?512:1),2&e.buttons&&(t|=i?1024:2),4&e.buttons&&(t|=4),8&e.buttons&&(t|=8),16&e.buttons&&(t|=16),32&e.buttons&&(t|=2048)}else if((0,o.isNumberFinite)(e.button))switch(e.button){case 0:t|=1;break;case 1:t|=4;break;case 2:t|=2}return(0,o.castToBoolean)(e.altKey)&&(t|=128),(0,o.castToBoolean)(e.ctrlKey)&&(t|=64),(0,o.castToBoolean)(e.shiftKey)&&(t|=32),(0,o.castToBoolean)(e.metaKey)&&(t|=256),t},e.contextMenu=function(e){this.propagation(e)},e.click=function(e){this.propagation(e)},e.cycle=function(e){var t=this,i=!this.m_pFocusVirtual||(0,o.castToBoolean)(64&e);if(!(this.isDisabled&&-37&e)){if(!i){var n=this.firstPoint;n&&(n.hasVirtualFocus||n.types&(c.TYPE_INPUT|c.TYPE_LABEL))&&(i=!0)}if(i){if(this.m_bNotifications&&(0,o.findFirst)(this.m_pNotifications,(function(t){return!(0,o.castToBoolean)(t(e),!0)})))return;(0,o.each)(this.m_pProcessors,(function(i){(t.m_nCaptured||t.m_nTypes)&i.types&&i.processor&&i.processor(e)}))}}},e.processor=function(e){return(0,o.findFirst)(this.m_pProcessors,(function(t){return(0,o.castToBoolean)(t.types&e)}))},e.processorId=function(e){var t=this.processor(e);return t?t.id:"?"},e.registerProcessor=function(e,t){return!!(e&&t&&t.id>0)&&(this.m_nProcessors&e.types||(this.m_nProcessors|=e.types,this.m_pProcessors.push(e),this.m_pProcessors.sort((function(e,t){return(0,o.castToNumber)(t.priority)-(0,o.castToNumber)(e.priority)}))),!0)},e.log=function(){var e=this;o.DEBUG&&this.m_bLog&&(this.m_nLog=(0,o.scheduleAndCancelFrame)((function(){e.m_pLog=e.m_pLog||r.Element.create("div",(function(e){e.positioning="absolute",e.left=0,e.right=0,e.bottom=0,e.opacity=75,e.styles={backgroundColor:"#2c3e50",fontFamily:"Courier New",fontSize:11,color:"#fff",whiteSpace:"nowrap",padding:5,overflow:"hidden"}}));var t=10+13*((0,o.arraySize)(e.points)+1),i=function(e){return' <span style="color: #3498db;">'.concat(e,"&lt;</span>")},n='<span style="color: #3498db;">&gt;</span>',a='<span style="color: #2ecc71;">';a+="Touches: <b>".concat(e.touches,"</b>"),a+="&nbsp;&nbsp;&nbsp;Touched: <b>".concat(e.touched,"</b>"),a+="&nbsp;&nbsp;&nbsp;Points: <b>".concat((0,o.arraySize)(e.points),"</b>"),a+="&nbsp;&nbsp;&nbsp;Controllers: <b>".concat(e.count,"</b>"),a+="&nbsp;&nbsp;&nbsp;Dragging: <b>".concat(e.isDragging,"</b>"),a+="&nbsp;&nbsp;&nbsp;Scrolling: <b>".concat(e.isScrolling,"</b>"),a+="&nbsp;&nbsp;&nbsp;Touch: <b>".concat(e.isTouch,"</b>"),a+="&nbsp;&nbsp;&nbsp;Touched: <b>".concat(e.wasTouched,"</b>"),a+="&nbsp;&nbsp;&nbsp;Mouse: <b>".concat(e.isMouse,"</b>"),a+="&nbsp;&nbsp;&nbsp;Pen: <b>".concat(e.isPen,"</b>"),a+="&nbsp;&nbsp;&nbsp;Input: <b>".concat(e.isInput,"</b>"),a+="&nbsp;&nbsp;&nbsp;PointerEvents API: <b>".concat(e.supportsPointerEvents,"</b>"),a+="</span>",(0,o.each)(e.points,(function(e){a+="</br><b>#".concat(e.id,"</b>"),a+="".concat(i("∆")).concat(o.Num.round(e.diffX),"x").concat(o.Num.round(e.diffY)).concat(n),a+="".concat(i("Mouse")).concat(e.isMouse).concat(n),a+="".concat(i("Touch")).concat(e.isTouch).concat(n),a+="".concat(i("Pen")).concat(e.isPen).concat(n),a+="".concat(i("Active")).concat(e.isActive).concat(n),a+="".concat(i("∟")).concat(o.Num.conform(e.angle,2),"°").concat(n),a+="".concat(i("Radius")).concat(o.Num.conform(e.radius,2)).concat(n),a+="".concat(i("Velocity")).concat(o.Num.conform(e.velocityX,2)),a+="x".concat(o.Num.conform(e.velocityY,2)).concat(n),a+="".concat(i("Buttons")).concat(e.buttons).concat(n),a+="".concat(i("Touch")).concat(e.isTouch).concat(n),a+="".concat(i("Clicks")).concat(e.clicks).concat(n),a+="".concat(i("WheelX")).concat(e.wheelX).concat(n),a+="".concat(i("WheelY")).concat(e.wheelY).concat(n),a+="".concat(i("Pressure")).concat(o.Num.conform(e.pressure,3)).concat(n),a+="".concat(i("∆T")).concat(o.Num.conform(e.duration,1),"ms").concat(n)})),(0,s.write)((function(){e.m_pLog&&(e.m_pLog.height=t,e.m_pLog.HTML=a)}))}),this.m_nLog))},e.inventory=function(e,t,i){if(e){var n=e.data(u);if((0,o.isFilledString)(n)&&(0,o.isArray)((0,o.getAny)(this.m_pInventory,n))||(n=(0,o.isNumberFinite)(t)?(0,o.castToString)(t):"",(0,o.isFilledString)(n)&&(0,o.set)(this.m_pInventory,e.data(u,n),[])),(0,o.isFilledString)(n)){var r=(0,o.getAny)(this.m_pInventory,n)||[];(0,o.isNumberFinite)(i)&&-1!==(i=r.indexOf(i))&&r.splice(i,1),(0,o.isNumberFinite)(t)&&r.push(t),0===(0,o.arraySize)(r)&&((0,o.destroy)(this.m_pInventory,n),e.destroyData(u))}}},e.types=function(e){var t=this;return(0,o.reduce)((0,o.getAny)(this.m_pInventory,e.data(u)),(function(e,i){return e|t.controller(i).type}),0)},e.implement=function(e,t){this.m_pGestures[e]=this.implements(e)|t},e.implements=function(e){return this.m_pGestures[e]||0},e.register=function(e,t){return this.registerProcessor(e,t)?(this.controller(t)||(this.m_nCount++,this.inventory(t.asset,t.id),this.attach(t),(0,o.setAny)(this.m_pControllers,(0,o.castToString)(t.id),t),t.onRegister(),o.DEBUG&&console.log(o.Console.log("Touch","Attached controller `"+e.id+"` with identifier `"+t.id+"` (now listening for "+this.count+" object"+(1===this.count?"":"s")+")"))),t.id):0},e.unregister=function(e){if(e.onDestroy()){for(var t=0;t<this.m_pBuffer.length;t++)if(this.m_pBuffer[t]===e){this.m_pBuffer.splice(t,1);break}this.inventory(e.asset,void 0,e.id),this.m_nCount--,o.DEBUG&&console.log(o.Console.log("Touch","Detached controller `"+this.processorId(e.type)+"` with identifier `"+e.id+"` (now listening for "+this.count+" object"+(1===this.count?"":"s")+")")),(0,o.destroy)(this.m_pControllers,(0,o.castToString)(e.id));var i=this.findListenerAsset(e.asset);i&&this.detach(i,!1)}},e.unregisterAsset=function(e,t){var i=this;if(void 0===t&&(t="*"),e=r.Asset.of(e)){var n=!1;return(0,o.each)(this.filter(e,t),(function(e){i.unregister(e),n=!0})),n}return!1},e.registerNotification=function(e,t){var i;(0,o.setAny)(this.m_pNotifications,e,t),i=(0,o.arraySize)(this.m_pNotifications),this.m_bNotifications=i>0,o.DEBUG&&console.log(o.Console.log("Touch","Register notification `"+e+"` (now listening for "+i+" notification"+(1===i?"":"s")+")"))},e.unregisterNotification=function(e){var t;(0,o.destroy)(this.m_pNotifications,e),t=(0,o.arraySize)(this.m_pNotifications),this.m_bNotifications=t>0,o.DEBUG&&console.log(o.Console.log("Touch","Unregister notification `"+e+"` (now listening for "+t+" notification"+(1===t?"":"s")+")"))},e.controller=function(e){return(0,o.getAny)(this.m_pControllers,(0,o.castToString)(e instanceof l.Controller?e.id:e))},e.each=function(e,t,i){var n=this;"*"===e?(0,o.each)(this.m_pControllers,(function(e){("*"===t||t&e.type)&&i(e)})):(0,o.each)((0,o.getAny)(this.m_pInventory,e.data(u)),(function(e){var o=n.controller(e);o&&("*"===t||t&o.type)&&i(o)}))},e.filter=function(e,t){var i=[];return this.each(e,t,(function(e){i.push(e)})),i},e.filterRecursive=function(e,t,i){var n=this;void 0===t&&(t="*"),void 0===i&&(i=!1);var s=[];return(0,o.each)(e instanceof r.Asset?[e]:e,(function(e){for(;e;)s.push.apply(s,n.filter(e,t)),e=i||0===s.length?e.parent:void 0})),s},e.first=function(e,t){var i,n=this;return"*"===e?(0,o.findFirst)(this.m_pControllers,(function(e){return!!("*"===t||t&e.type)})):((0,o.findFirst)((0,o.getAny)(this.m_pInventory,e.data(u)),(function(e){var o=n.controller(e);return!(!o||!("*"===t||t&o.type))&&(i=o,!0)})),i)},e.point=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i=(0,o.arraySize)(e),n=0;n<i;n++){var r=e[n];if((0,o.isNumberFinite)(r)){var s=(0,o.getAny)(this.m_pPoints,(0,o.castToString)(r));if(s)return s}}},e.pointFromIndex=function(e){return(0,o.arrayItem)(this.m_pPoints,e)},e.schedule=function(e,t){var i=this;void 0===t&&(t=0);for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];(0,o.isFunction)(e)&&(this.scheduleCancel(),this.m_fnScheduler=function(){i.m_nScheduler=0,i.m_fnScheduler=void 0,o.call.apply(void 0,(0,n.__spreadArray)([e],r,!1))},t>0?this.m_nScheduler=(0,o.scheduleUITimeout)(this.m_fnScheduler,t):this.m_fnScheduler())},e.scheduleInvoke=function(){this.schedulePause(),(0,o.call)(this.m_fnScheduler)},e.schedulePause=function(){this.m_nScheduler=(0,o.cancelUITimeout)(this.m_nScheduler)},e.scheduleContinue=function(e){void 0===e&&(e=0),this.schedulePause(),this.m_fnScheduler&&(e>0?this.m_nScheduler=(0,o.scheduleUITimeout)(this.m_fnScheduler,e):this.m_fnScheduler())},e.scheduleCancel=function(){this.schedulePause(),this.m_fnScheduler=void 0},e.terminate=function(e){(0,o.each)(this.m_pProcessors,(function(t){t.terminate&&(0===e||"*"===e||e&t.types)&&t.terminate()}))},e.claim=function(e){(0,o.each)(this.m_pProcessors,(function(t){t.terminate&&e&~t.types&&t.terminate()}))},e.capture=function(e){0!==e&&this.m_nCaptured===e||(e&this.implements("hold")&&this.blur(),this.claim(this.m_nCaptured=e))},e.release=function(){this.capture(0)},e.mode=function(e,i){e.data(t.ATTRIBUTE_MODE,i)},e.isInputElement=function(e){return"input"===e||"textarea"===e||"select"===e},e.focus=function(e,t,i){var n=this.firstPoint,o=this.m_pFocusPhysical;e!==this.m_pFocusVirtual&&(this.blur(),this.m_pFocusVirtual=e,this.m_pFocusPhysical=t,this.m_fnBlur=i,n&&n.focus(n.target),!t||o&&t.isEqual(o)||t.focus())},e.blur=function(e){if(this.m_pFocusVirtual&&(!e||this.m_pFocusVirtual.isEqual(e))){var t=this.m_pFocusPhysical;this.m_pFocusVirtual=void 0,this.m_pFocusPhysical=void 0,this.m_fnBlur&&(this.m_fnBlur(),this.m_fnBlur=void 0),t&&t.blur()}},e.onFocusOrBlur=function(e,t,i,n){var o=this;t.on("focus",(function(){o.focus(e,t,n),i&&i()})),t.on("blur",(function(){return o.blur(e)}))},e.enable=function(){this.isDisabled=!1},e.disable=function(){this.isDisabled=!0},e.destroy=function(){var e=this;this.m_nBind=(0,o.cancelFrame)(this.m_nBind),(0,o.each)(this.m_pControllers,(function(t){e.unregister(t)}))},e.m_pEnumerator=new o.Enumerator,e.m_pControllers={},e.m_pBuffer=[],e.m_pAssets=[],e.m_pInventory={},e.m_pProcessors=[],e.m_pPoints={},e.m_pNotifications={},e.m_pGestures={},e.m_bMouseListeners=!1,e.m_bTouchListeners=!1,e.m_bPointerListeners=!1,e.m_nBind=0,e.m_nProcessors=0,e.m_bNotifications=!1,e.m_bDisabled=!1,e.m_bPointerEvents=!1,e.m_nQueue=0,e.m_nTypes=0,e.m_nCount=0,e.m_nTouches=0,e.m_nTouched=0,e.m_nClick=0,e.m_nClicks=0,e.m_nCaptured=0,e.m_nScheduler=0,e.m_bLog=!1,e.m_nLog=0,e.stylesheet=r.Stylesheet.app,e}();t.Coordinator=h,r.Element.whenDestroyed((function(e){h.blur(e),h.unregisterAsset(e)}))},95937:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Point=void 0;var n=i(84389),o=i(9072),r=i(1330),s=i(24368),a=3e3,l=function(){function e(t,i,o,r,s,a,l,c,u,p,h,d,m,f){if(this.m_bActive=!0,this.m_bFocus=!1,this.m_nTypes=0,this.m_nDuration=0,this.m_nVelocityHandle=0,this.m_nVelocityX=0,this.m_nVelocityY=0,this.m_nId=t,this.m_pInitialPosition={x:o,y:r},this.m_pCurrentPosition={x:o,y:r},this.m_pDelta={x:o,y:r},this.m_bTouch=s,this.m_bPen=a,this.m_nButtons=l,this.m_nClicks=n.Num.max(c,0),this.m_nWheelX=u,this.m_nWheelY=p,this.m_nPressure=(0,n.castToFloat)(h),this.m_nTiltX=(0,n.castToNumber)(d),this.m_nTiltY=(0,n.castToNumber)(m),!this.focus(i,!0)){var g=e.typesAndTarget(i);this.m_nTypes=g.types,this.m_pTarget=g.target}this.m_nVelocityTimer=this.m_nStart=n.DateTime.precise,this.m_nVelocityMove=n.DateTime.precise,this.m_pVelocityPosition={x:o,y:r},f||this.velocity(!1)}return e.clone=function(t){return new e(t.id,t.target,t.initialPosition.x,t.initialPosition.y,t.isTouch,t.isPen,t.buttons,t.clicks,t.wheelX,t.wheelY,t.pressure,t.tiltX,t.tiltY,!0)},e.each=function(e,t,i,n){e&&e.controllers((function(t){return i(t,e)}),t,!(!n||!n.Bubble),!(!n||!n.Verify))},e.controllers=function(e,t,i,n){this.each(e,t,n,{Verify:!0,Bubble:"bubble"===i})},e.id=function(e){return e?e.id:void 0},e.mean=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=0,o=0,r=0;return(0,n.each)(e,(function(e){i+=e.meanX,o+=e.meanY,r++})),r=n.Num.max(r,1),{x:i/r,y:o/r}},e.proportional=function(e,t){var i=(e.meanX+t.meanX)/2,n=(e.meanY+t.meanY)/2,o=Math.abs(e.diffX)+Math.abs(t.diffX),r=Math.abs(e.diffY)+Math.abs(t.diffY);return{x:i+(i-e.meanX)*(Math.abs(e.diffX)/o*2-1),y:n+(n-e.meanY)*(Math.abs(e.diffY)/r*2-1)}},e.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.typesAndTarget=function(e){for(var t={types:0,target:void 0};e;){var i=r.Coordinator.types(e),n=e.tagName,o=e.data(r.ATTRIBUTE_MODE);if("exclusive"!==o&&"stop"!==o){if((""!==o||r.Coordinator.isInputElement(n))&&(t.types="disable"===o?s.TYPE_DISABLED:"void"===o?s.TYPE_VOID:s.TYPE_INPUT,t.target=e,"input"!==o))break;"label"===n&&(t.types|=s.TYPE_LABEL)}if(0!==i&&(t.types|=i,t.target=t.target||e),"stop"===o)break;e=e.parent}return t},Object.defineProperty(e.prototype,"id",{get:function(){return this.m_nId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this.m_bActive},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return o.Asset.assert(this.m_pTarget)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"initialPosition",{get:function(){return this.m_pInitialPosition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentPosition",{get:function(){return this.m_pCurrentPosition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"delta",{get:function(){var e={x:this.m_pCurrentPosition.x-this.m_pDelta.x,y:this.m_pCurrentPosition.y-this.m_pDelta.y};return this.m_pDelta={x:this.m_pCurrentPosition.x,y:this.m_pCurrentPosition.y},e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMouse",{get:function(){return!this.isTouch&&!this.isPen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTouch",{get:function(){return this.m_bTouch},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPen",{get:function(){return this.m_bPen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInput",{get:function(){return!!(this.m_nTypes&s.TYPE_INPUT)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLabel",{get:function(){return!!(this.m_nTypes&s.TYPE_LABEL)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.isTouch?"touch":this.isPen?"pen":"mouse"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"types",{get:function(){return this.m_nTypes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buttons",{get:function(){return this.m_nButtons},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clicks",{get:function(){return this.m_nClicks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wheelX",{get:function(){return this.m_nWheelX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wheelY",{get:function(){return this.m_nWheelY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pressure",{get:function(){return this.m_nPressure},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tiltX",{get:function(){return this.m_nTiltX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tiltY",{get:function(){return this.m_nTiltY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diffX",{get:function(){return this.m_pCurrentPosition.x-this.m_pInitialPosition.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diffY",{get:function(){return this.m_pCurrentPosition.y-this.m_pInitialPosition.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"meanX",{get:function(){var e=n.Num.min(this.m_pCurrentPosition.x,this.m_pInitialPosition.x);return e+(n.Num.max(this.m_pCurrentPosition.x,this.m_pInitialPosition.x)-e)/2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"meanY",{get:function(){var e=n.Num.min(this.m_pCurrentPosition.y,this.m_pInitialPosition.y);return e+(n.Num.max(this.m_pCurrentPosition.y,this.m_pInitialPosition.y)-e)/2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return Math.sqrt(Math.pow(this.diffX,2)+Math.pow(this.diffY,2))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){return-180*Math.atan2(this.diffY,this.diffX)/Math.PI},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.m_nStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.m_nDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"velocityX",{get:function(){return this.m_nVelocityX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"velocityY",{get:function(){return this.m_nVelocityY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasVirtualFocus",{get:function(){return this.m_bFocus},enumerable:!1,configurable:!0}),e.prototype.velocity=function(e){var t=this,i=n.DateTime.elapsed(this.m_nVelocityTimer,!0);if(i>1e3/60*2){var o=!1;this.m_nVelocityTimer=n.DateTime.precise,this.m_pVelocityPosition.x!==this.m_pCurrentPosition.x&&(this.m_nVelocityX=n.Num.range(1e3*(this.m_pVelocityPosition.x-this.m_pCurrentPosition.x)/(1+i)*.8+.2*this.m_nVelocityX,-3e3,a),o=!0),this.m_pVelocityPosition.y!==this.m_pCurrentPosition.y&&(this.m_nVelocityY=n.Num.range(1e3*(this.m_pVelocityPosition.y-this.m_pCurrentPosition.y)/(1+i)*.8+.2*this.m_nVelocityY,-3e3,a),o=!0),this.m_pVelocityPosition={x:this.m_pCurrentPosition.x,y:this.m_pCurrentPosition.y},o?this.m_nVelocityMove=n.DateTime.precise:n.DateTime.elapsed(this.m_nVelocityMove,!0)>250&&(this.m_nVelocityX=0,this.m_nVelocityY=0)}e?0!==this.m_nVelocityHandle&&(this.m_nVelocityHandle=(0,n.cancelFrame)(this.m_nVelocityHandle)):this.m_nVelocityHandle=(0,n.scheduleFrame)((function(){return t.velocity(!1)}))},e.prototype.controllers=function(e,t,i,n){for(var o=this,s=this.m_pTarget,a=!1,l=!1;s;)r.Coordinator.each(s,t,(function(t){if(!l){if(n){if(!s)return;if(!s.rectangleOffset(t.area).isIn(o.currentPosition.x,o.currentPosition.y))return}a=!0,l=e(t)||!1}})),s=l||!i&&a?void 0:s.parent;return l},e.prototype.move=function(e,t,i,o,r,s,a){var l=!1;return!!this.m_bActive&&(r=(0,n.castToFloat)(r),s=(0,n.castToNumber)(s),a=(0,n.castToNumber)(a),this.m_pCurrentPosition.x===e&&this.m_pCurrentPosition.y===t&&this.m_nButtons===o&&this.m_nPressure===r&&this.m_nTiltX===s&&this.m_nTiltY===a||(this.m_pCurrentPosition={x:e,y:t},this.m_nButtons=o,this.m_nPressure=r,this.m_nTiltX=s,this.m_nTiltY=a,l=!0),i&&(this.m_nDuration=n.DateTime.elapsed(this.m_nStart,!0),this.m_bActive=!1,this.destroy()),l)},e.prototype.reinit=function(e){void 0===e&&(e=0);var t=this.m_pInitialPosition.x,i=this.m_pInitialPosition.y;0===e?(t=this.m_pCurrentPosition.x,i=this.m_pCurrentPosition.y):(this.m_pCurrentPosition.x>t?t=this.m_pCurrentPosition.x-n.Num.min(e,this.m_pCurrentPosition.x-t):this.m_pCurrentPosition.x<t&&(t=this.m_pCurrentPosition.x+n.Num.min(e,t-this.m_pCurrentPosition.x)),this.m_pCurrentPosition.y>i?i=this.m_pCurrentPosition.y-n.Num.min(e,this.m_pCurrentPosition.y-i):this.m_pCurrentPosition.y<i&&(i=this.m_pCurrentPosition.y+n.Num.min(e,i-this.m_pCurrentPosition.y))),this.m_pInitialPosition={x:t,y:i}},e.prototype.distance=function(t){return t instanceof e?this.distance(t.currentPosition):t&&(0,n.isNumberFinite)(t.x)&&(0,n.isNumberFinite)(t.y)?Math.sqrt(Math.pow(this.m_pCurrentPosition.x-t.x,2)+Math.pow(this.m_pCurrentPosition.y-t.y,2)):0},e.prototype.alpha=function(t){return t instanceof e?this.alpha(t.currentPosition):t&&(0,n.isNumberFinite)(t.x)&&(0,n.isNumberFinite)(t.y)?-180*Math.atan2(this.m_pCurrentPosition.y-t.y,this.m_pCurrentPosition.x-t.x)/Math.PI:0},e.prototype.radialDistance=function(t){if(t instanceof e)return this.radialDistance(t.currentPosition);if(t&&(0,n.isNumberFinite)(t.x)&&(0,n.isNumberFinite)(t.y)){var i=this.distance(t),o=Math.abs(this.alpha(t));return o>90&&(o=180-o),o*=Math.PI/180,n.Num.max(Math.sin(o)*i,Math.cos(o)*i)}return 0},e.prototype.forEachController=function(e,t){var i=this;return void 0===t&&(t="*"),this.controllers((function(t){return e(t,i)||!1}),t,!0,!1)},e.prototype.translatePointToAsset=function(e,t){var i=(t||this.target).rectangle;return{x:n.Num.round(e.x-i.left),y:n.Num.round(e.y-i.top)}},e.prototype.translateToAsset=function(e){return this.translatePointToAsset(this.m_pCurrentPosition,e)},e.prototype.implements=function(e){return(0,n.castToBoolean)(this.m_nTypes&r.Coordinator.implements(e))},e.prototype.focus=function(e,t){if(void 0===t&&(t=!1),this.m_bFocus=!1,e)for(var i=e;i;){if(r.Coordinator.assetWithPhysicalFocus&&i.isEqual(r.Coordinator.assetWithPhysicalFocus)||r.Coordinator.assetWithVirtualFocus&&i.isEqual(r.Coordinator.assetWithVirtualFocus)){var n=i.tagName,o=i.data(r.ATTRIBUTE_MODE);return this.m_bFocus=!0,!("disable"!==o&&"void"!==o&&"input"!==o&&!r.Coordinator.isInputElement(n))&&(this.m_nTypes=t||"disable"===o?s.TYPE_DISABLED:"void"===o?s.TYPE_VOID:s.TYPE_INPUT,this.m_pTarget=i,!0)}i=i.parent}return!1},e.prototype.destroy=function(){this.velocity(!0)},e}();t.Point=l},24368:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TYPE_FOCUSABLE=t.TYPE_VOID=t.TYPE_DISABLED=t.TYPE_INPUT=t.TYPE_LABEL=void 0;var n=i(91055);t.TYPE_LABEL=n.Controller.createType(),t.TYPE_INPUT=n.Controller.createType(),t.TYPE_DISABLED=n.Controller.createType(),t.TYPE_VOID=n.Controller.createType(),t.TYPE_FOCUSABLE=n.Controller.createType()},75371:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mode=void 0,function(e){e[e.Normal=1]="Normal",e[e.Compact=2]="Compact",e[e.Both=3]="Both"}(t.Mode||(t.Mode={}))},4991:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardMode=t.Feature=t.Features=t.Card=t.Cards=void 0;var n=i(49098);Object.defineProperty(t,"Cards",{enumerable:!0,get:function(){return n.Cards}});var o=i(57561);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return o.Card}});var r=i(38376);Object.defineProperty(t,"Features",{enumerable:!0,get:function(){return r.Features}});var s=i(23243);Object.defineProperty(t,"Feature",{enumerable:!0,get:function(){return s.Feature}});var a=i(75371);Object.defineProperty(t,"CardMode",{enumerable:!0,get:function(){return a.Mode}})},57561:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Card=void 0;var n=i(70655),o=i(95349),r=i(49098),s=i(6148),a=i(53339),l=i(9072),c=i(84389),u=i(56642),p=function(e){function t(t){void 0===t&&(t=3);var i=e.call(this)||this;return i.m_pFeature=void 0,i.m_nPosition=0,i.m_nSize=-1,i.m_bInitialized=!1,i.m_bReady=!1,i.m_bActivated=!1,i.m_bVisible=!0,i.m_bEmpty=!1,i.m_sValidation="unknown",i.m_bScrollIntoView=!1,i.m_nModes=t,i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"isLoading",{get:function(){return!this.cards||!this.cards.isReady},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cards",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"feature",{get:function(){return this.m_pFeature},set:function(e){this.m_pFeature||(this.m_pFeature=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.cards?this.cards.stylesheet:l.Stylesheet.app},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.m_pContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){return this.m_nPosition},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){if(this.isInitialized&&this.isObservable)return this.position+c.Num.max(this.m_nSize,0)+(this.cards?this.cards.spacingBetween:0);var e=this.predecessorSibling;return e?e.tail:this.cards?this.cards.spacingTop:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"modes",{get:function(){return this.m_nModes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this.cards?this.cards.mode:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModeNormal",{get:function(){return(0,c.castToBoolean)(1&this.mode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModeCompact",{get:function(){return(0,c.castToBoolean)(2&this.mode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDrawn",{get:function(){return this.m_pElement instanceof l.Element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReady",{get:function(){return!(this.isLoading||!this.m_bReady)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMeasured",{get:function(){return this.m_nSize>=0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMeasurable",{get:function(){return!!this.element&&(this.element.hasSelector("visible")||this.element.hasSelector("initializing"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isObservable",{get:function(){return!!(!this.isPopped&&this.isActivated&&this.isVisible&&!this.isEmpty&&this.modes&this.mode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstObservable",{get:function(){if(this.isObservable){for(var e=this.predecessorSibling;e;){if(e.isObservable)return!1;e=e.predecessorSibling}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastObservable",{get:function(){if(this.isObservable){for(var e=this.successorSibling;e;){if(e.isObservable)return!1;e=e.successorSibling}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.m_bActivated},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){this.m_bVisible!==e&&(this.m_bVisible=e,this.update(!0))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.m_bEmpty},set:function(e){var t=this;this.m_bEmpty!==e&&(this.m_bEmpty=e,e?this.update(!0):(0,c.scheduleAnimation)((function(){t.update(!0)})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validation",{get:function(){return this.m_sValidation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPassed",{get:function(){return"pass"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInvalid",{get:function(){return"invalid"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFailed",{get:function(){return"fail"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAwaiting",{get:function(){return"await"===this.validation},enumerable:!1,configurable:!0}),t.prototype.shift=function(){if(this.isMeasured){for(var e=this.cards instanceof r.Cards&&1===this.cards.type,t=this.successorSibling,i=this.tail,n=!1;t&&i!==t.position;)t.element&&t.element.position({x:e?i:0,y:e?0:i}),t.m_nPosition=i,i=t.tail,n=!0,t=t.successorSibling;return this.cards&&this.cards.update(),n}return!1},t.prototype.initialize=function(){var e=this;if(!this.isLoading&&(this.isInitialized||this.onInit())){var t=function(){(0,o.write)((function(){e.measured(),e.update(!0),e.ready()}))};this.isMeasured?t():(0,o.read)((function(){e.measure(),t()}))}},t.prototype.update=function(e){var t=this,i="none";this.isMeasured&&(this.cards&&!this.cards.isModeSwapping||(e=!1),this.m_bObservable!==this.isObservable&&(e&&(!this.isObservable&&this.m_bObservable?i="deactivate":this.isObservable&&(i="activate")),this.m_bObservable=this.isObservable,this.isReady&&(this.m_bObservable?this.onShow():this.onHide(),this.cards&&"unknown"!==this.validation&&this.cards.validate())),(0,o.write)((function(){if(t.element)if(t.element.selector("visible",t.isObservable),t.element.selector("normal",1===t.mode),t.element.selector("compact",2===t.mode),"deactivate"===i&&t.isReady){var e=t.cards?t.cards.deactivateDelay:-1;t.element.animateSelector("animation-deactivate",-1===e?function(){return t.shift()}:void 0,!0,"synchronous"),t.element.removeSelector("animation-shift"),t.element.removeSelector("animation-activate"),t.element.removeSelector("animation-activate-after-shift"),t.element.positionByTranslate3D=!1,-1!==e&&(0,c.scheduleUITimeout)((function(){return t.shift()}),e)}else{var n=t.shift();"activate"===i&&t.isReady&&t.isObservable&&(t.element.animateSelector("animation-activate".concat(n?"-after-shift":""),(function(){t.element&&(t.element.positionByTranslate3D=!0,t.element.addSelectorSafe("animation-shift",!0)),t.m_bScrollIntoView?(t.scrollIntoView(),(0,c.scheduleUITimeout)((function(){return t.onRequestAutoFocus()}),u.SCROLL_DURATION),t.m_bScrollIntoView=!1):t.onRequestAutoFocus()}),!0,"synchronous"),t.element.removeSelector("animation-deactivate"),t.element.removeSelector("animation-shift"),t.element.positionByTranslate3D=!1)}}),!this.element||!this.element.isInDOM))},t.prototype.onShow=function(){this.cards&&this.cards.onCardShow(this),this.emitHook("OnShow",{card:this})},t.prototype.onHide=function(){this.cards&&this.cards.onCardHide(this),this.emitHook("OnHide",{card:this})},t.prototype.onActivate=function(){this.cards&&this.cards.onCardActivate(this),this.emitHook("OnActivate",{card:this})},t.prototype.onDeactivate=function(){this.cards&&this.cards.onCardDeactivate(this),this.emitHook("OnDeactivate",{card:this})},t.prototype.onDestroy=function(){this.cards&&this.cards.onCardDestroy(this),this.emitHook("OnDestroy",{card:this})},t.prototype.onMeasure=function(){return 0},t.prototype.onResize=function(){this.emitHook("OnResize",{card:this})},t.prototype.onResized=function(){this.emitHook("OnResized",{card:this})},t.prototype.onValidate=function(e){return"unknown"},t.prototype.onValidated=function(){this.emitHook("OnValidated",{card:this})},t.prototype.onReady=function(){this.emitHook("OnReady",{card:this})},t.prototype.onInit=function(){return this.m_bInitialized=!0},t.prototype.onMode=function(){this.update(!1),this.emitHook("OnMode",{card:this})},t.prototype.onRequestFocus=function(){return!1},t.prototype.onRequestAutoFocus=function(){return!1},t.prototype.onPop=function(t){this.destroy(),e.prototype.onPop.call(this,t)},t.prototype.initialized=function(){this.m_bInitialized||(this.m_bInitialized=!0,this.cards&&this.cards.initialize(),this.initialize())},t.prototype.measure=function(e){if(this.isLoading||this.onResize(),(0,c.isNumberFinite)(e))return e!==this.m_nSize&&(this.m_nSize=e,this.isLoading||this.onResized(),!0);if(this.cards&&this.context&&this.isMeasurable){var t=1===this.cards.type;if(e=c.Num.round(t?this.context.rectangleWidth:this.context.rectangleHeight),(e+=this.onMeasure())!==this.m_nSize)return this.m_nSize=e,this.isLoading||this.onResized(),!0}return!1},t.prototype.measured=function(){if(this.cards&&this.element&&this.isMeasured){var e=1===this.cards.type,t=this.predecessorSibling,i=t?t.tail:this.cards.spacingTop;e?this.element.width=this.m_nSize:this.element.height=this.m_nSize+this.cards.spacingBetween,this.m_nPosition=i,this.element.position({x:e?i:0,y:e?0:i})}},t.prototype.resize=function(){var e=this;this.m_pResize||(this.m_pResize=new c.Debounce((function(){e.isReady&&e.cards&&!e.cards.isModeSwapping&&(0,o.read)((function(){e.element&&(e.element.hasSelector("animation-activate")||e.element.hasSelector("animation-activate-after-shift"))?e.m_pResize.invoke():e.measure()&&(0,o.write)((function(){e.measured(),e.shift()}))}))}))),this.m_pResize.invoke()},t.prototype.ready=function(){var e=this;(0,o.writeAfterRead)((function(){e.element&&e.element.removeSelector("initializing")})),this.m_bReady||(this.m_bReady=!0,this.onReady()),!this.isLoading&&this.isObservable&&this.cards&&"unknown"!==this.validation&&this.cards.validate()},t.prototype.activate=function(e,t){var i=this;if(void 0===t&&(t=!1),!this.m_bActivated&&(!this.feature||this.feature.isActivated)){if(t&&e.each((function(e){return!!e.m_bScrollIntoView&&(e.m_bScrollIntoView=!1,!0)})),this.m_bActivated=!0,this.m_bScrollIntoView=t,!this.cards||this.isPopped&&this.cards===e){var n=-1;if(this.feature)for(var o=this.feature.successorSibling;o;){if(o.card&&o.card.cards===e&&!o.card.isPopped){n=o.card.index;break}o=o.successorSibling}e.pushToMatrix(this,{index:n,recalculate:!0,emit:"push"})}this.m_pElement=this.m_pElement||e.drawCard(this,(function(t){var n=1===e.type,o=0;if(e.isReady){var r=i.predecessorSibling;r&&(o=r.tail)}t.addSelector("initializing"),t.selector("visible",i.isObservable),t.selector("animation-shift",i.isLoading),t.selector("normal",1===i.mode),t.selector("compact",2===i.mode),t.selector("passed",i.isPassed),t.selector("failed",i.isFailed),t.selector("awaiting",i.isAwaiting),t.position({x:n?o:0,y:n?0:o,translate:i.isLoading?"accelerated":"no"}),t.insert("div",(function(e){i.onDraw(i.m_pContext=e)}))})),this.onActivate(),this.validate(),this.initialize()}return this},t.prototype.deactivate=function(){return!this.m_bActivated||this.feature&&this.feature.isActivated||(this.m_bActivated=!1,this.isInitialized&&this.update(!0),this.onDeactivate()),this},t.prototype.show=function(){return this.isVisible=!0,this},t.prototype.hide=function(){return this.isVisible=!1,this},t.prototype.visible=function(e,t){return void 0===t&&(t=!1),e&&t&&this.cards&&(this.cards.each((function(e){return!!e.m_bScrollIntoView&&(e.m_bScrollIntoView=!1,!0)})),this.m_bScrollIntoView=!0),e?this.show():this.hide()},t.prototype.validate=function(){var e=this;return s.Callback.of({await:function(t){return e.onValidate(t)},promise:function(t){!t.isCanceled&&t.payload&&e.m_sValidation!==t.payload&&(e.m_sValidation=t.payload,e.feature&&(e.feature.validation=t.payload),e.cards&&((0,o.write)((function(){e.element&&(e.element.selector("passed",e.isPassed),e.element.selector("failed",e.isFailed),e.element.selector("awaiting",e.isAwaiting))}),!e.element||!e.element.isInDOM),e.cards.validate(),e.onValidated()))}}),this},t.prototype.focus=function(e){return void 0===e&&(e="first"),!1},t.prototype.scrollIntoView=function(e,t){return void 0===t&&(t=!1),this.cards&&(e?this.cards.scrollElementIntoView(e,void 0,void 0,t):this.cards.scrollCardIntoView(this)),this},t.prototype.destroy=function(){this.onDestroy(),this.m_pContext=void 0,this.m_nSize=-1,this.m_bActivated=!1,this.m_pResize&&(this.m_pResize.cancel(),this.m_pResize=void 0),this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0),this.shift(),e.prototype.destroy.call(this)},t}(a.Item);t.Card=p},49098:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cards=void 0;var n=i(70655),o=i(85238),r=i(22270),s=i(9072),a=i(38376),l=i(84389),c=i(53339),u=i(95349),p=function(e){function t(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=e.call(this)||this;r.m_nTab=0,r.m_nMode=1,r.m_bModeSwap=!1,r.m_sValidation="unknown";var s=l.extendImmutable.apply(void 0,i),a=s.style||t.style||{},c=s.layer instanceof o.Layer?s.layer.stylesheet:void 0;if(!s.layer)throw new Error("UI.Cards: No layer supplied.");if(s.layer.isDrawn)throw new Error("UI.Cards: Invalid layer supplied (layer is already drawn).");if(r.m_pStylesheet=s.stylesheet||c||t.stylesheet,r.m_pStyle=a,r.m_pLayer=s.layer,r.m_nTab=t.m_nTab,s.mode)switch(s.mode){case"normal":r.m_nMode=1;break;case"compact":r.m_nMode=2;break;default:r.m_nMode=s.mode}return t.m_nTab+=100,r.layer.hook("OnDraw","synchronous",(function(){return r.draw()})),r.layer.hook("OnDestroy","synchronous",(function(){return r.destroy()})),r}return(0,n.__extends)(t,e),Object.defineProperty(t,"tab",{get:function(){return t.m_nTab>=3e4&&(t.m_nTab=0),++t.m_nTab},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){var e=this.lastItem;return e?new r.Dimensions(0,e.tail-this.spacingBetween+this.spacingBottom):new r.Dimensions(0,0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"features",{get:function(){if(this.m_pFeatures||!this.m_pStyle.features||this.isDrawn||(this.m_pFeatures=new a.Features(this)),!this.m_pFeatures)throw new Error("UI.Cards.Features: Features are not available (no styles or features supplied)");return this.m_pFeatures},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFeaturesSupported",{get:function(){return this.m_pFeatures instanceof a.Features},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacingTop",{get:function(){return(this.m_pStyle.cards&&this.m_pStyle.cards.spacing?this.m_pStyle.cards.spacing.top:0)||0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacingBetween",{get:function(){return(this.m_pStyle.cards&&this.m_pStyle.cards.spacing?this.m_pStyle.cards.spacing.between:0)||0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacingBottom",{get:function(){return(this.m_pStyle.cards&&this.m_pStyle.cards.spacing?this.m_pStyle.cards.spacing.bottom:0)||0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deactivateDelay",{get:function(){return this.m_pStyle.cards&&this.m_pStyle.cards.animations&&this.m_pStyle.cards.animations.deactivate?l.Num.max((0,l.castToNumber)(this.m_pStyle.cards.animations.deactivateDelay,-1),-1):-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tab",{get:function(){return++this.m_nTab},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this.m_nMode},set:function(e){e!==this.m_nMode&&(this.m_nMode=e,this.m_bModeSwap=!0,this.m_pFeatures&&(this.m_pFeatures.isVisible=1===this.mode,this.m_pCards&&this.m_pStyle.features&&this.m_pCards.configuration.left(1===this.mode?this.m_pStyle.features.width:0)),this.each((function(e){return e.onMode()})),this.onMode(),this.m_bModeSwap=!1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModeSwapping",{get:function(){return this.m_bModeSwap},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validation",{get:function(){return this.m_sValidation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInvalid",{get:function(){return"invalid"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFailed",{get:function(){return"fail"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPassed",{get:function(){return"pass"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAwaiting",{get:function(){return"await"===this.validation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDrawn",{get:function(){return this.layer.isDrawn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReady",{get:function(){return this.m_pCards instanceof o.Layer&&this.m_pCards.isReady},enumerable:!1,configurable:!0}),t.prototype.calculated=function(){var e=!0;this.each((function(t){t.onInit()||t.isInitialized||(e=!1)})),e&&this.measure()},t.prototype.measure=function(){var e=this;(0,u.read)((function(){e.each((function(e){e.measure()})),(0,u.write)((function(){e.each((function(e){return e.measured()})),e.m_pCards&&e.m_pCards.done()}))}))},t.prototype.ready=function(){this.each((function(e){e.ready()}))},t.prototype.autoFocus=function(){this.each((function(e){return e.onRequestAutoFocus()}))},t.prototype.resize=function(){var e=this;(0,u.read)((function(){e.each((function(e){e.isMeasured&&e.measure()})),(0,u.write)((function(){e.each((function(e){return e.measured()}))}))}))},t.prototype.draw=function(){var e=this;this.layer.createLayer((function(t){var i,n=0;e.m_pStyle.cards&&e.m_pStyle.cards.animations&&e.m_pStyle.cards.animations.activate&&(n=l.Num.max(e.m_pStyle.cards.animations.activateDelay||0,0)),e.m_pCards=t,t.onCalculated=function(){return e.calculated()},t.onDimensions=function(){return e.dimensions},t.onReady=function(){return e.ready()},t.onShow=function(){return e.autoFocus()},t.onResize=function(){return e.resize()},t.wait(),e.m_pStyle.appearance&&t.element.style(e.m_pStyle.appearance,e.stylesheet),t.context.style({"> div":(i={position:"absolute",left:0,right:0,overflow:"hidden",display:"none","> div":(0,l.extendImmutable)({paddingLeft:e.m_pStyle.cards&&e.m_pStyle.cards.spacing?e.m_pStyle.cards.spacing.left:void 0,paddingRight:e.m_pStyle.cards&&e.m_pStyle.cards.spacing?e.m_pStyle.cards.spacing.right:void 0},e.m_pStyle.cards?e.m_pStyle.cards.appearance:void 0,{margin:0,padding:0})},i[s.Stylesheet.selector("normal")]={"> div":e.m_pStyle.cards?e.m_pStyle.cards.normal:void 0},i[s.Stylesheet.selector("compact")]={"> div":e.m_pStyle.cards?e.m_pStyle.cards.compact:void 0},i[s.Stylesheet.selector("passed")]={"> div":e.m_pStyle.cards?e.m_pStyle.cards.passed:void 0},i[s.Stylesheet.selector("failed")]={"> div":e.m_pStyle.cards?e.m_pStyle.cards.failed:void 0},i[s.Stylesheet.selector("awaiting")]={"> div":e.m_pStyle.cards?e.m_pStyle.cards.awaiting:void 0},i[s.Stylesheet.selector("visible")]={display:"block"},i[s.Stylesheet.selector("animation-shift")]=e.m_pStyle.cards&&e.m_pStyle.cards.animations?e.m_pStyle.cards.animations.shift:void 0,i[s.Stylesheet.selector("animation-activate")]=(0,l.extend)({opacity:0},e.m_pStyle.cards&&e.m_pStyle.cards.animations?e.m_pStyle.cards.animations.activate:void 0,{animationDelay:"0",display:"block",overflow:"visible"}),i[s.Stylesheet.selector("animation-activate-after-shift")]=(0,l.extend)({animationDelay:"".concat(l.Num.conform(n/1e3,3),"s"),opacity:0},e.m_pStyle.cards&&e.m_pStyle.cards.animations?e.m_pStyle.cards.animations.activate:void 0,{display:"block",overflow:"visible"}),i[s.Stylesheet.selector("animation-deactivate")]=(0,l.extendImmutable)(e.m_pStyle.cards&&e.m_pStyle.cards.animations?e.m_pStyle.cards.animations.deactivate:void 0,{display:"block"}),i[s.Stylesheet.selector("initializing")]={display:"block",transition:"none",opacity:0,pointerEvents:"none"},i)},e.stylesheet),e.each((function(t){t.activate(e)}))}),o.Layer.configuration.left(1===this.mode&&this.m_pFeatures&&this.m_pStyle.features?this.m_pStyle.features.width:0).scrollbars({direction:"vertical",spacing:this.m_pStyle.spacing,style:this.m_pStyle.scrollbars,bounceVertical:this.m_pStyle.bounce||"yes",blink:this.m_pStyle.blink})),this.m_pFeatures&&this.m_pStyle.features&&this.m_pFeatures.draw(this.m_pStyle.features,this.layer)},t.prototype.onMode=function(){this.emitHook("OnMode",{cards:this})},t.prototype.onValidated=function(){this.emitHook("OnValidated",{cards:this})},t.prototype.onDestroy=function(){this.emitHook("OnDestroy",{cards:this})},t.prototype.initialize=function(){this.isReady||!this.each((function(e){return!e.isInitialized}))&&this.measure()},t.prototype.drawCard=function(e,t){if(this.m_pCards)return this.m_pCards.context.create("div",t)},t.prototype.add=function(e,t){return void 0===t&&(t=-1),this.pushToMatrix(e,{index:t,recalculate:!0,emit:"push"})},t.prototype.update=function(){this.m_pCards&&this.m_pCards.scroll&&this.m_pCards.scroll.update(!0)},t.prototype.validate=function(){var e="unknown";return this.each((function(t){return t.isObservable&&"unknown"!==t.validation&&("await"!==e||t.isInvalid||t.isFailed)&&(e=t.validation),"invalid"===e||"fail"===e})),e!==this.m_sValidation&&(this.m_sValidation=e,this.onValidated()),this.validation},t.prototype.switchToCompactMode=function(){return this.mode=2,this},t.prototype.switchToNormalMode=function(){return this.mode=1,this},t.prototype.onCardActivate=function(e){this.emitHook("OnCardActivate",{cards:this,card:e})},t.prototype.onCardDeactivate=function(e){this.emitHook("OnCardDeactivate",{cards:this,card:e})},t.prototype.onCardShow=function(e){this.emitHook("OnCardShow",{cards:this,card:e})},t.prototype.onCardHide=function(e){this.emitHook("OnCardHide",{cards:this,card:e})},t.prototype.onCardDestroy=function(e){this.emitHook("OnCardDestroy",{cards:this,card:e})},t.prototype.scrollElementIntoView=function(e,t,i,n){var o=this;void 0===n&&(n=!1),this.m_pScrollToElement=e,this.m_nScrollToSpacingTop=t,this.m_nScrollToSpacingBottom=i,this.m_pScrollToThrottle=this.m_pScrollToThrottle||new l.Throttle((function(){o.m_pCards&&o.m_pCards.scroll&&o.m_pScrollToElement&&o.m_pCards.scroll.scrollToAsset(o.m_pScrollToElement,!0,0,o.m_nScrollToSpacingTop,0,o.m_nScrollToSpacingBottom,n),o.m_pScrollToElement=void 0,o.m_nScrollToSpacingTop=void 0,o.m_nScrollToSpacingBottom=void 0}),1e3/60*2),this.m_pScrollToThrottle.invoke()},t.prototype.scrollCardIntoView=function(e){e.element&&this.scrollElementIntoView(e.element,e.isFirstObservable?this.spacingTop:this.spacingBetween,e.isLastObservable?this.spacingBottom:this.spacingBetween)},t.prototype.scrollToTopOrBottom=function(){this.m_pCards&&this.m_pCards.scroll&&this.m_pCards.scroll.scrollToTopOrBottom()},t.prototype.destroy=function(){this.m_pScrollToThrottle&&(this.m_pScrollToThrottle.cancel(),this.m_pScrollToThrottle=void 0,this.m_pScrollToElement=void 0,this.m_nScrollToSpacingTop=void 0,this.m_nScrollToSpacingBottom=void 0),this.onDestroy(),this.reverseEach((function(e){return e.destroy()})),this.clear("dirty"),this.m_pCards&&(this.m_pCards.destroy(),this.m_pCards=void 0),this.m_pFeatures&&(this.m_pFeatures.destroy(),this.m_pFeatures=void 0),e.prototype.destroy.call(this)},t.m_nTab=0,t.stylesheet=s.Stylesheet.app,t}(c.Matrix);t.Cards=p},23243:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var n=i(70655),o=i(95349),r=i(53339),s=i(15661),a=i(42396),l=i(97059),c=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_bOption=!1,n.m_bVisible=!0,n.m_bLocked=!1,n.m_bDisabled=!1,n.m_bActivated=!1,n.m_sValidation="unknown",n.m_sName=i.name,n.m_sType=i.type,n.m_bOption=i.option,n.m_pCard=i.card,n.m_pCard&&(n.m_pCard.feature=n),n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"features",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"card",{get:function(){return this.m_pCard},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_sType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){this.m_bVisible!==e&&(this.m_bVisible=e,this.element&&(this.element.selectorSafe("visible",this.isVisible),this.emitHook("OnVisible",{feature:this})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLocked",{get:function(){return this.m_bLocked},set:function(e){this.m_bLocked!==e&&(this.m_bLocked=e,this.element&&(this.element.selectorSafe("locked",this.isLocked),this.isActivated&&!this.isLocked||this.element.removeSelectorSafe("hover-button"),this.m_pOption&&this.m_pOption.selectorSafe("visible",!this.isLocked&&this.isActivated),this.emitHook("OnLock",{feature:this})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){if(this.m_bDisabled!==e){var t=this.isActivated;this.m_bDisabled=e,this.element&&(this.element.selectorSafe("disabled",this.isDisabled),this.emitHook("OnDisable",{feature:this}),t!==this.isActivated&&this.update())}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return!this.m_bDisabled&&this.m_bActivated},set:function(e){if(this.m_bActivated!==e){var t=this.isActivated;this.m_bActivated=e,t!==this.isActivated&&this.update()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validation",{get:function(){return"unknown"===this.m_sValidation&&this.card?this.card.validation:this.m_sValidation},set:function(e){var t=this;this.m_sValidation!==e&&(this.m_sValidation=e,(0,o.write)((function(){t.element&&(t.element.selector("passed",t.isPassed),t.element.selector("failed",t.isFailed),t.element.selector("awaiting",t.isAwaiting))}),!this.element||!this.element.isInDOM))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInvalid",{get:function(){return"invalid"===this.validation},set:function(e){(e||this.isInvalid)&&(this.validation=e?"invalid":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPassed",{get:function(){return"pass"===this.validation},set:function(e){(e||this.isPassed)&&(this.validation=e?"pass":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFailed",{get:function(){return"fail"===this.validation},set:function(e){(e||this.isFailed)&&(this.validation=e?"fail":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAwaiting",{get:function(){return"await"===this.validation},set:function(e){(e||this.isAwaiting)&&(this.validation=e?"await":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){e!==this.m_sName&&(this.m_sName=e,this.m_pLabel&&(this.m_pLabel.text=e))},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.element&&(this.element.selectorSafe("activated",this.isActivated),this.element.selectorSafe("option",this.m_bOption&&this.isActivated),this.isActivated&&!this.isLocked||this.element.removeSelectorSafe("hover-button"),this.m_pOption&&this.m_pOption.selectorSafe("visible",!this.isLocked&&this.isActivated),this.emitHook("OnToggle",{feature:this}),this.card&&(this.isActivated?this.card.activate(this.features.cards,!0):this.card.deactivate()))},t.prototype.draw=function(e){var t=this;e&&"card"!==this.type&&(this.m_pElement=e.create("button",(function(e){if(e.tabIndex="toggle"===t.type?t.features.cards.tab:-1,e.addSelector("".concat(t.type)),e.selector("visible",t.isVisible),e.selector("locked",t.isLocked),e.selector("disabled",t.isDisabled),e.selector("activated",t.isActivated),e.selector("option",t.m_bOption&&t.isActivated),e.selector("passed",t.isPassed),e.selector("failed",t.isFailed),e.selector("awaiting",t.isAwaiting),t.m_pLabel=t.m_bOption?e.create("span"):e,t.m_pLabel.text=t.name,t.m_bOption&&(t.m_pOption=e.create("div",(function(i){i.selector("visible",!t.isLocked&&t.isActivated),s.Tap.on(i,(function(e){t.isLocked||t.isDisabled||(t.isActivated=!t.isActivated)})),a.Hover.pointer(i,(function(t){return e.selectorSafe("hover-button",t.isHovered)}))}))),"toggle"===t.type){var i=!0,n=!0;if(t.predecessorSibling)for(var o=t.predecessorSibling;o;){if("card"!==o.type){i="static"===o.type;break}o=o.predecessorSibling}if(t.successorSibling)for(var r=t.successorSibling;r;){if("card"!==r.type){n="static"===r.type;break}r=r.successorSibling}e.selector("first",i),e.selector("last",n),s.Tap.on(e,(function(e){t.isActivated&&t.card&&t.m_bOption?t.card.scrollIntoView():t.isLocked||t.isDisabled||(t.isActivated=!t.isActivated)})),a.Hover.pointer(e,(function(i){return e.selectorSafe("hover",(!t.isLocked&&!t.isDisabled||t.m_bOption&&t.isActivated)&&i.isHovered)})),l.Keyboard.local(e,(function(i){if(i.hasModifiers)return!1;switch(i.key){case"ArrowUp":case"ArrowDown":for(var n="ArrowDown"===i.key,o=!1,r=n?t.successorSibling||t.features.firstItem:t.predecessorSibling||t.features.lastItem;r;){if("toggle"===r.type&&r.isVisible)return r.focus(),!0;(r=n?r.successorSibling:r.predecessorSibling)||o||(r=n?t.features.firstItem:t.features.lastItem,o=!0)}break;case"ArrowRight":return!(t.isLocked||!t.isActivated||!t.card||!t.card.onRequestFocus())||t.features.each((function(e){return!!e.card&&e.card.onRequestFocus()}));case"Enter":case" ":if(!t.isLocked&&!t.isDisabled)return t.isActivated=!t.isActivated,!0;break;case"Escape":return e.blur(),!0}return!1}),"keydown")}}))),this.card&&this.card.activate(this.features.cards)},t.prototype.onVisible=function(e,t){var i=this;return void 0===t&&(t="synchronous"),this.hook("OnVisible",t,(function(){return e(i)})),this},t.prototype.onToggle=function(e,t){var i=this;return void 0===t&&(t="synchronous"),this.hook("OnToggle",t,(function(){return e(i)})),this},t.prototype.onLock=function(e,t){var i=this;return void 0===t&&(t="synchronous"),this.hook("OnLock",t,(function(){return e(i)})),this},t.prototype.onDisable=function(e,t){var i=this;return void 0===t&&(t="synchronous"),this.hook("OnDisable",t,(function(){return e(i)})),this},t.prototype.visible=function(e){return void 0===e&&(e=!0),this.isVisible=e,this},t.prototype.show=function(){return this.visible(!0)},t.prototype.hide=function(){return this.visible(!1)},t.prototype.locked=function(e){return void 0===e&&(e=!0),this.isLocked=e,this},t.prototype.lock=function(){return this.locked(!0)},t.prototype.unlock=function(){return this.locked(!1)},t.prototype.disabled=function(e){return void 0===e&&(e=!0),this.isDisabled=e,this},t.prototype.disable=function(){return this.disabled(!0)},t.prototype.enable=function(){return this.disabled(!1)},t.prototype.activated=function(e){return void 0===e&&(e=!0),this.isActivated=e,this},t.prototype.activate=function(){return this.activated(!0)},t.prototype.deactivate=function(){return this.activated(!1)},t.prototype.style=function(e){return this.element&&this.element.style(e,this.features.cards.stylesheet),this},t.prototype.focus=function(){return!("toggle"!==this.type||!this.element)&&(this.element.focus(),this.scrollIntoView(),!0)},t.prototype.scrollIntoView=function(){this.features.scrollIntoView(this)},t}(r.StrictItem);t.Feature=c},38376:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Features=void 0;var n=i(70655),o=i(84389),r=i(53339),s=i(9072),a=i(85238),l=i(57561),c=i(23243),u=function(e){function t(t){var i=e.call(this,c.Feature)||this;return i.m_pCards=t,i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"cards",{get:function(){return this.m_pCards},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return!!this.m_pLayer&&this.m_pLayer.isVisible},set:function(e){this.m_pLayer&&(this.m_pLayer.isVisible=e)},enumerable:!1,configurable:!0}),t.prototype.add=function(e,t,i,n){if(this.cards.isDrawn)throw new Error("UI.Cards.Features.Add: Features can only be added during construction.");return this.appendToMatrix({type:e,name:t,option:i,card:n})},t.prototype.draw=function(e,t){var i=this;this.m_pLayer=this.m_pLayer||t.createLayer((function(t){var n,r,a,l,c;e.appearance&&t.element.style(e.appearance,i.cards.stylesheet),t.context.style({paddingLeft:e.spacing?e.spacing.left:void 0,paddingRight:e.spacing?e.spacing.right:void 0,paddingTop:e.spacing?e.spacing.top:void 0,paddingBottom:e.spacing?e.spacing.bottom:void 0,"> button":(n={display:"none",position:"relative",textAlign:"left",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"100%",margin:0,border:"none",backgroundColor:"transparent",appearance:"none","> span":{pointerEvents:"none"},"> div":(r={position:"absolute",display:"none",top:0,right:0,width:e.toggle.option?e.toggle.option.button.width:0,height:"100%"},r[s.Stylesheet.selector("visible")]={display:"block"},r)},n[s.Stylesheet.selector("static")]=(0,o.extend)({cursor:"default"},e.static),n[s.Stylesheet.selector("toggle")]=(0,o.extend)((a={},a[s.Stylesheet.selector("hover")]=e.toggle.hover,a["&:focus"]=(0,o.extend)({outline:"0"},e.toggle.focus),a[s.Stylesheet.selector("activated")]=(0,o.extendImmutable)(e.toggle.activated?e.toggle.activated.appearance:void 0,(l={},l[s.Stylesheet.selector("hover")]=e.toggle.activated?e.toggle.activated.hover:void 0,l["&:focus"]=e.toggle.activated?e.toggle.activated.focus:void 0,l)),a[s.Stylesheet.selector("option")]=(0,o.extendImmutable)(e.toggle.option?e.toggle.option.appearance:void 0,(c={},c[s.Stylesheet.selector("hover")]=e.toggle.option?e.toggle.option.hover:void 0,c[s.Stylesheet.selector("hover-button")]=e.toggle.option?e.toggle.option.button.hover:void 0,c["&:focus"]=e.toggle.option?e.toggle.option.focus:void 0,c)),a[s.Stylesheet.selector("locked")]=(0,o.extend)({cursor:"default","*":{cursor:"default"}},e.toggle.locked),a[s.Stylesheet.selector("passed")]=e.toggle.passed,a[s.Stylesheet.selector("failed")]=e.toggle.failed,a[s.Stylesheet.selector("awaiting")]=e.toggle.awaiting,a[s.Stylesheet.selector("first")]=e.toggle.first,a[s.Stylesheet.selector("last")]=e.toggle.last,a),e.toggle.appearance),n[s.Stylesheet.selector("disabled")]=e.disabled,n[s.Stylesheet.selector("visible")]=(0,o.extendImmutable)(e.visible,{display:"block"}),n["&::-moz-focus-inner"]={border:"none"},n)},i.cards.stylesheet),i.each((function(e){return e.draw(t.context)}))}),a.Layer.configuration.width(e.width).alignLeft().visible(1===this.cards.mode).scrollbars({direction:"vertical",style:e.scrollbars,bounceVertical:e.bounce||"yes",blink:e.blink}))},t.prototype.card=function(e,t){if(void 0===t&&(t=!0),e instanceof l.Card)return this.add("card","",!1,e).activated(t);var i=this.add("card","",!1,e.card).activated((0,o.castToBoolean)(e.activated,!0)).disabled(e.disabled||!1).visible((0,o.castToBoolean)(e.visible,!0)).locked(e.locked||!1);return e.on&&i.onToggle(e.on),e.onVisible&&i.onVisible(e.onVisible),e.onDisable&&i.onDisable(e.onDisable),e.onLock&&i.onLock(e.onLock),i},t.prototype.feature=function(e,t,i){if(void 0===i&&(i=!1),(0,o.isObject)(e)){var n=this.add("toggle",e.name,!1,e.card).activated(e.activated||!1).disabled(e.disabled||!1).visible((0,o.castToBoolean)(e.visible,!0)).locked(e.locked||!1);return e.on&&n.onToggle(e.on),e.onVisible&&n.onVisible(e.onVisible),e.onDisable&&n.onDisable(e.onDisable),e.onLock&&n.onLock(e.onLock),n}return this.add("toggle",e,!1,t).activated(i)},t.prototype.option=function(e,t,i){if(void 0===i&&(i=!1),(0,o.isObject)(e)){var n=this.add("toggle",e.name,!0,e.card).activated(e.activated||!1).disabled(e.disabled||!1).visible((0,o.castToBoolean)(e.visible,!0)).locked(e.locked||!1);return e.on&&n.onToggle(e.on),e.onVisible&&n.onVisible(e.onVisible),e.onDisable&&n.onDisable(e.onDisable),e.onLock&&n.onLock(e.onLock),n}return this.add("toggle",e,!0,t).activated(i)},t.prototype.toggle=function(e,t){if(void 0===t&&(t=!1),(0,o.isObject)(e)){var i=this.add("toggle",e.name,!1,void 0).activated(e.activated||!1).disabled(e.disabled||!1).visible((0,o.castToBoolean)(e.visible,!0)).locked(e.locked||!1);return e.on&&i.onToggle(e.on),e.onVisible&&i.onVisible(e.onVisible),e.onDisable&&i.onDisable(e.onDisable),e.onLock&&i.onLock(e.onLock),i}return this.add("toggle",e,!1,void 0).activated(t)},t.prototype.static=function(e){if((0,o.isObject)(e)){var t=this.add("static",e.name,!1,void 0).disabled(e.disabled||!1).visible((0,o.castToBoolean)(e.visible,!0));return e.onVisible&&t.onVisible(e.onVisible),e.onDisable&&t.onDisable(e.onDisable),t}return this.add("static",e,!1,void 0)},t.prototype.scrollIntoView=function(e){this.m_pLayer&&this.m_pLayer.scroll&&e.element&&this.m_pLayer.scroll.scrollToAsset(e.element)},t.prototype.scrollToTopOrBottom=function(){this.m_pLayer&&this.m_pLayer.scroll&&this.m_pLayer.scroll.scrollToTopOrBottom()},t.prototype.destroy=function(){this.each((function(e){return e.destroy()})),this.clear("dirty"),this.m_pLayer&&(this.m_pLayer.destroy(),this.m_pLayer=void 0),e.prototype.destroy.call(this)},t}(r.StrictMatrix);t.Features=u},71528:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0;var n=i(31961);Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return n.Button}})},31961:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0;var n=i(70655),o=i(9072),r=i(84389),s=i(70569),a=i(42396),l=i(72898),c=i(15661),u=i(27636),p=function(e){function t(i,n,o){void 0===n&&(n="normal");var r=e.call(this,{label:i,style:o,styleName:"button",styleDefault:t.style})||this;return r.m_sType="normal",r.m_pWidth="auto",r.m_sType=n,r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buttonType",{get:function(){return this.m_sType},set:function(e){this.type(e)},enumerable:!1,configurable:!0}),t.prototype.onTap=function(){this.isInteractable&&this.m_fnTap&&this.m_fnTap(this)},t.prototype.onDraw=function(e){var t,i,n,l,p,h=this,d=this.m_pButton=this.isFused?e:e.create(this.m_sURL?"a":"button");return d.style([{margin:0,textOverflow:"ellipsis"},this.style?this.style.appearance:void 0,this.isFused&&this.style?this.style.fused:void 0,(t={width:this.isFused||"full"===this.m_pWidth?"100%":this.m_pWidth,maxWidth:"100%",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden",appearance:"none",userSelect:"none",textDecoration:"none","&:hover":{textDecoration:"none"},"&:disabled":{pointerEvents:"none"},"&:focus":{outline:"0",boxshadow:"none"},"&::-moz-focus-inner":{border:"none"}},t[o.Stylesheet.selector("hover")]=this.style?this.style.hover:void 0,t[o.Stylesheet.selector("focus")]=this.style?this.style.focus:void 0,t[o.Stylesheet.selector("tap")]=this.style?this.style.tap:void 0,t[o.Stylesheet.selector("normal")]=this.style&&this.style.normal?(0,r.extendImmutable)(this.style.normal.appearance,(i={},i[o.Stylesheet.selector("hover")]=this.style.normal.hover,i[o.Stylesheet.selector("focus")]=this.style.normal.focus,i[o.Stylesheet.selector("tap")]=this.style.normal.tap,i)):void 0,t[o.Stylesheet.selector("accept")]=this.style&&this.style.accept?(0,r.extendImmutable)(this.style.accept.appearance,(n={},n[o.Stylesheet.selector("hover")]=this.style.accept.hover,n[o.Stylesheet.selector("focus")]=this.style.accept.focus,n[o.Stylesheet.selector("tap")]=this.style.accept.tap,n)):void 0,t[o.Stylesheet.selector("warning")]=this.style&&this.style.warning?(0,r.extendImmutable)(this.style.warning.appearance,(l={},l[o.Stylesheet.selector("hover")]=this.style.warning.hover,l[o.Stylesheet.selector("focus")]=this.style.warning.focus,l[o.Stylesheet.selector("tap")]=this.style.warning.tap,l)):void 0,t[o.Stylesheet.selector("cancel")]=this.style&&this.style.cancel?(0,r.extendImmutable)(this.style.cancel.appearance,(p={},p[o.Stylesheet.selector("hover")]=this.style.cancel.hover,p[o.Stylesheet.selector("focus")]=this.style.cancel.focus,p[o.Stylesheet.selector("tap")]=this.style.cancel.tap,p)):void 0,t[o.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t)],this.stylesheet),d.addSelector(this.m_sType),d.property("disabled",this.isDisabled),!this.isFused&&this.m_sURL&&(d.attribute("href",this.m_sURL),d.attribute("target","blank"===this.m_sTarget?"_blank":"_self"),d.on("click",(function(){!h.isFused&&h.m_sURL&&h.onTap()}))),u.Touch.mode(d,!this.isFused&&this.m_sURL?"disable":"exclusive"),a.Hover.on(d,(function(e){return h.hover(e.isHovered)})),c.Tap.on(d,(function(){return h.onTap()}),(function(){return d.addSelectorSafe("tap")}),(function(){return d.removeSelectorSafe("tap")})),this.m_pFocus=s.Focus.on(d,d,"no-auto-focus","auto-blur",(function(e){return h.updateFocus(e.hasFocus,!0,d,d)}),this.tab,(function(){return h.isInteractable})),this.keyboard(d),d},t.prototype.onUpdate=function(){this.element&&(this.element.property("disabled",this.isDisabled),this.element.selector("focus",this.hasFocus),this.element.selector("hover",this.isHovered)),e.prototype.onUpdate.call(this)},t.prototype.onEnter=function(){return this.onTap(),!0},t.prototype.onFocusOptions=function(){this.m_pFocus&&this.m_pFocus.update(),e.prototype.onFocusOptions.call(this)},t.prototype.focus=function(){return!!this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.type=function(e){return e!==this.m_sType&&(this.element&&(this.element.removeSelectorSafe(this.m_sType),this.element.addSelectorSafe(e)),this.m_sType=e),this},t.prototype.width=function(e){return this.m_pWidth=(0,r.isNumberFinite)(e)?r.Num.max(e,0):e,this},t.prototype.on=function(e){return this.m_fnTap=e,this},t.prototype.url=function(e,t){return void 0===t&&(t="blank"),this.m_sURL===e&&this.m_sTarget===t||(this.m_sURL=e,this.m_sTarget=t,this.m_pButton&&!this.isFused&&(this.m_sURL?(this.m_pButton.attribute("href",this.m_sURL),this.m_pButton.attribute("target","blank"===this.m_sTarget?"_blank":"_self")):(this.m_pButton.destroyAttribute("href"),this.m_pButton.destroyAttribute("target")),u.Touch.mode(this.m_pButton,this.m_sURL?"disable":"exclusive"))),this},t.prototype.onClick=function(e){return this.url().on(e)},t}(l.StaticControl);t.Button=p},87376:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Buttons=void 0;var n=i(16881);Object.defineProperty(t,"Buttons",{enumerable:!0,get:function(){return n.Buttons}})},16881:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Buttons=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(72898),a=i(15661),l=i(27636),c=i(42396),u=function(e){function t(i,n,o){void 0===n&&(n=!1);var r=e.call(this,{style:o,styleName:"buttons",styleDefault:t.style})||this;return r.m_pElements=[],r.m_pButtons=i,r.m_bAnimated=n,r}return(0,n.__extends)(t,e),t.prototype.onDraw=function(e){var t,i,s,u=this,p=this.isFused?e:e.create("div"),h=function(e){var t;u.m_bAnimated&&(e.style(((t={visibility:"hidden"})[r.Stylesheet.selector("animated")]={visibility:"inherit"},t[r.Stylesheet.selector("animate")]={"@keyframes":{from:{opacity:0,transform:"translate3d(0, 200%, 0)"},to:{opacity:1,transform:"translate3d(0, 0, 0)"}},opacity:0,animationDuration:".15s",animationDelay:"".concat(.02*++d,"s"),animationTimingFunction:"ease-out"},t)),u.m_pElements.push(e))},d=0;return p.style([{margin:0},this.style?this.style.appearance:void 0,this.isFused&&this.style?this.style.fused:void 0,{width:"100%",maxWidth:"100%",boxSizing:"border-box",display:"flex"}],this.stylesheet),(0,o.each)(this.m_pButtons,(function(e){var t,i,d,m,f,g,y,b,v,M,_,S,I,T,N,j,w,L,C,O,D,x;(0,o.isFilledString)(e)&&p.create("div",(function(t){t.text=e,h(t)}),[null===(i=u.style)||void 0===i?void 0:i.group,{display:"block",width:"100%"}],u.stylesheet),!(0,o.isString)(e)&&s||(s=p.create("div",void 0,{display:"flex",flexDirection:"row",flexWrap:"wrap",marginRight:-((null===(m=null===(d=u.style)||void 0===d?void 0:d.button)||void 0===m?void 0:m.spacing)||0),"&:last-child":{marginBottom:-((null===(g=null===(f=u.style)||void 0===f?void 0:f.button)||void 0===g?void 0:g.spacing)||0)}},u.stylesheet)),!(0,o.isString)(e)&&s&&s.create("button",(function(t){var i,n,o,r;e.image&&t.create("span",void 0,[null===(n=null===(i=u.style)||void 0===i?void 0:i.button)||void 0===n?void 0:n.image,{display:"inline-block",backgroundRepeat:"no-repeat",backgroundImage:'url("'.concat(e.image,'")')}],u.stylesheet),t.property("disabled",e.disabled||!1),t.textAppend(e.label),e.badge&&t.append("span",(function(t){t.text=e.badge||""}),null===(r=null===(o=u.style)||void 0===o?void 0:o.button)||void 0===r?void 0:r.badge,u.stylesheet),l.Touch.mode(t,"exclusive"),c.Hover.on(t,(function(e){return t.toggleSelectorSafe("hover",e.isHovered)})),a.Tap.on(t,(function(){return e.on()}),(function(){return t.addSelectorSafe("tap")}),(function(){return t.removeSelectorSafe("tap")})),h(t)}),[{margin:0,textOverflow:"ellipsis",flexGrow:1,display:"flex",justifyContent:"left",alignItems:"center"},null===(b=null===(y=u.style)||void 0===y?void 0:y.button)||void 0===b?void 0:b.appearance,(t={width:"auto",maxWidth:"calc(50% - ".concat((null===(M=null===(v=u.style)||void 0===v?void 0:v.button)||void 0===M?void 0:M.spacing)||0,"px)"),boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden",appearance:"none",userSelect:"none",textDecoration:"none",marginRight:(null===(S=null===(_=u.style)||void 0===_?void 0:_.button)||void 0===S?void 0:S.spacing)||0,marginBottom:(null===(T=null===(I=u.style)||void 0===I?void 0:I.button)||void 0===T?void 0:T.spacing)||0,flexWrap:"nowrap","&:hover":{textDecoration:"none"},"&:focus":{outline:"0",boxshadow:"none"},"&::-moz-focus-inner":{border:"none"}},t[r.Stylesheet.selector("hover")]=null===(j=null===(N=u.style)||void 0===N?void 0:N.button)||void 0===j?void 0:j.hover,t[r.Stylesheet.selector("focus")]=null===(L=null===(w=u.style)||void 0===w?void 0:w.button)||void 0===L?void 0:L.focus,t[r.Stylesheet.selector("tap")]=null===(O=null===(C=u.style)||void 0===C?void 0:C.button)||void 0===O?void 0:O.tap,t["&:disabled"]=(0,n.__assign)({pointerEvents:"none"},null===(x=null===(D=u.style)||void 0===D?void 0:D.button)||void 0===x?void 0:x.disabled),t)],u.stylesheet)})),this.m_bAnimated&&(null===(i=null===(t=this.form)||void 0===t?void 0:t.cards)||void 0===i||i.layer.hook("OnShow","framed",(function(){var e,t;(0,o.each)(u.m_pElements,(function(e){e.animateSelector("animate",void 0,!0),e.addSelectorSafe("animated")})),null===(t=null===(e=u.form)||void 0===e?void 0:e.cards)||void 0===t||t.layer.unhookContext(u)}),this)),p},t}(s.StaticControl);t.Buttons=u},70488:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;var n=i(97906);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function(){return n.Checkbox}})},97906:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;var n=i(70655),o=i(72898),r=i(9072),s=i(84389),a=i(70569),l=i(42396),c=i(15661),u=i(27636),p=i(95349),h=function(e){function t(i,n,o){return void 0===n&&(n=!1),e.call(this,n,!1,{label:i,style:o,styleName:"checkbox",styleDefault:t.style})||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isChecked",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(e){var t,i,n,o,p,h,d,m,f,g,y,b,v,M=this;return this.isFused&&(this.style&&this.style.fused&&e.style(((t={})[r.Stylesheet.selector("required")]=this.style.fused.required,t[r.Stylesheet.selector("hover")]=this.style.fused.hover&&(0,s.extendImmutable)(this.style.fused.hover.appearance,{span:(0,s.extendImmutable)(this.style.fused.hover.label,(i={},i[r.Stylesheet.selector("unchecked")]=this.style.fused.hover.unchecked,i[r.Stylesheet.selector("checked")]=this.style.fused.hover.checked,i))}),t[r.Stylesheet.selector("focus")]=this.style.fused.focus&&(0,s.extendImmutable)(this.style.fused.focus.appearance,{span:(0,s.extendImmutable)(this.style.fused.focus.label,(n={},n[r.Stylesheet.selector("unchecked")]=this.style.fused.focus.unchecked,n[r.Stylesheet.selector("checked")]=this.style.fused.focus.checked,n))}),t),this.stylesheet),e.selector("required",this.isRequired)),e.create("label",(function(t){M.m_pCheckbox=t.create("input",(function(i){i.attribute("type","checkbox"),i.property("checked",M.isChecked),i.property("disabled",M.isDisabled||M.isLocked),i.property("readonly",M.isLocked),M.m_pFocus=a.Focus.on(M.isFused?e:t,i,"no-auto-focus","auto-blur",(function(n){return M.updateFocus(n.hasFocus,!0,M.isFused?e:t,i)}),M.tab,(function(){return M.isInteractable})),M.keyboard(i)}),{opacity:0,display:"inline",float:"left",appearance:"none"},M.stylesheet),M.m_pStatic=t.append("span",(function(e){e.selector("checked",M.isChecked),e.selector("unchecked",!M.isChecked)})),M.m_sDescription&&t.append("div",(function(e){return e.text=M.m_sDescription||""})),t.selector("failed",M.isFailed),t.selector("passed",M.isPassed),t.selector("awaiting",M.isAwaiting),t.selector("locked",M.isLocked),M.isFused||t.selector("required",M.isRequired),u.Touch.mode(t,"exclusive"),l.Hover.pointer(M.isFused?e:t,(function(e){return M.hover(e.isHovered)})),c.Tap.on(M.isFused?e:t,(function(){return M.toggle()}))}),[this.style&&this.style.appearance,this.isFused&&this.style&&this.style.fused&&this.style.fused.appearance||void 0,(o={width:!this.isFused&&this.m_nWidth?this.m_nWidth:"100%",boxSizing:"border-box","> span":(0,s.extend)({cursor:"default"},this.style&&this.style.label,(p={display:"block",boxSizing:"border-box",backgroundRepeat:"no-repeat"},p[r.Stylesheet.selector("unchecked")]=this.style&&this.style.unchecked,p[r.Stylesheet.selector("checked")]=this.style&&this.style.checked,p)),"> div":this.style&&this.style.description},o[r.Stylesheet.selector("required")]=this.style&&this.style.required&&(0,s.extendImmutable)(this.style.required.appearance,{span:(0,s.extendImmutable)(this.style.required.label,(h={},h[r.Stylesheet.selector("unchecked")]=this.style.required.unchecked,h[r.Stylesheet.selector("checked")]=this.style.required.checked,h)),div:this.style.required.description}),o[r.Stylesheet.selector("hover")]=this.style&&this.style.hover&&(0,s.extendImmutable)(this.style.hover.appearance,{span:(0,s.extendImmutable)(this.style.hover.label,(d={},d[r.Stylesheet.selector("unchecked")]=this.style.hover.unchecked,d[r.Stylesheet.selector("checked")]=this.style.hover.checked,d)),div:this.style.hover.description}),o[r.Stylesheet.selector("focus")]=this.style&&this.style.focus&&(0,s.extendImmutable)(this.style.focus.appearance,{span:(0,s.extendImmutable)(this.style.focus.label,(m={},m[r.Stylesheet.selector("unchecked")]=this.style.focus.unchecked,m[r.Stylesheet.selector("checked")]=this.style.focus.checked,m)),div:this.style.focus.description}),o[r.Stylesheet.selector("failed")]=this.style&&this.style.failed&&(0,s.extendImmutable)(this.style.failed.appearance,{span:(0,s.extendImmutable)(this.style.failed.label,(f={},f[r.Stylesheet.selector("unchecked")]=this.style.failed.unchecked,f[r.Stylesheet.selector("checked")]=this.style.failed.checked,f)),div:this.style.failed.description}),o[r.Stylesheet.selector("passed")]=this.style&&this.style.passed&&(0,s.extendImmutable)(this.style.passed.appearance,{span:(0,s.extendImmutable)(this.style.passed.label,(g={},g[r.Stylesheet.selector("unchecked")]=this.style.passed.unchecked,g[r.Stylesheet.selector("checked")]=this.style.passed.checked,g)),div:this.style.passed.description}),o[r.Stylesheet.selector("awaiting")]=this.style&&this.style.awaiting&&(0,s.extendImmutable)(this.style.awaiting.appearance,{span:(0,s.extendImmutable)(this.style.awaiting.label,(y={},y[r.Stylesheet.selector("unchecked")]=this.style.awaiting.unchecked,y[r.Stylesheet.selector("checked")]=this.style.awaiting.checked,y)),div:this.style.awaiting.description}),o[r.Stylesheet.selector("locked")]=this.style&&this.style.locked&&(0,s.extendImmutable)(this.style.locked.appearance,{span:(0,s.extendImmutable)(this.style.locked.label,(b={},b[r.Stylesheet.selector("unchecked")]=this.style.locked.unchecked,b[r.Stylesheet.selector("checked")]=this.style.locked.checked,b)),div:this.style.locked.description}),o[r.Stylesheet.selector("disabled")]=this.style&&this.style.disabled&&(0,s.extendImmutable)(this.style.disabled.appearance,{span:(0,s.extendImmutable)(this.style.disabled.label,(v={},v[r.Stylesheet.selector("unchecked")]=this.style.disabled.unchecked,v[r.Stylesheet.selector("checked")]=this.style.disabled.checked,v)),div:this.style.disabled.description}),o)],this.stylesheet)},t.prototype.onUpdate=function(){var t=this.isFused?this.parent:this.element;this.m_pCheckbox&&(this.m_pCheckbox.property("disabled",this.isDisabled||this.isLocked),this.m_pCheckbox.property("readonly",this.isLocked)),this.element&&(this.element.selector("failed",this.isFailed),this.element.selector("passed",this.isPassed),this.element.selector("awaiting",this.isAwaiting),this.element.selector("locked",this.isLocked)),t&&(t.selector("required",this.isRequired),t.selector("hover",this.isHovered),t.selector("focus",this.hasFocus)),e.prototype.onUpdate.call(this)},t.prototype.onEnter=function(){return this.toggle(),!0},t.prototype.onFocusOptions=function(){this.m_pFocus&&this.m_pFocus.update(),e.prototype.onFocusOptions.call(this)},t.prototype.onData=function(){var t=this;(0,p.write)((function(){t.m_pStatic&&(t.m_pStatic.selector("checked",t.isChecked),t.m_pStatic.selector("unchecked",!t.isChecked))}),!this.m_pStatic||!this.m_pStatic.isInDOM,!0),this.m_fnToggle&&this.m_fnToggle(this),e.prototype.onData.call(this)},t.prototype.checked=function(e){return void 0===e&&(e=!0),this.isChecked=e,this},t.prototype.check=function(){return this.isChecked=!0,this},t.prototype.uncheck=function(){return this.isChecked=!1,this},t.prototype.toggle=function(){return this.isInteractable&&(this.isChecked=!this.isChecked),this},t.prototype.focus=function(){return!!this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.description=function(e){return this.m_sDescription=e,this},t.prototype.width=function(e){return this.m_nWidth=s.Num.max(e,0),this},t.prototype.on=function(e){return this.m_fnToggle=e,this},t}(o.DataControl);t.Checkbox=h},37760:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimeFeatures=void 0,function(e){e[e.Date=1]="Date",e[e.Time=2]="Time",e[e.TimeHoursOnly=4]="TimeHoursOnly",e[e.TimeHoursAndMinutesOnly=8]="TimeHoursAndMinutesOnly",e[e.NoResetOption=16]="NoResetOption",e[e.Weekday=32]="Weekday",e[e.Default=35]="Default"}(t.DateTimeFeatures||(t.DateTimeFeatures={}))},21537:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimeFeatures=t.DateTime=void 0;var n=i(30569);Object.defineProperty(t,"DateTime",{enumerable:!0,get:function(){return n.DateTime}});var o=i(37760);Object.defineProperty(t,"DateTimeFeatures",{enumerable:!0,get:function(){return o.DateTimeFeatures}})},30569:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateTime=void 0;var n=i(70655),o=i(15661),r=i(84389),s=i(9072),a=i(70569),l=i(42396),c=i(72898),u=i(5466),p=i(33463),h=i(95349),d=i(22270),m=function(e){function t(i,n){var o=e.call(this,i,void 0,{style:n,styleName:"datetime",styleDefault:t.style})||this;return o.m_sZone="local",o.m_pWidth="auto",o.m_nFeatures=35,o.m_nYearFrom=1900,o.m_nYearTo=(new Date).getFullYear(),o.m_nInterval=5,o.m_strPlaceholder="",o.m_pPlanes=[],o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"date",{get:function(){if((0,r.isNumberFinite)(this.value)){var e=new Date(this.value);if("UTC"===this.m_sZone){var t=new Date(0);return t.setFullYear(e.getUTCFullYear()),t.setMonth(e.getUTCMonth()),t.setDate(e.getUTCDate()),t.setHours(e.getUTCHours()),t.setMinutes(e.getUTCMinutes()),t.setSeconds(e.getUTCSeconds()),t.setMilliseconds(e.getUTCMilliseconds()),t}return e}return new Date},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasValue",{get:function(){return(0,r.isNumberFinite)(this.value)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dayOfMonth",{get:function(){return this.date.getDate()},set:function(e){var t=this.date;t.setDate(e),this.value=t.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"month",{get:function(){return this.date.getMonth()},set:function(e){var t=this.date;for(t.setMonth(e);t.getMonth()!==e;)t.setTime(t.getTime()-864e5);this.value=t.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"year",{get:function(){return this.date.getFullYear()},set:function(e){var t=this.date,i=t.getMonth();for(e=r.Num.range(e,this.m_nYearFrom,this.m_nYearTo),t.setFullYear(e);t.getMonth()!==i;)t.setTime(t.getTime()-864e5);this.value=t.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hour",{get:function(){return this.date.getHours()},set:function(e){var t=this.date;t.setHours(e),this.value=t.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minute",{get:function(){return this.date.getMinutes()},set:function(e){var t=this.date;t.setMinutes(e),this.value=t.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"second",{get:function(){return this.date.getSeconds()},set:function(e){var t=this.date;t.setSeconds(e),this.value=t.getTime()},enumerable:!1,configurable:!0}),t.prototype.createPlane=function(e,t){var i=this;e.addSelector("plane"),this.m_pPlanes.push({element:e,focus:a.Focus.on(e,e,"no-auto-focus","auto-blur",(function(t){i.updateFocus(t.hasFocus,!0,e,e),e.selectorSafe("focus",t.hasFocus)}),this.tab,(function(){return i.isInteractable&&i.hasValue}))}),l.Hover.pointer(e,(function(t){return e.selectorSafe("hover",!i.isLocked&&t.isHovered)})),o.Tap.on(e,(function(){return t()})),this.keyboard(e,(function(){return t(),!0}))},t.prototype.updatePlanes=function(){this.isRequired&&!this.hasValue&&(this.value=r.DateTime.now);var e=this.hasValue;this.m_pDate&&this.m_pDate.selectorSafe("visible",e),this.m_pTime&&this.m_pTime.selectorSafe("visible",e),this.m_pSplitter&&this.m_pSplitter.selectorSafe("visible",e),this.m_pPlaceholder&&this.m_pPlaceholder.selectorSafe("visible",!e),this.m_pWeekday&&(this.m_pWeekday.text=u.Locales.dateTime("EEEE",this.date.getTime())),this.m_pDayOfMonth&&(this.m_pDayOfMonth.text=(0,r.castToString)(this.dayOfMonth)),this.m_pMonth&&(this.m_pMonth.text=u.Locales.dateTime("MMMM",this.date.getTime())),this.m_pYear&&(this.m_pYear.text=(0,r.castToString)(this.year)),this.m_pHour&&(this.m_pHour.text=r.Str.padLeft(this.hour,"0",2)),this.m_pMinute&&(this.m_pMinute.text=r.Str.padLeft(this.minute,"0",2)),this.m_pSecond&&(this.m_pSecond.text=r.Str.padLeft(this.second,"0",2))},t.prototype.selectPlane=function(e,t,i){if(!this.isDisabled&&!this.isLocked&&(0,r.arraySize)(e)>0){var n=this.hasFocus?(0,r.findFirst)(this.m_pPlanes,(function(e){return e.element===t})):void 0;i instanceof d.Rectangle?p.Menu.open(e,i,{position:"bottom",style:this.style&&this.style.plane?this.style.plane.selector:void 0,onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){t.removeSelectorSafe("selected"),n&&n.focus.focus()}}):p.Menu.openAtElement(e,t,{position:i,style:this.style&&this.style.plane?this.style.plane.selector:void 0,onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){t.removeSelectorSafe("selected"),n&&n.focus.focus()}})}},t.prototype.input=function(t){if((0,r.isNumberFinite)(t)){var i=new Date(t);if(14&this.m_nFeatures||i.setHours(0),10&this.m_nFeatures||i.setMinutes(0),2&this.m_nFeatures||i.setSeconds(0),i.setMilliseconds(0),"UTC"===this.m_sZone){var n=new Date(0);n.setUTCFullYear(i.getFullYear()),n.setUTCMonth(i.getMonth()),n.setUTCDate(i.getDate()),n.setUTCHours(i.getHours()),n.setUTCMinutes(i.getMinutes()),n.setUTCSeconds(i.getSeconds()),n.setUTCMilliseconds(0),t=n.getTime()}else t=i.getTime()}return e.prototype.input.call(this,t)},t.prototype.onDraw=function(e){var t,i,n=this,a=e.create("label",(function(t){var i,a,c;n.hasLabel&&(n.m_pStatic=t.create("p",void 0,[{margin:0,padding:0},n.style?n.style.label:void 0,n.isSingleControlInForm&&n.style&&n.style.fused?n.style.fused.label:void 0,{width:"100%",userSelect:"none",cursor:"default"}],n.stylesheet)),n.m_pDateTime=t.create("div",(function(t){n.isFused||(t.selector("locked",n.isLocked),t.selector("required",n.isRequired),t.selector("failed",n.isFailed),t.selector("passed",n.isPassed),t.selector("awaiting",n.isAwaiting)),n.m_pPlaceholder=t.create("div",(function(e){var t;e.selector("text",(0,r.isFilledString)(n.m_strPlaceholder)),n.style&&n.style.placeholder&&e.style([n.style.placeholder.appearance,(t={},t[s.Stylesheet.selector("text")]=n.style.placeholder.text,t)],n.stylesheet),e.text=n.m_strPlaceholder})),1&n.m_nFeatures&&(n.m_pDate=t.create("div",(function(e){n.style&&n.style.date&&e.style(n.style.date,n.stylesheet),32&n.m_nFeatures&&(n.m_pWeekday=e.create("div",(function(e){n.createPlane(e,(function(){return n.showWeekdaySelector()}))}))),n.m_pDayOfMonth=e.create("div",(function(e){n.createPlane(e,(function(){return n.showDayOfMonthSelector()}))})),n.m_pMonth=e.create("div",(function(e){n.createPlane(e,(function(){return n.showMonthSelector()}))})),n.m_pYear=e.create("div",(function(e){n.createPlane(e,(function(){return n.showYearSelector()}))}))}))),14&n.m_nFeatures&&(1&n.m_nFeatures&&(n.m_pSplitter=t.create("div",(function(e){return e.addSelector("splitter")}))),n.m_pTime=t.create("div",(function(e){n.style&&n.style.time&&n.style.time.appearance&&e.style(n.style.time.appearance,n.stylesheet),n.m_pHour=e.create("div",(function(e){n.createPlane(e,(function(){return n.showHourSelector()}))})),e.create("div",(function(e){n.style&&n.style.time&&n.style.time.hourMinuteSeparator&&e.style(n.style.time.hourMinuteSeparator,n.stylesheet)})),e.create("div",(function(e){10&n.m_nFeatures?(n.m_pMinute=e,n.createPlane(e,(function(){return n.showMinuteSelector()}))):(e.addSelector("plane"),e.text="00")})),2&n.m_nFeatures&&(e.create("div",(function(e){n.style&&n.style.time&&n.style.time.minuteSecondSeparator&&e.style(n.style.time.minuteSecondSeparator,n.stylesheet)})),n.m_pSecond=e.create("div",(function(e){n.createPlane(e,(function(){return n.showSecondSelector()}))})))}))),l.Hover.pointer(n.isFused?e:t,(function(e){return n.hover(e.isHovered)})),o.Tap.on(n.isFused?e:t,(function(e){(void 0===n.value||!n.style||e.offset.x<=n.style.height)&&n.showOptions()}))}),[n.style?n.style.appearance:void 0,n.isFused&&n.style&&n.style.fused?n.style.fused.appearance:void 0,(i={display:"inline-block",maxWidth:"100%",width:n.isFused||"full"===n.m_pWidth?"100%":n.m_pWidth,height:n.style?n.style.height:"auto",overflow:"hidden",whiteSpace:"nowrap","> div":(a={display:"none","> div":(c={display:"inline-block"},c[s.Stylesheet.selector("plane")]=n.style&&n.style.plane?n.style.plane.appearance:void 0,c[s.Stylesheet.selector("focus")]=n.style&&n.style.plane?n.style.plane.focus:void 0,c[s.Stylesheet.selector("hover")]=n.style&&n.style.plane?n.style.plane.hover:void 0,c[s.Stylesheet.selector("selected")]=n.style&&n.style.plane?n.style.plane.selected:void 0,c)},a[s.Stylesheet.selector("visible")]={display:"inline-block"},a[s.Stylesheet.selector("splitter")]={width:n.style&&n.style.spacing?n.style.spacing:0},a)},i[s.Stylesheet.selector("awaiting")]=!n.isFused&&n.style?n.style.awaiting:void 0,i[s.Stylesheet.selector("failed")]=!n.isFused&&n.style?n.style.failed:void 0,i[s.Stylesheet.selector("passed")]=!n.isFused&&n.style?n.style.passed:void 0,i[s.Stylesheet.selector("locked")]=!n.isFused&&n.style?n.style.locked:void 0,i[s.Stylesheet.selector("hover")]=!n.isFused&&n.style?n.style.hover:void 0,i[s.Stylesheet.selector("focus")]=!n.isFused&&n.style?n.style.focus:void 0,i[s.Stylesheet.selector("required")]=!n.isFused&&n.style?n.style.required:void 0,i)],n.stylesheet),n.updatePlanes()}),((t={})[s.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t),this.stylesheet);return this.isFused&&(this.style&&this.style.fused&&e.style(((i={})[s.Stylesheet.selector("failed")]=this.style.fused.failed,i[s.Stylesheet.selector("passed")]=this.style.fused.passed,i[s.Stylesheet.selector("awaiting")]=this.style.fused.awaiting,i[s.Stylesheet.selector("locked")]=this.style.fused.locked,i[s.Stylesheet.selector("hover")]=this.style.fused.hover,i[s.Stylesheet.selector("focus")]=this.style.fused.focus,i[s.Stylesheet.selector("required")]=this.style.fused.required,i),this.stylesheet),e.selector("locked",this.isLocked),e.selector("required",this.isRequired),e.selector("failed",this.isFailed),e.selector("passed",this.isPassed),e.selector("awaiting",this.isAwaiting)),a},t.prototype.onChange=function(t){"required"===t&&this.updatePlanes(),e.prototype.onChange.call(this,t)},t.prototype.onUpdate=function(){var t=this.isFused?this.parent:this.m_pDateTime;t&&(t.selector("locked",this.isLocked),t.selector("required",this.isRequired),t.selector("hover",this.isHovered),t.selector("focus",this.hasFocus),t.selector("failed",this.isFailed),t.selector("passed",this.isPassed),t.selector("awaiting",this.isAwaiting)),this.m_pDateTime&&!this.isFused&&this.m_pDateTime.selector("focus",this.hasFocus),e.prototype.onUpdate.call(this)},t.prototype.onDisable=function(){(0,r.each)(this.m_pPlanes,(function(e){e.element.removeSelectorSafe("hover"),e.element.removeSelectorSafe("focus")})),this.blur(),e.prototype.onDisable.call(this)},t.prototype.onLock=function(){(0,r.each)(this.m_pPlanes,(function(e){e.element.removeSelectorSafe("hover"),e.element.removeSelectorSafe("focus")})),this.blur(),e.prototype.onLock.call(this)},t.prototype.onData=function(){this.updatePlanes(),this.m_fnChange&&this.m_fnChange(this),e.prototype.onData.call(this)},t.prototype.onFocusOptions=function(){(0,r.each)(this.m_pPlanes,(function(e){return e.focus.update()})),e.prototype.onFocusOptions.call(this)},t.prototype.focus=function(e){if(void 0===e&&(e="first"),this.isInteractable&&this.hasValue){var t=(0,r.arrayItem)(this.m_pPlanes,"first"===e?0:(0,r.arraySize)(this.m_pPlanes)-1);if(t)return t.focus.focus()}return!1},t.prototype.focusTo=function(e){if(this.isInteractable&&this.hasValue&&this.hasFocus){var t=-1;if((0,r.findFirst)(this.m_pPlanes,(function(e){return t++,e.focus.hasFocus})),-1!==t){var i=void 0;for("previous"===e?t--:t++,i=(0,r.arrayItem)(this.m_pPlanes,t);i;){if(i.element.focus())return!0;"previous"===e?t--:t++,i=(0,r.arrayItem)(this.m_pPlanes,t)}}}return!1},t.prototype.blur=function(){(0,r.each)(this.m_pPlanes,(function(e){e.element.blur()}))},t.prototype.width=function(e){return this.m_pWidth=(0,r.isNumberFinite)(e)?r.Num.max(e,0):e,this},t.prototype.placeholder=function(e){return this.m_strPlaceholder!==e&&(this.m_strPlaceholder=e,this.m_pPlaceholder&&(this.m_pPlaceholder.selectorSafe("text",(0,r.isFilledString)(e)),this.m_pPlaceholder.text=e)),this},t.prototype.on=function(e){return this.m_fnChange=e,this},t.prototype.zone=function(e){return this.m_sZone=e,this},t.prototype.features=function(e){return this.m_nFeatures=e,15&this.m_nFeatures||(this.m_nFeatures|=35),this.redraw()},t.prototype.years=function(e,t){var i=2*(new Date).getFullYear();return this.m_nYearFrom=r.Num.range(e,0,i),this.m_nYearTo=r.Num.range(t,this.m_nYearFrom,i),this},t.prototype.interval=function(e){return this.m_nInterval=r.Num.max(e,1),this},t.prototype.showOptions=function(){var e=this,t=this.isFused?this.parent:this.m_pDateTime;if(t){var i=[];!this.isRequired&&this.style&&this.style.labels&&i.push(new p.MenuItem(this.style.labels.enable,(function(){return e.value=r.DateTime.now}),void 0!==this.value),new p.MenuItem(this.style.labels.disable,(function(){return e.value=void 0}),void 0===this.value)),-17&this.m_nFeatures&&this.style&&this.style.labels.reset&&(this.isRequired||i.push(new p.MenuSeparator),i.push(new p.MenuItem(this.style.labels.reset,(function(){return e.value=r.DateTime.now})))),(0,h.read)((function(){var n=t.rectangle;e.style&&(n.width=e.style.height),e.selectPlane(i,t,n)}))}},t.prototype.showWeekdaySelector=function(){var e=this;if(this.m_pWeekday){for(var t=[],i=this.date;0!==i.getDay();)i.setTime(i.getTime()-864e5);for(var n=function(n){for(;i.getDay()!==n;)i.setTime(i.getTime()+864e5);var o=i.getTime();t.push(new p.MenuItem(u.Locales.dateFull(i.getTime()),(function(){return e.value=o})))},o=0;o<7;o++)n(o);this.selectPlane(t,this.m_pWeekday,"bottom")}},t.prototype.showDayOfMonthSelector=function(){var e=this;if(this.m_pDayOfMonth){var t=[],i=this.date,n=i.getMonth();i.setDate(1);for(var o=function(){var n=i.getDate();t.push(new p.MenuItem("".concat(n),(function(){return e.dayOfMonth=n}))),i.setDate(n+1)};i.getMonth()===n;)o();this.selectPlane(t,this.m_pDayOfMonth,"bottom")}},t.prototype.showMonthSelector=function(){var e=this;if(this.m_pMonth){for(var t=[],i=new Date,n=function(n){i.setMonth(n),t.push(new p.MenuItem(u.Locales.dateTime("MMMM",i.getTime()),(function(){return e.month=n})))},o=0;o<12;o++)n(o);this.selectPlane(t,this.m_pMonth,"bottom")}},t.prototype.showYearSelector=function(){var e=this;if(this.m_pYear){for(var t=[],i=function(i){t.push(new p.MenuItem((0,r.castToString)(i),(function(){return e.year=i})))},n=this.m_nYearTo;n>=this.m_nYearFrom;n--)i(n);this.selectPlane(t,this.m_pYear,"bottom")}},t.prototype.showHourSelector=function(){var e=this;if(this.m_pHour){for(var t=[],i=function(i){t.push(new p.MenuItem(r.Str.padLeft(i,"0",2),(function(){return e.hour=i})))},n=0;n<24;n++)i(n);this.selectPlane(t,this.m_pHour,"bottom")}},t.prototype.showMinuteSelector=function(){var e=this;if(this.m_pMinute){for(var t=[],i=function(i){t.push(new p.MenuItem(r.Str.padLeft(i,"0",2),(function(){return e.minute=i})))},n=0;n<60;n+=this.m_nInterval)i(n);this.selectPlane(t,this.m_pMinute,"bottom")}},t.prototype.showSecondSelector=function(){var e=this;if(this.m_pSecond){for(var t=[],i=function(i){t.push(new p.MenuItem(r.Str.padLeft(i,"0",2),(function(){return e.second=i})))},n=0;n<60;n+=this.m_nInterval)i(n);this.selectPlane(t,this.m_pSecond,"bottom")}},t}(c.DataControl);t.DateTime=m},58157:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var n=i(12086);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return n.Dropdown}})},12086:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var n=i(70655),o=i(84389),r=i(72898),s=i(9072),a=i(70569),l=i(42396),c=i(27636),u=i(95349),p=function(e){function t(i,n,s){var a=e.call(this,n,void 0,{style:s,styleName:"dropdown",styleDefault:t.style})||this;return a.m_pWidth="auto",a.m_strPlaceholder="",a.m_pDefault=n instanceof r.Binding?n.default:void 0,(0,o.isFunction)(i)?i((function(e){a.m_pOptions=a.prepareOptions(e),a.createOptions(a.m_pDropdown)})):(0,o.isArray)(i)&&(a.m_pOptions=a.prepareOptions(i)),a}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),t.prototype.prepareOptions=function(e){var t=this,i=[],n=0;return(0,o.each)(e,(function(e){(0,o.isString)(e.optGroup)?i.push({type:"optGroup",id:(0,o.castToString)(n++),label:e.optGroup,value:t.m_pDefault,disabled:!1,indent:0}):i.push({type:"option",id:(0,o.castToString)(n++),label:e.label,value:e.value,disabled:e.disabled,indent:e.indent})})),i},t.prototype.optionToValue=function(e){if(""!==e){var t=(0,o.findFirst)(this.m_pOptions,(function(t){return t.id===e}));if(t)return t.value}return this.m_pDefault},t.prototype.createOptions=function(e){var t=this;if(e&&this.m_pOptions){var i=e.HTMLElement;if(i){var n,r,s,a=document.createDocumentFragment();if((0,o.isFilledString)(this.m_strPlaceholder)){var l=document.createElement("option");this.style&&this.style.placeholder&&(l.className=this.stylesheet.style(this.style.placeholder)),l.text=this.m_strPlaceholder,l.value="",r=l,a.appendChild(l)}(0,o.each)(this.m_pOptions,(function(e){switch(e.type){case"option":var i=document.createElement("option");i.text=o.Str.fill(" ",3*(e.indent||0))+e.label,i.value=e.id,i.disabled=(0,o.castToBoolean)(e.disabled),i.disabled||(r||(r=i),s||e.value!==t.value||(s=i)),(n||a).appendChild(i);break;case"optGroup":(0,o.isFilledString)(e.label)?((n=document.createElement("optgroup")).label=e.label,a.appendChild(n)):n=void 0}})),(s=s||r)&&(e.selector("placeholder",""===s.value),s.selected=!0,this.input(this.optionToValue(s.value))),i.appendChild(a)}}},t.prototype.onDraw=function(e){var t,i,n=this,r=e.create("label",(function(t){var i;n.hasLabel&&(n.m_pStatic=t.create("p",void 0,[{margin:0,padding:0},n.style?n.style.label:void 0,n.isSingleControlInForm&&n.style&&n.style.fused?n.style.fused.label:void 0,{width:"100%",userSelect:"none",cursor:"default"}],n.stylesheet)),n.m_pDropdown=t.create("select",(function(t){n.isFused||(t.selector("locked",n.isLocked),t.selector("required",n.isRequired),t.selector("failed",n.isFailed),t.selector("passed",n.isPassed),t.selector("awaiting",n.isAwaiting)),n.createOptions(t),t.property("disabled",n.isDisabled||n.isLocked),t.on(["change"],(function(){n.input(n.optionToValue(t.property("value")||""))})),c.Touch.mode(t,"input"),l.Hover.pointer(n.isFused?e:t,(function(e){return n.hover(e.isHovered)})),n.m_pFocus=a.Focus.on(n.isFused?e:t,t,"no-auto-focus","auto-blur",(function(i){return n.updateFocus(i.hasFocus,!0,n.isFused?e:t,t)}),n.tab,(function(){return n.isInteractable})),n.keyboard(t)}),[{border:"none",cursor:"default"},n.style?n.style.appearance:void 0,n.isFused&&n.style&&n.style.fused?n.style.fused.appearance:void 0,(i={display:"block",width:n.isFused||"full"===n.m_pWidth?"100%":n.m_pWidth,maxWidth:"100%",boxSizing:"border-box",resize:"none",appearance:"none","&::-ms-expand":{display:"none"},"&:invalid":{border:"none",outline:"0"},"&:disabled":{pointerEvents:"none"},"&:focus":{border:"none",outline:"0"},option:n.style?n.style.options:void 0,optgroup:(0,o.extend)({fontWeight:"bold"},n.style?n.style.optGroups:void 0)},i[s.Stylesheet.selector("placeholder")]=n.style?n.style.placeholder:void 0,i[s.Stylesheet.selector("awaiting")]=!n.isFused&&n.style?n.style.awaiting:void 0,i[s.Stylesheet.selector("failed")]=!n.isFused&&n.style?n.style.failed:void 0,i[s.Stylesheet.selector("passed")]=!n.isFused&&n.style?n.style.passed:void 0,i[s.Stylesheet.selector("locked")]=!n.isFused&&n.style?n.style.locked:void 0,i[s.Stylesheet.selector("hover")]=!n.isFused&&n.style?n.style.hover:void 0,i[s.Stylesheet.selector("focus")]=!n.isFused&&n.style?n.style.focus:void 0,i[s.Stylesheet.selector("required")]=!n.isFused&&n.style?n.style.required:void 0,i)],n.stylesheet)}),((t={})[s.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t),this.stylesheet);return this.isFused&&(this.style&&this.style.fused&&e.style(((i={})[s.Stylesheet.selector("failed")]=this.style.fused.failed,i[s.Stylesheet.selector("passed")]=this.style.fused.passed,i[s.Stylesheet.selector("awaiting")]=this.style.fused.awaiting,i[s.Stylesheet.selector("locked")]=this.style.fused.locked,i[s.Stylesheet.selector("hover")]=this.style.fused.hover,i[s.Stylesheet.selector("focus")]=this.style.fused.focus,i[s.Stylesheet.selector("required")]=this.style.fused.required,i),this.stylesheet),e.selector("locked",this.isLocked),e.selector("required",this.isRequired),e.selector("failed",this.isFailed),e.selector("passed",this.isPassed),e.selector("awaiting",this.isAwaiting)),r},t.prototype.onUpdate=function(){var t=this.isFused?this.parent:this.m_pDropdown;t&&(t.selector("locked",this.isLocked),t.selector("required",this.isRequired),t.selector("focus",this.hasFocus),t.selector("hover",this.isHovered),t.selector("failed",this.isFailed),t.selector("passed",this.isPassed),t.selector("awaiting",this.isAwaiting)),this.m_pDropdown&&this.m_pDropdown.property("disabled",this.isDisabled||this.isLocked),e.prototype.onUpdate.call(this)},t.prototype.onFocusOptions=function(){this.m_pFocus&&this.m_pFocus.update(),e.prototype.onFocusOptions.call(this)},t.prototype.onData=function(){var t=this;(0,u.write)((function(){if(t.m_pDropdown){var e=t.m_pDropdown.HTMLElementOfType();if(e){var i=(0,o.arrayItem)(e.options,e.selectedIndex);i&&t.value!==t.optionToValue(i.value)&&(i=(0,o.findFirst)(e.options,(function(e){return e&&t.value===t.optionToValue(e.value)||!1})))&&(i.selected=!0),t.m_pDropdown.selector("placeholder",!!i&&""===i.value)}}}),!this.m_pDropdown||!this.m_pDropdown.isInDOM,!0),this.m_fnChange&&this.m_fnChange(this),e.prototype.onData.call(this)},t.prototype.select=function(e){return this.value=e,this},t.prototype.focus=function(){return!!this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.width=function(e){return this.m_pWidth=(0,o.isNumberFinite)(e)?o.Num.max(e,0):e,this},t.prototype.placeholder=function(e){var t=this;return this.m_strPlaceholder!==e&&(this.m_strPlaceholder=e,(0,u.write)((function(){t.m_pPlaceholder&&(t.m_pPlaceholder.text=e)}),!1,!0)),this},t.prototype.on=function(e){return this.m_fnChange=e,this},t.prototype.optionLabel=function(e,t){var i=this;e=void 0!==e?e:this.value;var n=(0,o.findFirst)(this.m_pOptions,(function(t){return"option"===t.type&&t.value===e}));if(n){if((0,o.isString)(t)&&((0,o.set)(n,"label",t),this.m_pDropdown)){var r=this.m_pDropdown.HTMLElementOfType();if(r){var s=(0,o.findFirst)(r.options,(function(e){return!!e&&i.optionToValue(e.value)===n.value}));s&&(0,u.write)((function(){s&&(s.text=o.Str.fill(" ",3*(n.indent||0))+n.label)}),!this.m_pDropdown.isInDOM,!0)}}return n.label}return""},t.prototype.optionDisabled=function(e,t){var i=this;e=void 0!==e?e:this.value;var n=(0,o.findFirst)(this.m_pOptions,(function(t){return"option"===t.type&&t.value===e}));if(n){if((0,o.isBoolean)(t)){if(this.m_pDropdown){var r=this.m_pDropdown.HTMLElementOfType();if(r){var s=(0,o.findFirst)(r.options,(function(e){return!!e&&i.optionToValue(e.value)===n.value}));s&&(0,u.write)((function(){s&&(s.disabled=t)}),!this.m_pDropdown.isInDOM,!0)}}(0,o.set)(n,"disabled",t)}return(0,o.castToBoolean)(n.disabled)}return!1},t.prototype.options=function(e){var t=this;if(this.m_pOptions=this.prepareOptions(e),this.m_pDropdown){var i=this.m_pDropdown.HTMLElementOfType();i&&(0,u.write)((function(){i.innerHTML=s.Element.sanitize(""),t.createOptions(t.m_pDropdown)}),!this.m_pDropdown.isInDOM,!0)}return this},t}(r.DataControl);t.Dropdown=p},88179:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Email=void 0;var n=i(35760);Object.defineProperty(t,"Email",{enumerable:!0,get:function(){return n.Email}})},35760:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Email=void 0;var n=i(70655),o=i(6148),r=i(84389),s=i(48824),a=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,l=function(e){function t(t,i){void 0===t&&(t="");var n=e.call(this,"email",t,1,i)||this;return n.inputMode("email"),n.name("email"),n.placeholder("name@domain"),n}return(0,n.__extends)(t,e),t.prototype.autoValidate=function(t){var i=this;return void 0===t&&(t=function(){return"pass"}),e.prototype.autoValidate.call(this,(function(e,n,s){var l="unknown";if(i.isVisible&&!i.isDisabled)if((0,r.isFilledString)(i.value)){if(l="initial"===n||"visible"===n||"focus"===n||i.hasFocus?"invalid":"fail",a.test(i.value))return o.Callback.of({await:function(e){return t(i,n,e)},promise:function(e){return s.return(e.payload)}}),s}else i.isRequired&&(l="initial"===n||"visible"===n||"focus"===n||i.hasFocus?"invalid":"fail");return l}))},t}(s.Text);t.Email=l},37789:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTML=void 0;var n=i(69368);Object.defineProperty(t,"HTML",{enumerable:!0,get:function(){return n.HTML}})},69368:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTML=void 0;var n=i(70655),o=i(27636),r=function(e){function t(i,n,o){void 0===n&&(n=!1);var r=e.call(this,{style:o,styleName:"HTML",styleDefault:t.style})||this;return r.m_sHTML=i,r.m_bInteractive=n,r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"HTML",{get:function(){return this.m_sHTML},set:function(e){this.m_sHTML!==e&&(this.m_sHTML=e,this.element&&(this.element.HTML=this.m_sHTML,this.update()))},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(e){var t=this;return e.create("div",(function(e){e.HTML=t.m_sHTML,o.Touch.mode(e,t.m_bInteractive?"disable":"input")}),[{userSelect:"none",cursor:"default"},this.style?this.style.appearance:void 0,this.isFused&&this.style?this.style.fused:void 0,{width:"100%",boxSizing:"border-box"}],this.stylesheet)},t.prototype.update=function(){this.resize(),this.emitHook("OnUpdate",{HTML:this})},t}(i(72898).Control);t.HTML=r},77020:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var n=i(37947);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return n.Notification}})},37947:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var n=i(70655),o=i(9072),r=function(e){function t(i,n,o){void 0===n&&(n="normal");var r=e.call(this,{label:i,style:o,styleName:"notification",styleDefault:t.style})||this;return r.m_sType=n,r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"notificationType",{get:function(){return this.m_sType},set:function(e){this.type(e)},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(e){var t,i=this.isFused?e:e.create("p");return i.style([{margin:0,padding:0},this.style?this.style.appearance:void 0,this.isFused&&this.style?this.style.fused:void 0,(t={width:"100%",boxSizing:"border-box",userSelect:"none",cursor:"default"},t[o.Stylesheet.selector("normal")]=this.style?this.style.normal:void 0,t[o.Stylesheet.selector("info")]=this.style?this.style.info:void 0,t[o.Stylesheet.selector("success")]=this.style?this.style.success:void 0,t[o.Stylesheet.selector("warning")]=this.style?this.style.warning:void 0,t[o.Stylesheet.selector("error")]=this.style?this.style.error:void 0,t)],this.stylesheet),i.addSelector(this.m_sType),i},t.prototype.type=function(e){return e!==this.m_sType&&(this.element&&(this.element.removeSelectorSafe(this.m_sType),this.element.addSelectorSafe(e)),this.m_sType=e),this},t}(i(72898).StaticControl);t.Notification=r},44098:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Numeric=void 0;var n=i(74046);Object.defineProperty(t,"Numeric",{enumerable:!0,get:function(){return n.Numeric}})},74046:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Numeric=void 0;var n=i(70655),o=i(84389),r=i(72898),s=i(9072),a=i(70569),l=i(42396),c=i(5466),u=i(27636),p=i(95349),h=function(e){function t(i,n){void 0===i&&(i=0);var r=e.call(this,i,0,{style:n,styleName:"numeric",styleDefault:t.style})||this;return r.m_bAlignLeftOnFocus=!0,r.m_nPrecision=0,r.m_nDigits=0,r.m_bThousands=!0,r.m_sPrefix="",r.m_sSuffix="",r.m_sAutoSelect="auto-focus",r.m_pChange=new o.Debounce((function(){if(r.m_pNumber&&r.hasFocus){var e=r.m_pNumber.property("value");r.input(0===r.m_nPrecision?(0,o.castToNumber)(e):(0,o.castToFloat)(e))}})),r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"stepSize",{get:function(){return"auto"!==this.m_nPrecision&&this.m_nPrecision>0?"0.".concat(o.Str.fill("0",this.m_nPrecision-1),"1"):"1"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"string",{get:function(){var e=this.m_nDigits>0?o.Str.padLeft(this.value,"0",this.m_nDigits,!1,!0):this.m_sDecimal||this.m_sThousands?o.Num.format(this.value,this.m_nPrecision,this.m_bThousands?this.m_sThousands||c.Locales.locale.formats.numbers.grouping:"",this.m_sDecimal||c.Locales.locale.formats.numbers.decimals,c.Locales.locale.formats.numbers.minus):c.Locales.number(this.value,this.m_nPrecision,this.m_bThousands);return(1!==this.value&&(0,o.isString)(this.m_sPrefixPlural)?this.m_sPrefixPlural:this.m_sPrefix)+e+(1!==this.value&&(0,o.isString)(this.m_sSuffixPlural)?this.m_sSuffixPlural:this.m_sSuffix)},enumerable:!1,configurable:!0}),t.prototype.update=function(){var e=this;(0,p.write)((function(){if(e.m_pNumber){var t=e.m_pNumber.HTMLElementOfType();t&&(e.hasFocus||(t.type="text"),t.value=e.hasFocus?0===e.value?"":o.Num.format(e.value,e.m_nPrecision,"","."):e.string,e.hasFocus&&(t.type="number"))}}),!this.m_pNumber||!this.m_pNumber.isInDOM||this.hasFocus,!0)},t.prototype.input=function(t){return t="auto"!==this.m_nPrecision?o.Num.conform(t,this.m_nPrecision):t,(0,o.isNumberFinite)(this.m_nMin)&&(t=o.Num.max(t,this.m_nMin)),(0,o.isNumberFinite)(this.m_nMax)&&(t=o.Num.min(t,this.m_nMax)),e.prototype.input.call(this,t)},t.prototype.onDraw=function(e){var t,i,n=this;((0,o.isNumberFinite)(this.m_nMin)||(0,o.isNumberFinite)(this.m_nMax)||0!==this.m_nPrecision)&&this.input(this.value);var r=e.create("label",(function(t){var i;n.hasLabel&&(n.m_pStatic=t.create("p",void 0,[{margin:0,padding:0},n.style?n.style.label:void 0,n.isSingleControlInForm&&n.style&&n.style.fused?n.style.fused.label:void 0,{width:"100%",userSelect:"none",cursor:"default"}],n.stylesheet)),n.m_pNumber=t.create("input",(function(i){n.isFused||(i.selector("locked",n.isLocked),i.selector("required",n.isRequired),i.selector("failed",n.isFailed),i.selector("passed",n.isPassed),i.selector("awaiting",n.isAwaiting)),i.attribute("type","text"),i.attribute("inputmode",(0,o.isNumberFinite)(n.m_nMin)&&n.m_nMin>=0?"decimal":"numeric"),i.attribute("value",n.string),i.attribute("autocomplete","off"),i.attribute("lang",c.Locales.domain||"en"),i.property("step",n.stepSize),i.property("spellcheck",!1),i.property("disabled",n.isDisabled),i.property("readOnly",n.isLocked),i.on(["change","input"],(function(){return n.m_pChange.invoke()})),u.Touch.mode(i,"input"),l.Hover.pointer(n.isFused?e:i,(function(e){return n.hover(e.isHovered)})),n.m_pFocus=a.Focus.on(n.isFused?e:t,i,"focus-on-tap","auto-blur",(function(o){n.updateFocus(o.hasFocus,!0,n.isFused?e:t,i)}),n.tab,(function(){return n.isInteractable})),n.keyboard(i)}),[{border:"none",cursor:"text"},n.style?n.style.appearance:void 0,n.isFused&&n.style&&n.style.fused?n.style.fused.appearance:void 0,(i={display:"block",width:!n.isFused&&n.m_nWidth?n.m_nWidth:"100%",boxSizing:"border-box",resize:"none",appearance:"none",mozAppearance:"textfield",userSelect:"text",textAlign:n.m_sAlign||"left","&::selection":n.style?n.style.selection:void 0,"&::-moz-selection":n.style?n.style.selection:void 0,"&::-webkit-inner-spin-button":{appearance:"none",margin:0},"&::-webkit-outer-spin-button":{appearance:"none",margin:0},"&::-ms-clear":{display:"none"},"&:invalid":{border:"none",outline:"0"},"&:disabled":{pointerEvents:"none",color:n.style&&n.style.appearance?n.style.appearance.color:void 0},"&:read-only":n.style&&n.style.appearance&&n.style.appearance.color?{color:n.style.appearance.color}:void 0,"&:focus":{border:"none",outline:"0",textAlign:n.m_bAlignLeftOnFocus?"left":n.m_sAlign||"left"},"&::-webkit-input-placeholder":n.style?n.style.placeholder:void 0,"&::-moz-placeholder":n.style?n.style.placeholder:void 0,"&:-moz-placeholder":n.style?n.style.placeholder:void 0,"&:-ms-input-placeholder":n.style?n.style.placeholder:void 0,"&::input-placeholder":n.style?n.style.placeholder:void 0},i[s.Stylesheet.selector("awaiting")]=!n.isFused&&n.style?n.style.awaiting:void 0,i[s.Stylesheet.selector("failed")]=!n.isFused&&n.style?n.style.failed:void 0,i[s.Stylesheet.selector("passed")]=!n.isFused&&n.style?n.style.passed:void 0,i[s.Stylesheet.selector("locked")]=!n.isFused&&n.style?n.style.locked:void 0,i[s.Stylesheet.selector("hover")]=!n.isFused&&n.style?n.style.hover:void 0,i[s.Stylesheet.selector("focus")]=!n.isFused&&n.style?n.style.focus:void 0,i[s.Stylesheet.selector("required")]=!n.isFused&&n.style?n.style.required:void 0,i)],n.stylesheet)}),((t={})[s.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t),this.stylesheet);return this.isFused&&(this.style&&this.style.fused&&e.style(((i={})[s.Stylesheet.selector("failed")]=this.style.fused.failed,i[s.Stylesheet.selector("passed")]=this.style.fused.passed,i[s.Stylesheet.selector("awaiting")]=this.style.fused.awaiting,i[s.Stylesheet.selector("locked")]=this.style.fused.locked,i[s.Stylesheet.selector("hover")]=this.style.fused.hover,i[s.Stylesheet.selector("focus")]=this.style.fused.focus,i[s.Stylesheet.selector("required")]=this.style.fused.required,i),this.stylesheet),e.selector("locked",this.isLocked),e.selector("required",this.isRequired),e.selector("failed",this.isFailed),e.selector("passed",this.isPassed),e.selector("awaiting",this.isAwaiting)),r},t.prototype.onUpdate=function(){var t=this.isFused?this.parent:this.m_pNumber;t&&(t.selector("locked",this.isLocked),t.selector("required",this.isRequired),t.selector("hover",this.isHovered),t.selector("focus",this.hasFocus),t.selector("failed",this.isFailed),t.selector("passed",this.isPassed),t.selector("awaiting",this.isAwaiting)),this.m_pNumber&&(this.m_pNumber.property("disabled",this.isDisabled),this.m_pNumber.property("readOnly",this.isLocked)),e.prototype.onUpdate.call(this)},t.prototype.onFocus=function(t){var i=this;this.update(),("focus"===this.m_sAutoSelect||t&&"auto-focus"===this.m_sAutoSelect)&&this.hasFocus&&this.m_pNumber&&(0,p.writeAfterRead)((function(){return i.select()})),e.prototype.onFocus.call(this,t)},t.prototype.onFocusOptions=function(){this.m_pFocus&&this.m_pFocus.update(),e.prototype.onFocusOptions.call(this)},t.prototype.onBlur=function(){this.update(),e.prototype.onBlur.call(this)},t.prototype.onEnter=function(t){return!(!this.m_fnEnter||!this.m_fnEnter(this))||e.prototype.onEnter.call(this,t)},t.prototype.onEscape=function(t){return!(!this.m_fnEscape||!this.m_fnEscape(this))||e.prototype.onEscape.call(this,t)},t.prototype.onData=function(){this.hasFocus||this.update(),this.m_fnChange&&this.m_fnChange(this),e.prototype.onData.call(this)},t.prototype.focus=function(){return!!this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.width=function(e){return this.m_nWidth=o.Num.max(e,0),this},t.prototype.align=function(e){return this.m_sAlign=e,this},t.prototype.alignLeftOnFocus=function(e){return this.m_bAlignLeftOnFocus=e,this},t.prototype.min=function(e){return e=(0,o.isNumberFinite)(e)?e:void 0,this.m_nMin!==e&&(this.m_nMin=e,(0!==this.m_nPrecision||this.element)&&this.input(this.value),this.m_pNumber&&this.m_pNumber.property("inputMode",(0,o.isNumberFinite)(this.m_nMin)&&this.m_nMin>=0?"decimal":"numeric")),this},t.prototype.max=function(e){return e=(0,o.isNumberFinite)(e)?e:void 0,this.m_nMax!==e&&(this.m_nMax=e,(0!==this.m_nPrecision||this.element)&&this.input(this.value)),this},t.prototype.precision=function(e){if(e="auto"===e?"auto":o.Num.max(e,0),this.m_nPrecision!==e){var t=this.value;this.m_nPrecision=e,this.m_pNumber&&this.m_pNumber.property("step",this.stepSize),this.input(this.value)===t&&this.update()}return this},t.prototype.decimalSign=function(e){return this.m_sDecimal!==e&&(this.m_sDecimal=e||void 0,this.update()),this},t.prototype.digits=function(e){return e=o.Num.max(e,0),this.m_nDigits!==e&&(this.m_nDigits=e,this.update()),this},t.prototype.thousands=function(e,t){return this.m_bThousands===e&&this.m_sThousands===t||(this.m_bThousands=e,this.m_sThousands=t||void 0,this.update()),this},t.prototype.prefix=function(e){return this.m_sPrefix!==e&&(this.m_sPrefix=e,this.update()),this},t.prototype.prefixPlural=function(e){return this.m_sPrefixPlural!==e&&(this.m_sPrefixPlural=e,this.update()),this},t.prototype.suffix=function(e){return this.m_sSuffix!==e&&(this.m_sSuffix=e,this.update()),this},t.prototype.suffixPlural=function(e){return this.m_sSuffixPlural!==e&&(this.m_sSuffixPlural=e,this.update()),this},t.prototype.autoSelect=function(e){return void 0===e&&(e="focus"),this.m_sAutoSelect=e,this},t.prototype.enter=function(e){return this.m_fnEnter=e,this},t.prototype.escape=function(e){return this.m_fnEscape=e,this},t.prototype.on=function(e){return this.m_fnChange=e,this},t.prototype.select=function(){if(this.m_pNumber){var e=this.m_pNumber.HTMLElementOfType();e&&e.select()}else this.autoFocus(!0);return this},t}(r.DataControl);t.Numeric=h},20461:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Radiobutton=void 0;var n=i(90076);Object.defineProperty(t,"Radiobutton",{enumerable:!0,get:function(){return n.Radiobutton}})},90076:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Radiobutton=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(70569),a=i(42396),l=i(72898),c=i(35781),u=i(15661),p=i(27636),h=i(95349),d=i(94689),m=function(e){function t(i,n,o){var r=e.call(this,n,void 0,{style:o,styleName:"radiobutton",styleDefault:t.style})||this;return r.m_pButtons=i,r.m_sName=(0,c.SHA2_224)("Radiobutton-".concat(t.enumerator.n)),r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),t.prototype.updateButtons=function(){var e=this;(0,h.write)((function(){var t=!1;(0,o.each)(e.m_pButtons,(function(i){i.input&&(i.input.property("checked",!t&&i.value===e.value),t=t||i.value===e.value)}))}),!this.element||!this.element.isInDOM,!0)},t.prototype.onDraw=function(e){var t,i=this,n=e.create("fieldset",(function(e){var t,n,l=!1;i.hasLabel&&(i.m_pStatic=e.create("p",void 0,[{margin:0,padding:0},i.style&&i.style.label,i.isSingleControlInForm&&i.style&&i.style.fused&&i.style.fused.label||void 0,{width:"100%",userSelect:"none",cursor:"default"}],i.stylesheet)),(0,o.each)(i.m_pButtons,(function(t){var c;e.create("label",(function(e){(0,o.set)(t,"disabled",(0,o.castToBoolean)(t.disabled)),(0,o.set)(t,"visible",(0,o.castToBoolean)(t.visible,!0)),(0,o.set)(t,"element",e),(0,o.set)(t,"input",e.create("input",(function(r){r.attribute("type","radio"),r.attribute("name",i.m_sName),r.property("disabled",t.disabled),t.visible&&!t.disabled&&(n=n||t,l||t.value!==i.value||(r.property("checked",!0),l=!0)),u.Tap.on(e,(function(){i.isInteractable&&!t.disabled&&(i.value=t.value)})),a.Hover.pointer(e,(function(n){return e.selectorSafe("hover",i.isInteractable&&!t.disabled&&n.isHovered)})),(0,o.set)(t,"focus",s.Focus.on(e,r,"no-auto-focus","auto-blur",(function(t){i.updateFocus(t.hasFocus,!0,e,r),e.selectorSafe("focus",t.hasFocus)}),i.tab,(function(){return i.isInteractable&&!t.disabled}))),i.keyboard(r,(function(){return i.value=t.value,!0}))}),{opacity:0,display:"inline",float:"left",appearance:"none"},i.stylesheet)),e.create("span",(function(e){(0,o.set)(t,"elementLabel",e),t.markdown?e.markdown(d.MarkdownParser.parse(t.label,!(0,o.isBoolean)(t.markdown)&&t.markdown||void 0),void 0,(function(e,t){"hyperlink"===t&&p.Touch.mode(e,"disable")})):e.text=t.label})),t.description&&e.create("div",(function(e){(0,o.set)(t,"elementDescription",e),t.markdown?e.markdown(d.MarkdownParser.parse(t.description,!(0,o.isBoolean)(t.markdown)&&t.markdown||void 0),void 0,(function(e,t){"hyperlink"===t&&p.Touch.mode(e,"disable")})):e.text=t.description})),e.selector("visible",t.visible),e.selector("disabled",t.disabled),p.Touch.mode(e,"exclusive")}),((c={display:"none",width:"100%",boxSizing:"border-box","> span":(0,o.extend)({cursor:"default"},i.style&&i.style.radiobutton&&i.style.radiobutton.label,{display:"block",boxSizing:"border-box",backgroundRepeat:"no-repeat"}),div:i.style&&i.style.radiobutton&&i.style.radiobutton.description,"> input:checked + span":i.style&&i.style.radiobutton&&i.style.radiobutton.checked,"> input:not(:checked) + span":i.style&&i.style.radiobutton&&i.style.radiobutton.unchecked})[r.Stylesheet.selector("hover")]={"> span":i.style&&i.style.radiobutton&&i.style.radiobutton.hover&&i.style.radiobutton.hover.label,"> input:checked + span":i.style&&i.style.radiobutton&&i.style.radiobutton.hover&&i.style.radiobutton.hover.checked,"> input:not(:checked) + span":i.style&&i.style.radiobutton&&i.style.radiobutton.hover&&i.style.radiobutton.hover.unchecked},c[r.Stylesheet.selector("focus")]={"> span":i.style&&i.style.radiobutton&&i.style.radiobutton.focus&&i.style.radiobutton.focus.label,"> input:checked + span":i.style&&i.style.radiobutton&&i.style.radiobutton.focus&&i.style.radiobutton.focus.checked,"> input:not(:checked) + span":i.style&&i.style.radiobutton&&i.style.radiobutton.focus&&i.style.radiobutton.focus.unchecked},c[r.Stylesheet.selector("disabled")]={cursor:"default",pointerEvents:"none","> span":(0,o.extend)({cursor:"default",pointerEvents:"none"},i.style&&i.style.radiobutton&&i.style.radiobutton.disabled&&i.style.radiobutton.disabled.label),"> input:checked + span":i.style&&i.style.radiobutton&&i.style.radiobutton.disabled&&i.style.radiobutton.disabled.checked,"> input:not(:checked) + span":i.style&&i.style.radiobutton&&i.style.radiobutton.disabled&&i.style.radiobutton.disabled.unchecked},c[r.Stylesheet.selector("visible")]={display:"block"},c),i.stylesheet)})),!l&&n&&(i.value=n.value),e.style([{padding:0,margin:0,border:"none"},i.style&&i.style.appearance,i.isFused&&i.style&&i.style.fused&&i.style.fused.appearance||void 0,(t={minWidth:0,webkitMarginBottomCollapse:"separate"},t[r.Stylesheet.selector("required")]=!i.isSingleControlInForm&&i.style&&i.style.required||void 0,t[r.Stylesheet.selector("awaiting")]=i.style&&i.style.awaiting,t[r.Stylesheet.selector("failed")]=i.style&&i.style.failed,t[r.Stylesheet.selector("passed")]=i.style&&i.style.passed,t[r.Stylesheet.selector("locked")]=i.style&&i.style.locked,t[r.Stylesheet.selector("disabled")]=i.style&&i.style.disabled,t)],i.stylesheet),e.selector("locked",i.isLocked),e.selector("failed",i.isFailed),e.selector("passed",i.isPassed),e.selector("awaiting",i.isAwaiting),i.isSingleControlInForm||e.selector("required",i.isRequired)}));return this.isSingleControlInForm&&(this.style&&this.style.fused&&e.style(((t={})[r.Stylesheet.selector("required")]=this.style.fused.required,t),this.stylesheet),e.selector("required",this.isRequired)),n},t.prototype.onUpdate=function(){var t=this.isSingleControlInForm?this.parent:this.element;t&&t.selector("required",this.isRequired),this.element&&(this.element.selector("locked",this.isLocked),this.element.selector("failed",this.isFailed),this.element.selector("passed",this.isPassed),this.element.selector("awaiting",this.isAwaiting)),e.prototype.onUpdate.call(this)},t.prototype.onFocusOptions=function(){(0,o.each)(this.m_pButtons,(function(e){e.focus&&e.focus.update()})),e.prototype.onFocusOptions.call(this)},t.prototype.onData=function(){this.updateButtons(),this.m_fnChange&&this.m_fnChange(this),e.prototype.onData.call(this)},t.prototype.onDisable=function(){(0,o.each)(this.m_pButtons,(function(e){e.element&&(e.element.removeSelectorSafe("hover"),e.element.removeSelectorSafe("focus"))})),this.blur(),e.prototype.onDisable.call(this)},t.prototype.onLock=function(){(0,o.each)(this.m_pButtons,(function(e){e.element&&(e.element.removeSelectorSafe("hover"),e.element.removeSelectorSafe("focus"))})),this.blur(),e.prototype.onLock.call(this)},t.prototype.select=function(e){return this.value=e,this},t.prototype.focus=function(e){if(void 0===e&&(e="first"),this.isInteractable){var t=("last"===e?o.findLast:o.findFirst)(this.m_pButtons,(function(e){return(0,o.castToBoolean)(e.visible&&!e.disabled&&e.input)}));if(t&&t.input)return t.input.focus()}return!1},t.prototype.focusTo=function(e){var t=this;if(this.isInteractable&&this.hasFocus){var i=-1;if((0,o.findFirst)(this.m_pButtons,(function(e){return i++,(0,o.castToBoolean)(e.focus&&e.focus.hasFocus)})),-1!==i){var n=void 0;for("previous"===e?i--:i++,n=(0,o.arrayItem)(this.m_pButtons,i);n;){if(n.visible&&!n.disabled&&n.input&&n.input.focus())return!0;"previous"===e?i--:i++,n=(0,o.arrayItem)(this.m_pButtons,i)}}}return(0,o.scheduleTick)((function(){return t.updateButtons()})),!1},t.prototype.blur=function(){(0,o.each)(this.m_pButtons,(function(e){e.input&&e.input.blur()}))},t.prototype.on=function(e){return this.m_fnChange=e,this},t.prototype.buttonLabel=function(e,t){e=void 0!==e?e:this.value;var i=(0,o.findFirst)(this.m_pButtons,(function(t){return t.value===e}));return i?((0,o.isFilledString)(t)&&((0,o.set)(i,"label",t),i.elementLabel&&(i.markdown?i.elementLabel.markdown(d.MarkdownParser.parse(i.label,!(0,o.isBoolean)(i.markdown)&&i.markdown||void 0),void 0,(function(e,t){"hyperlink"===t&&p.Touch.mode(e,"disable")})):i.elementLabel.text=i.label),this.updateControl("visible")),i.label):""},t.prototype.buttonDescription=function(e,t){e=void 0!==e?e:this.value;var i=(0,o.findFirst)(this.m_pButtons,(function(t){return t.value===e}));return i?((0,o.isString)(t)&&((0,o.set)(i,"description",t),i.elementDescription&&(i.markdown?i.elementDescription.markdown(d.MarkdownParser.parse(i.description,!(0,o.isBoolean)(i.markdown)&&i.markdown||void 0),void 0,(function(e,t){"hyperlink"===t&&p.Touch.mode(e,"disable")})):i.elementDescription.text=i.description,i.elementDescription.set("display",(0,o.isFilledString)(t)?"block":"none")),this.updateControl("visible")),i.label):""},t.prototype.buttonDisabled=function(e,t){e=void 0!==e?e:this.value;var i=(0,o.findFirst)(this.m_pButtons,(function(t){return t.value===e}));if(i){if((0,o.isBoolean)(t)){if((0,o.set)(i,"disabled",t),i.element&&(i.element.selectorSafe("disabled",i.disabled),i.disabled&&(i.element.removeSelectorSafe("hover"),i.element.removeSelectorSafe("focus"),i.focus&&i.focus.blur())),(0,h.write)((function(){i.input&&i.input.property("disabled",(0,o.castToBoolean)(i.disabled))}),!i.input||!i.input.isInDOM,!0),i.disabled&&this.value===i.value){var n=(0,o.findFirst)(this.m_pButtons,(function(e){return(0,o.castToBoolean)(e.visible&&!e.disabled)}));n&&(this.value=n.value)}this.updateControl("disabled")}return(0,o.castToBoolean)(i.disabled)}return!1},t.prototype.buttonVisible=function(e,t){e=void 0!==e?e:this.value;var i=(0,o.findFirst)(this.m_pButtons,(function(t){return t.value===e}));if(i){if((0,o.isBoolean)(t)){if((0,o.set)(i,"visible",t),i.element&&(i.element.selectorSafe("visible",i.visible),i.visible||(i.element.removeSelectorSafe("hover"),i.element.removeSelectorSafe("focus"),i.focus&&i.focus.blur())),!i.visible&&this.value===i.value){var n=(0,o.findFirst)(this.m_pButtons,(function(e){return(0,o.castToBoolean)(e.visible&&!e.disabled)}));n&&(this.value=n.value)}this.updateControl("visible")}return(0,o.castToBoolean)(i.visible)}return!1},t.enumerator=new o.Enumerator,t}(l.DataControl);t.Radiobutton=m},25436:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spacer=void 0;var n=i(88884);Object.defineProperty(t,"Spacer",{enumerable:!0,get:function(){return n.Spacer}})},88884:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spacer=void 0;var n=i(70655),o=i(9072),r=function(e){function t(i,n){void 0===i&&(i="large");var o=e.call(this,{style:n,styleName:"spacer",styleDefault:t.style})||this;return o.m_sType=i,o}return(0,n.__extends)(t,e),t.prototype.onDraw=function(e){var t=this;return e.create("p",(function(i){var n,r=o.Stylesheet.selectorHash("Spacer");i.addClass(r),e.style(((n={})["p.".concat(r,".").concat(o.Stylesheet.selectorHash("visible")," + p.").concat(r,".").concat(o.Stylesheet.selectorHash("visible"))]={display:"none"},n),t.stylesheet)}),{height:this.style?"large"===this.m_sType?this.style.large:this.style.small:0,padding:0,margin:0,visibility:"hidden",userSelect:"none"},this.stylesheet)},t}(i(72898).StaticControl);t.Spacer=r},29377:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Static=void 0;var n=i(94183);Object.defineProperty(t,"Static",{enumerable:!0,get:function(){return n.Static}})},94183:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Static=void 0;var n=i(70655),o=i(9072),r=function(e){function t(i,n){return void 0===i&&(i=""),e.call(this,{label:i,style:n,styleName:"static",styleDefault:t.style})||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"static",{get:function(){return this.element},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(e){var t,i=this;return e.create("p",(function(t){var n,r=o.Stylesheet.selectorHash("Static");t.addClass(r),e.style(((n={})["p.".concat(r,".").concat(o.Stylesheet.selectorHash("visible")," + p.").concat(r,".").concat(o.Stylesheet.selectorHash("visible"))]={paddingTop:0},n),i.stylesheet)}),[{margin:0,padding:0},this.style?this.style.appearance:void 0,this.isFused&&this.style?this.style.fused:void 0,(t={width:"100%",boxSizing:"border-box",userSelect:"none",cursor:"default"},t[o.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t)],this.stylesheet)},t}(i(72898).StaticControl);t.Static=r},48824:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;var n=i(94767);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return n.Text}})},94767:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;var n=i(70655),o=i(72898),r=i(9072),s=i(70569),a=i(42396),l=i(84389),c=i(95349),u=i(35781),p=i(27636),h=function(e){function t(i,n,o,r){void 0===i&&(i="singleline"),void 0===n&&(n=""),void 0===o&&(o=2);var s=e.call(this,n,"",{style:r,styleName:"text",styleDefault:t.style})||this;return s.m_nFixedLines=0,s.m_nHeight=0,s.m_nMaxLength=0,s.m_bSanitize=!0,s.m_bTrim=!0,s.m_sTransformation="none",s.m_sName="",s.m_sPlaceholder="",s.m_sInputMode="text",s.m_sAutoSelect="auto-focus",s.m_nAutoFill=0,s.m_pChange=new l.Debounce((function(){if(s.m_pText){var e=s.m_pText.property("value");(0,l.isString)(e)&&s.input(e)}})),s.m_sType=i,s.m_nLines=o,s}return(0,n.__extends)(t,e),t.createSuggestionsId=function(){return(0,u.SHA2_224)("TextSuggestions-".concat(this.m_nSuggestions++))},Object.defineProperty(t.prototype,"isMultiline",{get:function(){return"multiline"===this.type||"multiline-wo-crlf"===this.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"static",{get:function(){return this.m_pStatic},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_sType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.output()},set:function(e){this.input(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestion",{get:function(){var e=this,t=this.value&&(0,l.findFirst)(this.m_pSuggestions,(function(t){return((0,l.isString)(t)?t:t.name)===e.value}))||void 0;return(0,l.isString)(t)?{name:t}:t},enumerable:!1,configurable:!0}),t.prototype.update=function(){var e=this;this.isFormReady&&(this.hasFocus||(0,c.write)((function(){if(e.m_pText){var t=e.m_pText.HTMLElementOfType();t&&("email"===e.type&&(t.value=""),t.value!==e.value&&(t.value=e.value))}}),!this.m_pText||!this.m_pText.isInDOM,!0),this.m_nFixedLines||this.autoSize())},t.prototype.cleanValue=function(e,t){if("multiline-wo-crlf"===this.type&&-1!==e.indexOf("\n")){var i=e.replace(/(\r\n|[\r\n])/g," ");return t&&i!==e&&t(i),i}return e},t.prototype.autoSize=function(e,t){var i=this;if(void 0===e&&(e=!1),void 0===t&&(t=1),this.isMultiline&&this.m_pText&&!this.m_nFixedLines)if(e){var n=this.m_pText.scrollHeight,o=(0,l.castToNumber)(this.m_pText.rectangleHeight),r=(0,l.castToNumber)(this.m_pText.get("border-top-width",!0))+(0,l.castToNumber)(this.m_pText.get("border-bottom-width",!0));this.m_nHeight||(this.m_nHeight=o),n>o?(0,c.write)((function(){i.m_pText&&(i.m_pText.height=n+r,i.resize())}),!1,!0):o>this.m_nHeight?(0,c.write)((function(){i.m_pText&&(i.m_pText.height=t>i.m_nHeight?i.m_nHeight:o-1),i.autoSize(!0,t+1)}),!1,!0):this.resize()}else this.m_sAutoSize!==this.value&&(this.m_sAutoSize=this.value,(0,c.read)((function(){return i.autoSize(!0)})))},t.prototype.input=function(t){return t=this.cleanValue(l.Str.limit(t,this.m_nMaxLength)),this.m_sTransformation&&"none"!==this.m_sTransformation&&(t="uppercase"===this.m_sTransformation?l.Str.uppercase(t):"lowercase"===this.m_sTransformation?l.Str.lowercase(t):l.Str.capitalize(t,"capitalize-words"===this.m_sTransformation?"each-word":"capitalize-sentences"===this.m_sTransformation?"each-sentence":"first-character")),"multiline"===this.m_sType&&this.hasFocus||(this.m_bSanitize?t=l.Str.sanitize(t):this.m_bTrim&&(t=l.Str.trimMultiple(t))),e.prototype.input.call(this,t)},t.prototype.onDraw=function(e){var t,i,n=this,o=e.create("label",(function(t){var i;n.hasLabel&&(n.m_pStatic=t.create("p",void 0,[{margin:0,padding:0},n.style?n.style.label:void 0,n.isSingleControlInForm&&n.style&&n.style.fused?n.style.fused.label:void 0,{width:"100%",userSelect:"none",cursor:"default"}],n.stylesheet));var o=(0,l.extend)({textTransform:"none"},n.style&&n.style.placeholder);n.m_pText=t.create(n.isMultiline?"textarea":"input",(function(i){var o;n.isFused||(i.selector("locked",n.isLocked),i.selector("required",n.isRequired),i.selector("failed",n.isFailed),i.selector("passed",n.isPassed),i.selector("awaiting",n.isAwaiting)),n.isMultiline&&i.style({wordWrap:n.m_nFixedLines?"normal":"break-word",whiteSpace:n.m_nFixedLines?"pre":"pre-line",overflowX:"hidden",overflowY:n.m_nFixedLines?"auto":"hidden"},n.stylesheet),n.isMultiline?(i.attribute("rows",(0,l.castToString)(n.m_nFixedLines||n.m_nLines)),i.attribute("data-gramm","false"),i.text=n.value):(i.attribute("type","password"===n.type||"email"===n.type?n.type:"text"),i.attribute("value",n.value)),i.attribute("autocomplete",(0,l.isFilledString)(n.m_sName)?"on":"off"),i.attribute("inputmode",n.m_sInputMode),i.property("spellcheck",!1),i.property("disabled",n.isDisabled),i.property("readOnly",n.isLocked),n.m_nMaxLength>0&&i.attribute("maxlength",(0,l.castToString)(n.m_nMaxLength)),(0,l.isFilledString)(n.m_sName)&&i.attribute("name",n.m_sName),(0,l.isFilledString)(n.m_sPlaceholder)&&i.attribute("placeholder",n.m_sPlaceholder),"none"!==n.m_sTransformation&&i.set("text-transform","capitalize-words"===n.m_sTransformation?"capitalize":"lowercase"===n.m_sTransformation?"lowercase":"uppercase"===n.m_sTransformation?"uppercase":"none"),i.on(["change","input"],(function(){n.cleanValue(i.property("value")||"",(function(e){return i.property("value",e)})),n.m_pChange.invoke()})),p.Touch.mode(i,"input"),a.Hover.pointer(n.isFused?e:i,(function(e){return n.hover(e.isHovered)})),n.m_pFocus=s.Focus.on(n.isFused?e:t,i,"focus-on-tap","auto-blur",(function(o){n.updateFocus(o.hasFocus,!0,n.isFused?e:t,i),i.property("spellcheck",o.hasFocus)}),n.tab,(function(){return n.isInteractable}));var r=0;n.keyboard(i,void 0,"multiline-wo-crlf"===n.type,(function(e){if(e.isKeyDown&&o){var t=o(e.value);if(o=void 0,"capture"!==t&&r++,"continue"!==t)return!0}if(n.actionKey&&n.actionProc&&e.isKeyUp&&e.value===n.actionKey){var s=i.HTMLElementOfType();if(s){var a=++r,c=s.selectionStart||0;o=n.actionProc((function(e){return function(e,t,i,s){if(e===r){if(o=void 0,r++,s){var a=n.value;n.value=t.value=a.substr(0,i)+s+a.substr(i),i+=(0,l.stringLength)(s)}t.focus(),t.setSelectionRange(i,i)}}(a,s,c,e)}),i)||void 0}}return!1}))}),[{border:"none",cursor:"text"},n.style?n.style.appearance:void 0,n.isFused&&n.style&&n.style.fused?n.style.fused.appearance:void 0,(i={display:"block",width:!n.isFused&&n.m_nWidth?n.m_nWidth:"100%",boxSizing:"border-box",resize:"none",appearance:"none",userSelect:"text",textAlign:n.m_sAlign||"left","&::selection":n.style?n.style.selection:void 0,"&::-moz-selection":n.style?n.style.selection:void 0,"&::-ms-clear":{display:"none"},"&:invalid":{outline:"0"},"&:disabled":{pointerEvents:"none",color:n.style&&n.style.appearance?n.style.appearance.color:void 0},"&:read-only":n.style&&n.style.appearance&&n.style.appearance.color?{color:n.style.appearance.color}:void 0,"&:focus":{outline:"0"},"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::input-placeholder":o},i[r.Stylesheet.selector("awaiting")]=!n.isFused&&n.style?n.style.awaiting:void 0,i[r.Stylesheet.selector("failed")]=!n.isFused&&n.style?n.style.failed:void 0,i[r.Stylesheet.selector("passed")]=!n.isFused&&n.style?n.style.passed:void 0,i[r.Stylesheet.selector("locked")]=!n.isFused&&n.style?n.style.locked:void 0,i[r.Stylesheet.selector("hover")]=!n.isFused&&n.style?n.style.hover:void 0,i[r.Stylesheet.selector("focus")]=!n.isFused&&n.style?n.style.focus:void 0,i[r.Stylesheet.selector("required")]=!n.isFused&&n.style?n.style.required:void 0,i)],n.stylesheet)}),((t={})[r.Stylesheet.selector("disabled")]=this.style?this.style.disabled:void 0,t),this.stylesheet);return this.isFused&&(this.style&&this.style.fused&&e.style(((i={})[r.Stylesheet.selector("failed")]=this.style.fused.failed,i[r.Stylesheet.selector("passed")]=this.style.fused.passed,i[r.Stylesheet.selector("awaiting")]=this.style.fused.awaiting,i[r.Stylesheet.selector("locked")]=this.style.fused.locked,i[r.Stylesheet.selector("hover")]=this.style.fused.hover,i[r.Stylesheet.selector("focus")]=this.style.fused.focus,i[r.Stylesheet.selector("required")]=this.style.fused.required,i),this.stylesheet),e.selector("locked",this.isLocked),e.selector("required",this.isRequired),e.selector("failed",this.isFailed),e.selector("passed",this.isPassed),e.selector("awaiting",this.isAwaiting)),this.suggestions(this.m_pSuggestions),o},t.prototype.onUpdate=function(){var t=this.isFused?this.parent:this.m_pText;t&&(t.selector("locked",this.isLocked),t.selector("required",this.isRequired),t.selector("hover",this.isHovered),t.selector("focus",this.hasFocus),t.selector("failed",this.isFailed),t.selector("passed",this.isPassed),t.selector("awaiting",this.isAwaiting)),this.m_pText&&(this.m_pText.property("disabled",this.isDisabled),this.m_pText.property("readOnly",this.isLocked)),e.prototype.onUpdate.call(this)},t.prototype.onFocus=function(t){var i=this;("focus"===this.m_sAutoSelect||t&&"auto-focus"===this.m_sAutoSelect)&&!this.isMultiline&&this.hasFocus&&this.m_pText&&(0,c.writeAfterRead)((function(){return i.select()})),e.prototype.onFocus.call(this,t)},t.prototype.onFocusOptions=function(){this.m_pFocus&&this.m_pFocus.update(),e.prototype.onFocusOptions.call(this)},t.prototype.onBlur=function(){if(this.m_pText){var t=this.m_pText.property("value");(0,l.isString)(t)&&this.input(t)!==t&&this.update()}e.prototype.onBlur.call(this)},t.prototype.onEnter=function(t){return!(!this.m_fnEnter||!this.m_fnEnter(this))||e.prototype.onEnter.call(this,t)},t.prototype.onEscape=function(t){return!(!this.m_fnEscape||!this.m_fnEscape(this))||e.prototype.onEscape.call(this,t)},t.prototype.onData=function(){this.update(),this.m_fnChange&&this.m_fnChange(this),e.prototype.onData.call(this)},t.prototype.onMeasure=function(){var e=this;if(this.isMultiline&&(0,l.isFilledString)(this.value)&&this.m_pText&&!this.m_nFixedLines){var t=this.m_pText.scrollHeight,i=(0,l.castToNumber)(this.m_pText.rectangleHeight),n=(0,l.castToNumber)(this.m_pText.get("border-top-width",!0))+(0,l.castToNumber)(this.m_pText.get("border-bottom-width",!0));if(this.m_nHeight||(this.m_nHeight=i),t!==i)return(0,c.write)((function(){e.m_pText&&(e.m_pText.height=t+n)}),!this.m_pText.isInDOM,!0),t+n-i}return 0},t.prototype.onMode=function(){var t=this;this.isMultiline&&this.m_nHeight>0&&(0,c.write)((function(){t.m_pText&&(t.m_pText.height=t.m_nHeight)}),!this.m_pText||!this.m_pText.isInDOM,!0),e.prototype.onMode.call(this)},t.prototype.focus=function(){return!!this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.width=function(e){return this.m_nWidth=l.Num.max(e,0),this},t.prototype.fixedLines=function(e){var t=this;return e=l.Num.max(e,0),this.m_nFixedLines!==e&&(this.m_nFixedLines=e,this.isMultiline&&(0,c.write)((function(){t.m_pText&&(t.m_pText.attribute("rows",(0,l.castToString)(t.m_nFixedLines||t.m_nLines)),t.m_pText.height=t.m_nFixedLines?"auto":0,t.resize(),t.update())}),!this.m_pText||!this.m_pText.isInDOM,!0)),this},t.prototype.align=function(e){return this.m_sAlign=e,this},t.prototype.sanitize=function(e){return void 0===e&&(e=!0),this.m_bSanitize!==e&&(this.m_bSanitize=e,this.m_bSanitize&&this.input(this.value)),this},t.prototype.trim=function(e){return void 0===e&&(e=!0),this.m_bTrim!==e&&(this.m_bTrim=e,this.m_bTrim&&this.input(this.value)),this},t.prototype.maxLength=function(e){var t=this;return e=l.Num.max(e,0),this.m_nMaxLength!==e&&(this.m_nMaxLength=e,(0,c.write)((function(){if(t.m_pText){var e=t.m_nMaxLength&&(0,l.castToString)(t.m_nMaxLength)||"";e?t.m_pText.property("maxLength",e):t.m_pText.HTMLElement&&t.m_pText.HTMLElement.removeAttribute("maxLength")}}),!this.m_pText||!this.m_pText.isInDOM,!0),e>0&&this.input(this.value)),this},t.prototype.name=function(e){var t=this;return this.m_sPlaceholder!==e&&(this.m_sName=e,(0,c.write)((function(){t.m_pText&&(t.m_pText.property("name",t.m_sName),t.m_pText.property("autocomplete",(0,l.isFilledString)(t.m_sName)?"on":"off"))}),!this.m_pText||!this.m_pText.isInDOM,!0)),this},t.prototype.placeholder=function(e){var t=this;return this.m_sPlaceholder!==e&&(this.m_sPlaceholder=e,(0,c.write)((function(){t.m_pText&&t.m_pText.property("placeholder",t.m_sPlaceholder)}),!this.m_pText||!this.m_pText.isInDOM,!0)),this},t.prototype.inputMode=function(e){var t=this;return this.m_sInputMode!==e&&(this.m_sInputMode=e,(0,c.write)((function(){t.m_pText&&t.m_pText.property("inputMode",t.m_sInputMode)}),!this.m_pText||!this.m_pText.isInDOM,!0)),this},t.prototype.transformation=function(e){var t=this;return this.m_sTransformation!==e&&(this.m_sTransformation=e,this.input(this.value),(0,c.write)((function(){if(t.m_pText){var e="none";switch(t.m_sTransformation){case"capitalize-words":e="capitalize";break;case"lowercase":e="lowercase";break;case"uppercase":e="uppercase"}t.m_pText.set("text-transform",e)}}),!this.m_pText||!this.m_pText.isInDOM)),this},t.prototype.autoSelect=function(e){return void 0===e&&(e="focus"),this.m_sAutoSelect=e,this},t.prototype.autoValidate=function(t){return void 0===t&&(t=function(e,t){return e.isRequired&&e.isVisible&&!e.isDisabled?(0,l.isFilledString)(e.value)?"pass":"initial"===t||"visible"===t||"focus"===t||e.hasFocus?"invalid":"fail":"unknown"}),e.prototype.autoValidate.call(this,(0,l.cast)(t))},t.prototype.suggestions=function(e){var i=this;if(this.m_pSuggestions=e,this.m_pText&&this.m_pText.parent instanceof r.Element&&(this.m_pSuggestions&&this.m_pSuggestions.length>0||this.m_pSuggestionsElement)){var n=t.createSuggestionsId();this.m_pSuggestionsElement&&this.m_pSuggestionsElement.destroy(),this.m_pSuggestionsElement=this.m_pText.parent.create("datalist",(function(e){e.attribute("id",n),(0,l.each)(i.m_pSuggestions,(function(t){e.create("option",(function(e){var i=(0,l.isString)(t)?t:t.name;i&&e.attribute("value",i)}))}))})),this.m_pText.attribute("list",n)}return this},t.prototype.enter=function(e){return this.m_fnEnter=(0,l.cast)(e),this},t.prototype.escape=function(e){return this.m_fnEscape=(0,l.cast)(e),this},t.prototype.on=function(e){return this.m_fnChange=(0,l.cast)(e),this},t.prototype.select=function(){if(this.m_pText){var e=this.m_pText.HTMLElementOfType();e&&e.select()}else this.autoFocus(!0);return this},t.prototype.action=function(e,t){return this.actionKey=e,this.actionProc=t,this},t.prototype.copyToClipboard=function(){var e=window;if(e.clipboardData)e.clipboardData.setData("Text",this.value);else{var t=document.createElement("textarea");t.setAttribute("style","width: 1px; border: 0; opacity: 0; pointer-events: none;"),document.body.appendChild(t),t.value=this.value,t.select(),document.execCommand("copy"),document.body.removeChild(t)}},t.prototype.destroy=function(){this.m_nAutoFill=(0,l.cancelUIInterval)(this.m_nAutoFill),e.prototype.destroy.call(this)},t.m_nSuggestions=0,t}(o.DataControl);t.Text=h},72898:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Group=t.StaticControl=t.DataControl=t.Control=t.Binding=t.Form=void 0;var n=i(76389);Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return n.Form}});var o=i(38909);Object.defineProperty(t,"Binding",{enumerable:!0,get:function(){return o.Binding}});var r=i(96433);Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return r.Control}});var s=i(71583);Object.defineProperty(t,"DataControl",{enumerable:!0,get:function(){return s.DataControl}});var a=i(91558);Object.defineProperty(t,"StaticControl",{enumerable:!0,get:function(){return a.StaticControl}});var l=i(65293);Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return l.Group}})},96433:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Control=void 0;var n=i(70655),o=i(84389),r=i(29165),s=i(6148),a=i(4991),l=i(9072),c=i(76389),u=i(27636),p=i(97059),h=i(95349),d=i(94689),m=function(e){function t(t){var i=e.call(this)||this;return i.m_nTab=0,i.m_sLabelCompact="",i.m_nModes=3,i.m_nIndent=0,i.m_bVisible=!0,i.m_bDisabled=!1,i.m_bLocked=!1,i.m_bRequired=!1,i.m_bGroupVisible=!0,i.m_sValidation="unknown",i.m_bHover=!1,i.m_bFocus=!1,i.m_bFocusAuto=!1,i.m_bFocusAutoSet=!1,i.m_nCursor=-1,i.m_pStyle=t.style,i.m_sStyle=t.styleName||"",i.m_pStyleDefault=t.styleDefault,i.m_bStatic=(0,o.isString)(t.label),i.m_sLabel=(0,o.castToString)(t.label),i}return n.__extends(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.m_pParent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"static",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSingleControlInForm",{get:function(){return this.form instanceof c.Form&&1===this.form.count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFused",{get:function(){return this.isSingleControlInForm&&(this.m_bStatic||!this.static)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"form",{get:function(){return this.m_pForm},set:function(e){if(e){if(this.m_pForm)throw new Error("UI.Form.Control: Form is already attached. You can use a control only once.");this.m_pForm=e,this.m_nTab=a.Cards.tab,this.m_pStyle||(this.m_pStyle=e.styles(this.m_sStyle)||this.m_pStyleDefault),this.onExecute()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFormReady",{get:function(){return!!this.form&&this.form.isReady},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFormEnabled",{get:function(){return!!this.form&&!this.form.isDisabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFormVisible",{get:function(){return!!this.form&&this.form.isVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isGroupVisible",{get:function(){return this.m_bGroupVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ref",{get:function(){return this.m_sReference},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"feature",{get:function(){return this.form?this.form.feature:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFeatureEnabled",{get:function(){return!!this.feature&&this.feature.isActivated},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasLabel",{get:function(){return!(!this.m_sLabel&&!this.m_pMarkdownOptions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.form?this.form.stylesheet:l.Stylesheet.app},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"modes",{get:function(){return this.m_nModes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tab",{get:function(){return this.m_nTab},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){this.visible(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){this.disabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLocked",{get:function(){return this.m_bLocked},set:function(e){this.locked(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequired",{get:function(){return this.m_bRequired},set:function(e){this.required(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInteractable",{get:function(){return this.isObservable&&!this.isDisabled&&!this.isLocked&&this.form instanceof c.Form&&this.form.isObservable&&!this.form.isDisabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isObservable",{get:function(){return!!(this.isVisible&&this.isGroupVisible&&this.form&&this.modes&this.form.mode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReadable",{get:function(){return this.isVisible&&this.isFormVisible&&this.isGroupVisible&&this.isFormEnabled&&!this.isDisabled&&(!this.feature||this.isFeatureEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHovered",{get:function(){return this.isInteractable&&this.m_bHover},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFocus",{get:function(){return this.isInteractable&&this.m_bFocus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validation",{get:function(){return this.m_sValidation},set:function(e){this.m_sValidation!==e&&(this.m_sValidation=e,this.onValidate(),this.updateControl("validation"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPassed",{get:function(){return"pass"===this.validation},set:function(e){(e||this.isPassed)&&(this.validation=e?"pass":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInvalid",{get:function(){return"invalid"===this.validation},set:function(e){(e||this.isInvalid)&&(this.validation=e?"invalid":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFailed",{get:function(){return"fail"===this.validation},set:function(e){(e||this.isFailed)&&(this.validation=e?"fail":"unknown")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAwaiting",{get:function(){return"await"===this.validation},set:function(e){(e||this.isAwaiting)&&(this.validation=e?"await":"unknown")},enumerable:!1,configurable:!0}),t.prototype.cancelValidation=function(){this.m_pValidationCallback&&(this.m_pValidationCallback.cancel(),this.m_pValidationCallback=void 0)},t.prototype.updateVisibility=function(){var e=this;(0,h.write)((function(){e.element&&e.element.selector("visible",e.isObservable),e.updateControl("visible")}),!this.element||!this.element.isInDOM),this.form&&this.form.verify()},t.prototype.drawStatic=function(e){if(this.static){var t=this.form&&this.form.isModeCompact&&(0,o.isFilledString)(this.m_sLabelCompact)?this.m_sLabelCompact:this.m_sLabel;this.m_pMarkdownOptions?this.static.markdown(d.MarkdownParser.parse(t,this.m_pMarkdownOptions),void 0,(function(e,t){"hyperlink"===t&&u.Touch.mode(e,"disable")})):this.static.text=t,e&&this.form&&this.form.resize()}},t.prototype.updateControl=function(e){var t=this;this.form&&this.form.isReady&&("visible"!==e&&"disabled"!==e&&"required"!==e&&"locked"!==e||this.form.resize(),"visible"!==e&&"disabled"!==e&&"locked"!==e&&"focus"!==e||this.form.focusUpdate(),"visible"!==e&&"disabled"!==e&&"locked"!==e||this.onFocusOptions(),this.onChange(e)),(0,h.write)((function(){return t.onUpdate()}),!this.element||!this.element.isInDOM,"disabled"===e||"locked"===e)},t.prototype.updateFocus=function(e,t,i,n){var o=this;e!==this.m_bFocus&&(this.m_bFocus=e,this.m_nCursor=-1,this.hasFocus?this.onFocus(this.m_bFocusAutoSet):this.onBlur(),this.updateControl("focus"),this.form&&this.form.isReady&&this.hasFocus&&this.form.scrollIntoView(i||this.element,!0),i&&n&&t&&(e?u.Touch.focus(i,n,(function(){return o.updateFocus(!1,!1)})):u.Touch.blur(i)))},t.prototype.hover=function(e){this.m_bHover!==e&&(this.m_bHover=e,this.onHover(),this.updateControl("hover"))},t.prototype.keyboard=function(e,t,i,n){var r=this;void 0===i&&(i=!1);var s,a="textarea"===e.tagName,l="input"===e.tagName,c="select"===e.tagName,u=a,h=!1,d=!1;if(l){var m=e.property("type")||"";h="checkbox"===m,d="radio"===m,u="text"===m||"password"===m}s=a||l&&!h&&!d,p.Keyboard.local(e,(function(l){if(!r.hasFocus)return!1;if(n&&n(l))return!0;if(!l.isKeyDown)return!1;if(!l.hasModifiers&&("ArrowUp"===l.key||"ArrowDown"===l.key||"ArrowLeft"===l.key&&s)){var p="ArrowDown"!==l.key,h=!1,d=!1;if(s){var m=e.HTMLElementOfType();(u&&m&&m.selectionStart===m.selectionEnd&&(m.selectionStart===(p?0:(0,o.stringLength)(m.value))||m.selectionStart===r.m_nCursor)||!u&&"ArrowLeft"!==l.key)&&("ArrowLeft"===l.key&&r.feature&&(r.feature.focus()||r.feature.features.each((function(e){return e.focus()})))||(h=!0),d=!0),r.m_nCursor=h||!m?-1:(0,o.castToNumber)(m.selectionStart)}else c||(h=!r.focusTo(p?"previous":"next"),d=!0);return h&&r.form&&(d=r.form.focusTo(p?"previous":"next")),d}if("ArrowLeft"===l.key&&!l.hasModifiers&&r.feature&&(r.feature.focus()||r.feature.features.each((function(e){return e.focus()}))))return!0;switch(l.key){case"Enter":case" ":if("Enter"===l.key&&(32===l.modifiers||!l.hasModifiers&&(!a||i)&&!c)||" "===l.key&&!l.hasModifiers&&!s&&!c)return!(" "!==l.key&&l.isShift||!(t?t():r.onEnter(e)))||(r.form&&r.form.focusTo("next")||e.blur(),!0);break;case"Escape":if(!l.hasModifiers)return r.onEscape(e)||e.blur(),!0}return!1}))},t.prototype.initialized=function(){this.form&&this.form.initialized()},t.prototype.onUpdate=function(){this.element&&this.element.selector("disabled",this.isDisabled)},t.prototype.onExecute=function(){this.m_fnBind&&(this.m_fnBind(this),this.m_fnBind=void 0),this.m_fnExecute&&(this.m_fnExecute(this),this.m_fnExecute=void 0),this.emitHook("OnExecute",{control:this})},t.prototype.onChange=function(e){this.emitHook("OnChange",{control:this,change:e})},t.prototype.onHover=function(){this.emitHook("OnHover",{control:this})},t.prototype.onFocus=function(e){this.validate("focus"),this.emitHook("OnFocus",{control:this})},t.prototype.onFocusOptions=function(){this.emitHook("OnFocusOptions",{control:this})},t.prototype.onBlur=function(){this.validate("blur"),this.emitHook("OnBlur",{control:this})},t.prototype.onEnter=function(e){return this.emitHook("OnEnter",{control:this}),!1},t.prototype.onEscape=function(e){return this.emitHook("OnEscape",{control:this}),!1},t.prototype.onEnable=function(){this.emitHook("OnEnable",{control:this})},t.prototype.onDisable=function(){this.emitHook("OnDisable",{control:this})},t.prototype.onRequire=function(){this.emitHook("OnRequire",{control:this})},t.prototype.onOptional=function(){this.emitHook("OnOptional",{control:this})},t.prototype.onLock=function(){this.emitHook("OnLock",{control:this})},t.prototype.onUnlock=function(){this.emitHook("OnUnlock",{control:this})},t.prototype.onValidate=function(){this.form&&this.form.validate(),this.emitHook("OnValidate",{control:this})},t.prototype.onInit=function(){return!0},t.prototype.onMeasure=function(){return 0},t.prototype.onResized=function(){this.emitHook("OnResized",{control:this})},t.prototype.onFormResize=function(){this.emitHook("OnFormResize",{control:this})},t.prototype.onFormActivate=function(){this.emitHook("OnFormActivate",{control:this})},t.prototype.onFormDeactivate=function(){this.emitHook("OnFormDeactivate",{control:this})},t.prototype.onFormEnable=function(){this.onFocusOptions(),this.emitHook("OnFormEnable",{control:this})},t.prototype.onFormDisable=function(){this.onFocusOptions(),this.emitHook("OnFormDisable",{control:this})},t.prototype.onShow=function(){this.emitHook("OnShow",{control:this})},t.prototype.onHide=function(){this.emitHook("OnHide",{control:this})},t.prototype.onMode=function(){(0,o.isFilledString)(this.m_sLabelCompact)&&this.drawStatic(!0),this.updateVisibility(),this.emitHook("OnMode",{control:this})},t.prototype.onRequestAutoFocus=function(){var e=!1;return this.m_bFocusAutoSet=!0,this.m_bFocusAuto&&this.focus()&&(this.emitHook("OnAutoFocus",{control:this}),e=!0),this.m_bFocusAutoSet=!1,e},t.prototype.draw=function(e){var t;this.form&&(this.m_pParent=e,this.m_pElement=this.onDraw(e),this.drawStatic(!1),this.element&&(this.element.style(((t={display:"none"})[l.Stylesheet.selector("visible")]={display:"block"},t[l.Stylesheet.selector("disabled")]={cursor:"default !important",pointerEvents:"none","*":{cursor:"default !important",pointerEvents:"none"}},t),this.stylesheet),this.m_nIndent>0&&this.element.style({width:"calc(100% - ".concat(this.m_nIndent,"px) !important"),marginLeft:"".concat(this.m_nIndent,"px !important")},this.stylesheet),this.element.selector("visible",this.isObservable),this.element.selector("disabled",this.isDisabled)),this.validate("initial"))},t.prototype.redraw=function(){return this.parent&&this.element&&(this.element.destroyChildren(),this.element.destroyAttribute("class"),this.draw(this.element)),this},t.prototype.resize=function(){this.form&&this.form.isReady&&this.form.resize()},t.prototype.groupVisibility=function(e){this.m_bGroupVisible!==e&&(this.m_bGroupVisible=e,this.updateVisibility(),this.isObservable?this.onShow():this.onHide(),this.validate("visible"))},t.prototype.label=function(e){return this.m_sLabel=o.Str.sanitize(e),this.drawStatic(!0),this},t.prototype.labelCompact=function(e){return this.m_sLabelCompact=o.Str.sanitize(e),this.drawStatic(!0),this},t.prototype.markdown=function(e){return this.m_pMarkdownOptions=e||{},this.drawStatic(!0),this},t.prototype.visible=function(e){return void 0===e&&(e=!0),this.m_bVisible!==e&&(this.m_bVisible=e,this.updateVisibility(),this.isObservable?this.onShow():this.onHide(),this.validate("visible")),this},t.prototype.show=function(){return this.visible(!0)},t.prototype.hide=function(){return this.visible(!1)},t.prototype.disabled=function(e){return void 0===e&&(e=!0),this.m_bDisabled!==e&&(this.m_bDisabled=e,e?this.onDisable():this.onEnable(),this.updateControl("disabled"),this.validate("disabled")),this},t.prototype.disable=function(){return this.disabled(!0)},t.prototype.enable=function(){return this.disabled(!1)},t.prototype.required=function(e){return void 0===e&&(e=!0),this.m_bRequired!==e&&(this.m_bRequired=e,e?this.onRequire():this.onOptional(),this.updateControl("required"),this.validate("required")),this},t.prototype.require=function(){return this.required(!0)},t.prototype.locked=function(e){return void 0===e&&(e=!0),this.m_bLocked!==e&&(this.m_bLocked=e,this.m_bLocked&&(this.m_bHover&&(this.m_bHover=!1,this.onHover()),this.m_bFocus&&(this.m_bFocus=!1,this.onBlur())),e?this.onLock():this.onUnlock(),this.updateControl("locked"),this.validate("locked")),this},t.prototype.readonly=function(){return this.locked(!0)},t.prototype.lock=function(){return this.locked(!0)},t.prototype.unlock=function(){return this.locked(!1)},t.prototype.mode=function(e){switch(e){case"compact":this.m_nModes=2;break;case"normal":this.m_nModes=1;break;case"both":this.m_nModes=3}return this.onMode(),this},t.prototype.compactModeOnly=function(){return this.mode("compact")},t.prototype.normalModeOnly=function(){return this.mode("normal")},t.prototype.indent=function(e){return this.m_nIndent=e,this},t.prototype.validate=function(e){var t=this;return void 0===e&&(e="revalidate"),this.cancelValidation(),"unknown"===e||"fail"===e||"invalid"===e||"pass"===e||"await"===e?this.validation=e:this.m_fnAutoValidate&&(this.isFormReady||(e="initial"),this.m_pValidationCallback=s.Callback.of({await:function(i){return(0,o.call)(t.m_fnAutoValidate,t,e,i)||"unknown"},promise:function(e){!e.isCanceled&&e.payload&&(t.validation=e.payload)}}),this.m_pValidationCallback.isAlive&&(this.validation="await")),this},t.prototype.autoValidate=function(e){return this.m_fnAutoValidate=e,this},t.prototype.pass=function(){return this.validate("pass")},t.prototype.invalid=function(){return this.validate("invalid")},t.prototype.fail=function(){return this.validate("fail")},t.prototype.await=function(){return this.validate("await")},t.prototype.reference=function(e){return this.m_sReference=e,this},t.prototype.execute=function(e){return this.m_fnExecute=(0,o.cast)(e),this},t.prototype.bind=function(e){return this.m_fnBind=(0,o.cast)(e),this},t.prototype.unbind=function(e){return this.m_fnUnbind=(0,o.cast)(e),this},t.prototype.autoFocus=function(e){return void 0===e&&(e=!0),this.m_bFocusAuto=e,this},t.prototype.focus=function(e){return void 0===e&&(e="first"),!1},t.prototype.focusTo=function(e){return!1},t.prototype.blur=function(){},t.prototype.destroy=function(){this.m_fnUnbind&&(this.m_fnUnbind(this),this.m_fnUnbind=void 0),this.cancelValidation(),this.m_pParent=void 0,this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0)},t}(r.Hooks);t.Control=m},38909:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Binding=void 0;var i=function(){function e(e,t,i,n,o){this.paused=!1,this.m_pTarget=e,this.m_sProperty=t,this.m_pInactive=i,this.m_pDefault=n,this.m_fnModifier=o}return Object.defineProperty(e.prototype,"inactive",{get:function(){return this.m_pInactive},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"default",{get:function(){return this.m_pDefault},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.m_pTarget[this.m_sProperty]},set:function(e){this.paused||(this.m_pTarget[this.m_sProperty]=this.m_fnModifier?this.m_fnModifier(e):e)},enumerable:!1,configurable:!0}),e}();t.Binding=i},71583:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataControl=void 0;var n=i(70655),o=i(96433),r=i(84389),s=i(38909),a=function(e){function t(t,i,n){var o=e.call(this,n)||this;return t instanceof s.Binding?(o.m_pBinding=t,o.m_pData=(0,r.isDefined)(t.value)?t.value:(0,r.isDefined)(t.default)?t.default:i):o.m_pData=t,o}return n.__extends(t,e),t.bind=function(e,t,i,n,o){return new s.Binding(e,t,i,n,o)},t.prototype.dispatch=function(){this.m_pBinding&&(this.m_pBinding.value=this.isReadable?this.output():this.m_pBinding.inactive),this.onData()},t.prototype.input=function(e){return e!==this.m_pData&&(this.m_pData=e,this.dispatch()),this.output()},t.prototype.output=function(){return this.m_pData},t.prototype.onData=function(){this.validate("data"),this.emitHook("OnData",{control:this,data:this.output()}),this.form&&this.form.onData()},t.prototype.onEnable=function(){this.dispatch(),e.prototype.onEnable.call(this)},t.prototype.onDisable=function(){this.dispatch(),e.prototype.onDisable.call(this)},t.prototype.onFormActivate=function(){this.dispatch(),e.prototype.onFormActivate.call(this)},t.prototype.onFormDeactivate=function(){this.dispatch(),e.prototype.onFormDeactivate.call(this)},t.prototype.onFormEnable=function(){this.dispatch(),e.prototype.onFormEnable.call(this)},t.prototype.onFormDisable=function(){this.dispatch(),e.prototype.onFormDisable.call(this)},t.prototype.onShow=function(){this.dispatch(),e.prototype.onShow.call(this)},t.prototype.onHide=function(){this.dispatch(),e.prototype.onHide.call(this)},t.prototype.pauseBinding=function(){return this.m_pBinding&&(this.m_pBinding.paused=!0),this},t.prototype.resumeBinding=function(){return this.m_pBinding&&(this.m_pBinding.paused=!1),this},t.prototype.refresh=function(){return this.m_pBinding instanceof s.Binding&&((0,r.isDefined)(this.m_pBinding.value)||(0,r.isDefined)(this.m_pBinding.default))&&(this.m_pData=(0,r.isDefined)(this.m_pBinding.value)?this.m_pBinding.value:this.m_pBinding.default,this.dispatch()),this.onData(),this},t}(o.Control);t.DataControl=a},65293:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t){var i=e.call(this)||this;return i.m_bVisible=!0,i.m_bDisabled=!1,i.m_bLocked=!1,i.m_pControls=t,i}return n.__extends(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){this.visible(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){this.disabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLocked",{get:function(){return this.m_bLocked},set:function(e){this.locked(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.m_pControls},enumerable:!1,configurable:!0}),t.prototype.onShow=function(){(0,o.each)(this.m_pControls,(function(e){return e.groupVisibility(!0)})),this.emitHook("OnShow",{group:this})},t.prototype.onHide=function(){(0,o.each)(this.m_pControls,(function(e){return e.groupVisibility(!1)})),this.emitHook("OnHide",{group:this})},t.prototype.onEnable=function(){(0,o.each)(this.m_pControls,(function(e){return e.enable()})),this.emitHook("OnEnable",{group:this})},t.prototype.onDisable=function(){(0,o.each)(this.m_pControls,(function(e){return e.disable()})),this.emitHook("OnDisable",{group:this})},t.prototype.onLock=function(){(0,o.each)(this.m_pControls,(function(e){return e.lock()})),this.emitHook("OnLock",{group:this})},t.prototype.onUnlock=function(){(0,o.each)(this.m_pControls,(function(e){return e.unlock()})),this.emitHook("OnUnlock",{group:this})},t.prototype.visible=function(e){return this.m_bVisible!==e&&(this.m_bVisible=e,e?this.onShow():this.onHide()),this},t.prototype.show=function(){return this.visible(!0)},t.prototype.hide=function(){return this.visible(!1)},t.prototype.disabled=function(e){return this.m_bDisabled!==e&&(this.m_bDisabled=e,e?this.onDisable():this.onEnable()),this},t.prototype.disable=function(){return this.disabled(!0)},t.prototype.enable=function(){return this.disabled(!1)},t.prototype.locked=function(e){return void 0===e&&(e=!0),this.m_bLocked!==e&&(this.m_bLocked=e,e?this.onLock():this.onUnlock()),this},t.prototype.readonly=function(){return this.locked(!0)},t.prototype.lock=function(){return this.locked(!0)},t.prototype.unlock=function(){return this.locked(!1)},t}(i(29165).Hooks);t.Group=r},91558:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StaticControl=void 0;var n=i(70655),o=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t}(i(96433).Control);t.StaticControl=o},76389:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;var n=i(70655),o=i(84389),r=i(96433),s=i(9072),a=i(27636),l=i(65293),c=i(4991),u=i(94689),p=i(95349),h=function(e){function t(i){var n=e.call(this,"normal"===i.mode?1:"compact"===i.mode?2:3)||this;return n.m_pControls=[],n.m_bFocus=!1,n.m_pStyle=i.style||t.style||{},n.m_sTitle=(0,o.castToString)(i.title),n.m_pMarkdownOptions=i.markdown?!0===i.markdown?{}:i.markdown:void 0,n.m_bDisabled=(0,o.castToBoolean)(i.disabled),(0,o.each)(i.controls,(function(e){var t;e instanceof l.Group?(t=n.m_pControls).push.apply(t,e.controls):n.m_pControls.push(e)})),n.each((function(e){e.form=n})),n.verify(!1),n}return n.__extends(t,e),Object.defineProperty(t.prototype,"count",{get:function(){return this.m_pControls.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.m_sTitle},set:function(e){this.m_sTitle!==e&&(this.m_sTitle=e,this.m_pTitle instanceof s.Element&&(this.m_pMarkdownOptions?this.m_pTitle.markdown(u.MarkdownParser.parse(this.title,this.m_pMarkdownOptions),void 0,(function(e,t){"hyperlink"===t&&a.Touch.mode(e,"disable")})):this.m_pTitle.text=this.title))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){var t=this;this.m_bDisabled!==e&&(this.m_bDisabled=e,(0,p.write)((function(){t.m_pFieldset&&(t.m_pFieldset.property("disabled",t.isDisabled),t.m_pFieldset.selector("disabled",t.isDisabled))}),!this.m_pFieldset||!this.m_pFieldset.isInDOM,!0),e?this.onDisable():this.onEnable())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFocus",{get:function(){return(0,o.findFirst)(this.m_pControls,(function(e){return e.hasFocus}))instanceof r.Control},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(e){var t,i=this;(0,o.isFilledString)(this.m_sTitle)&&(this.m_pTitle=e.create("h2",(function(e){i.m_pMarkdownOptions?e.markdown(u.MarkdownParser.parse(i.title,i.m_pMarkdownOptions),void 0,(function(e,t){"hyperlink"===t&&a.Touch.mode(e,"disable")})):e.text=i.title}),[{display:"block",margin:0,padding:0,cursor:"default"},this.m_pStyle.title,(t={},t[s.Stylesheet.selector("fused")]=this.m_pStyle.fused?this.m_pStyle.fused.title:void 0,t)],this.stylesheet)),e.create("form",(function(e){var t;e.attribute("novalidate","novalidate"),e.attribute("autocomplete","off"),i.m_pFieldset=e.append("fieldset",(function(e){e.selector("disabled",i.isDisabled),e.property("disabled",i.isDisabled),i.each((function(t){return t.draw(e)})),1===i.m_pControls.length&&i.m_pControls[0].isFused&&(e.addSelector("fused"),i.m_pTitle&&i.m_pTitle.addSelector("fused"))}),(0,o.extendImmutable)({display:"block",border:"none",padding:0,margin:0,minWidth:0,webkitMarginBottomCollapse:"separate"},i.m_pStyle.appearance,((t={})[s.Stylesheet.selector("fused")]=i.m_pStyle.fused?i.m_pStyle.fused.appearance:void 0,t[s.Stylesheet.selector("normal")]=i.m_pStyle.normal,t[s.Stylesheet.selector("compact")]=i.m_pStyle.compact,t[s.Stylesheet.selector("required")]=i.m_pStyle.required,t[s.Stylesheet.selector("focus")]=i.m_pStyle.focus,t[s.Stylesheet.selector("locked")]=i.m_pStyle.locked,t[s.Stylesheet.selector("passed")]=i.m_pStyle.passed,t[s.Stylesheet.selector("failed")]=i.m_pStyle.failed,t[s.Stylesheet.selector("awaiting")]=i.m_pStyle.awaiting,t[s.Stylesheet.selector("disabled")]=(0,o.extend)({cursor:"default !important",pointerEvents:"none","*":{cursor:"default !important",pointerEvents:"none"}},i.m_pStyle.disabled),t)),i.stylesheet),e.on("submit",(function(e){s.Element.stopPropagation(e)}))}),{margin:0,padding:0,display:"block"},this.stylesheet)},t.prototype.onMeasure=function(){var e=0;return this.each((function(t){e+=t.onMeasure()})),e},t.prototype.onResize=function(){this.each((function(e){e.onFormResize()})),e.prototype.onResize.call(this)},t.prototype.onResized=function(){this.each((function(e){e.onResized()})),e.prototype.onResized.call(this)},t.prototype.onActivate=function(){this.each((function(e){e.onFormActivate()})),e.prototype.onActivate.call(this)},t.prototype.onDeactivate=function(){this.blur(),this.each((function(e){e.onFormDeactivate()})),e.prototype.onDeactivate.call(this)},t.prototype.onEnable=function(){this.each((function(e){e.onFormEnable()})),this.emitHook("OnEnable",{form:this})},t.prototype.onDisable=function(){this.blur(),this.each((function(e){e.onFormDisable()})),this.emitHook("OnDisable",{form:this})},t.prototype.onShow=function(){this.each((function(e){e.isVisible&&e.onShow()})),e.prototype.onShow.call(this)},t.prototype.onHide=function(){this.blur(),this.each((function(e){e.isVisible&&e.onHide()})),e.prototype.onHide.call(this)},t.prototype.onFocus=function(){this.emitHook("OnFocus",{form:this})},t.prototype.onBlur=function(){this.emitHook("OnBlur",{form:this})},t.prototype.onValidate=function(){var e="unknown";return(0,o.findFirst)(this.m_pControls,(function(t){return"unknown"===t.validation||!t.isObservable||t.isDisabled||t.isLocked||(e="await"===e||t.isAwaiting?"await":t.isPassed?"pass":t.isFailed?"fail":"invalid"),"invalid"===e||"fail"===e})),e},t.prototype.onDestroy=function(){this.each((function(e){e.destroy()})),this.m_pFieldset=void 0,this.m_pTitle=void 0,e.prototype.onDestroy.call(this)},t.prototype.onInit=function(){return!(0,o.findFirst)(this.m_pControls,(function(e){return!e.onInit()}))&&e.prototype.onInit.call(this)},t.prototype.onMode=function(){this.each((function(e){e.onMode()})),e.prototype.onMode.call(this)},t.prototype.onRequestFocus=function(){return this.isObservable&&!this.isDisabled?this.focus("first"):e.prototype.onRequestFocus.call(this)},t.prototype.onRequestAutoFocus=function(){return this.isObservable&&!this.isDisabled?(0,o.findLast)(this.m_pControls,(function(e){return e.onRequestAutoFocus()}))instanceof r.Control:e.prototype.onRequestAutoFocus.call(this)},t.prototype.onData=function(){this.emitHook("OnData",{form:this})},t.prototype.initialized=function(){(0,o.findFirst)(this.m_pControls,(function(e){return!e.onInit()}))||e.prototype.initialized.call(this)},t.prototype.each=function(e){(0,o.each)(this.m_pControls,(function(t){e(t)}))},t.prototype.control=function(e){return(0,o.arrayItem)(this.m_pControls,e)},t.prototype.controlWithReference=function(e){return(0,o.findFirst)(this.m_pControls,(function(t){return t.ref===e}))},t.prototype.styles=function(e){if(this.m_pStyle.controls&&(0,o.isFilledString)(e))return this.m_pStyle.controls[e]},t.prototype.verify=function(e){var t=this;void 0===e&&(e=!0),e?(this.m_pVerify||(this.m_pVerify=new o.Debounce((function(){return t.verify(!1)}),"promise")),this.m_pVerify.invoke()):this.isEmpty=!(0,o.findFirst)(this.m_pControls,(function(e){return e.isObservable}))},t.prototype.focus=function(e){return void 0===e&&(e="first"),!(!this.isObservable||this.isDisabled)&&("last"===e?o.findLast:o.findFirst)(this.m_pControls,(function(t){return t.focus(e)}))instanceof r.Control},t.prototype.focusTo=function(e){for(var t=this.m_pControls.length,i=0,n=!1;i<this.m_pControls.length&&!this.m_pControls[i].hasFocus;i++);if("previous"===e&&i>0||"next"===e&&i<t-1)do{i+="previous"===e?-1:1,n=this.m_pControls[i].focus("previous"===e?"last":"first")}while(!n&&("previous"===e&&i>0||"next"===e&&i<t-1));if(!n)for(var o="previous"===e?this.predecessorSibling:this.successorSibling;o;){if(o.focus("previous"===e?"last":"first"))return!0;o="previous"===e?o.predecessorSibling:o.successorSibling}return n},t.prototype.focusUpdate=function(){var e=this;this.m_pFocus=this.m_pFocus||new o.Debounce((function(){e.m_pFieldset&&e.m_pFieldset.selectorSafe("focus",e.hasFocus)})),this.m_bFocus!==this.hasFocus&&(this.m_bFocus=!this.m_bFocus,this.m_pFocus.invoke(),this.m_bFocus?this.onFocus():this.onBlur())},t.prototype.blur=function(){this.each((function(e){e.blur()}))},t}(c.Card);t.Form=h},22910:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=t.Layout=void 0;var n=i(49449);Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return n.Layout}});var o=i(93954);Object.defineProperty(t,"Renderer",{enumerable:!0,get:function(){return o.Renderer}})},49449:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;var n=i(70655),o=i(22270),r=i(99636),s=i(84389),a=i(9072),l=i(45992),c=i(15661),u=i(95349),p=function(e){function t(i,n,o,r){var s=e.call(this,i,n)||this;if(s.m_bGuides=!1,s.m_bMoving=!1,s.m_pLayer=o,s.m_bMovable=r,s.m_bFollowing=!1,s.m_bEnsuing=!1,n.ancestor&&n.ancestor.layout instanceof t){var a=n.ancestor.layout;s.m_bFollowing=a.isMoving||a.isFollowing,s.m_bEnsuing=a.isEnsuing}return s}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.renderer.stylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.renderer.style},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"moveArea",{get:function(){return new o.Coordinate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"guides",{get:function(){return this.m_pGuides},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMoving",{get:function(){return this.m_bMoving},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFollowing",{get:function(){return this.m_bFollowing&&!this.m_bMoving},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnsuing",{get:function(){return this.m_bEnsuing&&!this.m_bMoving&&!this.m_bFollowing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHoverAllowed",{get:function(){return!this.m_bMoving&&!this.m_bFollowing&&!this.m_bEnsuing},enumerable:!1,configurable:!0}),t.prototype.updateRulers=function(){var e=this;this.m_pRulers&&(0,u.write)((function(){e.parent.rectangles.each((function(t,i){if(e.m_pRulers){var n=e.m_pRulers[i];n&&(n.x=t.left,n.y=t.top,n.width=t.width,n.height=t.height)}}),e.parent.zoom)}))},t.prototype.toggleRulers=function(){var e=this;this.m_pRulers&&(0,u.write)((function(){e.parent.rectangles.each((function(t,i){if(e.m_pRulers){var n=e.m_pRulers[i];n&&(n.visible=!n.visible)}}))}))},t.prototype.enableRulers=function(e,t){var i=this;void 0===e&&(e="rgba(255,0,0,0.5)"),void 0===t&&(t=!0),this.m_pRulers||(this.parent.rectangles.each((function(n,o){i.m_pRulers=i.m_pRulers||{},i.m_pRulers[o]=a.Element.create("div",(function(i){i.positioning="absolute",i.width=n.width,i.height=n.height,i.set("border","1px ".concat("children"===o?"dotted":"dashed"," ").concat(e)),i.set("contains","strict"),i.pointerEvents=!1,i.zIndex=a.Element.ZINDEX_ELEVATED,i.visible=t,i.position({x:n.left,y:n.top,translate:"accelerated"})}),i.layer.context)}),this.parent.zoom),(0,s.scheduleEvent)((function(){i.element&&c.Tap.double(i.element,(function(){return i.toggleRulers()}))})))},t.prototype.render=function(e){var t=this;"render"!==e&&this.m_pElement?("refresh"===e&&this.m_pElement.destroyChildren(),(0,u.write)((function(){t.draw(t.parent.left,t.parent.top,t.parent.width,t.parent.height,t.parent.zoom,t.parent.z,"update"===e)}),!this.m_pElement.isInDOM)):(this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0),a.Element.create("div",(function(e){t.m_pElement=e,e.style({position:"absolute",transformOrigin:"0 0 0",contain:"strict"},t.layer.stylesheet),e.width=t.parent.width,e.height=t.parent.height,e.zIndex=t.parent.z,e.position({x:t.parent.left,y:t.parent.top,z:t.parent.zoom,translate:"accelerated"}),t.draw(t.parent.left,t.parent.top,t.parent.width,t.parent.height,t.parent.zoom,t.parent.z,!1),t.m_bMovable&&(t.m_pMove=r.Drag.on({asset:t.element,area:function(){return t.moveArea},onInit:function(e){return t.parent.onMoveInit(e.delay,e.offset)},onStart:function(e){return t.parent.onMoveStart(e.offset)},onMove:function(e){return t.parent.onMove(e.diffX,e.diffY,e.offset)},onEnd:function(e){return t.parent.onMoveEnd(e.isDragging)}}))}),this.layer.context))},t.prototype.position=function(e,t,i,n){var o=this;(0,u.write)((function(){o.element&&o.element.position({x:e,y:t,z:i})}),!this.element||!this.element.isInDOM),this.updateRulers()},t.prototype.resize=function(e,t,i,n){var o=this;"zoom"!==n&&(0,u.write)((function(){o.element&&(o.element.width=e,o.element.height=t)}),!this.element||!this.element.isInDOM),this.updateRulers()},t.prototype.zIndex=function(t){var i=this;(0,u.write)((function(){i.element&&(i.element.zIndex=t)}),!this.element||!this.element.isInDOM),e.prototype.zIndex.call(this,t)},t.prototype.moving=function(e){if(this.m_bMoving!==e&&(this.m_bMoving=e,!e||this.isMoving)){if(this.parent.forEachDescendant((function(t){var i=t.layout;i&&i.following(e)})),this.parent.grid){var t=this.parent.grid.layout;t&&t.ensuing(e)}return!0}return!1},t.prototype.following=function(e){return!(this.m_bFollowing===e||(this.m_bFollowing=e,e&&!this.isFollowing))&&(this.parent.forEachDescendant((function(t){var i=t.layout;i&&i.following(e)})),!0)},t.prototype.ensuing=function(e){return!(this.m_bEnsuing===e||(this.m_bEnsuing=e,e&&!this.isEnsuing))&&(this.parent.forEachDescendant((function(t){var i=t.layout;i&&i.ensuing(e)})),!0)},t.prototype.onElevate=function(t){var i=this;(0,u.write)((function(){i.element&&(i.element.elevated=t)}),!this.element||!this.element.isInDOM),e.prototype.onElevate.call(this,t)},t.prototype.onIsMoveIn=function(e,t,i){return this.parent.rectangles.isCoordinateIn(e,t)},t.prototype.onMoveStart=function(t){return this.moving(!0),this.onGuides(),e.prototype.onMoveStart.call(this,t)},t.prototype.onMoveEnd=function(t){this.moving(!1),this.guidesDestroy(),e.prototype.onMoveEnd.call(this,t)},t.prototype.onGuides=function(e,t){if(void 0===e&&(e=void 0),void 0===t&&(t=!1),this.guidesDestroy(),this.parent.forEachDescendant((function(e){var t=e.layout;t&&t.onGuides()})),this.m_bGuides=!1,this.m_pGuides=e,this.m_pGuides){if(this.m_pGuides.pointerEvents=!1,t&&this.parent.ancestor){var i=0;this.parent.ancestor.forEachDescendantRecursive((function(e){i=s.Num.max(i,e.z+1)})),this.m_pGuides.zIndex=i}else this.m_pGuides.zIndex=this.parent.z;this.parent.guides()}this.m_bGuides=!0},t.prototype.onGuidesChange=function(t,i,n,o,r,s){var a=this;(0,u.write)((function(){a.guides&&(a.guides.position({x:i,y:n,z:s,translate:"accelerated"}),a.guides.width=o,a.guides.height=r)}),!this.m_bGuides||!this.guides||!this.guides.isInDOM),e.prototype.onGuidesChange.call(this,t,i,n,o,r,s)},t.prototype.guidesDestroy=function(){this.parent.forEachDescendant((function(e){var t=e.layout;t&&t.guidesDestroy()})),this.m_pGuides&&(this.m_pGuides.destroy(),this.m_pGuides=void 0)},t.prototype.destroy=function(){this.m_pMove&&this.m_pMove.cancel(),(0,s.each)(this.m_pRulers,(function(e){e.destroy()})),this.guidesDestroy(),this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0)},t}(l.GridLayout);t.Layout=p},93954:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var n=i(70655),o=i(22270),r=i(45992),s=i(84389),a=function(e){function t(t,i,n){var r=e.apply(this,t)||this;if(r.m_bZooming=!1,r.m_bMoving=!1,!n)throw new Error("Layers.Grid.Renderer: No valid styles supplied.");return r.m_pLayer=i,r.m_pStyle=n,i.wait(),i.hook("OnCalculated","synchronous",(function(){r.render(),(0,s.scheduleFrame)((function(){return i.done()}))})),i.hook("OnDestroy","synchronous",(function(){return r.destroy()})),i.scroll&&(i.scroll.onDimensions=function(){var e=r.grid;return e?new o.Dimensions(e.rectangles.dimensions.width,e.rectangles.dimensions.height):new o.Dimensions},i.scroll.onZoomStart=function(e){return r.onZoomStart(e)},i.scroll.onZoom=function(e){return r.onZoom(e)},i.scroll.onZoomEnd=function(e){return r.onZoomEnd(e)},i.scroll.onZoomBounderies=function(e,t){return s.Num.range(e,t.zoomFit,1)},i.scroll.onZoomWheel=function(e,t){return(1-t.zoomFit)/10}),r}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.layer.stylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isZooming",{get:function(){return this.m_bZooming},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMoving",{get:function(){return this.m_bMoving},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var e=this.grid;e&&e.destroy()},t.prototype.layout=function(e){return new(this.provider(e).layout)(this,e,this.layer)},t.prototype.onResize=function(t,i,n,o){this.layer.scroll&&"zoom"!==o&&!this.isMoving&&this.layer.scroll.update(),e.prototype.onResize.call(this,t,i,n,o)},t.prototype.onZoomStart=function(e){this.m_bZooming=!0},t.prototype.onZoom=function(e){var t=this.grid;t&&t.forEachDescendantRecursive((function(t){t.zoom=e}))},t.prototype.onZoomEnd=function(e){this.m_bZooming=!1},t.prototype.onMoveStart=function(){this.m_bMoving=!0,this.layer.scrollbars&&this.layer.scrollbars.show(!0),e.prototype.onMoveStart.call(this)},t.prototype.onMoveEnd=function(){this.m_bMoving=!1,this.layer.scrollbars&&this.layer.scrollbars.show(!1),this.layer.scroll&&this.layer.scroll.update(),e.prototype.onMoveEnd.call(this)},t}(r.GridRenderer);t.Renderer=a},11951:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alignment=void 0,function(e){e[e.Fill=0]="Fill",e[e.Left=1]="Left",e[e.Top=2]="Top",e[e.Center=3]="Center",e[e.Right=4]="Right",e[e.Bottom=5]="Bottom"}(t.Alignment||(t.Alignment={}))},71618:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layouts=void 0,function(e){e[e.None=0]="None",e[e.HABC=1]="HABC",e[e.HCBA=2]="HCBA",e[e.HBCA=3]="HBCA",e[e.VABC=4]="VABC",e[e.VCBA=5]="VCBA",e[e.VBCA=6]="VBCA"}(t.Layouts||(t.Layouts={}))},74810:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Types=void 0,function(e){e[e.Layer=0]="Layer",e[e.Child=1]="Child",e[e.Chain=2]="Chain",e[e.Panel=3]="Panel",e[e.Modal=4]="Modal",e[e.Floating=5]="Floating",e[e.Popup=6]="Popup"}(t.Types||(t.Types={}))},85238:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerTypes=t.LayerLayouts=t.LayerAlignment=t.component=t.LayerComponent=t.LayerAnimations=t.LayerConfiguration=t.Layer=t.Layers=void 0;var n=i(76207);Object.defineProperty(t,"Layers",{enumerable:!0,get:function(){return n.Layers}});var o=i(3943);Object.defineProperty(t,"Layer",{enumerable:!0,get:function(){return o.Layer}});var r=i(44387);Object.defineProperty(t,"LayerConfiguration",{enumerable:!0,get:function(){return r.LayerConfiguration}});var s=i(57564);Object.defineProperty(t,"LayerAnimations",{enumerable:!0,get:function(){return s.LayerAnimations}});var a=i(37313);Object.defineProperty(t,"LayerComponent",{enumerable:!0,get:function(){return a.LayerComponent}});var l=i(87554);Object.defineProperty(t,"component",{enumerable:!0,get:function(){return l.component}});var c=i(11951);Object.defineProperty(t,"LayerAlignment",{enumerable:!0,get:function(){return c.Alignment}});var u=i(71618);Object.defineProperty(t,"LayerLayouts",{enumerable:!0,get:function(){return u.Layouts}});var p=i(74810);Object.defineProperty(t,"LayerTypes",{enumerable:!0,get:function(){return p.Types}})},57564:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerAnimations=void 0;var n=i(65936);!function(e){e.Fade={layer:{ready:(0,n.fadeIn)(),show:(0,n.fadeIn)(),hide:(0,n.fadeOut)(),close:(0,n.fadeOut)()},overlay:{ready:(0,n.fadeIn)(),show:(0,n.fadeIn)(),hide:(0,n.fadeOut)(),close:(0,n.fadeOut)()}},e.Zoom={layer:{ready:(0,n.zoomIn)(),show:(0,n.zoomIn)(),hide:(0,n.zoomOut)(),close:(0,n.zoomOut)()},overlay:{ready:(0,n.fadeIn)(),show:(0,n.fadeIn)(),hide:(0,n.fadeOut)(),close:(0,n.fadeOut)()}},e.Fall={layer:{ready:(0,n.fallIn)(),show:(0,n.fallIn)(),hide:(0,n.fallOut)(),close:(0,n.fallOut)()},overlay:{ready:(0,n.fadeIn)(),show:(0,n.fadeIn)(),hide:(0,n.fadeOut)(),close:(0,n.fadeOut)()}}}(t.LayerAnimations||(t.LayerAnimations={}))},37313:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerComponent=void 0;var n=i(3943),o=function(){function e(t){void 0===t&&(t=e.configuration),this.m_pConfiguration=t}return Object.defineProperty(e,"configuration",{get:function(){return n.Layer.configuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this.m_pConfiguration},enumerable:!1,configurable:!0}),e.prototype.wait=function(e){return this.layer.wait(e)},e.prototype.done=function(){this.layer.done()},e.prototype.render=function(e,t){return this.m_pLayer=e,this.onRender(e,t)},e}();t.LayerComponent=o},87554:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var n=i(37313),o=i(84389),r=i(3943);t.component=function(e,t){return function(i,s,a){if(!(0,o.isFunction)(a.value))throw new Error("Layers: Cannot use the @component decorator on properties.");var l=i.render;i.render=function(i,o){var s=this;if(s instanceof n.LayerComponent&&i instanceof r.Layer)return i.hook(e,t||"synchronous",(function(){return a.value.call(s)})),l.call(s,i,o)}}}},44387:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerConfiguration=void 0;var n=i(11951),o=i(84389),r=i(71618),s=i(22270),a=function(){function e(){this.m_pLayers=[],this.m_bUpdating=!1,this.m_bGlobal=!1,this.m_bGlobalExplicit=!1,this.m_bVisible=!0,this.m_bShow=!0,this.m_nHorizontal=n.Alignment.Fill,this.m_nVertical=n.Alignment.Fill,this.m_pSpacing=new s.Spacing,this.m_nWidth=0,this.m_nWidthThreshold=0,this.m_nHeight=0,this.m_nHeightThreshold=0,this.m_nLayout=r.Layouts.None,this.m_bAutoActivate=!0,this.m_bFocus=!1,this.m_bFocusExplicit=!1,this.m_bCapture=!1,this.m_bOverlay=!1,this.m_bOverlayExplicit=!1,this.m_bScrolling=!1,this.m_bScrollbars=!1,this.m_sCloseChildPanels="no",this.m_bApplicationRole=!1,this.m_bTouchDisabled=!1}return Object.defineProperty(e.prototype,"isAttached",{get:function(){return 0!==this.m_pLayers.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerWidth",{get:function(){return this.m_nHorizontal===n.Alignment.Fill?0:this.m_nWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerHeight",{get:function(){return this.m_nVertical===n.Alignment.Fill?0:this.m_nHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerStyle",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"horizontalAlignment",{get:function(){return this.m_nHorizontal!==n.Alignment.Fill&&this.isHorizontalLayout?n.Alignment.Left:this.m_nHorizontal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlignment",{get:function(){return this.m_nVertical!==n.Alignment.Fill&&this.isVerticalLayout?n.Alignment.Top:this.m_nVertical},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isHorizontalLayout",{get:function(){return this.panelLayout===r.Layouts.HABC||this.panelLayout===r.Layouts.HCBA||this.panelLayout===r.Layouts.HBCA},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isVerticalLayout",{get:function(){return this.panelLayout===r.Layouts.VABC||this.panelLayout===r.Layouts.VCBA||this.panelLayout===r.Layouts.VBCA},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"panelLayout",{get:function(){return this.m_nLayout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isGlobal",{get:function(){return this.m_bGlobal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.m_bVisible},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationStyles",{get:function(){return this.m_pAnimation},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFocusEnabled",{get:function(){return this.m_bFocus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAutoActivate",{get:function(){return this.m_bAutoActivate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCapturingEnabled",{get:function(){return this.m_bCapture},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOverlayVisible",{get:function(){return this.m_bOverlay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isScrollingEnabled",{get:function(){return this.m_bScrolling},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isScrollbarsEnabled",{get:function(){return this.m_bScrollbars},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"closeChildPanelsOnTap",{get:function(){return"tap"===this.m_sCloseChildPanels},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"closeChildPanelsOnStroke",{get:function(){return"stroke"===this.m_sCloseChildPanels},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isApplicationRole",{get:function(){return this.m_bApplicationRole},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTouchDisabled",{get:function(){return this.m_bTouchDisabled},enumerable:!1,configurable:!0}),e.prototype.assertUnattached=function(){if(this.isAttached)throw new Error("UI.layers.Configuration: The configuration is already used for an active layer. Cannot change property.")},e.prototype.update=function(){this.m_bUpdating||(this.m_bUpdating=!0,(0,o.each)(this.m_pLayers,(function(e){e.configure()})),this.m_bUpdating=!1)},e.prototype.style=function(e){return this.assertUnattached(),this.m_pStyle=e,this},e.prototype.global=function(){return this.assertUnattached(),this.m_bGlobal=!0,this.m_bGlobalExplicit=!0,this},e.prototype.local=function(){return this.assertUnattached(),this.m_bGlobal=!1,this.m_bGlobalExplicit=!0,this},e.prototype.preferGlobal=function(){return this.assertUnattached(),this.m_bGlobalExplicit||(this.m_bGlobal=!0),this},e.prototype.preferLocal=function(){return this.assertUnattached(),this.m_bGlobalExplicit||(this.m_bGlobal=!1),this},e.prototype.visible=function(e){return void 0===e&&(e=!0),this.isAttached?e?this.show():this.hide():this.m_bVisible=e,this},e.prototype.show=function(){return this.m_bShow||(this.m_bShow=!0,this.update()),this},e.prototype.hide=function(){return this.m_bShow&&(this.m_bShow=!1,this.update()),this},e.prototype.alignHorizontal=function(e){switch(e){case"fill":return this.alignFillHorizontal();case"center":return this.alignCenterHorizontal();case"left":return this.alignLeft();case"right":return this.alignRight()}},e.prototype.alignFillHorizontal=function(){return this.m_nHorizontal=n.Alignment.Fill,this.m_nWidth=0,this.update(),this},e.prototype.alignCenterHorizontal=function(){return this.m_nHorizontal=n.Alignment.Center,this.update(),this},e.prototype.alignLeft=function(){return this.m_nHorizontal=n.Alignment.Left,this.update(),this},e.prototype.alignRight=function(){return this.m_nHorizontal=n.Alignment.Right,this.update(),this},e.prototype.alignVertical=function(e){switch(e){case"fill":return this.alignFillVertical();case"center":return this.alignCenterVertical();case"top":return this.alignTop();case"bottom":return this.alignBottom()}},e.prototype.alignFillVertical=function(){return this.m_nVertical=n.Alignment.Fill,this.m_nHeight=0,this.update(),this},e.prototype.alignCenterVertical=function(){return this.m_nVertical=n.Alignment.Center,this.update(),this},e.prototype.alignTop=function(){return this.m_nVertical=n.Alignment.Top,this.update(),this},e.prototype.alignBottom=function(){return this.m_nVertical=n.Alignment.Bottom,this.update(),this},e.prototype.left=function(e){return this.m_pSpacing.left=e,this.update(),this},e.prototype.top=function(e){return this.m_pSpacing.top=e,this.update(),this},e.prototype.right=function(e){return this.m_pSpacing.right=e,this.update(),this},e.prototype.bottom=function(e){return this.m_pSpacing.bottom=e,this.update(),this},e.prototype.width=function(e){return e=o.Num.max(e,0),this.m_nWidth!==e&&(this.m_nWidth=e,this.m_nHorizontal===n.Alignment.Fill&&(this.m_nHorizontal=n.Alignment.Center),this.update()),this},e.prototype.minWidth=function(e){return e=(0,o.isNumber)(e)?o.Num.max(e,0):void 0,this.m_nWidthMin!==e&&(this.m_nWidthMin=e,this.update()),this},e.prototype.maxWidth=function(e){return e=(0,o.isNumber)(e)?o.Num.max(e,0):void 0,this.m_nWidthMax!==e&&(this.m_nWidthMax=e,this.update()),this},e.prototype.height=function(e){return e=o.Num.max(e,0),this.m_nHeight!==e&&(this.m_nHeight=e,this.m_nVertical===n.Alignment.Fill&&(this.m_nVertical=n.Alignment.Center),this.update()),this},e.prototype.minHeight=function(e){return e=(0,o.isNumber)(e)?o.Num.max(e,0):void 0,this.m_nHeightMin!==e&&(this.m_nHeightMin=e,this.update()),this},e.prototype.maxHeight=function(e){return e=(0,o.isNumber)(e)?o.Num.max(e,0):void 0,this.m_nHeightMax!==e&&(this.m_nHeightMax=e,this.update()),this},e.prototype.widthThreshold=function(e,t){return this.assertUnattached(),this.m_nWidthThreshold=o.Num.max(e,0),this.m_fnWidthThreshold=t,this},e.prototype.heightThreshold=function(e,t){return this.assertUnattached(),this.m_nHeightThreshold=o.Num.max(e,0),this.m_fnHeightThreshold=t,this},e.prototype.animation=function(e){return this.assertUnattached(),this.m_pAnimation=e,this},e.prototype.layout=function(e){switch(this.assertUnattached(),e){case"none":this.m_nLayout=r.Layouts.None;break;case"habc":this.m_nLayout=r.Layouts.HABC;break;case"hcba":this.m_nLayout=r.Layouts.HCBA;break;case"hbca":this.m_nLayout=r.Layouts.HBCA;break;case"vabc":this.m_nLayout=r.Layouts.VABC;break;case"vcba":this.m_nLayout=r.Layouts.VCBA;break;case"vbca":this.m_nLayout=r.Layouts.VBCA;break;default:this.m_nLayout=e}return this},e.prototype.focus=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bFocus=e,this.m_bFocusExplicit=!0,this},e.prototype.preferFocus=function(){return this.assertUnattached(),this.m_bFocusExplicit||(this.m_bFocus=!0),this},e.prototype.autoActivate=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bAutoActivate=e,this},e.prototype.capture=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bCapture=e,this},e.prototype.overlay=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bOverlay=e,this.m_bOverlayExplicit=!0,this},e.prototype.preferOverlay=function(){return this.assertUnattached(),this.m_bOverlayExplicit||(this.m_bOverlay=!0),this},e.prototype.scrolling=function(e){return void 0===e&&(e={bounceHorizontal:"always",bounceVertical:"always"}),this.assertUnattached(),this.m_bScrolling=!0,this.m_pScrollingProperties=e,this},e.prototype.scrollingProperties=function(e){return(0,o.extend)(this.m_pScrollingProperties||{},{asset:e,native:!1,autoInitialize:!1})},e.prototype.scrollbars=function(e){return void 0===e&&(e={bounceHorizontal:"always",bounceVertical:"always"}),this.assertUnattached(),this.m_bScrollbars=!0,this.scrolling(this.m_pScrollbarsProperties=e)},e.prototype.scrollbarsProperties=function(e){return(0,o.extend)(this.m_pScrollbarsProperties||this.m_pScrollingProperties||{},{asset:e,native:!1,autoInitialize:!1})},e.prototype.autoCloseChildPanels=function(e){return this.assertUnattached(),this.m_sCloseChildPanels=e,this},e.prototype.applicationRole=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bApplicationRole=e,this},e.prototype.disableTouch=function(e){return void 0===e&&(e=!0),this.assertUnattached(),this.m_bTouchDisabled=e,this},e.prototype.rectangle=function(e,t,i){var s,a,l;void 0===i&&(i=r.Layouts.None);var c=!1;if(this.m_fnWidthThreshold){var u=e>this.m_nWidthThreshold?"above":e<this.m_nWidthThreshold?"below":"equal";u!==this.m_sWidthThreshold&&this.m_fnWidthThreshold(this,this.m_sWidthThreshold=u)}if(this.m_fnHeightThreshold){var p=t>this.m_nHeightThreshold?"above":t<this.m_nHeightThreshold?"below":"equal";p!==this.m_sHeightThreshold&&this.m_fnHeightThreshold(this,this.m_sHeightThreshold=p)}if(i!==r.Layouts.None&&(this.m_nLayout=i,c=!0),s={left:c&&this.isHorizontalLayout?0:o.Num.max(this.m_pSpacing.left,0),top:c&&this.isVerticalLayout?0:o.Num.max(this.m_pSpacing.top,0),right:c&&this.isHorizontalLayout?0:o.Num.max(this.m_pSpacing.right,0),bottom:c&&this.isVerticalLayout?0:o.Num.max(this.m_pSpacing.bottom,0),width:void 0,height:void 0,visible:this.m_bShow},a=o.Num.max(e-(s.left||0)-s.right,0),l=o.Num.max(t-(s.top||0)-s.bottom,0),this.layerWidth>0||(0,o.isNumberFinite)(this.m_nWidthMax))switch(s.width=this.layerWidth>0?o.Num.min(this.layerWidth,a):a,(0,o.isNumberFinite)(this.m_nWidthMin)&&(s.width=o.Num.max(s.width,this.m_nWidthMin)),(0,o.isNumberFinite)(this.m_nWidthMax)&&(s.width=o.Num.min(s.width,o.Num.min(this.m_nWidthMax,a))),this.horizontalAlignment){case n.Alignment.Center:s.left=(s.left||0)+o.Num.floor((a-s.width)/2);break;case n.Alignment.Right:s.left=e-s.width-s.right}if(this.layerHeight>0||(0,o.isNumberFinite)(this.m_nHeightMax))switch(s.height=this.layerHeight>0?o.Num.min(this.layerHeight,l):l,(0,o.isNumberFinite)(this.m_nHeightMin)&&(s.height=o.Num.max(s.height,this.m_nHeightMin)),(0,o.isNumberFinite)(this.m_nHeightMax)&&(s.height=o.Num.min(s.height,o.Num.min(this.m_nHeightMax,l))),this.verticalAlignment){case n.Alignment.Center:s.top=(s.top||0)+o.Num.floor((l-s.height)/2);break;case n.Alignment.Bottom:s.top=t-s.height-s.bottom}return c&&(this.isHorizontalLayout&&(s.left=void 0,s.width=s.width||a),this.isVerticalLayout&&(s.top=void 0,s.height=s.height||l)),s},e.prototype.attach=function(e){return this.detach(e),this.m_pLayers.push(e),this},e.prototype.detach=function(e){for(var t=0;t<this.m_pLayers.length;t++)this.m_pLayers[t]===e&&(this.m_pLayers.splice(t,1),t--)},e}();t.LayerConfiguration=a},3943:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layer=void 0;var n=i(70655),o=i(84389),r=i(6148),s=i(53339),a=i(9072),l=i(49613),c=i(27636),u=i(42396),p=i(23878),h=i(15661),d=i(70569),m=i(95349),f=i(17299),g=i(76207),y=i(44387),b=i(11951),v=i(71618),M=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_nWait=0,n.m_bLoading=!0,n.m_bCalculate=!1,n.m_bCalculated=!1,n.m_bActivated=!1,n.m_bHover=!1,n.m_bClosing=!1,n.m_bDestroyed=!1,n.m_nType=i.type,n.m_pConfiguration=i.configuration.attach(n),n.m_fnCreate=i.layer,n.m_bVisible=n.configuration.isVisible,n.m_pLayers=new f.Stack({parent:n,stylesheet:n.stylesheet,style:t.style&&t.style.applyToChildren&&(0,o.extendImmutable)(t.style,n.configuration.layerStyle)||n.configuration.layerStyle}),n}return(0,n.__extends)(t,e),Object.defineProperty(t,"app",{get:function(){return g.Layers.app},enumerable:!1,configurable:!0}),t.whenShown=function(e){if(this.m_fnShown){var t=this.m_fnShown;this.m_fnShown=function(i){e(i),t(i)}}else this.m_fnShown=e},t.whenClosed=function(e){if(this.m_fnClose){var t=this.m_fnClose;this.m_fnClose=function(i){e(i),t(i)}}else this.m_fnClose=e},Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layers",{get:function(){return this.m_pLayers},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.parent.stylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"chain",{get:function(){if(3===this.type)for(var e=this.parent.layer;e;){if(2===e.type)return e;e=e.parent.layer}else if(2===this.type)return this},enumerable:!1,configurable:!0}),Object.defineProperty(t,"configuration",{get:function(){return new y.LayerConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"configuration",{get:function(){return this.m_pConfiguration},set:function(e){this.reconfigure(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_nType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"await",{get:function(){return this.m_pAwait},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this.isFirst&&(!this.parent.layer||this.parent.layer.isActive)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return this.m_bLoading},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReady",{get:function(){return!this.isLoading},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDrawn",{get:function(){return this.layers&&this.layers.isDrawn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculated",{get:function(){return this.m_bCalculated&&!this.isDestroyed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){e?this.show(!1):this.hide()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.m_bActivated},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFocus",{get:function(){return!!this.m_pFocus&&this.m_pFocus.hasFocus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHovered",{get:function(){return this.m_bHover},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosing",{get:function(){return this.m_bClosing||this.isPopped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroyed",{get:function(){return this.m_bDestroyed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return a.Element.assert(this.layers.element)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return a.Element.assert(this.layers.context)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlay",{get:function(){return this.layers.overlay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewport",{get:function(){return this.layers.viewport},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.layers.left},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.layers.top},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.layers.right},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.layers.bottom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.layers.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.layers.height},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scroll",{get:function(){return this.layers.scroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollbars",{get:function(){return this.layers.scrollbars},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCalculate",{get:function(){return this.m_fnCalculate||function(){}},set:function(e){this.m_fnCalculate=e,this.m_bCalculate&&(0,o.call)(this.m_fnCalculate,this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCalculated",{get:function(){return this.m_fnCalculated||function(){}},set:function(e){this.m_fnCalculated=e,this.isCalculated&&(0,o.call)(this.m_fnCalculated,this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onReady",{get:function(){return this.m_fnReady||function(){}},set:function(e){this.m_fnReady=e,this.isLoading||this.isDestroyed||(0,o.call)(this.m_fnReady,this)},enumerable:!1,configurable:!0}),t.prototype.hover=function(e){var t=this;e!==this.m_bHover&&(this.m_bHover=e,(0,m.write)((function(){t.element.selector("hover",t.m_bHover)})),this.isLoading||this.onLayerHover())},t.prototype.panels=function(e){if(2===this.type)for(var t=this;t.layers.each((function(e){return!(3!==e.type||e.isClosing||!e.isVisible)&&(t=e,!0)}));)(0,o.call)(e,t);else this.chain&&this.chain.panels(e)},t.prototype.layout=function(){var e=this.chain;if(e){var t,i,n=0,r=0,s=!0;e.panels((function(a){switch(e.configuration.panelLayout){case v.Layouts.HABC:case v.Layouts.HCBA:n+=a.width,r=o.Num.min(e.width-n,0);break;case v.Layouts.VABC:case v.Layouts.VCBA:n+=a.height,r=o.Num.min(e.height-n,0);break;case v.Layouts.HBCA:case v.Layouts.VBCA:if(t){var l=e.configuration.panelLayout===v.Layouts.HBCA;n+=l?a.width:a.height,r=o.Num.min((l?e.width:e.height)-n,0)}}s=s&&a.isCalculated,t=t||a,i=a})),s&&(i&&i!==this&&!i.layers.hasPanel&&i.configure(),(0,m.write)((function(){return e.panels((function(s){var a=s===t,l=s===i;switch(s.element.selector("first",a),s.element.selector("last",l),e.configuration.panelLayout){case v.Layouts.HABC:s.element.left=r,r+=s.width;break;case v.Layouts.HCBA:n-=s.width,s.element.left=n;break;case v.Layouts.VABC:s.element.top=r,r+=s.height;break;case v.Layouts.VCBA:n-=s.height,s.element.top=n;break;case v.Layouts.HBCA:s.element.left=a?o.Num.min(o.Num.max(n-(s.scroll?s.scroll.shiftLeft:0),0),e.width):r,a||(r+=s.width);break;case v.Layouts.VBCA:s.element.top=a?o.Num.min(o.Num.max(n-(s.scroll?s.scroll.shiftTop:0),0),e.height):r,a||(r+=s.height)}s.isCalculated&&s.update()}))})))}3!==this.type&&this.update()},t.prototype.update=function(){var e=this;(0,m.write)((function(){if(e.isCalculated&&!e.isClosing){var t=e.layers.firstItem,i=3===e.type,n=e.index;if(!t||e.isActive&&5===t.type||t.update(),(0,o.each)([b.Alignment.Fill,b.Alignment.Left,b.Alignment.Top,b.Alignment.Center,b.Alignment.Right,b.Alignment.Bottom],(function(t){e.element.selector("horizontal-".concat(o.Str.lowercase(b.Alignment[t])),!(i&&e.configuration.isHorizontalLayout||e.configuration.horizontalAlignment!==t)),e.element.selector("vertical-".concat(o.Str.lowercase(b.Alignment[t])),!(i&&e.configuration.isVerticalLayout||e.configuration.verticalAlignment!==t))})),(i||2===e.type)&&(0,o.each)([v.Layouts.HABC,v.Layouts.HCBA,v.Layouts.HBCA,v.Layouts.VABC,v.Layouts.VCBA,v.Layouts.VBCA],(function(t){e.element.selector("layout-".concat(o.Str.lowercase(v.Layouts[t])),e.configuration.panelLayout===t)})),i){for(var r=0,s=e.parent.layer;s&&3===s.type;)r++,n=s.index+r,s=s.parent.layer;if(0===n){var l=e.chain;if(l){var c=l.configuration.panelLayout;c!==v.Layouts.HBCA&&c!==v.Layouts.VBCA||(n=100)}}}switch(e.type){case 5:e.element.zIndex=a.Style.ZINDEX_FLOATING-n;break;case 4:case 6:e.element.zIndex=a.Style.ZINDEX_MODAL-n;break;default:e.element.zIndex=a.Style.ZINDEX_LAYERS-n}e.overlay&&(e.overlay.zIndex=a.Style.ZINDEX_MODAL-n)}})),this.updateActive()},t.prototype.updateActive=function(){var e=this;this.isActive!==this.m_bActivated&&(this.m_bActivated=!this.m_bActivated,(0,m.write)((function(){e.element.selector("inactive",!e.m_bActivated),e.element.selector("active",e.m_bActivated)})),this.scrollbars&&!this.m_bActivated&&this.scrollbars.cancelHover(),this.isLoading||(this.m_bActivated?this.onLayerActivate():this.onLayerDeactivate()))},t.prototype.updateFocus=function(){this.hasFocus?(t.m_pFocus=this,this.onLayerFocus(),4!==this.type&&6!==this.type&&this.activate()):(t.m_pFocus===this&&(t.m_pFocus=void 0),this.onLayerBlur())},t.prototype.onPush=function(t){var i=this;this.layers&&(this.layers.draw((function(){var e,t,n,s;if(r.Await.for({await:function(e){return(0,o.call)(i.m_fnCreate,i,i.m_pAwait=e)||i.m_pWait},promise:function(e){i.m_pWait=void 0,i.m_pWaitConditions=void 0,i.m_pAwait=void 0,e.isAsynchronous&&i.parent.root.validate()}}),i.element.positionByTranslate3D=3===i.type,i.element.left=0,i.element.top=0,i.element.width=0,i.element.height=0,i.element.style([i.layers.style.layer?i.layers.style.layer.appearance:void 0,(e={contain:"strict",position:"absolute",boxSizing:"border-box",overflow:"hidden",visibility:"hidden",pointerEvents:"auto",transform:"translate3d(0, 0, 0)",backfaceVisibility:"hidden"},e[a.Stylesheet.selector("loading")]=i.layers.style.layer?i.layers.style.layer.loading:void 0,e[a.Stylesheet.selector("ready")]=(0,o.extendImmutable)(i.layers.style.layer?i.layers.style.layer.ready:void 0,{visibility:"inherit"}),e[a.Stylesheet.selector("active")]=i.layers.style.layer?i.layers.style.layer.active:void 0,e[a.Stylesheet.selector("inactive")]=i.layers.style.layer?i.layers.style.layer.inactive:void 0,e[a.Stylesheet.selector("hover")]=i.layers.style.layer?i.layers.style.layer.hover:void 0,e[a.Stylesheet.selector("hide")]=(0,o.extendImmutable)(i.layers.style.layer?i.layers.style.layer.hide:void 0,{visibility:"hidden"}),e[a.Stylesheet.selector("show")]=i.layers.style.layer?i.layers.style.layer.show:void 0,e[a.Stylesheet.selector("showing")]=i.layers.style.layer?i.layers.style.layer.showing:void 0,e[a.Stylesheet.selector("close")]=(0,o.extendImmutable)(i.layers.style.layer?i.layers.style.layer.close:void 0,{visibility:"hidden"}),e[a.Stylesheet.selector("chain")]=(0,o.extendImmutable)(i.layers.style.layer&&i.layers.style.layer.type?i.layers.style.layer.type.chain:void 0,{pointerEvents:"none"}),e[a.Stylesheet.selector("panel")]=(0,o.extend)((t={},t[a.Stylesheet.selectors("layout-habc","layout-hcba","layout-hbca")]={transition:"left .2s ease-out"},t[a.Stylesheet.selectors("layout-vabc","layout-vcba","layout-vbca")]={transition:"top .2s ease-out"},t[a.Stylesheet.selector("showing")]=(n={},n[a.Stylesheet.selector("last")]={transition:"none"},n),t),i.layers.style.layer&&i.layers.style.layer.type?i.layers.style.layer.type.panel:void 0),e[a.Stylesheet.selector("floating")]=i.layers.style.layer&&i.layers.style.layer.type?i.layers.style.layer.type.floating:void 0,e[a.Stylesheet.selector("modal")]=i.layers.style.layer&&i.layers.style.layer.type?i.layers.style.layer.type.modal:void 0,e[a.Stylesheet.selector("popup")]=i.layers.style.layer&&i.layers.style.layer.type?i.layers.style.layer.type.popup:void 0,e[a.Stylesheet.selector("horizontal-fill")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.horizontal?i.layers.style.layer.alignment.horizontal.fill:void 0,e[a.Stylesheet.selector("horizontal-left")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.horizontal?i.layers.style.layer.alignment.horizontal.left:void 0,e[a.Stylesheet.selector("horizontal-center")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.horizontal?i.layers.style.layer.alignment.horizontal.center:void 0,e[a.Stylesheet.selector("horizontal-right")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.horizontal?i.layers.style.layer.alignment.horizontal.right:void 0,e[a.Stylesheet.selector("vertical-fill")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.vertical?i.layers.style.layer.alignment.vertical.fill:void 0,e[a.Stylesheet.selector("vertical-top")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.vertical?i.layers.style.layer.alignment.vertical.top:void 0,e[a.Stylesheet.selector("vertical-center")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.vertical?i.layers.style.layer.alignment.vertical.center:void 0,e[a.Stylesheet.selector("vertical-bottom")]=i.layers.style.layer&&i.layers.style.layer.alignment&&i.layers.style.layer.alignment.vertical?i.layers.style.layer.alignment.vertical.bottom:void 0,e[a.Stylesheet.selector("layout-habc")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.HABC:void 0,e[a.Stylesheet.selector("layout-hcba")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.HCBA:void 0,e[a.Stylesheet.selector("layout-hbca")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.HBCA:void 0,e[a.Stylesheet.selector("layout-vabc")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.VABC:void 0,e[a.Stylesheet.selector("layout-vcba")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.VCBA:void 0,e[a.Stylesheet.selector("layout-vbca")]=i.layers.style.layer&&i.layers.style.layer.layout?i.layers.style.layer.layout.VBCA:void 0,e[a.Stylesheet.selector("invisible")]={opacity:0,pointerEvents:"none"},e)],i.stylesheet),i.configuration.animationStyles){var l=i.configuration.animationStyles;l.layer&&i.element.style(((s={})[a.Stylesheet.selector("ready")]=l.layer.ready,s[a.Stylesheet.selector("show")]=l.layer.show,s[a.Stylesheet.selector("hide")]=l.layer.hide,s[a.Stylesheet.selector("close")]=l.layer.close,s),i.stylesheet)}i.element.addSelector("loading"),i.element.addSelector("inactive"),i.element.selector("chain",2===i.type),i.element.selector("panel",3===i.type),i.element.selector("modal",4===i.type),i.element.selector("floating",5===i.type),6===i.type&&(i.element.addSelector("popup"),i.element.data("popup","yes")),i.configuration.isApplicationRole&&i.element.attribute("role","application"),i.scroll&&i.scroll.focusController?i.m_pFocus=i.scroll.focusController:i.configuration.isFocusEnabled&&(i.m_pFocus=d.Focus.on(i.element,i.element,"focus-on-stroke","no-auto-blur")),i.m_pFocus&&i.m_pFocus.hook("OnFocus","synchronous",(function(){return i.updateFocus()})),i.configuration.isAutoActivate&&4!==i.type&&6!==i.type?(p.Stroke.on(i.element,(function(){i.configuration.closeChildPanelsOnStroke&&i.closeChildPanels(),i.activate()}),!0,void 0,i.stylesheet),i.scroll&&i.scroll.hook("OnScrollActivate","framed",(function(){i.activate()}))):i.configuration.closeChildPanelsOnStroke&&p.Stroke.on(i.element,(function(){return i.closeChildPanels()}),!0,void 0,i.stylesheet),i.configuration.closeChildPanelsOnTap&&h.Tap.single(i.element,(function(){return i.closeChildPanels()})),i.scroll&&i.scroll.hovering?i.scroll.hook("OnScrollHover","synchronous",(function(e){i.hover(e.scroll.isHovered)})):u.Hover.pointer(i.element,(function(e){return i.hover(e.isHovered)})),i.configuration.isTouchDisabled&&c.Touch.mode(i.context,"disable"),i.onLayerDraw()})),this.configure()),e.prototype.onPush.call(this,t)},t.prototype.onChange=function(t){this.update(),e.prototype.onChange.call(this,t)},t.prototype.onPop=function(t){this.destroy(),e.prototype.onPop.call(this,t)},t.prototype.onLayerCalculate=function(){this.emitHook("OnCalculate",{layer:this}),(0,o.call)(this.m_fnCalculate,this)},t.prototype.onLayerCalculated=function(){this.emitHook("OnCalculated",{layer:this}),(0,o.call)(this.m_fnCalculated,this)},t.prototype.onLayerReady=function(){this.emitHook("OnReady",{layer:this}),(0,o.call)(this.m_fnReady,this)},t.prototype.onLayerResize=function(){this.emitHook("OnResize",{layer:this}),(0,o.call)(this.onResize,this)},t.prototype.onLayerDraw=function(){this.emitHook("OnDraw",{layer:this}),(0,o.call)(this.onDraw,this)},t.prototype.onLayerActivate=function(){this.emitHook("OnActivate",{layer:this}),(0,o.call)(this.onActivate,this)},t.prototype.onLayerDeactivate=function(){this.emitHook("OnDeactivate",{layer:this}),(0,o.call)(this.onDeactivate,this)},t.prototype.onLayerFocus=function(){this.emitHook("OnFocus",{layer:this}),(0,o.call)(this.onFocus,this)},t.prototype.onLayerBlur=function(){this.emitHook("OnBlur",{layer:this}),(0,o.call)(this.onBlur,this)},t.prototype.onLayerHover=function(){this.emitHook("OnHover",{layer:this}),(0,o.call)(this.onHover,this)},t.prototype.onLayerBeforeHide=function(){this.emitHook("OnBeforeHide",{layer:this}),(0,o.call)(this.onBeforeHide,this)},t.prototype.onLayerHide=function(){this.emitHook("OnHide",{layer:this}),(0,o.call)(this.onHide,this)},t.prototype.onLayerBeforeShow=function(){if(this.emitHook("OnBeforeShow",{layer:this}),(0,o.call)(this.onBeforeShow,this),3===this.type){var e=this.parent.layer,i=this.chain;e&&3===e.type&&e.onLayerBeforeShowPanel(this),i&&i.onLayerBeforeShowPanel(this)}t.m_fnShown&&t.m_fnShown(this)},t.prototype.onLayerShow=function(){if(this.emitHook("OnShow",{layer:this}),(0,o.call)(this.onShow,this),3===this.type){var e=this.parent.layer,t=this.chain;e&&3===e.type&&e.onLayerShowPanel(this),t&&t.onLayerShowPanel(this)}},t.prototype.onLayerClose=function(){if(this.emitHook("OnClose",{layer:this}),(0,o.call)(this.onClose,this),3===this.type){var e=this.parent.layer,i=this.chain;e&&3===e.type&&e.onLayerClosePanel(this),i&&i.onLayerClosePanel(this)}t.m_fnClose&&t.m_fnClose(this)},t.prototype.onLayerBeforeShowPanel=function(e){this.emitHook("OnBeforeShowPanel",{layer:this,panel:e}),(0,o.call)(this.onBeforeShowPanel,this,e)},t.prototype.onLayerShowPanel=function(e){this.emitHook("OnShowPanel",{layer:this,panel:e}),(0,o.call)(this.onShowPanel,this,e)},t.prototype.onLayerClosePanel=function(e){this.emitHook("OnClosePanel",{layer:this,panel:e}),(0,o.call)(this.onClosePanel,this,e)},t.prototype.onLayerDestroy=function(){(0,o.call)(this.onDestroy,this),this.emitHook("OnDestroy",{layer:this})},t.prototype.onLayerZoomEnd=function(){3===this.type&&this.layers.count>0&&this.scroll&&this.layout()},t.prototype.validate=function(){var e=this;this.isLoading&&this.isCalculated&&!this.m_pAwait&&(this.m_bLoading=!1,t.m_pFocus&&t.m_pFocus.m_pFocus&&t.m_pFocus.m_pFocus.blur(),this.onLayerReady(),(0,m.write)((function(){e.element.removeSelector("loading"),e.isVisible&&(e.onLayerBeforeShow(),e.element.addSelector("showing"),e.element.animateSelector("ready",(function(){return(0,m.write)((function(){e.onLayerShow(),e.element.removeSelectorSafe("showing")}))}))),e.overlay&&(e.overlay.removeSelector("loading"),e.isVisible&&e.overlay.addSelector("ready"))}))),this.updateActive()},t.prototype.configure=function(){if(this.element&&this.parent.isCalculated){var e=void 0;3===this.type&&(e=this.chain),this.layers.rectangle(e?this.configuration.rectangle((this.layers.hasPanel?this.width:0)||e.width,(this.layers.hasPanel?this.height:0)||e.height,e.configuration.panelLayout):this.configuration.rectangle(this.parent.width,this.parent.height))}},t.prototype.reconfigure=function(e){this.m_pConfiguration.detach(this),this.m_pConfiguration=e.attach(this),this.configure()},t.prototype.calculate=function(){this.m_bCalculate||(this.m_bCalculate=!0,this.onLayerCalculate())},t.prototype.calculated=function(e){this.m_bCalculated||(this.m_bCalculated=!0,this.onLayerCalculated()),this.layout(),this.isLoading&&!this.m_pAwait&&this.parent.root.validate(),e&&this.onLayerResize()},t.prototype.wait=function(e){return!!this.m_pAwait&&(this.m_pWait=this.m_pAwait,this.m_pAwait.condition=!1,this.m_nWait++,e&&!e()&&(this.m_pWaitConditions||(this.m_pWaitConditions=[])).push(e),!0)},t.prototype.done=function(){this.m_pAwait&&(this.m_nWait>0&&this.m_nWait--,0===this.m_nWait&&(this.m_pWaitConditions&&(0,o.findFirst)(this.m_pWaitConditions,(function(e){return!e()}))||(this.m_pAwait.condition=!0),this.m_pAwait.done()))},t.prototype.createLayer=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createLayer(e,i)},t.prototype.createChild=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createChild(e,i)},t.prototype.createChain=function(e){return void 0===e&&(e=t.configuration),this.layers.createChain(e)},t.prototype.createPanel=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createPanel(e,i)},t.prototype.createModal=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createModal(e,i)},t.prototype.createFloating=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createFloating(e,i)},t.prototype.createPopup=function(e,i){return void 0===i&&(i=t.configuration),this.layers.createPopup(e,i)},t.prototype.component=function(e,t,i){return this.layers.component(e,t,i)},t.prototype.activate=function(){return!this.isPopped&&!this.isActive&&(this.parent.layer&&this.parent.layer.activate(),this.index>0?this.index=0:this.update(),!0)},t.prototype.deactivate=function(){var e=this;return this.isActive&&this.parent&&this.parent.each((function(t){var i=t!==e&&t.isVisible?t:void 0;return!!i&&(i.index=0,!0)}))},t.prototype.focus=function(){return!(this.isPopped||!this.m_pFocus)&&(this.m_pFocus.focus(),!0)},t.prototype.blur=function(){return!(this.isPopped||!this.m_pFocus)&&(this.m_pFocus.blur(),!0)},t.prototype.hide=function(e){var t=this;void 0===e&&(e=!1),this.isVisible&&(this.m_bVisible=!1,this.layers.hide(),this.deactivate(),!this.isLoading&&this.isCalculated&&(this.onLayerBeforeHide(),e?this.onLayerHide():(0,m.write)((function(){t.element.animateSelector("hide",(function(){return t.onLayerHide()}),!1,l.Scrollbars.invalidate(t.element,(function(){return t.m_bVisible}),!0)?"frame":"synchronous"),t.element.removeSelector("show"),t.overlay&&(t.overlay.addSelector("hide"),t.overlay.removeSelector("show"))})),3===this.type&&this.layout()))},t.prototype.show=function(e){var t=this;void 0===e&&(e=!0),this.isVisible||(this.m_bVisible=!0,this.layers.show(),!this.isLoading&&this.isCalculated&&(this.onLayerBeforeShow(),(0,m.write)((function(){t.element.animateSelector("show",(function(){t.onLayerShow(),t.element.removeSelectorSafe("showing"),l.Scrollbars.invalidate(t.element,(function(){return t.m_bVisible}))})),t.element.addSelector("showing"),t.element.addSelector("ready"),t.element.removeSelector("hide"),t.overlay&&(t.overlay.addSelector("show"),t.overlay.addSelector("ready"),t.overlay.removeSelector("hide"))})),3===this.type&&this.layout(),(e||1===this.parent.count)&&this.activate()))},t.prototype.close=function(e){var t=this;void 0===e&&(e=!1),this.m_bClosing||(this.m_bClosing=!0,this.layers.close(),!this.isLoading&&this.isCalculated?(e||(0,m.write)((function(){t.element.animateSelector("close",(function(){return t.destroy()}),!1,l.Scrollbars.invalidate(t.element,(function(){return!1}),!0)?"frame":"synchronous"),t.overlay&&t.overlay.addSelector("close")})),3===this.type&&this.layout(),this.onLayerClose()):this.destroy())},t.prototype.closeChildPanels=function(){for(var e=this;e&&3!==e.type&&2!==e.type;)e=e.parent.layer;e&&e.layers.each((function(e){return 3===e.type&&(e.close(),!0)}))},t.prototype.destroy=function(){this.isPopped?this.isDestroyed||(this.m_bClosing||(this.m_bClosing=!0,this.onLayerClose()),this.m_bCalculated=!1,this.m_bVisible=!1,this.m_bDestroyed=!0,this.m_pWait=void 0,this.m_pWaitConditions=void 0,this.m_pConfiguration.detach(this),this.m_pAwait&&(this.m_pAwait.cancel(),this.m_pAwait=void 0),3===this.type&&this.layout(),this.onLayerDestroy(),this.layers.destroy(),e.prototype.destroy.call(this)):this.pop()},t}(s.StrictItem);t.Layer=M},76207:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layers=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(17299),a=i(56642),l=function(e){function t(t){return void 0===t&&(t={}),e.call(this,t)||this}return(0,n.__extends)(t,e),Object.defineProperty(t,"app",{get:function(){var e=this;if(!this.m_pApplication){var i=function(){e.m_pApplication&&e.m_pApplication.update()};this.m_pApplication=new t,r.EventListeners.attachListener(window,"resize",(function(){return i()}),void 0,this),r.EventListeners.attachListener(window,"orientationchange",(function(){return i()}),void 0,this),this.m_pApplication.hook("OnDestroy","synchronous",(function(){r.EventListeners.detachListener(window,"resize",e),r.EventListeners.detachListener(window,"orientationchange",e),e.m_pApplication=void 0}))}return this.m_pApplication},enumerable:!1,configurable:!0}),t.prototype.update=function(){var t=this;this.m_pUpdate=this.m_pUpdate||new o.Debounce((function(){return e.prototype.update.call(t)}),o.Num.max(a.SCROLL_RESIZE_DELAY,100)),this.m_pUpdate.invoke()},t.prototype.destroy=function(){this.m_pUpdate&&(this.m_pUpdate.cancel(),this.m_pUpdate=void 0),e.prototype.destroy.call(this)},t.stylesheet=r.Stylesheet.app,t}(s.Stack);t.Layers=l},17299:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;var n=i(70655),o=i(9072),r=i(6148),s=i(84389),a=i(22270),l=i(27636),c=i(3943),u=i(37313),p=i(76207),h=i(95349),d=i(56642),m=i(49613),f=i(53339),g=i(23878),y=i(9072),b=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,c.Layer)||this;return i.m_bInitialized=!1,i.m_bDrawn=!1,i.m_pGlobals=[],i.m_nSequence=0,i.m_sNotification="",i.m_pStylesheet=t.stylesheet||p.Layers.stylesheet,i.m_pStyle=t.style||p.Layers.style||{},t.parent instanceof c.Layer?i.m_pLayer=t.parent:(i.m_pStyle.applyToChildren=(0,s.castToBoolean)(i.m_pStyle.applyToChildren,!0),i.m_pElement=o.Element.create("div",void 0,t.parent,void 0,{position:t.parent?"absolute":"fixed",boxSizing:"border-box",overflow:"hidden",left:0,top:0,right:0,bottom:0,pointerEvents:"none"},i.stylesheet),i.calculate()),i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){for(var e=this;e.layer;)e=e.layer.parent;return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDrawn",{get:function(){return this.m_bDrawn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculated",{get:function(){return this.m_pRectangle instanceof a.Rectangle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculating",{get:function(){return!this.isCalculated||this.each((function(e){return!e.isDestroyed&&(e.await instanceof r.Await||e.layers.isCalculating)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInitializing",{get:function(){return this.scroll instanceof d.Scroll&&!this.scroll.isInitialized||this.each((function(e){return e.layers.isInitializing}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroyed",{get:function(){return!(0,s.isArray)(this.m_pGlobals)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this.firstItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.m_pContext||this.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlay",{get:function(){return this.m_pOverlay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scroll",{get:function(){return this.m_pScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scrollbars",{get:function(){return this.m_pScroll instanceof m.Scrollbars?this.m_pScroll:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewport",{get:function(){return this.m_pRectangle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.m_pRectangle?this.m_pRectangle.left:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.m_pRectangle?this.m_pRectangle.top:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){return this.m_pRectangle?this.m_pRectangle.right:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.m_pRectangle?this.m_pRectangle.bottom:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.m_pRectangle?this.m_pRectangle.roundedWidth:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.m_pRectangle?this.m_pRectangle.roundedHeight:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasPanel",{get:function(){return this.each((function(e){return 3===e.type&&!e.isClosing&&e.isVisible}))},enumerable:!1,configurable:!0}),t.prototype.calculate=function(){var e=this;this.layer&&!this.layer.parent.isCalculated||(this.m_nSequence=(0,h.read)((function(){if(e.m_nSequence=0,!e.isDestroyed&&e.element){var t=e.layer&&2!==e.layer.type?e.element.rectangle:e.element.rectangleClient;if(t.roundedWidth!==e.width||t.roundedHeight!==e.height||e.layer&&3===e.layer.type){var i=e.m_bInitialized;e.m_pRectangle=t,e.m_bInitialized=!0,e.each((function(e){return e.configure()})),e.layer&&e.layer.calculated(i),i&&(e.scroll&&e.scroll.update(!0),e.onLayersResize())}}}),this.m_nSequence),this.layer&&this.layer.calculate())},t.prototype.make=function(e,t,i,n){var o=this;if(void 0===n&&(n=!0),!this.isDestroyed){if(3===e){if(t.isGlobal)return;if(!this.layer)return;if(2!==this.layer.type&&3!==this.layer.type){for(var r=this.layer.parent.layer,s=function(){if(2===r.type||3===r.type){var s=r.layers.make(e,t,i,n);if(s)return a.layer.hook("OnClose","synchronous",(function(){return s.close()}),s),s.hook("OnDestroy","synchronous",(function(){o.layer&&o.layer.unhookContext(s)})),{value:s}}r=r.parent.layer},a=this;r;){var l=s();if("object"==typeof l)return l.value}return}}if(t.isGlobal&&this.layer){var c=this.layer.parent.make(e,t,i,!1);return n&&c&&this.m_pGlobals.push(c),c}var u=this.insertToMatrix({type:e,configuration:t,layer:i});return 2!==e&&1!==e||(u.hook("OnBeforeShow","synchronous",(function(){o.scroll&&o.scroll.disable(),o.scrollbars&&o.scrollbars.hide(!0)}),this),u.hook("OnClose","synchronous",(function(){o.scroll&&o.scroll.enable(),o.scrollbars&&o.scrollbars.hide(!1)}),this),u.hook("OnDestroy","synchronous",(function(){return u.unhookContext(o)}),this)),this.each((function(e){3===e.type&&e!==u&&e.destroy()})),u}},t.prototype.onLayersResize=function(){this.emitHook("OnResize",{layers:this}),(0,s.call)(this.onResize,this)},t.prototype.onLayersClose=function(){this.emitHook("OnClose",{layers:this}),(0,s.call)(this.onClose,this)},t.prototype.onLayersDestroy=function(){this.emitHook("OnDestroy",{layers:this}),(0,s.call)(this.onDestroy,this)},t.prototype.init=function(){this.scroll&&this.scroll.init(),this.each((function(e){return e.layers.init()}))},t.prototype.validate=function(){var e=!this.layer;this.isCalculating||(this.isInitializing?this.init():(this.layer&&this.layer.validate(),this.each((function(e){return e.layers.validate()})),e=!1)),e&&this.each((function(e){!e.configuration.isGlobal||4!==e.type&&6!==e.type||e.layers.validate()}))},t.prototype.draw=function(e){var t,i=this;if(this.layer&&!this.m_bInitialized&&!this.m_pElement){var n=this.layer.parent;if(3===this.layer.type){var r=this.layer.chain;n=r?r.layers:void 0}n&&n.element&&(4!==this.layer.type&&6!==this.layer.type||(this.m_pOverlay=n.element.create("div",(function(e){var t;if(i.layer&&i.layer.configuration.animationStyles){var n=i.layer.configuration.animationStyles;n.overlay&&e.style(((t={})[o.Stylesheet.selector("ready")]=n.overlay.ready,t[o.Stylesheet.selector("show")]=n.overlay.show,t[o.Stylesheet.selector("hide")]=n.overlay.hide,t[o.Stylesheet.selector("close")]=n.overlay.close,t),i.stylesheet)}e.selector("visible",(0,s.castToBoolean)(i.layer&&i.layer.configuration.isOverlayVisible)),e.addSelector("loading"),i.layer&&6===i.layer.type?i.layer.configuration.isCapturingEnabled?g.Stroke.on(e,(function(){i.layer&&i.layer.close()}),!1,void 0,i.stylesheet):(l.Touch.registerNotification(i.m_sNotification="layer-".concat(i.uniqueId),(function(e){if((9&e&&l.Touch.touches>0||64&e)&&!(0,s.findFirst)(l.Touch.points,(function(e){for(var t=e.target.HTMLElement;t;){if("yes"===o.Asset.data(t,"popup"))return!0;t=t.parentElement}return!1}))){if(64&e)return!1;i.layer&&i.layer.close()}return!0})),e.pointerEvents=!1):l.Touch.mode(e,"void")}),((t={position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden",visibility:"hidden",zIndex:y.Style.ZINDEX_MODAL,pointerEvents:"auto",transform:"translate3d(0, 0, 0)",backfaceVisibility:"hidden"})[o.Stylesheet.selector("visible")]=this.style.overlay?this.style.overlay.appearance:void 0,t[o.Stylesheet.selector("loading")]=this.style.overlay?this.style.overlay.loading:void 0,t[o.Stylesheet.selector("ready")]=(0,s.extendImmutable)(this.style.overlay?this.style.overlay.ready:void 0,{visibility:"inherit"}),t[o.Stylesheet.selector("hide")]=(0,s.extendImmutable)(this.style.overlay?this.style.overlay.hide:void 0,{visibility:"hidden"}),t[o.Stylesheet.selector("show")]=this.style.overlay?this.style.overlay.show:void 0,t[o.Stylesheet.selector("close")]=(0,s.extendImmutable)(this.style.overlay?this.style.overlay.close:void 0,{visibility:"hidden"}),t),this.stylesheet)),n.element.create("div",(function(t){if(i.layer){if(i.m_pElement=t,i.layer.configuration.isScrollingEnabled){var n=i.layer.configuration.scrollbarsProperties(t);n.stylesheet=n.stylesheet||i.stylesheet,n.style=n.style||i.style.scrollbars,i.m_pContext=t.create("div"),i.m_pScroll=(i.layer.configuration.isScrollbarsEnabled?m.Scrollbars:d.Scroll).on(n),i.scroll&&(i.scroll.onInit=function(){return i.root.validate()},i.scroll.onViewport=function(){return i.viewport},i.scroll.onDimensions||(i.scroll.onDimensions=function(){return(0,s.call)(i.layer?i.layer.onDimensions:void 0,i.layer)}),3===i.layer.type&&i.scroll.hook("OnZoomEnd","framed",(function(){i.layer&&i.layer.onLayerZoomEnd()})))}(0,s.call)(e),i.m_bDrawn=!0}})))}},t.prototype.rectangle=function(e){var t=this;e&&!this.isDestroyed&&(0,h.write)((function(){t.element&&(t.element.selector("invisible",!e.visible),e.visible?(t.element.width=(0,s.isNumberFinite)(e.width)?e.width:"auto",t.element.height=(0,s.isNumberFinite)(e.height)?e.height:"auto",(0,s.isNumberFinite)(e.width)?((0,s.isNumberFinite)(e.left)&&(t.element.left=e.left),t.element.right="auto"):(t.element.left=(0,s.castToNumber)(e.left),t.element.right=e.right),(0,s.isNumberFinite)(e.height)?((0,s.isNumberFinite)(e.top)&&(t.element.top=e.top),t.element.bottom="auto"):(t.element.top=(0,s.castToNumber)(e.top),t.element.bottom=e.bottom)):(t.element.width=1,t.element.height=1,t.element.left=0,t.element.top=0,t.element.right="auto",t.element.bottom="auto"),t.calculate())}),!this.element||!this.element.isInDOM)},t.prototype.update=function(){this.isInitialized&&this.calculate()},t.prototype.createLayer=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(0,t,e)},t.prototype.createChild=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(1,t,e)},t.prototype.createChain=function(e){return void 0===e&&(e=c.Layer.configuration),this.make(2,e)},t.prototype.createPanel=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(3,t,e)},t.prototype.createModal=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(4,t.preferGlobal().preferOverlay().preferFocus(),e)},t.prototype.createFloating=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(5,t,e)},t.prototype.createPopup=function(e,t){return void 0===t&&(t=c.Layer.configuration),this.make(6,t.preferGlobal().preferFocus(),e)},t.prototype.component=function(e,t,i){var n=0;switch(t){case"child":n=1;break;case"modal":n=4;break;case"floating":n=5;break;case"panel":n=3;break;case"popup":n=6}switch(e instanceof u.LayerComponent||(e=new e),i){case"global":e.configuration.global();break;case"local":e.configuration.local()}return this.make(n,e.configuration,(function(t,i){return e.render(t,i)})),e},t.prototype.hide=function(){this.each((function(e){return e.hide(!0)})),(0,s.each)(this.m_pGlobals,(function(e){return e.hide()}))},t.prototype.show=function(){this.each((function(e){return e.show()})),(0,s.each)(this.m_pGlobals,(function(e){return e.show()}))},t.prototype.close=function(){var e=this;this.each((function(t){var i=!!e.layer;if(3===t.type){var n=t.chain;n&&!n.isClosing&&(i=!1)}t.close(i)})),(0,s.each)(this.m_pGlobals,(function(e){return e.close()})),this.onLayersClose()},t.prototype.destroy=function(){(0,h.revoke)(this.m_nSequence),this.isDestroyed||(""!==this.m_sNotification&&(l.Touch.unregisterNotification(this.m_sNotification),this.m_sNotification=""),this.each((function(e){return e.destroy()})),(0,s.each)(this.m_pGlobals,(function(e){return e.destroy()})),this.onLayersDestroy(),this.m_pGlobals=[],this.m_pLayer=void 0,this.m_pRectangle=void 0,this.m_pContext=void 0,this.m_pScroll&&(this.m_pScroll.destroy(),this.m_pScroll=void 0),this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0),this.m_pOverlay&&(this.m_pOverlay.destroy(),this.m_pOverlay=void 0),e.prototype.destroy.call(this))},t}(f.StrictMatrix);t.Stack=b},68681:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refresh=t.update=t.identifier=t.column=t.ListRowStatic=t.ListRowArray=t.ListRowTyped=t.ListRow=t.ListColumn=t.ListComponent=t.List=void 0;var n=i(10980);Object.defineProperty(t,"List",{enumerable:!0,get:function(){return n.List}});var o=i(85699);Object.defineProperty(t,"ListComponent",{enumerable:!0,get:function(){return o.ListComponent}});var r=i(67058);Object.defineProperty(t,"ListColumn",{enumerable:!0,get:function(){return r.Column}});var s=i(74822);Object.defineProperty(t,"ListRow",{enumerable:!0,get:function(){return s.Row}});var a=i(1234);Object.defineProperty(t,"ListRowTyped",{enumerable:!0,get:function(){return a.RowTyped}});var l=i(11911);Object.defineProperty(t,"ListRowArray",{enumerable:!0,get:function(){return l.RowArray}});var c=i(5351);Object.defineProperty(t,"ListRowStatic",{enumerable:!0,get:function(){return c.RowStatic}});var u=i(91292);Object.defineProperty(t,"column",{enumerable:!0,get:function(){return u.column}});var p=i(23449);Object.defineProperty(t,"identifier",{enumerable:!0,get:function(){return p.identifier}});var h=i(45026);Object.defineProperty(t,"update",{enumerable:!0,get:function(){return h.update}});var d=i(55013);Object.defineProperty(t,"refresh",{enumerable:!0,get:function(){return d.refresh}})},23005:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drawTree=t.drawCell=void 0;var n=i(84389),o=i(5466);function r(e,t){var i="";if((0,n.isDefined)(t))switch(e.type){case"string":case"image":case"icon":case"button":i=(0,n.castToString)(t);break;case"number":i=o.Locales.number(t,(0,n.castToNumber)(e.precision));break;case"boolean":i=(0,n.castToBoolean)(t)?(0,n.castToString)(e.labelForTrue,"Yes"):(0,n.castToString)(e.labelForFalse,"No");break;case"date":switch((0,n.castToString)(e.format)){case"full":i=o.Locales.dateFull((0,n.castToNumber)(t));break;case"long":i=o.Locales.dateLong((0,n.castToNumber)(t));break;case"short":i=o.Locales.dateShort((0,n.castToNumber)(t));break;default:i=o.Locales.dateMedium((0,n.castToNumber)(t))}break;case"time":switch((0,n.castToString)(e.format)){case"full":i=o.Locales.timeFull((0,n.castToNumber)(t));break;case"long":i=o.Locales.timeLong((0,n.castToNumber)(t));break;case"short":i=o.Locales.timeShort((0,n.castToNumber)(t));break;default:i=o.Locales.timeMedium((0,n.castToNumber)(t))}break;case"datetime":switch((0,n.castToString)(e.format)){case"full":i=o.Locales.dateTimeFull((0,n.castToNumber)(t));break;case"long":i=o.Locales.dateTimeLong((0,n.castToNumber)(t));break;case"short":i=o.Locales.dateTimeShort((0,n.castToNumber)(t));break;default:i=o.Locales.dateTimeMedium((0,n.castToNumber)(t))}}return(0,n.isFilledString)(i)?((0,n.isFilledString)(e.prefix)&&(i=e.prefix+i),(0,n.isFilledString)(e.suffix)&&(i+=e.suffix),i):(0,n.castToString)(e.default)}t.drawCell=function(e,t,i,o,s,a){var l,c;if(a||!e.isEditing(t)){var u=e.cell(t);if(!(t.properties.decorator&&(0,n.castToBoolean)(t.properties.decorator(u,i,e,t,a))||e.list&&e.list.decorator&&(0,n.castToBoolean)(e.list.decorator(u,i,e,t,a)))){switch(t.properties.type){case"image":var p=s?i.firstChild:void 0;p?p.attribute("src",r(t.properties,u)):(i.create("img",(function(e){e.height=n.Num.max((0,n.castToNumber)(t.properties.size,o),1),e.set("margin-top","".concat(n.Num.round((o-e.height)/2),"px")),e.attribute("src",r(t.properties,u))})),i.set("padding",0));break;case"icon":case"button":var h=r(t.properties,u),d="icon"===t.properties.type?null===(l=e.list)||void 0===l?void 0:l.style.icon:null===(c=e.list)||void 0===c?void 0:c.style.button;if(!s){var m=n.Num.max((0,n.castToNumber)(t.properties.size,o),1);i.backgroundSize({width:m,height:m}),i.set("padding",0),i.set("background-position","".concat(t.properties.alignment||"left"," center"))}var f=d&&d.class&&h&&0===h.indexOf("data:image/svg+xml;base64,")&&(a&&d.glyph||e.isMoving&&d.moving||e.isSelected&&d.selected||e.isHovered&&d.hover||t.properties.colorize&&t.properties.colorize(h,e,t)||d.default)||void 0;if(f){var g=atob(h.substr(26));i.set("background-image",'url("data:image/svg+xml;base64,'.concat(btoa(g.replace("<path ",'<style type="text/css">.'.concat(null==d?void 0:d.class,"-fill{fill:").concat(f,";}.").concat(null==d?void 0:d.class,"-stroke{stroke:").concat(f,";}</style><path "))),'")'))}else i.set("background-image",(0,n.isFilledString)(h)?'url("'.concat(h,'")'):"");break;case"checkbox":case"switch":case"selector":var y=s?i.firstChild:void 0;i.addSelector(t.properties.type),y?"selector"!==t.properties.type&&y.property("checked",(0,n.castToBoolean)(u)):(i.create("input",(function(i){i.attribute("type","checkbox"),i.property("disabled",e.isDisabled),e.hook("OnDisable","synchronous",(function(){return i.property("disabled",!0)})),e.hook("OnEnable","synchronous",(function(){return i.property("disabled",!1)})),"selector"!==t.properties.type?(i.property("checked",(0,n.castToBoolean)(u)),i.on("change",(function(){return e.cell(t,i.property("checked")||!1)}))):(i.property("checked",e.isSelected),i.on("change",(function(){return e.isSelected=i.property("checked")||!1})),e.hook("OnSelect","synchronous",(function(){return i.property("checked",!0)})),e.hook("OnDeselect","synchronous",(function(){return i.property("checked",!1)})))})),i.create("span"));break;case"custom":return;default:if(t.properties.markdown){var b=t.properties.markdown(r(t.properties,u),e,t);i.markdown(b.parser,b)}else i.text=r(t.properties,u)}s||"center"!==t.properties.alignment&&"right"!==t.properties.alignment||i.set("text-align",t.properties.alignment)}}},t.drawTree=function(e,t,i,o,r,s,a){var l=a>=s;a=n.Num.max(a-s,0);var c=l&&(0,n.castToBoolean)(i&&i.expand&&i.collapse&&(r||e.isExpandable||a>0)),u=o*(a+(c?1:0));if(i){var p="";if(o>0){for(var h=e,d=e.row,m=c?o:0,f=[];d&&a>0;)f.push(0===f.length?h.isLastVisible?i.ending:i.node:h.isLastVisible?{URL:"",width:i.line.width,height:i.line.height}:i.line),h=d,d=d.row,a--;(0,n.eachReverse)(f,(function(t){if((0,n.isFilledString)(t.URL)){var i=t.URL;e.isMoving&&(0,n.isFilledString)(t.URLWhileMoving)&&(i=t.URLWhileMoving),p='url("'.concat(i,'") no-repeat ').concat(m,"px 0px/").concat(t.width,"px ").concat(t.height,"px")+(""===p?"":",")+p}m+=t.width}))}if(u>0&&c&&e.isExpandable){var g=e.isCollapsed?i.expand:i.collapse;if(g&&(0,n.isFilledString)(g.URL)){var y=g.URL;e.isMoving&&(0,n.isFilledString)(g.URLWhileMoving)&&(y=g.URLWhileMoving),p='url("'.concat(y,'") no-repeat ').concat(n.Num.max(u-g.width,0),"px")+" 0px/".concat(g.width,"px ").concat(g.height,"px")+(""===p?"":",")+p}}t.set("background",p)}return u}},67058:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Column=t.SORTING_THROTTLE=void 0;var n=i(70655),o=i(84389),r=i(99636),s=i(95349),a=i(74822),l=i(53339),c=i(15661);t.SORTING_THROTTLE=1e3/60*2;var u=function(e){function i(i,n){var r=e.call(this,i)||this;if(r.m_bInitializing=!0,r.m_bResizing=!1,r.m_bMoving=!1,r.m_bLabel=!1,r.m_sSorting="no",r.m_bSorting=!1,r.m_pSorting=new o.Throttle((function(){r.list.isMoving||r.list.isScrolling||r.columns.isMovingOrResizing||a.Row.isEditing?(r.m_bSorting=!0,r.m_pSorting.invoke()):r.resort()}),t.SORTING_THROTTLE,!0),r.m_nOffset=-1,r.m_nLeft=0,r.m_nWidth=0,r.m_nWidthFitColumn=0,r.m_nWidthCustom=0,r.m_nWidthInitial=0,r.m_bWidthAbsolute=!0,r.m_pProperties=n,r.m_bVisible=(0,o.castToBoolean)(n.visible,!0)&&("selector"!==r.properties.type||r.list.isMultipleSelect),r.m_pRule=r.list.stylesheet.rule({visibility:r.m_bVisible?"inherit":"hidden"}),(0,o.isFilledString)(n.width)){var s=n.width;"%"===s.charAt((0,o.stringLength)(s)-1)&&(r.m_bWidthAbsolute=!1)}if(("yes"===r.properties.editable||"auto"===r.properties.editable)&&"string"!==r.properties.type)throw new Error("UI.List.Column: Only columns of type 'string' are editable.");return r}return(0,n.__extends)(i,e),Object.defineProperty(i.prototype,"properties",{get:function(){return this.m_pProperties},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"list",{get:function(){return this.columns.list},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"columns",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"predecessor",{get:function(){for(var e=this.predecessorSibling;e;){if(e.isVisible)return e;e=e.predecessorSibling}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"successor",{get:function(){for(var e=this.successorSibling;e;){if(e.isVisible)return e;e=e.successorSibling}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"resizing",{get:function(){return this.m_bResizing},set:function(e){var t=this;this.m_bResizing=e,this.columns.each((function(i){i.m_pHeader&&i.m_pHeader.selectorSafe("resizing",e&&i===t)}))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sorting",{get:function(){return this.m_sSorting},set:function(e){var t=this;this.m_sSorting!==e&&(this.m_sSorting=e,"no"===e&&this.m_bSorting&&(this.m_bSorting=!1),(0,s.write)((function(){t.m_pHeader&&(t.m_pHeader.selector("sort-ascending","ascending"===t.m_sSorting),t.m_pHeader.selector("sort-descending","descending"===t.m_sSorting))}),!this.m_pHeader||!this.m_pHeader.isInDOM))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"moving",{get:function(){return this.m_bMoving},set:function(e){var t=this;this.m_bMoving=e,(0,s.write)((function(){t.m_pHeader&&(t.m_pHeader.selectorSafe("moving",e),t.m_pHeader.elevated=e),e||(t.x=t.left)}),!this.m_pHeader||!this.m_pHeader.isInDOM)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSorting",{get:function(){return this.m_bSorting},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isMoving",{get:function(){return this.moving},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isResizing",{get:function(){return this.resizing},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isMovingOrResizing",{get:function(){return this.isMoving||this.isResizing},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSortedAscending",{get:function(){return"ascending"===this.sorting},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSortedDescending",{get:function(){return"descending"===this.sorting},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSorted",{get:function(){return"no"!==this.sorting},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){var t=this;e!==this.m_bVisible&&(this.m_bVisible=e,this.columns.calculate(),(0,s.write)((function(){var i=t.predecessor;t.m_pHeader&&(t.m_pHeader.visible=e),t.m_pRule&&t.m_pRule.set("visibility",e?"inherit":"hidden"),t.reflectPosition(!0),i&&i.reflectPosition(!0)})))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"indentation",{get:function(){return o.Num.max((0,o.castToNumber)(this.properties.indentation),0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"indentAlways",{get:function(){return(0,o.castToBoolean)(this.properties.indentAlways)&&0===this.indentOffset},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"indentOffset",{get:function(){return o.Num.max((0,o.castToNumber)(this.properties.indentOffset),0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"allowIndentation",{get:function(){return this.indentation>0&&"center"!==this.properties.alignment&&"right"!==this.properties.alignment},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"allowExpander",{get:function(){return(0,o.castToBoolean)(this.properties.treeImages&&(0,o.isObject)(this.properties.treeImages.expand)&&(0,o.isObject)(this.properties.treeImages.collapse))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"x",{get:function(){return this.m_pHeader?this.m_pHeader.x:0},set:function(e){var t=this;(0,s.write)((function(){t.m_pHeader&&(t.m_pHeader.x=e)}),!this.m_pHeader||!this.m_pHeader.isInDOM)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"left",{get:function(){return this.m_nLeft},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"right",{get:function(){return this.left+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this.m_nWidth},set:function(e){this.m_bWidthAbsolute=!0,this.m_nWidthCustom=this.resize(e,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hasAbsoluteWidth",{get:function(){return this.m_bWidthAbsolute},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"class",{get:function(){return this.m_pRule?this.m_pRule.class:""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"type",{get:function(){return this.properties.type},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"property",{get:function(){return this.properties.property},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"offset",{get:function(){return this.m_nOffset},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"state",{get:function(){return{property:this.property,index:this.index,width:this.m_nWidthCustom,sorting:this.sorting}},set:function(e){this.property===e.property&&(this.index=e.index,e.width>0&&(this.width=e.width),"no"!==e.sorting&&this.sort(e.sorting))},enumerable:!1,configurable:!0}),i.prototype.applyStyles=function(e){e&&this.m_pRule&&(this.m_pRule.styles=e)},i.prototype.removeStyles=function(e){if(e&&this.m_pRule){var t=(0,o.extendImmutable)(e);(0,o.each)(t,(function(){}),{replace:!0}),this.m_pRule.styles=t}},i.prototype.resizer=function(e,t){var i,n=this;r.Drag.on({asset:e,direction:"horizontal",edgeScrolling:!1,onStart:function(){n.resizing=!0,n.applyStyles(t),i=n.width},onMove:function(e){n.width=i+e.diffX,n.columns.update(!1)},onEnd:function(){n.resizing=!1,n.removeStyles(t),i!==n.width&&(n.m_nWidthInitial=n.width,n.columns.changed()),n.columns.update(!0),n.columns.resize()}}),c.Tap.double(e,(function(){return n.fit()}))},i.prototype.mover=function(e,t){var i,n,s=this;r.Drag.on({asset:e,direction:"horizontal",onStart:function(){s.moving=!0,s.applyStyles(t),i=s.left,n=!1},onMove:function(e){s.x=o.Num.range(i+e.diffX,0,s.columns.columnsWidth-s.width),s.columns.each((function(e){if(e!==s){var t=e.left+e.width/2;(s.index>e.index&&s.x<t||s.index<e.index&&s.x+s.width>t)&&s.swap(e)&&(n=!0)}}))},onEnd:function(){s.moving=!1,s.removeStyles(t),n&&s.columns.changed()}})},i.prototype.shift=function(){for(var e=this.successorSibling;e;)e.position(),e=e.successorSibling},i.prototype.resize=function(e,t){var i=this;return(0,o.isNumberFinite)(this.properties.minWidth,1)&&(e=o.Num.max(e,this.properties.minWidth)),(0,o.isNumberFinite)(this.properties.maxWidth,1)&&(e=o.Num.min(e,this.properties.maxWidth)),(e=o.Num.max(e,o.Num.max(this.m_bLabel?this.columns.columnMinWidth(this.type,this.property):0,1)))!==this.m_nWidth&&(this.m_nWidth=e,0===this.m_nWidthInitial&&(this.m_nWidthInitial=this.m_nWidth),(0,s.write)((function(){i.m_pHeader&&(i.m_pHeader.width=i.m_nWidth)}),!this.m_pHeader||!this.m_pHeader.isInDOM),t&&this.shift(),this.isResizing||(this.reflectWidth(),this.columns.resize())),this.isVisible?this.m_nWidth:0},i.prototype.position=function(){var e=this,t=this.predecessor,i=t?t.right:0;i!==this.m_nLeft&&(this.m_nLeft=i,this.moving||(this.x=this.left),this.columns.isResizing||this.reflectPosition()),this.m_bInitializing&&(this.m_bInitializing=!1,(0,s.write)((function(){e.m_pHeader&&e.m_pHeader.removeSelector("initializing")}),!this.m_pHeader||!this.m_pHeader.isInDOM))},i.prototype.reflectPosition=function(e){var t=this;void 0===e&&(e=!1),(0,s.write)((function(){if(t.m_pRule&&t.m_pRule.set("left","".concat(t.m_nLeft,"px")),!t.columns.isCalculating){var e=!t.successor&&t.columns.columnsWidth+1>t.columns.headerWidth;t.m_pHeader&&t.m_pHeader.selector("last",e),t.m_pRule&&t.m_pRule.set("border-right",e?"none !important":"")}}),e)},i.prototype.reflectWidth=function(){var e=this;(0,s.write)((function(){e.m_pRule&&e.m_pRule.set("width","".concat(e.m_nWidth,"px")),e.reflectPosition(!0)}))},i.prototype.drawGlyph=function(e,t){var i=this;return e.create("div",(function(e){i.m_pRule&&e.addClass(i.class),e.left=i.m_nLeft-t}))},i.prototype.drawHeader=function(e,t,i){var n=this;this.m_pHeader=this.m_pHeader||e.create("div",(function(e){if(e.positionByTranslate3D=!0,e.visible=n.isVisible,e.addSelector("type-".concat(n.type)),e.addSelector("property-".concat(n.property)),e.addSelector("initializing"),"center"!==n.properties.alignment&&"right"!==n.properties.alignment||e.set("text-align",n.properties.alignment),"selector"===n.properties.type)n.list.hook("OnSelectionMode","synchronous",(function(){return n.isVisible=n.list.isMultipleSelect})),e.addSelector("selector"),e.create("input",(function(e){e.attribute("type","checkbox"),e.property("checked",n.list.isAllSelected),e.on("change",(function(){e.property("checked")?n.list.selectAll():n.list.deselectAll()})),n.list.groupedHook("OnSelectionChange","framed",(function(){return e.property("checked",n.list.isAllSelected)})),n.list.groupedHook("OnAdd","framed",(function(){return e.property("checked",n.list.isAllSelected)})),n.list.groupedHook("OnDelete","framed",(function(){return e.property("checked",n.list.isAllSelected)}))})),e.create("span"),e.create("div"),c.Tap.on(e,(function(){n.list.isAllSelected?n.list.deselectAll():n.list.selectAll()}));else{var r=(0,o.castToBoolean)(n.properties.sortable),s=(0,o.castToBoolean)(n.properties.resizable),a=(0,o.castToBoolean)(n.properties.movable);e.selector("sortable",r),e.selector("sort-ascending","ascending"===n.sorting),e.selector("sort-descending","descending"===n.sorting),e.selector("resizable",s),e.selector("movable",a),(0,o.isFilledString)(n.properties.name)?(n.m_bLabel=!0,e.text=n.properties.name):(e.addSelector("unlabeled"),n.properties.icon&&e.set("background",'url("'.concat(n.properties.icon.URL,'") no-repeat ').concat(n.properties.alignment||"left"," center")+"/".concat(n.properties.icon.width,"px ").concat(n.properties.icon.height,"px"))),e.create("div",(function(e){s&&n.resizer(e,t)})),c.Tap.on(e,(function(){n.properties.onTap?n.properties.onTap(n):r?n.sort("ascending"===n.sorting?"descending":"ascending"):n.list.scrollToTopOrBottom()})),((0,o.isFunction)(n.properties.onTap)||r)&&c.Tap.double(e,(function(){n.list.scrollToTopOrBottom()})),a&&n.mover(e,i)}}))},i.prototype.init=function(){return!this.m_pHeader||!!this.m_pHeader.isInDOM&&(this.m_nWidthFitColumn=o.Num.max(o.Num.ceil(this.m_pHeader.rectangleWidth),this.properties.icon?this.properties.icon.width:0),!0)},i.prototype.calculate=function(){var e=0;return this.hasAbsoluteWidth?(e=this.m_nWidthCustom>0?this.m_nWidthCustom:(0,o.isNumberFinite)(this.properties.width)?this.properties.width:(0,o.isFilledString)(this.properties.width)&&"auto"!==this.properties.width?(0,o.castToNumber)(this.properties.width):this.m_nWidthFitColumn,this.resize(e,!1)):0},i.prototype.calculateFromPercentage=function(e){var t,i;return this.hasAbsoluteWidth?0:(i=(0,o.castToString)(this.properties.width),t=(0,o.castToNumber)(i=i.substr(0,(0,o.stringLength)(i)-1)),this.resize(o.Num.max(o.Num.floor(e/100*o.Num.range(t,1,100)),1),!1))},i.prototype.calculateOptimalWidth=function(e){var t=this,i=(0,o.cast)(this);(0,s.write)((function(){t.list.each((function(e){var t=e.cellElement(i);t&&(t.visible=!1,t.right="auto")})),(0,s.read)((function(){var n=t.m_nWidthFitColumn;t.list.each((function(e){var t=e.cellElement(i);t&&(n=o.Num.max(n,o.Num.ceil(t.x+t.rectangleWidth+1)))})),e(n),(0,s.write)((function(){t.list.each((function(e){var t=e.cellElement(i);t&&(t.right="inherit",t.visible=!0)}))})),t.columns.update(!0)}))}))},i.prototype.inRange=function(e){if(o.Num.inRange(e.x,this.left,this.right))return this},i.prototype.expand=function(e){e>0&&this.resize(this.width+e,!1)},i.prototype.shrink=function(e){e>0&&this.resize(this.width-e,!1)},i.prototype.fit=function(){var e=this;this.calculateOptimalWidth((function(t){e.width=e.width!==t?t:e.m_nWidthInitial,e.columns.changed()}))},i.prototype.onPush=function(){this.m_nOffset=this.index},i.prototype.onChange=function(){this.m_bInitializing||this.position()},i.prototype.unsorted=function(){return!(!(0,o.castToBoolean)(this.properties.sortable)||!this.isSorted)&&((0,o.castToBoolean)(this.properties.resortOnChange,!0)?(this.m_bSorting=!0,this.m_pSorting.invoke()):this.nosort(),!0)},i.prototype.sort=function(e){var t=this;if(this.m_pSorting.cancel(),this.m_bSorting=!0,(0,o.castToBoolean)(this.properties.sortable)&&"selector"!==this.properties.type){var i=this.sorting===e,n=this.list.rows.recursiveSort(this,"descending"===e);return i||(this.columns.each((function(e){e!==t&&(e.sorting="no")})),this.sorting=e,this.columns.changed()),!n&&i||!this.list.isHookAllowed?this.m_bSorting=!1:(this.list.emitHook("OnSort",{column:this}),(0,o.call)(this.list.onSort,this),(0,o.scheduleUITimeout)((function(){t.m_bSorting=!1}),200)),n}return this.m_bSorting=!1,!1},i.prototype.resort=function(){return"no"!==this.sorting&&(this.sort(this.sorting),!0)},i.prototype.nosort=function(){return!!this.isSorted&&(this.m_pSorting.cancel(),this.sorting="no",!0)},i.prototype.refresh=function(){var e=this;this.list.each((function(t){t.redraw((0,o.cast)(e)),t.onRefresh()}))},i.prototype.destroy=function(){this.list.isDestroyed&&(this.m_pSorting.cancel(),this.m_pHeader&&(this.m_pHeader.destroy(),this.m_pHeader=void 0),this.m_pRule&&(this.m_pRule.delete(),this.m_pRule=void 0))},i}(l.StrictItem);t.Column=u},11260:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Columns=void 0;var n=i(70655),o=i(84389),r=i(67058),s=i(9072),a=i(53339),l=i(95349),c=function(e){function t(t,i,n){var s=e.call(this,r.Column)||this;return s.m_pColumns={},s.m_nHeaderWidth=0,s.m_nColumnsWidth=0,s.m_pColumnsMinWidth={},s.m_bColumnsCalculating=!1,s.m_nResizeHandle=0,s.m_nUpdateHandle=0,s.m_pList=t,s.m_fnResize=n,(0,o.each)(i,(function(e){if("selector"!==e.type||(0,o.isFilledString)(e.property)||(e.property="Selector ".concat(s.uniqueId)),!(0,o.isFilledString)(e.property))throw new Error("UI.List.Column: Invalid column property name.");if(s.m_pColumns[e.property])throw new Error("UI.List.Column: Duplicate column property name supplied.");s.m_pColumns[e.property]=s.appendToMatrix(e)})),s}return(0,n.__extends)(t,e),t.parseStyles=function(e,t){var i;return(0,o.extend)({textOverflow:"ellipsis",cursor:"default"},e.appearance,((i={position:"absolute",boxSizing:"border-box",left:0,top:0,bottom:0,overflow:"hidden",whiteSpace:"nowrap","> div":(0,o.extendImmutable)(e.splitter?e.splitter.appearance:void 0,{position:"absolute",boxSizing:"border-box",right:0,top:0,bottom:0,width:e.splitter?o.Num.max(e.splitter.width,0):"auto"})})[s.Stylesheet.selector("initializing")]={overflow:"visible",textOverflow:"inherit",visibility:"hidden"},i[s.Stylesheet.selector("last")]=(0,o.extend)({borderRight:"none !important"},e.last,{"> div":(0,o.extend)({borderRight:"none !important"},e.splitter?e.splitter.last:void 0)}),i[s.Stylesheet.selector("sortable")]=e.sortable&&e.sortable.appearance,i[s.Stylesheet.selector("sort-ascending")]=e.sortable&&e.sortable.ascending,i[s.Stylesheet.selector("sort-descending")]=e.sortable&&e.sortable.descending,i[s.Stylesheet.selector("resizable")]=(0,o.extendImmutable)(e.resizable,{"> div":(0,o.extendImmutable)(e.splitter?e.splitter.resizable:void 0,{visibility:"inherit"})}),i[s.Stylesheet.selector("movable")]=(0,o.extend)({"> div":e.splitter?e.splitter.movable:void 0},e.movable),i[s.Stylesheet.selector("resizing")]=(0,o.extend)({"> div":e.splitter?e.splitter.resizing:void 0},e.resizing?e.resizing.header:void 0),i[s.Stylesheet.selector("moving")]=(0,o.extend)({"> div":e.splitter?e.splitter.moving:void 0},e.moving?e.moving.header:void 0),i[s.Stylesheet.selector("unlabeled")]={padding:"0 !important"},i[s.Stylesheet.selector("selector")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(e.selector?o.Num.max(e.selector.width,0):0)||t,height:t},e.selector?e.selector.appearance:void 0,e.selector?e.selector.unchecked:void 0),"input[type='checkbox']:checked + span":e.selector?e.selector.checked:void 0},i))},Object.defineProperty(t.prototype,"lastVisibleColumn",{get:function(){for(var e=this.lastItem;e;){if(e.isVisible)return e;e=e.predecessorSibling}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"list",{get:function(){return this.m_pList},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){var e=[];return this.each((function(t){e.push(t.state)})),e},set:function(e){var t=this;e.sort((function(e,t){return t.index-e.index})),(0,o.each)(e,(function(e){var i=t.column(e.property);i&&(i.state=e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculating",{get:function(){return this.m_bColumnsCalculating},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsWidth",{get:function(){if(0===this.m_nColumnsWidth){var e=this.lastVisibleColumn;if(e)return this.m_nColumnsWidth=e.right}return this.m_nColumnsWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"headerWidth",{get:function(){return this.m_nHeaderWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowWidth",{get:function(){return o.Num.max(this.columnsWidth,this.headerWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSorting",{get:function(){return this.each((function(e){return e.isSorting}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isResizing",{get:function(){return this.each((function(e){return e.isResizing}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMovingOrResizing",{get:function(){return this.each((function(e){return e.isMovingOrResizing}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEditable",{get:function(){return this.each((function(e){return"yes"===e.properties.editable||"auto"===e.properties.editable}))},enumerable:!1,configurable:!0}),t.prototype.column=function(e){return this.m_pColumns[e]},t.prototype.columnFromPoint=function(e){var t;return this.each((function(i){return(t=i.inRange(e))instanceof r.Column})),t},t.prototype.columnMinWidth=function(e,t){return this.m_pColumnsMinWidth["type-".concat(e)]||this.m_pColumnsMinWidth["property-".concat(t)]||this.m_pColumnsMinWidth.default||0},t.prototype.drawHeader=function(e,i){var n,r=this;return(0,o.set)(this.m_pColumnsMinWidth,"default",o.Num.max(i.column.width||0,i.column.splitter?i.column.splitter.width:0)||0),this.m_pHeader=e.create("header",(function(e){e.style([i.appearance,{position:"absolute",boxSizing:"border-box",left:0,top:0,right:0,height:i.height,zIndex:1}],r.list.stylesheet);var a=t.parseStyles(i.column,i.height);(0,o.each)(i.column.types,(function(e,n){var l,c="type-".concat(n);(0,o.set)(r.m_pColumnsMinWidth,c,o.Num.max(e.width||0,e.splitter?e.splitter.width:0)||0),(0,o.extend)(a,((l={})[s.Stylesheet.selector(c)]=t.parseStyles(e,i.height),l))}),{keys:!0}),(0,o.each)(i.column.properties,(function(e,n){var l,c="property-".concat(n);(0,o.set)(r.m_pColumnsMinWidth,c,o.Num.max(e.width||0,e.splitter?e.splitter.width:0)||0),(0,o.extend)(a,((l={})[s.Stylesheet.selector(c)]=t.parseStyles(e,i.height),l))}),{keys:!0}),n=e.create("div",(function(e){var t,n;e.positionByTranslate3D=!0,i.column.resizing&&(t=(0,o.extendImmutable)(i.column.resizing.column),(0,o.destroy)(t,"left"),(0,o.destroy)(t,"width"),(0,o.destroy)(t,"visibility")),i.column.moving&&(n=(0,o.extendImmutable)(i.column.moving.column),(0,o.destroy)(n,"left"),(0,o.destroy)(n,"width"),(0,o.destroy)(n,"visibility")),r.each((function(i){return i.drawHeader(e,t,n)}))}),{position:"absolute",boxSizing:"border-box",left:0,top:0,right:0,bottom:0,"> div":a},r.list.stylesheet)})),n},t.prototype.init=function(){return!this.each((function(e){return!e.init()}))},t.prototype.calculate=function(e){var t,i=this,n=0,r=this.headerWidth;this.m_bColumnsCalculating=!0,this.m_nColumnsWidth=0,(0,o.isNumberFinite)(e,0)&&(r=this.m_nHeaderWidth=e),this.each((function(e){n+=e.calculate()})),r-=n,this.each((function(e){t||e.hasAbsoluteWidth||!e.isVisible||(t=e),n+=e.calculateFromPercentage(r>0?r:i.headerWidth)})),t&&t.expand(this.headerWidth-n),this.each((function(e){return e.position()})),this.m_bColumnsCalculating=!1,this.lastVisibleColumn&&this.lastVisibleColumn.reflectPosition(),this.resize(!0)},t.prototype.resize=function(e){var t=this;void 0===e&&(e=!1),this.m_nResizeHandle=(0,o.cancelFrame)(this.m_nResizeHandle),e?(this.m_nColumnsWidth=0,this.list.scroll||(0,l.write)((function(){t.m_pHeader&&t.m_pHeader.set("width","".concat(t.rowWidth,"px"))}),!this.m_pHeader||!this.m_pHeader.isInDOM),this.m_fnResize(this.columnsWidth)):this.isCalculating||(this.m_nResizeHandle=(0,o.scheduleFrame)((function(){t.resize(!0)})))},t.prototype.update=function(e){var t=this;this.m_nUpdateHandle=(0,o.cancelUITimeout)(this.m_nUpdateHandle),e?(this.m_nColumnsWidth=0,this.each((function(e){e.reflectWidth()}))):this.m_nUpdateHandle=(0,o.scheduleUITimeout)((function(){return t.update(!0)}),300)},t.prototype.changed=function(){this.list.isHookAllowed&&(this.list.emitHook("OnColumnsChange",{list:this.list}),(0,o.call)(this.list.onColumnsChange,this.list))},t.prototype.unsorted=function(){this.each((function(e){return e.unsorted()}))},t.prototype.resort=function(){this.each((function(e){return e.resort()}))},t.prototype.nosort=function(){this.each((function(e){return e.nosort()}))&&this.list.isHookAllowed&&(this.list.emitHook("OnSort",{column:void 0}),(0,o.call)(this.list.onSort,void 0))},t.prototype.destroy=function(){this.list.isDestroyed&&((0,o.cancelFrame)(this.m_nResizeHandle),(0,o.cancelUITimeout)(this.m_nUpdateHandle),this.each((function(e){return e.destroy()})),this.m_pHeader&&(this.m_pHeader.destroy(),this.m_pHeader=void 0))},t}(a.StrictMatrix);t.Columns=c},85699:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListComponent=void 0;var n=i(70655),o=i(85238),r=i(10980),s=function(e){function t(t,i){void 0===i&&(i=o.LayerComponent.configuration);var n=e.call(this,i)||this;return n.m_pProperties=t,n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"list",{get:function(){return this.m_pList},enumerable:!1,configurable:!0}),t.prototype.onRender=function(){this.m_pList=new r.List(this.m_pProperties,{parent:this.layer})},t}(o.LayerComponent);t.ListComponent=s},91292:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.column=void 0;var n=i(42907);t.column=function(e,t,i){i&&!i.set||(0,n.observable)("column",e,t,i,(function(e){return e.target.write(t,e.newValue)})),Object.defineProperty(e,"@list is-column #".concat(t),{get:function(){return!0},enumerable:!1,configurable:!1})}},23449:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identifier=void 0;var n=i(84389);t.identifier=function(e,t,i){if("Identifier"!==t){if(i&&(0,n.isFunction)(i.value))throw new Error("The decorator '@identifier' can only be used on properties, but '".concat(t,"' seems to be a method."));Object.defineProperty(e,"Identifier",{get:function(){var e=(0,n.getAny)(this,t);return(0,n.isString)(e)||(0,n.isNumberFinite)(e)?e:void 0},enumerable:!0,configurable:!0})}}},55013:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refresh=void 0;var n=i(42907);t.refresh=function(e,t,i){(0,n.observable)("refresh",e,t,i,(function(e){return e.target.refresh()}))}},45026:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var n=i(42907);t.update=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,i,o){(0,n.observable)("update",t,i,o,(function(t){var i;return(i=t.target).refresh.apply(i,e)}))}}},10980:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var n=i(70655),o=i(84389),r=i(95349),s=i(29165),a=i(22270),l=i(9072),c=i(22270),u=i(94689),p=i(56642),h=i(15661),d=i(70569),m=i(42396),f=i(97059),g=i(99636),y=i(27636),b=i(85238),v=i(49613),M=i(11260),_=i(67058),S=i(84988),I=i(74822),T="UI.List: No parent layer or element supplied.",N=function(e){function t(){for(var i,n,s,c,m,g,y,I,N=[],j=0;j<arguments.length;j++)N[j]=arguments[j];var w=e.call(this)||this;w.m_pScrollIntoView=new o.Throttle((function(){if(w.scroll&&w.m_pScrollToRow)if(w.isSorting)w.m_pScrollIntoView.invoke();else{var e=w.m_pScrollToRow.draw();e&&w.scroll.scrollToAsset(e)}}),_.SORTING_THROTTLE,!0),w.m_sState="construction",w.m_nInitialized=0,w.m_pInvalidate=new o.Debounce((function(){return w.invalidateRows()})),w.m_nBuffer=0,w.m_nEmptyStateHeight=0,w.m_nFragment=0,w.m_bMultipleSelect=!1,w.m_bMultipleSelectUsingCtrl=!1,w.m_nSelectionHandle=0,w.m_nHeaderHeight=0,w.m_nRowHeight=0,w.m_nRowSpacing=0,w.m_bRowSpacingAfterLastRow=!1,w.m_nIndentationMax=0,w.m_bCollapsed=!1,w.m_bMoving=!1,w.m_bLazy=!1,w.m_pRefresh=new o.Debounce((function(){w.isHookAllowed&&(w.emitHook("OnRefresh",{list:w}),(0,o.call)(w.onRefresh,w))})),w.m_bDestroyed=!1;var L,C=o.extendImmutable.apply(void 0,N),O=C.parent instanceof b.Layer?C.parent.stylesheet:void 0;if(w.m_pStyle=C.style||t.style||{},w.m_nHeaderHeight=w.style.header?o.Num.max(w.style.header.height,0):0,w.m_nHeaderHeight>0&&w.style.header&&w.style.header.spacing&&(w.m_nHeaderHeight+=o.Num.max(w.style.header.spacing,0)),w.m_nRowHeight=o.Num.max(w.style.row?w.style.row.height:0,1),w.m_nRowSpacing=o.Num.max((0,o.castToNumber)(w.style.row?w.style.row.spacing:0),0),w.m_bRowSpacingAfterLastRow=(0,o.castToBoolean)(w.style.row&&w.style.row.spacingAfterLastRow),w.m_nIndentationMax=o.Num.max((0,o.castToNumber)(C.indentationMaxDepth),0),w.m_bCollapsed=(0,o.castToBoolean)(C.collapsed),w.m_bMultipleSelect=(0,o.castToBoolean)(C.multipleSelect),w.m_bMultipleSelectUsingCtrl=(0,o.castToBoolean)(C.multipleSelectUsingCtrl),w.m_fnDecorator=C.decorator,w.m_pStylesheet=C.stylesheet||O||t.stylesheet,w.m_pRows=new S.Rows(w),w.m_pColumns=new M.Columns(w,C.columns||[],(function(){(0,r.write)((function(){w.m_pElementRows&&(w.m_pElementRows.set("width","".concat(w.rowWidth,"px")),w.scroll&&w.isReady&&w.scroll.update(!1))}),!w.m_pElementRows||!w.m_pElementRows.isInDOM)})),w.onInit=C.onInit,w.onReady=C.onReady,w.onAdd=C.onAdd,w.onChange=C.onChange,w.onIndex=C.onIndex,w.onDelete=C.onDelete,w.onRefresh=C.onRefresh,w.onExpand=C.onExpand,w.onCollapse=C.onCollapse,w.onTap=C.onTap,w.onDoubleTap=C.onDoubleTap,w.onEnter=C.onEnter,w.onSelect=C.onSelect,w.onDeselect=C.onDeselect,w.onSelectionChange=C.onSelectionChange,w.onSelectionMode=C.onSelectionMode,w.onMoveStart=C.onMoveStart,w.onMove=C.onMove,w.onMoveEnd=C.onMoveEnd,w.onMoved=C.onMoved,w.onSort=C.onSort,w.onResize=C.onResize,w.onFocus=C.onFocus,w.onBlur=C.onBlur,w.onColumnsChange=C.onColumnsChange,w.onLazyLoad=C.onLazyLoad,w.onEditStart=C.onEditStart,w.onEditEnd=C.onEditEnd,C.sorting&&w.sort(C.sorting,C.sortingDirection),!C.parent)throw T;return C.parent instanceof b.Layer?(w.m_pLayer=C.parent,w.m_pElement=C.parent.context,C.scrollable=w.m_pLayer.scroll?"no":"yes",C.style&&(C.style.scrollbars=C.style.scrollbars||w.m_pLayer.layers.style.scrollbars),w.m_pLayer.hook("OnCalculated","synchronous",(function(e){return w.init(e.layer.width,e.layer.height)})),w.m_pLayer.hook("OnResize","synchronous",(function(e){return w.calculate(e.layer.width,e.layer.height)})),w.m_pLayer.hook("OnDestroy","synchronous",(function(){return w.destroy()})),w.m_pLayer.wait((function(){return w.isReady}))):(w.m_pElement=C.parent,w.m_pElement.visible=!1),w.m_bLazy=(0,o.castToBoolean)(C.lazy,!0)&&"yes"===C.scrollable,w.m_pElement.onDestroy=function(e,t){t&&w.destroy()},w.m_pElement.style(w.style.appearance||{},w.stylesheet),w.m_pElement.attribute("x-ms-format-detection","none"),w.m_pElementRows=w.m_pElement.create("div",(function(e){var t=(0,o.castToBoolean)(C.selectable);h.Tap.single(e,(function(e){var i=w.m_pColumns.columnFromPoint(e.offset),n=w.rows.rowFromPoint(e.offset);if(n&&i)if(i.allowExpander&&n.isExpandable&&o.Num.inRange(e.offset.x,i.left,i.left+n.cellElement((0,o.cast)(i)).x))n.isCollapsed=!n.isCollapsed;else if(!n.isDisabled&&64&e.buttons||!n.tap((0,o.cast)(i))){if(t)if(!w.isMultipleSelect&&64&e.buttons&&w.m_bMultipleSelectUsingCtrl&&!n.isSelected&&1===w.selectionCount&&(w.isMultipleSelect=!0),32&e.buttons&&w.m_bMultipleSelectUsingCtrl&&!n.isSelected){for(var r=n.previous,s=!1;r&&!r.isSelected;)r=r.previous;if(!r)for(r=n.next,s=!0;r&&!r.isSelected;)r=r.next;if(r)for(w.isMultipleSelect=!0;r&&(r.isSelected=!0,r!==n);)r=s?r.previous:r.next;n.isSelected=!0}else n.isSelected=!n.isSelected;(!t||n.isSelected||n.isStatic)&&(w.emitHook("OnTap",{row:n,column:i}),(0,o.call)(w.onTap,n,i))}})),((0,o.castToBoolean)(C.doubleTappable)||w.m_pColumns.isEditable)&&h.Tap.double(e,(function(e){var i=w.m_pColumns.columnFromPoint(e.offset),n=w.rows.rowFromPoint(e.offset);n&&i&&!n.isDisabled&&(n.doubleTap((0,o.cast)(i))||n.isStatic||(!t||w.isMultipleSelect||n.isSelected||(w.deselectAll(),n.isSelected=!0),w.emitHook("OnDoubleTap",{row:n,column:i}),(0,o.call)(w.onDoubleTap,n,i)))})),(0,o.isFilledString)(C.movable)&&"no"!==C.movable&&w.mover(e,"strict"===C.movable,t)}),[w.style.rows,(i={position:"absolute",visibility:"hidden",boxSizing:"border-box",left:0,top:0,right:0,bottom:0,zIndex:0},i[l.Stylesheet.selector("visible")]={visibility:"inherit"},i["> div"]=(0,o.extend)({cursor:"default",transition:"transform .2s ease-out, opacity .2s ease-out"},w.style.row?w.style.row.appearance:void 0,(n={position:"absolute",boxSizing:"border-box",left:0,top:0,right:0,height:w.m_nRowHeight,zIndex:-1,"> div":(0,o.extendImmutable)(w.style.column?w.style.column.appearance:void 0,{position:"absolute",boxSizing:"border-box",height:w.m_nRowHeight+w.m_nRowSpacing,overflow:"hidden","> div":(0,o.extend)((s={textOverflow:"ellipsis",backgroundRepeat:"no-repeat",backgroundPosition:"0 0"},s[l.Stylesheet.selector("selector")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(w.style.selector?o.Num.max(w.style.selector.width,0):0)||w.m_nRowHeight,height:w.m_nRowHeight},w.style.selector?w.style.selector.appearance:void 0,w.style.selector?w.style.selector.unchecked:void 0),"input[type='checkbox']:checked + span":w.style.selector?w.style.selector.checked:void 0},s[l.Stylesheet.selector("checkbox")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(w.style.checkbox?o.Num.max(w.style.checkbox.width,0):0)||w.m_nRowHeight,height:w.m_nRowHeight},w.style.checkbox?w.style.checkbox.appearance:void 0,w.style.checkbox?w.style.checkbox.unchecked:void 0),"input[type='checkbox']:checked + span":w.style.checkbox?w.style.checkbox.checked:void 0},s[l.Stylesheet.selector("switch")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(w.style.switch?o.Num.max(w.style.switch.width,0):0)||w.m_nRowHeight,height:w.m_nRowHeight},w.style.switch?w.style.switch.appearance:void 0,w.style.switch?w.style.switch.off:void 0),"input[type='checkbox']:checked + span":w.style.switch?w.style.switch.on:void 0},s[l.Stylesheet.selector("editor")]={textOverflow:"clip",padding:0,"> input[type='text']":(0,o.extend)({padding:0,border:"none",resize:"none",cursor:"text",appearance:"none",backgroundColor:"transparent","&::selection":w.style.editor?w.style.editor.selection:void 0,"&::-moz-selection":w.style.editor?w.style.editor.selection:void 0,"&:focus":{outline:"none"},"&::-ms-clear":{display:"none"},"&:invalid":{border:"none",outline:"0"}},w.style.editor?w.style.editor.appearance:void 0,{position:"absolute",display:"block",left:0,top:0,right:0,bottom:0,width:"100%",margin:0,userSelect:"text"})},s[l.Stylesheet.selector("editor-selected")]=w.style.editor&&w.style.editor.selected?{"> input[type='text']":(0,o.extend)({"&::selection":w.style.editor.selected.selection,"&::-moz-selection":w.style.editor.selected.selection},w.style.editor.selected.appearance)}:void 0,s),w.style.cell?w.style.cell.appearance:void 0,w.cellStyles)}),"> label":(0,o.extendImmutable)(w.style.cell?w.style.cell.appearance:void 0,w.style.cell&&w.style.cell.static?w.style.cell.static.appearance:void 0,w.style.cell&&w.style.cell.static&&w.style.cell.static.label?w.style.cell.static.label.appearance:void 0,{position:"absolute",left:0,right:0,height:w.m_nRowHeight,overflow:"hidden",visibility:"hidden"})},n[l.Stylesheet.selector("odd")]=(0,o.extendImmutable)(w.style.row?w.style.row.odd:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.odd:void 0,{"> div":w.style.cell?w.style.cell.odd:void 0})}),n[l.Stylesheet.selector("even")]=(0,o.extendImmutable)(w.style.row?w.style.row.even:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.even:void 0,{"> div":w.style.cell?w.style.cell.even:void 0})}),n[l.Stylesheet.selector("hover")]=(0,o.extendImmutable)(w.style.row?w.style.row.hover:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.hover:void 0,{"> div":w.style.cell?w.style.cell.hover:void 0})}),n[l.Stylesheet.selector("selected")]=(0,o.extendImmutable)(w.style.row?w.style.row.selected:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.selected:void 0,{"> div":(0,o.extendImmutable)(w.style.checkbox&&w.style.checkbox.selected?(c={},c[l.Stylesheet.selector("checkbox")]={"> span":w.style.checkbox.selected.unchecked,"input[type='checkbox']:checked + span":w.style.checkbox.selected.checked},c):void 0,w.style.switch&&w.style.switch.selected?(m={},m[l.Stylesheet.selector("checkbox")]={"> span":w.style.switch.selected.off,"input[type='checkbox']:checked + span":w.style.switch.selected.on},m):void 0,w.style.cell?w.style.cell.selected:void 0)})}),n[l.Stylesheet.selector("disabled")]=(0,o.extendImmutable)(w.style.row?w.style.row.disabled:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.disabled:void 0,{"> div":w.style.cell?w.style.cell.disabled:void 0})}),n[l.Stylesheet.selector("moving")]=(0,o.extendImmutable)(w.style.row?w.style.row.moving:void 0,{"> div":(0,o.extendImmutable)(w.style.column?w.style.column.moving:void 0,{"> div":w.style.cell?w.style.cell.moving:void 0})}),n[l.Stylesheet.selector("static")]=(0,o.extendImmutable)(w.style.row&&w.style.row.static?w.style.row.static.appearance:void 0,(g={"> div":(0,o.extendImmutable)(w.style.column&&w.style.column.static?w.style.column.static.appearance:void 0,{"> div":w.style.cell&&w.style.cell.static?w.style.cell.static.appearance:void 0})},g[l.Stylesheet.selector("moving")]=(0,o.extendImmutable)(w.style.row&&w.style.row.static?w.style.row.static.moving:void 0,{"> div":(0,o.extendImmutable)(w.style.column&&w.style.column.static?w.style.column.static.moving:void 0,{"> div":w.style.cell&&w.style.cell.static?w.style.cell.static.moving:void 0}),"> label":(0,o.extendImmutable)(w.style.cell&&w.style.cell.static?w.style.cell.static.moving:void 0,w.style.cell&&w.style.cell.static&&w.style.cell.static.label?w.style.cell.static.label.moving:void 0)}),g)),n[l.Stylesheet.selector("label")]={"> label":{visibility:"inherit"},"> div":{visibility:"hidden"}},n[l.Stylesheet.selector("hidden")]=(0,o.extend)({opacity:0,transition:"opacity .2s ease-out, visibility 0s ease 0.2s"},w.style.row?w.style.row.hidden:void 0,{visibility:"hidden"}),n)),i[l.Stylesheet.selector("lagging")]={"> div":(0,o.extendImmutable)(w.style.row?w.style.row.lagging:void 0,(y={"> div":(0,o.extendImmutable)(w.style.column?w.style.column.lagging:void 0,{"> div":w.style.cell?w.style.cell.lagging:void 0}),"> label":(0,o.extendImmutable)(w.style.cell?w.style.cell.lagging:void 0,w.style.cell&&w.style.cell.static?w.style.cell.static.lagging:void 0,w.style.cell&&w.style.cell.static&&w.style.cell.static.label?w.style.cell.static.label.lagging:void 0)},y[l.Stylesheet.selector("static")]=(0,o.extendImmutable)(w.style.row&&w.style.row.static?w.style.row.static.lagging:void 0,{"> div":(0,o.extendImmutable)(w.style.column&&w.style.column.static?w.style.column.static.lagging:void 0,{"> div":w.style.cell&&w.style.cell.static?w.style.cell&&w.style.cell.static.lagging:void 0})}),y))},i)],w.stylesheet),w.m_nHeaderHeight>0&&w.style.header&&(L=w.m_pColumns.drawHeader(w.m_pElement,w.style.header)),w.style.emptyState&&((0,o.isObject)(C.emptyStateMessage)&&C.emptyStateMessage.message||(0,o.isFilledString)(C.emptyStateMessage))&&("yes"!==C.scrollable&&(w.m_nEmptyStateHeight=(0,o.isObject)(C.emptyStateMessage)&&o.Num.max(C.emptyStateMessage.height||0,0)||o.Num.max(w.style.emptyState.height||0,0)||w.rowHeight),w.m_pElementEmptyState=w.m_pElement.create("div",(function(e){(0,o.isObject)(C.emptyStateMessage)?C.emptyStateMessage.markdown?e.markdown(new u.MarkdownParser(C.emptyStateMessage.message),{target:"blank"}):e.text=C.emptyStateMessage.message:e.text=C.emptyStateMessage}),[w.style.emptyState.appearance,(I={position:"absolute",visibility:"hidden",boxSizing:"border-box",overflow:"hidden",left:0,top:w.m_nHeaderHeight,right:0,zIndex:0,opacity:0},I[l.Stylesheet.selector("visible")]={visibility:"inherit",opacity:1,transform:"opacity .1s"},I),w.m_nEmptyStateHeight>0?{height:w.m_nEmptyStateHeight}:{bottom:0}],w.stylesheet)),"horizontal"===C.scrollable||"yes"===C.scrollable?w.m_pScroll=v.Scrollbars.on({stylesheet:w.stylesheet,asset:w.m_pElement,direction:"yes"===C.scrollable?"bidirectional":"horizontal",bounceHorizontal:"yes",bounceVertical:"yes"===C.scrollable?"always":"no",style:w.style.scrollbars,spacing:new a.Spacing(0,w.m_nHeaderHeight,0,0),autoInitialize:!1,hovering:!0,blink:!0,onInit:function(){return w.ready()},onViewport:function(){return w.layer?w.layer.viewport:void 0},onDimensions:function(){return w.dimensions},onHover:function(e){return w.hover(e)},onStart:function(){w.rowHovered&&w.rowHovered.onHover(!1,!0),w.focus()},onScroll:function(e){L&&(L.x=-e),w.invalidate()},onChange:function(e){w.m_bLazy&&!e.canScrollDown&&(w.m_pLazy=w.m_pLazy||new o.Debounce((function(){w.emitHook("OnLazyLoad",{list:w}),(0,o.call)(w.onLazyLoad,w)}),p.SCROLL_RESIZE_DELAY),w.m_pLazy.invoke())},onEnd:function(){w.rowHovered&&w.rowHovered.onHover(!0,!0)}}):w.m_pElementRows.style({top:w.m_nHeaderHeight},w.stylesheet),w.m_pFocus=(w.scroll?w.scroll.focusController:void 0)||d.Focus.on(w.m_pElement,w.m_pElement,C.autoFocus?"focus-on-stroke":"no-auto-focus","no-auto-blur"),w.m_pFocus.hook("OnFocus","synchronous",(function(){return w.focused()})),f.Keyboard.local(w.m_pElement,(function(e){return w.key(e)}),"keydown"),w}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cellStyles",{get:function(){return{position:"absolute",left:0,top:0,right:0,height:this.m_nRowHeight,overflow:"hidden",whiteSpace:"nowrap","> img":{border:"none",display:"inline-block","&[src='']":{display:"none"}}}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"glyphStyles",{get:function(){var e,t;return this.stylesheet.style([this.style.row?this.style.row.appearance:void 0,this.style.row?this.style.row.selected:void 0,this.style.row&&this.style.row.glyph?this.style.row.glyph.appearance:void 0,(e={position:"absolute",boxSizing:"border-box",overflow:"hidden",left:0,top:0,height:this.m_nRowHeight,"> div":(0,o.extendImmutable)(this.style.column?this.style.column.appearance:void 0,this.style.column&&this.style.column.glyph?this.style.column.glyph.appearance:void 0,{position:"absolute",boxSizing:"border-box",height:this.m_nRowHeight,overflow:"hidden","> div":(0,o.extendImmutable)((t={textOverflow:"ellipsis",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",cursor:"default"},t[l.Stylesheet.selector("selector")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(this.style.selector?o.Num.max(this.style.selector.width,0):0)||this.m_nRowHeight,height:this.m_nRowHeight},this.style.selector?this.style.selector.appearance:void 0,this.style.selector?this.style.selector.unchecked:void 0),"input[type='checkbox']:checked + span":this.style.selector?this.style.selector.checked:void 0},t[l.Stylesheet.selector("checkbox")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(this.style.checkbox?o.Num.max(this.style.checkbox.width,0):0)||this.m_nRowHeight,height:this.m_nRowHeight},this.style.checkbox?this.style.checkbox.appearance:void 0,this.style.checkbox?this.style.checkbox.unchecked:void 0,this.style.checkbox&&this.style.checkbox.selected?this.style.checkbox.selected.unchecked:void 0),"input[type='checkbox']:checked + span":(0,o.extendImmutable)(this.style.checkbox?this.style.checkbox.checked:void 0,this.style.checkbox&&this.style.checkbox.selected?this.style.checkbox.selected.checked:void 0)},t[l.Stylesheet.selector("switch")]={textOverflow:"clip",padding:0,"> input[type='checkbox']":{opacity:0,margin:0,padding:0,width:0,height:0,display:"inline",float:"left",appearance:"none"},"> span":(0,o.extend)({display:"inline-block",width:(this.style.switch?o.Num.max(this.style.switch.width,0):0)||this.m_nRowHeight,height:this.m_nRowHeight},this.style.switch?this.style.switch.appearance:void 0,this.style.switch?this.style.switch.off:void 0,this.style.switch&&this.style.switch.selected?this.style.switch.selected.off:void 0),"input[type='checkbox']:checked + span":(0,o.extendImmutable)(this.style.switch?this.style.switch.on:void 0,this.style.switch&&this.style.switch.selected?this.style.switch.selected.on:void 0)},t),this.style.cell?this.style.cell.appearance:void 0,this.style.cell?this.style.cell.selected:void 0,this.style.cell&&this.style.cell.glyph?this.style.cell.glyph.appearance:void 0,this.cellStyles)}),"> label":(0,o.extendImmutable)(this.style.cell?this.style.cell.appearance:void 0,this.style.cell&&this.style.cell.static?this.style.cell.static.appearance:void 0,this.style.cell&&this.style.cell.static&&this.style.cell.static.label?this.style.cell.static.label.appearance:void 0,this.style.cell&&this.style.cell.glyph&&this.style.cell.glyph.static?this.style.cell.glyph.static.label:void 0,{position:"absolute",left:0,right:0,height:this.m_nRowHeight,overflow:"hidden",visibility:"hidden"})},e[l.Stylesheet.selector("static")]=(0,o.extendImmutable)(this.style.row&&this.style.row.static?this.style.row.static.appearance:void 0,this.style.row&&this.style.row.glyph?this.style.row.glyph.static:void 0,{"> div":(0,o.extendImmutable)(this.style.column&&this.style.column.static?this.style.column.static.appearance:void 0,this.style.column&&this.style.column.glyph?this.style.column.glyph.static:void 0,{"> div":(0,o.extendImmutable)(this.style.cell&&this.style.cell.static?this.style.cell.static.appearance:void 0,this.style.cell&&this.style.cell.glyph&&this.style.cell.glyph.static?this.style.cell.glyph.static.appearance:void 0)})}),e[l.Stylesheet.selector("label")]={"> label":{visibility:"inherit"},"> div":{visibility:"hidden"}},e[l.Stylesheet.selector("following")]=(0,o.extendImmutable)(this.style.row&&this.style.row.glyph?this.style.row.glyph.following:void 0,{"> div":(0,o.extendImmutable)(this.style.column&&this.style.column.glyph?this.style.column.glyph.following:void 0,{"> div":this.style.cell&&this.style.cell.glyph?this.style.cell.glyph.following:void 0})}),e)])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scroll",{get:function(){return this.m_pScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){var e=[],t=[],i=[];return this.each((function(n){var o=n.identifier;o&&(n.isSelected&&i.push(o),n.isCollapsedChanged&&(n.isCollapsed?e.push(o):t.push(o)))})),{columns:this.columnsState,selected:i,collapsed:e,expanded:t,scroll:{x:this.scroll?this.scroll.scrollLeft:0,y:this.scroll?this.scroll.scrollTop:0}}},set:function(e){var t=this;this.columnsState=e.columns,this.selectionOfIdentifiers=e.selected,(0,o.each)(e.collapsed,(function(e){var i=t.rowWithIdentifier(e);i&&(i.isCollapsed=!0)})),(0,o.each)(e.expanded,(function(e){var i=t.rowWithIdentifier(e);i&&(i.isCollapsed=!1)})),this.scroll&&(e.scroll.x>0||e.scroll.y>0)&&this.scroll.scrollTo(e.scroll.x,e.scroll.y)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){var e=this.rowsHeight;return!(this.m_bRowSpacingAfterLastRow&&e>0)||this.scroll&&this.scroll.vertical||(e+=this.rowSpacing),new c.Dimensions(this.m_pColumns.columnsWidth,(e||this.m_nEmptyStateHeight)+(this.scroll&&this.scroll.vertical?0:this.m_nHeaderHeight))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.m_pRows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowsElement",{get:function(){return this.m_pFragment||this.m_pElementRows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowsHeight",{get:function(){var e=this.m_pRows.countVisible;return e>0?(this.rowHeight+this.rowSpacing)*e-this.rowSpacing:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowWidth",{get:function(){return this.m_pColumns.rowWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.m_nRowHeight},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowSpacing",{get:function(){return this.m_nRowSpacing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHovered",{get:function(){return this.m_pRowHovered},set:function(e){this.m_pRowHovered=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsCount",{get:function(){return this.m_pColumns.count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsState",{get:function(){return this.m_pColumns.state},set:function(e){this.m_pColumns.state=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"decorator",{get:function(){return this.m_fnDecorator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this.m_pRows.countRecursive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"all",{get:function(){return this.m_pRows.all},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this.m_pRows.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selection",{get:function(){var e=[];return this.each((function(t){t.isSelected&&e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionCount",{get:function(){return(0,o.arraySize)(this.selection)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedRow",{get:function(){var e=this.selection;if(1===(0,o.arraySize)(e))return this.selection[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionOfIdentifiers",{get:function(){var e=[];return this.each((function(t){if(t.isSelected){var i=t.identifier;i&&e.push(i)}})),e},set:function(e){var t=this,i=0;this.deselectAll(),(0,o.each)(e,(function(e){var n=t.rowWithIdentifier(e);n&&(1===i&&(t.isMultipleSelect=!0),n.isSelected=!0,i++)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMultipleSelect",{get:function(){return this.m_bMultipleSelect},set:function(e){e!==this.m_bMultipleSelect&&(this.m_bMultipleSelect=e,!this.m_bMultipleSelect&&this.selectionCount>1&&this.deselectAll(),this.isHookAllowed&&(this.emitHook("OnSelectionMode",{list:this}),(0,o.call)(this.onSelectionMode,this)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAllSelected",{get:function(){return this.m_pRows.count>0&&!this.each((function(e){return!e.isStatic&&!e.isDisabled&&!e.isSelected}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxIndentionDepth",{get:function(){return this.m_nIndentationMax},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isConstructing",{get:function(){return"construction"===this.m_sState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculated",{get:function(){return"calculated"===this.m_sState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isReady",{get:function(){return"ready"===this.m_sState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return this.m_bCollapsed&&!this.isMoving},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasFocus",{get:function(){return!!this.m_pFocus&&this.m_pFocus.hasFocus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isScrolling",{get:function(){return this.scroll instanceof p.Scroll&&this.scroll.isScrolling},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isColumnMovingOrResizing",{get:function(){return this.m_pColumns.isMovingOrResizing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSorting",{get:function(){return this.m_pColumns.isSorting},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMoving",{get:function(){return this.m_bMoving},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFiltered",{get:function(){return this.each((function(e){return e.isExcluded}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroyed",{get:function(){return this.m_bDestroyed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHookAllowed",{get:function(){return this.isReady&&!this.isDestroyed},enumerable:!1,configurable:!0}),t.prototype.calculate=function(e,t){e=o.Num.max(e,0),this.m_pColumns.calculate(o.Num.floor(e)),"calculating"===this.m_sState?(this.resort(),this.m_sState="calculated",this.dimensionsChanged(),this.invalidateRows(t),this.scroll?this.scroll.init():this.ready()):(this.invalidate(),this.scroll&&this.scroll.update(!0))},t.prototype.ready=function(){this.isCalculated&&(this.m_sState="ready",this.layer?this.layer.done():this.element&&(this.element.visible=!0),this.isHookAllowed&&(this.emitHook("OnReady",{list:this}),(0,o.call)(this.onReady,this)))},t.prototype.key=function(e){if(!this.hasFocus||y.Touch.isInput)return!1;if(this.m_bMultipleSelectUsingCtrl&&"a"===e.value&&64&e.modifiers&&this.count>0)return this.selectAll(),!0;if(e.hasModifiers)return!1;switch(e.key){case"ArrowUp":case"ArrowDown":if(this.selectedRow&&!this.isMultipleSelect)for(var t="ArrowUp"===e.key,i=t?this.selectedRow.previous:this.selectedRow.next;i;){if(!i.isHidden&&(i.isSelected=!0,i.isSelected))return i.scrollIntoView(),!0;i=t?i.previous:i.next}break;case"Escape":return this.deselectAll(),!0;case"ArrowRight":case"+":if(this.selectedRow&&this.selectedRow.isExpandable)return this.selectedRow.expand(),!0;break;case"ArrowLeft":case"-":if(this.selectedRow&&this.selectedRow.isExpandable)return this.selectedRow.collapse(),!0;break;case"Enter":return this.selectedRow&&!this.selectedRow.enter()&&(this.emitHook("OnEnter",{row:this.selectedRow}),(0,o.call)(this.onEnter,this.selectedRow)),!0}return!1},t.prototype.hover=function(e){this.element&&this.element.selectorSafe("hover",e)},t.prototype.focused=function(){this.hasFocus?this.emitHook("OnFocus",{list:this}):this.emitHook("OnBlur",{list:this}),(0,o.call)(this.hasFocus?this.onFocus:this.onBlur,this)},t.prototype.mover=function(e,t,i){var n,r,s,a,l,c,u,p=this,h=this.glyphStyles;g.Drag.on({asset:e,onInit:function(e){return(n=p.rows.rowFromPoint(e.offset))instanceof I.Row&&n.isMovable},onStart:function(){return!(!n||!(0,o.castToBoolean)((0,o.call)(p.onMoveStart,n),!0))&&(r=0,p.m_pColumns.each((function(e){return(r=e.indentation)>0})),m.Hover.stop(),n.glyphCreate(h,p.rowWidth,!t&&r>0,!1),e.addSelectorSafe("lagging"),s=n.index,a=n.top,l=n.height,c=n.depth,u=!0,p.m_bMoving=!0,i&&(p.deselectAll(),n.isSelected=!0),p.emitHook("OnMoveStart",{row:n}),n.emitHook("OnMoveStart",{row:n}),!0)},onMove:function(e){var i,s,h=0,d=!t&&n?n.position:0,m=!1,f=function(r){if(n&&r!==n&&!r.isHidden&&(t||!r.isChildOf(n))){var c=void 0;if(t?(c=r.mean,h=r.index,d=n.index):c=r.top+p.rowHeight/2,(d>h&&a+e.diffY<c||d<h&&a+e.diffY+l>c)&&(0,o.castToBoolean)((0,o.call)(p.onMove,n,r),!0)){if(i=r,s=!t&&d<h&&r.countVisible>0?"firstchild":d>h?"above":"below",d>h||r.isLastOfMatrix)return n.move(i,s)}else if(i&&d<h)return n.move(i,s)}return h++,!1};if(n&&(n.glyphMove(e.moveX,e.moveY),m=t&&n&&n.parent?n.parent.each(f):p.each(f),!t&&r>0)){var g=n.depth,y=void 0;y=e.diffX<0?o.Num.ceil(e.diffX/r):o.Num.floor(e.diffX/r),(y=o.Num.max(c+y,0))!==g&&((y=o.Num.range(y,g-1,g+1))>g&&n.isPredecessorVisibleAndExpanded?(n.increase(),m=!0):y<g&&n.isLastVisible&&(n.decrease(),m=!0))}m&&u&&(p.m_pColumns.nosort(),u=!1)},onEnd:function(){n&&p.m_bMoving&&(n.glyphDestroy(),p.emitHook("OnMoveEnd",{row:n,from:s,to:n.index}),n.emitHook("OnMoveEnd",{row:n,from:s,to:n.index}),(0,o.call)(p.onMoveEnd,n),n.index!==s&&(p.emitHook("OnMove",{row:n,from:s,to:n.index}),n.emitHook("OnMove",{row:n,from:s,to:n.index}),(0,o.call)(p.onMoved,n,s,n.index))),p.m_bMoving=!1,e.removeSelectorSafe("lagging"),n=void 0}})},t.prototype.createFragment=function(){return!(!this.isReady&&!this.isCalculated||(this.m_pFragment=this.m_pFragment||new l.Fragment,this.m_nFragment++,1!==this.m_nFragment))},t.prototype.reflectFragment=function(){return this.m_nFragment>0&&(this.m_nFragment--,0===this.m_nFragment)&&(this.m_pFragment&&this.m_pFragment.reflect(this.m_pElementRows),this.m_pFragment=void 0,!0)},t.prototype.invalidateRows=function(e){if(this.isReady||this.isCalculated){if(this.createFragment(),this.m_bLazy){var t=0,i=0;e?i=e:this.scroll&&(i=(t=this.scroll.scrollTop)+this.scroll.viewport.height);var n=(i-t)/2;this.rows.invalidate(t-n,i+n,n)}else this.rows.recursiveEach((function(e){e.draw()}),!1);this.reflectFragment()}},t.prototype.invalidateRow=function(e){(this.isReady||this.isCalculated)&&(this.m_bLazy?this.invalidate():e.draw())},t.prototype.invalidate=function(){this.m_bLazy&&this.isReady&&this.m_pInvalidate.invoke()},t.prototype.dimensionsChanged=function(){var e=this;0===this.m_nFragment&&((0,r.write)((function(){e.scroll&&e.scroll.vertical||!e.element||(e.element.height=e.dimensions.height),e.m_pElementRows&&(e.m_pElementRows.height=e.rowsHeight+e.rowSpacing,e.m_pElementRows.selector("visible",e.rowsHeight>0),e.scroll&&e.scroll.vertical&&("no"!==e.scroll.isBounceVertical&&(e.scroll.isBounceVertical=0===e.rowsHeight?"yes":"always"),e.isReady&&e.scroll.update(!0))),e.m_pElementEmptyState&&e.m_pElementEmptyState.selector("visible",0===e.rowsHeight)})),this.isHookAllowed&&(this.emitHook("OnResize",{list:this}),(0,o.call)(this.onResize,this)))},t.prototype.selectionChanged=function(e,t){var i=this;this.isHookAllowed&&(this.m_nSelectionHandle=(0,o.scheduleAndCancelFrame)((function(){i.emitHook("OnSelectionChange",{list:i}),(0,o.call)(i.onSelectionChange,i)}),this.m_nSelectionHandle)),t&&!this.isMultipleSelect&&this.each((function(t){t!==e&&(t.isSelected=!1)})),this.isHookAllowed&&(t?this.emitHook("OnSelect",{row:e}):this.emitHook("OnDeselect",{row:e}),(0,o.call)(t?this.onSelect:this.onDeselect,e))},t.prototype.init=function(e,t){var i=this;"construction"===this.m_sState&&(this.emitHook("OnInit",{list:this}),(0,o.call)(this.onInit,this),this.m_sState="initializing"),"initializing"===this.m_sState&&(this.m_nInitialized=0,this.element&&this.m_pColumns.init()?(this.m_sState="calculating",this.calculate(e||this.element.rectangleWidth,t||this.element.rectangleHeight)):this.m_nInitialized=(0,r.read)((function(){i.init(e,t)}),this.m_nInitialized))},t.prototype.resize=function(e,t){var i=this;this.isReady&&(e&&t?this.calculate(e,t):(0,r.read)((function(){if(i.element){var n=i.element.rectangle;i.calculate(e||n.width,t||n.height)}})))},t.prototype.column=function(e){return this.m_pColumns.column(e)},t.prototype.eachColumn=function(e){this.m_pColumns.each((function(t){return e(t)}))},t.prototype.rowAtIndex=function(e){var t;if(!(e<0))return this.each((function(i){return 0===e&&(t=i),e--,t instanceof I.Row})),t},t.prototype.rowWithIdentifier=function(e){var t;return this.each((function(i){return(t=i.identifier===e?i:void 0)instanceof I.Row})),t},t.prototype.add=function(e){return this.rows.add(e)},t.prototype.addN=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=0;return this.buffer(),n=(e=this.rows).addN.apply(e,t),this.flush(),n},t.prototype.insert=function(e){return this.rows.insert(e)},t.prototype.insertN=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=0;return this.buffer(),n=(e=this.rows).insertN.apply(e,t),this.flush(),n},t.prototype.each=function(e){return this.rows.recursiveEach(e,!1)},t.prototype.eachReverse=function(e){return this.rows.recursiveEach(e,!0)},t.prototype.buffer=function(){this.createFragment()&&(this.m_nBuffer=this.rowsHeight)},t.prototype.flush=function(){this.reflectFragment()&&this.m_nBuffer!==this.rowsHeight&&this.dimensionsChanged()},t.prototype.clear=function(){this.rows.clear()},t.prototype.sort=function(e,t){void 0===t&&(t="ascending");var i=this.column(e);i&&i.sort(t)},t.prototype.nosort=function(){this.m_pColumns.nosort()},t.prototype.resort=function(){this.m_pColumns.resort()},t.prototype.unsorted=function(){this.isReady&&this.m_pColumns.unsorted()},t.prototype.selectAll=function(){this.isMultipleSelect=!0,this.each((function(e){e.isSelected=!0}))},t.prototype.deselectAll=function(){this.each((function(e){e.isSelected=!1}))},t.prototype.selectMatching=function(e,t){void 0===t&&(t=!0);var i=0;return this.isMultipleSelect=t,this.each((function(t){t.isSelected=e(t),t.isSelected&&i++})),i},t.prototype.expandAll=function(){this.each((function(e){e.count>0&&e.expand()}))},t.prototype.collapseAll=function(){this.each((function(e){e.count>0&&e.collapse()}))},t.prototype.filter=function(e){var t=this.rows.recursiveFilter(e);return this.invalidate(),t},t.prototype.unfilter=function(){this.each((function(e){e.isExcluded=!1}))},t.prototype.focus=function(){this.m_pFocus&&this.m_pFocus.focus()},t.prototype.blur=function(){this.m_pFocus&&this.m_pFocus.blur()},t.prototype.scrollToTop=function(){this.scroll&&this.scroll.scrollToTop()},t.prototype.scrollToBottom=function(){this.scroll&&this.scroll.scrollToBottom()},t.prototype.scrollToTopOrBottom=function(){this.scroll&&this.scroll.scrollToTopOrBottom()},t.prototype.scrollIntoView=function(e){this.scroll&&(this.m_pScrollToRow=e,this.m_pScrollIntoView.invoke())},t.prototype.refresh=function(){this.each((function(e){return e.refresh()}))},t.prototype.refreshed=function(){this.isHookAllowed&&this.m_pRefresh.invoke()},t.prototype.destroy=function(){this.isDestroyed||(this.m_bDestroyed=!0,this.m_pRefresh.cancel(),this.m_pLazy&&this.m_pLazy.cancel(),(0,r.revoke)(this.m_nInitialized),this.m_nSelectionHandle=(0,o.cancelFrame)(this.m_nSelectionHandle),this.m_pInvalidate.cancel(),this.m_pRows.destroy(),this.m_pColumns.destroy(),this.m_pScroll&&(this.m_pScroll.destroy(),this.m_pScroll=void 0),this.m_pElementRows&&(this.m_pElementRows.destroy(),this.m_pElementRows=void 0),this.m_pFragment=void 0,this.m_pElement=void 0,this.m_pLayer=void 0)},t.stylesheet=l.Stylesheet.app,t}(s.Hooks);t.List=N},74822:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var n=i(70655),o=i(84389),r=i(23005),s=i(9072),a=i(42396),l=i(53339),c=i(97059),u=i(67058),p=i(33463),h=i(22270),d=i(84988),m=i(27636),f=i(95349),g=function(e){function t(t){var i=e.call(this)||this;return i.m_pCells={},i.m_pRedrawing={},i.m_nPosition=-1,i.m_sStatic="",i.m_bStatic=!1,i.m_bHover=!1,i.m_bMovable=!0,i.m_bMoving=!1,i.m_bSelected=!1,i.m_bDisabled=!1,i.m_bVisible=!0,i.m_bExcluded=!1,i.m_bCollapsedChanged=!1,i.m_bIsEditable=!0,i.m_nEditing=-1,i.m_pRows=new d.Rows(i),i.m_pIdentifier=t,i}return(0,n.__extends)(t,e),Object.defineProperty(t,"isEditing",{get:function(){return(0,o.isFunction)(this.m_fnEditor)},enumerable:!1,configurable:!0}),t.cancelEditor=function(){this.m_fnEditor&&this.m_fnEditor()},Object.defineProperty(t.prototype,"list",{get:function(){var e=this.parent?this.parent.list:void 0;if(e&&!e.isDestroyed)return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this.m_pRows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.parent?this.parent.row:void 0},set:function(e){(this.row!==e||this.isDeleted)&&(e&&!e.isChildOf(this)?this.isDeleted?e.rows.add(this):this.move(e,"lastchild"):this.isDeleted||(this.level=0))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"all",{get:function(){return this.rows.all},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this.rows.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ancestor",{get:function(){for(var e=this.row;e;){if(!e.row)return e;e=e.row}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessorVisible",{get:function(){for(var e=this.predecessorSibling;e;){if(e.isObservable)return e;e=e.predecessorSibling}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successorVisible",{get:function(){for(var e=this.successorSibling;e;){if(e.isObservable)return e;e=e.successorSibling}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this.rows.firstItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var e=this.rows.lastItem;if(e)return e.last},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previous",{get:function(){var e=this.predecessorSibling;return e?e.last||e:this.row},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"next",{get:function(){var e=this.first||this.successorSibling;if(e)return e;for(var t=this.row;t;){if(t.successorSibling)return t.successorSibling;t=t.row}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"identifier",{get:function(){return this.m_pIdentifier||this.uniqueId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{get:function(){return this.rows.count},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"countRecursive",{get:function(){return this.rows.countRecursive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"countVisible",{get:function(){return this.isCollapsed?0:this.rows.countVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isFirstVisible",{get:function(){return!this.predecessorVisible&&this.isObservable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLastVisible",{get:function(){return!this.successorVisible&&this.isObservable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPredecessorVisibleAndExpanded",{get:function(){var e=this.predecessorVisible;return e instanceof t&&!e.isCollapsed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{get:function(){var e=this,t=0;return this.list&&this.list.each((function(i){return e===i||(t++,!1)})),t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDrawn",{get:function(){return this.m_pRow instanceof s.Element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCalculated",{get:function(){return-1===this.m_nPosition},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectangle",{get:function(){return this.m_pRow?this.m_pRow.rectangle:new h.Rectangle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return(-1===this.m_nPosition||this.isPopped)&&(this.predecessorSibling?this.m_nPosition=this.predecessorSibling.tail:this.row?this.m_nPosition=this.row.bottom+(this.list?this.list.rowSpacing:0):this.m_nPosition=0),this.m_nPosition},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bottom",{get:function(){return this.top+(this.list?this.list.rowHeight:0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.list&&this.isObservable?(this.countVisible+1)*(this.list.rowHeight+this.list.rowSpacing)-this.list.rowSpacing:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){return this.top+this.height+(this.list&&this.isObservable?this.list.rowSpacing:0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mean",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"level",{get:function(){for(var e=0,t=this.row;t;)e++,t=t.row;return e},set:function(e){if(!this.isPopped&&this.list)if(e<0&&(e=0),e>this.level){if(0===this.list.maxIndentionDepth||this.level+this.levels<this.list.maxIndentionDepth){var t=this.predecessorVisible;t&&t.rows.pushToMatrix(this,{index:-1,recalculate:!0,emit:"change"})}}else if(e<this.level){for(var i=this.level-e,n=this.parent,o=0;i>0&&n&&n.row&&n.row.parent;)o=n.row.index+1,n=n.row.parent,i--;n&&n.pushToMatrix(this,{index:o,recalculate:!0,emit:"change"})}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"levels",{get:function(){var e=0;return this.rows.recursiveEach((function(t){e=o.Num.max(e,t.level)}),!1),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"depth",{get:function(){return this.level},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.m_sStatic},set:function(e){e!==this.m_sStatic&&(this.m_sStatic=e,this.isStatic&&(this.drawStatic(this.m_pRow),this.updateStyles()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLabel",{get:function(){return this.isStatic&&(0,o.isFilledString)(this.label)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStatic",{get:function(){return this.m_bStatic},set:function(e){e!==this.m_bStatic&&(this.m_bStatic=e,e&&(this.isSelected=!1),this.drawStatic(this.m_pRow),this.updateStyles())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHovered",{get:function(){return this.m_bHover},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMovable",{get:function(){return!t.isEditing&&this.m_bMovable&&!this.isStatic&&!this.isDisabled},set:function(e){e!==this.m_bMovable&&(this.m_bMovable=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMoving",{get:function(){return this.m_bMoving},set:function(e){e!==this.m_bMoving&&(this.m_bMoving=e,this.updateStyles(),this.indentation(this.level))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.m_bSelected},set:function(e){(e=e&&!this.isStatic&&!this.isDisabled)!==this.m_bSelected&&(this.m_bSelected=e,this.closeEditor(),this.isDeleted||(this.updateStyles(),this.list&&this.list.isHookAllowed&&(e?this.emitHook("OnSelect",{row:this}):this.emitHook("OnDeselect",{row:this}))),this.list&&this.list.selectionChanged(this,e))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){e!==this.m_bDisabled&&(this.m_bDisabled=e,e&&(this.isSelected=!1),this.updateStyles(),this.list&&this.list.isHookAllowed&&(e?this.emitHook("OnDisable",{row:this}):this.emitHook("OnEnable",{row:this})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){e!==this.m_bVisible&&(this.m_bVisible=e,this.updateVisibility(),this.list&&this.list.isHookAllowed&&(e?this.emitHook("OnShow",{row:this}):this.emitHook("OnHide",{row:this})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isExcluded",{get:function(){return this.m_bExcluded},set:function(e){e!==this.m_bExcluded&&(this.m_bExcluded=e,this.updateVisibility(),this.list&&this.list.isHookAllowed&&(e?this.emitHook("OnExclude",{row:this}):this.emitHook("OnInclude",{row:this})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCollapsed",{get:function(){return!(0,o.isBoolean)(this.m_bCollapsed)&&this.list&&(this.m_bCollapsed=this.list.isCollapsed&&this.rows.count>0),(0,o.castToBoolean)(this.m_bCollapsed&&this.rows.count>0)},set:function(e){e!==this.m_bCollapsed&&(this.m_bCollapsed=e,this.m_bCollapsedChanged=!0,this.updateVisibility(),this.isCollapsed&&this.rows.recursiveEach((function(e){e.isSelected=!1}),!1),this.list&&this.list.isHookAllowed&&(this.isCollapsed?this.emitHook("OnCollapse",{row:this}):this.emitHook("OnExpand",{row:this}),this.isCollapsed?this.list.emitHook("OnCollapse",{row:this}):this.list.emitHook("OnExpand",{row:this}),(0,o.call)(this.isCollapsed?this.list.onCollapse:this.list.onExpand,this)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isCollapsedChanged",{get:function(){return this.m_bCollapsedChanged},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isExpandable",{get:function(){return this.rows.each((function(e){return e.isObservable}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isObservable",{get:function(){return this.isVisible&&!this.isExcluded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHidden",{get:function(){return!this.isObservable||this.row instanceof t&&(this.row.isHidden||this.row.isCollapsed)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEven",{get:function(){var e=0;return this.list&&(e=this.list.rowHeight+this.list.rowSpacing),0===this.top||0===e||!(this.top/e%2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDeleted",{get:function(){return this.isPopped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEditable",{get:function(){return this.m_bIsEditable&&this.isDrawn&&!this.isHidden},set:function(e){e!==this.m_bIsEditable&&(this.m_bIsEditable=e)},enumerable:!1,configurable:!0}),t.prototype.shift=function(){for(var e=this.successorSibling;e;)e.updatePosition(),e=e.successorSibling;this.parent&&this.parent.invalidateMatrix()},t.prototype.indentation=function(e){var t=this;this.isDrawn&&(0,f.write)((function(){t.list&&t.list.eachColumn((function(i){if(i.allowIndentation){var n=t.cellElement(i);n.parent&&(n.x=(0,r.drawTree)(t,n.parent,i.properties.treeImages,i.indentation,i.indentAlways,i.indentOffset,e))}}))}))},t.prototype.updateStyles=function(e){var t=this;void 0===e&&(e=!1),this.isDrawn&&((0,f.write)((function(){var e=!1,i=!1;t.list&&t.list.isMoving||t.isDisabled||t.isMoving||(e=t.isSelected&&!t.isStatic,i=t.isHovered&&!t.isSelected),t.m_pRow&&(t.m_pRow.selector("hidden",t.isHidden),t.m_pRow.selector("disabled",t.isDisabled),t.m_pRow.selector("static",t.isStatic),t.m_pRow.selector("label",t.isLabel),t.m_pRow.selector("selected",e),t.m_pRow.selector("hover",i),t.m_pRow.selector("moving",t.isMoving))})),this.list&&this.list.style&&(this.list.style.icon||this.list.style.button)&&this.list.eachColumn((function(e){var i,n;((null===(i=t.list)||void 0===i?void 0:i.style.icon)&&"icon"===e.type||(null===(n=t.list)||void 0===n?void 0:n.style.button)&&"button"===e.type)&&t.redraw(e)}))),e&&this.rows.recursiveEach((function(e){e.updateStyles(!0)}),!1)},t.prototype.updatePosition=function(){var e=this;this.m_nPosition=-1,this.isDrawn&&(0,f.write)((function(){if(e.m_pRow){var t=e.isEven;e.m_pRow.y=e.top,e.m_pRow.selector("odd",!t),e.m_pRow.selector("even",t)}})),this.rows.each((function(e){e.updatePosition()}))},t.prototype.updateVisibility=function(){this.isObservable||(this.isSelected=!1),this.updateStyles(!0),this.shift(),(this.ancestor||this).updateIndentation()},t.prototype.drawStatic=function(e){var t=this;if(this.isLabel)if(this.m_pStatic){if(this.list&&this.list.decorator&&this.row&&(0,o.castToBoolean)(this.list.decorator(this.label,this.m_pStatic,this,void 0,!1)))return;this.m_pStatic.text=this.label}else e&&(this.m_pStatic=e.create("label",(function(e){t.list&&t.list.decorator&&(0,o.castToBoolean)(t.list.decorator(t.label,e,t,void 0,!1))||(e.text=t.label)})));else this.m_pStatic&&(this.m_pStatic.destroy(),this.m_pStatic=void 0)},t.prototype.drawGlyph=function(e,t){var i=this,n=0,s=0;if(this.list){var a=this.list.rowHeight;this.list.eachColumn((function(l){var c=l.drawGlyph(e,n);i.m_pGlyphCells||(i.m_pGlyphCells={}),i.m_pGlyphCells[l.property]=c.create("div",(function(e){if(e.height=a,l.allowIndentation){var u=o.Num.max(i.depth-l.indentOffset,0),p=u+(l.allowExpander&&(l.indentAlways||i.isExpandable||u>0)?1:0);t&&0===s&&!i.isStatic?(n=p*l.indentation,c.width=l.width-n):e.x=p*l.indentation}(0,r.drawCell)(i,l,e,a,!1,!0)})),s++})),this.isLabel&&e.create("label",(function(e){i.list&&i.list.decorator&&(0,o.castToBoolean)(i.list.decorator(i.label,e,i,void 0,!0))||(e.text=i.label)}))}return n},t.prototype.onChange=function(t){var i=t.matrixPrevious;i&&i!==this.rows&&i.row&&(i.row.ancestor||i.row).updateIndentation(),e.prototype.onChange.call(this,t)},t.prototype.onPop=function(t){e.prototype.onPop.call(this,t),this.destroy(),this.list&&(this.ancestor||this).updateIndentation()},t.prototype.onDataChange=function(e,t){this.emitHook("OnChange",{row:this,property:e,data:t}),this.list&&(this.list.emitHook("OnChange",{row:this,property:e,data:t}),(0,o.call)(this.list.onChange,this,e,t))},t.prototype.draw=function(){var e=this;if(this.list&&this.list.rowsElement)return this.m_pRow||(this.m_pRow=this.list.rowsElement.create("div",(function(t){var i=e.isEven;if(t.positionByTranslate3D=!0,t.y=e.top,t.selector("odd",!i),t.selector("even",i),t.selector("hidden",e.isHidden),t.selector("disabled",e.isDisabled),t.selector("static",e.isStatic),t.selector("label",e.isLabel),t.selector("selected",e.isSelected&&!e.isStatic&&!e.isDisabled&&!e.isMoving),t.selector("hover",e.isHovered&&!e.isSelected&&!e.isDisabled&&!e.isMoving),t.selector("moving",e.isMoving),a.Hover.pointer(t,(function(t){return e.onHover(t.isHovered)})),e.drawStatic(t),e.list){var n=e.list.rowHeight;e.list.eachColumn((function(i){t.create("div",(function(t){t.addClass(i.class),e.m_pCells[i.property]=t.create("div",(function(o){i.allowIndentation&&(o.x=(0,r.drawTree)(e,t,i.properties.treeImages,i.indentation,i.indentAlways,i.indentOffset,e.depth)),(0,r.drawCell)(e,i,o,n,!1,!1)}))}))}))}})))},t.prototype.redraw=function(e,t){var i=this;if(void 0===t&&(t=!1),this.list&&this.isDrawn&&!this.isDeleted){var n=e instanceof u.Column?e:this.list.column(e);if(n&&!this.m_pRedrawing[n.uniqueId]){var o=this.list.rowHeight;this.m_pRedrawing[n.uniqueId]=!0,(0,f.write)((function(){(0,r.drawCell)(i,n,i.cellElement(n),o,!t,!1),i.m_pGlyphCells&&(0,r.drawCell)(i,n,i.m_pGlyphCells[n.property],o,!0,!0),i.m_pRedrawing[n.uniqueId]=!1})),n.unsorted()}}},t.prototype.cellElement=function(e){return this.m_pCells[e.property]},t.prototype.cell=function(e,t){var i=(0,o.cast)(this);if(i["@list is-column #".concat(e.property)])return(0,o.isDefined)(t)&&(0,o.setAny)(this,e.property,t),e.properties.modifier?e.properties.modifier(i[e.property],this,e):i[e.property];(0,o.isDefined)(t)&&this.onDataChange(e.property,t)},t.prototype.glyphCreate=function(e,t,i,n){var o=this;this.isHidden||(this.m_pGlyph=this.m_pGlyph||s.Element.create("div",(function(r){var s=o.rectangle,a=o.drawGlyph(r,i);r.addClass(e),r.positionByTranslate3D=!0,r.elevated=!0,r.left=s.left+a,r.top=s.top,r.width=t-a,n&&r.addSelector("following"),o.isStatic&&(r.selector("static",o.isStatic),r.selector("label",o.isLabel))}))),this.isMoving=!0,this.rows.each((function(i){return i.glyphCreate(e,t,!1,!0)}))},t.prototype.glyphMove=function(e,t){this.m_pGlyph&&this.m_pGlyph.position({x:e,y:t}),this.rows.each((function(i){return i.glyphMove(e,t)}))},t.prototype.glyphDestroy=function(){this.isMoving=!1,this.m_pGlyphCells=void 0,this.m_pGlyph&&(this.m_pGlyph.destroy(),this.m_pGlyph=void 0),this.rows.each((function(e){return e.glyphDestroy()}))},t.prototype.updateIndentation=function(){this.indentation(this.level),this.rows.each((function(e){e.updateIndentation()}))},t.prototype.onInit=function(){return this.m_nPosition=-1,this.m_nEditing=-1,this.m_bHover=!1,this.m_bMoving=!1,this.m_bSelected=!1,this},t.prototype.onUpdate=function(e){16&e&&this.parent&&this.rows.count>0?this.parent.each((function(e){e.updatePosition()})):this.updatePosition(),1&e&&this.updateStyles(!0),(1&e||this.row)&&(this.ancestor||this).updateIndentation()},t.prototype.onIndex=function(){this.list&&this.list.isHookAllowed&&(this.list.emitHook("OnIndex",{row:this}),this.emitHook("OnIndex",{row:this}),(0,o.callAsync)(this.list.onIndex,this))},t.prototype.onRefresh=function(){this.emitHook("OnRefresh",{row:this}),this.list&&this.list.refreshed()},t.prototype.onHover=function(e,t){void 0===t&&(t=!1),!this.isStatic&&this.list&&(t||(e?this.list.rowHovered=this:this.list.rowHovered===this&&(this.list.rowHovered=void 0)),e&&(this.list.isScrolling||this.list.isColumnMovingOrResizing)||(this.m_bHover=e,this.updateStyles()))},t.prototype.onTap=function(e){return this.m_fnOnTap=(0,o.cast)(e),this},t.prototype.onDoubleTap=function(e){return this.m_fnOnDoubleTap=(0,o.cast)(e),this},t.prototype.onEnter=function(e){return this.m_fnOnEnter=(0,o.cast)(e),this},t.prototype.onSelect=function(e){var t=this;return this.hook("OnSelect","synchronous",(function(){return e((0,o.cast)(t))})),this},t.prototype.onDeselect=function(e){var t=this;return this.hook("OnDeselect","synchronous",(function(){return e((0,o.cast)(t))})),this},t.prototype.write=function(e,t){this.redraw(e),this.onDataChange(e,t)},t.prototype.tap=function(e){var t=this;if(!this.isDisabled){if("checkbox"===e.properties.type||"switch"===e.properties.type){var i=this.cellElement(e).firstChild;if(i){var n=i.HTMLElementOfType();n&&(n.checked=!n.checked,this.cell(e,n.checked))}return!0}if("selector"===e.properties.type)return this.isSelected=!this.isSelected,!0}if(e.properties.command||e.properties.menu){if(!e.properties.command||this.isDisabled&&"button"!==e.properties.type||e.properties.command(this),e.properties.menu&&(!this.isDisabled||e.properties.menuAlways)&&this.list){var r=this.isSelected;p.Menu.openAtElement(e.properties.menu(this),this.cellElement(e),{stylesheet:this.list.stylesheet,style:e.properties.menuStyle||this.list.style.menu,position:"top",margin:new h.Spacing(0,this.list.rowHeight/-2,0,0),onOpen:e.properties.selectOnMenu?function(){return t.select()}:void 0,onClose:function(){e.properties.selectOnMenu&&!r&&t.deselect()}})}return!0}if(!this.isDisabled){if(this.m_fnOnTap)return(0,o.castToBoolean)(this.m_fnOnTap(this,e),!0);this.emitHook("OnTap",{row:this,column:e})}return!1},t.prototype.doubleTap=function(e){return this.emitHook("OnDoubleTap",{row:this,column:e}),!(!this.m_fnOnDoubleTap||!(0,o.castToBoolean)(this.m_fnOnDoubleTap(this,e),!0))||"auto"===e.properties.editable&&this.editor(e)},t.prototype.enter=function(){return this.m_fnOnEnter?(0,o.castToBoolean)(this.m_fnOnEnter(this),!0):(this.emitHook("OnEnter",{row:this}),!1)},t.prototype.static=function(e){return void 0===e&&(e=""),this.label=e,this.isStatic=!0,this},t.prototype.movable=function(e){return this.isMovable=e,this},t.prototype.select=function(){return this.isSelected=!0,this},t.prototype.deselect=function(){return this.isSelected=!1,this},t.prototype.enable=function(){return this.isDisabled=!1,this},t.prototype.disable=function(){return this.isDisabled=!0,this},t.prototype.show=function(){return this.isVisible=!0,this},t.prototype.hide=function(){return this.isVisible=!1,this},t.prototype.expand=function(){return this.isCollapsed=!1,this},t.prototype.collapse=function(){return this.isCollapsed=!0,this},t.prototype.increase=function(){return this.level++,this},t.prototype.decrease=function(){return this.level--,this},t.prototype.move=function(e,t){if(this.list&&this!==e)if("firstchild"===t||"lastchild"===t){if(this.row===e)return this.index="firstchild"!==t&&this.parent&&this.parent.lastItem?this.parent.lastItem.index+1:0,!0;if(0===this.list.maxIndentionDepth||e.level+1+this.levels<=this.list.maxIndentionDepth)return!e.isChildOf(this)&&(e.rows.pushToMatrix(this,{index:"firstchild"===t?0:-1,recalculate:!0,emit:"change"}),!0)}else if("below"===t||"above"===t){if(this.parent===e.parent)return this.moveToItem(e,"above"===t),!0;if(0===this.list.maxIndentionDepth||e.level+this.levels<=this.list.maxIndentionDepth){if(e.parent){if(e.isChildOf(this))return!1;e.parent.pushToMatrix(this,{index:e.index+("above"===t?0:1),recalculate:!0,emit:"change"})}return!0}}return!1},t.prototype.makeLastChildOf=function(e){return this.move(e,"lastchild")},t.prototype.makeFirstChildOf=function(e){return this.move(e,"firstchild")},t.prototype.isChildOf=function(e){for(var t=this;t;){if(t===e)return!0;t=t.row}return!1},t.prototype.isEditing=function(e){return this.m_nEditing===e.uniqueId},t.prototype.scrollIntoView=function(){return this.list&&this.list.scrollIntoView(this),this},t.prototype.delete=function(e){if(void 0===e&&(e=!0),!this.isPopped){if(!e&&this.parent)for(var t=this.rows.lastItem;t;)this.parent.pushToMatrix(t,{index:this.index+1,recalculate:!0,emit:"change"}),t=this.rows.lastItem;this.pop()}return this},t.prototype.editor=function(e){var i=this;if(("yes"===e.properties.editable||"auto"===e.properties.editable)&&this.isEditable){var n=this.cellElement(e),r=this.cell(e);return this.closeEditor(),n.destroyChildren(),n.addSelectorSafe("editor"),n.selectorSafe("editor-selected",this.isSelected),n.create("input",(function(r){var s=r.HTMLElementOfType();i.m_nEditing=e.uniqueId,t.m_fnEditor=function(){var s=i.cell(e);t.m_fnEditor=void 0,i.m_nEditing=-1,r.blur(),r.destroy(),n.removeSelectorSafe("editor"),n.removeSelectorSafe("editor-selected"),i.redraw(e.property,!0),i.emitHook("OnEditEnd",{row:i,property:e.property,data:s}),i.list&&(i.list.emitHook("OnEditEnd",{row:i,property:e.property,data:s}),(0,o.call)(i.list.onEditEnd,i,e,s),i.list.focus())},r.attribute("type","text"),r.attribute("value",(0,o.castToString)(i.cell(e))),r.attribute("autocomplete","off"),s&&(r.on(["change","input"],(function(){return i.cell(e,s.value)})),r.on("focus",(function(){return s.select()}))),m.Touch.mode(r,"disable"),m.Touch.focus(r,r,(function(){return i.closeEditor()})),c.Keyboard.local(r,(function(e){if(e.hasModifiers)return!1;switch(e.key){case"Escape":case"Enter":return i.closeEditor(),!0}return!1}),"keyup")})),this.emitHook("OnEditStart",{row:this,property:e.property,data:r}),this.list&&(this.list.scroll&&this.list.scroll.scrollToAsset(n),this.list.emitHook("OnEditStart",{row:this,property:e.property,data:r}),(0,o.call)(this.list.onEditStart,this,e,r)),!0}return!1},t.prototype.editorForColumn=function(e){if(this.list){var t=this.list.column(e);if(t)return this.editor(t)}return!1},t.prototype.closeEditor=function(){t.cancelEditor()},t.prototype.refresh=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];this.list&&this.isDrawn&&((0,o.arraySize)(t)>0?(0,o.each)(t,(function(t){return e.redraw(t)})):this.list.eachColumn((function(t){return e.redraw(t)})),this.onRefresh())},t.prototype.destroy=function(){this.list&&!this.list.isDestroyed&&(this.isSelected=!1),this.rows.destroy(),this.m_pRow&&((0,o.each)(this.m_pCells,(function(e){e.destroy()})),this.m_pRow.destroy(),this.m_pRow=void 0)},t}(l.Item);t.Row=g},84988:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rows=void 0;var n=i(70655),o=i(84389),r=i(10980),s=i(5466),a=function(e){function t(t){var i=e.call(this,0,0,1)||this;return i.m_nCount=-1,i.m_nVisible=-1,t instanceof r.List?i.m_pList=t:i.m_pParent=t,i.isSilent=function(){return!i.list||!(i.list.isCalculated||i.list.isReady)},i.groupedHook("OnDimensionChange","synchronous",(function(){return i.recount()})),i.groupedHook("OnDimensionChange","framed",(function(){return i.onRowsChange()})),i.groupedHook("OnItemPush","framed",(function(){return i.onRowsInvalidate()})),i.hook("OnItemPush","synchronous",(function(e){return i.onRowPush(e.item)})),i.hook("OnItemChange","synchronous",(function(e){return i.onRowChange(e.item,e.reason,!1)})),i.hook("OnItemChange","framed",(function(e){return i.onRowChange(e.item,e.reason,!0)})),i.hook("OnItemPop","framed",(function(e){return i.onRowPop(e.item)})),i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"list",{get:function(){return this.m_pList?this.m_pList:this.row?(0,o.cast)(this.row.list):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"row",{get:function(){return this.m_pParent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"all",{get:function(){var e=[];return this.recursiveEach((function(t){e.push(t)}),!1),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=[];return this.each((function(t){e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"countRecursive",{get:function(){var e=this;return-1===this.m_nCount&&(this.m_nCount=this.count,this.each((function(t){e.m_nCount+=t.countRecursive}))),this.m_nCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"countVisible",{get:function(){var e=this;return-1===this.m_nVisible&&(this.m_nVisible=0,this.each((function(t){t.isObservable&&(e.m_nVisible+=1+t.countVisible)}))),this.m_nVisible},enumerable:!1,configurable:!0}),t.prototype.onRowsChange=function(){if(this.row){var e=this.row.successorSibling;for(this.row&&this.row.parent&&this.row.parent.onRowsChange();e;)e.onUpdate(32),e=e.successorSibling}else this.list&&(this.list.dimensionsChanged(),this.list.invalidate())},t.prototype.onRowsInvalidate=function(){this.list&&this.list.unsorted()},t.prototype.onRowPush=function(e){if(this.list){if(e.isLast&&e.row&&e.row.isDrawn){var t=e.predecessorSibling;e.isFirst?e.row.updateIndentation():t&&t.isDrawn&&t.updateIndentation()}this.list.invalidateRow(e),this.list.isHookAllowed&&(this.list.emitHook("OnAdd",{row:e}),e.emitHook("OnAdd",{row:e}),(0,o.callAsync)(this.list.onAdd,e))}},t.prototype.onRowChange=function(e,t,i){-193&t&&i===!(5&t)&&(e.onIndex(),e.onUpdate(t)),this.list&&this.list.invalidate(),i&&13&t&&this.onRowsInvalidate()},t.prototype.onRowPop=function(e){this.list&&this.list.isHookAllowed&&(this.list.emitHook("OnDelete",{row:e}),e.emitHook("OnDelete",{row:e}),(0,o.call)(this.list.onDelete,e))},t.prototype.invalidate=function(e,t,i){var n=!1;return t>0&&t>e&&this.each((function(r){if(r.isObservable&&r.tail>=e){var s=o.Num.inRange(r.bottom,e,t,!0,!0);!r.isDrawn&&(s||o.Num.inRange(r.top,e,t,!0,!0)||o.Num.inRange(e,r.top,r.bottom,!0,!0))&&(r.draw(),t+=i,i=0,n=!0),r.rows.count>0&&(s||o.Num.inRange(r.tail,e,t,!0,!0)||o.Num.inRange(e,r.bottom,r.tail,!0,!0))&&r.rows.invalidate(e,t,i)&&(t+=i,i=0,n=!0)}return r.tail>t})),n},t.prototype.recount=function(){this.m_nCount=-1,this.m_nVisible=-1,this.row&&this.row.parent&&this.row.parent.recount()},t.prototype.recursiveEach=function(e,t){var i=function(i){return!!(0,o.castToBoolean)(e(i))||(0,o.cast)(i.rows).recursiveEach(e,t)};return t?this.reverseEach(i):this.each(i)},t.prototype.recursiveSort=function(e,t){var i,n=!1;return"undefined"!=typeof Intl&&Intl.Collator&&(i=new Intl.Collator(s.Locales.domain,{sensitivity:"base"})),n=this.sort((function(n,r){var s=function(e){return 0!==e?e:n.index<r.index?-1:1},a=n.cell((0,o.cast)(e)),l=r.cell((0,o.cast)(e));if((0,o.isNumber)(a)&&(0,o.isNumber)(l))return s(t?l-a:a-l);if((0,o.isBoolean)(a)&&(0,o.isBoolean)(l))return s(a!==l?(a?1:-1)*(t?-1:1):0);if(a&&l){var c=(0,o.castToString)(a),u=(0,o.castToString)(l);if(i)return s(i.compare(c,u)*(t?-1:1));if(o.Str.lowercase(c)<o.Str.lowercase(u))return-1*(t?-1:1);if(o.Str.lowercase(c)>o.Str.lowercase(u))return 1*(t?-1:1)}else{if(a)return-1;if(l)return 1}return s(0)})),this.each((function(i){n=(0,o.cast)(i.rows).recursiveSort(e,t)||n})),n},t.prototype.recursiveFilter=function(e){var t=0;return this.reverseEach((function(i){i.isExcluded=!e(i),i.isExcluded||(t+=1+(0,o.cast)(i.rows).recursiveFilter(e))})),t},t.prototype.rowAtIndex=function(e){return this.itemAtIndex(e)},t.prototype.rowFromPoint=function(e){var t;return this.each((function(i){return!!o.Num.inRange(e.y,i.top,i.tail)&&(t=o.Num.inRange(e.y,i.top,i.bottom)?i:(0,o.cast)(i.rows).rowFromPoint(e),!0)})),t},t.prototype.add=function(e){return this.pushToMatrix(e.onInit(),{index:-1,recalculate:!0,emit:"push"})},t.prototype.addN=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=0;return(0,o.each)(t,(function(t){e.pushToMatrix(t.onInit(),{index:-1,recalculate:!1,emit:"push"}),n++})),this.recalculateMatrix(),n},t.prototype.insert=function(e){return this.pushToMatrix(e.onInit(),{index:0,recalculate:!0,emit:"push"})},t.prototype.insertN=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=0;return(0,o.eachReverse)(t,(function(t){e.pushToMatrix(t.onInit(),{index:0,recalculate:!1,emit:"push"}),n++})),this.recalculateMatrix(),n},t.prototype.destroy=function(){this.isSilent=!1,this.clear("fast")},t}(i(53339).Matrix);t.Rows=a},11911:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowArray=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var o=e.call(this,t)||this;return o.m_pCopy=[],o.m_pData=i,o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.m_pData},set:function(e){this.m_pData=e,this.update()},enumerable:!1,configurable:!0}),t.prototype.cell=function(t,i){return o.Num.inRange(t.offset,0,this.m_pData.length)?(0,o.isDefined)(i)?(this.m_pData[t.offset]=i,this.write(t.property,i),i):this.m_pData[t.offset]:e.prototype.cell.call(this,t,i)},t.prototype.update=function(){var e=this;this.list&&this.list.eachColumn((function(t){o.Num.inRange(t.offset,0,e.m_pData.length)&&e.m_pCopy[t.offset]!==e.m_pData[t.offset]&&e.write(t.property,e.m_pData[t.offset])})),this.m_pCopy=this.m_pData},t}(i(74822).Row);t.RowArray=r},5351:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowStatic=void 0;var n=i(70655),o=i(74822),r=i(84389),s=function(e){function t(t,i){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=e.call(this,i)||this;return s.static(t),s.m_sSortColumns="\n".concat(r.Str.iterateToString(n,"\n"),"\n"),s}return(0,n.__extends)(t,e),t.prototype.cell=function(e){return-1!==this.m_sSortColumns.indexOf("\n".concat(e.property,"\n"))?this.label:void 0},t}(o.Row);t.RowStatic=s},1234:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowTyped=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t,i){var n=e.call(this,i)||this;return n.m_pData=t,n.m_pCopy=(0,o.extendImmutable)(t),n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.m_pData},set:function(e){this.m_pData=e,this.update()},enumerable:!1,configurable:!0}),t.prototype.cell=function(t,i){return(0,o.isDefined)(i)?((0,o.setAny)(this.data,t.property,i),this.write(t.property,i),i):this.data[t.property]||e.prototype.cell.call(this,t,i)},t.prototype.update=function(){var e=this,t=(0,o.extendImmutable)(this.m_pData);this.list&&this.list.eachColumn((function(i){e.m_pCopy[i.property]!==t[i.property]&&e.write(i.property,t[i.property])})),this.m_pCopy=t},t}(i(74822).Row);t.RowTyped=r},33463:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuLinkWithImage=t.MenuLink=t.MenuSubmenuWithImage=t.MenuSubmenu=t.MenuSeparator=t.MenuLabel=t.MenuItemWithImage=t.MenuItem=t.MenuOption=t.Menu=void 0;var n=i(74672);Object.defineProperty(t,"Menu",{enumerable:!0,get:function(){return n.Menu}});var o=i(83040);Object.defineProperty(t,"MenuOption",{enumerable:!0,get:function(){return o.Option}});var r=i(23993);Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function(){return r.Item}});var s=i(22565);Object.defineProperty(t,"MenuItemWithImage",{enumerable:!0,get:function(){return s.ItemWithImage}});var a=i(24501);Object.defineProperty(t,"MenuLabel",{enumerable:!0,get:function(){return a.Label}});var l=i(8186);Object.defineProperty(t,"MenuSeparator",{enumerable:!0,get:function(){return l.Separator}});var c=i(57118);Object.defineProperty(t,"MenuSubmenu",{enumerable:!0,get:function(){return c.Submenu}});var u=i(99878);Object.defineProperty(t,"MenuSubmenuWithImage",{enumerable:!0,get:function(){return u.SubmenuWithImage}});var p=i(73500);Object.defineProperty(t,"MenuLink",{enumerable:!0,get:function(){return p.Link}});var h=i(89243);Object.defineProperty(t,"MenuLinkWithImage",{enumerable:!0,get:function(){return h.LinkWithImage}})},78810:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuFactory=void 0;var n=i(84389),o=i(9072),r=i(27636),s=i(42396),a=i(97059),l=i(49613),c=i(23878),u=i(23993),p=i(85238),h=i(74672),d=i(95349),m=i(22270),f=i(56642),g=i(15661),y=function(){function e(t,i,o){void 0===i&&(i={}),this.m_sState="initializing",this.m_nSequence=0,this.m_nHover=0,this.m_nAction=0,this.m_bDestroyed=!1,this.m_pOptions=t||[],this.m_pStylesheet=i.stylesheet||h.Menu.stylesheet,this.m_pStyle=i.style||h.Menu.style||{},this.m_pParent=i.parent||h.Menu.parent,this.m_pAncestor=o,this.m_nMinWidth=n.Num.max((0,n.castToNumber)(i.minWidth,this.m_pStyle.minWidth),0),this.m_nMaxWidth=n.Num.max((0,n.castToNumber)(i.maxWidth,this.m_pStyle.maxWidth),0),this.m_bDelegateWidths=(0,n.castToBoolean)(i.delegateWidths,this.m_pStyle.delegateWidths),this.m_bOverlay=(0,n.castToBoolean)(i.overlay),this.m_bCapture=(0,n.castToBoolean)(i.capture),this.m_bModal=(0,n.castToBoolean)(i.modal),this.m_bAutoFocus=(0,n.castToBoolean)(i.autoFocus,!0),this.m_bDestroyOnClose=(0,n.castToBoolean)(i.destroyOnClose,!0),this.onOpen=i.onOpen,this.onClose=i.onClose,this.onClosing=i.onClosing,this.onClosed=i.onClosed,this.onDestroy=i.onDestroy,e.initialize()}return Object.defineProperty(e,"root",{get:function(){return this.m_pRoot},set:function(t){this.m_pRoot=t,t?(o.EventListeners.attachListener(window,"resize",(function(){return h.Menu.close()}),void 0,this),o.EventListeners.attachListener(window,"orientationchange",(function(){return h.Menu.close()}),void 0,this),r.Touch.registerNotification("menu",(function(t){if(e.m_bTapped)return!1;if((9&t&&r.Touch.touches>0||64&t)&&!(0,n.findFirst)(r.Touch.points,(function(e){for(var t=e.target.HTMLElement;t;){if("yes"===o.Asset.data(t,"menu"))return!0;t=t.parentElement}return!1}))){if(64&t)return!1;h.Menu.close(!0)}return!0}))):(o.EventListeners.detachListener(window,"resize",this),o.EventListeners.detachListener(window,"orientationchange",this),r.Touch.unregisterNotification("menu"),this.m_pFocus=void 0)},enumerable:!1,configurable:!0}),e.initialize=function(){this.m_bInitialized||(p.Layer.whenShown((function(){return h.Menu.close()})),p.Layer.whenClosed((function(){return h.Menu.close()})),this.m_bInitialized=!0)},Object.defineProperty(e.prototype,"rootMenu",{get:function(){return e.root},set:function(t){e.root=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"focusedMenu",{get:function(){return e.m_pFocus},set:function(t){e.m_pFocus=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.m_pOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this.m_pParent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDrawn",{get:function(){return this.m_pMenu instanceof o.Element&&this.m_pContainer instanceof o.Element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestroyed",{get:function(){return this.m_bDestroyed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.isDrawn&&"ready"===this.m_sState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSubmenu",{get:function(){return this.m_pAncestor instanceof e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isHovered",{get:function(){return this.m_pMenu instanceof o.Element&&this.m_pMenu.hasSelector("hover")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"opened",{get:function(){return(0,n.findFirst)(this.options,(function(e){return e.isOpen}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.m_nMinWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.m_nMaxWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minSubmenuWidth",{get:function(){return this.m_bDelegateWidths?this.minWidth:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxSubmenuWidth",{get:function(){return this.m_bDelegateWidths?this.maxWidth:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tappedOption",{get:function(){return this.m_pTappedOption},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOptionTapped",{get:function(){return!!this.m_pTappedOption},enumerable:!1,configurable:!0}),e.prototype.reset=function(){(0,d.revoke)(this.m_nSequence),this.rootMenu===this&&(this.rootMenu=void 0),this.m_sState="initializing",this.m_pContainer=void 0,this.m_pScroll=void 0,this.m_pHover=void 0,this.m_nHover=(0,n.cancelFrame)(this.m_nHover),this.m_nAction=(0,n.cancelUITimeout)(this.m_nAction),this.m_pMenu&&(this.m_pMenu.destroy(),this.m_pMenu=void 0),this.m_pOverlay&&(this.m_pOverlay.destroy(),this.m_pOverlay=void 0)},e.prototype.draw=function(){var t,i,l,u=this;return this.m_sState="drawing",!this.isDestroyed&&(0,n.arraySize)(this.options)>0&&(!this.isSubmenu&&(this.m_bOverlay||this.m_bCapture||this.m_bModal)&&(this.m_pOverlay=this.m_pOverlay||o.Element.create("div",(function(e){e.data("menu","yes"),u.m_bCapture?c.Stroke.on(e,(function(){return h.Menu.close(!0)}),!1,void 0,u.stylesheet):u.m_bModal?r.Touch.mode(e,"void"):e.pointerEvents=!1}),this.m_pParent,void 0,[(0,o.desktopStyles)(),this.m_bOverlay&&this.style.overlay?this.style.overlay.appearance:void 0,(t={position:"absolute",contain:"strict",left:0,top:0,right:0,bottom:0,zIndex:o.Style.ZINDEX_MENU,visibility:"hidden",opacity:0},t[o.Stylesheet.selector("open")]=(0,n.extendImmutable)(this.style.overlay?this.style.overlay.open:void 0,{visibility:"visible",opacity:1}),t[o.Stylesheet.selector("close")]=(0,n.extendImmutable)(this.style.overlay?this.style.overlay.close:void 0,{opacity:0}),t)],this.stylesheet)),this.m_pMenu=this.m_pMenu||o.Element.create("div",(function(t){t.attribute("role","menu"),t.data("menu","yes"),t.selector("submenu",u.isSubmenu),t.create("nav",(function(i){u.m_pContainer=i,i.create("ul",(function(e){var t=(0,n.reduce)(u.options,(function(e,t){return e+(t.isInteractable?1:0)}),0)||0,i=0;(0,n.each)(u.options,(function(n){e.create(n.elementType,(function(e){n.draw(u,e),n.isInteractable&&(i++,e.attribute("role","menuitem"),e.attribute("aria-posinset","".concat(i)),e.attribute("aria-setsize","".concat(t))),s.Hover.pointer(e,(function(e){return u.hover(n,e.isHovered)})),n.canOpen?c.Stroke.on(e,(function(e){e.isTouch&&!a.Keyboard.isKeyDown&&u.tap(n)}),!1,void 0,u.stylesheet):g.Tap.single(e,(function(){return u.tap(n)}),void 0,void 0,void 0,u.stylesheet)}))}))})),s.Hover.pointer(i,void 0,(function(){return t.addSelectorSafe("hover")}),(function(){t.removeSelectorSafe("hover"),u.hover(void 0,!1)})),u.isSubmenu||(u.m_pKeyboard=a.Keyboard.local(i,(function(t){if(!u.focusedMenu||e.m_bTapped||t.hasModifiers)return!0;switch(t.key){case"Escape":u.focusedMenu.close();break;case"Tab":h.Menu.close();break;case"ArrowLeft":u.focusedMenu!==u.rootMenu&&u.focusedMenu.close();break;case"Enter":case"ArrowRight":u.enter("ArrowRight"===t.key);break;case"ArrowUp":u.shift("up");break;case"ArrowDown":u.shift("down")}return!0}),"keydown"))}))}),this.m_pParent,void 0,[(0,o.desktopStyles)(),this.style.menu?this.style.menu.outer:void 0,(i={display:"block",contain:"content",position:"absolute",boxSizing:"border-box",visibility:"hidden",opacity:0,zIndex:o.Style.ZINDEX_MENU,backgroundRepeat:"no-repeat","> nav":(0,n.extendImmutable)(this.style.menu?this.style.menu.inner:void 0,(l={overflow:"hidden","> ul":{margin:0,padding:0,listStyleType:"none","> li":{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"default"},"> a":{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"default",textDecoration:"none","&:hover":{textDecoration:"none"}}}},l[o.Stylesheet.selector("scroll-up")]={"> nav:nth-of-type(1)":{visibility:"visible",opacity:1}},l[o.Stylesheet.selector("scroll-down")]={"> nav:nth-of-type(2)":{visibility:"visible",opacity:1}},l))},i[o.Stylesheet.selector("center")]=this.style.menu?this.style.menu.center:void 0,i[o.Stylesheet.selector("context")]=this.style.menu?this.style.menu.context:void 0,i[o.Stylesheet.selector("left")]=this.style.menu?this.style.menu.left:void 0,i[o.Stylesheet.selector("right")]=this.style.menu?this.style.menu.right:void 0,i[o.Stylesheet.selector("top")]=this.style.menu?this.style.menu.top:void 0,i[o.Stylesheet.selector("bottom")]=this.style.menu?this.style.menu.bottom:void 0,i[o.Stylesheet.selector("open")]=(0,n.extendImmutable)(this.style.menu?this.style.menu.open:void 0,{visibility:"inherit",opacity:1}),i[o.Stylesheet.selector("close")]=(0,n.extendImmutable)(this.style.menu?this.style.menu.close:void 0,{opacity:0}),i[o.Stylesheet.selector("submenu")]=this.style.menu?this.style.menu.submenu:void 0,i[o.Stylesheet.selector("hover")]=this.style.menu?this.style.menu.hover:void 0,i)],this.stylesheet),this.isDrawn)},e.prototype.hover=function(t,i){var o=this;a.Keyboard.isKeyDown||((i=!e.m_bTapped&&this.isHovered&&(!this.m_pScroll||!this.m_pScroll.isScrolling)&&i)&&t?this.m_pHover=t:t&&this.m_pHover!==t||(this.m_pHover=void 0),this.m_nHover=(0,n.cancelFrame)(this.m_nHover),this.m_nAction=(0,n.cancelUITimeout)(this.m_nAction),this.isDrawn&&(this.m_nHover=(0,n.scheduleFrame)((function(){if(o.m_nHover=0,o.isDrawn){var e=o.opened,t=e;(0,n.each)(o.options,(function(i){var r=!(o.m_pHover!==i||o.m_pScroll&&o.m_pScroll.isScrolling);r&&!i.isDisabled&&i.canOpen&&(t=void 0,i.isOpen||(o.m_nAction=(0,n.scheduleUITimeout)((function(){i.open()}),100))),i.isHovered=r,r||(o.m_pHover||e!==i?i.isSelected=!1:(t=void 0,o.m_nHover=(0,n.scheduleFrame)((function(){i.isSelected=!0}))))})),t&&(o.m_nAction=(0,n.scheduleUITimeout)((function(){t&&t.close(!0)}),500))}}))))},e.prototype.select=function(e){this.m_pHover=e,e.isHovered=!0,this.m_pScroll&&e.element&&this.m_pScroll.scrollToAsset(e.element,!1)},e.prototype.tap=function(t){if(!e.m_bTapped){var i=this.opened;i&&i!==t&&i.tap(),this.m_pHover&&this.m_pHover!==t&&(this.m_pHover.isHovered=!1),t&&!t.isDisabled&&(t.closeOnTap&&t.element?(e.m_bTapped=!0,this.m_pTappedOption=t,e.root&&(e.root.m_pTappedOption=t),this.m_pScroll&&(this.m_pScroll.isDisabled=!0),t.element.animateSelector("tapped",(function(){h.Menu.close(!0,(function(){t.tap()}))}))):t.tap())}},e.prototype.enter=function(e){var t=this;if(this.focusedMenu&&this.focusedMenu.m_pHover&&(!e||this.focusedMenu.m_pHover.canOpen)&&(this.focusedMenu.tap(this.focusedMenu.m_pHover),this.focusedMenu.m_pHover.canOpen)){var i=this.focusedMenu;(0,n.scheduleEvent)((function(){if(t.focusedMenu&&t.focusedMenu!==i){var e=(0,n.findFirst)(t.focusedMenu.options,(function(e){return!e.isDisabled&&e instanceof u.Item}));e&&t.focusedMenu.select(e)}}))}},e.prototype.shift=function(e){var t,i,o,r=this;if(this.focusedMenu){if((0,n.each)(this.focusedMenu.options,(function(e){!e.isDisabled&&e instanceof u.Item&&(t=t||e,i=e)})),this.focusedMenu.m_pHover){var s,a=!1;(0,n.each)(this.focusedMenu.options,(function(t){a&&"down"===e&&!o&&!t.isDisabled&&t instanceof u.Item&&(o=t),!a&&r.focusedMenu&&t===r.focusedMenu.m_pHover&&(a=!0,"up"===e&&(o=s||i)),!t.isDisabled&&t instanceof u.Item&&(s=t)})),o||"down"!==e||(o=t)}else o="up"===e?i:t;o&&o!==this.focusedMenu.m_pHover&&(this.focusedMenu.m_pHover&&(this.focusedMenu.m_pHover.isHovered=!1,this.focusedMenu.m_pHover.isOpen&&this.focusedMenu.m_pHover.close(!0)),this.focusedMenu.select(o))}},e.prototype.open=function(e,t,i){var r=this;if(void 0===t&&(t="center"),this.close(),!this.isSubmenu&&this.rootMenu&&this.rootMenu!==this&&this.rootMenu.close(),this.draw()){if(this.isSubmenu||(this.rootMenu=this),this.focusedMenu=this,this.m_pTappedOption=void 0,"left-from-center"===t||"right-from-center"===t||"top-from-center"===t||"bottom-from-center"===t){var s=e.width/2,c=e.height/2;switch(t){case"left-from-center":e.left+=s,t="left";break;case"right-from-center":e.right-=s,t="right";break;case"top-from-center":e.top+=c,t="top";break;case"bottom-from-center":e.bottom-=c,t="bottom"}}i&&(e.left-=i.left,e.top-=i.top,e.right+=i.right,e.bottom+=i.bottom),(0,d.write)((function(){r.m_pMenu&&r.m_pContainer&&(r.m_pContainer.set("min-width","".concat(r.m_nMinWidth,"px")),r.m_pContainer.set("max-width",r.m_nMaxWidth>0?"".concat(r.m_nMaxWidth,"px"):"none"),r.m_sState="interactive",(0,n.call)(r.onOpen,r),r.m_nSequence=(0,d.read)((function(){if(r.m_nSequence=0,r.m_pMenu&&r.m_pContainer){var i=window.innerWidth,s=window.innerHeight,c=r.m_pMenu.rectangle,u=r.m_pContainer.rectangle,p=r.m_pParent?r.m_pParent.rectangle:new m.Rectangle,h=new m.Spacing(u.left-c.left,u.top-c.top,c.right-u.right,c.bottom-u.bottom),g=e.left+(e.width-("context"===t?0:c.width))/2,y=e.top+(e.height-("context"===t?0:c.height))/2;switch("context"===t&&(g-=h.left,y-=h.top),c.width>i&&(c.width=i,(0,d.write)((function(){r.m_pContainer&&(r.m_pContainer.set("min-width","".concat(c.width-h.horizontal,"px")),r.m_pContainer.set("max-width","".concat(c.width-h.horizontal,"px")))}))),"left"===t&&c.width>e.left&&(i-e.right>=c.width?t="right":c.height<=e.top?t="top":s-e.bottom>=c.height?t="bottom":i-e.right>e.left&&(t="right")),"right"===t&&c.width>i-e.right&&(e.left>=c.width?t="left":c.height<=e.top?t="top":s-e.bottom>=c.height?t="bottom":e.left>i-e.right&&(t="left")),"top"===t&&c.height>e.top&&(s-e.bottom>=c.height?t="bottom":c.width<=e.left?t="left":i-e.right>=c.width?t="right":s-e.bottom>e.top&&(t="bottom")),"bottom"===t&&c.height>s-e.bottom&&(e.top>=c.height?t="top":c.width<=e.left?t="left":i-e.right>=c.width?t="right":e.top>s-e.bottom&&(t="top")),t){case"left":g=e.left-c.width;break;case"right":g=e.right;break;case"top":y=e.top-c.height;break;case"bottom":y=e.bottom}if(y<0||y+c.height>s){var b=c.height;y<0&&("top"===t&&(b+=y),y=0),y+c.height>s&&("bottom"!==t&&(y=n.Num.max(y-(y+c.height-s),0)),b=n.Num.min(s-y,c.height)),b<c.height&&(c.height=b,(0,d.write)((function(){var e,t;r.m_pContainer&&(r.m_pContainer.set("max-height","".concat(b-h.vertical,"px")),r.m_pScroll=r.m_pScroll||(r.style.scrollbars?l.Scrollbars:f.Scroll).on({stylesheet:r.stylesheet,classScrollUp:r.style.indicators?o.Stylesheet.selectorHash("scroll-up"):"",classScrollDown:r.style.indicators?o.Stylesheet.selectorHash("scroll-down"):"",asset:r.m_pContainer,direction:"vertical",style:r.style.scrollbars,autoInitialize:!1,focus:!1,keyboard:!1,passive:!r.style.scrollbarsInteractable,hovering:r.style.scrollbarsInteractable||!1,blink:r.style.scrollbarsInteractable||!1,onStart:function(){var e=r.opened;e&&e.close(),r.m_pHover&&!a.Keyboard.isKeyDown&&(r.m_pHover.isHovered=!1,r.m_pHover=void 0)}}),r.style.indicators&&((0,l.scrollbarsButton)(r.m_pScroll,"up","nav","hover","crawl",r.style.indicators.up.appearance,((e={opacity:0,visibility:"hidden"})[o.Stylesheet.selector("hover")]=r.style.indicators.up.hover,e[o.Stylesheet.selector("crawl")]=r.style.indicators.up.crawl,e)),(0,l.scrollbarsButton)(r.m_pScroll,"down","nav","hover","crawl",r.style.indicators.down.appearance,((t={opacity:0,visibility:"hidden"})[o.Stylesheet.selector("hover")]=r.style.indicators.down.hover,t[o.Stylesheet.selector("crawl")]=r.style.indicators.down.crawl,t))))})))}g=n.Num.range(g,0,i-c.width),(0,d.write)((function(){var i=(0,n.castToBoolean)(r.style.origin,!0);if(r.m_pMenu){if(r.m_pMenu.left=g-p.left,r.m_pMenu.top=y-p.top,(("left"===t||"right"===t)&&g<=e.left&&g+c.width>=e.right||("top"===t||"bottom"===t)&&y<=e.top&&y+c.height>=e.bottom)&&(t="center"),"left"===t||"right"===t){var o=e.top<=y&&e.bottom>=y+c.height?y+c.height/2:e.top>y&&e.top<y+c.height&&e.bottom>=y+c.height?e.top+(y+c.height-e.top)/2:e.top<y&&e.bottom>y&&e.bottom<y+c.height?y+(e.bottom-y)/2:e.top+e.height/2,s=n.Num.range(c.height/2+(o-(y+c.height/2))-h.vertical/2,2*h.top,c.height-2*h.bottom-h.vertical);r.m_pMenu.set("background-position","".concat("left"===t?"right":"left"," ").concat(s,"px")),i&&r.m_pMenu.set("transform-origin","".concat("left"===t?"100%":"0"," ").concat(s,"px 0"))}if("top"===t||"bottom"===t){o=e.left<=g&&e.right>=g+c.width?g+c.width/2:e.left>g&&e.left<g+c.width&&e.right>=g+c.width?e.left+(g+c.width-e.left)/2:e.left<g&&e.right>g&&e.right<g+c.width?g+(e.right-g)/2:e.left+e.width/2;var a=n.Num.range(c.width/2+(o-(g+c.width/2))-h.horizontal/2,2*h.left,c.width-2*h.right-h.horizontal);r.m_pMenu.set("background-position","".concat(a,"px ").concat("top"===t?"bottom":"top")),i&&r.m_pMenu.set("transform-origin","".concat(a,"px ").concat("top"===t?"100%":"0"," 0"))}r.m_pMenu.addSelector(t),r.m_pMenu.animateSelector("open",(function(){r.m_pScroll&&(r.m_pScroll.init(),r.m_bAutoFocus&&r.m_pScroll.focus()),r.m_bAutoFocus&&r.m_pKeyboard&&r.m_pKeyboard.focus()}),!1,"synchronous"),r.m_pOverlay&&r.m_pOverlay.addSelector("open"),r.m_sState="ready"}}))}}),r.m_nSequence))}))}return this},e.prototype.openSubmenu=function(e){var t=this;this.m_nSequence=(0,d.read)((function(){if(t.m_nSequence=0,e.element&&e.menu&&e.menu.m_pContainer){var i=e.element.rectangle,o=e.menu.m_pContainer.rectangle;i.left=n.Num.min(i.left,o.left),i.right=n.Num.max(i.right,o.right),t.open(i,"right",e.menu.style.options&&e.menu.style.options.submenu?e.menu.style.options.submenu.margin:void 0)}}),this.m_nSequence)},e.prototype.openAtElement=function(e,t,i){var n=this;return void 0===t&&(t="center"),this.m_nSequence=(0,d.read)((function(){var o=e.rectangle;n.m_nSequence=0,n.open(o,t,i)}),this.m_nSequence),this},e.prototype.openAtPosition=function(e,t,i){return void 0===i&&(i="context"),this.open(new m.Rectangle({left:e,top:t,right:e,bottom:t}),i)},e.prototype.close=function(t,i){var o=this;if(void 0===t&&(t=!1),this.focusedMenu===this&&this.m_pAncestor&&(this.focusedMenu=this.m_pAncestor),t&&this.isOpen){var r=0,s=function(){2===r&&o.close(!1,i)};this.m_pMenu?this.m_pMenu.animateSelector("close",(function(){r++,s()})):r++,this.m_pOverlay&&this.m_bOverlay?this.m_pOverlay.animateSelector("close",(function(){r++,s()})):r++,(0,n.each)(this.options,(function(e){e.close(!0)})),this.m_sState="closing",(0,n.call)(this.onClosing,this),s()}else{var a="interactive"===this.m_sState||"ready"===this.m_sState||"closing"===this.m_sState;"ready"!==this.m_sState&&"closing"!==this.m_sState||(e.m_bTapped=!1),this.isDrawn&&(this.m_pScroll&&(this.m_pScroll.isDisabled=!1),a&&("closing"!==this.m_sState&&(0,n.call)(this.onClosing,this),(0,n.call)(this.onClose,this)),this.m_bDestroyOnClose?this.destroy():((0,n.each)(this.options,(function(e){return e.remove()})),this.reset()),a&&((0,n.call)(i,this),(0,n.scheduleEvent)((function(){return(0,n.call)(o.onClosed,o)}))))}},e.prototype.focus=function(){if(this.isOpen){var e=(0,n.findFirst)(this.options,(function(e){return!e.isDisabled&&e instanceof u.Item}));e&&(this.opened&&this.opened.close(!1),this.m_pHover&&(this.m_pHover.isHovered=!1,this.m_pHover.isSelected=!1),this.m_pScroll&&this.m_pScroll.focus(),this.m_pKeyboard&&this.m_pKeyboard.focus(),this.select(e))}return this},e.prototype.destroy=function(){this.m_bDestroyed||((0,n.each)(this.m_pOptions,(function(e){return e.destroy()})),(0,n.call)(this.onDestroy,this)),this.m_bDestroyed=!0,this.reset()},e.m_bInitialized=!1,e.m_bTapped=!1,e}();t.MenuFactory=y},216:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyImage=void 0;var n=i(9072);t.applyImage=function(e,t,i){var o,r,s,a,l;if(e.style.options&&e.style.options.image&&e.style.options.image.paths&&e.style.options.image.paths.class&&0===i.indexOf("data:image/svg+xml;base64,")){var c=atob(i.substr(26));r="data:image/svg+xml;base64,".concat(btoa(c.replace("<path ",'<style type="text/css">.'.concat(e.style.options.image.paths.class,"-fill{fill:").concat(e.style.options.image.paths.normal,";}.").concat(e.style.options.image.paths.class,"-stroke{stroke:").concat(e.style.options.image.paths.normal,";}</style><path ")))),s="data:image/svg+xml;base64,".concat(btoa(c.replace("<path ",'<style type="text/css">.'.concat(e.style.options.image.paths.class,"-fill{fill:").concat(e.style.options.image.paths.hover||e.style.options.image.paths.normal,";}.").concat(e.style.options.image.paths.class,"-stroke{stroke:").concat(e.style.options.image.paths.hover||e.style.options.image.paths.normal,";}</style><path ")))),a="data:image/svg+xml;base64,".concat(btoa(c.replace("<path ",'<style type="text/css">.'.concat(e.style.options.image.paths.class,"-fill{fill:").concat(e.style.options.image.paths.selected||e.style.options.image.paths.normal,";}.").concat(e.style.options.image.paths.class,"-stroke{stroke:").concat(e.style.options.image.paths.selected||e.style.options.image.paths.normal,";}</style><path ")))),l="data:image/svg+xml;base64,".concat(btoa(c.replace("<path ",'<style type="text/css">.'.concat(e.style.options.image.paths.class,"-fill{fill:").concat(e.style.options.image.paths.disabled||e.style.options.image.paths.normal,";}.").concat(e.style.options.image.paths.class,"-stroke{stroke:").concat(e.style.options.image.paths.disabled||e.style.options.image.paths.normal,";}</style><path "))))}t.create("span"),t.style(((o={"> span:first-child":{display:"inline-block",float:"left",backgroundRepeat:"no-repeat",backgroundImage:'url("'.concat(r||i,'")')}})[n.Stylesheet.selector("hover")]={"> span:first-child":{backgroundImage:'url("'.concat(s||i,'")')}},o[n.Stylesheet.selector("selected")]={"> span:first-child":{backgroundImage:'url("'.concat(a||i,'")')}},o[n.Stylesheet.selector("disabled")]={"> span:first-child":{backgroundImage:'url("'.concat(l||i,'")')}},o))}},22565:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ItemWithImage=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(23993),a=i(216),l=function(e){function t(t,i,n,o){void 0===o&&(o=!1);var r=e.call(this,i,n,o)||this;return r.m_sImage=t,r}return(0,n.__extends)(t,e),t.prototype.draw=function(t,i,n){var s;(0,a.applyImage)(t,i,this.m_sImage),e.prototype.draw.call(this,t,i,n),!n&&t.style.options&&t.style.options.image&&i.style((0,o.extendImmutable)(t.style.options.image.appearance,((s={"> span:first-child":t.style.options.image.image})[r.Stylesheet.selector("disabled")]=t.style.options.image.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.image.hover,s[r.Stylesheet.selector("selected")]=t.style.options.image.selected,s[r.Stylesheet.selector("tapped")]=t.style.options.image.tapped,s)),t.stylesheet)},t}(s.Item);t.ItemWithImage=l},89243:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkWithImage=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(73500),a=i(216),l=function(e){function t(t,i,n,o){void 0===o&&(o="blank");var r=e.call(this,i,n,o)||this;return r.m_sImage=t,r}return(0,n.__extends)(t,e),t.prototype.draw=function(t,i,n){var s;(0,a.applyImage)(t,i,this.m_sImage),e.prototype.draw.call(this,t,i,n),!n&&t.style.options&&t.style.options.image&&i.style((0,o.extendImmutable)(t.style.options.image.appearance,((s={"> span:first-child":t.style.options.image.image})[r.Stylesheet.selector("disabled")]=t.style.options.image.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.image.hover,s[r.Stylesheet.selector("selected")]=t.style.options.image.selected,s[r.Stylesheet.selector("tapped")]=t.style.options.image.tapped,s)),t.stylesheet)},t}(s.Link);t.LinkWithImage=l},99878:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubmenuWithImage=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(57118),a=i(216),l=function(e){function t(t,i,n,o,r){void 0===o&&(o=!1),void 0===r&&(r=!0);var s=e.call(this,i,n,o,r)||this;return s.m_sImage=t,s}return(0,n.__extends)(t,e),t.prototype.draw=function(t,i,n){var s;(0,a.applyImage)(t,i,this.m_sImage),e.prototype.draw.call(this,t,i,n),!n&&t.style.options&&t.style.options.image&&i.style((0,o.extendImmutable)(t.style.options.image.appearance,((s={"> span:first-child":t.style.options.image.image})[r.Stylesheet.selector("disabled")]=t.style.options.image.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.image.hover,s[r.Stylesheet.selector("selected")]=t.style.options.image.selected,s[r.Stylesheet.selector("tapped")]=t.style.options.image.tapped,s)),t.stylesheet)},t}(s.Submenu);t.SubmenuWithImage=l},23993:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Item=void 0;var n=i(70655),o=i(84389),r=i(9072),s=function(e){function t(t,i,n){void 0===n&&(n=!1);var o=e.call(this,t,n,!0)||this;return o.m_fnCommand=i,o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"closeOnTap",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.draw=function(t,i,n){var s,a,l,c=this;!n&&t.style.options&&t.style.options.item&&(n=(0,o.extendImmutable)(t.style.options.item.appearance,((s={})[r.Stylesheet.selector("disabled")]=t.style.options.item.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.item.hover,s[r.Stylesheet.selector("selected")]=t.style.options.item.selected,s[r.Stylesheet.selector("tapped")]=t.style.options.item.tapped,s))),e.prototype.draw.call(this,t,i,n),this.m_sBadge&&(this.m_pBadge=i.append("span",(function(e){e.text=c.m_sBadge||""}),null===(l=null===(a=t.style.options)||void 0===a?void 0:a.item)||void 0===l?void 0:l.badge))},t.prototype.tap=function(){(0,o.scheduleEvent)(this.m_fnCommand),e.prototype.tap.call(this)},t.prototype.badge=function(e){return this.m_sBadge=e,this.m_pBadge&&(this.m_pBadge.text=this.m_sBadge,this.m_pBadge.opacity=this.m_sBadge?1:0),this},t}(i(24501).Label);t.Item=s},24501:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Label=void 0;var n=i(70655),o=i(84389),r=i(9072),s=function(e){function t(t,i,n){void 0===i&&(i=!1),void 0===n&&(n=!1);var o=e.call(this,i,n)||this;return o.m_sLabel=t,o}return(0,n.__extends)(t,e),t.prototype.draw=function(t,i,n){var s;e.prototype.draw.call(this,t,i),!n&&t.style.options&&t.style.options.label&&(n=(0,o.extendImmutable)(t.style.options.label.appearance,((s={})[r.Stylesheet.selector("disabled")]=t.style.options.label.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.label.hover,s))),n&&i.style(n,t.stylesheet),i.textAppend(this.m_sLabel),i.attribute("aria-label",this.m_sLabel)},t}(i(83040).Option);t.Label=s},73500:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var n=i(70655),o=i(27636),r=i(74672),s=function(e){function t(t,i,n){void 0===n&&(n="blank");var o=e.call(this,t,(function(){return window.open(i,"blank"===n?"_blank":"_self")}),!i)||this;return o.m_sURL=i,o.m_sTarget=n,o}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"elementType",{get:function(){return"a"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"URL",{get:function(){return this.m_sURL},set:function(e){this.m_sURL!==e&&(this.m_sURL=e,this.isDisabled=!e,this.element&&this.element.property("href",this.m_sURL))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){return this.m_sTarget},set:function(e){this.m_sTarget!==e&&(this.m_sTarget=e,this.element&&this.element.property("target",this.m_sTarget))},enumerable:!1,configurable:!0}),t.prototype.update=function(t){void 0===t&&(t=!1),this.element&&this.element.set("pointer-events",this.isDisabled?"none":"auto"),e.prototype.update.call(this,t)},t.prototype.draw=function(t,i,n){e.prototype.draw.call(this,t,i,n),o.Touch.mode(i,"disable"),i.attribute("href",this.m_sURL),i.set("pointer-events",this.isDisabled?"none":"auto"),i.on("click",(function(){return r.Menu.close()})),"blank"===this.m_sTarget&&i.attribute("target","_blank")},t}(i(23993).Item);t.Link=s},74672:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Menu=void 0;var n=i(70655),o=i(9072),r=i(78810),s=function(e){function t(t,i){return void 0===i&&(i={}),e.call(this,t,i)||this}return(0,n.__extends)(t,e),Object.defineProperty(t,"parent",{get:function(){return this.m_pParent},set:function(e){this.m_pParent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t,"isActive",{get:function(){return r.MenuFactory.root instanceof r.MenuFactory},enumerable:!1,configurable:!0}),t.open=function(e,t,i){return void 0===i&&(i={}),new r.MenuFactory(e,i).open(t,i.position,i.margin)},t.openAtElement=function(e,t,i){return void 0===i&&(i={}),new r.MenuFactory(e,i).openAtElement(t,i.position,i.margin)},t.openAtPosition=function(e,t,i,n){return void 0===n&&(n={}),new r.MenuFactory(e,n).openAtPosition(t,i)},t.close=function(e,t){void 0===e&&(e=!1),r.MenuFactory.root&&r.MenuFactory.root.close(e,t)},t.stylesheet=o.Stylesheet.app,t}(r.MenuFactory);t.Menu=s},83040:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Option=void 0;var n=i(84389),o=i(95349),r=function(){function e(e,t){this.m_bHover=!1,this.m_bSelected=!1,this.m_bOpen=!1,this.m_bDisabled=this.m_bDisabledInitial=e,this.m_bInteractable=t}return Object.defineProperty(e.prototype,"menu",{get:function(){return this.m_pMenu},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"elementType",{get:function(){return"li"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInteractable",{get:function(){return this.m_bInteractable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){this.m_bDisabled!==e&&(this.m_bDisabled=e,this.update())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isHovered",{get:function(){return!this.isDisabled&&this.m_bHover},set:function(e){this.m_bHover!==e&&(this.m_bHover=e,this.update())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSelected",{get:function(){return!this.isDisabled&&this.m_bSelected},set:function(e){this.m_bSelected!==e&&(this.m_bSelected=e,this.update())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.m_bOpen},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canOpen",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"closeOnTap",{get:function(){return!1},enumerable:!1,configurable:!0}),e.prototype.update=function(e){var t=this;void 0===e&&(e=!1),(0,o.write)((function(){t.element&&(t.element.selector("disabled",t.isDisabled),t.element.selector("hover",t.isHovered),t.element.selector("selected",t.isSelected&&t.isOpen),t.element.attribute("aria-disabled",t.isDisabled?"true":"false"))}),e)},e.prototype.draw=function(e,t){this.m_pMenu=e,this.m_pElement=t,this.update(!0)},e.prototype.tap=function(){(0,n.call)(this.onTap,this)},e.prototype.open=function(){return!(this.m_bOpen||!this.canOpen)&&(this.m_bOpen=!0,(0,n.call)(this.onOpen,this),!0)},e.prototype.close=function(e){return void 0===e&&(e=!1),!!this.m_bOpen&&(this.m_bOpen=!1,(0,n.call)(this.onClose,this,e),!0)},e.prototype.remove=function(){this.m_bDisabled=this.m_bDisabledInitial,this.m_bHover=!1,this.m_bSelected=!1,this.m_bOpen=!1,this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0),(0,n.call)(this.onRemove,this)},e.prototype.destroy=function(){this.remove(),this.m_pMenu=void 0,(0,n.call)(this.onDestroy,this)},e}();t.Option=r},8186:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var n=i(70655),o=i(84389),r=i(9072),s=function(e){function t(){return e.call(this,!1,!1)||this}return(0,n.__extends)(t,e),t.prototype.draw=function(t,i,n){var s;e.prototype.draw.call(this,t,i),!n&&t.style.options&&t.style.options.separator&&(n=(0,o.extendImmutable)(t.style.options.separator.appearance,((s={"> div":t.style.options.separator.separator})[r.Stylesheet.selector("disabled")]=t.style.options.separator.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.separator.hover,s))),n&&i.style(n,t.stylesheet),i.create("div")},t}(i(83040).Option);t.Separator=s},57118:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Submenu=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(78810),a=function(e){function t(t,i,n,r){void 0===n&&(n=!1),void 0===r&&(r=!0);var s=e.call(this,t,void 0,n||(0,o.isArray)(i)&&0===(0,o.arraySize)(i))||this;return s.m_pOptions=i||[],s.m_bCollapse=r,s}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"submenu",{get:function(){return this.m_pSubmenu},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canOpen",{get:function(){return(0,o.isFunction)(this.m_pOptions)||(0,o.arraySize)(this.m_pOptions)>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeOnTap",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.parse=function(e){var i=this;if("function"!=typeof this.m_pOptions){if(this.m_bCollapse)for(;1===this.m_pOptions.length&&this.m_pOptions[0]instanceof t;){var n=this.m_pOptions[0];this.m_pOptions="function"==typeof n.m_pOptions?n.m_pOptions():n.m_pOptions}if(0===this.m_pOptions.length)return void(this.isDisabled=!0);this.m_pSubmenu=this.m_pSubmenu||new s.MenuFactory(this.m_pOptions,{stylesheet:e.stylesheet,style:e.style,parent:e.parent,minWidth:e.minSubmenuWidth,maxWidth:e.maxSubmenuWidth,delegateWidths:!0,destroyOnClose:!1},e),this.m_pSubmenu.onOpen=function(){i.isSelected=!0},this.m_pSubmenu.onClosing=function(){i.isSelected=!1},this.m_pSubmenu.onClose=function(){i.isSelected=!1,i.close()}}},t.prototype.update=function(t){void 0===t&&(t=!1),this.element&&this.element.attribute("aria-expanded",this.isSelected?"true":"false"),e.prototype.update.call(this,t)},t.prototype.draw=function(t,i,n){var s;e.prototype.draw.call(this,t,i,n),!n&&t.style.options&&t.style.options.submenu&&i.style((0,o.extendImmutable)(t.style.options.submenu.appearance,((s={})[r.Stylesheet.selector("disabled")]=t.style.options.submenu.disabled,s[r.Stylesheet.selector("hover")]=t.style.options.submenu.hover,s[r.Stylesheet.selector("selected")]=t.style.options.submenu.selected,s)),t.stylesheet),i.attribute("aria-haspopup","true"),this.parse(t)},t.prototype.tap=function(){this.isOpen?this.close(!0):this.open(),e.prototype.tap.call(this)},t.prototype.open=function(){if(this.menu){var t=this.menu.opened;"function"==typeof this.m_pOptions&&(this.m_pOptions=this.m_pOptions(),this.parse(this.menu)),t&&this.menu.opened!==this&&t.close(!1)}return!!(e.prototype.open.call(this)&&this.m_pSubmenu&&this.element)&&(this.m_pSubmenu.openSubmenu(this),this.element&&this.element.attribute("aria-expanded","true"),!0)},t.prototype.close=function(t){return void 0===t&&(t=!1),!(!e.prototype.close.call(this,t)||!this.m_pSubmenu)&&(this.m_pSubmenu.close(t),!0)},t.prototype.remove=function(){this.m_pSubmenu&&(this.m_pSubmenu.destroy(),this.m_pSubmenu=void 0),e.prototype.remove.call(this)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.m_pSubmenu&&(this.m_pSubmenu.destroy(),this.m_pSubmenu=void 0)},t}(i(23993).Item);t.Submenu=a},49613:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollbarsButton=t.Scrollbars=void 0;var n=i(53906);Object.defineProperty(t,"Scrollbars",{enumerable:!0,get:function(){return n.Scrollbars}});var o=i(74419);Object.defineProperty(t,"scrollbarsButton",{enumerable:!0,get:function(){return o.scrollbarsButton}})},74419:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollbarsButton=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(56642),a=i(99636),l=i(42396);t.scrollbarsButton=function(e,t,i,c,u){for(var p=[],h=5;h<arguments.length;h++)p[h-5]=arguments[h];return r.Element.create(i,(function(i){var n;a.Drag.on({stylesheet:e.stylesheet,asset:i,edgeScrolling:!1,prioritize:!0,onStart:function(){var r=!1;switch(t){case"left":r=e.canScrollLeft;break;case"up":r=e.canScrollUp;break;case"right":r=e.canScrollRight;break;case"down":r=e.canScrollDown}if(r){var a="left"===t||"right"===t?e.viewport.width:0,l="up"===t||"down"===t?e.viewport.height:0,c=o.Num.round(a/5)*("left"===t?-1:1),p=o.Num.round(l/5)*("up"===t?-1:1);0===c&&0===p||(n=(0,o.scheduleUIInterval)((function(){e.scrollShift(c,p,!0,!0,!1,!1)}),s.SCROLL_DURATION),i.addSelectorSafe(u),e.scrollShift(c,p,!0,!0,!1,!1))}},onMove:function(i){var n=!1;switch(t){case"left":n=e.canScrollLeft;break;case"up":n=e.canScrollUp;break;case"right":n=e.canScrollRight;break;case"down":n=e.canScrollDown}return n&&i.asset.rectangle.isIn(i.asset.rectangleLeft+i.offset.x+i.diffX,i.asset.rectangleTop+i.offset.y+i.diffY)},onEnd:function(){i.removeSelectorSafe(u),n=(0,o.cancelUIInterval)(n)}}),l.Hover.pointer(i,(function(e){return i.selector(c,e.isHovered)})).alwaysOn()}),e.asset,void 0,(0,n.__spreadArray)([{position:"absolute",left:"right"===t?"auto":0,right:"left"===t?"auto":0,top:"down"===t?"auto":0,bottom:"up"===t?"auto":0}],p,!0),e.stylesheet)}},53906:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0;var n=i(70655),o=i(84389),r=i(95349),s=i(22270),a=i(9072),l=i(56642),c=i(99636),u=i(42396),p=i(27636),h=function(e){function t(i){var n,r,l,h,d,m=e.call(this,(0,o.extend)(i,{stylesheet:i.stylesheet||t.stylesheet,hovering:(0,o.castToBoolean)(i.hovering,!0)}))||this;if(m.m_nHorizontalTrack=0,m.m_nVerticalTrack=0,m.m_bVisible=!1,m.m_bShow=!1,m.m_bHide=!1,m.m_bDrag=!1,m.m_nBlink=0,m.m_bBlink=!1,m.m_bBlinkOnInit=!1,m.m_nRetain=0,m.m_bRetain=!1,m.m_nHover=1,m.m_nFocus=1,m.m_nDrag=1,m.m_nCrawl=1,m.native)throw new Error("UI.Scrollbars: Scrollbars are not supported for native scrollers.");if(!m.asset)throw new Error("UI.Scrollbars: Invalid asset.");var f=i.style||t.style;if(!f)return m.m_pTrackSpacing=m.m_pThumbSpacing=new s.Spacing,m.m_nThumbSize=m.m_nThumbMin=1,m;var g=f.offset||new s.Spacing,y=o.Num.max(f.track&&f.track.size||0,1),b=(0,o.castToBoolean)(i.passive);f.thumb=f.thumb||{},f.corner=f.corner||{},m.m_pTrackSpacing=(f.track?f.track.spacing:void 0)||new s.Spacing,m.m_pThumbSpacing=f.thumb.spacing||new s.Spacing,m.m_nThumbSize=o.Num.max(f.thumb.size||0,0)||y,m.m_nThumbMin=o.Num.max((0,o.castToNumber)(f.thumb.min),m.m_nThumbSize),m.m_bBlinkOnInit=(0,o.castToBoolean)(i.blink,!0);var v=m.stylesheet.style([f.track?f.track.appearance:void 0,(n={position:"absolute",boxSizing:"border-box",overflow:"hidden",cursor:"default !important",zIndex:a.Style.ZINDEX_SCROLLBARS,visibility:"hidden",opacity:0},n[a.Stylesheet.selector("visible")]={visibility:"inherit",opacity:1},n[a.Stylesheet.selector("horizontal")]=(0,o.extendImmutable)(f.track?f.track.horizontal:void 0,(r={height:y,bottom:m.spacing.bottom+m.m_pTrackSpacing.bottom+g.bottom,left:m.spacing.left+m.m_pTrackSpacing.left+g.left,right:m.spacing.right+m.m_pTrackSpacing.right+g.right},r[a.Stylesheet.selector("corner")]={right:m.spacing.right+m.m_pTrackSpacing.right+m.m_nThumbSize},r)),n[a.Stylesheet.selector("vertical")]=(0,o.extendImmutable)(f.track?f.track.vertical:void 0,(l={width:y,top:m.spacing.top+m.m_pTrackSpacing.top+g.top,right:m.spacing.right+m.m_pTrackSpacing.right+g.right,bottom:m.spacing.bottom+m.m_pTrackSpacing.bottom+g.bottom},l[a.Stylesheet.selector("corner")]={bottom:m.spacing.bottom+m.m_pTrackSpacing.bottom+m.m_nThumbSize},l)),n[a.Stylesheet.selector("hover")]=f.track?f.track.hover:void 0,n[a.Stylesheet.selector("focus")]=f.track?f.track.focus:void 0,n[a.Stylesheet.selector("drag")]=(0,o.extendImmutable)(f.track?f.track.drag:void 0,{opacity:1,visibility:"inherit"}),n[a.Stylesheet.selector("crawl")]=(0,o.extendImmutable)(f.track?f.track.crawl:void 0,{opacity:1,visibility:"inherit"}),n)]),M=m.stylesheet.style([f.thumb.appearance,(h={position:"absolute"},h[a.Stylesheet.selector("horizontal")]=(0,o.extendImmutable)(f.thumb.horizontal,{width:1,height:m.m_nThumbSize,left:m.m_pThumbSpacing.left,bottom:m.m_pThumbSpacing.bottom}),h[a.Stylesheet.selector("vertical")]=(0,o.extendImmutable)(f.thumb.vertical,{width:m.m_nThumbSize,height:1,right:m.m_pThumbSpacing.right,top:m.m_pThumbSpacing.top}),h[a.Stylesheet.selector("hover")]=(0,o.extendImmutable)(f.thumb.hover,{width:y-m.m_pThumbSpacing.horizontal,height:y-m.m_pThumbSpacing.vertical}),h[a.Stylesheet.selector("focus")]=f.thumb.focus,h[a.Stylesheet.selector("drag")]=(0,o.extendImmutable)(f.thumb.drag,{width:y-m.m_pThumbSpacing.horizontal,height:y-m.m_pThumbSpacing.vertical}),h[a.Stylesheet.selector("crawl")]=(0,o.extendImmutable)(f.thumb.crawl,{width:y-m.m_pThumbSpacing.horizontal,height:y-m.m_pThumbSpacing.vertical}),h)]);return m.horizontal&&(m.m_pHorizontalTrack=a.Element.create("div",(function(e){var t,i;e.addClass(v),e.addSelector("horizontal"),m.m_pHorizontalThumb=e.create("div",(function(e){var t;e.addClass(M),e.addSelector("horizontal"),e.width=0,e.position({x:0,y:0,translate:"accelerated"}),b||(p.Touch.mode(e,"stop"),u.Hover.pointer(e,(function(e){return m.thumb(2,e.isHovered)})).alwaysOn(),c.Drag.on({stylesheet:m.stylesheet,asset:e,direction:"horizontal",edgeScrolling:!1,prioritize:!0,onInit:function(){return 2===m.m_nFocus},onStart:function(){m.m_bDrag=!0,m.drag(2,!0),m.focus(),t=m.scrollLeft},onMove:function(e){m.scrollStart(),m.scrollHorizontal(t+e.diffX*m.horizontalMultiplier)},onEnd:function(){m.m_bDrag=!1,m.scrollEnd(),m.drag(2,!1)}}))})),b?e.pointerEvents=!1:(p.Touch.mode(e,"stop"),u.Hover.pointer(e,(function(e){return m.track(2,e.isHovered)})).alwaysOn(),c.Drag.on({stylesheet:m.stylesheet,asset:e,direction:"horizontal",edgeScrolling:!1,prioritize:!0,onInit:function(){return 2===m.m_nHover},onStart:function(e){i=e.offset.x,t=(0,o.scheduleUIInterval)((function(){m.crawl(2,!0),m.crawlTo(2,i)}),200),m.m_bDrag=!0,m.crawlTo(2,i),m.focus()},onMove:function(e){i=e.offset.x+e.diffX},onEnd:function(){(0,o.cancelUIInterval)(t),m.m_bDrag=!1,m.crawl(2,!1)}}))}),m.parent)),m.vertical&&(m.m_pVerticalTrack=a.Element.create("div",(function(e){var t,i;e.addClass(v),e.addSelector("vertical"),m.m_pVerticalThumb=e.create("div",(function(e){var t;e.addClass(M),e.addSelector("vertical"),e.height=0,e.position({x:0,y:0,translate:"accelerated"}),b||(p.Touch.mode(e,"stop"),u.Hover.pointer(e,(function(e){return m.thumb(4,e.isHovered)})).alwaysOn(),c.Drag.on({stylesheet:m.stylesheet,asset:e,direction:"vertical",edgeScrolling:!1,prioritize:!0,onInit:function(){return 4===m.m_nFocus},onStart:function(){m.m_bDrag=!0,m.drag(4,!0),m.focus(),t=m.scrollTop},onMove:function(e){m.scrollStart(),m.scrollVertical(t+e.diffY*m.verticalMultiplier)},onEnd:function(){m.m_bDrag=!1,m.scrollEnd(),m.drag(4,!1)}}))})),b?e.pointerEvents=!1:(p.Touch.mode(e,"stop"),u.Hover.pointer(e,(function(e){return m.track(4,e.isHovered)})).alwaysOn(),c.Drag.on({stylesheet:m.stylesheet,asset:e,direction:"vertical",edgeScrolling:!1,prioritize:!0,onInit:function(){return 4===m.m_nHover},onStart:function(e){i=e.offset.y,t=(0,o.scheduleUIInterval)((function(){m.crawl(4,!0),m.crawlTo(4,i)}),200),m.m_bDrag=!0,m.crawlTo(4,i),m.focus()},onMove:function(e){i=e.offset.y+e.diffY},onEnd:function(){(0,o.cancelUIInterval)(t),m.m_bDrag=!1,m.crawl(4,!1)}}))}),m.parent)),m.horizontal&&m.vertical&&(m.m_pCorner=a.Element.create("div",void 0,m.parent,void 0,[f.corner.appearance,(d={position:"absolute",boxSizing:"border-box",width:m.m_nThumbSize,height:m.m_nThumbSize,right:m.spacing.right+m.m_pTrackSpacing.right,bottom:m.spacing.bottom+m.m_pTrackSpacing.bottom,zIndex:a.Style.ZINDEX_SCROLLBARS,visibility:"hidden",opacity:0},d[a.Stylesheet.selector("visible")]={visibility:"inherit",opacity:1},d[a.Stylesheet.selector("horizontal")]={height:y},d[a.Stylesheet.selector("vertical")]={width:y},d[a.Stylesheet.selector("drag")]=f.corner.drag,d[a.Stylesheet.selector("crawl")]=f.corner.crawl,d)],m.stylesheet)),m}return(0,n.__extends)(t,e),t.on=function(e){return new t(e)},t.invalidate=function(e,i,n){void 0===n&&(n=!1);var o=!1;return p.Touch.each("*",this.types,(function(r){r instanceof t&&("*"===e||r.asset.isChildOf(e))&&(r.invalidate(i,n),o=!0)})),o},Object.defineProperty(t.prototype,"horizontalThumbSize",{get:function(){return o.Num.max(this.width>0?this.m_nHorizontalTrack/this.width*(this.width-this.rangeHorizontal):this.m_nHorizontalTrack,this.m_nThumbMin)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"verticalThumbSize",{get:function(){return o.Num.max(this.height>0?this.m_nVerticalTrack/this.height*(this.height-this.rangeVertical):this.m_nVerticalTrack,this.m_nThumbMin)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"horizontalMultiplier",{get:function(){return this.m_pHorizontalThumb?o.Num.max(this.rangeHorizontal/(this.m_nHorizontalTrack-this.horizontalThumbSize),1):1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"verticalMultiplier",{get:function(){return this.m_pVerticalThumb?o.Num.max(this.rangeVertical/(this.m_nVerticalTrack-this.verticalThumbSize),1):1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isObservable",{get:function(){return this.isScrollable&&(this.isHovered||this.m_bShow||this.m_bBlink||this.m_bRetain)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDragging",{get:function(){return c.Drag.isDragging&&!this.m_bDrag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this.m_bShow},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHidden",{get:function(){return this.m_bHide},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.isHorizontalVisible||this.isVerticalVisible},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontalVisible",{get:function(){return!(this.m_fnCondition&&!this.m_fnCondition(this))&&(!!(2&(this.m_nDrag|this.m_nCrawl))||!(!this.isInitialized||this.isZooming||this.m_bHide||this.isScrolling&&4===this.direction||4===this.m_nDrag||4===this.m_nCrawl)&&((this.rangeHorizontal>0||0!==this.bounceHorizontal)&&((0,o.castToBoolean)(this.isScrolling&&3&this.direction)||this.isObservable)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVerticalVisible",{get:function(){return!(this.m_fnCondition&&!this.m_fnCondition(this))&&(!!(4&(this.m_nDrag|this.m_nCrawl))||!(!this.isInitialized||this.isZooming||this.m_bHide||this.isScrolling&&2===this.direction||2===this.m_nDrag||2===this.m_nCrawl)&&((this.rangeVertical>0||0!==this.bounceVertical)&&((0,o.castToBoolean)(this.isScrolling&&5&this.direction)||this.isObservable)))},enumerable:!1,configurable:!0}),t.prototype.styles=function(e){var t=this;void 0===e&&(e=!1);var i=this.rangeHorizontal>0||0!==this.bounceHorizontal,n=this.rangeVertical>0||0!==this.bounceVertical,o=this.isHorizontalVisible,s=this.isVerticalVisible;this.m_bVisible=o||s,this.m_nHorizontalTrack=this.viewport.width-this.m_pTrackSpacing.horizontal-this.m_pThumbSpacing.horizontal,this.m_nVerticalTrack=this.viewport.height-this.m_pTrackSpacing.vertical-this.m_pThumbSpacing.vertical,i&&n&&(this.m_nHorizontalTrack-=this.m_nThumbSize,this.m_nVerticalTrack-=this.m_nThumbSize),(0,r.write)((function(){var e=i&&n&&(o||s),r=!1,a=!1;o&&!s&&2&(t.m_nHover|t.m_nFocus|t.m_nDrag|t.m_nCrawl)&&(r=!0),s&&!o&&4&(t.m_nHover|t.m_nFocus|t.m_nDrag|t.m_nCrawl)&&(a=!0),t.m_pHorizontalTrack&&(t.m_pHorizontalTrack.selector("visible",o),t.m_pHorizontalTrack.selector("hover",2===t.m_nHover&&!t.isDragging),t.m_pHorizontalTrack.selector("focus",2===t.m_nFocus&&!t.isDragging),t.m_pHorizontalTrack.selector("drag",2===t.m_nDrag),t.m_pHorizontalTrack.selector("crawl",2===t.m_nCrawl),t.m_pHorizontalTrack.selector("corner",e),t.m_pHorizontalThumb&&(t.m_pHorizontalThumb.selector("hover",2===t.m_nHover&&!t.isDragging),t.m_pHorizontalThumb.selector("focus",2===t.m_nFocus&&!t.isDragging),t.m_pHorizontalThumb.selector("drag",2===t.m_nDrag),t.m_pHorizontalThumb.selector("crawl",2===t.m_nCrawl),o&&(t.m_pHorizontalThumb.width=t.horizontalThumbSize))),t.m_pVerticalTrack&&(t.m_pVerticalTrack.selector("visible",s),t.m_pVerticalTrack.selector("hover",4===t.m_nHover&&!t.isDragging),t.m_pVerticalTrack.selector("focus",4===t.m_nFocus&&!t.isDragging),t.m_pVerticalTrack.selector("drag",4===t.m_nDrag),t.m_pVerticalTrack.selector("crawl",4===t.m_nCrawl),t.m_pVerticalTrack.selector("corner",e),t.m_pVerticalThumb&&(t.m_pVerticalThumb.selector("hover",4===t.m_nHover&&!t.isDragging),t.m_pVerticalThumb.selector("focus",4===t.m_nFocus&&!t.isDragging),t.m_pVerticalThumb.selector("drag",4===t.m_nDrag),t.m_pVerticalThumb.selector("crawl",4===t.m_nCrawl),s&&(t.m_pVerticalThumb.height=t.verticalThumbSize))),t.m_pCorner&&(t.m_pCorner.selector("visible",e),t.m_pCorner.selector("horizontal",r),t.m_pCorner.selector("vertical",a)),t.position()}),e||!this.asset.isInDOM)},t.prototype.position=function(){if(this.m_pHorizontalThumb){var e=this.horizontalThumbSize;this.m_pHorizontalThumb.x=(this.rangeHorizontal>0?(0,o.castToNumber)((this.m_nHorizontalTrack-e)/this.rangeHorizontal*this.scrollLeft):0)+o.Num.range(this.bounceHorizontal,-e+this.m_nThumbMin/2,e-this.m_nThumbMin/2)}if(this.m_pVerticalThumb){e=this.verticalThumbSize;this.m_pVerticalThumb.y=(this.rangeVertical>0?(0,o.castToNumber)((this.m_nVerticalTrack-e)/this.rangeVertical*this.scrollTop):0)+o.Num.range(this.bounceVertical,-e+this.m_nThumbMin/2,e-this.m_nThumbMin/2)}},t.prototype.track=function(e,t){var i=4===e?this.rangeVertical:this.rangeHorizontal,n=t&&i>0?e:1;this.m_nHover!==n&&(this.m_nHover=n,this.styles())},t.prototype.thumb=function(e,t){var i=4===e?this.rangeVertical:this.rangeHorizontal,n=t&&i?e:1;this.m_nFocus!==n&&(this.m_nFocus=n,this.styles())},t.prototype.drag=function(e,t){var i=t?e:1;this.m_nDrag!==i&&(this.m_nDrag=i,this.styles())},t.prototype.crawl=function(e,t){var i=t?e:1;this.m_nCrawl!==i&&(this.m_nCrawl=i,this.styles())},t.prototype.crawlTo=function(e,t){var i=0,n=0;if(4===e&&this.m_pVerticalThumb?n=(i=this.m_pVerticalThumb.y)+this.verticalThumbSize:2===e&&this.m_pHorizontalThumb&&(n=(i=this.m_pHorizontalThumb.x)+this.horizontalThumbSize),t<i||t>n){var o=t<i?-2:2;this.scrollShift(4===e?0:this.horizontalMultiplier*(n-i)/o,4===e?this.verticalMultiplier*(n-i)/o:0,!0,!0,!1,!1)}},t.prototype.retain=function(){var e=this;(0,o.cancelTimeout)(this.m_nRetain),this.m_bRetain=!0,this.m_nRetain=(0,o.scheduleTimeout)((function(){e.m_nRetain=0,e.m_bRetain=!1,e.styles()}),1500),this.styles()},t.prototype.onScrollInit=function(){this.m_bBlinkOnInit&&this.blink(),e.prototype.onScrollInit.call(this)},t.prototype.onScrollResize=function(){this.isZooming||this.styles(),e.prototype.onScrollResize.call(this)},t.prototype.onScrollDirection=function(){this.styles(),e.prototype.onScrollDirection.call(this)},t.prototype.onScrollHover=function(){this.isHovered||this.isHovercanceled?this.styles():this.retain(),e.prototype.onScrollHover.call(this)},t.prototype.onScrollStart=function(){this.styles(),e.prototype.onScrollStart.call(this)},t.prototype.onScrollMove=function(t,i){this.m_bVisible?this.position():this.styles(),this.isDragging&&this.blink(),e.prototype.onScrollMove.call(this,t,i)},t.prototype.onScrollEnd=function(){this.retain(),e.prototype.onScrollEnd.call(this)},t.prototype.onScrollZoomStart=function(){this.styles(),e.prototype.onScrollZoomStart.call(this)},t.prototype.onScrollZoomEnd=function(){this.retain(),e.prototype.onScrollZoomEnd.call(this)},t.prototype.blink=function(){var e=this;(0,o.cancelTimeout)(this.m_nBlink),this.m_nBlink=(0,o.scheduleTimeout)((function(){e.m_nBlink=0,e.m_bBlink=!1,e.styles()}),3e3),this.m_bBlink||(this.m_bBlink=!0,this.styles())},t.prototype.show=function(e){return e!==this.m_bShow&&(this.m_bShow=e,this.styles()),this.m_bShow},t.prototype.hide=function(e){return e!==this.m_bHide&&(this.m_bHide=e,this.styles()),this.m_bHide},t.prototype.invalidate=function(e,t){void 0===t&&(t=!1),this.m_fnCondition=e,this.styles(t)},t.prototype.onDestroy=function(){return(0,o.cancelTimeout)(this.m_nRetain),(0,o.cancelTimeout)(this.m_nBlink),this.m_pCorner&&(this.m_pCorner.destroy(),this.m_pCorner=void 0),this.m_pHorizontalThumb&&(this.m_pHorizontalThumb.destroy(),this.m_pHorizontalThumb=void 0),this.m_pHorizontalTrack&&(this.m_pHorizontalTrack.destroy(),this.m_pHorizontalTrack=void 0),this.m_pVerticalThumb&&(this.m_pVerticalThumb.destroy(),this.m_pVerticalThumb=void 0),this.m_pVerticalTrack&&(this.m_pVerticalTrack.destroy(),this.m_pVerticalTrack=void 0),e.prototype.onDestroy.call(this)},t.stylesheet=a.Stylesheet.app,t}(l.Scroll);t.Scrollbars=h},96889:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarLink=t.ToolbarMenu=t.ToolbarButton=t.ToolbarStatic=t.ToolbarItem=t.ToolbarComponent=t.Toolbar=void 0;var n=i(68349);Object.defineProperty(t,"Toolbar",{enumerable:!0,get:function(){return n.Toolbar}});var o=i(69712);Object.defineProperty(t,"ToolbarComponent",{enumerable:!0,get:function(){return o.ToolbarComponent}});var r=i(90246);Object.defineProperty(t,"ToolbarItem",{enumerable:!0,get:function(){return r.Item}});var s=i(51919);Object.defineProperty(t,"ToolbarStatic",{enumerable:!0,get:function(){return s.Static}});var a=i(29584);Object.defineProperty(t,"ToolbarButton",{enumerable:!0,get:function(){return a.Button}});var l=i(52882);Object.defineProperty(t,"ToolbarMenu",{enumerable:!0,get:function(){return l.Menu}});var c=i(10446);Object.defineProperty(t,"ToolbarLink",{enumerable:!0,get:function(){return c.Link}})},29584:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0;var n=i(70655),o=function(e){function t(t,i,n,o){return e.call(this,t,i,n,o||!0)||this}return(0,n.__extends)(t,e),t}(i(51919).Static);t.Button=o},69712:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarComponent=void 0;var n=i(70655),o=i(85238),r=i(68349),s=function(e){function t(t,i){void 0===i&&(i=o.LayerComponent.configuration);var n=e.call(this,i)||this;return n.m_pProperties=t,n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"toolbar",{get:function(){return this.m_pToolbar},enumerable:!1,configurable:!0}),t.prototype.onRender=function(){this.m_pToolbar=new r.Toolbar(this.m_pProperties,{parent:this.layer})},t}(o.LayerComponent);t.ToolbarComponent=s},90246:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Item=void 0;var n=i(84389),o=i(9072),r=i(15661),s=i(42396),a=function(){function e(e,t,i){void 0===e&&(e={}),void 0===t&&(t=""),void 0===i&&(i=!1),this.m_bVisible=!0,this.m_bDisabled=!1,this.m_bSelected=!1,this.m_bHover=!1,this.m_pStyle=e,this.m_sId=t,this.m_bTappable=i}return Object.defineProperty(e.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"toolbar",{get:function(){return this.m_pToolbar},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return this.toolbar&&this.toolbar.view},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.m_pElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"div"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.m_sId},set:function(e){this.m_sId!==e&&(this.toolbar&&this.toolbar.pop(this),this.m_sId=e,this.toolbar&&this.toolbar.push(this))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){var t=this;e!==this.m_bVisible&&(this.m_bVisible=e,this.element&&(this.element.removeSelectorSafe("show"),this.element.removeSelectorSafe("hide"),this.element.selectorSafe("hidden",!e),this.element.animateSelector(e?"show":"hide",(function(){return t.update()}),!0)),this.toolbar&&(this.onVisibilityChange(),this.toolbar.onItemVisibilityChange(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.m_bDisabled},set:function(e){var t=this;e!==this.m_bDisabled&&(this.m_bDisabled=e,this.element&&(this.element.removeSelectorSafe("disable"),this.element.removeSelectorSafe("enable"),this.element.selectorSafe("disabled",e),this.element.selectorSafe("hover",!e&&this.m_bHover),this.element.animateSelector(e?"disable":"enable",(function(){return t.update()}),!0),e&&this.element.removeSelectorSafe("tap")),this.toolbar&&(this.onStateChange(),this.toolbar.onItemStateChange(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSelected",{get:function(){return this.m_bSelected},set:function(e){var t=this;e!==this.m_bSelected&&(this.m_bSelected=e,this.element&&(this.element.removeSelectorSafe("select"),this.element.removeSelectorSafe("deselect"),this.element.selectorSafe("selected",e),this.element.animateSelector(e?"select":"deselect",(function(){return t.update()}),!0)),this.toolbar&&(this.onSelectChange(),this.toolbar.onItemSelectChange(this)))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTappable",{get:function(){return this.m_bTappable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tap",{get:function(){return this.m_pTap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isExcluded",{get:function(){var e=this;return!!(this.m_pExclude&&this.view&&(0,n.findFirst)(this.m_pExclude,(function(t){return t===e.toolbar.view})))||!(!this.m_pInclude||this.view&&(0,n.findFirst)(this.m_pInclude,(function(t){return t===e.toolbar.view})))},enumerable:!1,configurable:!0}),e.prototype.onMouseEnter=function(){this.m_bHover=!0,this.m_bTappable&&!this.isDisabled&&this.element&&this.element.addSelectorSafe("hover")},e.prototype.onMouseLeave=function(){this.m_bHover=!1,this.m_bTappable&&this.element&&this.element.removeSelectorSafe("hover")},e.prototype.onTap=function(){this.toolbar&&this.toolbar.onItemTap(this)},e.prototype.onTapStart=function(){this.m_bTappable&&!this.isDisabled&&this.isVisible&&this.element&&this.element.addSelectorSafe("tap")},e.prototype.onTapEnd=function(){this.m_bTappable&&this.element&&this.element.removeSelectorSafe("tap")},e.prototype.onVisibilityChange=function(){(0,n.call)(this.isVisible?this.onShow:this.onHide,this)},e.prototype.onStateChange=function(){(0,n.call)(this.isDisabled?this.onDisable:this.onEnable,this)},e.prototype.onSelectChange=function(){(0,n.call)(this.isSelected?this.onSelect:this.onDeselect,this)},e.prototype.onViewChange=function(e){return!1},e.prototype.update=function(){this.m_pToolbar&&this.m_pToolbar.update()},e.prototype.visible=function(e){return this.isVisible=e,this},e.prototype.show=function(){return this.isVisible=!0,this},e.prototype.hide=function(){return this.isVisible=!1,this},e.prototype.disabled=function(e){return this.isDisabled=e,this},e.prototype.enable=function(){return this.isDisabled=!1,this},e.prototype.disable=function(){return this.isDisabled=!0,this},e.prototype.selected=function(e){return this.isSelected=e,this},e.prototype.select=function(){return this.isSelected=!0,this},e.prototype.deselect=function(){return this.isSelected=!1,this},e.prototype.includeInViews=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.m_pInclude=e,this.element&&(this.element.selector("excluded",this.isExcluded),this.update()),this},e.prototype.excludeInViews=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.m_pExclude=e,this.element&&(this.element.selector("excluded",this.isExcluded),this.update()),this},e.prototype.onDraw=function(e,t){var i,a=this;this.m_pToolbar=e,this.m_pElement||(this.m_pElement=t,t.style([{backgroundRepeat:"no-repeat",backgroundPosition:"0px 0px",textOverflow:"ellipsis",textAlign:"center",verticalAlign:"top",cursor:"default",transition:"opacity 0.3s"},this.m_pStyle.appearance,(i={boxSizing:"border-box",width:"fill"===this.m_pStyle.width?"horizontal"===e.orientation?0:"auto":this.m_pStyle.width||"auto",height:"fill"===this.m_pStyle.height?"vertical"===e.orientation?0:"auto":this.m_pStyle.height||"auto",flexGrow:"fill"===("horizontal"===e.orientation?this.m_pStyle.width:this.m_pStyle.height)?1:0,whiteSpace:"nowrap",overflow:"hidden"},i[o.Stylesheet.selector("hidden")+":not(.".concat(o.Stylesheet.selectorHash("hide"),")")]={display:"none"},i[o.Stylesheet.selector("excluded")]={display:"none"},i[o.Stylesheet.selector("selected")]=this.m_pStyle.selected,i[o.Stylesheet.selector("hover")]=this.m_pStyle.hover,i[o.Stylesheet.selector("tap")]=this.m_pStyle.tap,i[o.Stylesheet.selector("disabled")]=(0,n.extend)({opacity:.25,cursor:"default !important"},this.m_pStyle.disabled),i[o.Stylesheet.selector("show")]=this.m_pStyle.animations?this.m_pStyle.animations.show:void 0,i[o.Stylesheet.selector("hide")]=this.m_pStyle.animations?this.m_pStyle.animations.hide:void 0,i[o.Stylesheet.selector("select")]=this.m_pStyle.animations?this.m_pStyle.animations.select:void 0,i[o.Stylesheet.selector("deselect")]=this.m_pStyle.animations?this.m_pStyle.animations.deselect:void 0,i[o.Stylesheet.selector("enable")]=this.m_pStyle.animations?this.m_pStyle.animations.enable:void 0,i[o.Stylesheet.selector("disable")]=this.m_pStyle.animations?this.m_pStyle.animations.disable:void 0,i)],e.stylesheet),t.selector("hidden",!this.m_bVisible),t.selector("disabled",this.m_bDisabled),t.selector("selected",this.m_bSelected),t.selector("excluded",this.isExcluded),e.dispatcher.hook("OnViewChange","synchronous",(function(){t.selector("excluded",a.isExcluded),a.onViewChange(a.view)&&a.update()})),s.Hover.pointer(this.m_pElement,void 0,(function(){return a.onMouseEnter()}),(function(){return a.onMouseLeave()})),t.onDestroy=function(e,t){t&&a.destroy()},this.m_bTappable&&(this.m_pTap=r.Tap.on(t,(function(){!a.isDisabled&&a.isVisible&&a.onTap()}),(function(){return a.onTapStart()}),(function(){return a.onTapEnd()}))))},e.prototype.delete=function(){var e=this;this.element&&(this.element.removeSelectorSafe("show"),this.element.removeSelectorSafe("hide"),this.element.addSelectorSafe("hidden"),this.element.animateSelector("hide",(function(){return e.destroy()}),!0),(0,n.call)(this.onDelete,this))},e.prototype.destroy=function(){this.m_pElement&&(this.m_pElement.destroy(),this.m_pElement=void 0,(0,n.call)(this.onDestroy,this)),this.m_pToolbar&&(this.m_pToolbar.pop(this),this.m_pToolbar.update(),this.m_pToolbar=void 0)},e}();t.Item=a},10446:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var n=i(70655),o=i(27636),r=function(e){function t(t,i,n,o,r,s){void 0===o&&(o="blank");var a=e.call(this,t,n,r,!s||function(){return s(a)})||this;return a.m_sURL=i,a.m_sTarget=o,a}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return"a"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"URL",{get:function(){return this.m_sURL},set:function(e){this.m_sURL!==e&&(this.m_sURL=e,this.element&&this.element.property("href",this.m_sURL))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){return this.m_sTarget},set:function(e){this.m_sTarget!==e&&(this.m_sTarget=e,this.element&&this.element.property("target",this.m_sTarget))},enumerable:!1,configurable:!0}),t.prototype.onStateChange=function(){this.element&&this.element.set("pointer-events",this.isDisabled?"none":"auto"),e.prototype.onStateChange.call(this)},t.prototype.onDraw=function(t,i,n){var r=this;o.Touch.mode(i,"disable"),i.attribute("href",this.m_sURL),i.set("pointer-events",this.isDisabled?"none":"auto"),i.on("click",(function(){return r.onTap()})),"blank"===this.m_sTarget&&i.attribute("target","_blank"),e.prototype.onDraw.call(this,t,i,n)},t}(i(51919).Static);t.Link=r},52882:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Menu=void 0;var n=i(70655),o=i(84389),r=i(33463),s=i(9072),a=function(e){function t(t,i,n,o,r){var s=e.call(this,t,i,r,!0)||this;return s.m_pOptions=n,s.m_sPosition=o,s}return(0,n.__extends)(t,e),t.prototype.onTap=function(){var t=this;if(this.toolbar&&this.element){var i=(0,o.isFunction)(this.m_pOptions);this.m_pMenu=this.m_pMenu||new r.Menu((0,o.isFunction)(this.m_pOptions)?this.m_pOptions(this):this.m_pOptions,{stylesheet:this.toolbar.stylesheet,style:this.style.menu,destroyOnClose:i,onOpen:function(){t.element&&t.element.addSelectorSafe("opened"),t.tap&&t.tap.disable()},onClosing:function(){t.element&&t.element.removeSelectorSafe("opened")},onClose:function(){t.element&&t.element.removeSelectorSafe("opened"),t.tap&&t.tap.enable()},onDestroy:i?function(){t.m_pMenu=void 0}:void 0}),this.m_pMenu&&this.m_pMenu.openAtElement(this.element,this.m_sPosition||("horizontal"===this.toolbar.orientation?"bottom":"right"))}e.prototype.onTap.call(this)},t.prototype.onVisibilityChange=function(){!this.isVisible&&this.m_pMenu&&this.m_pMenu.close(),e.prototype.onVisibilityChange.call(this)},t.prototype.onStateChange=function(){this.isDisabled&&this.m_pMenu&&this.m_pMenu.close(),e.prototype.onSelectChange.call(this)},t.prototype.onDraw=function(t,i,n){var o;e.prototype.onDraw.call(this,t,i,n),i.style(((o={})[s.Stylesheet.selector("opened")]=this.style.opened,o),t.stylesheet)},t.prototype.destroy=function(){this.m_pOptions=[],this.m_pMenu&&(this.m_pMenu.destroy(),this.m_pMenu=void 0),e.prototype.destroy.call(this)},t}(i(51919).Static);t.Menu=a},51919:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Static=void 0;var n=i(70655),o=i(84389),r=function(e){function t(t,i,n,r){void 0===i&&(i="");var s=e.call(this,t,n,(0,o.isFunction)(r)||(0,o.castToBoolean)(r))||this;return s.m_sLabel=i,(0,o.isFunction)(r)&&(s.m_fnTapped=r),s}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"label",{get:function(){return this.m_sLabel},set:function(e){this.m_sLabel!==e&&(this.m_sLabel=e,this.m_pLabel&&(this.m_pLabel.text=e,this.update()))},enumerable:!1,configurable:!0}),t.prototype.onTap=function(){(0,o.call)(this.m_fnTapped,this),e.prototype.onTap.call(this)},t.prototype.onDraw=function(t,i,n){this.m_pLabel=n||i,this.m_pLabel.text=this.m_sLabel,e.prototype.onDraw.call(this,t,i)},t}(i(90246).Item);t.Static=r},68349:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Toolbar=void 0;var n=i(70655),o=i(84389),r=i(9072),s=i(29165),a=i(42396),l=i(49613),c=i(85238),u=i(56642),p="UI.Toolbar.Item: Item is invalid because it is already attached to another toolbar.",h=function(){function e(){for(var t,i,n,p=this,h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];this.m_pItems={},this.m_bInitialized=!1,this.dispatcher=new s.Hooks;var m,f=o.extendImmutable.apply(void 0,h),g=f.style||e.style||{},y=f.parent instanceof c.Layer?f.parent.stylesheet:void 0,b="vertical"===g.orientation;if(!f.parent)throw new Error("UI.Toolbar: No parent layer or element supplied.");this.m_pStylesheet=f.stylesheet||y||e.stylesheet,this.m_sOrientation=g.orientation||"horizontal",this.m_pView=f.view,this.onReady=f.onReady,this.onResize=f.onResize,this.onTap=f.onTap,this.onVisibility=f.onVisibility,this.onState=f.onState,this.onSelect=f.onSelect,this.onDestroy=f.onDestroy,f.parent instanceof c.Layer?(this.m_pLayer=f.parent,this.m_pElement=f.parent.context,this.m_pLayer.hook("OnCalculated","synchronous",(function(){return p.init()})),this.m_pLayer.hook("OnResize","synchronous",(function(){return p.update()})),this.m_pLayer.hook("OnDestroy","synchronous",(function(){return p.destroy()})),this.m_pLayer.wait((function(){return p.m_bInitialized}))):this.m_pElement=f.parent,a.Hover.pointer(this.m_pElement,(function(e){return p.hover(e.isHovered)})),this.m_pElement.onDestroy=function(e,t){t&&p.destroy()},g.scrollable||this.onResize?(m=this.m_pElement.create("div"),this.m_pScroll=(g.scrollbars?l.Scrollbars:u.Scroll).on({stylesheet:this.stylesheet,classScrollLeft:g.indicators?r.Stylesheet.selectorHash("scroll-left-up"):"",classScrollUp:g.indicators?r.Stylesheet.selectorHash("scroll-left-up"):"",classScrollRight:g.indicators?r.Stylesheet.selectorHash("scroll-right-bottom"):"",classScrollDown:g.indicators?r.Stylesheet.selectorHash("scroll-right-bottom"):"",asset:this.m_pElement,direction:b?"vertical":"horizontal",style:g.scrollbars,focus:!1,keyboard:!1,autoInitialize:!this.layer,onInit:this.layer?function(){return p.ready()}:void 0,onViewport:this.layer?function(){return p.layer?p.layer.viewport:void 0}:void 0,onResize:function(e){p.onResize&&p.onResize(e.width,e.height,p)},passive:(0,o.castToBoolean)(g.passive,!0),hovering:!(0,o.castToBoolean)(g.passive,!0),blink:(0,o.castToBoolean)(g.blink)}),g.indicators&&(this.m_pScrollLeftUp=(0,l.scrollbarsButton)(this.m_pScroll,b?"up":"left","nav","hover","crawl",g.indicators.begin.appearance,((t={opacity:0,visibility:"hidden"})[r.Stylesheet.selector("hover")]=g.indicators.begin.hover,t[r.Stylesheet.selector("crawl")]=g.indicators.begin.crawl,t)),this.m_pScrollRightDown=(0,l.scrollbarsButton)(this.m_pScroll,b?"down":"right","nav","hover","crawl",g.indicators.end.appearance,((i={opacity:0,visibility:"hidden"})[r.Stylesheet.selector("hover")]=g.indicators.end.hover,i[r.Stylesheet.selector("crawl")]=g.indicators.end.crawl,i)))):(m=this.m_pElement,this.layer||m.style({overflow:"hidden"},this.m_pStylesheet)),this.m_pElement.styleSafe([g.appearance,(n={},n[r.Stylesheet.selector("hover")]=g.hover,n[r.Stylesheet.selector("scroll-left-up")]={"> nav:nth-of-type(1)":{visibility:"inherit",opacity:1}},n[r.Stylesheet.selector("scroll-right-bottom")]={"> nav:nth-of-type(2)":{visibility:"inherit",opacity:1}},n)],this.m_pStylesheet),m.styleSafe({display:"flex",justifyContent:"space-between",alignItems:"stretch",flexWrap:"nowrap",flexDirection:b?"column":"row",height:b?"100%":"auto",boxSizing:"border-box"},this.m_pStylesheet),this.m_pRegionLeftTop=m.append("div",void 0,[{display:"flex",flex:"1 0 auto",flexWrap:"nowrap",flexDirection:b?"column":"row","> div":{flexShrink:0}},g.spacing?{padding:[g.spacing.top,b?g.spacing.right:0,b?0:g.spacing.bottom,g.spacing.left]}:void 0],this.m_pStylesheet),this.m_pRegionRightBottom=m.append("div",void 0,[{display:"flex",flexWrap:"nowrap",flexDirection:b?"column":"row","> div":{flexShrink:0}},g.spacing?{padding:[b?0:g.spacing.top,g.spacing.right,g.spacing.bottom,b?g.spacing.left:0]}:void 0],this.m_pStylesheet),(0,o.each)(f.left,(function(e){return p.addToLeft(e)})),(0,o.each)(f.right,(function(e){return p.addToRight(e)})),(0,o.each)(f.top,(function(e){return p.addToTop(e)})),(0,o.each)(f.bottom,(function(e){return p.addToBottom(e)}))}return e.create=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new(e.bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},Object.defineProperty(e.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.m_sOrientation},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scroll",{get:function(){return this.m_pScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return this.m_pView},set:function(e){this.m_pView!==e&&(this.m_pView=e,this.dispatcher.emitHook("OnViewChange",{}),this.update())},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.m_pScroll?this.m_pScroll.init():this.ready()},e.prototype.ready=function(){this.m_bInitialized||(this.m_bInitialized=!0,(0,o.call)(this.onReady,this)),this.layer&&this.layer.done()},e.prototype.hover=function(e){this.m_pElement&&this.m_pElement.selectorSafe("hover",e)},e.prototype.push=function(e){return(0,o.setAny)(this.m_pItems,e.id,e),e},e.prototype.pop=function(e){this.dispatcher.unhookContext(e),(0,o.destroy)(this.m_pItems,e.id)},e.prototype.get=function(e){return(0,o.getAny)(this.m_pItems,e)},e.prototype.onItemTap=function(e){(0,o.call)(this.onTap,e)},e.prototype.onItemVisibilityChange=function(e){(0,o.call)(this.onVisibility,e)},e.prototype.onItemStateChange=function(e){(0,o.call)(this.onState,e)},e.prototype.onItemSelectChange=function(e){(0,o.call)(this.onSelect,e)},e.prototype.add=function(e,t){var i=this;void 0===t&&(t="left");var n="left"===t||"top"===t?this.m_pRegionLeftTop:this.m_pRegionRightBottom;if(e.toolbar===this)return e;if(e.toolbar)throw new Error(p);return n.append(e.type,(function(t){return e.onDraw(i,t)})),this.push(e)},e.prototype.insert=function(e,t){var i=this;void 0===t&&(t="left");var n="left"===t||"top"===t?this.m_pRegionLeftTop:this.m_pRegionRightBottom;if(e.toolbar===this)return e;if(e.toolbar)throw new Error(p);return n.insert("div",(function(t){return e.onDraw(i,t)})),this.push(e)},e.prototype.insertAtItem=function(e,t,i){var n=this;void 0===i&&(i="before");var o=t.toolbar===this&&t.element&&t.element.parent instanceof r.Element?t.element.parent:this.m_pRegionLeftTop;if(e.toolbar===this)return e;if(e.toolbar)throw new Error(p);return o.insert("div",(function(t){return e.onDraw(n,t)}),void 0,void 0,t.element?t.element.index+("after"===i?1:0):-1),this.push(e)},e.prototype.addToLeft=function(e){return this.add(e,"left")},e.prototype.addToRight=function(e){return this.add(e,"right")},e.prototype.addToTop=function(e){return this.add(e,"top")},e.prototype.addToBottom=function(e){return this.add(e,"bottom")},e.prototype.delete=function(e){e.toolbar===this&&e.delete()},e.prototype.update=function(){this.m_pScroll&&this.m_pScroll.update(!1)},e.prototype.changeView=function(e){this.view=e},e.prototype.destroy=function(){this.m_pElement&&(this.hover(!1),(0,o.call)(this.onDestroy,this),this.m_pScrollLeftUp&&(this.m_pScrollLeftUp.destroy(),this.m_pScrollLeftUp=void 0),this.m_pScrollRightDown&&(this.m_pScrollRightDown.destroy(),this.m_pScrollRightDown=void 0),this.m_pScroll&&(this.m_pScroll.destroy(),this.m_pScroll=void 0),this.m_pRegionLeftTop.destroy(),this.m_pRegionRightBottom.destroy(),this.m_pElement&&(this.m_pElement.off("mouseenter"),this.m_pElement.off("mouseleave")),this.m_pItems={},this.m_pElement=void 0,this.m_pLayer=void 0)},e.stylesheet=r.Stylesheet.app,e}();t.Toolbar=h},25215:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workspace=t.Tiles=t.Tile=t.Collections=t.Collection=void 0;var n=i(40068);Object.defineProperty(t,"Collection",{enumerable:!0,get:function(){return n.Collection}});var o=i(77189);Object.defineProperty(t,"Collections",{enumerable:!0,get:function(){return o.Collections}});var r=i(84579);Object.defineProperty(t,"Tile",{enumerable:!0,get:function(){return r.Tile}});var s=i(15324);Object.defineProperty(t,"Tiles",{enumerable:!0,get:function(){return s.Tiles}});var a=i(1262);Object.defineProperty(t,"Workspace",{enumerable:!0,get:function(){return a.Workspace}})},40068:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collection=void 0;var n=i(70655),o=i(88678),r=i(45992),s=i(84579),a=i(15324),l=function(e){function t(t){var i=e.call(this,t,a.Tiles,s.Tile)||this;return i.m_sName="",i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"workspace",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tiles",{get:function(){return this.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){this.m_sName!==e&&(this.m_sName=e,this.rerender("update"),this.workspace&&this.workspace.detectChange())},enumerable:!1,configurable:!0}),t.prototype.onPushOrPop=function(){e.prototype.onPushOrPop.call(this),this.rerender("refresh")},t.prototype.serialize=function(){return e.prototype.serialize.call(this,"tiles")},t.prototype.deserialize=function(t,i){return e.prototype.deserialize.call(this,t,i,"tiles")},t.prototype.delete=function(){return this.pop(),this},(0,n.__decorate)([o.serialize,o.deserialize],t.prototype,"name",null),t}(r.GridCluster);t.Collection=l},77189:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collections=void 0;var n=i(70655),o=i(40068),r=i(84389),s=function(e){function t(t,i){var n=e.call(this,t,i,"horizontal")||this;return n.hook("OnDimensionChange","synchronous",(function(){return i.detectChange()})),n.hook("OnItemChange","synchronous",(function(){return i.detectChange()})),n}return(0,n.__extends)(t,e),t.prototype.append=function(){return this.appendItem(new o.Collection(this))},t.prototype.insert=function(){return this.insertItem(new o.Collection(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new o.Collection(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new o.Collection(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,r.each)(i,(function(i){t.appendItem(new o.Collection(t)).deserialize(i,e)})),this},t}(i(45992).GridClusters);t.Collections=s},84579:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tile=void 0;var n=i(70655),o=i(45992),r=i(88678),s=function(e){function t(t,i){var n=e.call(this,t)||this;return n.m_pRef=i,n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"workspace",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"collection",{get:function(){return this.ancestor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ref",{get:function(){return this.m_pRef},set:function(e){this.m_pRef!==e&&(this.m_pRef=e,this.rerender("update"),this.workspace&&this.workspace.detectChange())},enumerable:!1,configurable:!0}),t.prototype.serialize=function(){return e.prototype.serialize.call(this)},t.prototype.deserialize=function(t,i){return e.prototype.deserialize.call(this,t,i)},t.prototype.delete=function(){return this.pop(),this},(0,n.__decorate)([r.serialize,r.deserialize],t.prototype,"ref",null),t}(o.GridNode);t.Tile=s},15324:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tiles=void 0;var n=i(70655),o=i(40068),r=i(84389),s=i(45992),a=i(84579),l=function(e){function t(t,i,n){var o=e.call(this,t,i,n,"horizontal")||this;return o.hook("OnDimensionChange","synchronous",(function(){return o.detectChange()})),o.hook("OnItemChange","synchronous",(function(){return o.detectChange()})),o}return(0,n.__extends)(t,e),t.prototype.detectChange=function(){var e=this.parent;if(e instanceof o.Collection){var t=e.workspace;t&&t.detectChange()}},t.prototype.append=function(){return this.appendItem(new a.Tile(this))},t.prototype.insert=function(){return this.insertItem(new a.Tile(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new a.Tile(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new a.Tile(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,r.each)(i,(function(i){t.appendItem(new a.Tile(t)).deserialize(i,e)})),this},t}(s.GridNodes);t.Tiles=l},1262:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workspace=void 0;var n=i(70655),o=i(40068),r=i(77189),s=i(88678),a=i(45992),l=i(84389),c=function(e){function t(t){var i=e.call(this,r.Collections,o.Collection,t)||this;return i.m_sName="",i.m_bLoading=!1,i.m_pChange=new l.Debounce((function(){i.m_bLoading||(i.emitHook("OnChange",{workspace:i}),i.onChanged&&i.onChanged(i))}),"frame"),i}return(0,n.__extends)(t,e),t.create=function(e){return new t(e)},Object.defineProperty(t.prototype,"collections",{get:function(){return this.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){this.m_sName!==e&&(this.m_sName=e,this.emitHook("OnRename",{workspace:this}),this.rerender("update"),this.detectChange())},enumerable:!1,configurable:!0}),t.prototype.detectChange=function(){return this.m_pChange.invoke(),this},t.prototype.serialize=function(){return e.prototype.serialize.call(this,"collections")},t.prototype.deserialize=function(t){return e.prototype.deserialize.call(this,t,new l.Stack,"collections")},t.prototype.load=function(e){var t=this;return this.m_bLoading=!0,this.deserialize(e),(0,l.scheduleEvent)((function(){t.m_bLoading=!1})),this},t.prototype.save=function(){return this.serialize()},t.prototype.destroy=function(){this.m_bLoading=!0,e.prototype.destroy.call(this)},(0,n.__decorate)([s.serialize,s.deserialize],t.prototype,"name",null),t}(a.Grid);t.Workspace=c},8087:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZoombarComponent=t.Zoombar=void 0;var n=i(6157);Object.defineProperty(t,"Zoombar",{enumerable:!0,get:function(){return n.Zoombar}});var o=i(80724);Object.defineProperty(t,"ZoombarComponent",{enumerable:!0,get:function(){return o.ZoombarComponent}})},80724:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZoombarComponent=void 0;var n=i(70655),o=i(85238),r=i(6157),s=function(e){function t(t,i){void 0===i&&(i=o.LayerComponent.configuration);var n=e.call(this,i)||this;n.m_pProperties=t;var s=t.style||r.Zoombar.style;return s&&i.width(s.width).minWidth(s.width).height(s.height).minHeight(s.height),n}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"zoombar",{get:function(){return this.m_pZoombar},enumerable:!1,configurable:!0}),t.prototype.onRender=function(){this.m_pZoombar=new r.Zoombar(this.m_pProperties,{layer:this.layer})},t}(o.LayerComponent);t.ZoombarComponent=s},6157:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Zoombar=void 0;var n=i(70655),o=i(84389),r=i(99636),s=i(9072),a=i(42396),l=i(20294),c=i(56642),u=i(85238),p=i(15661),h=i(95349),d=function(){function e(){for(var t,i,n,r,p=this,h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];this.m_bVisible=!0,this.m_nTrack=0,this.m_nThumb=0;var m=o.extendImmutable.apply(void 0,h),f=m.style||e.style,g=m.layer?m.layer.stylesheet:void 0,y=m.target instanceof c.Scroll?m.target:m.target instanceof u.Layer?m.target.scroll:void 0;if(!f)throw new Error("UI.Zoombar: No styles supplied.");if(!m.layer)throw new Error("UI.Zoombar: No parent layer supplied.");if(!y)throw new Error("UI.Zoombar: No target supplied.");if(this.m_pStylesheet=m.stylesheet||g||e.stylesheet,this.m_pLayer=m.layer,this.m_pTarget=y,this.m_nTrack=f.track.height,this.m_nThumb=f.thumb.height,this.m_pLayer.isVisible=!1,this.element.styleSafe([f.appearance,(t={},t[s.Stylesheet.selector("hover")]=f.hover,t[s.Stylesheet.selector("crawl")]=f.crawl,t)],this.stylesheet),this.element.create("div",(function(e){e.append("div",(function(t){p.m_pTrack=t.create("div",(function(t){t.position({x:0,y:0,translate:"accelerated"}),t.create("div"),t.create("div"),a.Hover.pointer(p.element,(function(t){return e.selectorSafe("hover",t.isHovered)}))}))}),{position:"absolute",left:(f.width-f.track.width)/2,top:f.track.upper&&f.track.upper.offset||0,width:f.track.width,bottom:f.track.lower&&f.track.lower.offset||0,overflow:"hidden","> div":{position:"absolute",left:0,right:0,height:2*f.track.height-f.thumb.height,"> div:first-child":(0,o.extendImmutable)(f.track.upper?f.track.upper.appearance:void 0,{position:"absolute",borderRadius:0,left:0,right:0,top:-f.track.height+f.thumb.height/2,height:f.track.height-f.thumb.height/2}),"> div:last-child":(0,o.extendImmutable)(f.track.lower?f.track.lower.appearance:void 0,{position:"absolute",borderRadius:0,left:0,right:0,top:f.thumb.height/2,height:f.track.height-f.thumb.height/2})}},p.stylesheet),e.create("div",void 0,[f.track.upper?f.track.upper.appearance:void 0,{position:"absolute",left:(f.width-f.track.width)/2,top:0,width:f.track.width,height:f.track.upper&&f.track.upper.offset||0}],p.stylesheet),e.create("div",void 0,[f.track.lower?f.track.lower.appearance:void 0,{position:"absolute",left:(f.width-f.track.width)/2,bottom:0,width:f.track.width,height:f.track.lower&&f.track.lower.offset||0}],p.stylesheet),p.m_pThumb=e.create("div",(function(t){var i;t.create("div",(function(i){var n,o,r;if(f.thumb.buttons){if(f.thumb.buttons.max){var l=f.thumb.buttons.max;p.m_pMax=i.append("div",(function(e){e.selector("disabled",!p.m_pTarget.canZoomIn),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[l.appearance,(n={position:"absolute",left:0,right:0,top:0,height:f.thumb.height/3},n[s.Stylesheet.selector("hover")]=l.hover,n[s.Stylesheet.selector("disabled")]=l.disabled,n)],p.stylesheet)}if(f.thumb.buttons.fit){var c=f.thumb.buttons.fit;p.m_pFit=i.append("div",(function(e){e.selector("disabled",p.m_pTarget.isZoomFitHorizontal),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[c.appearance,(o={position:"absolute",left:0,right:0,top:f.thumb.height/3,height:f.thumb.height/3},o[s.Stylesheet.selector("hover")]=c.hover,o[s.Stylesheet.selector("disabled")]=c.disabled,o)],p.stylesheet)}if(f.thumb.buttons.min){var u=f.thumb.buttons.min;p.m_pMin=i.append("div",(function(e){e.selector("disabled",!p.m_pTarget.canZoomOut),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[u.appearance,(r={position:"absolute",left:0,right:0,bottom:0,height:f.thumb.height/3},r[s.Stylesheet.selector("hover")]=u.hover,r[s.Stylesheet.selector("disabled")]=u.disabled,r)],p.stylesheet)}}a.Hover.pointer(t,(function(t){i.selectorSafe("hover",t.isHovered),e.selectorSafe("focus",t.isHovered)})),p.thumb(t,i)}),[f.thumb.appearance,(i={position:"absolute",left:(f.width-f.thumb.width)/2,width:f.thumb.width,height:f.thumb.height},i[s.Stylesheet.selector("hover")]=f.thumb.hover,i[s.Stylesheet.selector("grab")]=f.thumb.grab,i)],p.stylesheet),t.position({x:0,y:0,translate:"accelerated"})}),{position:"absolute",left:0,right:0,height:f.thumb.height},p.stylesheet),p.track(f,e)}),((i={position:"absolute",left:0,right:0,top:(f.height-f.track.height)/2,height:f.track.height})[s.Stylesheet.selector("crawl-in")]={"> div:first-child > div > div:first-child":f.track.upper?f.track.upper.crawl:void 0,"> div:nth-child(2)":f.track.upper?f.track.upper.crawl:void 0},i[s.Stylesheet.selector("crawl-out")]={"> div:first-child > div > div:last-child":f.track.lower?f.track.lower.crawl:void 0,"> div:nth-child(3)":f.track.lower?f.track.lower.crawl:void 0},i),this.stylesheet),f.zoomIn){var b=f.zoomIn;this.m_pIn=this.element.create("div",(function(e){e.selector("disabled",!p.m_pTarget.canZoomIn),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[b.appearance,(n={position:"absolute",left:(f.width-b.width)/2,top:0,height:b.height,width:b.width},n[s.Stylesheet.selector("hover")]=b.hover,n[s.Stylesheet.selector("crawl")]=b.crawl,n[s.Stylesheet.selector("disabled")]=b.disabled,n)],this.stylesheet)}if(f.zoomOut){var v=f.zoomOut;this.m_pOut=this.element.create("div",(function(e){e.selector("disabled",!p.m_pTarget.canZoomOut),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[v.appearance,(r={position:"absolute",left:(f.width-v.width)/2,top:f.height-v.height,height:v.height,width:v.width},r[s.Stylesheet.selector("hover")]=v.hover,r[s.Stylesheet.selector("crawl")]=v.crawl,r[s.Stylesheet.selector("disabled")]=v.disabled,r)],this.stylesheet)}this.m_pTarget.hook("OnZoomChange","synchronous",(function(e){return p.position(e.zoom)})),this.m_pTarget.hook("OnZoomStart","framed",(function(){return p.update(!1)})),this.m_pTarget.hook("OnZoomEnd","framed",(function(){return p.update(!1)})),this.m_pTarget.hook("OnScrollInit","synchronous",(function(){return p.update()})),this.m_pTarget.hook("OnScrollResize","framed",(function(){return p.update()})),a.Hover.pointer(this.element,(function(e){return p.element.selectorSafe("hover",e.isHovered)})),l.Wheel.on(this.element,(function(e){e.wheel>0?p.m_pTarget.zoomIn():p.m_pTarget.zoomOut()}))}return e.create=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new(e.bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},Object.defineProperty(e.prototype,"element",{get:function(){return this.m_pLayer.context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diff",{get:function(){return this.m_pTarget.zoomMax-this.m_pTarget.zoomMin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.m_nTrack-this.m_nThumb},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stylesheet",{get:function(){return this.m_pStylesheet},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this.m_bVisible},set:function(e){this.m_bVisible!==e&&(this.m_bVisible=e,this.update())},enumerable:!1,configurable:!0}),e.prototype.thumb=function(e,t){var i,n,s,a=this,l=function(){t.addSelectorSafe("grab"),a.m_pMax&&a.m_pMax.removeSelectorSafe("hover"),a.m_pFit&&a.m_pFit.removeSelectorSafe("hover"),a.m_pMin&&a.m_pMin.removeSelectorSafe("hover")};r.Drag.on({asset:e,prioritize:!0,onStart:function(){i=a.size-a.size/a.diff*(a.m_pTarget.zoom-a.m_pTarget.zoomMin),n=o.DateTime.precise,s=(0,o.scheduleTimeout)((function(){n=0,s=0,l()}),p.TAP_SINGLE_TIMEOUT)},onMove:function(e){if(0===n||Math.abs(e.diffY)>5||o.DateTime.elapsed(n,!0)>p.TAP_SINGLE_TIMEOUT){var t=o.Num.range(i+e.diffY,0,a.size),r=a.m_pTarget.zoomMin+a.diff/a.size*(a.size-t);0!==n&&(n=0,l()),0!==s&&(s=(0,o.cancelTimeout)(s)),a.position(a.m_pTarget.zoom=r)}},onEnd:function(i){if(t.removeSelectorSafe("grab"),s=(0,o.cancelTimeout)(s),o.DateTime.elapsed(n,!0)<=p.TAP_SINGLE_TIMEOUT){var r=e.rectangleLeft+i.offset.x+i.diffX,l=e.rectangleTop+i.offset.y+i.diffY;a.m_pMax&&a.m_pMax.rectangle.isIn(r,l)?a.m_pTarget.zoom<1?a.m_pTarget.zoomToActual():a.m_pTarget.zoomToMax():a.m_pFit&&a.m_pFit.rectangle.isIn(r,l)?a.m_pTarget.zoomToFitHorizontal():a.m_pMin&&a.m_pMin.rectangle.isIn(r,l)&&(a.m_pTarget.zoom>1?a.m_pTarget.zoomToActual():a.m_pTarget.zoomToMin())}}})},e.prototype.track=function(e,t){var i,n,s,a=this;r.Drag.on({asset:this.element,prioritize:!0,onStart:function(r){var l="stop",c=function(){if(0!==s&&o.DateTime.elapsed(s,!0)>p.TAP_SINGLE_TIMEOUT&&(s=0),0===s){var r=(e.height-e.track.height)/2+a.size-a.size/a.diff*(a.m_pTarget.zoom-a.m_pTarget.zoomMin),u=i<r?"in":i>r+e.thumb.height?"out":"stop";u!==l&&(l=u,a.element.addSelectorSafe("crawl"),t.selectorSafe("crawl-in","in"===l),t.selectorSafe("crawl-out","out"===l),a.m_pIn&&a.m_pIn.selectorSafe("crawl","in"===l),a.m_pOut&&a.m_pOut.selectorSafe("crawl","out"===l),a.m_pTarget.zoomCrawl(l,1500))}n=(0,o.scheduleFrame)((function(){return c()}))};i=r.offset.y,s=o.DateTime.precise,c()},onMove:function(e){i=e.offset.y+e.diffY},onEnd:function(){if(n=(0,o.cancelFrame)(n),o.DateTime.elapsed(s,!0)<=p.TAP_SINGLE_TIMEOUT){var r=(e.height-e.track.height)/2+a.size-a.size/a.diff*(a.m_pTarget.zoom-a.m_pTarget.zoomMin);i<r?a.m_pTarget.zoomIn():i>r+e.thumb.height&&a.m_pTarget.zoomOut()}a.m_pTarget.zoomCrawlStop(),a.element.removeSelectorSafe("crawl"),t.removeSelectorSafe("crawl-in"),t.removeSelectorSafe("crawl-out"),a.m_pIn&&a.m_pIn.removeSelectorSafe("crawl"),a.m_pOut&&a.m_pOut.removeSelectorSafe("crawl")}})},e.prototype.position=function(e){var t=this;void 0===e&&(e=this.m_pTarget.zoom),(0,h.write)((function(){var i=o.Num.range(o.Num.round(t.size-t.size/t.diff*(e-t.m_pTarget.zoomMin)),0,t.size);t.m_pThumb.position({x:0,y:i}),t.m_pTrack.position({x:0,y:i})}))},e.prototype.update=function(e){void 0===e&&(e=!0),e&&this.position(),this.m_pIn&&this.m_pIn.selectorSafe("disabled",!this.m_pTarget.canZoomIn),this.m_pMax&&this.m_pMax.selectorSafe("disabled",!this.m_pTarget.canZoomIn),this.m_pFit&&this.m_pFit.selectorSafe("disabled",this.m_pTarget.isZoomFitHorizontal),this.m_pMin&&this.m_pMin.selectorSafe("disabled",!this.m_pTarget.canZoomOut),this.m_pOut&&this.m_pOut.selectorSafe("disabled",!this.m_pTarget.canZoomOut),this.m_pLayer.isVisible=this.isVisible&&this.m_pTarget.canZoom},e.stylesheet=s.Stylesheet.app,e}();t.Zoombar=d},81285:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(70655);(0,n.__exportStar)(i(65739),t),(0,n.__exportStar)(i(57810),t),(0,n.__exportStar)(i(48178),t)},65739:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},57810:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},48178:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},40910:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upgraded=t.unassigned=t.slots=t.detached=t.destroyed=t.getDefinitionType=t.definition=t.created=t.block=t.assigned=t.affects=t.unmountNamespace=t.mountNamespace=t.Namespaces=t.isRequired=t.detectChange=t.parseVariables=t.lookupVariable=t.Nodes=t.NodeBlock=t.Node=t.Map=t.Conditions=t.ConditionBlock=t.Condition=t.Clusters=t.Cluster=t.Branches=t.Branch=void 0;var n=i(6845);Object.defineProperty(t,"Branch",{enumerable:!0,get:function(){return n.Branch}});var o=i(80985);Object.defineProperty(t,"Branches",{enumerable:!0,get:function(){return o.Branches}});var r=i(10370);Object.defineProperty(t,"Cluster",{enumerable:!0,get:function(){return r.Cluster}});var s=i(16742);Object.defineProperty(t,"Clusters",{enumerable:!0,get:function(){return s.Clusters}});var a=i(64332);Object.defineProperty(t,"Condition",{enumerable:!0,get:function(){return a.Condition}});var l=i(39078);Object.defineProperty(t,"ConditionBlock",{enumerable:!0,get:function(){return l.ConditionBlock}});var c=i(27354);Object.defineProperty(t,"Conditions",{enumerable:!0,get:function(){return c.Conditions}});var u=i(28322);Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return u.Map}});var p=i(82722);Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return p.Node}});var h=i(96698);Object.defineProperty(t,"NodeBlock",{enumerable:!0,get:function(){return h.NodeBlock}});var d=i(9959);Object.defineProperty(t,"Nodes",{enumerable:!0,get:function(){return d.Nodes}});var m=i(18141);Object.defineProperty(t,"lookupVariable",{enumerable:!0,get:function(){return m.lookupVariable}}),Object.defineProperty(t,"parseVariables",{enumerable:!0,get:function(){return m.parseVariables}});var f=i(79538);Object.defineProperty(t,"detectChange",{enumerable:!0,get:function(){return f.observe}});var g=i(65526);Object.defineProperty(t,"isRequired",{enumerable:!0,get:function(){return g.isRequired}});var y=i(75846);Object.defineProperty(t,"Namespaces",{enumerable:!0,get:function(){return y.Namespaces}}),Object.defineProperty(t,"mountNamespace",{enumerable:!0,get:function(){return y.mountNamespace}}),Object.defineProperty(t,"unmountNamespace",{enumerable:!0,get:function(){return y.unmountNamespace}});var b=i(44741);Object.defineProperty(t,"affects",{enumerable:!0,get:function(){return b.affects}});var v=i(47745);Object.defineProperty(t,"assigned",{enumerable:!0,get:function(){return v.assigned}});var M=i(90523);Object.defineProperty(t,"block",{enumerable:!0,get:function(){return M.block}});var _=i(91095);Object.defineProperty(t,"created",{enumerable:!0,get:function(){return _.created}});var S=i(70145);Object.defineProperty(t,"definition",{enumerable:!0,get:function(){return S.definition}}),Object.defineProperty(t,"getDefinitionType",{enumerable:!0,get:function(){return S.getDefinitionType}});var I=i(2404);Object.defineProperty(t,"destroyed",{enumerable:!0,get:function(){return I.destroyed}});var T=i(73852);Object.defineProperty(t,"detached",{enumerable:!0,get:function(){return T.detached}});var N=i(57192);Object.defineProperty(t,"slots",{enumerable:!0,get:function(){return N.slots}});var j=i(27357);Object.defineProperty(t,"unassigned",{enumerable:!0,get:function(){return j.unassigned}});var w=i(12234);Object.defineProperty(t,"upgraded",{enumerable:!0,get:function(){return w.upgraded}})},6845:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Branch=void 0;var n=i(70655),o=i(16742),r=i(64332),s=i(27354),a=i(70145),l=i(84389),c=i(45992),u=i(29165),p=i(10370),h=i(88678),d=i(2812),m=i(79538),f=function(e){function t(t){var i=e.call(this,t,o.Clusters,p.Cluster)||this;return i.m_nOffset=0,i.m_sCulling="first",i.m_sTerminator="continuous",i.m_pConditions=new s.Conditions(r.Condition,i),i.m_nSpacing=i.rectangles.spacingTop("children"),i}return(0,n.__extends)(t,e),Object.defineProperty(t,"isValidating",{get:function(){return this.m_bValidating},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessor",{get:function(){return this.predecessorSibling instanceof t&&this.predecessorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successor",{get:function(){return this.successorSibling instanceof t&&this.successorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cluster",{get:function(){return this.ancestor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conditions",{get:function(){return this.m_pConditions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clusters",{get:function(){return this.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this.m_nSpacing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offset",{get:function(){return this.m_nOffset},set:function(e){if(this.m_nOffset!==e){var t=this.parent;this.m_nOffset=e,this.applyResize("redraw"),t&&t.onDimensions()}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"culling",{get:function(){return this.m_sCulling},set:function(e){this.m_sCulling!==e&&(this.m_sCulling=e,this.emitHook("OnCullingChange",{branch:this,culling:this.m_sCulling}),(0,m.observe)(this.map))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"terminator",{get:function(){return"jump"!==this.m_sTerminator||this.m_pJump?"epilogue"!==this.m_sTerminator||this.m_pEpilogue?this.m_sTerminator:"abort":"continuous"},set:function(e){("jump"!==e||this.m_pJump)&&("epilogue"!==e||this.m_pEpilogue||(this.m_pEpilogue={}),this.m_sTerminator!==e&&(this.m_sTerminator=e,this.emitHook("OnTerminatorChange",{branch:this,terminator:this.m_sTerminator,jump:this.jump,epilogue:"abort"===this.m_sTerminator&&this.m_pEpilogue||void 0}),(0,m.observe)(this.map)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jump",{get:function(){if("jump"===this.terminator)return this.m_pJump},set:function(e){var t=this.m_sTerminator,i=this.m_pJump;e?(this.m_pJump=e,this.m_sTerminator="jump"):("jump"===this.m_sTerminator&&(this.m_sTerminator="continuous"),this.m_pJump=void 0),t===this.m_sTerminator&&i===this.m_pJump||(this.emitHook("OnTerminatorChange",{branch:this,terminator:this.m_sTerminator,jump:this.m_pJump,epilogue:void 0}),(0,m.observe)(this.map))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"epilogue",{get:function(){if("epilogue"===this.terminator)return this.m_pEpilogue},set:function(e){var t=this.m_sTerminator,i=this.m_pEpilogue;e?(this.m_pEpilogue=e,this.m_sTerminator="epilogue"):("epilogue"===this.m_sTerminator&&(this.m_sTerminator="abort"),this.m_pEpilogue=void 0),t===this.m_sTerminator&&(0,l.compare)(i,this.m_pEpilogue,!0)||(this.emitHook("OnTerminatorChange",{branch:this,terminator:this.m_sTerminator,jump:this.m_pJump,epilogue:this.m_pEpilogue}),(0,m.observe)(this.map))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){this.m_sName!==e&&(this.m_sName=e,this.rerender("update"))},enumerable:!1,configurable:!0}),t.prototype.onChange=function(t){1&t.reason&&(this.layout&&this.layout.beforeResize(this.rectangles),this.conditions.each((function(e){e.block&&e.block.rerender()}))),(0,m.observe)(this.map),e.prototype.onChange.call(this,t)},t.prototype.onMove=function(t,i,n){e.prototype.onMove.call(this,t,i,n,"branches")},t.prototype.forEachDescendant=function(t){return e.prototype.forEachDescendant.call(this,t)||this.conditions.each(t)},t.prototype.resize=function(t,i){if(this.isPopped&&this.rectangles.isShifted){var n=this.spacing+this.offset-this.rectangles.spacingTop("children");0!==n&&(this.rectangles.spacingTop("children",this.spacing+this.offset),this.clusters.each((function(e){e.shift(0,n)})))}return e.prototype.resize.call(this,t,i)},t.prototype.serialize=function(){var t={};if(this.conditions.count>0){var i=[];this.conditions.each((function(e){i.push(e.serialize())})),t.conditions=i}switch("first"!==this.culling&&(t.culling=this.culling),this.terminator){case"jump":this.m_pJump&&(t.jump=this.m_pJump.id);break;case"abort":case"epilogue":t.jump="abort",t.epilogue="epilogue"===this.terminator&&this.m_pEpilogue||void 0}return(0,l.extend)(e.prototype.serialize.call(this,"clusters"),t)},t.prototype.deserialize=function(t,i){var o,r=this,s=i||new l.Stack;switch(e.prototype.deserialize.call(this,t,s,"clusters"),(o=this.conditions).deserialize.apply(o,(0,n.__spreadArray)([s],t.conditions||[],!1)),t.culling){case"each":case"all":case"none":this.culling=t.culling;break;default:this.culling="first"}return"abort"===t.jump?(this.m_pEpilogue=t.epilogue,this.m_sTerminator=this.m_pEpilogue?"epilogue":"abort"):(this.m_sTerminator="continuous",this.m_pEpilogue=void 0,(0,l.isFilledString)(t.jump)&&s.add((function(){r.map&&r.map.forEach((function(e){return e.id===t.jump&&(r.m_pJump=e,r.m_sTerminator="jump",!0)}),"clusters")}))),i||s.flush(),this},t.prototype.insertBefore=function(){if(!this.parent)throw new Error("The branch dispatcher is invalid.");return this.parent.insertBefore(this)},t.prototype.insertAfter=function(){if(!this.parent)throw new Error("The branch dispatcher is invalid.");return this.parent.insertAfter(this)},t.prototype.duplicate=function(e){var t=[],i=function(e){return(0,l.each)(e.conditions,(function(e){(0,d.rotateId)(t,e)})),(0,l.each)(e.clusters,(function(e){(0,l.each)(e.branches,(function(e){i(e)})),(0,l.each)(e.nodes,(function(e){(0,d.rotateId)(t,e),(0,l.each)(e.slots,(function(e){(0,d.rotateId)(t,e)}))})),(0,d.rotateId)(t,e)})),(0,d.rotateId)(t,e)};return(e=e||this.insertAfter()).deserialize((0,d.mapIds)(t,i(this.serialize()))),e.render(!0),e},t.prototype.delete=function(){return this.pop(),this},t.prototype.reset=function(){this.conditions.reset(),e.prototype.reset.call(this)},t.prototype.destroy=function(){this.conditions.destroy(),e.prototype.destroy.call(this)},t.m_bValidating=!1,(0,n.__decorate)([a.definition,(0,u.hookup)("OnRename")],t.prototype,"name",null),(0,n.__decorate)([h.serializer],t.prototype,"serialize",null),(0,n.__decorate)([h.deserializer],t.prototype,"deserialize",null),t}(c.GridBranch);t.Branch=f},80985:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Branches=void 0;var n=i(70655),o=i(6845),r=i(84389),s=i(45992),a=i(79538),l=function(e){function t(t,i){return e.call(this,t,i)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"cluster",{get:function(){return this.parent},enumerable:!1,configurable:!0}),t.prototype.onDimensions=function(){var t=0;this.each((function(e){t=r.Num.max(e.spacing+e.offset,t)})),this.each((function(e){var i=t-e.rectangles.spacingTop("children");0!==i&&(e.rectangles.spacingTop("children",t),e.clusters.each((function(t){e.rectangles.isShifted?t.shift(0,i):t.position()})),e.resize(),e.isMoving&&e.guides())})),(0,a.observe)(this.cluster.map),e.prototype.onDimensions.call(this)},t.prototype.append=function(){return this.appendItem(new o.Branch(this))},t.prototype.insert=function(){return this.insertItem(new o.Branch(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new o.Branch(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new o.Branch(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,r.each)(i,(function(i){t.appendItem(new o.Branch(t)).deserialize(i,e)})),this},t}(s.GridBranches);t.Branches=l},10370:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cluster=void 0;var n=i(70655),o=i(6845),r=i(70145),s=i(84389),a=i(45992),l=i(29165),c=i(80985),u=i(88678),p=i(82722),h=i(9959),d=i(2812),m=i(79538),f=function(e){function t(t){var i=e.call(this,t,h.Nodes,p.Node)||this;return i.m_pBranches=new c.Branches(o.Branch,i),i}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessor",{get:function(){return this.predecessorSibling instanceof t&&this.predecessorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successor",{get:function(){return this.successorSibling instanceof t&&this.successorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branch",{get:function(){return this.ancestor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nodes",{get:function(){return this.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branches",{get:function(){return this.m_pBranches},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBranches",{get:function(){return this.branches.count>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){this.m_sName!==e&&(this.m_sName=e,this.rerender("update"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"jumps",{get:function(){var e=this,t=[];return this.map&&this.map.forEach((function(i){i.jump===e&&t.push(i)}),"branches"),t},enumerable:!1,configurable:!0}),t.prototype.onChange=function(t){(0,m.observe)(this.map),e.prototype.onChange.call(this,t)},t.prototype.onPop=function(t){(0,s.each)(this.jumps,(function(e){e.jump=void 0})),e.prototype.onPop.call(this,t)},t.prototype.forEachDescendant=function(t){return e.prototype.forEachDescendant.call(this,t)||this.branches.each(t)},t.prototype.resize=function(t,i){return!this.isMoving&&e.prototype.resize.call(this,t,i)},t.prototype.serialize=function(){var t={};if(this.branches.count>0){var i=[];this.branches.each((function(e){i.push(e.serialize())})),t.branches=i}return(0,s.extend)(e.prototype.serialize.call(this,"nodes"),t)},t.prototype.deserialize=function(t,i){var o,r=i||new s.Stack;return e.prototype.deserialize.call(this,t,r,"nodes"),(o=this.branches).deserialize.apply(o,(0,n.__spreadArray)([r],t.branches||[],!1)),i||r.flush(),this},t.prototype.insertBefore=function(){if(!this.parent)throw new Error("The cluster dispatcher is invalid.");return this.parent.insertBefore(this)},t.prototype.insertAfter=function(){if(!this.parent)throw new Error("The cluster dispatcher is invalid.");return this.parent.insertAfter(this)},t.prototype.duplicate=function(e){var t=[],i=function(e){return(0,s.each)(e.branches,(function(e){(0,s.each)(e.conditions,(function(e){(0,d.rotateId)(t,e)})),(0,s.each)(e.clusters,(function(e){i(e)})),(0,d.rotateId)(t,e)})),(0,s.each)(e.nodes,(function(e){(0,d.rotateId)(t,e),(0,s.each)(e.slots,(function(e){(0,d.rotateId)(t,e)}))})),(0,d.rotateId)(t,e)};return(e=e||this.insertAfter()).deserialize((0,d.mapIds)(t,i(this.serialize()))),e.render(!0),e},t.prototype.delete=function(){return this.pop(),this},t.prototype.reset=function(){this.branches.reset(),e.prototype.reset.call(this)},t.prototype.destroy=function(){this.branches.destroy(),e.prototype.destroy.call(this)},(0,n.__decorate)([r.definition,(0,l.hookup)("OnRename")],t.prototype,"name",null),(0,n.__decorate)([u.serializer],t.prototype,"serialize",null),(0,n.__decorate)([u.deserializer],t.prototype,"deserialize",null),t}(a.GridCluster);t.Cluster=f},16742:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Clusters=void 0;var n=i(70655),o=i(28322),r=i(6845),s=i(10370),a=i(84389),l=i(45992),c=i(79538),u=function(e){function t(t,i){return e.call(this,t,i)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"map",{get:function(){return this.branch instanceof o.Map?this.branch:this.branch&&this.branch.map},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branch",{get:function(){return this.parent instanceof r.Branch||this.parent instanceof o.Map?this.parent:void 0},enumerable:!1,configurable:!0}),t.prototype.onDimensions=function(){(0,c.observe)(this.map),e.prototype.onDimensions.call(this)},t.prototype.append=function(){return this.appendItem(new s.Cluster(this))},t.prototype.insert=function(){return this.insertItem(new s.Cluster(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new s.Cluster(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new s.Cluster(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,a.each)(i,(function(i){t.appendItem(new s.Cluster(t)).deserialize(i,e)})),this},t}(l.GridClusters);t.Clusters=u},39078:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionBlock=void 0;var n=i(70655),o=i(44741),r=i(84389),s=i(75846),a=i(88678),l=i(42907),c=i(56212),u=i(82722),p=i(79538),h=i(75048),d=function(){function e(e){this.m_bInitialized=!1,this.m_nUpdate=0,this.m_sCurrentName="",this.m_sCurrentLabel="",this.m_pCondition=e}return Object.defineProperty(e,"label",{get:function(){return this._()},enumerable:!1,configurable:!0}),e.create=function(t,i,n){if(t instanceof e){if(t.condition!==i)return;return t}if((0,r.isString)(t)){var o=s.Namespaces.active.conditionBlocks.ofType(t);if(!o)return;t=o}return new t(i).init(n)},Object.defineProperty(e.prototype,"id",{get:function(){return this.condition.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"map",{get:function(){return this.condition.map},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"condition",{get:function(){return this.m_pCondition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.type.label},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"labels",{get:function(){return this.m_pLabels||(this.m_pLabels=new c.Labels(this))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.labels.node||this.labels.clusterOrphan||this.labels.branchOrphan||""},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e,t){var i;if((0,r.isFilledString)(t)){var n=this.condition.map;n&&n.forEach((function(n){if("slots"===e){if(n instanceof u.Node){var o=n.slot(t);if(o)return i=o,!0}}else if(n.id===t)return i=n,!0;return!1}),"slots"===e?"nodes":e)}return i},e.prototype.init=function(e){return e&&((0,l.invokeMarker)("created",this),this.m_bInitialized=!0),this},e.prototype.assignedToCondition=function(e){var t=this;return(0,l.invokeMarker)("assigned",this,e),function(){t.m_sCurrentName=t.name,t.m_sCurrentLabel=t.label}},e.prototype.unassignedFromCondition=function(){return this.condition.unhookContext(this),(0,l.invokeMarker)("unassigned",this),this.serialize()},e.prototype.shouldBeDeleted=function(e){return this.type.context===e.type||!(!this.slot||this.slot.slots!==e.slots)},e.prototype.detectChange=function(){(0,p.observe)(this.map)},e.prototype.rerender=function(e){void 0===e&&(e=!1);var t=this.name,i=this.label;this.m_sCurrentName===t&&this.m_sCurrentLabel===i||(this.m_sCurrentName=t,this.m_sCurrentLabel=i,e=!0),e&&this.condition.rerender("update")},e.prototype.serialize=function(e){return void 0===e&&(e={}),(0,a.serializeTo)(this,(0,r.extend)(e,{type:this.type.identifier,version:this.type.version,branch:this.branch&&this.branch.id,cluster:this.cluster&&this.cluster.id,node:this.node&&this.node.id,slot:this.slot&&this.slot.id}))},e.prototype.deserialize=function(e,t){var i=this,n=t||new r.Stack;return(0,a.deserializeFrom)(this,e,n),this.m_bInitialized||this.init(!0),n.add((function(){return i.branch=i.resolve("branches",e.branch)})),n.add((function(){return i.cluster=i.resolve("clusters",e.cluster)})),n.add((function(){return i.node=i.resolve("nodes",e.node)})),n.add((function(){return i.slot=i.resolve("slots",e.slot)})),n.add((function(){(0,h.valid)(e.version)&&(0,h.lt)(e.version,i.type.version)&&(0,l.invokeMarker)("upgraded",i,e.version)})),t||n.flush(),this},e.prototype.delete=function(e){var t=this;if(!this.condition.isPopped){if((0,r.isString)(e)){var i=(0,l.invokeMarker)("detached#".concat(e),this);if((0,r.isFunction)(i))return void(this.m_nUpdate=(0,r.scheduleAndCancelTick)((function(){i()||t.condition.delete()}),this.m_nUpdate))}this.condition.delete()}},e.prototype.destroy=function(){this.m_nUpdate=(0,r.cancelTick)(this.m_nUpdate),(0,l.invokeMarker)("destroyed",this)},(0,n.__decorate)([(0,o.affects)("#condition")],e.prototype,"branch",void 0),(0,n.__decorate)([(0,o.affects)("#condition")],e.prototype,"cluster",void 0),(0,n.__decorate)([(0,o.affects)("#condition")],e.prototype,"node",void 0),(0,n.__decorate)([(0,o.affects)("#condition")],e.prototype,"slot",void 0),(0,n.__decorate)([a.serializer],e.prototype,"serialize",null),(0,n.__decorate)([a.deserializer],e.prototype,"deserialize",null),e}();t.ConditionBlock=d},46689:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionBlocksNamespace=void 0;var n=i(84389),o=i(75048),r=i(96698),s=i(75846),a=function(){function e(e){this.m_pBlocks={},this.m_pAliases={},this.m_pMissing=[],this.m_sIdentifier=e}return Object.defineProperty(e.prototype,"identifier",{get:function(){return this.m_sIdentifier},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"all",{get:function(){var e=[];return(0,n.each)(this.m_pBlocks,(function(t){s.Namespaces.isAllowed(t.identifier)&&e.push(t)})),e.sort((function(e,t){return e.label.localeCompare(t.label)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"missing",{get:function(){var e=[];return(0,n.each)(this.m_pMissing,(function(t){(0,n.findFirst)(e,(function(e){return e===t}))||e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.m_pMissing.length},enumerable:!1,configurable:!0}),e.prototype.register=function(e,t,i,r,a,l){var c=this;if(this.m_pBlocks[t]){if(this.m_pBlocks[t].version===l)return e;throw new Error("Duplicate block '".concat(t,"' registered for namespace '").concat(this.identifier,"'."))}if((0,n.each)(i,(function(t){if(c.m_pAliases[t]&&c.m_pAliases[t]!==e)throw new Error("Duplicate block '".concat(t,"' registered for namespace '").concat(c.identifier,"'."));(0,n.set)(c.m_pAliases,t,e)})),(0,n.set)(e,"identifier",t),(0,n.set)(e,"version",(0,o.valid)(l)?l:"0.0.0"),(0,n.set)(e,"flag",(function(e){return s.Namespaces.hasFlag(e,t)})),(0,n.set)(e,"_",r),"*"!==a&&"cluster"!==a&&"branch"!==a&&"node"!==a&&(0,n.isString)(a)){var u=s.Namespaces.get(this.identifier).nodeBlocks.ofType(a);u?(0,n.set)(e,"context",u):(0,n.schedulePromise)((function(){var t=s.Namespaces.get(c.identifier).nodeBlocks.ofType(a);if(!t)throw new Error("Context '".concat(a,"' is undefined."));(0,n.set)(e,"context",t)}))}else(0,n.set)(e,"context",a);return s.Namespaces.onRegister&&s.Namespaces.onRegister(t,e,"condition",(0,o.valid)(l)?l:"0.0.0"),e.prototype.type=(0,n.set)(this.m_pBlocks,t,e)},e.prototype.for=function(e){return e instanceof r.NodeBlock&&(e=e.type),(0,n.filter)(this.all,(function(t){return t.context===e}))},e.prototype.ofType=function(e){var t=this.m_pBlocks[e]||this.m_pAliases[e];if(t&&s.Namespaces.isAllowed(t.identifier))return t;this.m_pMissing.push(e)},e.prototype.resetMissing=function(){this.m_pMissing=[]},e}();t.ConditionBlocksNamespace=a},56212:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Labels=void 0;var i=function(){function e(e){this.m_pBlock=e}return Object.defineProperty(e.prototype,"branch",{get:function(){return this.m_pBlock.branch&&this.m_pBlock.branch.name||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"branchOrphan",{get:function(){return this.m_pBlock.branch&&this.m_pBlock.branch!==this.m_pBlock.condition.branch&&this.m_pBlock.branch.name||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cluster",{get:function(){return this.m_pBlock.cluster&&this.m_pBlock.cluster.name||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clusterOrphan",{get:function(){return this.m_pBlock.cluster&&this.m_pBlock.cluster!==this.m_pBlock.condition.cluster&&this.m_pBlock.cluster.name||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"node",{get:function(){return this.m_pBlock.node?this.m_pBlock.node.label:""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nodeOrphan",{get:function(){return this.m_pBlock.node&&this.m_pBlock.node.cluster!==this.m_pBlock.condition.cluster?this.m_pBlock.node.label:""},enumerable:!1,configurable:!0}),e}();t.Labels=i},64332:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Condition=void 0;var n=i(70655),o=i(39078),r=i(70145),s=i(45992),a=i(29165),l=i(88678),c=i(18141),u=i(94689),p=i(84389),h=i(79538),d=function(e){function t(t){return e.call(this,t)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessor",{get:function(){return this.predecessorSibling instanceof t&&this.predecessorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successor",{get:function(){return this.successorSibling instanceof t&&this.successorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branch",{get:function(){return this.ancestor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cluster",{get:function(){var e=this.branch;return e&&e.cluster},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"block",{get:function(){return this.m_pBlock instanceof o.ConditionBlock&&this.m_pBlock||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blockTypeIdentifier",{get:function(){return this.m_pBlock instanceof o.ConditionBlock?this.m_pBlock.type.identifier:this.m_pBlock?this.m_pBlock.type:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBlock",{get:function(){return!!this.m_pBlock},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isBlockInvalid",{get:function(){return!(!this.m_pBlock||this.m_pBlock instanceof o.ConditionBlock)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.m_bDisabled},set:function(e){this.m_bDisabled!==e&&(this.m_bDisabled=e,this.rerender("update"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.block&&this.block.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.block?this.block.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nameMarkdown",{get:function(){var e;return this.m_pName||(this.m_pName=new u.MarkdownParser(this.name,{features:!0===(null===(e=this.block)||void 0===e?void 0:e.allowMarkdown)?u.MarkdownFeatures.Formatting|u.MarkdownFeatures.InlineCode:u.MarkdownFeatures.None,mentions:(0,c.parseVariables)(this)})),this.m_pName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.block?this.block.label:""},enumerable:!1,configurable:!0}),t.prototype.unassignAndCache=function(e){this.m_pBlockCache||(this.m_pBlockCache={}),this.m_pBlockCache[e.type.identifier]=e.unassignedFromCondition()},t.prototype.getFromCache=function(e){if(this.m_pBlockCache){var t=this.m_pBlockCache[e];if(t){var i=o.ConditionBlock.create(e,this,!1);if(i){var n=new p.Stack;return i.deserialize(t,n),n.flush(),i}}}},t.prototype.onChange=function(t){1&t.reason&&this.block&&this.block.rerender(),(0,h.observe)(this.map),e.prototype.onChange.call(this,t)},t.prototype.onMove=function(t,i,n){e.prototype.onMove.call(this,t,i,n,"conditions")},t.prototype.rerender=function(t){this.m_pName=void 0,this.emitHook("OnRename",{}),e.prototype.rerender.call(this,t)},t.prototype.assignBlock=function(e){var t=this.block;return this.m_pBlock=o.ConditionBlock.create(e instanceof o.ConditionBlock?e:this.getFromCache(e.identifier)||e,this,!0),t&&this.unassignAndCache(t),this.m_pBlock&&this.m_pBlock.assignedToCondition(t)(),this.rerender("refresh"),t&&this.emitHook("OnBlockUnassign",{condition:this,block:t}),this.m_pBlock&&this.emitHook("OnBlockAssign",{condition:this,block:this.m_pBlock}),this.emitHook("OnBlockChange",{condition:this,block:this.m_pBlock}),(0,h.observe)(this.map),this.m_pBlock},t.prototype.unassignBlock=function(){var e=this.m_pBlock;if(this.m_pBlock=void 0,e&&(e instanceof o.ConditionBlock&&this.unassignAndCache(e),this.rerender("refresh"),e instanceof o.ConditionBlock))return this.emitHook("OnBlockUnassign",{condition:this,block:e}),this.emitHook("OnBlockChange",{condition:this,block:void 0}),(0,h.observe)(this.map),e},t.prototype.serialize=function(){var t={};return this.m_pBlock&&(t.block=this.m_pBlock instanceof o.ConditionBlock?this.m_pBlock.serialize():this.m_pBlock),(0,p.extend)(e.prototype.serialize.call(this),t)},t.prototype.deserialize=function(t,i){var n=i||new p.Stack;return e.prototype.deserialize.call(this,t,n),t.block?(this.m_pBlock=o.ConditionBlock.create(t.block.type,this,!1)||t.block,this.m_pBlock instanceof o.ConditionBlock&&(this.m_pBlock.deserialize(t.block,n),n.add(this.m_pBlock.assignedToCondition()))):this.m_pBlock=void 0,i||n.flush(),this},t.prototype.refresh=function(){return this.isPopped||(this.refreshed(),this.rerender("update")),this},t.prototype.refreshed=function(){return this.isPopped||(this.m_pName=void 0,this.emitHook("OnRename",{})),this},t.prototype.insertBefore=function(){if(!this.parent)throw new Error("The condition dispatcher is invalid.");return this.parent.insertBefore(this)},t.prototype.insertAfter=function(){if(!this.parent)throw new Error("The condition dispatcher is invalid.");return this.parent.insertAfter(this)},t.prototype.enable=function(){return this.disabled=void 0,this},t.prototype.disable=function(){return this.disabled=!0,this},t.prototype.duplicate=function(e){var t=this.serialize();return e=e||this.insertAfter(),(0,p.set)(t,"id",e.id),e.deserialize(t),e.render(!1),e},t.prototype.delete=function(){return this.pop(),this},t.prototype.destroy=function(){this.block&&this.block.destroy(),this.m_pBlockCache=void 0,e.prototype.destroy.call(this)},(0,n.__decorate)([r.definition,(0,a.hookup)("OnDisable")],t.prototype,"disabled",null),(0,n.__decorate)([l.serializer],t.prototype,"serialize",null),(0,n.__decorate)([l.deserializer],t.prototype,"deserialize",null),t}(s.GridNode);t.Condition=d},27354:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Conditions=void 0;var n=i(70655),o=i(64332),r=i(84389),s=i(45992),a=i(79538),l=function(e){function t(t,i){return e.call(this,t,i)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"branch",{get:function(){return this.parent},enumerable:!1,configurable:!0}),t.prototype.onDimensions=function(){var t=this.firstItem,i=this.lastItem;this.branch.offset=t&&i?i.rectangles.bottom-t.rectangles.top:0,(0,a.observe)(this.branch.map),e.prototype.onDimensions.call(this)},t.prototype.append=function(){return this.appendItem(new o.Condition(this))},t.prototype.insert=function(){return this.insertItem(new o.Condition(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new o.Condition(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new o.Condition(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,r.each)(i,(function(i){t.appendItem(new o.Condition(t)).deserialize(i,e)})),this},t}(s.GridNodes);t.Conditions=l},44741:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affects=void 0;var n=i(67838),o=i(16630),r=i(65526),s=i(19012);t.affects=function(e){switch(e){case"#name":case"#label":return o.affectsName;case"#condition":return n.affectsCondition;case"#slots":return s.affectsSlots;case"#required":return r.affectsRequired}}},67838:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsCondition=void 0;var n=i(42907),o=i(84389),r=i(29165),s=i(82722),a=i(21479),l=i(79538);t.affectsCondition=function(e,t,i){(0,n.observable)("affects#condition",e,t,i,(function(e){var i=e.target;e.oldValue instanceof r.Hooks&&e.oldValue.unhookContext(i),i.rerender(),e.newValue instanceof r.Hooks&&(e.newValue instanceof s.Node?(e.newValue.hook("OnRename","synchronous",(function(){return i.rerender()}),i),e.newValue.hook("OnBlockUnassign","synchronous",(function(e){i.shouldBeDeleted(e.block)&&i.delete(t)}),i)):e.newValue instanceof a.Slot?e.newValue.hook("OnSlotProperty","synchronous",(function(){return i.rerender()}),i):e.newValue.hook("OnRename","synchronous",(function(){return i.rerender()}),i),e.newValue.hook("OnItemPop","synchronous",(function(){return i.delete(t)}),i)),(0,l.observe)(i.map)})),(0,n.defineMarker)("destroyed",e,t,{value:function(){(0,o.getAny)(this,t)instanceof r.Hooks&&(0,o.setAny)(this,t,void 0)}})}},16630:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsName=void 0;var n=i(42907),o=i(96698),r=i(79538);t.affectsName=function(e,t,i){(0,n.observable)("affects#name",e,t,i,(function(e){e.target instanceof o.NodeBlock&&e.target.node.emitHook("OnRename",{}),e.target.rerender(),(0,r.observe)(e.target.map)}))}},65526:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRequired=t.affectsRequired=void 0;var n=i(42907),o=i(79538),r=i(84389),s="@signal #required";t.affectsRequired=function(e,t,i){(0,n.observable)("affects#required",e,t,i,(function(e){e.target.rerender(!0),(0,o.observe)(e.target.map)}));var r=Object.getOwnPropertyDescriptor(e,s);r?r.value.push(t):Object.defineProperty(e,s,{value:[t],writable:!1,enumerable:!1,configurable:!1})},t.isRequired=function(e){return!!(0,r.findFirst)((0,r.getAny)(e,s),(function(t){return(0,r.castToBoolean)((0,r.getAny)(e,t))}))}},19012:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsSlots=void 0;var n=i(42907),o=i(79538);t.affectsSlots=function(e,t,i){(0,n.observable)("affects#slots",e,t,i,(function(e){e.target.isInitialized&&((0,n.invokeMarker)("slots",e.target,e.target.slots),(0,o.observe)(e.target.map))}))}},47745:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assigned=void 0;var n=i(42907);t.assigned=function(e,t,i){(0,n.defineMarker)("assigned",e,t,i)}},90523:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.block=void 0;var n=i(84389),o=i(75846);t.block=function(e){switch(e.type){case"node":return function(t){o.Namespaces.get(e.namespace).nodeBlocks.register(t,e.identifier,(0,n.isString)(e.alias)?[e.alias]:e.alias||[],(function(){return e.label}),e.version||"0.0.0",e.kind||"ui")};case"condition":return function(t){o.Namespaces.get(e.namespace).conditionBlocks.register(t,e.identifier,(0,n.isString)(e.alias)?[e.alias]:e.alias||[],(function(){return e.label}),e.context,e.version||"0.0.0")}}}},91095:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.created=void 0;var n=i(42907);t.created=function(e,t,i){(0,n.defineMarker)("created",e,t,i)}},70145:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefinitionType=t.definition=void 0;var n=i(84389),o=i(88678),r=i(42907),s=i(79538),a=i(28322);function l(e,t,i){return void 0===i&&(i="rw"),function(l,c,u){switch(c){case"type":case"node":case"cluster":case"branch":case"slot":case"slots":throw new Error("Definition decorator is not allowed on protected property '".concat(c,"'."))}"w"!==i&&"rw"!==i||((0,o.serialize)(l,c,u),u&&!u.set||(0,r.observable)("definition",l,c,u,(function(e){(0,s.observe)(e.target instanceof a.Map?e.target:(0,n.getAny)(e.target,"map"))}))),"r"!==i&&"rw"!==i||(0,o.deserialize)(l,c,u),Object.defineProperty(l,"@type ".concat(c),{value:{type:e,optional:"optional"===t,get isPrimitive(){return"string"===e||"number"===e||"boolean"===e}},writable:!1,enumerable:!1,configurable:!1})}}t.definition=function(e,t,i){return(0,n.isString)(e)?l(e,t,i):(0,n.isString)(t)&&!(0,n.isString)(i)?l("rw")(e,t,i):void 0},t.getDefinitionType=function(e,t){return(0,n.getAny)(e,"@type ".concat(t))||void 0}},2404:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyed=void 0;var n=i(42907);t.destroyed=function(e,t,i){(0,n.defineMarker)("destroyed",e,t,i)}},73852:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detached=void 0;var n=i(42907);t.detached=function(e){return function(t,i,o){return(0,n.defineMarker)("detached#".concat(e),t,i,o)}}},57192:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slots=void 0;var n=i(42907);t.slots=function(e,t,i){(0,n.defineMarker)("slots",e,t,i)}},27357:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unassigned=void 0;var n=i(42907);t.unassigned=function(e,t,i){(0,n.defineMarker)("unassigned",e,t,i)}},12234:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upgraded=void 0;var n=i(42907);t.upgraded=function(e,t,i){(0,n.defineMarker)("upgraded",e,t,i)}},2812:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapIds=t.rotateId=void 0;var n=i(70655),o=i(53339),r=i(84389);t.rotateId=function(e,t){return e.push({from:t.id,to:(0,r.set)(t,"id",(new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),t}(o.Item))).hash)}),t},t.mapIds=function(e,t){var i=JSON.stringify(t);return(0,r.each)(e,(function(e){i=r.Str.replace(i,'"'.concat(e.from,'"'),'"'.concat(e.to,'"')),i=r.Str.replace(i,"@"+e.from,"@"+e.to)})),JSON.parse(i)}},28322:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0;var n=i(70655),o=i(84389),r=i(16742),s=i(70145),a=i(88678),l=i(10370),c=i(45992),u=i(29165),p=i(79538),h=i(75846),d=function(e){function t(t,i){var n=e.call(this,r.Clusters,l.Cluster,t)||this;return n.m_bDeserializing=!1,(0,p.add)(n),n.m_pApplication=i||{name:"",version:""},n}return(0,n.__extends)(t,e),t.create=function(e,i){return new t(e,i)},Object.defineProperty(t.prototype,"application",{get:function(){return this.m_pApplication},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"builder",{get:function(){return this.m_pBuilder||this.m_pApplication},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clusters",{get:function(){return this.children},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){var e=this.serialize();return(0,o.destroy)(e,"id"),e},set:function(e){this.deserialize((0,o.extend)(e,{id:""}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDeserializing",{get:function(){return this.m_bDeserializing},enumerable:!1,configurable:!0}),t.prototype.serialize=function(){var t=e.prototype.serialize.call(this,"clusters");return(0,o.set)(t,"builder",this.m_pApplication),t},t.prototype.deserialize=function(t){var i=this,n=new o.Stack;return this.m_bDeserializing=!0,this.m_pBuilder=t.builder||this.m_pApplication,h.Namespaces.resetMissing(),n.add((function(){var e=h.Namespaces.erroneousBlocks;e>0&&i.emitHook("OnError",{map:i,erroneousBlocks:e,get missingBlockTypes(){return h.Namespaces.missingBlockTypes}})})),e.prototype.deserialize.call(this,t,n,"clusters"),!t.prologue&&t.preface&&(this.prologue=t.preface),this.m_bDeserializing=!1,this},t.prototype.forEach=function(e,t,i,n){void 0===t&&(t="all"),void 0===n&&(n=!1),i||(n=!1);var o=function(r,s){return r.each((function(r){return r===i?(n=!1,!1):!(n||"clusters"!==t&&"all"!==t||!e(r,s))||(!("nodes"!==t&&"all"!==t||!r.nodes.each((function(t){return t===i?(n=!1,!1):!n&&e(t,s)})))||r.branches.each((function(r){return r===i?(n=!1,!1):!(n||"branches"!==t&&"all"!==t||!e(r,s))||(!("conditions"!==t&&"all"!==t||!r.conditions.each((function(t){return t===i?(n=!1,!1):!n&&e(t,s)})))||o(r.clusters,s+1))})))}))};return o(this.clusters,0)},t.prototype.reload=function(){this.definition=this.definition},t.prototype.reset=function(){this.name=void 0,this.description=void 0,this.language=void 0,this.keywords=void 0,this.prologue=void 0,this.epilogue=void 0,e.prototype.reset.call(this)},t.prototype.destroy=function(){(0,p.remove)(this),e.prototype.destroy.call(this)},(0,n.__decorate)([s.definition,(0,u.hookup)("OnRename")],t.prototype,"name",void 0),(0,n.__decorate)([s.definition],t.prototype,"description",void 0),(0,n.__decorate)([s.definition],t.prototype,"language",void 0),(0,n.__decorate)([s.definition],t.prototype,"keywords",void 0),(0,n.__decorate)([s.definition],t.prototype,"prologue",void 0),(0,n.__decorate)([s.definition],t.prototype,"epilogue",void 0),(0,n.__decorate)([a.serializer],t.prototype,"serialize",null),(0,n.__decorate)([a.deserializer],t.prototype,"deserialize",null),t}(c.Grid);t.Map=d},75846:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unmountNamespace=t.mountNamespace=t.Namespaces=void 0;var n=i(84389),o=i(21192),r=i(96910),s=i(46689),a="default",l=function(){function e(){}return Object.defineProperty(e,"active",{get:function(){return this.m_pActive||this.activate(a)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"missingBlockTypes",{get:function(){var e=[];return(0,n.each)(this.active.nodeBlocks.missing,(function(t){(0,n.findFirst)(e,(function(e){return e===t}))||e.push(t)})),(0,n.each)(this.active.conditionBlocks.missing,(function(t){(0,n.findFirst)(e,(function(e){return e===t}))||e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"erroneousBlocks",{get:function(){return this.active.nodeBlocks.errors+this.active.conditionBlocks.errors},enumerable:!1,configurable:!0}),e.get=function(e){var t;return e=e||(null===(t=this.m_pActive)||void 0===t?void 0:t.identifier)||a,this.m_pNamespaces[e]||(0,n.setAny)(this.m_pNamespaces,e,{identifier:e,nodeBlocks:new r.NodeBlocksNamespace(e),conditionBlocks:new s.ConditionBlocksNamespace(e)})},e.isAvailable=function(e){return!!this.m_pNamespaces[e]},e.loadUMD=function(e,t,i,n,r){if(void 0===r&&(r=!0),r&&this.unload(e),this.activate(e),n){(0,o.defineContext)(i,t);try{return Function(n)(),this.active}catch(e){return}}},e.loadURL=function(e,t,i,n,r,s,a){var l=this;void 0===a&&(a=!0),a&&this.unload(e),this.activate(e),(0,o.loadScriptWithContext)(i,r,t,n,(function(e){s&&s(e?l.active:void 0)}))},e.unload=function(e){return!!this.m_pNamespaces[e]&&(this.m_pActive&&this.m_pActive.identifier===e&&(this.m_pActive=void 0),(0,n.setAny)(this.m_pNamespaces,e,void 0),!0)},e.mount=function(e){return this.m_pActive&&this.m_pActive.identifier!==e&&this.m_pStack.push(this.m_pActive.identifier),this.activate(e)},e.unmount=function(){this.activate(this.m_pStack.pop()||a)},e.activate=function(e){return this.m_pActive=this.get(e)},e.activateDefault=function(){return this.activate(a)},e.activateOrLoadUMD=function(e,t,i,n,o,r){return void 0===o&&(o=!0),void 0===r&&(r=!1),!o&&this.isAvailable(e)?this.activate(e):this.loadUMD(e,t,i,n,r)},e.activateOrLoadURL=function(e,t,i,n,o,r,s,a){if(void 0===s&&(s=!0),void 0===a&&(a=!1),!s&&this.isAvailable(e))return this.activate(e),void(r&&r(this.active));this.loadURL(e,t,i,n,o,r,a)},e.resetMissing=function(){this.active.nodeBlocks.resetMissing(),this.active.conditionBlocks.resetMissing()},e.include=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];(0,n.each)(t,(function(t){e.m_sInclude||(e.m_sInclude="\n"),-1===e.m_sInclude.indexOf("\n".concat(t,"\n"))&&(e.m_sInclude+=t+"\n")}))},e.exclude=function(){for(var e=this,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];(0,n.each)(t,(function(t){e.m_sExclude||(e.m_sExclude="\n"),-1===e.m_sExclude.indexOf("\n".concat(t,"\n"))&&(e.m_sExclude+=t+"\n")}))},e.isAllowed=function(e){if(!e)return!1;if(!this.m_sExclude&&!this.m_sInclude)return!0;if(this.m_sExclude&&-1!==this.m_sExclude.indexOf("\n".concat(e,"\n")))return!1;var t=e.lastIndexOf(":");return!(-1!==t&&!this.isAllowed(e.substr(0,t)))&&(!this.m_sInclude||-1!==this.m_sInclude.indexOf("\n".concat(e,"\n")))},e.flag=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this.m_pFlags||(this.m_pFlags={});var o=this.m_pFlags;(0,n.each)(t,(function(t){o[e]||(o[e]="\n"),-1===o[e].indexOf("\n".concat(t,"\n"))&&(o[e]+=t+"\n")}))},e.hasFlag=function(e,t){if(!this.m_pFlags||!this.m_pFlags[e]||!t)return!1;if(-1!==this.m_pFlags[e].indexOf("\n".concat(t,"\n")))return!0;var i=t.lastIndexOf(":");return!(-1===i||!this.hasFlag(e,t.substr(0,i)))},e.m_pNamespaces={},e.m_pStack=[],e}();t.Namespaces=l,t.mountNamespace=function(e){return l.mount(e)},t.unmountNamespace=function(){l.unmount()}},96698:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeBlock=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(75048),a=i(42907),l=i(75846),c=i(21479),u=i(79538),p=function(){function e(e){this.m_bInitialized=!1,this.m_bProxy=!1,this.m_sCurrentLabel="",this.m_pNode=e}return Object.defineProperty(e,"label",{get:function(){return this._()},enumerable:!1,configurable:!0}),e.create=function(t,i,n){if(t instanceof e){if(t.node!==i)return;return t}if((0,o.isString)(t)){var r=l.Namespaces.active.nodeBlocks.ofType(t);if(!r)return;t=r}return new t(i).init(n)},Object.defineProperty(e.prototype,"id",{get:function(){return this.node.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"map",{get:function(){return this.node.map},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"node",{get:function(){return this.m_pNode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slots",{get:function(){if(!this.m_pSlots)throw new Error("Cannot access the slots collection before the `@slots` decorated function is invoked.");return this.m_pSlots},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.type.label},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),e.prototype.init=function(e){return e&&"proxy"!==e||(e||(0,a.invokeMarker)("created",this),this.m_bInitialized=!0,this.m_bProxy="proxy"===e,this.m_pSlots=new c.Slots(this.m_bProxy?void 0:this.node)),this},e.prototype.assignedToNode=function(e){var t=this;return this.slots.hook("OnSlotProperty","synchronous",(function(){return(0,u.observe)(t.map)}),this),this.slots.hook("OnCountChange","synchronous",(function(){return(0,u.observe)(t.map)}),this),(0,a.invokeMarker)("assigned",this,e),function(){t.m_sCurrentLabel=t.label}},e.prototype.unassignedFromNode=function(){var e={timestamp:o.DateTime.precise,slots:this.slots.count&&this.slots.serialize()||void 0,block:this.serialize()};return(0,a.invokeMarker)("unassigned",this),this.slots.clear("thorough"),this.slots.unhookContext(this.node),this.slots.unhookContext(this),this.node.unhookContext(this),e},e.prototype.detectChange=function(){(0,u.observe)(this.map)},e.prototype.rerender=function(e){void 0===e&&(e=!1);var t=this.label;this.m_sCurrentLabel!==t&&(this.m_sCurrentLabel=t,e=!0),e&&this.node.rerender("update")},e.prototype.serialize=function(e){return void 0===e&&(e={}),(0,r.serializeTo)(this,(0,o.extend)(e,{type:this.type.identifier,version:this.type.version}))},e.prototype.deserialize=function(e,t){var i=this,n=t||new o.Stack;return(0,r.deserializeFrom)(this,e,n),this.m_bInitialized||this.init(),this.m_bProxy||n.add((function(){(0,s.valid)(e.version)&&(0,s.lt)(e.version,i.type.version)&&(0,a.invokeMarker)("upgraded",i,e.version)})),t||n.flush(),this},e.prototype.destroy=function(){this.m_bProxy||(0,a.invokeMarker)("destroyed",this),this.slots.destroy()},(0,n.__decorate)([r.serializer],e.prototype,"serialize",null),(0,n.__decorate)([r.deserializer],e.prototype,"deserialize",null),e}();t.NodeBlock=p},96910:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeBlocksNamespace=void 0;var n=i(84389),o=i(75048),r=i(75846),s=function(){function e(e){this.m_pBlocks={},this.m_pAliases={},this.m_pMissing=[],this.m_sIdentifier=e}return Object.defineProperty(e.prototype,"identifier",{get:function(){return this.m_sIdentifier},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"all",{get:function(){var e=[];return(0,n.each)(this.m_pBlocks,(function(t){r.Namespaces.isAllowed(t.identifier)&&e.push(t)})),e.sort((function(e,t){return e.label.localeCompare(t.label)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"missing",{get:function(){var e=[];return(0,n.each)(this.m_pMissing,(function(t){(0,n.findFirst)(e,(function(e){return e===t}))||e.push(t)})),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.m_pMissing.length},enumerable:!1,configurable:!0}),e.prototype.register=function(e,t,i,s,a,l){var c=this;if(this.m_pBlocks[t]){if(this.m_pBlocks[t].version===a)return e;throw new Error("Duplicate block '".concat(t,"' registered for namespace '").concat(this.identifier,"'."))}return(0,n.each)(i,(function(t){if(c.m_pAliases[t]&&c.m_pAliases[t]!==e)throw new Error("Duplicate block '".concat(t,"' registered for namespace '").concat(c.identifier,"'."));(0,n.set)(c.m_pAliases,t,e)})),(0,n.set)(e,"identifier",t),(0,n.set)(e,"version",(0,o.valid)(a)?a:"0.0.0"),(0,n.set)(e,"kind",l),(0,n.set)(e,"flag",(function(e){return r.Namespaces.hasFlag(e,t)})),(0,n.set)(e,"_",s),r.Namespaces.onRegister&&r.Namespaces.onRegister(t,e,"node",(0,o.valid)(a)?a:"0.0.0"),e.prototype.type=(0,n.set)(this.m_pBlocks,t,e)},e.prototype.ofType=function(e){var t=this.m_pBlocks[e]||this.m_pAliases[e];if(t&&r.Namespaces.isAllowed(t.identifier))return t;this.m_pMissing.push(e)},e.prototype.resetMissing=function(){this.m_pMissing=[]},e}();t.NodeBlocksNamespace=s},82722:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;var n=i(70655),o=i(70145),r=i(88678),s=i(45992),a=i(29165),l=i(84389),c=i(42907),u=i(21479),p=i(94689),h=i(96698),d=i(84389),m=i(18141),f=i(2812),g=i(79538),y=i(70145),b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.m_pType="undefined",t}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.matrix()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"predecessor",{get:function(){return this.predecessorSibling instanceof t&&this.predecessorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"successor",{get:function(){return this.successorSibling instanceof t&&this.successorSibling||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cluster",{get:function(){return this.ancestor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"block",{get:function(){return this.m_pBlock instanceof h.NodeBlock&&this.m_pBlock||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blockTypeIdentifier",{get:function(){return this.m_pBlock instanceof h.NodeBlock?this.m_pBlock.type.identifier:this.m_pBlock?this.m_pBlock.type:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBlock",{get:function(){return!!this.m_pBlock},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isBlockInvalid",{get:function(){return!(!this.m_pBlock||this.m_pBlock instanceof h.NodeBlock)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.m_bDisabled},set:function(e){this.m_bDisabled!==e&&(this.m_bDisabled=e,this.rerender("update"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.getType()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.m_sName},set:function(e){this.m_sName!==e&&(this.m_sName=e,this.m_pLabel=void 0,this.rerender(this.onTypeChange()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nameVisible",{get:function(){return this.m_bNameVisible},set:function(e){this.m_bNameVisible!==e&&(this.m_bNameVisible=e,this.rerender(this.onTypeChange()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.m_sPlaceholder},set:function(e){if(this.m_sPlaceholder!==e){var t=void 0;this.m_sPlaceholder=e,(0,d.isFilledString)(this.m_sName)||(this.emitHook("OnRename",{}),this.m_pLabel=void 0,t="update"),"refresh"===this.onTypeChange()&&(t="refresh"),t&&this.rerender(t)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelRaw",{get:function(){return this.name||this.placeholder||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelMarkdown",{get:function(){var e,t;return this.m_pLabel||(this.m_pLabel=new p.MarkdownParser(this.labelRaw,{features:!1===(null===(e=this.block)||void 0===e?void 0:e.allowMarkdown)?p.MarkdownFeatures.None:!0===(null===(t=this.block)||void 0===t?void 0:t.allowMarkdown)?p.MarkdownFeatures.Formatting|p.MarkdownFeatures.Hyperlinks|p.MarkdownFeatures.InlineCode:p.MarkdownFeatures.Formatting|p.MarkdownFeatures.Hyperlinks,mentions:(0,m.parseVariables)(this)})),this.m_pLabel},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.labelMarkdown.text},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alias",{get:function(){var e=this.block&&this.block.slots||this.m_pSlots;if(e){var t="",i=0;if(e.each((function(e){"static"===e.kind&&e.alias?e.alias!==t&&(t=e.alias,i++):"dynamic"===e.kind&&e.pipeable&&!(0,d.isBoolean)(e.pipeable)&&e.pipeable.alias&&e.pipeable.alias!==t&&(t=e.pipeable.alias,i++)})),1===i)return t}return(0,l.getString)(this.block,"alias")||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this.m_sDescription},set:function(e){this.m_sDescription!==e&&(this.m_sDescription=e,this.rerender(this.onTypeChange()))},enumerable:!1,configurable:!0}),t.proxy=function(e,t,i){var n=h.NodeBlock.create(t,e,"proxy");if(n)return n.deserialize(i.block),i.slots&&n.slots.deserialize(i.slots),(0,c.invokeMarker)("slots",n,n.slots),n},t.exchange=function(e,t,i){for(var n=this,o=Object.keys(i).sort((function(e,t){var n,o;return((null===(n=i[e])||void 0===n?void 0:n.timestamp)||0)-((null===(o=i[t])||void 0===o?void 0:o.timestamp)||0)})),s=o.length,a=[],l={},c=0;c<s;c++)if(o[c]===t.type.identifier){o.splice(0,c+1);break}(0,d.each)(o,(function(o){if(o!==t.type.identifier){var r=i[o];if(r){var s=n.proxy(e,o,r);s&&a.push(s)}}})),(0,d.each)(a,(function(e){(0,d.each)((0,r.serializableProps)(e),(function(i){var n=(0,y.getDefinitionType)(e,i.property);if(n)if(n.isPrimitive){var o=(0,y.getDefinitionType)(t,i.property);o&&o.type===n.type&&(o.optional&&(0,d.isUndefined)(i.value)||"string"===o.type&&(0,d.isFilledString)(i.value)||"number"===o.type&&(0,d.isNumberFinite)(i.value)||"boolean"===o.type&&(0,d.isBoolean)(i.value))&&(l[i.property]=i.value)}else(0,d.findFirst)((0,r.deserializableProps)(t),(function(e){var o=(0,y.getDefinitionType)(t,e.property);if(o&&o.type===n.type&&!o.isPrimitive){var r=l[e.property];return((0,d.isArray)(r)&&r||(l[e.property]=[])).push(i.value),!0}return!1}))}))})),(0,d.each)(l,(function(e,i){if((0,d.isArray)(e)){if(h.NodeBlock.exchanger){var n=(0,d.getAny)(t,i);n&&h.NodeBlock.exchanger(e,n)}}else(0,d.setAny)(t,i,e)}),{keys:!0}),(0,d.each)(a,(function(e){e.slots.each((function(e){t.slots.each((function(t){return t.kind===e.kind&&(t.reference===e.reference||t.id===e.id)&&((0,d.each)(e.exchangeables,(function(e){var i=(0,d.findFirst)(t.exchangeables,(function(t){return t.property===e.property}));i&&(i.value=e.value)})),!0)}))}))}))},t.prototype.unassignAndCache=function(e){if(e)return this.m_pBlockCache||(this.m_pBlockCache={}),t.proxy(this,e.type.identifier,this.m_pBlockCache[e.type.identifier]=e.unassignedFromNode())},t.prototype.getFromCache=function(e){if(this.m_pBlockCache){var t=this.m_pBlockCache[e];if(t){var i=h.NodeBlock.create(e,this,"existing");if(i)return i.deserialize(t.block),t.slots&&i.slots.deserialize(t.slots),i}}},t.prototype.getType=function(){return this.m_pBlock?this.m_pBlock instanceof h.NodeBlock?this.m_pBlock.type:"error":(0,d.castToBoolean)(this.m_bNameVisible,!0)&&(0,d.isFilledString)(this.m_sName)||(0,d.isFilledString)(this.m_sDescription)||(0,d.isFilledString)(this.m_sPlaceholder)?"static":(0,d.isFilledString)(this.m_sName)?"note":"undefined"},t.prototype.onTypeChange=function(){var e=this.m_pType;return this.m_pType=this.getType(),e!==this.m_pType?(this.emitHook("OnTypeChange",{}),(0,g.observe)(this.map),"refresh"):"update"},t.prototype.onChange=function(t){(0,g.observe)(this.map),e.prototype.onChange.call(this,t)},t.prototype.resize=function(t,i){return!this.isMoving&&e.prototype.resize.call(this,t,i)},t.prototype.zIndex=function(){return e.prototype.zIndex.call(this,2)},t.prototype.assignBlock=function(e){var i=this.block&&this.unassignAndCache(this.block);if(this.m_pSlots=void 0,this.m_pBlock=h.NodeBlock.create(e instanceof h.NodeBlock?e:this.getFromCache(e.identifier)||e,this),this.m_pBlock){(0,c.invokeMarker)("slots",this.m_pBlock,this.m_pBlock.slots);var n=this.m_pBlock.assignedToNode(i);this.m_pBlockCache&&t.exchange(this,this.m_pBlock,this.m_pBlockCache),n()}return this.rerender(this.onTypeChange()),i&&this.emitHook("OnBlockUnassign",{node:this,block:i}),this.m_pBlock&&this.emitHook("OnBlockAssign",{node:this,block:this.m_pBlock}),this.emitHook("OnBlockChange",{node:this,block:this.m_pBlock}),(0,g.observe)(this.map),this.m_pBlock},t.prototype.unassignBlock=function(){var e=this.m_pBlock;if(this.m_pBlock=void 0,e&&(e instanceof h.NodeBlock&&this.unassignAndCache(e),this.rerender(this.onTypeChange()),e instanceof h.NodeBlock))return this.emitHook("OnBlockUnassign",{node:this,block:e}),this.emitHook("OnBlockChange",{node:this,block:void 0}),(0,g.observe)(this.map),e},t.prototype.serialize=function(){var t={},i=this.block&&this.block.slots||this.m_pSlots;return i&&i.count&&(t.slots=i.serialize()),this.m_pBlock&&(t.block=this.m_pBlock instanceof h.NodeBlock?this.m_pBlock.serialize():this.m_pBlock),(0,d.extend)(e.prototype.serialize.call(this),t)},t.prototype.deserialize=function(t,i){var n=i||new d.Stack;return e.prototype.deserialize.call(this,t,n),this.m_pBlock=void 0,this.m_pSlots=void 0,t.block&&(this.m_pBlock=h.NodeBlock.create(t.block.type,this,"existing")||t.block,this.m_pBlock instanceof h.NodeBlock?(this.m_pBlock.deserialize(t.block,n),t.slots&&this.m_pBlock.slots.deserialize(t.slots),(0,c.invokeMarker)("slots",this.m_pBlock,this.m_pBlock.slots),n.add(this.m_pBlock.assignedToNode())):t.slots&&(this.m_pSlots=new u.Slots(this).deserialize(t.slots))),this.m_pType=this.getType(),i||n.flush(),this},t.prototype.slot=function(e,t){var i,n=this.block&&this.block.slots||this.m_pSlots;if(n){var o=t&&((0,d.isString)(t)?t:t.identifier)||void 0;o&&o!==this.blockTypeIdentifier||n.each((function(t){return(t.id===e||t.reference===e)&&(i=t,!0)}))}return i},t.prototype.refresh=function(){return this.isPopped||(this.refreshed(),this.rerender(this.onTypeChange())),this},t.prototype.refreshed=function(){return this.isPopped||(this.m_pLabel=void 0,this.emitHook("OnRename",{})),this},t.prototype.insertBefore=function(){if(!this.parent)throw new Error("The node dispatcher is invalid.");return this.parent.insertBefore(this)},t.prototype.insertAfter=function(){if(!this.parent)throw new Error("The node dispatcher is invalid.");return this.parent.insertAfter(this)},t.prototype.enable=function(){return this.disabled=void 0,this},t.prototype.disable=function(){return this.disabled=!0,this},t.prototype.duplicate=function(e){var t,i=[];return(e=e||this.insertAfter()).deserialize((0,f.mapIds)(i,(t=this.serialize(),(0,d.each)(t.slots,(function(e){(0,f.rotateId)(i,e)})),(0,f.rotateId)(i,t)))),e.render(!1),e},t.prototype.delete=function(){return this.pop(),this},t.prototype.destroy=function(){this.block&&this.block.destroy(),this.m_pBlockCache=void 0,e.prototype.destroy.call(this)},(0,n.__decorate)([o.definition],t.prototype,"explanation",void 0),(0,n.__decorate)([o.definition,(0,a.hookup)("OnDisable")],t.prototype,"disabled",null),(0,n.__decorate)([o.definition,(0,a.hookup)("OnRename")],t.prototype,"name",null),(0,n.__decorate)([o.definition],t.prototype,"nameVisible",null),(0,n.__decorate)([o.definition],t.prototype,"placeholder",null),(0,n.__decorate)([o.definition],t.prototype,"description",null),(0,n.__decorate)([r.serializer],t.prototype,"serialize",null),(0,n.__decorate)([r.deserializer],t.prototype,"deserialize",null),t}(s.GridNode);t.Node=b},9959:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Nodes=void 0;var n=i(70655),o=i(84389),r=i(45992),s=i(82722),a=i(79538),l=function(e){function t(t,i){return e.call(this,t,i)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"cluster",{get:function(){return this.parent},enumerable:!1,configurable:!0}),t.prototype.onDimensions=function(){(0,a.observe)(this.cluster.map),e.prototype.onDimensions.call(this)},t.prototype.append=function(){return this.appendItem(new s.Node(this))},t.prototype.insert=function(){return this.insertItem(new s.Node(this))},t.prototype.insertBefore=function(e){return this.insertItemAtIndex(new s.Node(this),e.index)},t.prototype.insertAfter=function(e){return this.insertItemAtIndex(new s.Node(this),e.index+1)},t.prototype.deserialize=function(e){for(var t=this,i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return(0,o.each)(i,(function(i){t.appendItem(new s.Node(t)).deserialize(i,e)})),this},t}(r.GridNodes);t.Nodes=l},79538:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observe=t.remove=t.add=void 0;var n=i(28322),o=i(84389),r={};t.add=function(e){var t=new o.Debounce((function(){e.emitHook("OnChange",{map:e})}));(0,o.setAny)(r,e.hash,(function(){e.isDeserializing?t.cancel():t.invoke()}))},t.remove=function(e){(0,o.destroy)(r,e.hash)},t.observe=function(e){if(e instanceof n.Map){var t=r[e.hash];t&&t()}else(0,o.each)(r,(function(e){e()}))}},18141:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseVariables=t.lookupVariable=void 0;var n=i(96698),o=i(84389),r={};t.lookupVariable=function(e,t){var i,s,a,l=r[t];return l||(null===(i=e.map)||void 0===i||i.forEach((function(e){if(e.block instanceof n.NodeBlock){var i=e.block.slots.selectByIdentifier(t);if(i){var r=i.id!==t;if(r||!1!==i.pipeable)return a={key:t,node:e,block:e.block,slot:r?void 0:i,pipe:r?i:void 0,get label(){var t,n=null===(t=e.block)||void 0===t?void 0:t.slots,s=r&&(null==i?void 0:i.pipeable)&&!(0,o.isBoolean)(i.pipeable)&&i.pipeable||void 0;if(null==s?void 0:s.alias)return null==s?void 0:s.alias;if(!s){if(null==i?void 0:i.alias)return i.alias+(n&&n.count>1&&i.label&&i.label!==i.alias&&n.each((function(e){return e.alias===i.alias&&e.id!==i.id}))?" / "+i.label:"");if(null==i?void 0:i.name)return i.name+(n&&n.count>1&&i.label&&i.label!==i.name&&n.each((function(e){return e.name===i.name&&e.id!==i.id}))?" / "+i.label:"")}var a=function(e){return e+(n&&(s?n.hasMultiplePipeable&&s.label&&e!==s.label?" / "+s.label:"":n.count>1&&(null==i?void 0:i.label)&&e!==i.label?" / "+i.label:"")||"")},l=(0,o.getString)(e.block,"alias");return l?a(l):e.label?a(e.label):(null==s?void 0:s.label)||(null==i?void 0:i.label)||""}},!0}}return!1}),"nodes"),a&&(r[t]=a,null===(s=a.slot||a.pipe)||void 0===s||s.hook("OnItemPop","synchronous",(function(){r[t]=void 0})),a.node.hook("OnItemPop","synchronous",(function(){r[t]=void 0}))),a)};t.parseVariables=function(e){return{numberOfChars:64,parser:function(i){if(/[A-Fa-f0-9]{64}/.test(i)){var n=(0,t.lookupVariable)(e,i);return{shift:64,markdown:n?"\\_\\_\\_":"",value:n}}}}}},21479:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=t.String=t.Numeric=t.Number=t.Date=t.Boolean=t.property=t.slot=t.Slot=t.Slots=void 0;var n=i(24873);Object.defineProperty(t,"Slots",{enumerable:!0,get:function(){return n.Slots}});var o=i(58389);Object.defineProperty(t,"Slot",{enumerable:!0,get:function(){return o.Slot}});var r=i(89716);Object.defineProperty(t,"slot",{enumerable:!0,get:function(){return r.slot}}),Object.defineProperty(t,"property",{enumerable:!0,get:function(){return r.property}});var s=i(16993);Object.defineProperty(t,"Boolean",{enumerable:!0,get:function(){return s.BooleanSlot}});var a=i(89341);Object.defineProperty(t,"Date",{enumerable:!0,get:function(){return a.DateSlot}});var l=i(16706);Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return l.NumberSlot}});var c=i(68253);Object.defineProperty(t,"Numeric",{enumerable:!0,get:function(){return c.Numeric}});var u=i(65615);Object.defineProperty(t,"String",{enumerable:!0,get:function(){return u.StringSlot}});var p=i(68894);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return p.Text}})},89716:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.property=t.slot=void 0;var n=i(42907),o=i(24873);t.slot=function(e){return function(t){o.Slots.register(t,e)}},t.property=function(e,t,i){(0,n.observable)("property",e,t,i,(function(e){return e.target.propertyChange(e.property)}))}},21349:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kindOrderIndexFor=void 0,t.kindOrderIndexFor=function(e){switch(e){case"meta":return 0;case"static":return 1;case"dynamic":return 2;case"feature":return 3}}},58389:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slot=void 0;var n=i(70655),o=i(84389),r=i(53339),s=i(35781),a=i(88678),l=i(24873),c=i(89716),u=function(e){function t(i,n,r,a,c,u,p){var h=e.call(this)||this;if(h.m_bReciprocate=!0,!(0,o.isFilledString)(r))throw new Error("Invalid slot reference supplied to slot constructor.");if(h.m_pType=i,h.m_sKind=n,h.m_sReference=r,h.m_nSequence=a,h.m_pExchangeables=u,p instanceof l.Slots){if(p.id&&"static"===n){var d=(0,s.CSHA2_256)(c?"".concat(p.id,":").concat(c):p.id);if(d&&!p.selectByIdentifier(d))return h.hash=d,h.m_bReciprocate=!1,h}var m=t.recover(p,r,"static"===n||"dynamic"===n);m&&!p.selectByIdentifier(m)&&(h.hash=m)}else p&&(h.hash=p);return h}return(0,n.__extends)(t,e),t.reciprocate=function(e,i){i.m_bReciprocate&&e.id&&(t.m_pIds["".concat(e.id,":").concat(i.reference)]=i.id,0===e.count&&(t.m_pIds[e.id]="".concat(e.id,":").concat(i.reference)))},t.recover=function(e,i,n){if(e.id){var o=t.m_pIds["".concat(e.id,":").concat(i)];if(o)return delete t.m_pIds["".concat(e.id,":").concat(i)],o;if(n){var r=t.m_pIds["".concat(e.id)];if(r){var s=t.m_pIds[r];if(delete t.m_pIds[e.id],s)return delete t.m_pIds[r],s}}}},Object.defineProperty(t.prototype,"slots",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.m_pType.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"kind",{get:function(){return this.m_sKind},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sequence",{get:function(){return this.m_nSequence},set:function(e){this.m_nSequence=e,this.slots&&this.slots.sort()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"reference",{get:function(){return this.m_sReference},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"exchangeables",{get:function(){var e=this;return(0,o.map)(this.m_pExchangeables,(function(t){return{property:t,get value(){return(0,o.getAny)(e,t)},set value(i){(0,o.setAny)(e,t,i)}}}))},enumerable:!1,configurable:!0}),t.prototype.getPipe=function(e){if((0,o.isBoolean)(e.pipeable))return e.pipeable;var t;if(e.pipeable)t=e.pipeable;else{if((0,o.isBoolean)(e.pipable))return e.pipable;t=e.pipable}return t?t.group?{legacy:t.group,label:t.label,alias:t.alias,content:t.content||t.template}:t:void 0},t.prototype.onPop=function(i){return t.reciprocate(i.matrix,this),e.prototype.onPop.call(this,i)},t.prototype.propertyChange=function(e){var t=this.slots;if(t&&!t.isDeserializing)switch(this.emitHook("OnSlotProperty",{slot:this,property:e}),t.emitHook("OnSlotProperty",{slot:this,property:e}),e){case"label":case"name":case"alias":case"placeholder":this.emitHook("OnSlotRename",{slot:this}),t.emitHook("OnSlotRename",{slot:this});break;case"required":this.emitHook("OnSlotRequired",{slot:this}),t.emitHook("OnSlotRequired",{slot:this})}},t.prototype.serialize=function(){return(0,a.serializeTo)(this,{id:this.id,type:this.type,kind:this.kind,reference:this.reference,sequence:this.sequence,label:this.label,name:this.name,placeholder:this.placeholder,alias:this.alias,required:this.required,pipeable:this.pipeable,default:this.default,exportable:this.exportable,actionable:this.actionable,protected:this.protected})},t.prototype.deserialize=function(e){return(0,a.deserializeFrom)(this,e),this.hash=e.id,this.sequence=e.sequence,this.label=e.label,this.name=e.name,this.placeholder=e.placeholder,this.alias=e.alias,this.required=e.required,this.pipeable=this.getPipe(e),this.default=e.default,this.exportable=e.exportable,this.actionable=(0,o.isBoolean)(e.actionable)?e.actionable:e.volatile,this.protected=e.protected,this},t.prototype.deprecate=function(){return this.pop(),this},t.prototype.delete=function(){return this.pop(),this},t.prototype.pipe=function(e){var t=(null==e?void 0:e.id)||this.slots&&this.slots.id;return t&&this.pipeable&&!(0,o.isBoolean)(this.pipeable)?(0,s.CSHA2_256)(this.pipeable.pipe?"".concat(t,":").concat(this.pipeable.pipe):t):""},t.prototype.legacyPipe=function(e){var t=(null==e?void 0:e.id)||this.slots&&this.slots.id;return t&&this.pipeable&&!(0,o.isBoolean)(this.pipeable)&&this.pipeable.legacy?(0,s.CSHA2_256)("".concat(t,":").concat(this.pipeable.legacy)):void 0},t.prototype.isPipe=function(e){if(e&&this.slots&&this.slots.id&&this.pipeable&&!(0,o.isBoolean)(this.pipeable)){if((0,s.CSHA2_256)(this.pipeable.pipe?"".concat(this.slots.id,":").concat(this.pipeable.pipe):this.slots.id)===e)return!0;if(this.pipeable.legacy&&(0,s.CSHA2_256)("".concat(this.slots.id,":").concat(this.pipeable.legacy))===e)return!0}return!1},t.prototype.exchange=function(e){this.m_pExchangeables=e},t.m_pIds={},(0,n.__decorate)([c.property],t.prototype,"label",void 0),(0,n.__decorate)([c.property],t.prototype,"name",void 0),(0,n.__decorate)([c.property],t.prototype,"placeholder",void 0),(0,n.__decorate)([c.property],t.prototype,"alias",void 0),(0,n.__decorate)([c.property],t.prototype,"required",void 0),(0,n.__decorate)([c.property],t.prototype,"pipeable",void 0),(0,n.__decorate)([c.property],t.prototype,"default",void 0),(0,n.__decorate)([c.property],t.prototype,"exportable",void 0),(0,n.__decorate)([c.property],t.prototype,"actionable",void 0),(0,n.__decorate)([c.property],t.prototype,"protected",void 0),(0,n.__decorate)([c.property],t.prototype,"sequence",null),(0,n.__decorate)([a.serializer],t.prototype,"serialize",null),(0,n.__decorate)([a.deserializer],t.prototype,"deserialize",null),t}(r.Item);t.Slot=u},24873:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slots=void 0;var n=i(70655),o=i(84389),r=i(53339),s=i(21349),a=i(58389),l=function(e){function t(t){var i=e.call(this)||this;return i.m_bDeserializing=!1,i.m_sId=null==t?void 0:t.id,i}return(0,n.__extends)(t,e),t.register=function(e,t){if(this.m_pTypes[t])throw new Error("Duplicate slot type '".concat(t,"' registered using the '@slot' decorator."));this.m_pTypes[(0,o.set)(e,"type",t)]=e},t.ofType=function(e){return this.m_pTypes[e]},Object.defineProperty(t.prototype,"id",{get:function(){return this.m_sId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDeserializing",{get:function(){return this.m_bDeserializing},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasMultiplePipeable",{get:function(){if(this.count>1){var e,t=0;return this.each((function(i){var n=i.pipeable&&!(0,o.isBoolean)(i.pipeable)?i.pipeable.pipe||!0:void 0;return(n&&n!==e||!n&&!1!==i.pipeable)&&t++,e||(e=n),t>1}))}return!1},enumerable:!1,configurable:!0}),t.prototype.create=function(e,t){var i=this.select(t.reference,e);return i&&i.type===t.type.type?i.sequence!==t.sequence&&(i.sequence=t.sequence):(i&&i.delete(),i=this.pushToMatrix(new t.type(t.type,e,t.reference,t.sequence,t.pipe,t.exchange,(null==i?void 0:i.id)||this))),(0,o.each)(t,(function(e,t){switch(t){case"type":case"reference":case"sequence":case"pipe":break;case"exchange":i.exchange(e);break;default:(0,o.set)(i,t,e)}}),{keys:!0}),i},t.prototype.onDimensionChange=function(t){e.prototype.onDimensionChange.call(this,t),this.isDeserializing||this.sort()},t.prototype.meta=function(e){return this.create("meta",e)},t.prototype.static=function(e){return this.create("static",e)},t.prototype.dynamic=function(e){return this.create("dynamic",e)},t.prototype.feature=function(e){return this.create("feature",e)},t.prototype.select=function(e,t){var i;return this.each((function(n){return!(t&&t!==n.kind||n.reference!==e&&n.id!==e)&&(i=n,!0)})),i},t.prototype.selectByIdentifier=function(e){var t;if(e)return this.each((function(i){return!(i.id!==e&&!i.isPipe(e))&&(t=i,!0)})),t},t.prototype.deprecate=function(e,t){var i=this.select(e,t);if(i)return i.deprecate()},t.prototype.delete=function(e,t){var i=this.select(e,t);if(i)return i.delete()},t.prototype.clean=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this.each((function(i){e&&i.kind!==e||(0,o.findFirst)(t,(function(e){return e instanceof a.Slot&&e.id===i.id}))||i.pop()}))},t.prototype.sort=function(){return!this.isDeserializing&&e.prototype.sort.call(this,(function(e,t){return(0,s.kindOrderIndexFor)(e.kind)-(0,s.kindOrderIndexFor)(t.kind)||(e.sequence||0)-(t.sequence||0)||e.uniqueId-t.uniqueId}))},t.prototype.serialize=function(){var e=[];return this.each((function(t){e.push(t.serialize())})),e},t.prototype.deserialize=function(e){var i=this;return this.m_bDeserializing=!0,(0,o.each)(e,(function(e){var n=t.ofType(e.type);if(!n)throw new Error("No slot implementation found for type '".concat(e.type,"'"));var o=i.select(e.reference,e.kind);o&&o.type===n.type?o.deserialize(e):(o&&o.pop(),i.pushToMatrix(new n(n,e.kind,e.reference,e.sequence)).deserialize(e))})),this.m_bDeserializing=!1,this.sort(),this},t.prototype.destroy=function(){this.clear("dirty"),e.prototype.destroy.call(this)},t.m_pTypes={},t}(r.Matrix);t.Slots=l},16993:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BooleanSlot=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(58389),a=i(89716),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),t.prototype.toValue=function(e){return(0,o.castToBoolean)(e,this.default)},t.prototype.toString=function(e){var t=this.toValue(e);return!t&&this.labelForFalse?this.labelForFalse:t&&this.labelForTrue?this.labelForTrue:t?"True":"False"},(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"labelForFalse",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"labelForTrue",void 0),t=(0,n.__decorate)([(0,a.slot)("boolean")],t)}(s.Slot);t.BooleanSlot=l},89341:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateSlot=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(58389),a=i(89716),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"supportsTime",{get:function(){return"years"!==this.precision&&"months"!==this.precision&&"days"!==this.precision},enumerable:!1,configurable:!0}),t.prototype.fromString=function(e){var t=e.replace(" ","T").split("T"),i=t[0].split("-"),n=2===t.length&&t[1].split(":")||void 0;if(3===i.length&&(!n||3===n.length)){var r=new Date(0);if(r.setUTCFullYear((0,o.castToNumber)(i[0])),r.setUTCMonth((0,o.castToNumber)(i[1])-1),r.setUTCDate((0,o.castToNumber)(i[2])),n){r.setUTCHours((0,o.castToNumber)(n[0])),r.setUTCMinutes((0,o.castToNumber)(n[1]));var s=n[2].split(".");r.setUTCSeconds((0,o.castToNumber)(2===s.length?s[0]:n[2])),r.setUTCMilliseconds(2===s.length?(0,o.castToNumber)(s[1]):0)}else r.setUTCHours(0),r.setUTCMinutes(0),r.setUTCSeconds(0),r.setUTCMilliseconds(0);return r.getTime()}return this.default||0},t.prototype.toValue=function(e,t){var i=e instanceof Date?new Date(e.getTime()-60*e.getTimezoneOffset()*1e3):new Date((0,o.isString)(e)?this.fromString(e):(0,o.castToNumber)(e,this.default)),n=!0===this.minimum?new Date:this.minimum,r=!0===this.maximum?new Date:this.maximum;if((0,o.isDate)(n)||(0,o.isNumberFinite)(n)){var s=(0,o.isDate)(n)?n.getTime()-60*n.getTimezoneOffset()*1e3:n;i.getTime()<s&&i.setTime(s)}if((0,o.isDate)(r)||(0,o.isNumberFinite)(r)){var a=(0,o.isDate)(r)?r.getTime()-60*r.getTimezoneOffset()*1e3:r;i.getTime()>a&&i.setTime(a)}switch(t||this.precision){case"years":i.setUTCMonth(0);case"months":i.setUTCDate(1);case"days":i.setUTCHours(0);case"hours":i.setUTCMinutes(0);case"minutes":i.setUTCSeconds(0);case"seconds":i.setUTCMilliseconds(0)}return i.getTime()},t.prototype.toDate=function(e,t){return new Date(this.toValue(e,t))},t.prototype.toString=function(e,t){var i=this.toDate(e,t),n=!0;switch(t||this.precision){case"years":case"months":case"days":n=!1}return"".concat(i.getUTCFullYear(),"-").concat(o.Str.padLeft(i.getUTCMonth()+1,"0",2),"-").concat(o.Str.padLeft(i.getUTCDate(),"0",2))+(n&&" ".concat(o.Str.padLeft(i.getUTCHours(),"0",2),":").concat(o.Str.padLeft(i.getUTCMinutes(),"0",2),":").concat(o.Str.padLeft(i.getUTCSeconds(),"0",2),".").concat(o.Str.padLeft(i.getUTCMilliseconds(),"0",3))||"")},(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"precision",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"minimum",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"maximum",void 0),t=(0,n.__decorate)([(0,a.slot)("date")],t)}(s.Slot);t.DateSlot=l},16706:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumberSlot=void 0;var n=i(70655),o=i(84389),r=i(58389),s=i(89716),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),t.prototype.toValue=function(e){return(0,o.castToNumber)(e,this.default)},t.prototype.toString=function(e,t){return t?t(this.toValue(e)):(0,o.castToString)(this.toValue(e))},t=(0,n.__decorate)([(0,s.slot)("number")],t)}(r.Slot);t.NumberSlot=a},68253:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Numeric=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(58389),a=i(89716),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"precision",{get:function(){return this.m_nPrecision},set:function(e){this.m_nPrecision=(0,o.isNumberFinite)(e)?o.Num.max(0,e):void 0},enumerable:!1,configurable:!0}),t.prototype.toValue=function(e){var t;return t=(0,o.isNumberFinite)(this.precision)&&this.precision>0?o.Num.conform((0,o.castToFloat)(e,this.default),this.precision):(0,o.castToNumber)(e,this.default),(0,o.isNumberFinite)(this.minimum)&&t<this.minimum&&(t=this.minimum),(0,o.isNumberFinite)(this.maximum)&&t>this.maximum&&(t=this.maximum),t},t.prototype.formatString=function(e,t){return(t&&(0,o.isString)(this.prefixPlural)?this.prefixPlural:this.prefix||"")+e+(t&&(0,o.isString)(this.suffixPlural)?this.suffixPlural:this.suffix||"")},t.prototype.toString=function(e,t){var i=this.toValue(e);return this.formatString(this.digits?o.Str.padLeft(i,"0",this.digits,!1,!0):!t||this.separator||this.decimal||this.minus?o.Num.format(i,this.precision,this.separator||"",this.decimal,this.minus):t(i,this.precision),1!==i)},(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"minimum",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"maximum",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"separator",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"decimal",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"minus",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"prefix",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"prefixPlural",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"suffix",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"suffixPlural",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"digits",void 0),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"precision",null),t=(0,n.__decorate)([(0,a.slot)("numeric")],t)}(s.Slot);t.Numeric=l},65615:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringSlot=void 0;var n=i(70655),o=i(84389),r=i(58389),s=i(89716),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),t.prototype.toValue=function(e){return(0,o.castToString)(e,this.default)},t.prototype.toString=function(e){return this.toValue(e)},t=(0,n.__decorate)([(0,s.slot)("string")],t)}(r.Slot);t.StringSlot=a},68894:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0;var n=i(70655),o=i(84389),r=i(88678),s=i(58389),a=i(89716),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.m_nMaxLength},set:function(e){this.m_nMaxLength=(0,o.isNumberFinite)(e)?o.Num.max(0,e):void 0},enumerable:!1,configurable:!0}),t.prototype.toValue=function(e){var t=o.Str.sanitize((0,o.castToString)(e,this.default)).substr(0,this.maxLength||void 0);switch(this.transformation){case"capitalize":return o.Str.capitalize(t,"first-character");case"capitalize-words":return o.Str.capitalize(t,"each-word");case"capitalize-sentences":return o.Str.capitalize(t,"each-sentence");case"uppercase":return o.Str.uppercase(t);case"lowercase":return o.Str.lowercase(t)}return t},t.prototype.toString=function(e){return this.toValue(e)},(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"maxLength",null),(0,n.__decorate)([a.property,r.serialize,r.deserialize],t.prototype,"transformation",void 0),t=(0,n.__decorate)([(0,a.slot)("text")],t)}(s.Slot);t.Text=l},32667:function(e,t,i){var n=i(9950),o=i(25419);i(17381);function r(e){return null==e}function s(e){(e=function(e){var t={};for(var i in e)t[i]=e[i];return t}(e||{})).whiteList=e.whiteList||n.whiteList,e.onAttr=e.onAttr||n.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||n.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||n.safeAttrValue,this.options=e}s.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,i=t.whiteList,n=t.onAttr,s=t.onIgnoreAttr,a=t.safeAttrValue;return o(e,(function(e,t,o,l,c){var u=i[o],p=!1;if(!0===u?p=u:"function"==typeof u?p=u(l):u instanceof RegExp&&(p=u.test(l)),!0!==p&&(p=!1),l=a(o,l)){var h,d={position:t,sourcePosition:e,source:c,isWhite:p};return p?r(h=n(o,l,d))?o+":"+l:h:r(h=s(o,l,d))?void 0:h}}))},e.exports=s},9950:function(e,t){function i(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}var n=/javascript\s*\:/gim;t.whiteList=i(),t.getDefaultWhiteList=i,t.onAttr=function(e,t,i){},t.onIgnoreAttr=function(e,t,i){},t.safeAttrValue=function(e,t){return n.test(t)?"":t}},29970:function(e,t,i){var n=i(9950),o=i(32667);for(var r in(t=e.exports=function(e,t){return new o(t).process(e)}).FilterCSS=o,n)t[r]=n[r];"undefined"!=typeof window&&(window.filterCSS=e.exports)},25419:function(e,t,i){var n=i(17381);e.exports=function(e,t){";"!==(e=n.trimRight(e))[e.length-1]&&(e+=";");var i=e.length,o=!1,r=0,s=0,a="";function l(){if(!o){var i=n.trim(e.slice(r,s)),l=i.indexOf(":");if(-1!==l){var c=n.trim(i.slice(0,l)),u=n.trim(i.slice(l+1));if(c){var p=t(r,a.length,c,u,i);p&&(a+=p+"; ")}}}r=s+1}for(;s<i;s++){var c=e[s];if("/"===c&&"*"===e[s+1]){var u=e.indexOf("*/",s+2);if(-1===u)break;r=(s=u+1)+1,o=!1}else"("===c?o=!0:")"===c?o=!1:";"===c?o||l():"\n"===c&&l()}return n.trim(a)}},17381:function(e){e.exports={indexOf:function(e,t){var i,n;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var n,o;if(Array.prototype.forEach)return e.forEach(t,i);for(n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},66559:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Builder=t.DOCS=t.WEBSITE=t.VERSION=t.NAME=void 0;var n=i(70655),o=i(67840),r=i(98478),s=i(84389),a=i(29165),l=i(85238),c=i(40910),u=i(80299),p=i(96977),h=i(9072),d=i(10310),m=i(34041),f=i(15890),g=i(94587),y=i(24104),b=i(7108),v=i(7551),M=i(37853),_=i(61538),S=i(75783),I=i(20384),T=i(3640),N=n.__importStar(i(84303)),j=n.__importDefault(i(85076));t.NAME="tripetto",t.VERSION="4.5.1",t.WEBSITE="https://tripetto.com",t.DOCS="https://docs.tripetto.com";var w="https://unpkg.com/".concat(t.NAME,"@").concat(t.VERSION,"/fonts/"),L=function(e){function i(t){var i=e.call(this)||this;return i.m_bOpen=!1,i.m_pProperties=t||{},i}return n.__extends(i,e),i.open=function(e,t){return new i(t).open(e)},Object.defineProperty(i.prototype,"style",{get:function(){return this.m_pProperties.style||I.DEFAULT},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"panel",{get:function(){if(this.m_pPlugin&&this.m_pPlugin.map){var e=this.m_pPlugin.map.renderer;if(e instanceof d.Map2Layer)return e.layer}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"layer",{get:function(){return this.m_pPlugin&&this.m_pPlugin.layer||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"definition",{get:function(){if(this.m_pPlugin&&this.m_pPlugin.map)return this.m_pPlugin.map.definition},set:function(e){e?this.load(e):this.clear()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this.m_pPlugin&&this.m_pPlugin.map&&this.m_pPlugin.map.name||""},set:function(e){this.m_pPlugin&&this.m_pPlugin.map&&(this.m_pPlugin.map.name=e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"language",{get:function(){return this.m_pPlugin&&this.m_pPlugin.map&&this.m_pPlugin.map.language||""},set:function(e){this.m_pPlugin&&this.m_pPlugin.map&&(this.m_pPlugin.map.language=e)},enumerable:!1,configurable:!0}),i.prototype.run=function(){var e=this;if(this.m_bOpen){var i=(0,s.isBoolean)(this.m_pProperties.supportURL)&&!this.m_pProperties.supportURL?"":(0,s.castToString)(this.m_pProperties.supportURL,t.DOCS),n=(0,s.castToBoolean)(this.m_pProperties.disableRestoreButton,!0),r=(0,s.castToBoolean)(this.m_pProperties.disableClearButton,!0),a=[];this.m_pProperties.helpTopics&&(0,T.setHelpTopics)(this.m_pProperties.helpTopics),this.m_pProperties.disableLogo||a.push(new N.Link(this.style,j.default,t.WEBSITE)),this.m_pProperties.disableSaveButton&&n&&r||(a.length>0&&a.push(new N.Separator(this.style)),this.m_pProperties.disableSaveButton||a.push(this.m_pSave=new N.Button(this.style,59054,(function(){return e.save()})).disable()),n||a.push(this.m_pRestore=new N.Button(this.style,59608,(function(){return e.restore()})).disable()),r||a.push(new N.Button(this.style,59009,(function(){return e.clear()})))),this.m_pProperties.disableEditButton&&!this.m_pProperties.previewURL||(a.length>0&&a.push(new N.Separator(this.style)),this.m_pProperties.disableEditButton||a.push(new N.Button(this.style,58893,(function(){return e.edit()}))),this.m_pProperties.previewURL&&a.push(new N.Link(this.style,59288,this.m_pProperties.previewURL))),""===i&&this.m_pProperties.disableTutorialButton||(a.length>0&&a.push(new N.Separator(this.style)),""!==i&&a.push(new N.Link(this.style,59154,i)),this.m_pProperties.disableTutorialButton||a.push(new N.Button(this.style,59699,(function(){e.m_pPlugin&&v.Tutorial.open(e.m_pPlugin.layer,e.style.tutorial)})))),this.m_pProperties.disableCloseButton||(a.length>0&&a.push(new N.Separator(this.style)),a.push(new N.Button(this.style,59701,(function(){return e.close()})))),this.m_pPlugin=(this.m_pProperties.layer||(this.m_pHost=this.m_pHost||new l.Layers({parent:this.m_pProperties.element&&h.Asset.of(this.m_pProperties.element)||void 0}))).component(new o.Plugin(this.style,this.m_pProperties.tier,a,!this.m_pProperties.disablePrologue,!this.m_pProperties.disableEpilogue,!this.m_pProperties.disableZoombar,!this.m_pProperties.disableOpenCloseAnimation,this.m_pProperties.zoom||"fit",(0,s.castToBoolean)(this.m_pProperties.centering,!0),this.m_pProperties.controls||"right",this.m_pProperties.layer,this.m_pProperties.layerConfiguration,(function(t,i,n,o){var r;switch(i){case"properties":case"branch":case"cluster":case"node":case"condition":r={action:t,type:i,ref:n};break;case"prologue":case"epilogue":r={action:t,type:i,ref:n,subscribe:o}}e.emitHook("OnEdit",{builder:e,data:r}),e.m_pProperties.onEdit&&e.m_pProperties.onEdit(r)}),(function(){e.m_pPlugin=void 0,e.emitHook("OnClose",{builder:e}),e.onClose&&e.onClose(e),e.m_pProperties.onClose&&e.m_pProperties.onClose(e)}))),this.m_pPlugin.layer.element.styles={backgroundColor:this.style.background},this.m_pPlugin.layer.hook("OnShow","synchronous",(function(){e.emitHook("OnOpen",{builder:e}),e.onOpen&&e.onOpen(e),e.m_pProperties.onOpen&&e.m_pProperties.onOpen(e),e.m_pProperties.showTutorial&&e.m_pPlugin&&e.m_pPlugin.tutorial()})),this.m_pPlugin.layer.hook("OnCalculated","synchronous",(function(){var t;if(null===(t=e.m_pPlugin)||void 0===t?void 0:t.map){var i=e.m_pPlugin.map;e.emitHook("OnPreview",{builder:e,get definition(){return i.definition}}),e.m_pProperties.onPreview&&e.m_pProperties.onPreview(i.definition,e)}})),this.m_pPlugin.layer.hook("OnReady","synchronous",(function(){if(e.definition&&e.emitHook("OnReady",{builder:e,definition:e.definition}),e.onReady&&e.onReady(e),e.m_pProperties.onReady&&e.m_pProperties.onReady(e),e.definition&&(e.emitHook("OnRename",{builder:e,get definition(){return this.definition},name:e.name}),e.m_pPlugin&&e.m_pPlugin.map)){var t=e.m_pPlugin.map;e.m_pPlugin.map.hook("OnRename","synchronous",(function(){e.emitHook("OnRename",{builder:e,get definition(){return t.definition},name:e.name})})),e.m_pPlugin.map.hook("OnChange","synchronous",(function(){if(e.emitHook("OnChange",{builder:e,get definition(){return t.definition}}),e.emitHook("OnPreview",{builder:e,get definition(){return t.definition}}),e.onChange||e.m_pProperties.onChange||e.m_pProperties.onPreview){var i=t.definition;e.onChange&&e.onChange(i,e),e.m_pProperties.onChange&&e.m_pProperties.onChange(i,e),e.m_pProperties.onPreview&&e.m_pProperties.onPreview(i,e)}e.m_pSave&&e.m_pSave.enable(),e.m_pRestore&&e.m_pRestore.enable()}))}})),this.m_pProperties.layer||this.m_pProperties.element&&"body"!==h.Asset.of(this.m_pProperties.element).tagName||(h.EventListeners.attachListener(window,"resize",(function(){return e.resize()}),void 0,this),h.EventListeners.attachListener(window,"orientationchange",(function(){return e.resize()}),void 0,this),this.m_pPlugin.layer.hook("OnClose","synchronous",(function(){h.EventListeners.detachListener(window,"resize",e),h.EventListeners.detachListener(window,"orientationchange",e)}))),this.m_pPlugin.map&&(this.m_pPlugin.map.hook("OnError","synchronous",(function(t){e.emitHook("OnError",{builder:e,erroneousBlocks:t.erroneousBlocks,get missingBlockTypes(){return t.missingBlockTypes}}),e.onError&&e.onError(t.erroneousBlocks,t.missingBlockTypes,e),e.m_pProperties.onError&&e.m_pProperties.onError(t.erroneousBlocks,t.missingBlockTypes,e)})),this.m_pDefinition?this.m_pPlugin.map.definition=this.m_pDefinition:this.m_pDefinition=this.m_pPlugin.map.definition)}},i.prototype.open=function(e){var t=this;if(!this.m_bOpen){var i=this.m_pProperties.fonts||w;this.m_bOpen=!0,this.m_pDefinition=e,this.emitHook("OnLoad",{builder:this}),this.onLoad&&this.onLoad(this),this.m_pProperties.onLoad&&this.m_pProperties.onLoad(this),e&&this.m_pPlugin&&this.m_pPlugin.map&&!(0,s.compare)(this.m_pPlugin.map.definition,e,!0)&&(this.emitHook("OnChange",{builder:this,definition:e}),this.emitHook("OnPreview",{builder:this,definition:e}),this.onChange&&this.onChange(e,this),this.m_pProperties.onChange&&this.m_pProperties.onChange(e,this),this.m_pProperties.onPreview&&this.m_pProperties.onPreview(e,this)),this.m_pProperties.locale&&u.L10n.locale.load(this.m_pProperties.locale),this.m_pProperties.translations&&u.L10n.load(this.m_pProperties.translations),this.m_pProperties.tier&&this.m_pProperties.tier.name&&c.Namespaces.flag.apply(c.Namespaces,n.__spreadArray([this.m_pProperties.tier.name],this.m_pProperties.tier.blocks,!1)),!this.m_pProperties.layer||"inherit"!==i||this.m_pProperties.namespace?h.Application.run({first:function(){if(t.m_pProperties.namespace){var e=t.m_pProperties.namespace.identifier;r.Namespace.use(e,t.m_pProperties.namespace.umd||t.m_pProperties.namespace.url,t.m_pProperties.namespace.umd?"umd":t.m_pProperties.namespace.url?"url":void 0,(function(i){var n;i?(null===(n=t.m_pProperties.namespace)||void 0===n?void 0:n.onLoad)&&t.m_pProperties.namespace.onLoad(c.Namespaces.get(e)):console.error("Tripetto: Namespace '".concat(e,"' is not loaded!")),h.Application.observe()}))}return"inherit"===i||p.Fonts.load(n.__spreadArray([(0,S.linearicons)("".concat(i,"linearicons/"))],t.style.fonts?t.style.fonts(i):[],!0),(function(e){e||console.error("Tripetto: Not all fonts could be loaded from '".concat(i,"'!")),h.Application.observe()}))},when:function(){return("inherit"===i||p.Fonts.isReady)&&(!t.m_pProperties.namespace||r.Namespace.isLoaded)},do:function(){return t.run()},desktopClass:!this.m_pProperties.element}):this.run()}return this},i.prototype.resize=function(){return this.m_pHost&&this.m_pHost.update(),this},i.prototype.load=function(e){return this.m_pDefinition=e,this.m_pPlugin&&this.m_pPlugin.map&&(this.m_pPlugin.map.definition=e,this.emitHook("OnChange",{builder:this,definition:e}),this.emitHook("OnPreview",{builder:this,definition:e}),this.onChange&&this.onChange(e,this),this.m_pProperties.onChange&&this.m_pProperties.onChange(e,this),this.m_pProperties.onPreview&&this.m_pProperties.onPreview(e,this)),this.m_pSave&&this.m_pSave.disable(),this.m_pRestore&&this.m_pRestore.disable(),this},i.prototype.reload=function(){return this.m_pPlugin&&this.m_pPlugin.map&&this.m_pPlugin.map.reload(),this},i.prototype.restore=function(){return this.m_pDefinition&&(this.m_pPlugin&&this.m_pPlugin.map&&(this.m_pPlugin.map.definition=this.m_pDefinition),this.m_pSave&&this.m_pSave.disable(),this.m_pRestore&&this.m_pRestore.disable()),this},i.prototype.save=function(){return this.m_pPlugin&&this.m_pPlugin.map&&(this.m_pDefinition=this.m_pPlugin.map.definition),this.m_pSave&&this.m_pSave.disable(),this.m_pRestore&&this.m_pRestore.disable(),this.m_pDefinition&&(this.emitHook("OnSave",{builder:this,definition:this.m_pDefinition}),this.onSave&&this.onSave(this.m_pDefinition,this),this.m_pProperties.onSave&&this.m_pProperties.onSave(this.m_pDefinition,this)),this.m_pDefinition},i.prototype.edit=function(e,t){var i=this;if(void 0===e&&(e="properties"),this.m_pPlugin&&this.m_pPlugin.map){var n=this.m_pPlugin.map.renderer;if(n instanceof d.Map2Layer){var o=n.layer;"properties"===e?m.MapEditor.openPanel(o,this.m_pPlugin.map):"prologue"===e&&!this.m_pProperties.disablePrologue&&this.m_pPlugin.map.layout instanceof d.MapLayout?this.m_pPlugin.map.layout.prologue():"epilogue"===e&&!t&&!this.m_pProperties.disableEpilogue&&this.m_pPlugin.map.layout instanceof d.MapLayout?this.m_pPlugin.map.layout.epilogue():this.m_pPlugin.map.forEach((function(n){return n.id===t&&(n instanceof c.Branch?"branch"===e?f.BranchEditor.openPanel(o,n,!0):"epilogue"===e&&!i.m_pProperties.disableEpilogue&&n.layout instanceof d.BranchLayout&&n.layout.epilogue():n instanceof c.Cluster&&"cluster"===e?g.ClusterEditor.openPanel(o,n,!0):n instanceof c.Node&&"node"===e?y.NodeEditor.openPanel(o,n,!0):n instanceof c.Condition&&"condition"===e&&b.ConditionEditor.openPanel(o,n,!0),!0)}))}}return this},i.prototype.clear=function(){this.m_pPlugin&&this.m_pPlugin.map&&this.m_pPlugin.map.reset();return this},i.prototype.close=function(){return this.m_bOpen=!1,this.m_pPlugin&&this.m_pPlugin.close(),this},i.prototype.useNamespace=function(e,t,i,n,o){var s=this;return void 0===n&&(n=!0),void 0===o&&(o=!1),new Promise((function(a,l){r.Namespace.use(e,t,i,(function(t){var i;t&&(null===(i=s.m_pProperties.namespace)||void 0===i?void 0:i.onLoad)&&s.m_pProperties.namespace.onLoad(c.Namespaces.get(e)),s.reload(),t?a():l()}),n,o)}))},i.prototype.tutorial=function(){return this.m_pPlugin&&this.m_pPlugin.tutorial(),this},i.prototype.createPanel=function(e,t){var i,n=this;return void 0===t&&(t="normal"),(0,s.assert)(this.panel).createPanel((function(t){i=e(t,n,n.style)}),l.Layer.configuration.width("normal"===t?this.style.forms.width.normal:"small"===t?this.style.forms.width.small:"compact"===t?this.style.forms.width.compact:t).animation(l.LayerAnimations.Zoom).autoCloseChildPanels("stroke")),i},i.prototype.stylesEditor=function(e,t,i,n,o,r,s){return void 0===o&&(o=!1),void 0===r&&(r=!0),this.createPanel((function(a,l,c){return new M.StylesEditor(a,e,t,i,n,o,r,s,void 0,c)}),400)},i.prototype.l10nEditor=function(e,t,i,n){return this.createPanel((function(o,r,s){return new _.L10nEditor(o,e,r,t,i,n,void 0,s)}),600)},i}(a.Hooks);t.Builder=L},74580:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(70655);n.__exportStar(i(4991),t),n.__exportStar(i(87474),t),n.__exportStar(i(61538),t),n.__exportStar(i(68681),t),n.__exportStar(i(68708),t),n.__exportStar(i(5023),t),n.__exportStar(i(49613),t),n.__exportStar(i(37853),t),n.__exportStar(i(96889),t),n.__exportStar(i(7551),t),n.__exportStar(i(25215),t)},44258:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionCard=void 0;var n=i(70655),o=i(4991),r=i(33294),s=i(87474),a=i(84389),l=i(68681),c=i(80299),u=i(5023),p=i(33463),h=i(96889),d=i(40910),m=i(82652),f=i(94689),g=i(9105),y=i(31325),b=function(e){function t(t){var i=e.call(this)||this;return i.m_bIsImporting=!1,i.m_pProperties=t,i.m_sBanner=t.banner||"",i.m_bModifier=!!(i.m_pProperties.indicator||i.m_pProperties.showAliases||i.m_pProperties.showScores),i.collection.hook("OnDimensionChange","framed",(function(){return i.onCollectionResize()}),i),i.collection.hook("OnItemPush","asynchronous",(function(e){return i.onCollectionPush(e.item)}),i),i.collection.hook("OnItemChange","synchronous",(function(e){return i.onCollectionChange(e)}),i),i.collection.hook("OnItemPop","synchronous",(function(e){return i.onCollectionPop(e.item)}),i),i}return n.__extends(t,e),Object.defineProperty(t.prototype,"collection",{get:function(){return this.m_pProperties.collection},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return"".concat(this.m_pProperties.title," (").concat(c.L10n.locale.number(this.collection.count),")")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCleanup",{get:function(){return!!(0,a.isFilledString)(this.m_pProperties.allowCleanup)||(0,a.castToBoolean)(this.m_pProperties.allowCleanup,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unnamedCount",{get:function(){return(0,a.filter)(this.collection.all,(function(e){return!e.getNameOfItem()})).length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"namedCount",{get:function(){return(0,a.filter)(this.collection.all,(function(e){return!!e.getNameOfItem()})).length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"duplicateCount",{get:function(){var e={},t={};return this.collection.each((function(i){var n=i.getNameOfItem(),o=i.getAliasOfItem(),r=!1;n&&((0,a.isNumberFinite)(e[n])||(e[n]=0),e[n]>0&&(r=!0),e[n]++),!r&&o&&((0,a.isNumberFinite)(t[o])||(t[o]=0),t[o]++)})),((0,a.reduce)(e,(function(e,t){return t>1?e+t-1:e}),0)||0)+((0,a.reduce)(t,(function(e,t){return t>1?e+t-1:e}),0)||0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isManualSortable",{get:function(){return!this.m_pProperties.sorting||"manual"===this.m_pProperties.sorting},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAutoSortable",{get:function(){return this.isManualSortable&&(0,a.castToBoolean)(this.m_pProperties.allowAutoSorting,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){if(this.m_pList){var e=this.m_pList.column("icon");if(e)return e.properties.default}return(0,a.isFilledString)(this.m_pProperties.icon)?this.m_pProperties.icon:""},set:function(e){if(this.m_pList){var t=this.m_pList.column("icon");t&&t.properties.default!==e&&(t.properties.default=e,t.refresh())}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this.m_pProperties.placeholder||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.m_pProperties.width||s.Controller.style.forms.width.normal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"banner",{get:function(){return this.m_sBanner},set:function(e){var t=this;e!==this.m_sBanner&&(this.m_sBanner=e,this.m_pBanner&&(this.m_pBanner.text=e,(0,a.scheduleFrame)((function(){t.resize()}))))},enumerable:!1,configurable:!0}),t.prototype.onCollectionResize=function(){this.m_pTitle&&(this.m_pTitle.label=this.title),this.collection.block&&this.collection.block.rerender(),this.m_pProperties.onResize&&this.m_pProperties.onResize(this.collection)},t.prototype.onCollectionPush=function(e){this.m_bIsImporting||(this.m_pList&&this.m_pList.add(new r.CollectionRow(this,e)),this.m_pProperties.onAdd&&this.m_pProperties.onAdd(e))},t.prototype.onCollectionChange=function(e){-193&e.reason&&this.m_pProperties.onReposition&&this.m_pProperties.onReposition(e.item)},t.prototype.onCollectionPop=function(e){if(this.m_pList){var t=this.m_pList.rowWithIdentifier(e.id);t&&t.delete()}this.m_pProperties.onDelete&&this.m_pProperties.onDelete(e)},t.prototype.onDraw=function(e){var t=this;this.m_sBanner&&(this.m_pBanner=e.create("h2",(function(e){e.text=t.m_sBanner}),[{display:"block",margin:0,padding:0,cursor:"default"},s.Controller.style.forms.form.title],this.stylesheet)),e.create("div",(function(e){e.create("div",(function(e){h.Toolbar.create({stylesheet:t.stylesheet,style:s.Controller.style.forms.collection.header.style,parent:e,left:[t.m_pTitle=new h.ToolbarStatic(s.Controller.style.forms.collection.header.title,t.title)],right:n.__spreadArray(n.__spreadArray([],t.m_pProperties.allowImport?[new h.ToolbarButton(s.Controller.style.forms.collection.header.import,void 0,void 0,(function(){return t.import()})),new h.ToolbarStatic(s.Controller.style.forms.collection.header.splitter)]:[],!0),[new h.ToolbarMenu(s.Controller.style.forms.collection.header.menu,void 0,(function(){var e=[];t.m_pProperties.menu?e.push.apply(e,(0,a.isFunction)(t.m_pProperties.menu)?t.m_pProperties.menu():t.m_pProperties.menu):e.push(new u.MenuItemWithIcon(59702,(0,c.pgettext)("builder","Add"),(function(){return t.collection.append()})));var i=t.unnamedCount,o=t.m_pProperties.allowExport&&t.namedCount||0,r=t.m_pProperties.allowDedupe&&t.duplicateCount||0;return n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray([],e,!0),t.isAutoSortable||t.m_pProperties.allowImport||t.m_pProperties.allowExport?n.__spreadArray(n.__spreadArray(n.__spreadArray([new p.MenuSeparator],t.isAutoSortable?[new u.MenuSubmenuWithIcon(59833,(0,c.pgettext)("builder","Sort"),[new u.MenuItemWithIcon(59829,(0,c.pgettext)("builder","Ascending"),(function(){return t.sort("ascending")})),new u.MenuItemWithIcon(59830,(0,c.pgettext)("builder","Descending"),(function(){return t.sort("descending")}))],t.collection.count<2)]:[],!0),t.m_pProperties.allowImport?[new u.MenuItemWithIcon(59052,(0,c.pgettext)("builder","Import"),(function(){return t.import()}))]:[],!0),t.m_pProperties.allowExport?[new u.MenuItemWithIcon(59053,(0,c.pgettext)("builder","Export")+(o>0&&" (".concat(c.L10n.locale.number(o),")")||""),(function(){return t.export()}),!o)]:[],!0):[],!0),[new p.MenuSeparator],!1),t.m_pProperties.allowDedupe?[new u.MenuItemWithIcon(59781,(0,c.pgettext)("builder","Delete duplicates")+(r>0&&" (".concat(c.L10n.locale.number(r),")")||""),(function(){return t.deduplicate()}),!r)]:[],!0),t.allowCleanup?[new u.MenuItemWithIcon(59011,(0,a.isFilledString)(t.m_pProperties.allowCleanup)?t.m_pProperties.allowCleanup:(0,c.pgettext)("builder","Delete unnamed")+(i>0&&" (".concat(c.L10n.locale.number(i),")")||""),(function(){return t.deleteUnnamed()}),!t.unnamedCount)]:[],!0),[new u.MenuItemWithIcon(59701,(0,c.pgettext)("builder","Delete all"),(function(){return t.deleteAll()}),0===t.collection.count)],!1)}),"right")],!1)})}));var i=!t.m_pProperties.allowVariables&&!t.m_pProperties.markdown&&t.m_pProperties.editable;e.create("div",(function(e){t.m_pList=new l.List({stylesheet:t.stylesheet,style:s.Controller.style.forms.collection.list,parent:e,columns:[{property:"icon",type:"icon",alignment:"right",width:36,size:20,visible:!!t.m_pProperties.icon,default:(0,a.isString)(t.m_pProperties.icon)&&t.m_pProperties.icon||void 0,colorize:function(e,t){return!(0,a.isFilledString)(t.name)&&s.Controller.style.forms.collection.unnamedIcon||void 0}},{property:"name",type:"string",width:"100%",sortable:!0,resortOnChange:!t.isManualSortable,default:t.m_pProperties.placeholder,editable:i?"auto":"no",decorator:function(e,t){return t.selectorSafe("unnamed",!(0,a.isFilledString)(e))},modifier:t.m_bModifier&&function(e,i,n){return i.name&&i.name+(i.isEditing(n)?"":(t.m_pProperties.indicator&&t.m_pProperties.indicator(i.item)?"#".concat(i.hash,"0"):"")+(((0,a.isFunction)(t.m_pProperties.showAliases)?t.m_pProperties.showAliases(i.item):t.m_pProperties.showAliases&&i.item.getAliasOfItem())?"#".concat(i.hash,"1"):"")+(((0,a.isFunction)(t.m_pProperties.showScores)?t.m_pProperties.showScores(i.item):t.m_pProperties.showScores&&(0,a.isNumberFinite)(i.item.getScoreOfItem()))?"#".concat(i.hash,"2"):""))||""}||void 0,markdown:(t.m_pProperties.allowVariables||t.m_pProperties.markdown||t.m_bModifier)&&function(e,i){return{parser:new f.MarkdownParser(e,{features:t.m_pProperties.markdown||f.MarkdownFeatures.None,mentions:t.m_pProperties.allowVariables&&t.collection.block&&(0,d.parseVariables)(t.collection.block)||void 0,references:(t.m_pProperties.indicator||t.m_pProperties.showAliases||t.m_pProperties.showScores)&&{numberOfChars:65,parser:function(e){return e.substr(0,64)===i.hash&&{shift:65,text:"2"===e.charAt(64)?"score":"1"===e.charAt(64)?"alias":"indicator"}||void 0}}||void 0}),features:t.m_pProperties.allowFormatting?f.MarkdownFeatures.Formatting|f.MarkdownFeatures.InlineCode:f.MarkdownFeatures.None,mentions:t.m_pProperties.allowVariables&&(0,m.parseMentions)(i,(function(e){return e.addSelector("variable")}))||void 0,references:(t.m_pProperties.indicator||t.m_pProperties.showAliases||t.m_pProperties.showScores)&&function(e,n,o){var r="indicator"===o?t.m_pProperties.indicator&&t.m_pProperties.indicator(i.item):"score"===o?(0,a.isFunction)(t.m_pProperties.showScores)?t.m_pProperties.showScores(i.item):t.m_pProperties.showScores&&i.item.getScoreOfItem():(0,a.isFunction)(t.m_pProperties.showAliases)?t.m_pProperties.showAliases(i.item):t.m_pProperties.showAliases&&i.item.getAliasOfItem()||void 0;return(r||(0,a.isNumberFinite)(r))&&e.create("span",(function(e){e.text=(0,a.isNumberFinite)(r)?c.L10n.locale.number(r,"auto"):r,e.addSelector(o)}))||void 0}||void 0}}||void 0},{property:"menu",type:"button",alignment:"center",width:54,size:20,default:s.Controller.style.forms.collection.assets.menu,menu:function(e){return n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray([],i?[new u.MenuItemWithIcon(59808,(0,c.pgettext)("builder","Rename"),(function(){return e.editorForColumn("name")}))]:[],!0),[new u.MenuItemWithIcon(58893,(0,c.pgettext)("builder","Properties"),(function(){return e.open()}))],!1),e.item.getMenuOfItem(),!0),t.isManualSortable?[new u.MenuSubmenuWithIcon(59709,(0,c.pgettext)("builder","Move"),[new u.MenuItemWithIcon(59713,(0,c.pgettext)("builder","Up"),(function(){return e.moveUpOrDown(!0)}),e.isFirstVisible),new u.MenuItemWithIcon(59714,(0,c.pgettext)("builder","Down"),(function(){return e.moveUpOrDown(!1)}),e.isLastVisible)],e.isFirstVisible&&e.isLastVisible)]:[],!0),[new p.MenuSeparator,new u.MenuItemWithIcon(59701,(0,c.pgettext)("builder","Delete"),(function(){return e.item.pop()}))],!1)},menuAlways:!0}],onReady:function(){return t.initialized()},onResize:function(){return t.resize()},onIndex:function(e){e.item.index=e.index},scrollable:"no",movable:t.isManualSortable?"strict":"no",sorting:t.isManualSortable?void 0:"name",sortingDirection:"descending"===t.m_pProperties.sorting?"descending":"ascending",emptyStateMessage:(0,a.isObject)(t.m_pProperties.emptyMessage)?n.__assign(n.__assign({},t.m_pProperties.emptyMessage),{markdown:!0}):t.m_pProperties.emptyMessage&&{message:t.m_pProperties.emptyMessage,markdown:!0}}),t.collection.each((function(e){t.m_pList&&t.m_pList.add(new r.CollectionRow(t,e))}))}),{position:"relative"},t.stylesheet),e.create("div",(function(e){h.Toolbar.create({stylesheet:t.stylesheet,style:s.Controller.style.forms.collection.footer.style,parent:e,left:[t.m_pProperties.menu?new h.ToolbarMenu(s.Controller.style.forms.collection.footer.add,void 0,t.m_pProperties.menu,"right"):new h.ToolbarButton(s.Controller.style.forms.collection.footer.add,void 0,void 0,(function(){var e=t.collection.append();t.m_pProperties.autoOpen&&e.open()}))]})}))}),s.Controller.style.forms.collection.appearance,this.stylesheet)},t.prototype.onResize=function(){this.m_pList&&this.m_pList.resize(),e.prototype.onResize.call(this)},t.prototype.onDestroy=function(){this.collection.unhookContext(this),e.prototype.onDestroy.call(this)},t.prototype.onInit=function(){return this.m_pList?(this.m_pList.init(),!1):e.prototype.onInit.call(this)},t.prototype.onRename=function(e){this.m_pProperties.onRename&&this.m_pProperties.onRename(e)},t.prototype.onOpen=function(e){this.m_pProperties.onOpen&&this.m_pProperties.onOpen(e)},t.prototype.onClose=function(e){this.m_pProperties.onClose&&this.m_pProperties.onClose(e)},t.prototype.measure=function(){var t,i=this.m_pList?this.m_pList.dimensions.height:0;return e.prototype.measure.call(this,s.Controller.style.forms.collection.header.height+i+s.Controller.style.forms.collection.footer.height+((null===(t=this.m_pBanner)||void 0===t?void 0:t.rectangleHeight)||0))},t.prototype.sort=function(e){this.isManualSortable&&this.m_pList&&this.m_pList.sort("name",e)},t.prototype.deleteUnnamed=function(){this.collection.each((function(e){(0,a.isFilledString)(e.getNameOfItem())||e.pop()}))},t.prototype.deleteAll=function(){this.collection.clear()},t.prototype.refresh=function(){var e;null===(e=this.m_pList)||void 0===e||e.refresh()},t.prototype.import=function(){var e=this;this.cards&&(this.m_bIsImporting=!0,g.CollectionImport.openPanel(this.cards.layer,this.collection,!!this.m_pProperties.showAliases,!!this.m_pProperties.showScores).onClose=function(){(0,a.scheduleAction)((function(){e.m_bIsImporting=!1,e.collection.each((function(t){var i;(null===(i=e.m_pList)||void 0===i?void 0:i.rowWithIdentifier(t.id))||e.onCollectionPush(t)}))}))})},t.prototype.export=function(){this.cards&&y.CollectionExport.openPanel(this.cards.layer,this.collection)},t.prototype.deduplicate=function(){var e=this;this.collection.each((function(t){if(!t.isDeleted){var i=t.getNameOfItem(),n=t.getAliasOfItem();(i||n)&&e.collection.each((function(e){!e.isDeleted&&(i&&e.getNameOfItem()===i||n&&e.getAliasOfItem()===n)&&e.id!==t.id&&e.delete()}))}}))},t.prototype.aliases=function(e){return e!==this.m_pProperties.showAliases&&((0,a.set)(this.m_pProperties,"showAliases",e),this.refresh()),this},t.prototype.scores=function(e){return e!==this.m_pProperties.showScores&&((0,a.set)(this.m_pProperties,"showScores",e),this.refresh()),this},t.prototype.indicators=function(e){return e!==this.m_pProperties.indicator&&((0,a.set)(this.m_pProperties,"indicator",e),this.refresh()),this},t}(o.Card);t.CollectionCard=b},95314:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionItemEditor=void 0;var n=i(70655),o=i(87474),r=i(85519),s=i(42907),a=i(85238),l=i(80299),c=i(84389),u=function(e){function t(t,i,n){void 0===n&&(n="");var o=e.call(this,t,i,i.getTitleOfItem()||n||(0,l.pgettext)("builder","Properties"))||this;return o.item.hook("OnRename","synchronous",(function(){o.title&&(o.title.label=o.item.getTitleOfItem()||n||(0,l.pgettext)("builder","Properties"))}),o),o.item.hook("OnItemPop","synchronous",(function(){return t.close()}),o),o}return n.__extends(t,e),t.open=function(e,i,n){return void 0===n&&(n=""),new t(e,i,n)},t.openPanel=function(e,t,i,n){var o=this;return void 0===n&&(n=""),e.createPanel((function(e){o.open(e,t,n)}),a.Layer.configuration.width(i).animation(a.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))},Object.defineProperty(t.prototype,"item",{get:function(){return this.ref},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var t=this;(0,s.invokeMarker)("editor",this.item,(0,c.set)(this.item,"orchestratorForEditor",new r.EditorOrchestrator(e,this.item,(function(){return t.close()}))))},t.prototype.onDestroy=function(){(0,c.set)(this.item,"orchestratorForEditor",void 0),this.item.unhookContext(this),e.prototype.onDestroy.call(this)},t}(o.Controller);t.CollectionItemEditor=u},31325:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionExport=void 0;var n=i(70655),o=i(87474),r=i(85238),s=i(84389),a=i(72898),l=i(48824),c=i(71528),u=i(80299),p=function(e){function t(i,n){return e.call(this,i,t.filter(n),(0,u.npgettext)("builder","Export (%1 item)","Export (%1 items)",t.count(n)))||this}return n.__extends(t,e),t.filter=function(e){return(0,s.filter)(e.all,(function(e){return!!e.getNameOfItem()}))},t.count=function(e){return this.filter(e).length},t.open=function(e,i){return new t(e,i)},t.openPanel=function(e,t){var i=this;return e.createPanel((function(e){i.open(e,t)}),r.Layer.configuration.width(400).animation(r.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))},Object.defineProperty(t.prototype,"items",{get:function(){return this.ref},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var t=(0,u.pgettext)("builder","Copy to clipboard"),i=new l.Text("multiline",s.Str.iterateToString(this.items,"\n",(function(e){return e.getNameOfItem()+(e.getAliasOfItem()&&" <"+e.getAliasOfItem()+">"||"")+((0,s.isNumberFinite)(e.getScoreOfItem())&&" ["+e.getScoreOfItem()+"]"||"")}))).readonly();e.add(new a.Form({controls:[new c.Button(t).width(200).onClick((function(e){e.type("accept"),e.label((0,u.pgettext)("builder","✔ Copied!")),i.copyToClipboard(),setTimeout((function(){e.type("normal"),e.label(t)}),1e3)}))]})),e.add(new a.Form({controls:[i]}))},t}(o.Controller);t.CollectionExport=p},9105:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionImport=void 0;var n=i(70655),o=i(87474),r=i(85238),s=i(84389),a=i(72898),l=i(48824),c=i(29377),u=i(71528),p=i(80299),h=function(e){function t(t,i,n,o){return e.call(this,t,{collection:i,aliases:n,scores:o},(0,p.pgettext)("builder","Import"))||this}return n.__extends(t,e),t.open=function(e,i,n,o){return new t(e,i,n,o)},t.openPanel=function(e,t,i,n){var o=this;return e.createPanel((function(e){o.open(e,t,i,n)}),r.Layer.configuration.width(400).animation(r.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))},Object.defineProperty(t.prototype,"collection",{get:function(){return this.ref.collection},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"supportsAliases",{get:function(){return this.ref.aliases},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"supportsScores",{get:function(){return this.ref.scores},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var t=this,i=(0,p.pgettext)("builder","Import"),n=new u.Button(i,"normal").on((function(){return h()})).disable(),o=new l.Text("multiline").on((function(){var e=r();n.label(0===e.length?i:(0,p.npgettext)("builder","Import %1 item","Import %1 items",e.length)),n.disabled(0===e.length)})),r=function(){return(0,s.filter)((0,s.map)(s.Str.replace(o.value,"\r","\n").split("\n"),(function(e){var i=s.Str.sanitize(e),n=t.supportsAliases&&i.lastIndexOf("<")||0,o=t.supportsAliases?">"===i.charAt(i.length-1)?i.length-1:i.lastIndexOf("> [")>0?i.lastIndexOf("> ["):i.lastIndexOf(">["):-1,r=n>0&&o>0&&n<o&&s.Str.sanitize(i.substring(n+1,o))||void 0,a=t.supportsScores&&i.lastIndexOf("[")||0,l=t.supportsScores?"]"===i.charAt(i.length-1)?i.length-1:i.lastIndexOf("] <")>0?i.lastIndexOf("] <"):i.lastIndexOf("]<"):-1,c=a>0&&l>0&&a<l?(0,s.castToFloat)(s.Str.sanitize(i.substring(a+1,l))):void 0;return{name:s.Str.sanitize(r||(0,s.isNumberFinite)(c)?i.substring(0,s.Num.min(r?n:i.length,(0,s.isNumberFinite)(c)?a:i.length)):i),alias:r,score:c}})),(function(e){return!!e.name}))},h=function(){var e=r();n.disable(),(0,s.each)(e,(function(e){e.alias&&t.collection.each((function(t){return t.getAliasOfItem()===e.alias&&(t.setNameOfItem(e.name),(0,s.isNumberFinite)(e.score)&&t.setScoreOfItem(e.score),!0)}))||t.collection.each((function(t){return t.getNameOfItem()===e.name&&(e.alias&&t.setAliasOfItem(e.alias),(0,s.isNumberFinite)(e.score)&&t.setScoreOfItem(e.score),!0)}))||t.collection.append((function(t){t.setNameOfItem(e.name),e.alias&&t.setAliasOfItem(e.alias),(0,s.isNumberFinite)(e.score)&&t.setScoreOfItem(e.score)}))})),t.close()};e.add(new a.Form({controls:[new c.Static((0,p.pgettext)("builder","Specify the items you wish to import in the input field below, placing each item on a separate row.")+(this.supportsAliases?"\n\n"+(0,p.pgettext)("builder","To include the identifier of an item add **<***identifier***>** at the end of each row."):"")+(this.supportsScores?"\n\n"+(0,p.pgettext)("builder","To include the score of an item add **[***score***]** at the end of each row."):"")).markdown()]})),e.add(new a.Form({controls:[n,o.autoFocus()]}))},t}(o.Controller);t.CollectionImport=h},33294:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionRow=void 0;var n=i(70655),o=i(68681),r=i(95314),s=function(e){function t(t,i){var n=e.call(this,i.id)||this;return n.m_pCollectionCard=t,n.m_pItem=i,n.m_pItem.hook("OnRename","synchronous",(function(){n.m_pCollectionCard.onRename(n.item),n.refresh("name","icon")}),n),n.m_pItem.hook("OnIcon","synchronous",(function(){return n.refresh("icon")}),n),n.m_pItem.hook("OnOpen","synchronous",(function(){return n.open()}),n),n.onTap((function(){return n.open()})),n}return n.__extends(t,e),Object.defineProperty(t.prototype,"item",{get:function(){return this.m_pItem},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.item.getIconOfItem()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.item.getNameOfItem()},set:function(e){this.item.setNameOfItem(e)},enumerable:!1,configurable:!0}),t.prototype.open=function(){var e=this;this.m_pCollectionCard.cards&&(this.select(),r.CollectionItemEditor.openPanel(this.m_pCollectionCard.cards.layer,this.item,this.item.getWidthOfItem()||this.m_pCollectionCard.width,this.m_pCollectionCard.placeholder).hook("OnBeforeShow","framed",(function(t){return e.m_pItem.hook("OnClose","synchronous",(function(){return t.layer.close()}),e)})).hook("OnClose","framed",(function(){e.deselect(),e.m_pItem.unhook("OnClose",e),e.m_pCollectionCard.onClose(e.item)})),this.m_pCollectionCard.onOpen(this.item))},t.prototype.destroy=function(){this.m_pItem.unhookContext(this),e.prototype.destroy.call(this)},n.__decorate([o.column],t.prototype,"icon",null),n.__decorate([o.column],t.prototype,"name",null),t}(o.ListRow);t.CollectionRow=s},87474:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=void 0;var n=i(70655),o=i(4991),r=i(9072),s=i(72898),a=i(53339),l=i(85238),c=i(33463),u=i(77020),p=i(80299),h=i(15661),d=i(96889),m=i(84389),f=i(22270),g=function(){function e(t,i,o,u,f,g,y,b,v){void 0===u&&(u="normal"),void 0===g&&(g="left"),void 0===y&&(y="on-when-validated"),void 0===b&&(b=(0,p.pgettext)("builder","Done")),void 0===v&&(v=[]);var M=this;if(this.m_bValidateCloseButton=!1,!(f=f||e.style))throw new Error("Tripetto: No styles available for the properties layer.");if(this.m_pStyle=e.style=f,this.m_pLayer=t,this.m_bHeader=(0,m.isString)(o),this.m_pReference=i,s.Form.style=this.style.forms.form,c.Menu.style=this.style.menu,t.createLayer((function(e){var t,i;e.element.style(((t={backgroundColor:M.style.forms.background})["right"===g?"borderLeft":"borderRight"]="1px solid ".concat(M.style.forms.border),t)),M.m_pSplitter=e.element.create("div",void 0,((i={position:"absolute",left:M.style.forms.cards.features?M.style.forms.cards.features.width-1:0,top:M.m_bHeader&&M.style.forms.header.height||0,bottom:0,width:1,backgroundColor:M.style.forms.border,opacity:0,pointerEvents:"none"})[r.Stylesheet.selector("visible")]={opacity:1},i))})),this.m_bHeader){var _=t.component(new d.ToolbarComponent({style:this.style.forms.header.style,left:this.onHeader(o||""),right:n.__spreadArray(n.__spreadArray([],v,!0),"disabled"!==y?[this.closeButton=new d.ToolbarButton(this.style.forms.header.buttons.close,b,void 0,(function(){return M.close()}))]:[],!0)},l.Layer.configuration.left("right"===g?1:0).right("left"===g?1:0).height(this.style.forms.header.height).alignTop()),"floating");h.Tap.single(_.layer.element,(function(){return M.scrollToTopOrBottom()})),this.closeButton&&(t.hook("OnBeforeShowPanel","synchronous",(function(){return M.closeButton.disable()})),t.hook("OnClosePanel","synchronous",(function(){return M.closeButton.enable()})),"on-when-validated"===y&&(this.m_bValidateCloseButton=!0))}this.onLayer(u),t.hook("OnDestroy","synchronous",(function(){return M.onDestroy()})),this.m_pReference instanceof a.Item&&this.m_pReference.hook("OnItemPop","synchronous",(function(){return M.close()}),this)}return Object.defineProperty(e.prototype,"style",{get:function(){return this.m_pStyle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layer",{get:function(){return this.m_pLayer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cards",{get:function(){return this.m_pCards},set:function(e){this.m_pCards=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ref",{get:function(){return this.m_pReference},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.m_pTitle},enumerable:!1,configurable:!0}),e.prototype.onHeader=function(e){return[this.m_pTitle=new d.ToolbarStatic(this.style.forms.header.title.withoutIcon,e)]},e.prototype.onLayer=function(e){var t=this;this.cards=new o.Cards({style:n.__assign(n.__assign({},this.style.forms.cards),{spacing:this.m_bHeader&&new f.Spacing(0,this.style.forms.header.height,0,0)||void 0}),layer:this.layer,mode:e}),this.onCards(this.cards),this.cards.isFeaturesSupported||0!==this.cards.count||this.cards.add(new s.Form({controls:[new u.Notification((0,p.pgettext)("builder","There are no properties you can manage here."),"info")]})),this.m_bValidateCloseButton&&this.cards.hook("OnValidated","framed",(function(e){return t.closeButton.disabled("pass"!==e.cards.validation&&"unknown"!==e.cards.validation)})),this.onLayerUpdate()},e.prototype.onLayerUpdate=function(){if(this.m_pSplitter){var e=!(!this.cards||1!==this.cards.mode||!this.cards.isFeaturesSupported);this.m_pSplitter.selectorSafe("visible",e)}},e.prototype.onDestroy=function(){this.cards=void 0,this.m_pReference instanceof a.Item&&this.m_pReference.unhookContext(this)},e.prototype.close=function(){this.layer.close()},e.prototype.scrollToTopOrBottom=function(){this.cards&&this.cards.scrollToTopOrBottom()},e}();t.Controller=g},85519:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditorOrchestrator=void 0;var n=i(84389),o=i(44258),r=i(72898),s=i(80299),a=function(){function e(e,t,i){this.m_pCards=e,this.m_fnClose=i,this.reference=t}return Object.defineProperty(e.prototype,"features",{get:function(){return this.m_pCards.features},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"close",{get:function(){var e=this;return function(){return e.m_fnClose(),!0}},enumerable:!1,configurable:!0}),e.prototype.form=function(e){var t=new r.Form(e);return this.m_pCards.isFeaturesSupported?this.features.card(t).card||t:this.m_pCards.add(t)},e.prototype.collection=function(e){var t=new o.CollectionCard(e);return this.m_pCards.isFeaturesSupported?this.features.card(t).card||t:this.m_pCards.add(t)},e.prototype.option=function(e){var t=(0,n.getAny)(e,"form"),i=(0,n.getAny)(e,"collection"),a=i&&new o.CollectionCard(i)||t&&new r.Form(t);return this.m_pCards.isFeaturesSupported&&0!==this.features.count||this.group((0,s.pgettext)("builder","General")),this.features.option({name:e.name,card:a,activated:(0,n.castToBoolean)(e.activated,e.locked||!1),visible:e.visible,disabled:e.disabled,locked:e.locked,on:e.on,onVisible:e.onVisible,onDisable:e.onDisable,onLock:e.onLock})},e.prototype.group=function(e){return this.features.static(e)},e}();t.EditorOrchestrator=a},20268:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ControllerTitleWithIcon=void 0;var n=i(70655),o=i(96889),r=i(27546),s=function(e){function t(t,i,n){var o=e.call(this,t.forms.header.title.withIcon,n)||this;return o.m_sColor=t.forms.header.title.color,o.m_sIcon=i,o}return n.__extends(t,e),Object.defineProperty(t.prototype,"icon",{get:function(){return this.m_sIcon},set:function(e){this.m_sIcon=e,this.element&&this.element.set("background-image",'url("'.concat((0,r.SVGColorizePath)(this.m_sIcon,this.m_sColor),'")'))},enumerable:!1,configurable:!0}),t.prototype.onDraw=function(t,i){e.prototype.onDraw.call(this,t,i),i.set("background-image",'url("'.concat((0,r.SVGColorizePath)(this.m_sIcon,this.m_sColor),'")'))},t}(o.ToolbarStatic);t.ControllerTitleWithIcon=s},61538:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.L10nEditor=void 0;var n=i(70655),o=i(84389),r=i(75048),s=i(72898),a=i(48824),l=i(29377),c=i(58157),u=i(20461),p=i(25436),h=i(87474),d=i(80299),m=i(5466),f=i(80299),g=function(e){function t(t,i,o,r,s,a,l,c,u,p){void 0===r&&(r={}),void 0===u&&(u="left"),void 0===p&&(p=[]);var h=e.call(this,t,{contract:i,l10n:n.__assign({},r),builder:o},l||(0,d.pgettext)("builder","Language settings"),"compact",c,u,"always-on",(0,d.pgettext)("builder","Close"),p)||this;return h.cache={},h.onChange=s,h.onTranslation=a,t.onClose=function(){return h.whenClosed&&h.whenClosed()},h}return n.__extends(t,e),t.prototype.verifyStrings=function(){var e=this;if(this.ref.contract.strings){var t=this.ref.l10n.translations&&((0,o.isArray)(this.ref.l10n.translations)?this.ref.l10n.translations:[this.ref.l10n.translations])||[];(0,o.each)(t,(function(t){(0,o.each)(t,(function(i,n){""===n||(0,o.findFirst)(e.ref.contract.strings,(function(e){return n===((0,o.isArray)(e)?e[0]:e)}))||(0,o.destroy)(t,n)}),{keys:!0})}));var i=(0,o.filter)(t,(function(e){var t=!1;return(0,o.each)(e,(function(e,i){i&&(t=!0)}),{keys:!0}),t}));0===i.length?(0,o.destroy)(this.ref.l10n,"translations"):1===i.length?(0,o.set)(this.ref.l10n,"translations",i[0]):(0,o.set)(this.ref.l10n,"translations",i)}},t.prototype.getTranslation=function(e,t,i){var n=(0,o.arrayItem)(e[t],i);return"string"==typeof n?n:(0,o.isArray)(n)&&1===n.length&&"string"==typeof n[0]?n[0]:void 0},t.prototype.fetchTranslation=function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,i,r;return n.__generator(this,(function(s){switch(s.label){case 0:return[4,Promise.all([Promise.resolve(this.cache[e]||e&&(0,o.isFunction)(this.onTranslation)&&this.onTranslation(e)||void 0)])];case 1:if(t=s.sent()[0],(0,o.isArray)(t))if(t.length>0)for(t=(i=t)[0],r=1;r<i.length;r++)t=n.__assign(n.__assign({},t),i[r]);else t=void 0;return[2,this.cache[e]=t||{}]}}))}))},t.prototype.onCards=function(e){var t,i,h,g,y,b=this,v=new o.Debounce((function(){b.ref.contract.contract&&(0,o.set)(b.ref.l10n,"contract",{name:b.ref.contract.contract.name,version:(0,r.valid)(b.ref.contract.contract.version)&&b.ref.contract.contract.version||"0.0.0"}),b.onChange&&b.onChange(b.ref.l10n,h?(0,o.extendImmutable)(b.ref.l10n,{language:h.value}):b.ref.l10n)}));this.layer.hook("OnClose","synchronous",(function(){v.cancel(),b.onChange&&b.onChange(b.ref.l10n,b.ref.l10n)}));var M=function(){var e=b.ref.l10n.translations&&((0,o.isArray)(b.ref.l10n.translations)?b.ref.l10n.translations:[b.ref.l10n.translations])||[],t=":".concat(o.Str.iterateToString(e,":",(function(e){return e[""]&&e[""].language||""})),":"),i=(0,o.map)((0,o.filter)(e,(function(e){return!(!e[""]||!e[""].language)})),(function(e){return{label:m.Locales.getDomain(e[""].language).language,value:e[""].language||""}})).sort((function(e,t){return e.label.localeCompare(t.label)})),r=n.__spreadArray([],i,!0);return b.ref.contract.availableTranslations&&(0,o.each)(b.ref.contract.availableTranslations,(function(e){-1===t.indexOf(":".concat(e,":"))&&(r.push({label:m.Locales.getDomain(e).language,value:e}),t+=e+":")})),r.sort((function(e,t){return e.label.localeCompare(t.label)})),{languages:n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray([],r.length>0?[{optGroup:(0,d.pgettext)("builder","Available translations")}]:[],!0),r,!0),[{optGroup:(0,d.pgettext)("builder","Languages without a translation")}],!1),(0,o.map)((0,o.filter)(m.Locales.domains,(function(e){return-1===e.locale.indexOf("-")&&-1===t.indexOf(":".concat(e.locale,":"))})),(function(e){return{label:e.locale===f.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),[{optGroup:(0,d.pgettext)("builder","Additional regions and dialects")}],!1),(0,o.map)((0,o.filter)(m.Locales.domains,(function(e){return-1!==e.locale.indexOf("-")&&-1===t.indexOf(":".concat(e.locale,":"))})),(function(e){return{label:e.locale===f.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),translations:i,default:b.ref.builder&&b.ref.builder.language||b.ref.l10n.language&&"auto"!==b.ref.l10n.language&&b.ref.l10n.language||i.length>0&&i[0].value||f.L10n.current}};this.verifyStrings();var _=M();if(this.ref.builder)e.add(new s.Form({title:(0,d.pgettext)("builder","Form language"),controls:[new l.Static((0,d.pgettext)("builder","Here you specify the language that you have used in the texts of your form. If no language is specified, Tripetto will try to select an appropriate translation automatically.")),new c.Dropdown(n.__spreadArray(n.__spreadArray(n.__spreadArray([{optGroup:(0,d.pgettext)("builder","Languages")}],(0,o.map)((0,o.filter)(m.Locales.domains,(function(e){return-1===e.locale.indexOf("-")})),(function(e){return{label:e.locale===f.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),[{optGroup:(0,d.pgettext)("builder","Additional regions and dialects")}],!1),(0,o.map)((0,o.filter)(m.Locales.domains,(function(e){return-1!==e.locale.indexOf("-")})),(function(e){return{label:e.locale===f.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),this.ref.builder.language).placeholder((0,d.pgettext)("builder","No language specified")).on((function(e){e.value!==b.ref.builder.language&&(b.ref.builder.language=e.value),g&&g.visible(!e.value),e.value&&h&&(h.value=e.value),i&&i.visible(!!e.value),v.invoke()}))]}));else if((0,o.arraySize)(this.ref.contract.availableTranslations)>0){var S=(0,d.pgettext)("builder","Always use a fixed translation.");y=new c.Dropdown(_.languages,this.ref.l10n.language&&"auto"!==this.ref.l10n.language?this.ref.l10n.language:f.L10n.current).visible(this.ref.l10n.language&&"auto"!==this.ref.l10n.language||!1).label((0,d.pgettext)("builder","Available translations:")).indent(32).on((function(){y&&(y.isVisible&&((0,o.set)(b.ref.l10n,"language",y.value||"auto"),y.hasFocus&&y.value&&h&&(h.value=y.value)),g&&g.visible(!y.isVisible),v.invoke())}));var I=new u.Radiobutton([{label:(0,d.pgettext)("builder","Automatic"),description:(0,d.pgettext)("builder","Use the best available translation based on browser language."),value:"auto"},{label:(0,d.pgettext)("builder","Manual"),description:S,value:"manual"}],this.ref.l10n.language&&"auto"!==this.ref.l10n.language?"manual":"auto").on((function(e){var t;if(e.buttonDescription("manual","auto"===e.value?S:""),y&&y.visible("manual"===e.value),i&&i.visible("manual"===e.value),h){var n="auto"===e.value?null===(t=b.ref.builder)||void 0===t?void 0:t.language:null==y?void 0:y.value;n&&(h.value=n)}(0,o.set)(b.ref.l10n,"language","manual"===e.value&&y?y.value:"auto"),v.invoke()}));e.add(new s.Form({title:(0,d.pgettext)("builder","Language selection"),controls:[new l.Static((0,d.pgettext)("builder","Specifies the language of common labels and messages in the runner. Things like buttons, supporting texts and notifications (all the labels that aren't defined in your form itself).")),I,y]}))}else(0,o.destroy)(this.ref.l10n,"language");if((0,o.arraySize)(this.ref.contract.strings)){var T={},N=[],j="",w=function(){var e=M();y&&y.options(e.languages),h&&h.options(e.languages)},L=function(e){if(b.ref.l10n.translations){if((0,o.isArray)(b.ref.l10n.translations))return(0,o.findFirst)(b.ref.l10n.translations,(function(t){return t[""]&&t[""].language===e}));if(b.ref.l10n.translations[""]&&b.ref.l10n.translations[""].language===e)return b.ref.l10n.translations}},C=new o.Debounce((function(){O(!1),v.invoke()}),"promise"),O=function(e){var t=x.value&&m.Plurals.getForFamily(x.value),i=t&&t.rules.length||1,n=L(h&&h.value||""),r=h&&h.value&&m.Locales.getDomain(h.value);k.title=r&&o.Str.capitalize(r.native||r.language)||(0,d.pgettext)("builder","Messages"),!e&&n&&n[""]&&(t?(0,o.set)(n[""],"plural-forms",t.expression):(0,o.destroy)(n[""],"plural-forms"),x.isVisible&&t?(0,o.set)(n[""],"plural-family",t.family):(0,o.destroy)(n[""],"plural-family")),(0,o.each)(T,(function(e,o){if(e.control.value=n&&b.getTranslation(n,o,1)||"",e.control.placeholder(e.placeholder),e.plurals.length>0){e.control.label((0,d.pgettext)("builder","Plural message: *%1*",t&&i>1?t.rules[0]:(0,d.pgettext)("builder","Singular")));for(var r=0;r<e.plurals.length;r++){var s=i>=r+2;e.plurals[r].control.visible(s),e.plurals[r].control.placeholder(e.plurals[r].label),e.plurals[r].control.value=n&&b.getTranslation(n,o,2+r)||"",s&&e.plurals[r].control.label((0,d.pgettext)("builder","Plural message: *%1*",t&&t.rules[r+1]||(0,d.pgettext)("builder","Plural")))}}}),{keys:!0}),(0,o.schedulePromise)((function(){return b.fetchTranslation(h&&h.value||"").then((function(e){if(A.isVisible&&e&&e[""]&&e[""]["plural-forms"]){var t=m.Plurals.getForExpression(e[""]["plural-forms"]);t&&(A.visible(!1),x.value=t.family)}(0,o.each)(T,(function(t,n){var o=b.getTranslation(e,n,1);o&&t.control.placeholder(o);for(var r=0;r<t.plurals.length;r++)if(i>=r+2){var s=b.getTranslation(e,n,2+r);s&&t.plurals[r].control.placeholder(s)}}),{keys:!0})}))}))},D=function(e,t,i){(0,o.schedulePromise)((function(){var n,r=L(h&&h.value||"");if(t&&!r){var s=x.value&&m.Plurals.getForFamily(x.value);(n={})[""]={language:h&&h.value||""},r=n,s&&(0,o.set)(r[""],"plural-forms",s.expression),x.isVisible&&s?(0,o.set)(r[""],"plural-family",s.family):(0,o.destroy)(r[""],"plural-family"),b.ref.l10n.translations?(0,o.isArray)(b.ref.l10n.translations)?b.ref.l10n.translations.push(r):(0,o.set)(b.ref.l10n,"translations",[(0,o.extendImmutable)(b.ref.l10n.translations),r]):(0,o.set)(b.ref.l10n,"translations",r),w()}if(r&&((r[e]||(r[e]=[null,""]))[i+1]=t,!t&&r[e]&&!(0,o.findFirst)(r[e],(function(e){return(0,o.isFilledString)(e)})))){(0,o.destroy)(r,e);var a=Object.keys(r);(0===a.length||1===a.length&&""===a[0])&&((0,o.isArray)(b.ref.l10n.translations)&&b.ref.l10n.translations.length>1?((0,o.set)(b.ref.l10n,"translations",(0,o.filter)(b.ref.l10n.translations,(function(e){return!e[""]||e[""].language!==(h&&h.value||"")}))),1===b.ref.l10n.translations.length&&(0,o.set)(b.ref.l10n,"translations",b.ref.l10n.translations[0])):(0,o.destroy)(b.ref.l10n,"translations"),w())}v.invoke()}))};h=new c.Dropdown(_.languages,_.default).label((0,d.pgettext)("builder","**Languages** | Select the language you want to edit labels for")).markdown().on((function(e){var t=m.Plurals.getForLocale(e.value||"en");if(A.visible(!t),t)x.value=t.family;else{var i=e.value&&L(e.value)||void 0,n=i&&i[""]&&i[""]["plural-family"]&&m.Plurals.getForFamily(i[""]["plural-family"]);x.value=n&&n.family}C.invoke()})),g=e.add(new s.Form({title:(0,d.pgettext)("builder","Translations"),controls:[new l.Static((0,d.pgettext)("builder","You can specify your own labels and messages for different languages. This way, you can customize the translations we supply. You can also add your own translations for languages that don't have a translation yet.")),h]})).visible(!(null===(t=this.ref.builder)||void 0===t?void 0:t.language));var x=new c.Dropdown((0,o.map)(m.Plurals.rules,(function(e){return{label:e.family,value:e.family}})),void 0).label((0,d.pgettext)("builder","**Plural rules** | Specifies the plural form to use ([learn more](https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals))")).markdown().placeholder((0,d.pgettext)("builder","Select the plural form for this language...")).on((function(){return C.invoke()})),A=new s.Group([x,new p.Spacer]).hide();(0,o.each)(this.ref.contract.strings.sort((function(e,t){return("string"==typeof e?e:e[0]).localeCompare("string"==typeof t?t:t[0])})),(function(e){var t="string"==typeof e?e:e[0],i=t.substr(t.indexOf("")+1),o=t.substr(0,t.indexOf("")).substr(t.indexOf("|")+1),r=[],s=new a.Text("singleline").placeholder(i).markdown().on((function(e){return D(t,e.value,0)})),c=[];if(o!==j&&(o&&(N.length>0&&N.push(new p.Spacer),N.push(new l.Static("**"+(0,d.pgettext)("builder",o.replace("|","** | ").replace(/\|/g," | "))).markdown())),j=o),"string"!=typeof e&&e[1]){var u=e[1].substr(e[1].indexOf("")+1);s.label((0,d.pgettext)("builder","Singular"));for(var h=function(e){var i=new a.Text("singleline").placeholder(u).visible(1===e).label("?").markdown().on((function(i){return D(t,i.value,e)}));c.push(i),r.push({control:i,label:u})},m=1;m<=5;m++)h(m)}N.push.apply(N,n.__spreadArray([s],c,!1)),T[t]={placeholder:i,control:s,plurals:r}}));var k=new s.Form({title:(0,d.pgettext)("builder","Messages"),controls:n.__spreadArray([A],N,!0)});O(!0),e.add(k)}if(this.ref.contract.customLocale){var z=(0,d.pgettext)("builder","Always use a fixed locale."),P=new c.Dropdown((0,o.map)(m.Locales.domains,(function(e){return{label:e.locale===f.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),this.ref.l10n.locale&&"auto"!==this.ref.l10n.locale?this.ref.l10n.locale:this.ref.l10n.language&&"auto"!==this.ref.l10n.language?this.ref.l10n.language:f.L10n.locale.locale.locale).visible(this.ref.l10n.locale&&"auto"!==this.ref.l10n.locale||!1).label((0,d.pgettext)("builder","Available locales:")).indent(32).on((function(){P.isFormVisible&&P.isObservable&&((0,o.set)(b.ref.l10n,"locale",P.value||"auto"),v.invoke())}));i=e.add(new s.Form({title:(0,d.pgettext)("builder","Locale"),controls:[new l.Static((0,d.pgettext)("builder","The locale is used to format things like dates and numbers.")),new u.Radiobutton([{label:(0,d.pgettext)("builder","Automatic"),description:(0,d.pgettext)("builder","Use the locale of the browser."),value:"auto"},{label:(0,d.pgettext)("builder","Manual"),description:z,value:"manual"}],this.ref.l10n.locale&&"auto"!==this.ref.l10n.locale?"manual":"auto").on((function(e){if("manual"===e.value&&(!b.ref.l10n.locale||"auto"===b.ref.l10n.locale)){var t=b.ref.builder?b.ref.builder.language:"auto"!==b.ref.l10n.language&&b.ref.l10n.language;t&&(P.value=t)}P.visible("manual"===e.value),e.buttonDescription("manual","auto"===e.value?z:""),e.isFormVisible?(0,o.set)(b.ref.l10n,"locale","manual"===e.value?P.value:"auto"):(0,o.destroy)(b.ref.l10n,"locale"),v.invoke()})),P]})).visible(this.ref.builder?!!this.ref.builder.language:this.ref.l10n.language&&"auto"!==this.ref.l10n.language||!1)}else(0,o.destroy)(this.ref.l10n,"locale")},t}(h.Controller);t.L10nEditor=g},68708:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Loader=void 0;var n=i(9072),o=function(){function e(e,t,i){this.m_pLoader=n.Element.create("div",(function(i){i.style({position:"absolute",left:0,right:0,top:0,bottom:0,height:t,margin:"auto auto",textAlign:"center"});for(var o=function(o){i.create("div",(function(i){i.style({width:t,height:t,backgroundColor:e,borderRadius:"100%",display:"inline-block",margin:"0 2px",animation:"".concat(n.Stylesheet.app.animation({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}})," 1.4s ease-in-out ").concat(1===o?"-0.32s":2===o?"-0.16s":"0s"," infinite both")})}))},r=1;r<=3;r++)o(r)}),i)}return e.create=function(t,i,n){return new e(t,i,n)},e.prototype.destroy=function(){this.m_pLoader.destroy()},e}();t.Loader=o},15890:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BranchEditor=void 0;var n=i(70655),o=i(84389),r=i(58157),s=i(71528),a=i(87474),l=i(72898),c=i(85238),u=i(73968),p=i(80299),h=i(20461),d=i(48824),m=i(6186),f=function(e){function t(i,n,o){var r=e.call(this,i,n,(0,p.pgettext)("builder","Branch properties"),"compact",n.layout instanceof u.MoveableLayout&&n.layout.style)||this;if(n.layout instanceof u.MoveableLayout){var s=n.layout.renderer;i.hook("OnShow","framed",(function(){return s.onEdit("start","branch",n)})),i.hook("OnClose","framed",(function(){return s.onEdit("end","branch",n)})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.branch===n&&(t.m_pEditor=void 0)})),o&&n.layout.scrollIntoView()}return r}return n.__extends(t,e),t.open=function(e,i,n){return void 0===n&&(n=!1),new t(e,i,n)},t.openPanel=function(e,t,i){var n=this;if(void 0===i&&(i=!1),this.m_pEditor&&this.m_pEditor.branch===t)return this.m_pEditor.layer;var o=t.layout&&t.layout.style;return(this.m_pEditor={branch:t,layer:e.createPanel((function(e){n.open(e,t,i)}),c.Layer.configuration.width(o?o.forms.width.small:0).animation(c.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"branch",{get:function(){return this.ref},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var t,i=this,a=(null===(t=this.branch.layout)||void 0===t?void 0:t.renderer).supportsEpilogue,c=[],u=new s.Button((0,p.pgettext)("builder","Edit closing message")).indent(32).on((function(){i.branch.layout instanceof m.BranchLayout&&i.branch.layout.epilogue()})).visible(a&&"epilogue"===this.branch.terminator);this.branch.map&&this.branch.map.forEach((function(e){((0,o.isFilledString)(e.name)||i.branch.jump===e)&&c.push({label:(0,o.isFilledString)(e.name)?e.name:(0,p.pgettext)("builder","Unnamed section"),value:e})}),"clusters",this.branch,!0),e.add(new l.Form({title:(0,p.pgettext)("builder","Name"),controls:[new d.Text("singleline",d.Text.bind(this.branch,"name","",void 0,(function(e){return e||void 0}))).autoFocus().autoSelect().bind((function(e){return i.branch.hook("OnRename","asynchronous",(function(){return e.refresh()}),e)})).unbind((function(e){return i.branch.unhookContext(e)}))]})),e.add(new l.Form({title:(0,p.pgettext)("builder","Follow this branch"),controls:[new h.Radiobutton([{label:(0,p.pgettext)("builder","For the first condition match (logical OR)"),value:"first"},{label:(0,p.pgettext)("builder","When all conditions match (logical AND)"),value:"all"},{label:(0,p.pgettext)("builder","When none of the conditions match (logical NOT)"),value:"none"},{label:(0,p.pgettext)("builder","For each condition match (iteration)"),value:"each"}],h.Radiobutton.bind(this.branch,"culling","first")).bind((function(e){return i.branch.hook("OnCullingChange","asynchronous",(function(){return e.refresh()}),e)})).unbind((function(e){return i.branch.unhookContext(e)}))]})),e.add(new l.Form({title:(0,p.pgettext)("builder","At the end of this branch"),controls:[new h.Radiobutton(n.__spreadArray([{label:(0,p.pgettext)("builder","Continue with the next section or branch"),value:"continuous"},{label:(0,p.pgettext)("builder","Jump to a specific point"),value:"jump",visible:(0,o.arraySize)(c)>0},{label:(0,p.pgettext)("builder","Jump to the end"),value:"abort"}],a?[{label:(0,p.pgettext)("builder","End with closing message"),value:"epilogue"}]:[],!0),h.Radiobutton.bind(this.branch,"terminator","continuous")).on((function(e){u.visible("epilogue"===e.value),f.visible("jump"===e.value)})).bind((function(e){return i.branch.hook("OnTerminatorChange","asynchronous",(function(){e.refresh();var t=f.control(0);t&&t.refresh()}),e)})).unbind((function(e){return i.branch.unhookContext(e)})),u]}));var f=e.add(new l.Form({title:(0,p.pgettext)("builder","Jump to"),controls:[new r.Dropdown(c,r.Dropdown.bind(this.branch,"jump",void 0))]})).visible("jump"===this.branch.terminator)},t}(a.Controller);t.BranchEditor=f},6186:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BranchLayout=void 0;var n=i(70655),o=i(40910),r=i(15890),s=i(26281),a=i(22270),l=i(9072),c=i(42396),u=i(75783),p=i(33463),h=i(5023),d=i(73968),m=i(84389),f=i(80299),g=i(27546),y=i(15661),b=i(95349),v=i(3640),M=i(61936),_=function(e){function t(t,i,n){var o=e.call(this,t,i,n,!0)||this;return o.m_sBackground="",o.branch.hook("OnTerminatorChange","synchronous",(function(){return o.terminator()})),o.branch.hook("OnCullingChange","synchronous",(function(){return o.culling()})),o.branch.hook("OnItemChange","synchronous",(function(e){4&e.reason&&o.connectors()})),o}return n.__extends(t,e),Object.defineProperty(t.prototype,"configuration",{get:function(){var e=(this.style.map.branches.junction.width-this.style.map.branches.junction.size)/2;return new a.Rectangles([{name:"self",minWidth:this.style.map.clusters.width+this.style.map.branches.junction.width},{name:"children",spacingTop:this.style.map.branches.top+this.style.map.branches.header.height+this.style.map.branches.footer.height,spacingBottom:this.style.map.clusters.junction.height+this.style.map.branches.terminators.height+2*this.style.map.connectors.spacing,spacingLeft:e,spacingRight:this.style.map.branches.junction.width-e,align:["self"]}])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branch",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"branches",{get:function(){return this.branch.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){var e=this.branch.cluster;return e?e.rectangles.rectangle("self").right-(this.style.map.branches.junction.width-this.style.map.branches.junction.size)/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){var e=this.branch.cluster;return e?e.rectangles.rectangle("self").bottom-1.5*this.style.map.clusters.footer.height:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"moveArea",{get:function(){return new a.Coordinate(this.style.map.branches.left*this.branch.zoom,this.style.map.branches.top*this.branch.zoom,(this.branch.rectangles.rectangle("self").width-this.style.map.branches.width-this.style.map.branches.left)*this.branch.zoom,(this.branch.rectangles.rectangle("self").height-this.style.map.branches.header.height-this.style.map.branches.top)*this.branch.zoom)},enumerable:!1,configurable:!0}),t.prototype.junctionTop=function(){return this.branch.rectangles.rectangle("children").bottom-this.branch.rectangles.rectangle("self").top},t.prototype.conditionsHeight=function(){var e=this.branch.conditions.firstItem,t=this.branch.conditions.lastItem,i=this.style.map.branches.header.height+this.style.map.branches.footer.height;return e&&t&&(i+=t.rectangles.bottom-e.rectangles.top),i},t.prototype.culling=function(){this.m_pCulling&&(this.m_pCulling.selector("first","first"===this.branch.culling),this.m_pCulling.selector("each","each"===this.branch.culling),this.m_pCulling.selector("all","all"===this.branch.culling),this.m_pCulling.selector("none","none"===this.branch.culling))},t.prototype.background=function(){if(this.m_pConnectorHorizontal){var e=this.drawBranchConnector(!1);e!==this.m_sBackground&&(this.m_sBackground=e,l.SVG.background(this.m_pConnectorHorizontal,this.branch.rectangles.rectangle("self").width,this.style.map.branches.top,this.m_sBackground,!0,!1))}},t.prototype.terminator=function(){this.m_pTerminator&&(this.m_pTerminator.selector("continuous","continuous"===this.branch.terminator),this.m_pTerminator.selector("jump","jump"===this.branch.terminator),this.m_pTerminator.selector("abort","abort"===this.branch.terminator),this.m_pTerminator.selector("epilogue","epilogue"===this.branch.terminator)),this.connectors()},t.prototype.connectors=function(){if(this.branch.parent){var e=this.branch.parent.cluster.layout;e&&e.connectors()}},t.prototype.backgroundImage=function(e){return e&&'url("'.concat(e,'")')||"none"},t.prototype.drawBranchConnector=function(e){var t=this.branch.rectangles.rectangle("self"),i=this.configuration.spacingLeft("children"),n=this.style.map.branches.culling;return(!e&&this.branch.isMoving?"":(0,g.SVGLine)({orientation:"horizontal",alignment:"top",color:e?this.style.map.connectors.guides:this.style.map.connectors.branch,width:t.width-this.style.map.branches.junction.size-this.style.map.connectors.spacing,height:this.style.map.branches.top,dotted:e?"begin-with-dot":"no",thickness:this.style.map.connectors.thickness,spacing:new a.Spacing(this.style.map.connectors.spacing+(!e&&this.branch.isFirst?i:0),(this.style.map.nodes.height-this.style.map.connectors.thickness)/2,0,0),break:{from:i+this.style.map.clusters.width/2-n.width/2-this.style.map.connectors.spacing,size:n.width+2*this.style.map.connectors.spacing}}))+(0,g.SVGLine)({orientation:"vertical",alignment:"center",color:e?this.style.map.connectors.guides:this.style.map.connectors.branch,width:i+this.style.map.clusters.width,height:this.style.map.branches.top,arrows:e?"no":"end",dotted:e?"begin-with-dot":"no",thickness:this.style.map.connectors.thickness,spacing:new a.Spacing(i,this.style.map.nodes.height/2+n.height/2+this.style.map.connectors.spacing,0,this.style.map.connectors.spacing)})},t.prototype.drawClusterConnector=function(e){return(0,g.SVGLine)({orientation:"vertical",alignment:"center",width:this.style.map.clusters.junction.width,height:this.style.map.clusters.junction.height,color:e?this.style.map.connectors.guides:this.style.map.connectors.cluster,thickness:this.style.map.connectors.thickness,arrows:e?"no":"end",dotted:e?"begin-with-dot":"no",spacing:new a.Spacing(0,this.style.map.clusters.junction.size+(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2+this.style.map.connectors.spacing,0,this.style.map.connectors.spacing)})},t.prototype.draw=function(e,t,i,n,o,r,a){var d,b,v,M,_,S,I,T,N,j,w,L,C,O=this;if(this.element&&!a){var D=this.conditionsHeight(),x=this.style.map.branches.culling,A=this.style.map.branches.terminators;this.element.style(((d={})[l.Stylesheet.selector("moving")]=this.style.map.branches.moving,d[l.Stylesheet.selector("following")]=this.style.map.branches.following,d[l.Stylesheet.selector("ensuing")]=this.style.map.branches.ensuing,d),this.stylesheet),this.m_pConnectorHorizontal=this.element.create("div",void 0,{position:"absolute",left:0,right:0,top:0,height:this.style.map.branches.top},this.stylesheet),this.m_pCulling=this.element.create("div",(function(e){e.addSelector(O.branch.culling),y.Tap.on(e,(function(){return O.cullingMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((b={position:"absolute",left:this.configuration.spacingLeft("children")+(this.style.map.clusters.width-x.width)/2,top:(this.style.map.nodes.height-x.height)/2,width:x.width,height:x.height,transition:"background-image .2s",backgroundRepeat:"no-repeat"})[l.Stylesheet.selector("first")]=((v={backgroundImage:this.backgroundImage(x.first.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(x.first.hover||x.first.image)},v[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(x.first.tap||x.first.image)},v[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(x.first.selected||x.first.image)},v),b[l.Stylesheet.selector("each")]=((M={backgroundImage:this.backgroundImage(x.each.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(x.each.hover||x.each.image)},M[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(x.each.tap||x.each.image)},M[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(x.each.selected||x.each.image)},M),b[l.Stylesheet.selector("all")]=((_={backgroundImage:this.backgroundImage(x.all.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(x.all.hover||x.all.image)},_[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(x.all.tap||x.all.image)},_[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(x.all.selected||x.all.image)},_),b[l.Stylesheet.selector("none")]=((S={backgroundImage:this.backgroundImage(x.none.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(x.none.hover||x.none.image)},S[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(x.none.tap||x.none.image)},S[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(x.none.selected||x.none.image)},S),b),this.stylesheet),this.element.create("div",(function(e){y.Tap.on(e,(function(){return O.animate((function(){return O.branch.insertAfter()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((I={position:"absolute",right:-this.configuration.spacingLeft("children"),top:(this.style.map.nodes.height-this.style.map.branches.junction.height)/2,width:this.style.map.branches.junction.width,height:this.style.map.branches.junction.height,backgroundImage:this.backgroundImage(this.style.map.branches.junction.image),backgroundRepeat:"no-repeat",transition:"background-image .2s"})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(this.style.map.branches.junction.hover||this.style.map.branches.junction.image)},I[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(this.style.map.branches.junction.tap||this.style.map.branches.junction.image)},I),this.stylesheet);var k=l.SVG.createBase64(this.style.map.clusters.width,100,(0,g.SVGLine)({orientation:"vertical",alignment:"center",width:this.style.map.clusters.width,height:100,thickness:this.style.map.connectors.thickness,color:this.style.map.connectors.cluster}));this.m_pConnectorVertical=this.element.create("div",(function(e){e.positionByTranslate3D=!0,e.y=O.style.map.branches.top+D+O.style.map.connectors.spacing,e.height=m.Num.max(O.branch.rectangles.spacingTop("children")-e.y+(O.style.map.clusters.junction.height-O.style.map.clusters.junction.size)/2-O.style.map.connectors.spacing,0)}),{position:"absolute",left:this.configuration.spacingLeft("children"),top:0,width:this.style.map.clusters.width,backgroundImage:this.backgroundImage(k),backgroundRepeat:"repeat-y",backgroundPosition:"top center"},this.stylesheet),this.background(),this.m_pConditions=this.element.create("div",(function(e){var t;e.height=D,e.create("div",(function(e){var t,i;O.m_pLabel=e.create("div",void 0,[O.style.map.branches.header.label.appearance,(t={},t[l.Stylesheet.selector("named")]=O.style.map.branches.header.label.named,t)],O.stylesheet),O.m_pButton=e.create("div",(function(e){(0,u.linearicon)(59881,e),y.Tap.single(e,(function(){return O.contextMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[O.style.map.branches.header.button.appearance,(i={},i[l.Stylesheet.selector("hover")]=O.style.map.branches.header.button.hover,i[l.Stylesheet.selector("tap")]=O.style.map.branches.header.button.tap,i[l.Stylesheet.selector("selected")]=O.style.map.branches.header.button.selected,i)],O.stylesheet),y.Tap.single(e,(function(){return O.edit()}))}),O.style.map.branches.header.appearance,O.stylesheet),e.create("div",(function(e){(0,u.linearicon)(59702,e),y.Tap.on(e,(function(){var t=(0,s.conditionMenu)(O.branch,O);p.Menu.openAtElement(t.length>0?t:[new h.MenuItemWithIcon(59674,(0,f.pgettext)("builder","No conditions available..."),void 0,!0)],e,{style:O.style.menu,position:"bottom",onOpen:function(){return e.addSelectorSafe("selected")},onClose:function(){return e.removeSelectorSafe("selected")}})}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[O.style.map.branches.footer.appearance,(t={},t[l.Stylesheet.selector("hover")]=O.style.map.branches.footer.hover,t[l.Stylesheet.selector("tap")]=O.style.map.branches.footer.tap,t[l.Stylesheet.selector("selected")]=O.style.map.branches.footer.selected,t)],O.stylesheet)}),[this.style.map.branches.appearance,{position:"absolute",left:this.style.map.branches.left,top:this.style.map.branches.top,width:this.style.map.branches.width}],this.stylesheet),this.m_pJunctionCluster=this.element.create("div",(function(e){var t=l.SVG.createBase64(O.style.map.clusters.junction.width,O.style.map.clusters.junction.height,O.drawClusterConnector(!1));e.create("div",void 0,{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundImage:O.backgroundImage(t),backgroundRepeat:"no-repeat"},O.stylesheet),e.bottom=n-O.junctionTop()-O.style.map.clusters.junction.height,y.Tap.on(e,(function(){return O.animate((function(){return O.branch.clusters.append()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((T={position:"absolute",left:this.configuration.spacingLeft("children")+(this.style.map.clusters.width-this.style.map.clusters.junction.width)/2,bottom:0,width:this.style.map.clusters.junction.width,height:this.style.map.clusters.junction.height,backgroundImage:this.backgroundImage(this.style.map.clusters.junction.image),backgroundRepeat:"no-repeat",transition:"background-image .2s"})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(this.style.map.clusters.junction.hover||this.style.map.clusters.junction.image)},T[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(this.style.map.clusters.junction.tap||this.style.map.clusters.junction.image)},T),this.stylesheet),this.m_pTerminator=this.element.create("div",(function(e){e.bottom=n-O.junctionTop()-O.style.map.clusters.junction.height-A.height,e.addSelector(O.branch.terminator),y.Tap.on(e,(function(){return O.terminatorMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),c.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((N={position:"absolute",left:this.configuration.spacingLeft("children")+(this.style.map.clusters.width-A.width)/2,bottom:0,width:A.width,height:A.height,transition:"background-image .2s",backgroundRepeat:"no-repeat"})[l.Stylesheet.selector("continuous")]=((j={backgroundImage:this.backgroundImage(A.continuous.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(A.continuous.hover||A.continuous.image)},j[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(A.continuous.tap||A.continuous.image)},j[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(A.continuous.selected||A.continuous.image)},j),N[l.Stylesheet.selector("jump")]=((w={backgroundImage:this.backgroundImage(A.jump.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(A.jump.hover||A.jump.image)},w[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(A.jump.tap||A.jump.image)},w[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(A.jump.selected||A.jump.image)},w),N[l.Stylesheet.selector("abort")]=((L={backgroundImage:this.backgroundImage(A.abort.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(A.abort.hover||A.abort.image)},L[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(A.abort.tap||A.abort.image)},L[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(A.abort.selected||A.abort.image)},L),N[l.Stylesheet.selector("epilogue")]=((C={backgroundImage:this.backgroundImage(A.epilogue.image)})[l.Stylesheet.selector("hover")]={backgroundImage:this.backgroundImage(A.epilogue.hover||A.epilogue.image)},C[l.Stylesheet.selector("tap")]={backgroundImage:this.backgroundImage(A.epilogue.tap||A.epilogue.image)},C[l.Stylesheet.selector("selected")]={backgroundImage:this.backgroundImage(A.epilogue.selected||A.epilogue.image)},C),N),this.stylesheet),this.style.map.rulers&&!a&&this.enableRulers("rgba(255,0,0,0.5)")}this.m_pLabel&&(this.m_pLabel.selector("named",(0,m.isFilledString)(this.branch.name)),this.m_pLabel.text=(0,m.isFilledString)(this.branch.name)?this.branch.name:(0,f.pgettext)("builder","Unnamed branch"))},t.prototype.resize=function(t,i,n,o){var r=this;e.prototype.resize.call(this,t,i,n,o),"zoom"!==o&&("width"!==o&&"redraw"!==o||this.background(),(0,b.write)((function(){var e=r.conditionsHeight(),t=r.junctionTop();r.m_pConditions&&(r.m_pConditions.height=e),r.m_pConnectorVertical&&(r.m_pConnectorVertical.y=r.style.map.branches.top+e+r.style.map.connectors.spacing,r.m_pConnectorVertical.height=m.Num.max(r.branch.rectangles.spacingTop("children")-r.m_pConnectorVertical.y+(r.style.map.clusters.junction.height-r.style.map.clusters.junction.size)/2-r.style.map.connectors.spacing,0)),r.m_pJunctionCluster&&(r.m_pJunctionCluster.bottom=i-t-r.style.map.clusters.junction.height),r.m_pTerminator&&(r.m_pTerminator.bottom=i-t-r.style.map.clusters.junction.height-r.style.map.branches.terminators.height)}),!this.m_pConditions||!this.m_pConditions.isInDOM),this.connectors())},t.prototype.onFirst=function(){e.prototype.onLast.call(this),this.background()},t.prototype.onGuides=function(){var t,i=this;e.prototype.onGuides.call(this,l.Element.create("div",(function(e){var t=i.style.map.branches.culling;e.create("div",void 0,{position:"absolute",left:0,right:0,top:0,height:i.style.map.branches.top,backgroundImage:i.backgroundImage(l.SVG.createBase64(i.branch.rectangles.rectangle("self").width,i.style.map.branches.top,i.drawBranchConnector(!0))),backgroundRepeat:"no-repeat",backgroundPosition:"right top"},i.stylesheet),e.create("div",void 0,{position:"absolute",left:i.configuration.spacingLeft("children")+(i.style.map.clusters.width-t.width)/2,top:(i.style.map.nodes.height-t.height)/2,width:t.width,height:t.height,backgroundImage:i.backgroundImage("all"===i.branch.culling?t.all.guide:"none"===i.branch.culling?t.none.guide:"each"===i.branch.culling?t.each.guide:t.first.guide),backgroundRepeat:"no-repeat"},i.stylesheet),e.create("div",void 0,{position:"absolute",right:(i.style.map.branches.junction.width-i.style.map.branches.junction.size)/-2,top:(i.style.map.nodes.height-i.style.map.branches.junction.height)/2,width:i.style.map.branches.junction.width,height:i.style.map.branches.junction.height,backgroundImage:i.backgroundImage(i.style.map.branches.junction.guide),backgroundRepeat:"no-repeat"},i.stylesheet),e.create("div",void 0,{position:"absolute",left:i.configuration.spacingLeft("children")+(i.style.map.clusters.width-i.style.map.clusters.junction.width)/2,bottom:i.style.map.branches.terminators.height+2*i.style.map.connectors.spacing,width:i.style.map.clusters.junction.width,height:i.style.map.clusters.junction.height,backgroundImage:i.backgroundImage(i.style.map.clusters.junction.guide),backgroundRepeat:"no-repeat"},i.stylesheet),e.create("div",void 0,{position:"absolute",left:i.configuration.spacingLeft("children")+(i.style.map.clusters.width-i.style.map.clusters.junction.width)/2,bottom:i.style.map.branches.terminators.height+2*i.style.map.connectors.spacing,width:i.style.map.clusters.junction.width,height:i.style.map.clusters.junction.height,backgroundImage:i.backgroundImage(l.SVG.createBase64(i.style.map.clusters.junction.width,i.style.map.clusters.junction.height,(0,g.SVGLine)({orientation:"vertical",alignment:"center",width:i.style.map.clusters.junction.width,height:i.style.map.clusters.junction.height,color:i.style.map.connectors.guides,thickness:i.style.map.connectors.thickness,dotted:"begin-with-dot",spacing:new a.Spacing(0,i.style.map.clusters.junction.size+(i.style.map.clusters.junction.height-i.style.map.clusters.junction.size)/2+i.style.map.connectors.spacing,0,i.style.map.connectors.spacing)}))),backgroundRepeat:"no-repeat"},i.stylesheet),e.create("div",void 0,[i.style.map.branches.guides&&i.style.map.branches.guides.appearance,{position:"absolute",left:i.style.map.branches.left,top:i.style.map.branches.top,width:i.style.map.branches.width,height:i.conditionsHeight(),"> div":{position:"absolute",left:-i.style.map.connectors.thickness,bottom:0,width:i.style.map.branches.width,height:0,backgroundImage:i.backgroundImage(l.SVG.createBase64(i.style.map.branches.width,100,(0,g.SVGLine)({orientation:"vertical",alignment:"center",width:i.style.map.branches.width,height:100,thickness:i.style.map.connectors.thickness,color:i.style.map.connectors.guides,dotted:"begin-with-dot"}))),backgroundRepeat:"repeat-y",backgroundPosition:"center top"}}],i.stylesheet).create("div")}),this.layer.context,void 0,((t={position:"absolute",contain:"strict",transformOrigin:"0 0 0",backgroundImage:this.backgroundImage("abort"===this.branch.terminator?this.style.map.branches.terminators.abort.guide:"epilogue"===this.branch.terminator?this.style.map.branches.terminators.epilogue.guide:"jump"===this.branch.terminator?this.style.map.branches.terminators.jump.guide:this.style.map.branches.terminators.continuous.guide),backgroundRepeat:"no-repeat",backgroundPosition:"left ".concat(this.configuration.spacingLeft("children")+(this.style.map.clusters.width-this.style.map.branches.terminators.width)/2,"px bottom ").concat(2*this.style.map.connectors.spacing,"px")})[l.Stylesheet.selector("visible")]=this.style.map.branches.guides&&this.style.map.branches.guides.visible,t[l.Stylesheet.selector("invisible")]=this.style.map.branches.guides&&this.style.map.branches.guides.invisible,t[l.Stylesheet.selector("first")]={"> div:first-child":{left:this.configuration.spacingLeft("children")+this.style.map.connectors.spacing}},t),this.stylesheet))},t.prototype.onGuidesChange=function(t,i,n,o,r,s){var a=this;if(this.guides){var l=this.guides.lastChild;if(l){var c=l.firstChild;if(c){var u=m.Num.max(this.branch.rectangles.spacingTop("children")-(this.style.map.branches.top+this.conditionsHeight()+this.style.map.connectors.spacing)+(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2-this.style.map.connectors.spacing,0);c.height=u,c.bottom=-u-2*this.style.map.connectors.spacing}}this.guides.selectorSafe("invisible",!t),this.guides.selectorSafe("first",this.branch.isFirst),(0,m.scheduleAnimation)((function(){a.guides&&(a.guides.selectorSafe("visible",t),a.guides.selectorSafe("invisible",!t))}))}e.prototype.onGuidesChange.call(this,t,i,n,o,r,s)},t.prototype.onMoveExpansion=function(e,t,i){return i instanceof o.Branch?new a.Coordinate(0,0,e-i.left/this.branch.zoom,0):new a.Coordinate(0,0,0,0)},t.prototype.onIsMoveIn=function(e,t,i){if(i instanceof o.Cluster){var n=this.branch.rectangles.rectangle("children");return!!m.Num.inRange(e,n.left,n.left+this.style.map.clusters.width)&&!!m.Num.inRange(t,n.top,n.bottom+this.style.map.clusters.junction.height+this.style.map.branches.terminators.height)}if(i instanceof o.Condition){var r=this.branch.rectangles.rectangle("children").left+(this.style.map.nodes.width-this.style.map.branches.width)/2;return!!m.Num.inRange(e,r,r+this.style.map.branches.width)&&!!m.Num.inRange(t,this.branch.rectangles.rectangle("self").top+this.style.map.branches.top,this.branch.rectangles.rectangle("self").top+this.branch.spacing+this.branch.offset)}return this.branch.rectangles.isCoordinateInRectangle("self",e,t)},t.prototype.moving=function(t){return!!e.prototype.moving.call(this,t)&&(this.background(),this.connectors(),!0)},t.prototype.edit=function(){r.BranchEditor.openPanel(this.layer,this.branch)},t.prototype.contextMenu=function(){var e=this,t=(0,s.conditionMenu)(this.branch,this),i=this.m_pButton;i&&p.Menu.openAtElement(n.__spreadArray(n.__spreadArray([],t.length>0?n.__spreadArray(n.__spreadArray([new p.MenuLabel((0,f.pgettext)("builder","Condition"))],t,!0),[new h.MenuSeparator],!1):[],!0),[new p.MenuLabel((0,f.pgettext)("builder","Branch")),new h.MenuItemWithIcon(58893,(0,f.pgettext)("builder","Properties"),(function(){return e.edit()})),new h.MenuSubmenuWithIcon(59710,(0,f.pgettext)("builder","Move"),[new h.MenuItemWithIcon(59715,(0,f.pgettext)("builder","Left"),(function(){return e.animate((function(){return e.branch.index--}))}),this.branch.isFirst),new h.MenuItemWithIcon(59716,(0,f.pgettext)("builder","Right"),(function(){return e.animate((function(){return e.branch.index++}))}),this.branch.isLast)],this.branch.isFirst&&this.branch.isLast),new h.MenuItemWithIcon(59064,(0,f.pgettext)("builder","Duplicate"),(function(){return e.branch.duplicate()})),new h.MenuSeparator,new h.MenuItemWithIcon(59701,(0,f.pgettext)("builder","Delete"),(function(){return e.animate((function(){return e.branch.delete()}))}))],!1),i,{style:this.style.menu,position:"right-from-center",onOpen:function(){return i.addSelectorSafe("selected")},onClose:function(){return i.removeSelectorSafe("selected")}})},t.prototype.cullingMenu=function(){var e=this,t=this.m_pCulling;if(t){var i=(0,v.getHelpTopic)("culling");p.Menu.openAtElement(n.__spreadArray([new p.MenuLabel((0,f.pgettext)("builder","Follow this branch")),new p.MenuItemWithImage(this.style.map.branches.culling.first.icon,(0,f.pgettext)("builder","For the first condition match (logical OR)"),(function(){return e.branch.culling="first"}),"first"===this.branch.culling),new p.MenuItemWithImage(this.style.map.branches.culling.all.icon,(0,f.pgettext)("builder","When all conditions match (logical AND)"),(function(){return e.branch.culling="all"}),"all"===this.branch.culling),new p.MenuItemWithImage(this.style.map.branches.culling.none.icon,(0,f.pgettext)("builder","When no conditions match (logical NOT)"),(function(){return e.branch.culling="none"}),"none"===this.branch.culling),new p.MenuItemWithImage(this.style.map.branches.culling.each.icon,(0,f.pgettext)("builder","For each condition match (iteration)"),(function(){return e.branch.culling="each"}),"each"===this.branch.culling)],i?[new h.MenuSeparator,new h.MenuLinkWithIcon(59699,(0,f.pgettext)("builder","Help with branch behavior"),i,"blank")]:[],!0),t,{style:this.style.menu,position:"top-from-center",onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){return t.removeSelectorSafe("selected")}})}},t.prototype.terminatorMenu=function(){var e=this,t=[],i=this.m_pTerminator,o=this.renderer.supportsEpilogue;if(i){this.branch.map&&this.branch.map.forEach((function(i,n){((0,m.isFilledString)(i.name)||e.branch.jump===i)&&t.push(new p.MenuItem((0,m.isFilledString)(i.name)?i.name:(0,f.pgettext)("builder","Unnamed section"),(function(){return e.branch.jump=i}),e.branch.jump===i))}),"clusters",this.branch,!0);var r=(0,v.getHelpTopic)("terminators");p.Menu.openAtElement(n.__spreadArray(n.__spreadArray(n.__spreadArray([],o&&"epilogue"===this.branch.terminator?[new p.MenuLabel((0,f.pgettext)("builder","Closing message")),new h.MenuItemWithIcon(58893,(0,f.pgettext)("builder","Edit closing message"),(function(){return e.epilogue()}))]:[],!0),[new p.MenuLabel((0,f.pgettext)("builder","At the end of this branch")),new h.MenuItemWithIcon(59714,(0,f.pgettext)("builder","Continue with the next section or branch"),(function(){return e.branch.terminator="continuous"}),"continuous"===this.branch.terminator),new h.MenuSubmenuWithIcon(59720,(0,f.pgettext)("builder","Jump to a specific point"),n.__spreadArray([],t,!0)),new h.MenuItemWithIcon(59646,(0,f.pgettext)("builder","Jump to end"),(function(){return e.branch.terminator="abort"}),"abort"===this.branch.terminator)],!1),o?n.__spreadArray([new h.MenuItemWithIcon(59350,(0,f.pgettext)("builder","End with closing message"),(function(){e.branch.terminator="epilogue",e.branch.epilogue&&!(0,m.compare)(e.branch.epilogue,{},!0)||e.epilogue()}),"epilogue"===this.branch.terminator)],r?[new h.MenuSeparator,new h.MenuLinkWithIcon(59699,(0,f.pgettext)("builder","Help with branch endings"),r,"blank")]:[],!0):[],!0),i,{style:this.style.menu,position:"bottom-from-center",onOpen:function(){return i.addSelectorSafe("selected")},onClose:function(){return i.removeSelectorSafe("selected")}})}},t.prototype.epilogue=function(){M.EpilogueEditor.openPanel(this.layer,this.branch,!1)},t.prototype.destroy=function(){this.m_pConditions=void 0,this.m_pLabel=void 0,this.m_pButton=void 0,this.m_pConnectorHorizontal=void 0,this.m_pConnectorVertical=void 0,this.m_pJunctionCluster=void 0,this.m_pTerminator=void 0,e.prototype.destroy.call(this)},t}(d.MoveableLayout);t.BranchLayout=_},94587:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClusterEditor=void 0;var n=i(70655),o=i(87474),r=i(72898),s=i(85238),a=i(73968),l=i(80299),c=i(48824),u=function(e){function t(i,n,o){var r=e.call(this,i,n,(0,l.pgettext)("builder","Section properties"),"compact",n.layout instanceof a.MoveableLayout&&n.layout.style)||this;if(n.layout instanceof a.MoveableLayout){var s=n.layout.renderer;i.hook("OnShow","framed",(function(){return s.onEdit("start","cluster",n)})),i.hook("OnClose","framed",(function(){return s.onEdit("end","cluster",n)})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.cluster===n&&(t.m_pEditor=void 0)})),o&&n.layout.scrollIntoView()}return r}return n.__extends(t,e),t.open=function(e,i,n){return void 0===n&&(n=!1),new t(e,i,n)},t.openPanel=function(e,t,i){var n=this;if(void 0===i&&(i=!1),this.m_pEditor&&this.m_pEditor.cluster===t)return this.m_pEditor.layer;var o=t.layout&&t.layout.style;return(this.m_pEditor={cluster:t,layer:e.createPanel((function(e){n.open(e,t,i)}),s.Layer.configuration.width(o?o.forms.width.small:0).animation(s.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"cluster",{get:function(){return this.ref},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){e.add(new r.Form({title:(0,l.pgettext)("builder","Name"),controls:[new c.Text("singleline",c.Text.bind(this.cluster,"name","",void 0,(function(e){return e||void 0}))).autoFocus().autoSelect()]}))},t}(o.Controller);t.ClusterEditor=u},393:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClusterLayout=void 0;var n=i(70655),o=i(75783),r=i(40910),s=i(94587),a=i(26281),l=i(22270),c=i(9072),u=i(42396),p=i(6186),h=i(33463),d=i(5023),m=i(73968),f=i(84389),g=i(80299),y=i(27546),b=i(15661),v=function(e){function t(t,i,n){var o=e.call(this,t,i,n,!0)||this;return o.m_sConnectors="",o}return n.__extends(t,e),Object.defineProperty(t.prototype,"connectorDimensions",{get:function(){var e=this.cluster.rectangles.rectangleApplied("self"),t=this.cluster.rectangles.rectangleApplied("children"),i=f.Num.max(e.right,t.right)-e.left,n=(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2+(t.bottom>e.bottom?t.bottom-e.bottom+this.cluster.rectangles.spacingBottom("children"):0);return new l.Dimensions(i,n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"configuration",{get:function(){return new l.Rectangles([{name:"self",spacingTop:this.style.map.clusters.junction.height,minWidth:this.style.map.clusters.width,maxWidth:this.style.map.clusters.width,minHeight:this.style.map.clusters.header.height+this.style.map.clusters.footer.height},{name:"children",spacingLeft:(this.style.map.clusters.width-this.style.map.nodes.width)/2,spacingRight:(this.style.map.clusters.width-this.style.map.nodes.width)/2,spacingTop:this.style.map.clusters.junction.height+this.style.map.clusters.header.height,spacingBottom:this.style.map.clusters.footer.height,align:["self"]}])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cluster",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clusters",{get:function(){return this.cluster.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"moveArea",{get:function(){return new l.Coordinate(0,0,0,(this.cluster.rectangles.rectangle("self").height-this.style.map.clusters.header.height)*this.cluster.zoom)},enumerable:!1,configurable:!0}),t.prototype.branchJunction=function(){this.m_pBranch&&(this.m_pBranch.selector("visible",!this.cluster.hasBranches),this.m_pBranch.selector("moving",this.isMoving),this.m_pBranch.selector("following",this.isFollowing))},t.prototype.drawConnectors=function(e){var t=this,i=this.cluster.rectangles.rectangleApplied("self"),n=this.connectorDimensions,o=(0,y.SVGLine)({orientation:"vertical",alignment:"center",width:this.style.map.clusters.width,height:n.height,thickness:this.style.map.connectors.thickness,color:e?this.style.map.connectors.guides:this.style.map.connectors.cluster,spacing:new l.Spacing(0,this.style.map.connectors.spacing,0,this.style.map.connectors.spacing),dotted:this.cluster.hasBranches||e?"begin-with-dot":"no"}),r=this.style.map.connectors.padding,s=this.style.map.connectors.radius,a=this.style.map.clusters.width/2,c=n.height-this.style.map.connectors.spacing,u="",p=!0;if(this.cluster.branches.each((function(e){if(!e.isMoving&&"continuous"===e.terminator){var n=e.rectangles.rectangle("children"),o=n.left+t.style.map.clusters.width/2-i.left,l=n.bottom-i.bottom+t.style.map.clusters.junction.height+t.style.map.branches.terminators.height+t.style.map.connectors.spacing;u+="M".concat(a,",").concat(c),p&&(u+="L".concat(a,",").concat(c-r),u+="a".concat(s,",").concat(s,",0,0,1,").concat(s,",-").concat(s),c=c-r-s,p=!1),u+="L".concat(a=o-s,",").concat(c),u+="a".concat(s,",").concat(s,",0,0,0,").concat(s,",-").concat(s),u+="L".concat(o,",").concat(l)}})),""!==u){var h=e?this.style.map.connectors.guides:this.style.map.connectors.cluster;o+='<path d="'.concat(u,'" fill="none" '),o+='stroke="'.concat(h,'" stroke-width="').concat(this.style.map.connectors.thickness,'"')+(e?' stroke-dasharray="'.concat(this.style.map.connectors.thickness,",").concat(this.style.map.connectors.thickness,'"'):"")+" />"}return o},t.prototype.drawConnector=function(e){return(0,y.SVGLine)({orientation:"vertical",alignment:"center",width:this.style.map.clusters.junction.width,height:this.style.map.clusters.junction.height,color:e?this.style.map.connectors.guides:this.style.map.connectors.cluster,thickness:this.style.map.connectors.thickness,arrows:e?"no":"end",dotted:e?"begin-with-dot":"no",spacing:new l.Spacing(0,this.style.map.clusters.junction.size+(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2+this.style.map.connectors.spacing,0,this.style.map.connectors.spacing)})},t.prototype.draw=function(e,t,i,n,r,s,a){var l,p,h,d,m=this;this.element&&!a&&(this.element.style([{contain:"size layout"},this.style.map.clusters.appearance,(l={},l[c.Stylesheet.selector("moving")]=this.style.map.clusters.moving,l[c.Stylesheet.selector("following")]=this.style.map.clusters.following,l[c.Stylesheet.selector("ensuing")]=this.style.map.clusters.ensuing,l)],this.stylesheet),this.element.create("div",(function(e){m.m_pConnectors=e,m.connectors()}),{position:"absolute",left:-this.style.map.clusters.borderSize,bottom:0,pointerEvents:"none",backgroundPosition:"left bottom"},this.stylesheet),this.element.create("div",(function(e){var t,i;m.m_pLabel=e.create("div",void 0,[m.style.map.clusters.header.label.appearance,(t={},t[c.Stylesheet.selector("named")]=m.style.map.clusters.header.label.named,t)],m.stylesheet),m.m_pButton=e.create("div",(function(e){(0,o.linearicon)(59881,e),b.Tap.on(e,(function(){return m.contextMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),u.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[m.style.map.clusters.header.button.appearance,(i={},i[c.Stylesheet.selector("hover")]=m.style.map.clusters.header.button.hover,i[c.Stylesheet.selector("tap")]=m.style.map.clusters.header.button.tap,i[c.Stylesheet.selector("selected")]=m.style.map.clusters.header.button.selected,i)],m.stylesheet),b.Tap.single(e,(function(){return m.edit()}))}),this.style.map.clusters.header.appearance,this.stylesheet),this.element.create("div",(function(e){(0,o.linearicon)(59702,e),b.Tap.on(e,(function(){return m.animate((function(){return m.cluster.nodes.append()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),u.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[this.style.map.clusters.footer.appearance,(p={},p[c.Stylesheet.selector("hover")]=this.style.map.clusters.footer.hover,p[c.Stylesheet.selector("tap")]=this.style.map.clusters.footer.tap,p)],this.stylesheet),this.style.map.clusters.branch.enabled&&(this.m_pBranch=this.element.create("div",(function(e){b.Tap.on(e,(function(){return m.animate((function(){return m.cluster.branches.append()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),u.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((h={position:"absolute",right:-this.style.map.clusters.branch.width,bottom:(this.style.map.clusters.footer.height-this.style.map.clusters.branch.height)/2-1,width:this.style.map.clusters.branch.width,height:this.style.map.clusters.branch.height,backgroundImage:'url("'.concat(this.style.map.clusters.branch.image,'")'),backgroundRepeat:"no-repeat",transition:"background-image .2s, opacity .2s",opacity:0,touchAction:"none"})[c.Stylesheet.selector("visible")]={opacity:1,touchAction:"auto"},h[c.Stylesheet.selector("hover")]={backgroundImage:'url("'.concat(this.style.map.clusters.branch.hover||this.style.map.clusters.branch.image,'")')},h[c.Stylesheet.selector("tap")]={backgroundImage:'url("'.concat(this.style.map.clusters.branch.tap||this.style.map.clusters.branch.image,'")')},h[c.Stylesheet.selector("moving")]={opacity:0},h[c.Stylesheet.selector("following")]={opacity:0},h),this.stylesheet),this.branchJunction()),this.element.create("div",(function(e){var t=c.SVG.createBase64(m.style.map.clusters.junction.width,m.style.map.clusters.junction.height,m.drawConnector(!1));e.create("div",void 0,{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundImage:'url("'.concat(t,'")'),backgroundRepeat:"no-repeat"},m.stylesheet),b.Tap.on(e,(function(){return m.animate((function(){return m.cluster.insertBefore().nodes.append()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),u.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((d={position:"absolute",left:this.style.map.clusters.junction.left,top:this.style.map.clusters.junction.top,width:this.style.map.clusters.junction.width,height:this.style.map.clusters.junction.height,backgroundImage:'url("'.concat(this.style.map.clusters.junction.image,'")'),backgroundRepeat:"no-repeat",transition:"background-image .2s"})[c.Stylesheet.selector("hover")]={backgroundImage:'url("'.concat(this.style.map.clusters.junction.hover||this.style.map.clusters.junction.image,'")')},d[c.Stylesheet.selector("tap")]={backgroundImage:'url("'.concat(this.style.map.clusters.junction.tap||this.style.map.clusters.junction.image,'")')},d),this.stylesheet),this.style.map.rulers&&this.enableRulers("rgba(0,0,255,0.5)")),this.m_pLabel&&(this.m_pLabel.selector("named",(0,f.isFilledString)(this.cluster.name)),this.m_pLabel.text=(0,f.isFilledString)(this.cluster.name)?this.cluster.name:(0,g.pgettext)("builder","Unnamed section"))},t.prototype.beforeResize=function(t){var i=t.isRectangleAligned("self","children"),n=this.cluster.nodes.firstItem;if(i){var o=this.cluster.nodes.lastItem;t.minHeight("self",t.maxHeight("self",this.style.map.clusters.header.height+this.style.map.clusters.footer.height)),n&&o&&t.minHeight("self",t.maxHeight("self",f.Num.max(o.rectangles.rectangle("self").bottom+o.rectangles.spacingBottom("self")-(n.rectangles.rectangle("self").top-n.rectangles.spacingTop("self"))+t.spacingVertical("children")-t.spacingVertical("self"),0)))}if(this.cluster.hasBranches){var r,s=0,a=0,l=0,c=0;this.cluster.branches.each((function(e){r||(r=e),e.position(),s=f.Num.max(e.rectangles.right,s),a=f.Num.max(e.rectangles.bottom,a)})),n?(l=s-n.rectangles.left,c=a-n.rectangles.top):r&&r.layout instanceof p.BranchLayout&&(l=s-r.rectangles.left+r.layout.x-this.cluster.rectangles.rectangle("self").left-this.cluster.rectangles.spacingLeft("children"),c=a-r.rectangles.top),t.rectangleWidth("children",l),t.rectangleHeight("children",c)}e.prototype.beforeResize.call(this,t)},t.prototype.resize=function(t,i,n,o){e.prototype.resize.call(this,t,i,n,o),"zoom"!==o&&this.connectors()},t.prototype.connectors=function(){if(this.m_pConnectors){var e=this.drawConnectors(!1),t=this.connectorDimensions;e===this.m_sConnectors&&this.m_pConnectors.width===t.width&&this.m_pConnectors.height===t.height||(this.m_sConnectors=e,this.m_pConnectors.bottom=-t.height-this.style.map.clusters.borderSize,c.SVG.background(this.m_pConnectors,t.width,t.height,e,!0,!0))}this.branchJunction()},t.prototype.onGuides=function(){var t,i=this;e.prototype.onGuides.call(this,c.Element.create("div",(function(e){var t=i.connectorDimensions;e.create("div",void 0,{position:"absolute",left:0,bottom:-t.height,width:t.width,height:t.height,backgroundImage:'url("'.concat(c.SVG.createBase64(t.width,t.height,i.drawConnectors(!0)),'")'),backgroundRepeat:"no-repeat"},i.stylesheet);var n=i.isMoving?i.style.map.clusters.junction.image:i.style.map.clusters.junction.guide;e.create("div",(function(e){var t=c.SVG.createBase64(i.style.map.clusters.junction.width,i.style.map.clusters.junction.height,(0,y.SVGLine)({orientation:"vertical",alignment:"center",width:i.style.map.clusters.junction.width,height:i.style.map.clusters.junction.height,color:i.style.map.connectors.guides,thickness:i.style.map.connectors.thickness,dotted:"begin-with-dot",spacing:new l.Spacing(0,i.style.map.clusters.junction.size+(i.style.map.clusters.junction.height-i.style.map.clusters.junction.size)/2+i.style.map.connectors.spacing,0,i.style.map.connectors.spacing)}));e.create("div",void 0,{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundImage:'url("'.concat(t,'")'),backgroundPosition:"center top",backgroundRepeat:"no-repeat"},i.stylesheet)}),{position:"absolute",left:0,right:0,top:-i.style.map.clusters.junction.height,height:i.style.map.clusters.junction.height,backgroundImage:'url("'.concat(n,'")'),backgroundPosition:"center top",backgroundRepeat:"no-repeat"},i.stylesheet),e.create("div",void 0,[i.style.map.clusters.guides&&i.style.map.clusters.guides.appearance,{position:"absolute",left:0,right:0,top:0,bottom:0}],i.stylesheet)}),this.layer.context,void 0,((t={position:"absolute",contain:"size layout",transformOrigin:"0 0 0"})[c.Stylesheet.selector("visible")]=this.style.map.clusters.guides&&this.style.map.clusters.guides.visible,t[c.Stylesheet.selector("invisible")]=this.style.map.clusters.guides&&this.style.map.clusters.guides.invisible,t),this.stylesheet))},t.prototype.onGuidesChange=function(t,i,n,o,r,s){var a=this;this.guides&&(this.guides.selectorSafe("invisible",!t),(0,f.scheduleAnimation)((function(){a.guides&&(a.guides.selectorSafe("visible",t),a.guides.selectorSafe("invisible",!t))}))),e.prototype.onGuidesChange.call(this,t,i,n,o,r,s)},t.prototype.onMoveExpansion=function(e,t,i){return i instanceof r.Branch&&this.cluster.hasBranches?new l.Coordinate(0,0,e-i.left/this.cluster.zoom,0):new l.Coordinate(0,0,0,0)},t.prototype.onIsMoveIn=function(e,t,i){if(i instanceof r.Branch){var n=this.cluster.rectangles.rectangle("self"),o=this.cluster.rectangles.rectangle("children"),s=this.cluster.branches.firstItem,a=e-i.left/this.cluster.zoom,l=o.bottom;return s&&(l=s.rectangles.rectangle("children").top+this.style.map.clusters.junction.height),!(!f.Num.inRange(e,n.left,n.right+a)||!f.Num.inRange(t,n.top,n.bottom))||!(!f.Num.inRange(e,f.Num.max(o.left,n.right),o.right+a)||!f.Num.inRange(t,o.top,l))}return this.cluster.rectangles.isCoordinateInRectangle("self",e,t)},t.prototype.moving=function(t){return!!e.prototype.moving.call(this,t)&&(this.branchJunction(),!0)},t.prototype.following=function(t){return!!e.prototype.following.call(this,t)&&(this.branchJunction(),!0)},t.prototype.edit=function(){s.ClusterEditor.openPanel(this.layer,this.cluster)},t.prototype.contextMenu=function(){var e=this,t=this.m_pButton,i=(0,a.conditionMenu)(this.cluster,this);t&&h.Menu.openAtElement(n.__spreadArray(n.__spreadArray([],i.length>0?n.__spreadArray(n.__spreadArray([new h.MenuLabel((0,g.pgettext)("builder","Add branch"))],i,!0),[new h.MenuSeparator],!1):[],!0),[new h.MenuLabel((0,g.pgettext)("builder","Item")),new d.MenuItemWithIcon(59647,(0,g.pgettext)("builder","Insert"),(function(){return e.animate((function(){return e.cluster.nodes.insert()}))})),new d.MenuItemWithIcon(59648,(0,g.pgettext)("builder","Append"),(function(){return e.animate((function(){return e.cluster.nodes.append()}))})),new h.MenuSeparator,new h.MenuLabel((0,g.pgettext)("builder","Section")),new d.MenuItemWithIcon(58893,(0,g.pgettext)("builder","Properties"),(function(){return e.edit()})),new d.MenuSubmenuWithIcon(59709,(0,g.pgettext)("builder","Move"),[new d.MenuItemWithIcon(59713,(0,g.pgettext)("builder","Up"),(function(){return e.animate((function(){return e.cluster.index--}))}),this.cluster.isFirst),new d.MenuItemWithIcon(59714,(0,g.pgettext)("builder","Down"),(function(){return e.animate((function(){return e.cluster.index++}))}),this.cluster.isLast)],this.cluster.isFirst&&this.cluster.isLast),new d.MenuItemWithIcon(59064,(0,g.pgettext)("builder","Duplicate"),(function(){return e.cluster.duplicate()})),new h.MenuSeparator,new d.MenuItemWithIcon(59701,(0,g.pgettext)("builder","Delete"),(function(){return e.animate((function(){return e.cluster.delete()}))}))],!1),t,{style:this.style.menu,position:"right-from-center",onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){return t.removeSelectorSafe("selected")}})},t.prototype.destroy=function(){this.m_pConnectors=void 0,this.m_pLabel=void 0,this.m_pButton=void 0,e.prototype.destroy.call(this)},t}(m.MoveableLayout);t.ClusterLayout=v},7108:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionEditor=void 0;var n=i(70655),o=i(81471),r=i(87474),s=i(85519),a=i(20268),l=i(72898),c=i(42907),u=i(85238),p=i(73968),h=i(77020),d=i(80299),m=i(84389),f=i(86294),g=function(e){function t(i,n,o){var r=e.call(this,i,n,"",void 0,n.layout instanceof p.MoveableLayout&&n.layout.style)||this;if(n.hook("OnBlockChange","synchronous",(function(){return r.close()}),r),n.layout instanceof p.MoveableLayout){var s=n.layout.renderer;i.hook("OnShow","framed",(function(){return s.onEdit("start","condition",n)})),i.hook("OnClose","framed",(function(){return s.onEdit("end","condition",n)})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.condition===n&&(t.m_pEditor=void 0)})),o&&n.layout.scrollIntoView()}return r}return n.__extends(t,e),t.open=function(e,i,n){return void 0===n&&(n=!1),new t(e,i,n)},t.openPanel=function(e,t,i){var n=this;if(void 0===i&&(i=!1),this.m_pEditor&&this.m_pEditor.condition===t)return this.m_pEditor.layer;var o=t.layout&&t.layout.style;return(this.m_pEditor={condition:t,layer:e.createPanel((function(e){n.open(e,t,i)}),u.Layer.configuration.width(o?o.forms.width.small:0).animation(u.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"condition",{get:function(){return this.ref},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeIcon",{get:function(){return!this.condition.isBlockInvalid&&this.condition.block instanceof o.ConditionBlock?this.condition.block.type.icon:this.style.map.blocks.error},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeLabel",{get:function(){return this.condition.isBlockInvalid?(0,d.pgettext)("builder","Invalid block"):this.condition.block instanceof f.ConditionBlockEx?this.condition.block.title||this.condition.block.type.label:(0,d.pgettext)("builder","Condition properties")},enumerable:!1,configurable:!0}),t.prototype.onHeader=function(){return[new a.ControllerTitleWithIcon(this.style,this.typeIcon,this.typeLabel)]},t.prototype.onCards=function(e){var t=this;this.condition.isBlockInvalid&&e.add(new l.Form({controls:[new h.Notification((0,d.pgettext)("builder","Not all properties are shown, because the block '%1' is not available.",this.condition.blockTypeIdentifier),"error")]})),this.condition.block instanceof o.ConditionBlock&&(0,c.invokeMarker)("editor",this.condition.block,(0,m.set)(this.condition.block,"orchestratorForEditor",new s.EditorOrchestrator(e,this.condition.block,(function(){return t.close()}))))},t.prototype.onDestroy=function(){this.condition.block instanceof o.ConditionBlock&&(0,m.set)(this.condition.block,"orchestratorForEditor",void 0),this.condition.unhookContext(this),e.prototype.onDestroy.call(this)},t}(r.Controller);t.ConditionEditor=g},63791:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionLayout=void 0;var n=i(70655),o=i(81471),r=i(7108),s=i(26281),a=i(9072),l=i(42396),c=i(84389),u=i(75783),p=i(33463),h=i(5023),d=i(73968),m=i(94689),f=i(82652),g=i(80299),y=i(22270),b=i(27546),v=i(15661),M=function(e){function t(t,i,n){var o=e.call(this,t,i,n,!0)||this;return o.m_sBackground="",o}return n.__extends(t,e),Object.defineProperty(t.prototype,"configuration",{get:function(){return new y.Rectangles([{name:"self",width:this.style.map.conditions.width,height:this.style.map.conditions.height}])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"condition",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conditions",{get:function(){return this.condition.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){var e=this.condition.branch;return e?e.rectangles.rectangle("self").left+(this.style.map.branches.junction.width-this.style.map.branches.junction.size)/2+(this.style.map.clusters.width-this.style.map.conditions.width)/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){var e=this.condition.branch;return e?e.rectangles.rectangle("self").top+this.style.map.branches.top+this.style.map.branches.header.height:0},enumerable:!1,configurable:!0}),t.prototype.background=function(){if(this.element){var e=this.condition.isLast,t=(0,b.SVGLine)({orientation:"horizontal",alignment:"bottom",color:e?this.style.map.conditions.separator.last:this.style.map.conditions.separator.between,width:this.style.map.conditions.width,height:this.style.map.conditions.height,thickness:1,spacing:new y.Spacing(e?0:16,0,e?0:16,0)});t!==this.m_sBackground&&(this.m_sBackground=t,a.SVG.background(this.element,this.style.map.conditions.width,this.style.map.conditions.height,this.m_sBackground,!0,!1))}},t.prototype.draw=function(e,t,i,n,r,s,p){var h,d,y,M,_,S=this,I=!!this.condition.disabled,T=(0,c.isFilledString)(this.condition.name),N=this.condition.block instanceof o.ConditionBlock?this.condition.block.icon:this.condition.isBlockInvalid?this.style.map.blocks.error:this.style.map.blocks.undefined;this.element&&(p||(this.element.style([this.style.map.conditions.appearance,(h={},h[a.Stylesheet.selector("named")]=this.style.map.conditions.named,h[a.Stylesheet.selector("moving")]=this.style.map.conditions.moving,h[a.Stylesheet.selector("following")]=this.style.map.conditions.following,h[a.Stylesheet.selector("ensuing")]=this.style.map.conditions.ensuing,h[a.Stylesheet.selector("disabled")]=this.style.map.conditions.disabled,h)],this.stylesheet),this.background(),this.style.map.rulers&&this.enableRulers("rgba(0,255,255,0.5)")),this.condition.block instanceof o.ConditionBlock&&(_=this.condition.block.draw(this.element,i,n,p))&&(this.m_pIcon=_.icon,this.m_pText=_.text,this.m_pName=_.name,this.m_pLabel=_.label,this.m_pButton=_.button),_||p||(this.m_pIcon=this.element.create("div",void 0,this.style.map.conditions.icon.appearance,this.stylesheet),this.m_pText=this.element.create("div",(function(e){S.m_pName=e.create("span",void 0,S.style.map.conditions.text.name,S.stylesheet),S.m_pLabel=e.create("span",void 0,S.style.map.conditions.text.label,S.stylesheet)}),[this.style.map.conditions.text.appearance,(d={},d[a.Stylesheet.selector("named")]=this.style.map.conditions.text.named,d[a.Stylesheet.selector("variable","span")]=this.style.map.conditions.text.variable,d.code=this.style.map.conditions.text.variable,d)],this.stylesheet),this.m_pButton=this.element.create("div",(function(e){(0,u.linearicon)(59881,e),v.Tap.single(e,(function(){return S.contextMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),l.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[this.style.map.conditions.button.appearance,(y={},y[a.Stylesheet.selector("hover")]=this.style.map.conditions.button.hover,y[a.Stylesheet.selector("tap")]=this.style.map.conditions.button.tap,y[a.Stylesheet.selector("selected")]=this.style.map.conditions.button.selected,y)],this.stylesheet)),this.element.selector("disabled",I),this.element.selector("named",T),this.m_pIcon&&this.m_pIcon.set("background-image",'url("'.concat((0,b.SVGColorizePath)(N,this.style.map.conditions.icon.color),'")')),this.m_pText&&this.m_pText.selector("named",T),this.m_pName&&(T?(0,f.parseVariablesToElement)(this.m_pName,this.condition.nameMarkdown,this.condition,(function(e){return e.addSelector("variable")}),!0===(null===(M=this.condition.block)||void 0===M?void 0:M.allowMarkdown)?m.MarkdownFeatures.Formatting|m.MarkdownFeatures.InlineCode:m.MarkdownFeatures.None):this.m_pName.text=this.condition.isBlockInvalid?(0,g.pgettext)("builder","Unknown condition"):(0,g.pgettext)("builder","Unnamed")),this.m_pLabel&&(this.m_pLabel.visible=(0,c.isFilledString)(this.m_pLabel.text=this.condition.label)),p||v.Tap.single(this.element,(function(){return S.edit()})))},t.prototype.onPush=function(){e.prototype.onPush.call(this),this.background()},t.prototype.onLast=function(){e.prototype.onLast.call(this),this.background()},t.prototype.onGuides=function(){var t,i=this;e.prototype.onGuides.call(this,this.isMoving&&a.Element.create("div",(function(e){return e.create("div",void 0,[{position:"absolute",left:0,right:0,top:0,bottom:0},i.style.map.conditions.guides&&i.style.map.conditions.guides.appearance],i.stylesheet)}),this.layer.context,void 0,((t={position:"absolute",contain:"strict",transformOrigin:"0 0 0"})[a.Stylesheet.selector("visible")]=this.style.map.conditions.guides&&this.style.map.conditions.guides.visible,t[a.Stylesheet.selector("invisible")]=this.style.map.conditions.guides&&this.style.map.conditions.guides.invisible,t),this.stylesheet)||void 0,!0)},t.prototype.onGuidesChange=function(t,i,n,o,r,s){var a=this;this.guides&&(this.guides.selectorSafe("invisible",!t),(0,c.scheduleAnimation)((function(){a.guides&&(a.guides.selectorSafe("visible",t),a.guides.selectorSafe("invisible",!t))}))),e.prototype.onGuidesChange.call(this,t,i,n,o,r,s)},t.prototype.edit=function(){this.condition.block instanceof o.ConditionBlock&&this.condition.block.open(this.layer)||r.ConditionEditor.openPanel(this.layer,this.condition)},t.prototype.contextMenu=function(){var e=this,t=this.m_pButton;t&&p.Menu.openAtElement(n.__spreadArray(n.__spreadArray([new p.MenuLabel((0,g.pgettext)("builder","Condition")),new h.MenuItemWithIcon(58893,(0,g.pgettext)("builder","Properties"),(function(){return e.edit()})),new h.MenuSubmenuWithIcon(59691,(0,g.pgettext)("builder","Type"),(0,s.conditionMenu)(this.condition,this),this.condition.isBlockInvalid)],this.condition.disabled?[new h.MenuItemWithIcon(59045,(0,g.pgettext)("builder","Enable"),(function(){return e.condition.enable()}))]:[new h.MenuItemWithIcon(59046,(0,g.pgettext)("builder","Disable"),(function(){return e.condition.disable()}))],!0),[new h.MenuSubmenuWithIcon(59709,(0,g.pgettext)("builder","Move"),[new h.MenuItemWithIcon(59713,(0,g.pgettext)("builder","Up"),(function(){return e.animate((function(){return e.condition.index--}))}),this.condition.isFirst),new h.MenuItemWithIcon(59714,(0,g.pgettext)("builder","Down"),(function(){return e.animate((function(){return e.condition.index++}))}),this.condition.isLast)],this.condition.isFirst&&this.condition.isLast),new h.MenuItemWithIcon(59064,(0,g.pgettext)("builder","Duplicate"),(function(){return e.condition.duplicate()})),new p.MenuSeparator,new h.MenuItemWithIcon(59701,(0,g.pgettext)("builder","Delete"),(function(){return e.animate((function(){return e.condition.delete()}))}))],!1),t,{style:this.style.menu,position:"right-from-center",onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){return t.removeSelectorSafe("selected")}})},t.prototype.destroy=function(){this.m_pIcon=void 0,this.m_pText=void 0,this.m_pName=void 0,this.m_pLabel=void 0,this.m_pButton=void 0,e.prototype.destroy.call(this)},t}(d.MoveableLayout);t.ConditionLayout=M},26281:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conditionMenu=void 0;var n=i(70655),o=i(42907),r=i(40910),s=i(84389),a=i(81471),l=i(86294),c=i(14549),u=i(33463),p=i(5023),h=i(10310),d=i(80299),m=i(3640);function f(e){if(e instanceof r.Condition)return e;if(e instanceof r.Node){if(!e.cluster)throw new Error("Tripetto: Node not connected to cluster!");e=e.cluster}return e instanceof r.Cluster&&(e=e.branches.append()),e.conditions.append()}function g(e){var t=c.ConditionsOrchestrator.create(e.node);return(0,o.invokeMarker)("conditions",e,(0,s.set)(e,"orchestratorForConditions",t)),(0,s.set)(e,"orchestratorForConditions",void 0),t.templates}function y(e){e instanceof l.ConditionBlockEx&&e.type.autoOpen&&e.condition.layout instanceof h.ConditionLayout&&e.condition.layout.edit()}t.conditionMenu=function(e,t){if(e instanceof r.Node){var i=[],o=e.block instanceof a.NodeBlock&&g(e.block)||[],l=(0,a.conditionTemplatesToMenu)(o,(function(){return t.animate((function(){return f(e)}))}),[],i);if(e.cluster&&i.length>1){var c=e.cluster;if(l.push(new u.MenuSeparator),(0,s.findFirst)(i,(function(e){return"branches"!==e.burst}))){var h=(0,s.findFirst)(i,(function(e){return"pipe"===e.burst}));l.push(new p.MenuSubmenuWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(i.length)),[new p.MenuItemWithIcon(59721,(0,d.pgettext)("builder","In separate branches"),(function(){return t.animate((function(){(0,s.each)(i,(function(e){var t=c.branches.append();t.name=e.label,e.execute(t.conditions.append(),!0)}))}))})),new p.MenuItemWithIcon(h?59118:59117,(0,d.pgettext)("builder","In a single branch"),(function(){return t.animate((function(){var e=c.branches.append();e.culling=h?"each":"first",(0,s.each)(i,(function(t){t.burst===(h?"pipe":"branch")&&t.execute(e.conditions.append(),!0)}))}))}))]))}else l.push(new p.MenuItemWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(i.length)),(function(){return t.animate((function(){(0,s.each)(i,(function(e){var t=c.branches.append();t.name=e.label,e.execute(t.conditions.append(),!0)}))}))})))}return l}var b=[],v=e.map,M=r.Namespaces.active.conditionBlocks.for("*"),_=r.Namespaces.active.conditionBlocks.for("cluster"),S=r.Namespaces.active.conditionBlocks.for("node"),I=r.Namespaces.active.conditionBlocks.for("branch"),T=e instanceof r.Condition||e instanceof r.Branch?e.cluster:e;if(T&&T.nodes.each((function(i){if(i.block instanceof a.NodeBlock){var n=[],o=g(i.block),l=(0,a.conditionTemplatesToMenu)(o,(function(){return t.animate((function(){return f(e)}))}),[],n);if(l.length>0){if(!(e instanceof r.Condition)&&n.length>1)if(l.push(new u.MenuSeparator),e instanceof r.Cluster&&(0,s.findFirst)(n,(function(e){return"branches"!==e.burst}))){var c=(0,s.findFirst)(n,(function(e){return"pipe"===e.burst}));l.push(new p.MenuSubmenuWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(n.length)),[new p.MenuItemWithIcon(59721,(0,d.pgettext)("builder","In separate branches"),(function(){return t.animate((function(){var e=i.cluster;e&&(0,s.each)(n,(function(t){var i=e.branches.append();i.name=t.label,t.execute(i.conditions.append(),!0)}))}))})),new p.MenuItemWithIcon(c?59118:59117,(0,d.pgettext)("builder","In a single branch"),(function(){return t.animate((function(){var e=i.cluster;if(e){var t=e.branches.append();t.culling=c?"each":"first",(0,s.each)(n,(function(e){e.burst===(c?"pipe":"branch")&&e.execute(t.conditions.append(),!0)}))}}))}))]))}else l.push(new p.MenuItemWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(n.length)),(function(){return t.animate((function(){(0,s.each)(n,(function(t){return t.execute(f(e),!0)}))}))})));b.push(new u.MenuSubmenuWithImage("".concat(i.block.icon),i.alias||i.label||i.block.label,l))}}})),b.length>0&&b.push(new u.MenuSeparator),e instanceof r.Cluster&&b.push(new p.MenuItemWithIcon(59719,(0,d.pgettext)("builder","Empty branch"),(function(){return t.animate((function(){return e.branches.append()}))}))),M.length>0&&((0,s.each)(M,(function(i){b.push(new u.MenuItemWithImage(i.icon,i.label,(function(){return t.animate((function(){return y(f(e).assignBlock(i))}))})))})),e instanceof r.Branch&&b.push(new u.MenuSeparator)),v&&b.push(new p.MenuSubmenuWithIcon(59767,(0,d.pgettext)("builder","Blocks"),(function(){var i=[],o={};return v.forEach((function(i){if(i.block instanceof a.NodeBlock){var n=[],l=g(i.block),c=(0,a.conditionTemplatesToMenu)(l,(function(){return t.animate((function(){return f(e)}))}),[],n);if(c.length>0){for(var h="",m=i.cluster;m&&""===h;)h=m.name||"",m=m.branch&&m.branch.cluster;if(!(e instanceof r.Condition)&&n.length>1)if(c.push(new u.MenuSeparator),e instanceof r.Cluster&&(0,s.findFirst)(n,(function(e){return"branches"!==e.burst}))){var y=(0,s.findFirst)(n,(function(e){return"pipe"===e.burst}));c.push(new p.MenuSubmenuWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(n.length)),[new p.MenuItemWithIcon(59721,(0,d.pgettext)("builder","In separate branches"),(function(){return t.animate((function(){var e=i.cluster;e&&(0,s.each)(n,(function(t){var i=e.branches.append();i.name=t.label,t.execute(i.conditions.append(),!0)}))}))})),new p.MenuItemWithIcon(y?59118:59117,(0,d.pgettext)("builder","In a single branch"),(function(){return t.animate((function(){var e=i.cluster;if(e){var t=e.branches.append();t.culling=y?"each":"first",(0,s.each)(n,(function(e){e.burst===(y?"pipe":"branch")&&e.execute(t.conditions.append(),!0)}))}}))}))]))}else c.push(new p.MenuItemWithIcon(58923,(0,d.pgettext)("builder","Quick add (%1)",d.L10n.locale.number(n.length)),(function(){return t.animate((function(){(0,s.each)(n,(function(t){return t.execute(f(e),!0)}))}))})));(o[h]||(o[h]=[])).push(new u.MenuSubmenuWithImage("".concat(i.block.icon),i.alias||i.label||i.block.label,c))}}}),"nodes"),(0,s.each)(o,(function(e,t){""!==t&&i.push.apply(i,n.__spreadArray([new u.MenuLabel(t)],e,!1))}),{keys:!0}),o[""]&&i.push.apply(i,n.__spreadArray([new u.MenuLabel((0,d.pgettext)("builder","Unnamed sections"))],o[""],!1)),i.length>0?i:[new p.MenuItemWithIcon(59674,(0,d.pgettext)("builder","No blocks available..."),void 0,!0)]}))),_.length>0||S.length>0||I.length>0){var N=[];_.length>0&&(N.push(new u.MenuLabel((0,d.pgettext)("builder","Sections"))),(0,s.each)(_,(function(i){N.push(new u.MenuSubmenuWithImage(i.icon,i.label,(function(){var n=[],o=e instanceof r.Cluster&&e||void 0;return o&&n.push(new p.MenuItemWithIcon(59256,o.name||(0,d.pgettext)("builder","This section"),(function(){return t.animate((function(){var t=f(e).assignBlock(i);t&&(t.cluster=o,y(t))}))}))),v&&v.forEach((function(r){r.name&&(o&&1===n.length&&n.push(new u.MenuSeparator),n.push(new u.MenuItem(r.name,(function(){return t.animate((function(){var t=f(e).assignBlock(i);t&&(t.cluster=r)}))}))))}),"clusters"),n})))}))),S.length>0&&(N.push(new u.MenuLabel((0,d.pgettext)("builder","Nodes"))),(0,s.each)(S,(function(i){N.push(new u.MenuSubmenuWithImage(i.icon,i.label,(function(){var o=[],r={};return v&&v.forEach((function(n){if(n.label){for(var o="",s=n.cluster;s&&""===o;)o=s.name||"",s=s.branch&&s.branch.cluster;(r[o]||(r[o]=[])).push(new u.MenuItem(n.alias||n.label,(function(){return t.animate((function(){var t=f(e).assignBlock(i);t&&(t.node=n,y(t))}))})))}}),"nodes"),(0,s.each)(r,(function(e,t){""!==t&&o.push.apply(o,n.__spreadArray([new u.MenuLabel(t)],e,!1))}),{keys:!0}),r[""]&&o.push.apply(o,n.__spreadArray([new u.MenuLabel((0,d.pgettext)("builder","Unnamed sections"))],r[""],!1)),o})))}))),I.length>0&&(N.push(new u.MenuLabel((0,d.pgettext)("builder","Branches"))),(0,s.each)(I,(function(i){N.push(new u.MenuSubmenuWithImage(i.icon,i.label,(function(){var o=[],a={};if(v&&v.forEach((function(n){if(n.name&&n.cluster){for(var o="",r=n.cluster;r&&""===o;)o=r.name||"",r=r.branch&&r.branch.cluster;(a[o]||(a[o]=[])).push(new u.MenuItem(n.name,(function(){return t.animate((function(){var t=f(e).assignBlock(i);t&&(t.branch=n,y(t))}))})))}}),"branches"),(0,s.each)(a,(function(e,t){""!==t&&o.push.apply(o,n.__spreadArray([new u.MenuLabel(t)],e,!1))}),{keys:!0}),a[""]&&o.push.apply(o,n.__spreadArray([new u.MenuLabel((0,d.pgettext)("builder","Unnamed sections"))],a[""],!1)),e instanceof r.Branch||e instanceof r.Condition){var l=e instanceof r.Branch?e:e.branch;l&&(o.length&&o.splice(0,0,new u.MenuSeparator),o.splice(0,0,new p.MenuItemWithIcon(59256,l.name||(0,d.pgettext)("builder","This branch"),(function(){return t.animate((function(){var t=f(e).assignBlock(i);t&&(t.branch=l,y(t))}))}))))}return o.length>0?o:[new p.MenuItemWithIcon(59674,(0,d.pgettext)("builder","No branches available..."),void 0,!0)]})))}))),N.length&&b.push(new p.MenuSubmenuWithIcon(59321,(0,d.pgettext)("builder","Other"),N))}if(b.length>0){var j=(0,m.getHelpTopic)("conditions");j&&b.push(new u.MenuSeparator,new p.MenuLinkWithIcon(59699,(0,d.pgettext)("builder","Help with branch conditions"),j,"blank"))}return b}},10310:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Map2Layer=t.ConditionLayout=t.BranchLayout=t.NodeLayout=t.ClusterLayout=t.MapLayout=void 0;var n=i(70655),o=i(84389),r=i(22910),s=i(40910),a=i(6186),l=i(393),c=i(17245),u=i(63791),p=i(52701),h=i(52701);Object.defineProperty(t,"MapLayout",{enumerable:!0,get:function(){return h.MapLayout}});var d=i(393);Object.defineProperty(t,"ClusterLayout",{enumerable:!0,get:function(){return d.ClusterLayout}});var m=i(17245);Object.defineProperty(t,"NodeLayout",{enumerable:!0,get:function(){return m.NodeLayout}});var f=i(6186);Object.defineProperty(t,"BranchLayout",{enumerable:!0,get:function(){return f.BranchLayout}});var g=i(63791);Object.defineProperty(t,"ConditionLayout",{enumerable:!0,get:function(){return g.ConditionLayout}});var y=function(e){function t(t,i,n,r,h,d){for(var m=[],f=6;f<arguments.length;f++)m[f-6]=arguments[f];var g=e.call(this,[{layout:p.MapLayout,type:s.Map},{layout:a.BranchLayout,type:s.Branch},{layout:l.ClusterLayout,type:s.Cluster},{layout:c.NodeLayout,type:s.Node},{layout:u.ConditionLayout,type:s.Condition}],t,i)||this;g.m_bPanes=!0;var y=function(e){return(0,o.each)(m,(function(t){!t||e&&!g.m_bPanes||(t.isVisible=e)}))};return g.m_pTier=n,g.m_pPanes=new o.Debounce(y,250),g.supportsPrologue=r,g.supportsEpilogue=h,t.hook("OnBeforeShowPanel","synchronous",(function(){y(!1),g.m_bPanes=!1,g.m_pPanes.invoke(!1)})),t.hook("OnClosePanel","synchronous",(function(){g.m_bPanes=!0,g.m_pPanes.invoke(!0)})),g.m_fnOnEdit=d,g}return n.__extends(t,e),Object.defineProperty(t.prototype,"map",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tier",{get:function(){return this.m_pTier},enumerable:!1,configurable:!0}),t.prototype.render=function(){this.map&&this.map.render(!0)},t.prototype.onMoveStart=function(){this.m_pPanes.invoke(!1),e.prototype.onMoveStart.call(this)},t.prototype.onMoveEnd=function(){this.m_pPanes.invoke(!0),e.prototype.onMoveEnd.call(this)},t.prototype.onEdit=function(e,t,i,n){this.m_fnOnEdit&&this.m_fnOnEdit(e,t,i,n)},t}(r.Renderer);t.Map2Layer=y},34041:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapEditor=void 0;var n=i(70655),o=i(73968),r=i(72898),s=i(85238),a=i(87474),l=i(80299),c=i(48824),u=i(29377),p=i(58157),h=i(84389),d=i(5466),m=i(80299),f=function(e){function t(i,n){var r=e.call(this,i,n,(0,l.pgettext)("builder","Form properties"),"compact",n.layout instanceof o.MoveableLayout&&n.layout.style)||this;if(n.layout){var s=n.layout.renderer;i.hook("OnShow","framed",(function(){return s.onEdit("start","properties",r.ref)})),i.hook("OnClose","framed",(function(){s.onEdit("end","properties",r.ref)})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.map===n&&(t.m_pEditor=void 0)}))}return r}return n.__extends(t,e),t.open=function(e,i){return new t(e,i)},t.openPanel=function(e,t){var i=this;if(this.m_pEditor&&this.m_pEditor.map===t)return this.m_pEditor.layer;var n=t.layout&&t.layout.style;return(this.m_pEditor={map:t,layer:e.createPanel((function(e){i.open(e,t)}),s.Layer.configuration.width(n?n.forms.width.small:0).animation(s.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"map",{get:function(){return this.ref},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var t=this;e.add(new r.Form({title:(0,l.pgettext)("builder","Name"),controls:[new c.Text("singleline",c.Text.bind(this.map,"name","",void 0,(function(e){return e||void 0}))).escape((function(){return t.close(),!0})).enter((function(){return t.close(),!0})).placeholder((0,l.pgettext)("builder","Unnamed")).autoFocus().autoSelect()]})),e.add(new r.Form({title:(0,l.pgettext)("builder","Description"),controls:[new c.Text("multiline-wo-crlf",c.Text.bind(this.map,"description","",void 0,(function(e){return e||void 0})))]})),e.add(new r.Form({title:(0,l.pgettext)("builder","Keywords"),controls:[new c.Text("multiline-wo-crlf",h.Str.iterateToString(this.map.keywords||[],", ")).on((function(e){var i=[];(0,h.each)(h.Str.replace(e.value,";",",").split(","),(function(e){var t=h.Str.sanitize(e);t&&i.push(t)})),t.map.keywords=i.length>0&&i||void 0})).transformation("lowercase").placeholder((0,l.pgettext)("builder","Separate keywords with a comma or semicolon"))]})),e.add(new r.Form({title:(0,l.pgettext)("builder","Language"),controls:[new u.Static((0,l.pgettext)("builder","Here you specify the language that you have used in the texts of your form.")),new p.Dropdown(n.__spreadArray(n.__spreadArray(n.__spreadArray([{optGroup:(0,l.pgettext)("builder","Languages")}],(0,h.map)((0,h.filter)(d.Locales.domains,(function(e){return-1===e.locale.indexOf("-")})),(function(e){return{label:e.locale===m.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),[{optGroup:(0,l.pgettext)("builder","Additional regions and dialects")}],!1),(0,h.map)((0,h.filter)(d.Locales.domains,(function(e){return-1!==e.locale.indexOf("-")})),(function(e){return{label:e.locale===m.L10n.current&&e.native||e.language||e.locale,value:e.locale}})).sort((function(e,t){return e.label.localeCompare(t.label)})),!0),p.Dropdown.bind(this.map,"language",void 0)).placeholder((0,l.pgettext)("builder","No language specified"))]}))},t}(a.Controller);t.MapEditor=f},61936:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EpilogueEditor=void 0;var n=i(70655),o=i(84389),r=i(35781),s=i(40910),a=i(87474),l=i(85238),c=i(73968),u=i(80299),p=i(33463),h=i(72898),d=i(48824),m=i(29377),f=i(70488),g=i(58157),y=i(6506),b=i(15558),v=i(36068),M=i(87627),_=n.__importDefault(i(31256)),S=i(3640),I=function(e,t){return n.__spreadArray([new p.MenuItemWithImage(_.default,(0,u.pgettext)("builder","Identification number"),(function(){return t((0,r.CSHA2_256)("id"))}))],e.length>0?n.__spreadArray([new p.MenuSeparator],e,!0):[],!0)},T=function(e){function t(i,r,a,l){var p=e.call(this,i,{ref:r,epilogue:(0,o.extendImmutable)(r.epilogue||{}),button:(0,o.extendImmutable)(r.epilogue&&r.epilogue.button||{}),allowUndefined:a},(0,u.pgettext)("builder","Closing message"),"normal",r.layout instanceof c.MoveableLayout&&r.layout.style)||this;if(p.onChange=[],r.layout){var h=r.layout.renderer;i.hook("OnShow","framed",(function(){return h.onEdit("start","epilogue",n.__assign(n.__assign({},r.epilogue),{branch:p.ref.ref instanceof s.Branch&&p.ref.ref.id||void 0}),(function(e){p.onChange.push(e)}))})),i.hook("OnClose","framed",(function(){p.onChange.splice(0,p.onChange.length),h.onEdit("end","epilogue",n.__assign(n.__assign({},r.epilogue),{branch:p.ref.ref instanceof s.Branch&&p.ref.ref.id||void 0}))})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.ref===r&&(t.m_pEditor=void 0)}))}return l&&p.onChange.push(l),p}return n.__extends(t,e),t.sanitize=function(e){var t;return(0,o.each)(Object.keys(e),(function(i){var n=(0,o.get)(e,i);(0,o.isUndefined)(n)||(0,o.isString)(n)&&!n||(0,o.set)(t||(t={}),i,n)})),t},t.open=function(e,i,n,o){return new t(e,i,n,o)},t.openPanel=function(e,t,i,n){var o=this;if(this.m_pEditor&&this.m_pEditor.ref===t)return this.m_pEditor.layer;var r=t.layout&&t.layout.style;return(this.m_pEditor={ref:t,layer:e.createPanel((function(e){o.open(e,t,i,n)}),l.Layer.configuration.width(r?r.forms.width.normal:0).animation(l.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"epilogue",{get:function(){return this.ref.epilogue},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var i=this,r=this.ref.ref instanceof s.Map?this.ref.ref:this.ref.ref.map,a=new o.Debounce((function(){if(!e.isFailed){var r=t.sanitize(i.epilogue.redirectUrl?{redirectUrl:i.epilogue.redirectUrl}:(0,o.extendImmutable)(i.epilogue,{button:i.ref.button.label&&i.ref.button.url&&i.ref.button.target?{label:i.ref.button.label,url:i.ref.button.url,target:i.ref.button.target}:void 0}))||(i.ref.allowUndefined?void 0:{});if(!(0,o.compare)(r,i.ref.ref.epilogue,!0)){var a=n.__assign(n.__assign({},r),{branch:i.ref.ref instanceof s.Branch&&i.ref.ref.id||void 0});i.ref.ref.epilogue=r,(0,o.each)(i.onChange,(function(e){e(a)}))}}}));if(r){var l=(0,S.getHelpTopic)("epilogue");e.features.card(new h.Form({title:(0,u.pgettext)("builder","Explanation"),controls:[new m.Static((0,u.pgettext)("builder","The closing message is typically shown when a user completes a form or survey. It depends on the runner how this closing message is presented to the user. At the left side of the screen you can select the features you want to activate for the closing message%1.",l?" ([".concat((0,u.pgettext)("builder","learn more"),"](").concat(l,"))"):"")).markdown()]})),e.features.static((0,u.pgettext)("builder","Message text"));var c=e.features.option({name:(0,u.pgettext)("builder","Text"),card:new h.Form({title:(0,u.pgettext)("builder","Text"),controls:[new d.Text("multiline",d.Text.bind(this.epilogue,"title",void 0)).placeholder((0,u.pgettext)("builder","Type here (hit @ to insert a variable)")).action("@",(0,v.insertVariable)(r,"all",I)).on((function(){return a.invoke()}))]}),activated:!!this.epilogue.title,disabled:!!this.epilogue.redirectUrl}),p=e.features.option({name:(0,u.pgettext)("builder","Description"),card:new h.Form({title:(0,u.pgettext)("builder","Description"),controls:[new d.Text("multiline",d.Text.bind(this.epilogue,"description",void 0)).placeholder((0,u.pgettext)("builder","Type here (hit @ to insert a variable)")).action("@",(0,v.insertVariable)(r,"all",I)).on((function(){return a.invoke()}))]}),activated:!!this.epilogue.description,disabled:!!this.epilogue.redirectUrl});e.features.static((0,u.pgettext)("builder","More options"));var _=e.features.option({name:(0,u.pgettext)("builder","Image"),card:new h.Form({title:(0,u.pgettext)("builder","Image"),controls:[new d.Text("singleline",d.Text.bind(this.epilogue,"image",void 0)).inputMode("url").placeholder("https://").action("@",(0,v.insertVariable)(r,"all",I)).on((function(){return a.invoke()})).autoValidate((function(e){return""===e.value?"unknown":M.REGEX_IS_URL.test(e.value)||e.value.length>23&&0===e.value.indexOf("data:image/jpeg;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/png;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/svg;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/gif;base64,")||e.value.length>1&&"/"===e.value.charAt(0)?"pass":"fail"}))]}),activated:!!this.epilogue.image,disabled:!!this.epilogue.redirectUrl}),T=e.features.option({name:(0,u.pgettext)("builder","Video"),card:new h.Form({title:(0,u.pgettext)("builder","Video"),controls:[new d.Text("singleline",d.Text.bind(this.epilogue,"video",void 0)).inputMode("url").placeholder("https://").action("@",(0,v.insertVariable)(r,"all",I)).on((function(){return a.invoke()})).autoValidate((function(e){return""===e.value?"unknown":M.REGEX_IS_URL.test(e.value)&&((0,b.getYouTubeId)(e.value)||(0,y.getVimeoId)(e.value))?"pass":"fail"})),new m.Static((0,u.pgettext)("builder","Currently [YouTube](https://youtube.com) and [Vimeo](https://vimeo.com) videos are supported. Just click the share button of your video and paste the resulting embed link in the field above.")).markdown()]}),activated:!!this.epilogue.video,disabled:!!this.epilogue.redirectUrl}),N=e.features.option({name:(0,u.pgettext)("builder","Button"),card:new h.Form({title:(0,u.pgettext)("builder","Button"),controls:[new d.Text("singleline",d.Text.bind(this.ref.button,"label",void 0)).label((0,u.pgettext)("builder","Label")).action("@",(0,v.insertVariable)(r,"all",I)).placeholder((0,u.pgettext)("builder","Type here (hit @ to insert a variable)")).on((function(){return a.invoke()})),new d.Text("singleline",d.Text.bind(this.ref.button,"url",void 0)).label((0,u.pgettext)("builder","URL")).inputMode("url").action("@",(0,v.insertVariable)(r,"all",I)).placeholder("https://").on((function(){return a.invoke()})).autoValidate((function(e){return""===e.value?"unknown":M.REGEX_IS_URL.test(e.value)?"pass":"fail"})),new g.Dropdown([{label:(0,u.pgettext)("builder","Same tab/window"),value:"self"},{label:(0,u.pgettext)("builder","New tab/window"),value:"blank"}],g.Dropdown.bind(this.ref.button,"target",void 0,"self")).label((0,u.pgettext)("builder","Open in")).on((function(){return a.invoke()}))]}),activated:!!this.epilogue.button,disabled:!!this.epilogue.redirectUrl}),j=e.features.option({name:(0,u.pgettext)("builder","Repeatability"),card:new h.Form({title:(0,u.pgettext)("builder","Repeatability"),controls:[new f.Checkbox((0,u.pgettext)("builder","Form is repeatable"),d.Text.bind(this.epilogue,"repeatable",void 0,!0)).on((function(){return a.invoke()})),new m.Static((0,u.pgettext)("builder","When a form is repeatable, the user can fill out the same form again after a form is submitted."))]}),activated:(0,o.isBoolean)(this.epilogue.repeatable),disabled:!!this.epilogue.redirectUrl});e.features.option({name:(0,u.pgettext)("builder","Redirect"),card:new h.Form({title:(0,u.pgettext)("builder","Redirect to a custom URL"),controls:[new d.Text("singleline",d.Text.bind(this.epilogue,"redirectUrl",void 0)).inputMode("url").action("@",(0,v.insertVariable)(r,"all",I)).placeholder("https://").on((function(){return a.invoke()})).autoValidate((function(e){return""===e.value?"unknown":M.REGEX_IS_URL.test(e.value)?"pass":"fail"})),new m.Static((0,u.pgettext)("builder","The user will navigate to the supplied redirect URL right after the form is submitted. There is no visible closing message."))]}),activated:!!this.epilogue.redirectUrl,on:function(e){c.disabled(e.isActivated),p.disabled(e.isActivated),_.disabled(e.isActivated),N.disabled(e.isActivated),T.disabled(e.isActivated),j.disabled(e.isActivated)}})}},t}(a.Controller);t.EpilogueEditor=T},52701:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapLayout=void 0;var n=i(70655),o=i(40910),r=i(22270),s=i(9072),a=i(42396),l=i(73968),c=i(84389),u=i(15661),p=i(44460),h=i(61936),d=function(e){function t(t,i,n){return e.call(this,t,i,n,!1)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"configuration",{get:function(){return new r.Rectangles([{name:"self",minWidth:this.style.map.clusters.width,maxWidth:this.style.map.clusters.width},{name:"children",spacingTop:this.style.map.start.height,spacingBottom:this.style.map.clusters.junction.height+this.style.map.end.height,align:["self"]}])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.parent},enumerable:!1,configurable:!0}),t.prototype.draw=function(e,t,i,n,o,r,l){var c,p,h,d,m=this;if(this.element&&!l){var f=this.style.map.start.height+(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2,g=this.style.map.end.height+(this.style.map.clusters.junction.height-this.style.map.clusters.junction.size)/2,y=this.renderer;this.element.style(((c={})[s.Stylesheet.selector("ensuing")]=this.style.map.ensuing,c),this.stylesheet),this.m_pStart=this.element.create("div",y.supportsPrologue&&function(e){e.selector("prologue",!!m.map.prologue),u.Tap.on(e,(function(){return m.prologue()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}||void 0,((p={position:"absolute",left:(this.style.map.clusters.width-this.style.map.start.width)/2,top:0,width:this.style.map.start.width,height:f,backgroundImage:'url("'.concat(this.style.map.start.image,'")'),backgroundRepeat:"no-repeat"})[s.Stylesheet.selector("prologue")]={backgroundImage:'url("'.concat(this.style.map.start.prologue||this.style.map.start.image,'")')},p[s.Stylesheet.selector("hover")]={backgroundImage:'url("'.concat(this.style.map.start.hover||this.style.map.start.image,'")')},p[s.Stylesheet.selector("tap")]={backgroundImage:'url("'.concat(this.style.map.start.tap||this.style.map.start.image,'")')},p),this.stylesheet),this.m_pEnd=this.element.create("div",y.supportsEpilogue&&function(e){e.selector("epilogue",!!m.map.epilogue),u.Tap.on(e,(function(){return m.epilogue()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}||void 0,((h={position:"absolute",left:(this.style.map.clusters.width-this.style.map.end.width)/2,bottom:0,width:this.style.map.end.width,height:g,backgroundImage:'url("'.concat(this.style.map.end.image,'")'),backgroundRepeat:"no-repeat"})[s.Stylesheet.selector("epilogue")]={backgroundImage:'url("'.concat(this.style.map.end.epilogue||this.style.map.end.image,'")')},h[s.Stylesheet.selector("hover")]={backgroundImage:'url("'.concat(this.style.map.end.hover||this.style.map.end.image,'")')},h[s.Stylesheet.selector("tap")]={backgroundImage:'url("'.concat(this.style.map.end.tap||this.style.map.end.image,'")')},h),this.stylesheet),this.element.create("div",(function(e){u.Tap.on(e,(function(){return m.animate((function(){var e=m.map.clusters.append();1===m.map.clusters.count&&e.nodes.append()}))}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),((d={position:"absolute",left:(this.style.map.clusters.width-this.style.map.clusters.junction.width)/2,bottom:this.style.map.end.height,width:this.style.map.clusters.junction.width,height:this.style.map.clusters.junction.height,backgroundImage:'url("'.concat(this.style.map.clusters.junction.image,'")'),backgroundRepeat:"no-repeat",transition:"background-image .2s"})[s.Stylesheet.selector("hover")]={backgroundImage:'url("'.concat(this.style.map.clusters.junction.hover||this.style.map.clusters.junction.image,'")')},d[s.Stylesheet.selector("tap")]={backgroundImage:'url("'.concat(this.style.map.clusters.junction.tap||this.style.map.clusters.junction.image,'")')},d),this.stylesheet),this.style.map.rulers&&this.enableRulers("rgba(0,0,0,0.5)")}},t.prototype.onMoveExpansion=function(e,t,i){return i instanceof o.Branch?new r.Coordinate(0,0,e-i.left/this.map.zoom,0):new r.Coordinate(0,0,0,0)},t.prototype.onIsMoveIn=function(e,t,i){if(i instanceof o.Cluster){var n=this.map.rectangles.rectangle("self"),r=this.map.rectangles.rectangle("children");return!!c.Num.inRange(e,n.left,n.right)&&!!c.Num.inRange(t,r.top,n.bottom)}return!1},t.prototype.prologue=function(){var e=this;p.PrologueEditor.openPanel(this.layer,this.map,(function(){e.m_pStart&&e.m_pStart.selectorSafe("prologue",!!e.map.prologue)}))},t.prototype.epilogue=function(){var e=this;h.EpilogueEditor.openPanel(this.layer,this.map,!0,(function(){e.m_pEnd&&e.m_pEnd.selectorSafe("epilogue",!!e.map.epilogue)}))},t}(l.MoveableLayout);t.MapLayout=d},44460:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrologueEditor=void 0;var n=i(70655),o=i(84389),r=i(87474),s=i(85238),a=i(73968),l=i(80299),c=i(72898),u=i(48824),p=i(29377),h=i(6506),d=i(15558),m=i(87627),f=i(3640),g=function(e){function t(i,n,r){var s=e.call(this,i,{map:n,prologue:(0,o.extendImmutable)(n.prologue||{})},(0,l.pgettext)("builder","Welcome message"),"normal",n.layout instanceof a.MoveableLayout&&n.layout.style)||this;if(s.onChange=[],n.layout){var c=n.layout.renderer;i.hook("OnShow","framed",(function(){return c.onEdit("start","prologue",n.prologue,(function(e){s.onChange.push(e)}))})),i.hook("OnClose","framed",(function(){s.onChange.splice(0,s.onChange.length),c.onEdit("end","prologue",n.prologue)})),i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.map===n&&(t.m_pEditor=void 0)}))}return r&&s.onChange.push(r),s}return n.__extends(t,e),t.sanitize=function(e){var t;return(0,o.each)(Object.keys(e),(function(i){var n=(0,o.get)(e,i);(0,o.isUndefined)(n)||(0,o.isString)(n)&&!n||(0,o.set)(t||(t={}),i,n)})),t},t.open=function(e,i,n){return new t(e,i,n)},t.openPanel=function(e,t,i){var n=this;if(this.m_pEditor&&this.m_pEditor.map===t)return this.m_pEditor.layer;var o=t.layout&&t.layout.style;return(this.m_pEditor={map:t,layer:e.createPanel((function(e){n.open(e,t,i)}),s.Layer.configuration.width(o?o.forms.width.normal:0).animation(s.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"prologue",{get:function(){return this.ref.prologue},enumerable:!1,configurable:!0}),t.prototype.onCards=function(e){var i=this,n=new o.Debounce((function(){if(!e.isFailed){var n=t.sanitize((0,o.extendImmutable)(i.prologue));(0,o.compare)(n,i.ref.map.prologue,!0)||(i.ref.map.prologue=n,(0,o.each)(i.onChange,(function(e){e(i.ref.map.prologue)})))}})),r=(0,f.getHelpTopic)("prologue");e.features.card(new c.Form({title:(0,l.pgettext)("builder","Explanation"),controls:[new p.Static((0,l.pgettext)("builder","The welcome message is typically shown at the beginning of a form or survey. It depends on the runner how this welcome message is presented to the user. At the left side of the screen you can select the features you want to activate for the welcome message%1.",r?" ([".concat((0,l.pgettext)("builder","learn more"),"](").concat(r,"))"):"")).markdown()]})),e.features.static((0,l.pgettext)("builder","Message text")),e.features.option({name:(0,l.pgettext)("builder","Text"),card:new c.Form({title:(0,l.pgettext)("builder","Text"),controls:[new u.Text("multiline",u.Text.bind(this.prologue,"title",void 0)).placeholder((0,l.pgettext)("builder","Type here...")).on((function(){return n.invoke()}))]}),activated:!!this.prologue.title}),e.features.option({name:(0,l.pgettext)("builder","Description"),card:new c.Form({title:(0,l.pgettext)("builder","Description"),controls:[new u.Text("multiline",u.Text.bind(this.prologue,"description",void 0)).placeholder((0,l.pgettext)("builder","Type here...")).on((function(){return n.invoke()}))]}),activated:!!this.prologue.description}),e.features.static((0,l.pgettext)("builder","More options")),e.features.option({name:(0,l.pgettext)("builder","Image"),card:new c.Form({title:(0,l.pgettext)("builder","Image"),controls:[new u.Text("singleline",u.Text.bind(this.prologue,"image",void 0)).inputMode("url").placeholder("https://").on((function(){return n.invoke()})).autoValidate((function(e){return""===e.value?"unknown":m.REGEX_IS_URL.test(e.value)||e.value.length>23&&0===e.value.indexOf("data:image/jpeg;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/png;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/svg;base64,")||e.value.length>22&&0===e.value.indexOf("data:image/gif;base64,")||e.value.length>1&&"/"===e.value.charAt(0)?"pass":"fail"}))]}),activated:!!this.prologue.image}),e.features.option({name:(0,l.pgettext)("builder","Video"),card:new c.Form({title:(0,l.pgettext)("builder","Video"),controls:[new u.Text("singleline",u.Text.bind(this.prologue,"video",void 0)).inputMode("url").placeholder("https://").on((function(){return n.invoke()})).autoValidate((function(e){return""===e.value?"unknown":m.REGEX_IS_URL.test(e.value)&&((0,d.getYouTubeId)(e.value)||(0,h.getVimeoId)(e.value))?"pass":"fail"})),new p.Static((0,l.pgettext)("builder","Currently [YouTube](https://youtube.com) and [Vimeo](https://vimeo.com) videos are supported. Just click the share button of your video and paste the resulting embed link in the field above.")).markdown()]}),activated:!!this.prologue.video}),e.features.option({name:(0,l.pgettext)("builder","Button"),card:new c.Form({title:(0,l.pgettext)("builder","Button"),controls:[new u.Text("singleline",u.Text.bind(this.prologue,"button",void 0)).placeholder((0,l.pgettext)("builder","Type here...")).on((function(){return n.invoke()})),new p.Static((0,l.pgettext)("builder","Some runners will show a button along with the welcome message. When a user clicks this button, the form will appear/begin. Here you can change the default text that is displayed inside that button."))]}),activated:!!this.prologue.button})},t}(r.Controller);t.PrologueEditor=g},24104:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeEditor=void 0;var n=i(70655),o=i(84389),r=i(33463),s=i(87474),a=i(20268),l=i(55576),c=i(81471),u=i(42907),p=i(85238),h=i(4991),d=i(73968),m=i(40910),f=i(80299),g=i(99789),y=i(1245),b=i(96889),v=i(22270),M=i(10310),_=function(e){function t(i,n,o){var r=e.call(this,i,n,"",void 0,n.layout instanceof d.MoveableLayout&&n.layout.style)||this;if(n.hook("OnBlockChange","synchronous",(function(){return r.onBlockChange()}),r),n.hook("OnTypeChange","synchronous",(function(){return r.onTypeChange()}),r),i.hook("OnBeforeShowPanel","synchronous",(function(){return r.typeButtonDisabled(!0)})),i.hook("OnClosePanel","synchronous",(function(){return r.typeButtonDisabled(!1)})),n.layout instanceof d.MoveableLayout){var s=n.layout.renderer;i.hook("OnShow","framed",(function(){return s.onEdit("start","node",n)})),i.hook("OnClose","framed",(function(){return s.onEdit("end","node",n)})),o&&n.layout.scrollIntoView()}return i.hook("OnClose","synchronous",(function(){t.m_pEditor&&t.m_pEditor.node===n&&(t.m_pEditor=void 0)})),r}return n.__extends(t,e),t.open=function(e,i,n){return void 0===n&&(n=!1),new t(e,i,n)},t.openPanel=function(e,t,i){var n=this;if(void 0===i&&(i=!1),this.m_pEditor&&this.m_pEditor.node===t)return this.m_pEditor.layer;var o=t.layout&&t.layout.style;return(this.m_pEditor={node:t,layer:e.createPanel((function(e){n.open(e,t,i)}),p.Layer.configuration.width(o?o.forms.width.normal:0).animation(p.LayerAnimations.Zoom).autoCloseChildPanels("stroke"))}).layer},Object.defineProperty(t.prototype,"node",{get:function(){return this.ref},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeIcon",{get:function(){switch(this.node.type){case"undefined":case"static":return this.style.map.blocks.static;case"branch":return this.style.map.blocks.branch;case"note":return this.style.map.blocks.note;case"error":return this.style.map.blocks.error;default:return this.node.type.icon}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeLabel",{get:function(){switch(this.node.type){case"undefined":case"static":return(0,f.pgettext)("builder","Static text");case"branch":return(0,f.pgettext)("builder","Branch");case"note":return(0,f.pgettext)("builder","Note");case"error":return(0,f.pgettext)("builder","Invalid block");default:return this.node.type.label}},enumerable:!1,configurable:!0}),t.prototype.typeButtonDisabled=function(e){this.m_pTypeButton&&this.m_pTypeButton.disabled(e)},t.prototype.onBlockChange=function(){var e=this,t=this.node.block&&this.node.block.type;if(t!==this.m_pType||!this.m_pBlock){var i=this.node.renderer instanceof M.Map2Layer&&this.node.renderer.tier||void 0,r=i&&(null==t?void 0:t.flag(i.name))&&"enabled"!==i.mode;this.m_pType=t,this.m_pBlock&&this.m_pBlock.close(),this.m_pBlock=this.layer.createLayer((function(t){var s=e.cards=new h.Cards({style:n.__assign(n.__assign({},e.style.forms.cards),{spacing:new v.Spacing(0,e.style.forms.header.height,0,0)}),layer:t});r?i&&(i.message?i.message(new l.EditorOrchestrator(s,e.node,(function(){return e.close()}))):(0,y.tierMessage)(new l.EditorOrchestrator(s,e.node,(function(){return e.close()})),i)):(e.node.block instanceof c.NodeBlock&&(0,u.invokeMarker)("editor",e.node.block,(0,o.set)(e.node.block,"orchestratorForEditor",new l.EditorOrchestrator(s,e.node.block,(function(){return e.close()})))),s.isFeaturesSupported||0!==s.count||(0,g.staticNode)(new l.EditorOrchestrator(s,e.node,(function(){return e.close()})))),e.onLayerUpdate(),t.hook("OnDestroy","synchronous",(function(){return e.node.unhookContext(s)})),e.closeButton&&(e.closeButton.disabled("pass"!==e.cards.validation&&"unknown"!==e.cards.validation),e.cards.hook("OnValidated","framed",(function(t){return e.closeButton.disabled("pass"!==t.cards.validation&&"unknown"!==t.cards.validation)})))}),p.Layer.configuration.animation(p.LayerAnimations.Fade))}},t.prototype.onTypeChange=function(){this.m_pTypeLabel&&(this.m_pTypeLabel.icon=this.typeIcon,this.m_pTypeLabel.label=this.typeLabel)},t.prototype.onHeader=function(){var e=this;return[this.m_pTypeLabel=new a.ControllerTitleWithIcon(this.style,this.typeIcon,this.typeLabel),this.m_pTypeButton=new b.ToolbarMenu(this.style.forms.header.buttons.type,(0,f.pgettext)("builder","Change type"),(function(){var t=[new r.MenuItemWithImage("".concat(e.style.map.blocks.static),(0,f.pgettext)("builder","Static text"),(function(){return e.node.unassignBlock()}),!e.node.hasBlock)],i=m.Namespaces.active.nodeBlocks.all,n=(0,o.filter)(i,(function(e){return"ui"===e.kind})),s=(0,o.filter)(i,(function(e){return"headless"===e.kind})),a=e.node.renderer instanceof M.Map2Layer&&e.node.renderer.tier||void 0,l=!0;return(0,o.each)(n,(function(i){var n=a&&i.flag(a.name)||!1;n&&"hidden"===(null==a?void 0:a.mode)||(l&&(t.push(new r.MenuSeparator),l=!1),t.push(new r.MenuItemWithImage(i.icon,i.label,(function(){return e.node.assignBlock(i)}),i.identifier===e.node.blockTypeIdentifier||n&&"disabled"===(null==a?void 0:a.mode)&&!(null==a?void 0:a.message)).badge(n&&(null==a?void 0:a.name)||"")))})),s.length>0&&(l=!0,(0,o.each)(s,(function(i){var n=a&&i.flag(a.name)||!1;n&&"hidden"===(null==a?void 0:a.mode)||(l&&(t.push(new r.MenuSeparator,new r.MenuLabel((0,f.pgettext)("builder","Actions"))),l=!1),t.push(new r.MenuItemWithImage(i.icon,i.label,(function(){return e.node.assignBlock(i)}),i.identifier===e.node.blockTypeIdentifier||n&&"disabled"===(null==a?void 0:a.mode)&&!(null==a?void 0:a.message)).badge(n&&(null==a?void 0:a.name)||"")))}))),t})).disabled(this.node.isBlockInvalid)]},t.prototype.onLayer=function(){this.onBlockChange()},t.prototype.onCards=function(){},t.prototype.onDestroy=function(){this.node.block instanceof c.NodeBlock&&(0,o.set)(this.node.block,"orchestratorForEditor",void 0),this.node.unhookContext(this),e.prototype.onDestroy.call(this)},t}(s.Controller);t.NodeEditor=_},17245:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeLayout=void 0;var n=i(70655),o=i(26281),r=i(84389),s=i(9072),a=i(42396),l=i(81471),c=i(75783),u=i(10310),p=i(33463),h=i(5023),d=i(73968),m=i(40910),f=i(24104),g=i(94689),y=i(82652),b=i(80299),v=i(22270),M=i(27546),_=i(15661),S=i(3640),I=function(e){function t(t,i,n){var o=e.call(this,t,i,n,!0)||this;return o.m_sBackground="",o}return n.__extends(t,e),Object.defineProperty(t.prototype,"configuration",{get:function(){return new v.Rectangles([{name:"self",width:this.style.map.nodes.width,height:this.style.map.nodes.height},{name:"children",spacingLeft:this.style.map.nodes.width-(this.style.map.branches.junction.width-this.style.map.branches.junction.size)/2+(this.style.map.clusters.width-this.style.map.nodes.width)/2}])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"node",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nodes",{get:function(){return this.node.parent},enumerable:!1,configurable:!0}),t.prototype.background=function(){if(this.element){var e=this.node.isLast,t=(0,M.SVGLine)({orientation:"horizontal",alignment:"bottom",color:e?this.style.map.nodes.separator.last:this.style.map.nodes.separator.between,width:this.style.map.nodes.width,height:this.style.map.nodes.height,thickness:1,spacing:new v.Spacing(e?0:16,0,e?0:16,0)});t!==this.m_sBackground&&(this.m_sBackground=t,s.SVG.background(this.element,this.style.map.nodes.width,this.style.map.nodes.height,this.m_sBackground,!0,!1))}},t.prototype.draw=function(e,t,i,n,o,u,p){var h,d,m,f,v,S,I,T,N,j=this,w=!!this.node.disabled,L=this.node.block instanceof l.NodeBlock&&this.node.block.isRequired,C=(0,r.isFilledString)(this.node.label);if(this.element){switch(this.node.type){case"undefined":I=(0,b.pgettext)("builder","Tap or click to change"),T=(0,b.pgettext)("builder","No behavior specified"),N=this.style.map.blocks.undefined;break;case"static":I=(0,b.pgettext)("builder","No title specified"),T=(0,b.pgettext)("builder","Static text"),N=this.style.map.blocks.static;break;case"branch":I=(0,b.pgettext)("builder","No description specified"),T=(0,b.pgettext)("builder","Branch"),N=this.style.map.blocks.branch;break;case"note":I="",T=(0,b.pgettext)("builder","Note"),N=this.style.map.blocks.note;break;case"error":I="",T=(0,b.pgettext)("builder","Invalid block"),N=this.style.map.blocks.error;break;default:I=(0,b.pgettext)("builder","No name specified"),T=this.node.block?this.node.block.label:this.node.type.label,N=this.node.block instanceof l.NodeBlock?this.node.block.icon:""}p||(this.element.style([this.style.map.nodes.appearance,(h={},h[s.Stylesheet.selector("named")]=this.style.map.nodes.named,h[s.Stylesheet.selector("required")]=this.style.map.nodes.required,h[s.Stylesheet.selector("moving")]=this.style.map.nodes.moving,h[s.Stylesheet.selector("following")]=this.style.map.nodes.following,h[s.Stylesheet.selector("ensuing")]=this.style.map.nodes.ensuing,h[s.Stylesheet.selector("disabled")]=this.style.map.nodes.disabled,h)],this.stylesheet),this.background(),this.style.map.rulers&&this.enableRulers("rgba(0,255,0,0.5)")),this.node.block instanceof l.NodeBlock&&(S=this.node.block.draw(this.element,i,n,p,w,L,C))&&(this.m_pIcon=S.icon,this.m_pLabel=S.label,this.m_pType=S.type,this.m_pButton=S.button),S||p||(this.m_pIcon=this.element.create("div",void 0,[this.style.map.nodes.icon.appearance,(d={},d[s.Stylesheet.selector("required")]=this.style.map.nodes.icon.required,d)],this.stylesheet),this.m_pLabel=this.element.create("div",void 0,[this.style.map.nodes.label.appearance,(m={},m[s.Stylesheet.selector("named")]=this.style.map.nodes.label.named,m[s.Stylesheet.selector("required")]=this.style.map.nodes.label.required,m[s.Stylesheet.selector("variable","span")]=this.style.map.nodes.label.variable,m)],this.stylesheet),this.m_pType=this.element.create("div",void 0,this.style.map.nodes.type,this.stylesheet),this.m_pButton=this.element.create("div",(function(e){(0,c.linearicon)(59881,e),_.Tap.single(e,(function(){return j.contextMenu()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),a.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[this.style.map.nodes.button.appearance,(f={},f[s.Stylesheet.selector("hover")]=this.style.map.nodes.button.hover,f[s.Stylesheet.selector("tap")]=this.style.map.nodes.button.tap,f[s.Stylesheet.selector("selected")]=this.style.map.nodes.button.selected,f)],this.stylesheet)),this.element.selector("disabled",w),this.element.selector("required",L),this.element.selector("named",C),this.m_pLabel&&(this.m_pLabel.selector("required",L),this.m_pLabel.selector("named",C),C?(0,y.parseVariablesToElement)(this.m_pLabel,this.node.labelMarkdown,this.node,(function(e){return e.addSelector("variable")}),!0===(null===(v=this.node.block)||void 0===v?void 0:v.allowMarkdown)?g.MarkdownFeatures.Formatting|g.MarkdownFeatures.InlineCode:g.MarkdownFeatures.None):this.m_pLabel.text=I),this.m_pType&&(this.m_pType.text=T),this.m_pIcon&&(this.m_pIcon.selector("required",L),this.m_pIcon.set("background-image",'url("'.concat((0,M.SVGColorizePath)(N,this.style.map.nodes.icon.color),'")'))),p||_.Tap.single(this.element,(function(){return j.edit()}))}},t.prototype.onPush=function(){e.prototype.onPush.call(this),this.background()},t.prototype.onLast=function(){e.prototype.onLast.call(this),this.background()},t.prototype.onGuides=function(){var t,i=this;e.prototype.onGuides.call(this,this.isMoving&&s.Element.create("div",(function(e){return e.create("div",void 0,[{position:"absolute",left:0,right:0,top:0,bottom:0},i.style.map.nodes.guides&&i.style.map.nodes.guides.appearance],i.stylesheet)}),this.layer.context,void 0,((t={position:"absolute",contain:"strict",transformOrigin:"0 0 0"})[s.Stylesheet.selector("visible")]=this.style.map.nodes.guides&&this.style.map.nodes.guides.visible,t[s.Stylesheet.selector("invisible")]=this.style.map.nodes.guides&&this.style.map.nodes.guides.invisible,t),this.stylesheet)||void 0,!0)},t.prototype.onGuidesChange=function(t,i,n,o,s,a){var l=this;this.guides&&(this.guides.selectorSafe("invisible",!t),(0,r.scheduleAnimation)((function(){l.guides&&(l.guides.selectorSafe("visible",t),l.guides.selectorSafe("invisible",!t))}))),e.prototype.onGuidesChange.call(this,t,i,n,o,s,a)},t.prototype.edit=function(){this.node.block instanceof l.NodeBlock&&this.node.block.open(this.layer)||f.NodeEditor.openPanel(this.layer,this.node)},t.prototype.contextMenu=function(){var e=this,t=this.m_pButton,i=!this.node.isFirst,s=!!this.node.successor,a=(0,o.conditionMenu)(this.node,this),l=[new p.MenuItemWithImage("".concat(this.style.map.blocks.static),(0,b.pgettext)("builder","Static text"),(function(){return e.node.unassignBlock()}),!this.node.hasBlock)];if(t){var c=m.Namespaces.active.nodeBlocks.all,d=(0,r.filter)(c,(function(e){return"ui"===e.kind})),f=(0,r.filter)(c,(function(e){return"headless"===e.kind})),g=this.renderer instanceof u.Map2Layer&&this.renderer.tier||void 0,y=!0;(0,r.each)(d,(function(t){var i=g&&t.flag(g.name)||!1;i&&"hidden"===(null==g?void 0:g.mode)||(y&&(l.push(new p.MenuSeparator),y=!1),l.push(new p.MenuItemWithImage(t.icon,t.label,(function(){return e.node.assignBlock(t)}),t.identifier===e.node.blockTypeIdentifier||i&&"disabled"===(null==g?void 0:g.mode)&&!(null==g?void 0:g.message)).badge(i&&(null==g?void 0:g.name)||"")))})),f.length>0&&(y=!0,(0,r.each)(f,(function(t){var i=g&&t.flag(g.name)||!1;i&&"hidden"===(null==g?void 0:g.mode)||(y&&(l.push(new p.MenuSeparator,new p.MenuLabel((0,b.pgettext)("builder","Actions"))),y=!1),l.push(new p.MenuItemWithImage(t.icon,t.label,(function(){return e.node.assignBlock(t)}),t.identifier===e.node.blockTypeIdentifier||i&&"disabled"===(null==g?void 0:g.mode)&&!(null==g?void 0:g.message)).badge(i&&(null==g?void 0:g.name)||"")))})));var v=(0,S.getHelpTopic)("branches");p.Menu.openAtElement(n.__spreadArray(n.__spreadArray(n.__spreadArray(n.__spreadArray([],a.length>0?n.__spreadArray(n.__spreadArray(n.__spreadArray([new p.MenuLabel((0,b.pgettext)("builder","Add branch"))],a,!0),v?n.__spreadArray(n.__spreadArray([],a.length<2||!(a[a.length-2]instanceof p.MenuSeparator)?[new p.MenuSeparator]:[],!0),[new h.MenuLinkWithIcon(59699,(0,b.pgettext)("builder","Help with branches"),v,"blank")],!1):[],!0),[new p.MenuSeparator],!1):[],!0),[new p.MenuLabel((0,b.pgettext)("builder","Item")),new h.MenuItemWithIcon(58893,(0,b.pgettext)("builder","Properties"),(function(){return e.edit()})),new h.MenuSubmenuWithIcon(59691,(0,b.pgettext)("builder","Type"),l,this.node.isBlockInvalid)],!1),this.node.disabled?[new h.MenuItemWithIcon(59045,(0,b.pgettext)("builder","Enable"),(function(){return e.node.enable()}))]:[new h.MenuItemWithIcon(59046,(0,b.pgettext)("builder","Disable"),(function(){return e.node.disable()}))],!0),[new h.MenuSubmenuWithIcon(59709,(0,b.pgettext)("builder","Move"),[new h.MenuItemWithIcon(59713,(0,b.pgettext)("builder","Up"),(function(){return e.animate((function(){return e.node.index--}))}),!i),new h.MenuItemWithIcon(59714,(0,b.pgettext)("builder","Down"),(function(){return e.animate((function(){return e.node.index++}))}),!s)],!i&&!s),new h.MenuItemWithIcon(59064,(0,b.pgettext)("builder","Duplicate"),(function(){return e.node.duplicate()})),new p.MenuSeparator,new h.MenuItemWithIcon(59701,(0,b.pgettext)("builder","Delete"),(function(){return e.animate((function(){return e.node.delete()}))}))],!1),t,{style:this.style.menu,position:"right-from-center",onOpen:function(){return t.addSelectorSafe("selected")},onClose:function(){return t.removeSelectorSafe("selected")}})}},t.prototype.destroy=function(){this.m_pIcon=void 0,this.m_pLabel=void 0,this.m_pType=void 0,this.m_pButton=void 0,e.prototype.destroy.call(this)},t}(d.MoveableLayout);t.NodeLayout=I},99789:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticNode=void 0;var n=i(70655),o=i(84389),r=i(40910),s=i(77020),a=i(87376),l=i(10310),c=i(27546),u=i(89843),p=i(80299);t.staticNode=function(e){e.reference.isBlockInvalid&&e.form({controls:[new s.Notification((0,p.pgettext)("builder","Not all properties are shown, because the block '%1' is not available.",e.reference.blockTypeIdentifier),"error")]}),e.name(),e.description(),function(e){var t=r.Namespaces.active.nodeBlocks.all,i=e.reference.renderer instanceof l.Map2Layer&&e.reference.renderer.tier||void 0,s=[],h=[];(0,o.each)((0,o.filter)(t,(function(e){return"ui"===e.kind})),(function(t){var n=i&&t.flag(i.name)||!1;n&&"hidden"===(null==i?void 0:i.mode)||s.push({label:t.label,image:t.icon&&(0,c.SVGColorizePath)(t.icon,u.Colors.Forms.Controls.Value),badge:n&&(null==i?void 0:i.name)||void 0,disabled:n&&"disabled"===(null==i?void 0:i.mode)&&!(null==i?void 0:i.message),on:function(){return e.reference.assignBlock(t)}})})),(0,o.each)((0,o.filter)(t,(function(e){return"headless"===e.kind})),(function(t){var n=i&&t.flag(i.name)||!1;n&&"hidden"===(null==i?void 0:i.mode)||h.push({label:t.label,image:t.icon&&(0,c.SVGColorizePath)(t.icon,u.Colors.Forms.Controls.Value),badge:n&&(null==i?void 0:i.name)||void 0,disabled:n&&"disabled"===(null==i?void 0:i.mode)&&!(null==i?void 0:i.message),on:function(){return e.reference.assignBlock(t)}})})),(s.length>0||h.length>0)&&e.option({name:(0,p.pgettext)("builder","Type"),activated:!e.reference.name&&!e.reference.description,form:{title:(0,p.pgettext)("builder","Type"),controls:[new a.Buttons(n.__spreadArray(n.__spreadArray(n.__spreadArray([],s,!0),s.length>0&&h.length>0?[(0,p.pgettext)("builder","Action")]:[],!0),h,!0),!e.reference.name&&!e.reference.description)]}})}(e),e.groups.options(),e.visibility()}},1245:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tierMessage=void 0;var n=i(77020),o=i(80299);t.tierMessage=function(e,t){e.form({controls:[new n.Notification((0,o.pgettext)("builder","Not all properties are shown, because the block '%1' is not available in the tier '%2'.",e.reference.blockTypeIdentifier,t.name),"error")]})}},25113:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=void 0;var n=i(70655),o=i(84389),r=i(75783),s=function(e){function t(t,i,n){var o=e.call(this,t.navigator.button,void 0,void 0,n)||this;return o.m_pIcon=i,o}return n.__extends(t,e),t.prototype.onDraw=function(t,i){var n=this;e.prototype.onDraw.call(this,t,i),(0,o.isNumberFinite)(this.m_pIcon)?i.create("i",(function(e){return(0,r.linearicon)(n.m_pIcon,e)})):(0,o.isFilledString)(this.m_pIcon)&&i.set("background-image",'url("'.concat(this.m_pIcon,'")'))},t}(i(96889).ToolbarButton);t.Button=s},84303:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.navigator=t.Separator=t.Link=t.Button=void 0;var n=i(84389),o=i(85238),r=i(96889),s=i(25113);Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return s.Button}});var a=i(54775);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return a.Link}});var l=i(3262);Object.defineProperty(t,"Separator",{enumerable:!0,get:function(){return l.Separator}}),t.navigator=function(e,t,i){return new r.ToolbarComponent({style:e.navigator.style,right:t},o.Layer.configuration.left(e.navigator.spacing).right(e.navigator.spacing).alignHorizontal(i).width((0,n.reduce)(t,(function(e,t){return e+(0,n.castToNumber)(t.style.width)}),0)||0).top(e.navigator.spacing).height(e.navigator.height).alignTop().animation(o.LayerAnimations.Zoom))}},54775:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var n=i(70655),o=i(84389),r=i(75783),s=function(e){function t(t,i,n,o){void 0===o&&(o="blank");var r=e.call(this,t.navigator.button,n,void 0,o)||this;return r.m_pIcon=i,r}return n.__extends(t,e),t.prototype.onDraw=function(t,i){var n=this;e.prototype.onDraw.call(this,t,i),(0,o.isNumberFinite)(this.m_pIcon)?i.create("i",(function(e){return(0,r.linearicon)(n.m_pIcon,e)})):i.set("background-image",'url("'.concat(this.m_pIcon,'")'))},t}(i(96889).ToolbarLink);t.Link=s},3262:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Separator=void 0;var n=i(70655),o=function(e){function t(t){return e.call(this,t.navigator.separator)||this}return n.__extends(t,e),t}(i(96889).ToolbarItem);t.Separator=o},67840:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=void 0;var n=i(70655),o=i(85238),r=i(84303),s=i(8087),a=i(40910),l=i(10310),c=i(7551),u=i(66110),p=i(9072),h=function(e){function t(t,i,n,r,s,a,l,c,u,h,d,m,f,g){var y=e.call(this,d&&m||o.Layer.configuration.applicationRole().style({layer:{appearance:(0,p.desktopStyles)()},applyToChildren:!1}).animation(l&&o.LayerAnimations.Zoom||void 0))||this;return y.m_pStyle=t,y.m_pTier=i,y.m_pNavigation=n,y.m_bZoombar=a,y.m_sZoom=c,y.m_bCentering=u,y.m_sAlign=h,y.m_bPrologue=r,y.m_bEpilogue=s,y.m_fnOnEdit=f,y.m_fnOnClose=g,y.m_pParent=d,y}return n.__extends(t,e),Object.defineProperty(t.prototype,"parent",{get:function(){return this.m_pParent||this.layer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this.m_pMap},enumerable:!1,configurable:!0}),t.prototype.onRender=function(){var e=this,t=this.layer.createChain(o.Layer.configuration.layout("hbca"));if(!t)throw new Error("Tripetto: Workspace layer could not be created!");this.parent.hook("OnClose","synchronous",(function(){return e.m_fnOnClose()})),t.createPanel((function(t){e.m_pMap=a.Map.create(new l.Map2Layer(t,e.m_pStyle,e.m_pTier,e.m_bPrologue,e.m_bEpilogue,e.m_fnOnEdit,e.m_pNavigation.length>0&&e.layer.component((0,r.navigator)(e.m_pStyle,e.m_pNavigation,e.m_sAlign),"floating").layer||void 0,e.m_bZoombar&&e.layer.component(new s.ZoombarComponent({target:t,style:e.m_pStyle.zoombar},o.Layer.configuration.alignHorizontal(e.m_sAlign).top(2*e.m_pStyle.navigator.spacing+e.m_pStyle.navigator.height).left(e.m_pStyle.navigator.spacing).right(e.m_pStyle.navigator.spacing).heightThreshold(3*e.m_pStyle.navigator.spacing+e.m_pStyle.navigator.height+e.m_pStyle.zoombar.height,(function(e,t){return e.visible("below"!==t)})).alignBottom().bottom(e.m_pStyle.navigator.spacing).animation(o.LayerAnimations.Zoom)),"floating").zoombar||void 0),{name:u.NAME,version:u.VERSION})}),o.Layer.configuration.scrollbars({style:this.m_pStyle.map.scrollbars,bounceHorizontal:"always",bounceVertical:"always",centering:this.m_bCentering,spacing:this.m_pStyle.map.spacing,zoomAnimations:!0,zoomDimensions:!0,zoomOnPinch:!0,zoomOnWheel:!0,zoomOnDoubleTap:!0,zoomInitialize:!0,zoomToFit:"fit"===this.m_sZoom?"all":"fit-horizontal"===this.m_sZoom?"horizontal":"fit-vertical"===this.m_sZoom&&"vertical"}).autoCloseChildPanels("tap"))},t.prototype.close=function(){this.parent.close()},t.prototype.tutorial=function(){c.Tutorial.open(this.layer,this.m_pStyle.tutorial)},t}(o.LayerComponent);t.Plugin=h},37853:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StylesEditor=void 0;var n=i(70655),o=i(84389),r=i(75048),s=i(72898),a=i(71528),l=i(48824),c=i(29377),u=i(70488),p=i(58157),h=i(44098),d=i(20461),m=i(87474),f=i(80299),g=i(35781),y=function(e){function t(t,i,o,r,s,a,l,c,u,p,h,d){void 0===o&&(o={}),void 0===a&&(a=!1),void 0===l&&(l=!0),void 0===h&&(h="left"),void 0===d&&(d=[]);var m=e.call(this,t,{contract:i,styles:n.__assign({},o),tier:r,hideInaccessibleOptions:a,allowReset:l,onReset:c},u||(0,f.pgettext)("builder","Style settings"),"compact",p,h,"always-on",(0,f.pgettext)("builder","Close"),d)||this;return m.onChange=s,t.onClose=function(){return m.whenClosed&&m.whenClosed()},m}return n.__extends(t,e),t.addStyleElement=function(e,t,i,n){switch(e.type){case"label":return[new l.Text("singleline",(0,o.castToString)(t)).label(e.label||"").placeholder(e.description||(0,f.pgettext)("builder","Specify a label")).disabled(!i).on((function(e){return n(e.value,e)}))];case"color":return[new l.Text("singleline",(0,o.castToString)(t)).label(e.label||"").placeholder(e.description||(0,f.pgettext)("builder","Specify hex color or color name")).disabled(!i).on((function(e){return n(e.value,e)}))];case"image":return[new l.Text("singleline",(0,o.castToString)(t)).sanitize(!1).trim(!1).label(e.label||"").placeholder(e.description||"https://").inputMode("url").disabled(!i).on((function(e){return n(e.value,e)}))];case"checkbox":return[new u.Checkbox(e.label||e.description||"",(0,o.castToBoolean)(t)).description(e.label&&e.description||"").disabled(!i).on((function(e){return n(e.isChecked,e)}))];case"number":return[new h.Numeric((0,o.castToNumber)(t)).label(e.label||"").min(e.min).max(e.max).width(e.width||0).prefix(e.prefix||"").suffix(e.suffix||"").disabled(!i).on((function(e){return n(e.value,e)}))];case"dropdown":var r=(0,o.findFirst)(e.options,(function(e){return"value"in e&&!(0,o.isUndefined)(e.value)})),s=r&&"value"in r&&(0,o.isNumberFinite)(r.value),a=(0,o.findFirst)(e.options,(function(e){return!(!("custom"in e)||!e.custom)})),m=a&&"custom"in a&&(0,g.CSHA2_256)(a.custom)||"",y=m&&((0,o.isNumberFinite)(t)||(0,o.isString)(t))&&!(0,o.findFirst)(e.options,(function(e){return"value"in e&&e.value===t}))||!1,b=new p.Dropdown((0,o.map)(e.options,(function(e){return"custom"in e&&e.custom?{label:e.custom,value:m}:e})),y?m:s?(0,o.castToNumber)(t):(0,o.castToString)(t)).label(e.label||"").width(e.width||"auto").disabled(!i).on((function(e){v&&v.visible(e.value===m),v&&e.value===m||n(e.value||(s?0:""),e)})),v=m&&(s?new h.Numeric(y?(0,o.castToNumber)(t):0).visible(y).disabled(!i).on((function(e){b.value===m&&n(e.value,b)})):new l.Text("singleline",y?(0,o.castToString)(t):"").placeholder(a&&"custom"in a&&a.custom||"").visible(y).disabled(!i).on((function(e){b.value===m&&n(e.value,b)})));return v?[b,v]:[b];case"radiobuttons":var M=(0,o.arrayItem)(e.buttons,0),_=M&&(0,o.isNumberFinite)(M.value);return[new d.Radiobutton(e.buttons||[],_?(0,o.castToNumber)(t):(0,o.castToString)(t)).label(e.label||"").disabled(!i).on((function(e){return n(e.value||(_?0:""),e)}))];case"static":return[new c.Static(e.label).markdown().disabled(!i)]}},t.getValue=function(e,t){return(0,o.isBoolean)(e)||(0,o.isNumberFinite)(e)||e?e:"default"in t?t.default:void 0},t.prototype.onCards=function(e){var i=this,l={},p={},h={},d=[],m=this.ref.allowReset&&new a.Button((0,f.pgettext)("builder","Reset"),"cancel").on((function(e){var t=function(){(0,o.each)(d,(function(e){e.control instanceof u.Checkbox?e.control.isChecked=(0,o.castToBoolean)(e.value):e.control.value=(0,o.isNumberFinite)(e.control.value)?(0,o.castToNumber)(e.value):(0,o.castToString)(e.value)}))};e.disable(),i.ref.onReset?i.ref.onReset((function(i){i?t():e.enable()})):t()})),g=new o.Debounce((function(){m&&m.disabled(!(0,o.findFirst)(d,(function(e){return e.control instanceof u.Checkbox?e.control.isChecked!==(0,o.castToBoolean)(e.value):e.control.value!==((0,o.isNumberFinite)(e.control.value)?(0,o.castToNumber)(e.value):(0,o.castToString)(e.value))}))),i.onChange&&i.onChange(i.ref.styles)})),y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];(0,o.each)(e,(function(e){e&&(h[e]=!0)})),(0,o.schedulePromise)((function(){i.ref.contract.contract&&(0,o.set)(i.ref.styles,"contract",{name:i.ref.contract.contract.name,version:(0,r.valid)(i.ref.contract.contract.version)&&i.ref.contract.contract.version||"0.0.0"}),(0,o.each)(h,(function(e,t){e&&(h[t]=!1,(0,o.each)(p[t],(function(e){if(!e.group||!e.group.isDisabled&&e.group.isVisible){var t=e.observe&&(!(0,o.isArray)(e.observe)||e.observe.length>0)&&!(0,o.findFirst)((0,o.isArray)(e.observe)?e.observe:[e.observe],(function(e){var t=l[e.property];if(t&&t.isVisible&&!t.isDisabled){var i=t instanceof u.Checkbox?t.isChecked:t.value;if((0,o.isBoolean)(e.defined)&&e.defined===((0,o.isBoolean)(i)||(0,o.isNumberFinite)(i)||(0,o.isFilledString)(i)))return!1;if((0,o.isArray)(e.value)?(0,o.isDefined)((0,o.findFirst)(e.value,(function(e){return e===i}))):(0,o.isDefined)(e.value)&&e.value===i)return!1}return!0}));switch(e.action){case"enable":e.control.disabled(!t);break;case"disable":e.control.disabled(t);break;case"show":e.control.visible(t);break;case"hide":e.control.visible(!t)}}})))}),{keys:!0}),g.invoke()}))},b=function(r){return(0,o.each)((0,o.filter)(i.ref.contract.styles,(function(e){return(0,o.castToBoolean)(e.additional)===r&&!e.optional&&(!i.ref.hideInaccessibleOptions||"premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===e.tier||!e.tier)})),(function(r){var a,h=i.ref.hideInaccessibleOptions&&"premium"!==i.ref.tier?(0,o.filter)(r.elements,(function(e){return"standard"===i.ref.tier&&"standard"===e.tier||!e.tier})):r.elements;e.add(new s.Form({title:r.title||1===h.length&&"static"!==h[0].type&&h[0].label||"",disabled:!("premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===r.tier||!r.tier),controls:(a=[]).concat.apply(a,(0,o.map)(h,(function(e){var s=r.name?(0,o.isObject)((0,o.getAny)(i.ref.styles,r.name))&&(0,o.getAny)(i.ref.styles,r.name)||(0,o.setAny)(i.ref.styles,r.name,{}):i.ref.styles,a="name"in e&&e.name||"",m=a&&(r.name&&"".concat(r.name,".")||"")+a||"",f="premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===e.tier||!e.tier,g=t.addStyleElement(1===h.length&&"static"!==h[0].type?n.__assign(n.__assign({},e),{label:""}):e,t.getValue((0,o.getAny)(s,a),e),f,(function(t,i){!i.isVisible||i.isDisabled&&!(i instanceof u.Checkbox)||(0,o.isString)(t)&&!t?(0,o.destroy)(s,a):(0,o.setAny)(s,a,t),y.apply(void 0,n.__spreadArray([m],(0,o.map)(e.dependency&&((0,o.isArray)(e.dependency.observe)&&e.dependency.observe||e.dependency.observe&&[e.dependency.observe])||[],(function(e){return e.property})),!1))}));if(m&&g.length>=1&&!(g[0]instanceof c.Static)){if(l[m])throw new Error("Styles contract is invalid (duplicate property '".concat(m,"')"));l[m]=g[0],d.push({control:g[0],value:"default"in e?e.default:void 0})}return f&&e.dependency&&(0,o.each)((0,o.isArray)(e.dependency.observe)?e.dependency.observe:[e.dependency.observe],(function(t){var i;t.property!==m&&(i=p[t.property]||(p[t.property]=[])).push.apply(i,(0,o.map)(g,(function(t){return(0,o.extendImmutable)(e.dependency,{control:t})})))})),g})))}))}))},v=[];b(!1),(0,o.each)((0,o.filter)(this.ref.contract.styles,(function(e){return(!i.ref.hideInaccessibleOptions||"premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===e.tier||!e.tier)&&e.optional||!1})),(function(e){var r,a=i.ref.hideInaccessibleOptions&&"premium"!==i.ref.tier?(0,o.filter)(e.elements,(function(e){return"standard"===i.ref.tier&&"standard"===e.tier||!e.tier})):e.elements;if(a.length>0){var h="premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===e.tier||!e.tier,m=new u.Checkbox(e.title||"",h&&(e.name?(0,o.isObject)((0,o.getAny)(i.ref.styles,e.name)):!!(0,o.findFirst)(a,(function(e){return!(0,o.isUndefined)("name"in e&&e.name?(0,o.getAny)(i.ref.styles,e.name):void 0)})))).disabled(!h).description(e.description||"").markdown().on((function(t){f.visible(t.isVisible&&t.isChecked),f.disabled(t.isDisabled),f.isVisible&&!f.isDisabled||(e.name?(0,o.destroy)(i.ref.styles,e.name):(0,o.each)(a,(function(e){"name"in e&&e.name&&(0,o.destroy)(i.ref.styles,e.name)}))),e.name&&y.apply(void 0,n.__spreadArray([e.name],(0,o.map)(e.dependency&&((0,o.isArray)(e.dependency.observe)&&e.dependency.observe||e.dependency.observe&&[e.dependency.observe])||[],(function(e){return e.property})),!1))})),f=new s.Group((r=[]).concat.apply(r,(0,o.map)(a,(function(r){var s="name"in r&&r.name||"",a=s&&(e.name&&"".concat(e.name,".")||"")+s||"",h="premium"===i.ref.tier||"standard"===i.ref.tier&&"standard"===r.tier||!r.tier,d=t.addStyleElement(r,t.getValue(m.isChecked&&s?(0,o.getAny)(e.name?(0,o.getAny)(i.ref.styles,e.name):i.ref.styles,s):void 0,r),h,(function(t,l){if(s){var c=e.name?(0,o.getAny)(i.ref.styles,e.name):i.ref.styles;m.isChecked&&l.isVisible&&(!l.isDisabled||l instanceof u.Checkbox)&&(!(0,o.isString)(t)||t)?(0,o.setAny)(c||e.name&&(0,o.setAny)(i.ref.styles,e.name,{}),s,t):(0,o.destroy)(c,s),y.apply(void 0,n.__spreadArray([a],(0,o.map)(r.dependency&&((0,o.isArray)(r.dependency.observe)&&r.dependency.observe||r.dependency.observe&&[r.dependency.observe])||[],(function(e){return e.property})),!1))}}));if((0,o.each)(d,(function(e){return e.indent(32)})),a&&d.length>=1&&!(d[0]instanceof c.Static)){if(l[a])throw new Error("Styles contract is invalid (duplicate property '".concat(a,"')"));l[a]=d[0]}return h&&r.dependency&&(0,o.each)((0,o.isArray)(r.dependency.observe)?r.dependency.observe:[r.dependency.observe],(function(e){if(e.property!==a){var t=p[e.property]||(p[e.property]=[]);t.push.apply(t,(0,o.map)(d,(function(e){return{action:r.dependency.action,observe:r.dependency.observe,control:e,get group(){return f}}})))}})),d})))).visible(m.isChecked);if(e.name){if(l[e.name])throw new Error("Styles contract is invalid (duplicate property '".concat(e.name,"')"));l[e.name]=m}h&&e.dependency&&(0,o.each)((0,o.isArray)(e.dependency.observe)?e.dependency.observe:[e.dependency.observe],(function(t){t.property!==e.name&&(p[t.property]||(p[t.property]=[])).push((0,o.extendImmutable)(e.dependency,{control:m}))})),f.controls.length>0&&(v.push(m,f),d.push({control:m,value:!1}))}})),v.length>0&&e.add(new s.Form({title:(0,f.pgettext)("builder","Customize"),controls:v})),b(!0),m&&d.length>0&&e.add(new s.Form({title:(0,f.pgettext)("builder","Danger zone"),controls:[m]}))},t}(m.Controller);t.StylesEditor=y},7551:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tutorial=void 0;var n=i(70655),o=i(9072),r=i(42396),s=i(85238),a=i(75783),l=i(94689),c=i(80299),u=i(15661),p=function(e){function t(t){var i=e.call(this,s.LayerComponent.configuration.width(t.width).height(t.height).left(t.margin).right(t.margin).top(t.margin).bottom(t.margin).animation(s.LayerAnimations.Zoom).overlay().capture().style({overlay:{appearance:t.overlay}}))||this;return i.m_pStyle=t,i}return n.__extends(t,e),t.open=function(e,i){return e.component(new t(i),"popup")},t.prototype.markdown=function(e,t){e.markdown(l.MarkdownParser.parse(t,{features:l.MarkdownFeatures.Formatting}))},t.prototype.block=function(e,t,i,n){var o=this;e.create("div",(function(e){e.create("div",(function(e){return e.text=t}),o.m_pStyle.blocks.title),e.create("div",(function(e){return e.text=i}),o.m_pStyle.blocks.subtitle),e.create("div",(function(e){return o.markdown(e,n)}),o.m_pStyle.blocks.text)}),this.m_pStyle.blocks.appearance)},t.prototype.onRender=function(){var e,t=this;this.layer.context.style(this.m_pStyle.appearance),this.layer.context.create("div",(function(e){e.text=(0,c.pgettext)("builder:tutorial","Cheatsheet")}),this.m_pStyle.title),this.layer.context.create("div",(function(e){return t.markdown(e,(0,c.pgettext)("builder:tutorial","**Tap**: A brief touch with a single finger or a mouseclick."))}),this.m_pStyle.help),this.layer.context.create("div",(function(e){return t.markdown(e,(0,c.pgettext)("builder:tutorial","**Press**: A single finger held onto the screen or the left mouse button kept pressed."))}),this.m_pStyle.help),this.layer.createLayer((function(e){e.context.create("div",(function(e){t.block(e,(0,c.pgettext)("builder:tutorial","Panning"),(0,c.pgettext)("builder:tutorial","Press + drag"),(0,c.pgettext)("builder:tutorial","To pan the drawing board when a form structure exceeds the screen size **press and drag** it in the desired direction. Or use the scrollbars.")),t.block(e,(0,c.pgettext)("builder:tutorial","Arranging"),(0,c.pgettext)("builder:tutorial","Press + hold + drag"),(0,c.pgettext)("builder:tutorial","To move an item on the drawing board **press + hold** it briefly to unlock, and **drag** it to the desired position. Release to drop and relock.")),t.block(e,(0,c.pgettext)("builder:tutorial","Zooming"),(0,c.pgettext)("builder:tutorial","Double tap (or pinch)"),(0,c.pgettext)("builder:tutorial","To swiftly zoom in on and out of a specific area on the drawing board **double tap** it. Pinch to zoom works for touch devices. Or use the slider.")),t.block(e,(0,c.pgettext)("builder:tutorial","Adding and editing"),(0,c.pgettext)("builder:tutorial","Single tap"),(0,c.pgettext)("builder:tutorial","To add pages and junctions **tap** the dotted squares and diamonds. To add blocks to a page **tap** the page footer. **Tap** any item to edit it."))}),t.m_pStyle.blocks.row)}),s.Layer.configuration.scrollbars({style:this.m_pStyle.scrollbars}).top(this.m_pStyle.spacing)),this.layer.context.create("div",(function(e){(0,a.linearicon)(59690,e),u.Tap.single(e,(function(){return t.layer.close()}),(function(){return e.addSelectorSafe("tap")}),(function(){return e.removeSelectorSafe("tap")})),r.Hover.pointer(e,(function(t){return e.selectorSafe("hover",t.isHovered)}))}),[this.m_pStyle.close.appearance,(e={},e[o.Stylesheet.selector("hover")]=this.m_pStyle.close.hover,e[o.Stylesheet.selector("tap")]=this.m_pStyle.close.tap,e)])},t}(s.LayerComponent);t.Tutorial=p},47330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},62095:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(70655);n.__exportStar(i(72898),t),n.__exportStar(i(71528),t),n.__exportStar(i(70488),t),n.__exportStar(i(21537),t),n.__exportStar(i(58157),t),n.__exportStar(i(88179),t),n.__exportStar(i(37789),t),n.__exportStar(i(77020),t),n.__exportStar(i(44098),t),n.__exportStar(i(20461),t),n.__exportStar(i(25436),t),n.__exportStar(i(29377),t),n.__exportStar(i(48824),t)},3640:function(e,t){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.getHelpTopic=t.setHelpTopics=void 0,t.setHelpTopics=function(e){return i=e},t.getHelpTopic=function(e){return i&&i[e]||void 0}},29375:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Blocks=void 0;var n=i(84389),o=function(){function e(){}return Object.defineProperty(e,"isLoaded",{get:function(){return this.m_bLoaded},enumerable:!1,configurable:!0}),e.parser=function(e){var t=this;if(n.DateTime.elapsed(this.m_nTime)>3e4)e(!1,"");else if("function"==typeof $Tripetto&&"undefined"!=typeof Tripetto){var i=!1,o="";$Tripetto((function(e){try{e.block(Tripetto)}catch(t){console.error(t),o+=(""===o?"":", ")+e.path,i=!0}})),this.m_bLoaded=!i,e(this.m_bLoaded,o)}else(0,n.schedulePromise)((function(){return t.parser(e)}))},e.load=function(e){var t=this;this.isLoaded||(0,n.schedulePromise)((function(){return t.parser(e)}))},e.m_bLoaded=!1,e.m_nTime=n.DateTime.now,e}();t.Blocks=o},86294:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionBlockEx=void 0;var n=i(70655),o=i(68778),r=i(35520),s=i(40910),a=i(42907),l=i(84389),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"editor",{get:function(){if(!this.orchestratorForEditor)throw new Error("Tripetto: Cannot reference `this.editor` outside the `@editor` decorated function.");return this.orchestratorForEditor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.type.icon},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.type.label},enumerable:!1,configurable:!0}),t.prototype.assignedToCondition=function(t){var i=this;this.condition.hook("OnRename","synchronous",(function(){return(0,a.invokeMarker)("renamed",i)}),this),(0,a.invokeMarker)("renamed",this);var n=e.prototype.assignedToCondition.call(this,t);return function(){i.m_sCurrentIcon=i.icon,n()}},t.prototype.draw=function(e,t,i,n){},t.prototype.rerender=function(t){void 0===t&&(t=!1),this.m_sCurrentIcon!==this.icon&&(this.m_sCurrentIcon=this.icon,t=!0),e.prototype.rerender.call(this,t)},t.prototype.open=function(e){return!1},t.prototype.serialize=function(t){var i=this;return void 0===t&&(t={}),(0,l.each)((0,l.getAny)(this,"@definition #collections"),(function(e){if("r"!==e.mode&&i.node&&i.node.block&&(0,l.getAny)(i.node.block,e.collection)instanceof o.Collection){var n=(0,l.getAny)(i,e.property);n instanceof r.CollectionItem&&(t[e.property]=n.id)}})),e.prototype.serialize.call(this,t)},t.prototype.deserialize=function(t,i){var n=this;return e.prototype.deserialize.call(this,t,i),i.add((function(){(0,l.each)((0,l.getAny)(n,"@definition #collections"),(function(e){if("w"!==e.mode&&n.node&&n.node.block){var i=(0,l.getAny)(n.node.block,e.collection);(0,l.setAny)(n,e.property,i instanceof o.Collection&&i.itemByIdentifier((0,l.castToString)(t[e.property]))||void 0)}}))})),this},t}(s.ConditionBlock);t.ConditionBlockEx=c},28952:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conditions=void 0;var n=i(42907);t.conditions=function(e,t,i){(0,n.defineMarker)("conditions",e,t,i,"single")}},32414:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conditionTemplatesToMenu=void 0;var n=i(84389),o=i(33463),r=i(85645),s=i(94689);t.conditionTemplatesToMenu=function e(t,i,a,l){return void 0===a&&(a=[]),void 0===l&&(l=[]),(0,n.each)(t,(function(t){var c=t.label&&(0,r.markdownifyToString)(t.label,t.markdown?s.MarkdownFeatures.All:s.MarkdownFeatures.None);if((0,n.isFilledString)(c))if(t.command){var u=t.command;t.burst&&l.push({execute:u,burst:t.burst,label:c}),t.separator&&a.length>0&&a.push(new o.MenuSeparator),(0,n.isFilledString)(t.icon)?a.push(new o.MenuItemWithImage(t.icon,c,(function(){return u(i(),!1)}))):a.push(new o.MenuItem(c,(function(){return u(i(),!1)})))}else if(t.templates){if(t.templates.length>0){var p=e(t.templates,i,[],l);t.separator&&a.length>0&&a.push(new o.MenuSeparator),(0,n.isFilledString)(t.icon)?a.push(new o.MenuSubmenuWithImage(t.icon,c,p)):a.push(new o.MenuSubmenu(c,p))}}else a.push(new o.MenuLabel(c))})),a}},24610:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tripetto=void 0;var n=i(40910),o=i(84389);t.tripetto=function(e){switch(e.type){case"node":return function(t){(0,o.set)(t,"icon",e.icon),(0,n.block)(e)(t)};case"condition":return function(t){(0,o.set)(t,"icon",e.icon),(0,o.set)(t,"autoOpen",e.autoOpen),(0,n.block)(e)(t)}}}},81471:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tripetto=t.NodeBlock=t.conditionTemplatesToMenu=t.ConditionBlock=t.Blocks=void 0;var n=i(29375);Object.defineProperty(t,"Blocks",{enumerable:!0,get:function(){return n.Blocks}});var o=i(86294);Object.defineProperty(t,"ConditionBlock",{enumerable:!0,get:function(){return o.ConditionBlockEx}});var r=i(32414);Object.defineProperty(t,"conditionTemplatesToMenu",{enumerable:!0,get:function(){return r.conditionTemplatesToMenu}});var s=i(85825);Object.defineProperty(t,"NodeBlock",{enumerable:!0,get:function(){return s.NodeBlockEx}});var a=i(24610);Object.defineProperty(t,"tripetto",{enumerable:!0,get:function(){return a.tripetto}})},98478:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Namespace=void 0;var n=i(70655),o=i(40910),r=n.__importStar(i(19749)),s=function(){function e(){}return Object.defineProperty(e,"isLoaded",{get:function(){return this.m_bLoaded},enumerable:!1,configurable:!0}),e.use=function(e,t,i,n,s,a){var l=this;void 0===s&&(s=!0),void 0===a&&(a=!1);var c=function(e){l.m_bLoaded=!0,n(e)};if(this.m_bLoaded=!1,t)switch(i){case"umd":c(!!o.Namespaces.activateOrLoadUMD(e,r,"Tripetto",t,s,a));break;case"url":o.Namespaces.activateOrLoadURL(e,r,"Tripetto","tripetto#loader",t,(function(e){return c(!!e)}),s,a)}else o.Namespaces.activate(e),c(!0)},e.m_bLoaded=!1,e}();t.Namespace=s},85825:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeBlockEx=void 0;var n=i(70655),o=i(42907),r=i(40910);i(28429);var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),Object.defineProperty(t.prototype,"editor",{get:function(){if(!this.orchestratorForEditor)throw new Error("Tripetto: Cannot reference `this.editor` outside the `@editor` decorated function.");return this.orchestratorForEditor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conditions",{get:function(){if(!this.orchestratorForConditions)throw new Error("Tripetto: Cannot reference `this.conditions` outside the `@conditions` decorated function.");return this.orchestratorForConditions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.type.icon},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRequired",{get:function(){return(0,r.isRequired)(this)||this.slots.each((function(e){return e.required}))},enumerable:!1,configurable:!0}),t.prototype.assignedToNode=function(t){var i=this;this.node.hook("OnRename","synchronous",(function(){return(0,o.invokeMarker)("renamed",i)}),this),this.slots.hook("OnSlotRequired","synchronous",(function(){return i.node.rerender("update")}),this),(0,o.invokeMarker)("renamed",this);var n=e.prototype.assignedToNode.call(this,t);return function(){i.m_sCurrentIcon=i.icon,n()}},t.prototype.draw=function(e,t,i,n,o,r,s){},t.prototype.rerender=function(t){void 0===t&&(t=!1),this.m_sCurrentIcon!==this.icon&&(this.m_sCurrentIcon=this.icon,t=!0),e.prototype.rerender.call(this,t)},t.prototype.open=function(e){return!1},t}(r.NodeBlock);t.NodeBlockEx=s},28429:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(40910),o=i(20850),r=i(84389),s=i(88678);n.NodeBlock.exchanger=function(e,t){if(t instanceof o.Provider){var i=e[e.length-1];if(i instanceof o.Provider){var a={};if(i.each((function(e){var i=t.itemByIdentifier(e.id);i?i.index=e.index:a[e.id]=t.duplicate(e).done})),t.count>0){var l=(0,s.deserializableProps)(t.firstItem);t.each((function(t){if(i.itemByIdentifier(t.id)){var s={};(0,r.each)(e,(function(e){if(e instanceof o.Provider){var i=e.itemByIdentifier(t.id);i&&(0,r.each)(l,(function(e){var o=(0,n.getDefinitionType)(t,e.property);if(o&&o.isPrimitive){var a=(0,n.getDefinitionType)(i,e.property);if(a&&a.type===o.type){var l=(0,r.getAny)(i,e.property);(o.optional&&(0,r.isUndefined)(l)||"string"===o.type&&(0,r.isFilledString)(l)||"number"===o.type&&(0,r.isNumberFinite)(l)||"boolean"===o.type&&(0,r.isBoolean)(l))&&(s[e.property]=l)}}}))}})),(0,r.each)(s,(function(e,i){(0,r.setAny)(t,i,e)}),{keys:!0})}else t.delete()}))}(0,r.each)(a,(function(e){return e()}))}}}},19092:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsCollection=void 0;var n=i(68778),o=i(84389),r=i(42907),s=i(81471);t.affectsCollection=function(e){return function(t,i,a){(0,r.observable)("affects#collection:".concat(e),t,i,a,(function(t){if(!(t.target instanceof s.NodeBlock)||t.target.isInitialized){var i=(0,o.getAny)(t.target,e);i instanceof n.Collection&&i.refresh()}}))}}},29208:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsName=void 0;var n=i(40910),o=i(68778),r=i(35520),s=i(81471),a=i(42907),l=i(84389);t.affectsName=function(e){return function(t,i,c){t instanceof r.CollectionItem?(0,a.observable)("affects".concat(e),t,i,c,(function(t){t.target instanceof r.CollectionItem&&t.target.isInitialized&&("#icon"===e?t.target.emitHook("OnIcon",{item:t.target}):t.target.emitHook("OnRename",{item:t.target}))})):((0,n.affects)("#label"===e?"#label":"#name")(t,i,c),(0,a.defineMarker)("created",t,i,{value:function(){var e=this;if(e instanceof s.NodeBlock||e instanceof s.ConditionBlock){var t=(0,l.getAny)(e,i);t instanceof o.Collection&&t.setBlock(e)}}}))}}},34882:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affectsRefresh=void 0;var n=i(42907);t.affectsRefresh=function(e,t,i){(0,n.observable)("affects#refresh",e,t,i,(function(e){return e.target.refresh()}))}},68778:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Collection=void 0;var n=i(70655),o=i(81471),r=i(88678),s=i(84389),a=i(42907),l=i(53339),c=i(40910),u=function(e){function t(t,i){var n=e.call(this)||this;return n.m_pConstructor=t,n.m_pReference=i,n}return n.__extends(t,e),Object.defineProperty(t.prototype,"ref",{get:function(){return this.m_pReference()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"block",{get:function(){return this.m_pBlock||(this.ref instanceof o.NodeBlock||this.ref instanceof o.ConditionBlock?this.ref:"block"in this.ref&&(this.ref.block instanceof o.NodeBlock||this.ref.block instanceof o.ConditionBlock)&&this.ref.block||void 0)},enumerable:!1,configurable:!0}),t.prototype.onDimensionChange=function(t){e.prototype.onDimensionChange.call(this,t),(0,c.detectChange)(this.block&&this.block.map)},t.prototype.setBlock=function(e){this.m_pBlock=e},t.prototype.insert=function(e,t){void 0===e&&(e=0);var i=this.pushToMatrix(new this.m_pConstructor,{index:e,recalculate:!0,emit:"push"});return t&&t(i),(0,a.invokeMarker)("created",i),i},t.prototype.append=function(e){var t=this.pushToMatrix(new this.m_pConstructor,{index:-1,recalculate:!0,emit:"push"});return e&&e(t),(0,a.invokeMarker)("created",t),t},t.prototype.duplicate=function(e){var t=this.pushToMatrix(new this.m_pConstructor,{index:e.index,recalculate:!0,emit:"push"});return t.hash=e.id,{item:t,done:function(){(0,a.invokeMarker)("created",t)}}},t.prototype.itemByIdentifier=function(e){var t;return(0,s.isFilledString)(e)&&this.each((function(i){return i.id===e&&(t=i,!0)})),t},t.prototype.refresh=function(){this.each((function(e){return e.refresh()}))},t.prototype.serialize=function(){var e=[];return this.each((function(t){e.push(t.serialize())})),e.length>0?e:void 0},t.prototype.deserialize=function(e,t){var i=this;return this.clear(),(0,s.each)(e,(function(e){var n=i.pushToMatrix(new i.m_pConstructor,{index:-1,recalculate:!0,emit:"push"}).deserialize(e,t);t.add((function(){return(0,a.invokeMarker)("created",n)}))})),this},n.__decorate([r.serializer],t.prototype,"serialize",null),n.__decorate([r.deserializer],t.prototype,"deserialize",null),t}(l.Matrix);t.Collection=u},52136:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alias=void 0;var n=i(42907);t.alias=function(e,t,i){i&&!i.set||(0,n.observable)("name",e,t,i,(function(e){e.target.parent&&e.target.isInitialized&&e.target.emitHook("OnRename",{item:e.target})})),Object.defineProperty(e,"@alias",{get:function(){return t},enumerable:!1,configurable:!1})}},39914:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleted=void 0;var n=i(42907);t.deleted=function(e,t,i){(0,n.defineMarker)("deleted",e,t,i)}},93259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.icon=void 0,t.icon=function(e,t,i){Object.defineProperty(e,"@icon",{get:function(){return t},enumerable:!1,configurable:!1})}},17902:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.menu=void 0,t.menu=function(e,t){Object.defineProperty(e,"@menu",{get:function(){return t},enumerable:!1,configurable:!1})}},94777:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.name=void 0;var n=i(42907);t.name=function(e,t,i){i&&!i.set||(0,n.observable)("name",e,t,i,(function(e){e.target.parent&&e.target.isInitialized&&e.target.emitHook("OnRename",{item:e.target})})),Object.defineProperty(e,"@name",{get:function(){return t},enumerable:!1,configurable:!1})}},88288:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refreshed=void 0;var n=i(42907);t.refreshed=function(e,t,i){(0,n.defineMarker)("refreshed",e,t,i)}},65236:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reordered=void 0;var n=i(42907);t.reordered=function(e,t,i){(0,n.defineMarker)("reordered",e,t,i)}},53346:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.score=void 0;var n=i(42907);t.score=function(e,t,i){i&&!i.set||(0,n.observable)("name",e,t,i,(function(e){e.target.parent&&e.target.isInitialized&&e.target.emitHook("OnRename",{item:e.target})})),Object.defineProperty(e,"@score",{get:function(){return t},enumerable:!1,configurable:!1})}},74654:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.title=void 0,t.title=function(e,t){Object.defineProperty(e,"@title",{get:function(){return t},enumerable:!1,configurable:!1})}},6838:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.width=void 0,t.width=function(e,t){Object.defineProperty(e,"@width",{get:function(){return t},enumerable:!1,configurable:!1})}},20850:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=t.get=t.of=t.Card=t.Item=t.Provider=void 0;var n=i(68778),o=i(81471),r=i(84389),s=i(94935),a=i(21479),l=i(68778);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return l.Collection}});var c=i(35520);Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return c.CollectionItem}});var u=i(44258);function p(e,t){var i=(0,r.getAny)(e,t);return i instanceof n.Collection&&i||void 0}Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return u.CollectionCard}}),t.of=function(e,t,i){return void 0===i&&(i=!1),new n.Collection(e,(function(){return!i&&"ref"in t?t.ref:t}))},t.get=p,t.find=function(e,t){var i=t instanceof o.NodeBlock?t:e instanceof a.Slot?void 0:e.block instanceof o.NodeBlock&&e.block||void 0;if(i){var l=e instanceof a.Slot?e:e.slot||"pipe"in e&&e.pipe||void 0;if("dynamic"===(null==l?void 0:l.kind)){var c=function(t){if(-1===t.indexOf(" ")&&0!==t.indexOf("m_")){var o=(0,r.getAny)(i,t),a="type"in e&&e||void 0;if(o instanceof n.Collection&&o.each((function(e){var t;return a?"slot"===a.type&&e.id===a.reference||"pipe"===a.type&&(null===(t=i.slots.select(e.id,"dynamic"))||void 0===t?void 0:t.isPipe(a.id)):e.id===l.reference}))){var c=(0,s.findSupply)(i,"collection",t);if(c&&c.isAvailable(i)){var u=p(i,c.collection);return u?{value:{name:c.collection,collection:u,origin:!1,sole:c.isSole(i)}}:{value:void 0}}return{value:{name:t,collection:o,origin:!0,sole:!0}}}}};for(var u in i){var h=c(u);if("object"==typeof h)return h.value}}var d=(null==l?void 0:l.reference)||"";if(d){var m=(0,s.findSupply)(i,"slot",d);if(m&&m.isAvailable(i)){var f=p(i,m.collection);if(f)return{name:m.collection,collection:f,origin:!1,sole:m.isSole(i)}}}}}},35520:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionItem=void 0;var n=i(70655),o=i(53339),r=i(42907),s=i(88678),a=i(84389),l=i(40910),c=i(85645),u=function(e){function t(){var t=e.call(this)||this;if(t.m_bInitialized=!1,t.m_bListening=!1,t.hook("OnItemPush","asynchronous",(function(){t.hook("OnItemPop","synchronous",(function(){(0,r.invokeMarker)("deleted",t),t.emitHook("OnDelete",{item:t}),t.m_pRef=void 0})),t.hook("OnItemChange","synchronous",(function(e){(0,l.detectChange)(t.ref instanceof l.NodeBlock&&t.ref.map||void 0),-193&e.reason&&((0,r.invokeMarker)("reordered",t),t.emitHook("OnIndex",{item:t}))})),t.emitHook("OnAdd",{item:t}),t.m_bInitialized=t.m_bListening=!0})),t.hook("OnRename","synchronous",(function(){return(0,r.invokeMarker)("renamed",t)})),!(0,a.isFilledString)((0,a.getAny)(t,"@name")))throw new Error("Tripetto: You need to implement the `@name` decorator for collection items.");return t}return n.__extends(t,e),Object.defineProperty(t.prototype,"editor",{get:function(){if(!this.orchestratorForEditor)throw new Error("Tripetto: Cannot reference `this.editor` outside the `@editor` decorated function.");return this.orchestratorForEditor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"collection",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.hash},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ref",{get:function(){return this.m_pRef||(this.m_pRef=this.collection.ref)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInitialized",{get:function(){return this.m_bInitialized},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDeleted",{get:function(){return this.isPopped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelWithoutMarkdown",{get:function(){return(0,c.markdownifyToString)(this.getNameOfItem())},enumerable:!1,configurable:!0}),t.prototype.getIconOfItem=function(){return(0,a.getString)(this,(0,a.getAny)(this,"@icon")||"")||void 0},t.prototype.getNameOfItem=function(){return(0,a.getString)(this,(0,a.getAny)(this,"@name")||"")},t.prototype.setNameOfItem=function(e){(0,a.setAny)(this,(0,a.getAny)(this,"@name")||"",e)},t.prototype.getAliasOfItem=function(){return(0,a.getString)(this,(0,a.getAny)(this,"@alias")||"")},t.prototype.setAliasOfItem=function(e){(0,a.setAny)(this,(0,a.getAny)(this,"@alias")||"",e)},t.prototype.getScoreOfItem=function(){var e=(0,a.getAny)(this,(0,a.getAny)(this,"@score")||"");return(0,a.isNumberFinite)(e)?e:void 0},t.prototype.setScoreOfItem=function(e){(0,a.setAny)(this,(0,a.getAny)(this,"@score")||"",e)},t.prototype.getTitleOfItem=function(){return(0,c.markdownifyToString)((0,a.getString)(this,(0,a.getAny)(this,"@title")||"")||this.getNameOfItem())||this.getAliasOfItem()},t.prototype.getMenuOfItem=function(){return(0,a.getAny)(this,(0,a.getAny)(this,"@menu")||"")||[]},t.prototype.getWidthOfItem=function(){return(0,a.castToNumber)((0,a.getAny)(this,(0,a.getAny)(this,"@width")||""))},t.prototype.serialize=function(){return(0,s.serializeTo)(this,{id:this.id})},t.prototype.deserialize=function(e,t){var i=this;return(0,s.deserializeFrom)(this,e,t),this.hash=e.id,t.add((function(){return i.m_bInitialized=!0})),this},t.prototype.open=function(){var e=this;return(0,a.scheduleAction)((function(){return e.emitHook("OnOpen",{item:e})})),this},t.prototype.close=function(){return this.emitHook("OnClose",{item:this}),this},t.prototype.refresh=function(e){if(this.isInitialized)if(e)switch(e){case"icon":this.emitHook("OnIcon",{item:this});break;case"name":this.emitHook("OnRename",{item:this})}else(0,r.invokeMarker)("refreshed",this)},t.prototype.delete=function(){return this.pop(),this.m_bListening||(0,r.invokeMarker)("deleted",this),this},n.__decorate([s.serializer],t.prototype,"serialize",null),n.__decorate([s.deserializer],t.prototype,"deserialize",null),t}(o.Item);t.CollectionItem=u},14549:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionsOrchestrator=void 0;var n=i(21479),o=i(86294),r=i(84389),s=i(10310),a=function(){function e(e,t,i,n,o){void 0===n&&(n=!1),void 0===o&&(o=!1),this.m_pTemplates=[],this.m_pNode=e,this.m_sLabel=t,this.m_sIcon=i,this.m_bMarkdown=n,this.m_bSeparator=o}return e.create=function(t){return new e(t)},Object.defineProperty(e.prototype,"templates",{get:function(){return(0,r.map)(this.m_pTemplates,(function(t){return t instanceof e?{label:t.m_sLabel||"",markdown:t.m_bMarkdown,icon:t.m_sIcon,templates:t.templates,separator:t.m_bSeparator}:t}))},enumerable:!1,configurable:!0}),e.prototype.template=function(e){var t=this,i=e.markdown||e.label||e.condition.label,a=!!e.markdown,l=e.icon||e.condition.icon,c=!!(e.props&&e.props.slot instanceof n.Slot&&e.props.slot.pipeable)?"pipe":"branch"===e.burst?"branch":e.burst?"branches":void 0,u=e.separator;return this.m_pTemplates.push({label:i,markdown:a,icon:l,burst:c,separator:u,command:function(i,n){var a=i.assignBlock(e.condition);a&&(a.node=t.m_pNode,(0,r.each)(e.props,(function(e,t){return(0,r.set)(a,t,e)}),{keys:!0}),!n&&(0,r.castToBoolean)(e.autoOpen,a instanceof o.ConditionBlockEx&&a.type.autoOpen||!1)&&a.condition.layout instanceof s.ConditionLayout&&a.condition.layout.edit())}}),this},e.prototype.custom=function(e,t,i,n){return void 0===n&&(n=!1),this.m_pTemplates.push({label:e,markdown:n,icon:i,command:t}),this},e.prototype.group=function(t,i,n,o){var r=new e(this.m_pNode,t,i,n,o);return this.m_pTemplates.push(r),r},e}();t.ConditionsOrchestrator=a},99505:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.affects=void 0;var n=i(40910),o=i(34882),r=i(19092),s=i(29208);t.affects=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];switch(e){case"#name":case"#label":case"#icon":return(0,s.affectsName)(e);case"#condition":return(0,n.affects)("#condition");case"#slots":return(0,n.affects)("#slots");case"#required":return(0,n.affects)("#required");case"#collection":return(0,r.affectsCollection)(t[0]||"");case"#refresh":return o.affectsRefresh}}},32928:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.collection=void 0;var n=i(84389);t.collection=function(e,t){if("#"!==e.charAt(0))throw new Error("Tripetto: The name of the collection in the `@collection` decorator should begin with `#`!");return function(i,o){var r="@definition #collections",s=Object.getOwnPropertyDescriptor(i,r),a={collection:e.substr(1),property:o,mode:t||"rw"};s&&(0,n.isArray)(s.value)?s.value.push(a):Object.defineProperty(i,r,{value:[a],writable:!1,enumerable:!1,configurable:!1})}}},89775:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.created=void 0;var n=i(42907);t.created=function(e,t,i){(0,n.defineMarker)("created",e,t,i)}},90347:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.editor=void 0;var n=i(42907);t.editor=function(e,t,i){(0,n.defineMarker)("editor",e,t,i)}},25723:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMetadata=t.metadata=void 0;var n=i(84389),o="@metadata #";t.metadata=function(e){return function(t,i){if(!e)throw new Error("Tripetto: You need to specify a valid reference for the `@metadata` decorator.");var n=o+e;if(Object.getOwnPropertyDescriptor(t,n))throw new Error('Tripetto: The decorator `@metadata("'.concat(e,'")` is already used.'));Object.defineProperty(t,n,{value:i,writable:!1,enumerable:!1,configurable:!1})}},t.getMetadata=function(e,t){if(t){var i=(0,n.getString)(e,o+t);if(i){var r=(0,n.getAny)(e,i);if((0,n.isObject)(r))return r}}}},65674:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renamed=void 0;var n=i(42907);t.renamed=function(e,t,i){(0,n.defineMarker)("renamed",e,t,i)}},94935:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSupply=t.supplies=void 0;var n=i(84389),o="@signal #supplies";t.supplies=function(e,t,i,r){return void 0===i&&(i=!0),function(s,a,l){var c=Object.getOwnPropertyDescriptor(s,o),u={collection:a,type:"#slot"===e?"slot":"collection",reference:t,isSole:function(e){return(0,n.isBoolean)(i)?i:(0,n.getBoolean)(e,i)},isAvailable:function(e){return!r||(0,n.getBoolean)(e,r)}};c?c.value.push(u):Object.defineProperty(s,o,{value:[u],writable:!1,enumerable:!1,configurable:!1})}},t.findSupply=function(e,t,i){return(0,n.findFirst)((0,n.getAny)(e,o),(function(e){return e.type===t&&e.reference===i}))}},96977:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Fonts=void 0;var n=i(84389),o=function(){function e(){}return Object.defineProperty(e,"isReady",{get:function(){return this.m_bReady},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isError",{get:function(){return this.m_bError},enumerable:!1,configurable:!0}),e.load=function(e,t){var o=this;return this.m_bReady=!1,i(75933).load({classes:!1,custom:{families:e},active:function(){(0,n.scheduleEvent)((function(){o.m_bReady=!0,t(!o.m_bError)}))},inactive:function(){o.m_bReady=!0,t(!1)},fontinactive:function(){o.m_bError=!0},timeout:9e4}),!0},e.m_bReady=!1,e.m_bError=!1,e}();t.Fonts=o},73968:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MoveableLayout=void 0;var n=i(70655),o=i(22910),r=i(84389),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.moving=function(t){return!!e.prototype.moving.call(this,t)&&(this.element&&this.element.selector("moving",this.isMoving),!0)},t.prototype.following=function(t){return!!e.prototype.following.call(this,t)&&(this.element&&this.element.selector("following",this.isFollowing),!0)},t.prototype.ensuing=function(t){return!!e.prototype.ensuing.call(this,t)&&(this.element&&this.element.selector("ensuing",this.isEnsuing),!0)},t.prototype.animate=function(e){var i=this.parent.grid;if(i&&i.layout instanceof t){var n=i.layout.style.map.animateDuration||0;n>0&&(i.layout.ensuing(!0),(0,r.scheduleUITimeout)((function(){i.layout instanceof t&&i.layout.ensuing(!1)}),n))}return e()},t.prototype.scrollIntoView=function(){var e=this.layer.scroll,t=this.element;e&&t&&e.scrollToAsset(t,!0,this.style.map.spacing&&this.style.map.spacing.left,this.style.map.spacing&&this.style.map.spacing.top,this.style.map.spacing&&this.style.map.spacing.right,this.style.map.spacing&&this.style.map.spacing.bottom)},t}(o.Layout);t.MoveableLayout=s},85645:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeMarkdownSafe=t.markdownifyToString=void 0;var n=i(94689),o=i(81979);t.markdownifyToString=function(e,t,i){return void 0===t&&(t=n.MarkdownFeatures.All),void 0===i&&(i="___"),e&&n.MarkdownParser.parse(e,{features:t,mentions:{numberOfChars:64,parser:function(e){if((0,o.isVariable)(e))return{shift:64,text:i}}}}).text||""},t.makeMarkdownSafe=function(e,t){return void 0===t&&(t=n.MarkdownFeatures.Formatting|n.MarkdownFeatures.InlineCode),t&n.MarkdownFeatures.Formatting&&(e=e.replace(/[*_~\\]/g,"\\$&")),t&n.MarkdownFeatures.InlineCode&&(e=e.replace(/[`]/g,"\\$&")),t&n.MarkdownFeatures.Hyperlinks&&(e=e.replace(/[[]/g,"\\$&")),e}},5023:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MenuSubmenuWithIcon=t.MenuLinkWithIcon=t.MenuItemWithIcon=void 0,i(70655).__exportStar(i(33463),t);var n=i(4432);Object.defineProperty(t,"MenuItemWithIcon",{enumerable:!0,get:function(){return n.Item}});var o=i(21354);Object.defineProperty(t,"MenuLinkWithIcon",{enumerable:!0,get:function(){return o.Link}});var r=i(77934);Object.defineProperty(t,"MenuSubmenuWithIcon",{enumerable:!0,get:function(){return r.Submenu}})},4432:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Item=void 0;var n=i(70655),o=i(75783),r=function(e){function t(t,i,n,o){void 0===o&&(o=!1);var r=e.call(this,i,n,o)||this;return r.m_nIcon=t,r}return n.__extends(t,e),t.prototype.draw=function(t,i){var n=this;i.create("span",(function(e){return(0,o.linearicon)(n.m_nIcon,e,!0)})),e.prototype.draw.call(this,t,i)},t}(i(33463).MenuItem);t.Item=r},21354:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=void 0;var n=i(70655),o=i(75783),r=function(e){function t(t,i,n,o){var r=e.call(this,i,n,o)||this;return r.m_nIcon=t,r}return n.__extends(t,e),t.prototype.draw=function(t,i){var n=this;i.create("span",(function(e){return(0,o.linearicon)(n.m_nIcon,e,!0)})),e.prototype.draw.call(this,t,i)},t}(i(33463).MenuLink);t.Link=r},77934:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Submenu=void 0;var n=i(70655),o=i(75783),r=function(e){function t(t,i,n,o,r){void 0===o&&(o=!1),void 0===r&&(r=!0);var s=e.call(this,i,n,o,r)||this;return s.m_nIcon=t,s}return n.__extends(t,e),t.prototype.draw=function(t,i){var n=this;i.create("span",(function(e){return(0,o.linearicon)(n.m_nIcon,e,!0)})),e.prototype.draw.call(this,t,i)},t}(i(33463).MenuSubmenu);t.Submenu=r},87627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REGEX_IS_URL=void 0,t.REGEX_IS_URL=/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$|(^\@[A-Fa-f0-9]{64})/i},11259:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateSlots=void 0;var n=i(84389),o=i(40910),r=i(81471);t.populateSlots=function(e,t){var i,s,a,l,c=[],u=e instanceof o.Map?e:e.map,p=t&&t.mode||"all",h=t&&t.pipes||"include",d=t&&t.references&&t.references.length>0&&t.references||void 0,m=t&&t.include&&t.include.length>0&&t.include||void 0,f=t&&t.exclude&&t.exclude.length>0&&t.exclude||void 0,g=t&&t.blocks&&t.blocks.length>0&&(0,n.map)(t.blocks,(function(e){return(0,n.isString)(e)?e:e.identifier}))||void 0;if(u){var y=e instanceof r.NodeBlock?e.node:e instanceof o.Node?e:e instanceof r.ConditionBlock&&"validated"!==p&&"self"!==p&&e.node||void 0,b=!y&&e instanceof r.ConditionBlock?e.condition:e instanceof o.Condition?e:void 0,v=y;if(b){var M=[],_=function(e){var t;if(e)return M.push(e),e.branches.reverseEach((function(e){for(var i,o=e.clusters.lastItem;o;){if(t=!(0,n.findFirst)(M,(function(e){return e===o}))&&_(o)||void 0)return!0;o=(null==o?void 0:o.predecessor)||(null===(i=o.branch)||void 0===i?void 0:i.cluster)}return!1})),t||e.nodes.lastItem};v=(null===(i=b.cluster)||void 0===i?void 0:i.nodes.lastItem)||_((null===(s=b.cluster)||void 0===s?void 0:s.predecessor)||(null===(l=null===(a=b.cluster)||void 0===a?void 0:a.branch)||void 0===l?void 0:l.cluster))}if(!v&&("validated"===p||"self"===p))return[];u.forEach((function(e){if("validated"===p&&e===y)return!0;if("exclude"===p&&e===v)return!1;if(e.block instanceof r.NodeBlock&&(!g||(0,n.findFirst)(g,(function(t){return e.blockTypeIdentifier===t})))){var t=e.block,i=[],o={};if(t.slots.each((function(e){var r=(t.slots.count<=1||!t.slots.each((function(t){return t.alias===e.alias&&t.id!==e.id}))?e.alias:"")||e.name||e.label||"";if(r&&(!(0,n.isBoolean)(e.pipeable)||e.pipeable)&&(!m||(0,n.findFirst)(m,(function(t){return e.id===t})))&&(!f||!(0,n.findFirst)(f,(function(t){return e.id===t})))){if("exclude"!==h&&e.pipeable&&!(0,n.isBoolean)(e.pipeable)){var s=e.pipeable.pipe||"";if("exclude-consumed-slots"===h)return;if(d&&s&&!(0,n.findFirst)(d,(function(e){return s===e})))return;if(o[s]||(i.push({type:"pipe",block:t,id:e.pipe(),reference:s,slot:e,label:e.pipeable.label||e.label||"",alias:e.pipeable.alias}),o[s]=!0),"include-consumed-slots"!==h)return}"only"!==h&&(d&&!(0,n.findFirst)(d,(function(t){return e.reference===t}))||i.push({type:"slot",block:t,id:e.id,reference:e.reference,slot:e,label:r,alias:e.alias||e.name||void 0}))}})),i.length>0){var s=1===i.length&&("dynamic"!==i[0].slot.kind||"pipe"===i[0].type),a=(s?i[0].alias:"")||(0,n.getString)(t,"alias")||e.label;a&&c.push({type:s&&i[0].type||"group",block:t,label:a,icon:t.icon,id:s&&i[0].id||void 0,reference:s&&i[0].reference||void 0,slot:s&&i[0].slot||void 0,slots:!s&&i||void 0})}}return"self"===p&&e===y||("validated"===p||"self"===p)&&e===v}),"nodes")}return c.length>0&&c||void 0}},39709:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGColorizePath=void 0,t.SVGColorizePath=function(e,t){var i="".concat(e);if(0===i.indexOf("data:image/svg+xml;base64,")){var n=atob(i.substr(26)).replace("</svg>",'<style type="text/css">.tripetto-fill{fill:'.concat(t,";}.tripetto-stroke{stroke:").concat(t,";}</style></svg>"));return"data:image/svg+xml;base64,".concat(btoa(n))}return i}},27546:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGColorizePath=t.SVGLine=void 0;var n=i(78043);Object.defineProperty(t,"SVGLine",{enumerable:!0,get:function(){return n.SVGLine}});var o=i(39709);Object.defineProperty(t,"SVGColorizePath",{enumerable:!0,get:function(){return o.SVGColorizePath}})},78043:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGLine=void 0,t.SVGLine=function(e){var t=0,i=0,n=0,o=0,r=0,s=0,a=0,l=0;if("horizontal"===e.orientation){if(i=e.thickness/2,"center"===e.alignment){var c=e.spacing?e.spacing.top:0;i=c+(e.height-(e.spacing?e.spacing.bottom:0)-c)/2}else"bottom"===e.alignment?i=e.height-(e.spacing?e.spacing.bottom:0)-i:i+=e.spacing?e.spacing.top:0;o=s=l=i,t+=e.spacing&&e.spacing.left>0?e.spacing.left:0,t+="begin-with-gap"===e.dotted?e.thickness:0,e.break?(r=(n=e.break.from)+e.break.size+("begin-with-gap"===e.dotted?e.thickness:0),a=e.width-(e.spacing?e.spacing.right:0)):n=e.width-(e.spacing?e.spacing.right:0)}else{if(t=e.thickness/2,"center"===e.alignment){var u=e.spacing?e.spacing.left:0;t=u+(e.width-(e.spacing?e.spacing.right:0)-u)/2}else"right"===e.alignment?t=e.width-(e.spacing?e.spacing.right:0)-t:t+=e.spacing?e.spacing.left:0;n=r=a=t,i+=e.spacing&&e.spacing.top>0?e.spacing.top:0,i+="begin-with-gap"===e.dotted?e.thickness:0,e.break?(s=(o=e.break.from)+e.break.size+("begin-with-gap"===e.dotted?e.thickness:0),l=e.height-(e.spacing?e.spacing.bottom:0)):o=e.height-(e.spacing?e.spacing.bottom:0)}var p=' stroke="'.concat(e.color,'"'),h=' stroke-width="'.concat(e.thickness,'"'),d=e.dotted&&"no"!==e.dotted?' stroke-dasharray="'.concat(e.thickness,",").concat(e.thickness,'"'):"",m='<path d="M'.concat(t,",").concat(i,"H").concat(n,"V").concat(o);switch(r===a&&s===l||(m+="M".concat(r,",").concat(s,"H").concat(a,"V").concat(l)),e.arrows){case"begin":"vertical"===e.orientation?m+="M".concat(t-4,",").concat(i+4+e.thickness/2,"l4,-4l4,4"):m+="M".concat(t+4+e.thickness/2,",").concat(i-4,"l-4,4l4,4");break;case"end":"vertical"===e.orientation?m+="M".concat(n-4,",").concat((l||o)-4-e.thickness/2,"l4,4l4,-4"):m+="M".concat((a||n)-4-e.thickness/2,",").concat(o-4,"l4,4l-4,4")}return m+='" fill="none"'.concat(p).concat(h).concat(d,' stroke-miterlimit="10" />')}},36068:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slotInsertAction=t.insertVariable=t.getSlotIcon=void 0;var n=i(70655).__importStar(i(21479)),o=i(11259),r=i(84389),s=i(33463),a=i(40910),l=i(81471),c=i(35520),u=i(80299),p=i(5023);function h(e){return e instanceof n.Boolean?59801:e instanceof n.String||e instanceof n.Text?59816:e instanceof n.Number||e instanceof n.Numeric?"calculator"===e.reference?59238:"counter"===e.reference?59694:"score"===e.reference?59105:59771:e instanceof n.Date?59273:59158}t.getSlotIcon=h;t.insertVariable=function(e,t,i){return function(n,d){var m,f=[];if(e instanceof c.CollectionItem){if(!(e.ref instanceof a.Node||e.ref instanceof l.NodeBlock||e.ref instanceof a.Condition||e.ref instanceof l.ConditionBlock||e.ref instanceof a.Map))return;e=e.ref}(0,r.each)((0,o.populateSlots)(e,{mode:t,pipes:"include-consumed-slots"}),(function(e){var t,i,o,a,l,c;if((null===(t=e.block.node.cluster)||void 0===t?void 0:t.id)!==m){var d=null===(i=e.block.node.cluster)||void 0===i?void 0:i.name;f.length>0&&f.push(new s.MenuSeparator),d&&f.push(new s.MenuLabel(d)),m=null===(o=e.block.node.cluster)||void 0===o?void 0:o.id}f.push(e.slots?new s.MenuSubmenuWithImage("".concat(e.icon),e.label,(a=e.slots,l=[],(c=(0,r.filter)(a,(function(e){return"pipe"===e.type}))).length>0&&(1===c.length?l.push(new p.MenuItemWithIcon(58923,(0,u.pgettext)("builder","Automatic text value"),(function(){return n(c[0].id)}))):l.push.apply(l,(0,r.map)(c,(function(e){return new p.MenuItemWithIcon(59772,e.label,(function(){return n(e.id)}))})))),(0,r.each)([(0,r.filter)(a,(function(e){var t;return"slot"===e.type&&"static"===(null===(t=e.slot)||void 0===t?void 0:t.kind)})),(0,r.filter)(a,(function(e){var t;return"slot"===e.type&&"dynamic"===(null===(t=e.slot)||void 0===t?void 0:t.kind)})),(0,r.filter)(a,(function(e){var t;return"slot"===e.type&&"feature"===(null===(t=e.slot)||void 0===t?void 0:t.kind)})),(0,r.filter)(a,(function(e){var t;return"slot"===e.type&&"meta"===(null===(t=e.slot)||void 0===t?void 0:t.kind)}))],(function(e){e.length>0&&(l.length>0&&l.push(new s.MenuSeparator),l.push.apply(l,(0,r.map)(e,(function(e){return e.slot?new p.MenuItemWithIcon(h(e.slot),e.label,(function(){return n(e.id)})):new s.MenuItem(e.label,(function(){return n(e.id)}))}))))})),l)):new s.MenuItemWithImage("".concat(e.icon),e.label,(function(){return n(e.id)})))}));var g=i&&i(f,n)||f;if(g.length>0){var y=s.Menu.openAtElement(g,d,{position:"bottom",autoFocus:!1,onClosing:function(){y.isOptionTapped||n()}});return function(e){return"ArrowDown"===e?(y.focus(),"capture"):(y.close(!0),"Escape"===e?"cancel":"continue")}}}},t.slotInsertAction=t.insertVariable},82652:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseVariablesToElement=t.parseMentions=void 0;var n=i(94689),o=i(40910),r=i(80299),s=i(84389),a=i(33294),l={};function c(e,t){t instanceof o.Node||t instanceof o.Condition||t instanceof a.CollectionRow?(0,s.schedulePromise)((function(){return t.refresh()})):e.destroy()}t.parseMentions=function(e,t){return function(i,n){return n&&i.create("span",(function(i){var u,p,h=function(){var t=s.Str.limit(n.label,32,"...")||(0,r.pgettext)("builder","Value");p!==t&&((0,s.isString)(p)&&(e instanceof o.Node||e instanceof o.Condition)&&e.refreshed(),i.text=p=t)};if(i.onDestroy=function(){return function(e,t){t.block&&t.block.node.unhookContext(e),t.slot&&t.slot.unhookContext(e),t.pipe&&t.pipe.unhookContext(e)}(i,n)},t&&t(i),n.block&&(n.block.node.hook("OnRename","framed",(function(){return h()}),i),n.block.node.hook("OnItemPop","synchronous",(function(){return c(i,e)}),i),e instanceof o.Node||e instanceof o.Condition||e instanceof a.CollectionRow)){var d=n.block.node.id;l[d]||(l[d]={},n.block.node.hook("OnBlockAssign","framed",(function(){(0,s.each)(l[d],(function(e){e.isPopped||e.refresh()}))})),n.block.node.hook("OnItemPop","synchronous",(function(){delete l[d]})),(null===(u=n.slot)||void 0===u?void 0:u.slots)&&n.slot.slots.hook("OnItemPush","framed",(function(){(0,s.each)(l[d],(function(e){e.isPopped||e.refresh()}))}))),l[d][e.hash]||(e.hook("OnItemPop","synchronous",(function(){l[d]&&delete l[d][e.hash]})),l[d][e.hash]=e)}n.slot&&(n.slot.hook("OnSlotRename","framed",(function(){return h()}),i),n.slot.hook("OnItemPop","synchronous",(function(){return c(i,e)}),i),n.slot.hook("OnSlotProperty","framed",(function(e){"alias"===e.property&&h()}),i)),n.pipe&&(n.pipe.hook("OnSlotProperty","framed",(function(e){"pipeable"===e.property&&h()}),i),n.pipe.hook("OnItemPop","synchronous",(function(){return c(i,e)}),i)),h()}))}},t.parseVariablesToElement=function(e,i,o,r,s){void 0===s&&(s=n.MarkdownFeatures.None),e.markdown(i,{features:s,mentions:(0,t.parseMentions)(o,r)})}},10035:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateVariables=void 0;var n=i(70655),o=i(11259),r=i(84389),s=i(40910),a=i(80299);t.populateVariables=function(e,t,i,l){void 0===l&&(l=!1);for(var c=[],u=4;u<arguments.length;u++)c[u-4]=arguments[u];var p=[],h=[];if((0,r.each)((0,o.populateSlots)(e,{mode:l?"self":"validated",pipes:"include-consumed-slots",exclude:(0,r.filter)(c,(function(e){return!!e}))}),(function(e){if(e.slots){var o=[];(0,r.each)(e.slots,(function(e){e.id&&e.slot&&(!t||t(e.slot,"pipe"===e.type))&&(o.push({label:e.label+("pipe"===e.type?" (".concat((0,a.pgettext)("builder","pipe"),")"):""),value:e.id}),i===e.id&&(i=""))})),o.length&&h.push.apply(h,n.__spreadArray([{optGroup:e.label}],o,!1))}else e.id&&e.slot&&(!t||t(e.slot,"pipe"===e.type))&&(p.push({label:e.label+("pipe"===e.type?" (".concat((0,a.pgettext)("builder","pipe"),")"):""),value:e.id}),i===e.id&&(i=""))})),i){var d=(0,s.lookupVariable)(e,i);d&&h.push({optGroup:(0,a.pgettext)("builder","Upcoming")},{label:d.label,value:i})}return n.__spreadArray(n.__spreadArray([],p,!0),h,!0)}},81979:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVariable=void 0,t.isVariable=function(e){return!(!e||64!==e.length||!/[A-Fa-f0-9]{64}/.test(e))}},6506:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVimeoId=void 0,t.getVimeoId=function(e){var t=e.match(/\/\/(?:www\.)?vimeo\.com\/(?:channels\/staffpicks\/)?([-\w]+)/i);return t&&2===t.length&&t[1]||""}},15558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getYouTubeId=void 0,t.getYouTubeId=function(e){var t=e.match(/youtu(?:.*\/v\/|.*v\=|\.be\/)([A-Za-z0-9_\-]{11})/);return t&&2===t.length&&t[1]||""}},66110:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tripetto=void 0;var n=i(70655),o=n.__importStar(i(19749));t.Tripetto=o,n.__exportStar(i(19749),t),t.default=o},80299:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._n=t._=t.pgettext=t.npgettext=t.L10n=void 0;var n=i(5466);t.L10n=n.Namespace.translation("".concat("tripetto","@").concat("4.5.1")),t.npgettext=t.L10n.npgettext,t.pgettext=t.L10n.pgettext,t._=t.L10n._,t._n=t.L10n._n},35805:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Condition=t.Branch=t.Node=t.Cluster=t.Map=void 0;var n=i(10310);Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return n.MapLayout}}),Object.defineProperty(t,"Cluster",{enumerable:!0,get:function(){return n.ClusterLayout}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return n.NodeLayout}}),Object.defineProperty(t,"Branch",{enumerable:!0,get:function(){return n.BranchLayout}}),Object.defineProperty(t,"Condition",{enumerable:!0,get:function(){return n.ConditionLayout}})},19749:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markdownifyToString=t.getMetadata=t.isVariable=t.populateVariables=t.getSlotIcon=t.slotInsertAction=t.insertVariable=t.populateSlots=t.NodeBlock=t.ConditionBlock=t.MoveableLayout=t.LayerLayout=t.LayerRenderer=t._n=t._=t.npgettext=t.pgettext=t.L10n=t.lookupVariable=t.unmountNamespace=t.mountNamespace=t.detectChange=t.Node=t.Conditions=t.Condition=t.Clusters=t.Cluster=t.Branches=t.Branch=t.Namespaces=t.Spacing=t.Dimensions=t.Coordinate=t.Rectangles=t.Callback=t.Await=t.Application=t.Markdown=t.Touch=t.Slots=t.SHA2=t.Layouts=t.Layers=t.Forms=t.Drawings=t.DOM=t.Contracts=t.Components=t.Collection=t.AES=void 0,t.DEFAULT=t.tripetto=t.reordered=t.renamed=t.refreshed=t.width=t.menu=t.title=t.score=t.alias=t.icon=t.name=t.metadata=t.supplies=t.editor=t.deleted=t.collection=t.created=t.conditions=t.upgraded=t.unassigned=t.slots=t.detached=t.destroyed=t.definition=t.assigned=t.affects=t.ConditionsOrchestrator=t.SlotsOrchestrator=t.EditorOrchestrator=t.EditorOrchestratorNodeBlock=t.getHelpTopic=t.REGEX_IS_URL=t.lineariconStyle=t.linearicons=t.linearicon=t.Fonts=t.makeMarkdownSafe=void 0;var n=i(70655);n.__exportStar(i(84389),t),t.AES=n.__importStar(i(53e3)),t.Collection=n.__importStar(i(20850)),t.Components=n.__importStar(i(74580)),t.Contracts=n.__importStar(i(81285)),t.DOM=n.__importStar(i(9072)),t.Drawings=n.__importStar(i(47330)),t.Forms=n.__importStar(i(62095)),t.Layers=n.__importStar(i(85238)),t.Layouts=n.__importStar(i(35805)),t.SHA2=n.__importStar(i(35781)),t.Slots=n.__importStar(i(21479)),t.Touch=n.__importStar(i(35493)),t.Markdown=n.__importStar(i(94689));var o=i(9072);Object.defineProperty(t,"Application",{enumerable:!0,get:function(){return o.Application}});var r=i(6148);Object.defineProperty(t,"Await",{enumerable:!0,get:function(){return r.Await}}),Object.defineProperty(t,"Callback",{enumerable:!0,get:function(){return r.Callback}});var s=i(22270);Object.defineProperty(t,"Rectangles",{enumerable:!0,get:function(){return s.Rectangles}}),Object.defineProperty(t,"Coordinate",{enumerable:!0,get:function(){return s.Coordinate}}),Object.defineProperty(t,"Dimensions",{enumerable:!0,get:function(){return s.Dimensions}}),Object.defineProperty(t,"Spacing",{enumerable:!0,get:function(){return s.Spacing}});var a=i(40910);Object.defineProperty(t,"Namespaces",{enumerable:!0,get:function(){return a.Namespaces}}),Object.defineProperty(t,"Branch",{enumerable:!0,get:function(){return a.Branch}}),Object.defineProperty(t,"Branches",{enumerable:!0,get:function(){return a.Branches}}),Object.defineProperty(t,"Cluster",{enumerable:!0,get:function(){return a.Cluster}}),Object.defineProperty(t,"Clusters",{enumerable:!0,get:function(){return a.Clusters}}),Object.defineProperty(t,"Condition",{enumerable:!0,get:function(){return a.Condition}}),Object.defineProperty(t,"Conditions",{enumerable:!0,get:function(){return a.Conditions}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return a.Node}}),Object.defineProperty(t,"detectChange",{enumerable:!0,get:function(){return a.detectChange}}),Object.defineProperty(t,"mountNamespace",{enumerable:!0,get:function(){return a.mountNamespace}}),Object.defineProperty(t,"unmountNamespace",{enumerable:!0,get:function(){return a.unmountNamespace}}),Object.defineProperty(t,"lookupVariable",{enumerable:!0,get:function(){return a.lookupVariable}});var l=i(80299);Object.defineProperty(t,"L10n",{enumerable:!0,get:function(){return l.L10n}}),Object.defineProperty(t,"pgettext",{enumerable:!0,get:function(){return l.pgettext}}),Object.defineProperty(t,"npgettext",{enumerable:!0,get:function(){return l.npgettext}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"_n",{enumerable:!0,get:function(){return l._n}});var c=i(22910);Object.defineProperty(t,"LayerRenderer",{enumerable:!0,get:function(){return c.Renderer}}),Object.defineProperty(t,"LayerLayout",{enumerable:!0,get:function(){return c.Layout}});var u=i(73968);Object.defineProperty(t,"MoveableLayout",{enumerable:!0,get:function(){return u.MoveableLayout}});var p=i(81471);Object.defineProperty(t,"ConditionBlock",{enumerable:!0,get:function(){return p.ConditionBlock}}),Object.defineProperty(t,"NodeBlock",{enumerable:!0,get:function(){return p.NodeBlock}});var h=i(11259);Object.defineProperty(t,"populateSlots",{enumerable:!0,get:function(){return h.populateSlots}});var d=i(36068);Object.defineProperty(t,"insertVariable",{enumerable:!0,get:function(){return d.insertVariable}}),Object.defineProperty(t,"slotInsertAction",{enumerable:!0,get:function(){return d.slotInsertAction}}),Object.defineProperty(t,"getSlotIcon",{enumerable:!0,get:function(){return d.getSlotIcon}});var m=i(10035);Object.defineProperty(t,"populateVariables",{enumerable:!0,get:function(){return m.populateVariables}});var f=i(81979);Object.defineProperty(t,"isVariable",{enumerable:!0,get:function(){return f.isVariable}});var g=i(25723);Object.defineProperty(t,"getMetadata",{enumerable:!0,get:function(){return g.getMetadata}});var y=i(85645);Object.defineProperty(t,"markdownifyToString",{enumerable:!0,get:function(){return y.markdownifyToString}}),Object.defineProperty(t,"makeMarkdownSafe",{enumerable:!0,get:function(){return y.makeMarkdownSafe}});var b=i(96977);Object.defineProperty(t,"Fonts",{enumerable:!0,get:function(){return b.Fonts}});var v=i(75783);Object.defineProperty(t,"linearicon",{enumerable:!0,get:function(){return v.linearicon}}),Object.defineProperty(t,"linearicons",{enumerable:!0,get:function(){return v.linearicons}}),Object.defineProperty(t,"lineariconStyle",{enumerable:!0,get:function(){return v.style}});var M=i(87627);Object.defineProperty(t,"REGEX_IS_URL",{enumerable:!0,get:function(){return M.REGEX_IS_URL}});var _=i(3640);Object.defineProperty(t,"getHelpTopic",{enumerable:!0,get:function(){return _.getHelpTopic}});var S=i(55576);Object.defineProperty(t,"EditorOrchestratorNodeBlock",{enumerable:!0,get:function(){return S.EditorOrchestrator}});var I=i(85519);Object.defineProperty(t,"EditorOrchestrator",{enumerable:!0,get:function(){return I.EditorOrchestrator}});var T=i(21479);Object.defineProperty(t,"SlotsOrchestrator",{enumerable:!0,get:function(){return T.Slots}});var N=i(14549);Object.defineProperty(t,"ConditionsOrchestrator",{enumerable:!0,get:function(){return N.ConditionsOrchestrator}});var j=i(99505);Object.defineProperty(t,"affects",{enumerable:!0,get:function(){return j.affects}});var w=i(40910);Object.defineProperty(t,"assigned",{enumerable:!0,get:function(){return w.assigned}}),Object.defineProperty(t,"definition",{enumerable:!0,get:function(){return w.definition}}),Object.defineProperty(t,"destroyed",{enumerable:!0,get:function(){return w.destroyed}}),Object.defineProperty(t,"detached",{enumerable:!0,get:function(){return w.detached}}),Object.defineProperty(t,"slots",{enumerable:!0,get:function(){return w.slots}}),Object.defineProperty(t,"unassigned",{enumerable:!0,get:function(){return w.unassigned}}),Object.defineProperty(t,"upgraded",{enumerable:!0,get:function(){return w.upgraded}});var L=i(28952);Object.defineProperty(t,"conditions",{enumerable:!0,get:function(){return L.conditions}});var C=i(89775);Object.defineProperty(t,"created",{enumerable:!0,get:function(){return C.created}});var O=i(32928);Object.defineProperty(t,"collection",{enumerable:!0,get:function(){return O.collection}});var D=i(39914);Object.defineProperty(t,"deleted",{enumerable:!0,get:function(){return D.deleted}});var x=i(90347);Object.defineProperty(t,"editor",{enumerable:!0,get:function(){return x.editor}});var A=i(94935);Object.defineProperty(t,"supplies",{enumerable:!0,get:function(){return A.supplies}});var k=i(25723);Object.defineProperty(t,"metadata",{enumerable:!0,get:function(){return k.metadata}});var z=i(94777);Object.defineProperty(t,"name",{enumerable:!0,get:function(){return z.name}});var P=i(93259);Object.defineProperty(t,"icon",{enumerable:!0,get:function(){return P.icon}});var E=i(52136);Object.defineProperty(t,"alias",{enumerable:!0,get:function(){return E.alias}});var H=i(53346);Object.defineProperty(t,"score",{enumerable:!0,get:function(){return H.score}});var F=i(74654);Object.defineProperty(t,"title",{enumerable:!0,get:function(){return F.title}});var R=i(17902);Object.defineProperty(t,"menu",{enumerable:!0,get:function(){return R.menu}});var B=i(6838);Object.defineProperty(t,"width",{enumerable:!0,get:function(){return B.width}});var Y=i(88288);Object.defineProperty(t,"refreshed",{enumerable:!0,get:function(){return Y.refreshed}});var Z=i(65674);Object.defineProperty(t,"renamed",{enumerable:!0,get:function(){return Z.renamed}});var U=i(65236);Object.defineProperty(t,"reordered",{enumerable:!0,get:function(){return U.reordered}});var W=i(81471);Object.defineProperty(t,"tripetto",{enumerable:!0,get:function(){return W.tripetto}}),n.__exportStar(i(66559),t);var G=i(20384);Object.defineProperty(t,"DEFAULT",{enumerable:!0,get:function(){return G.DEFAULT}}),i(39488)},39488:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i(9072).Element.setTrustedTypesPolicy("tripetto")},89843:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Colors=void 0,t.Colors={Background:"rgb(236,245,253)",Loader:"rgb(44,64,90)",Menu:{Background:"rgba(44,64,90,0.96)",BackgroundOpaque:"rgba(44,64,90,0)",Overlay:"rgba(0,0,0,0.75)",Scrollbars:{Color:"rgba(0,106,194,0.8)",Hover:"rgb(0,106,194)"},Static:"rgba(255,255,255,0.7)",Separator:"rgba(255,255,255,0.25)",Item:{Label:"rgb(255,255,255)",Disabled:"rgba(255,255,255,0.25)",Hover:"rgba(0,106,194,0.9)"}},Navigator:{Background:"rgba(44,64,90,0.8)",Hover:"rgba(44,64,90,0.9)",Separator:"rgba(255,255,255,0.2)",Button:{Enabled:"rgba(255,255,255,0.7)",Disabled:"rgba(255,255,255,0.2)",Hover:"rgba(255,255,255,1)",Tap:"rgba(255,255,255,1)"}},Zoombar:{Background:"rgba(44,64,90,0.8)",Hover:"rgba(44,64,90,0.9)",Thumb:"rgb(255,255,255)",Shadow:"rgb(60, 60, 60)",Track:{Upper:"rgba(129,201,37,0.2)",Lower:"rgb(129,201,37)"}},Map:{Branch:{Background:"rgb(255,255,255)",Border:"rgb(183,210,229)",Moving:"rgba(255,255,255,0.8)",MovingShadow:"rgba(0,106,194,0.9)",Following:"rgba(255,255,255,0.8)",Header:{Splitter:"rgb(216,229,238)",Label:"rgba(63,83,110,0.48)",LabelNamed:"rgba(63,83,110,1)",Button:{Background:"transparent",BackgroundHover:"rgb(141,171,196)",BackgroundTap:"rgb(141,171,196)",BackgroundSelected:"rgb(141,171,196)",Color:"rgb(141,171,196)",ColorHover:"rgb(255,255,255)",ColorTap:"rgb(255,255,255)",ColorSelected:"rgb(255,255,255)"}},Footer:{Splitter:"rgb(216,229,238)",Color:"rgb(0,147,238)"},Guides:{Background:"transparent",Border:"rgb(183,210,229)"}},Cluster:{Background:"rgb(250,251,252)",Border:"rgb(183,210,229)",Moving:"rgba(250,251,252,0.8)",MovingShadow:"rgba(0,106,194,0.9)",Following:"rgba(250,251,252,0.8)",Header:{Splitter:"rgb(216,229,238)",Label:"rgba(63,83,110,0.48)",LabelNamed:"rgba(63,83,110,1)",Button:{Background:"transparent",BackgroundHover:"rgb(141,171,196)",BackgroundTap:"rgb(141,171,196)",BackgroundSelected:"rgb(141,171,196)",Color:"rgb(141,171,196)",ColorHover:"rgb(255,255,255)",ColorTap:"rgb(255,255,255)",ColorSelected:"rgb(255,255,255)"}},Footer:{Splitter:"rgb(216,229,238)",Color:"rgb(0,147,238)"},Guides:{Background:"transparent",Border:"rgb(183,210,229)"}},Condition:{Background:"rgb(250,251,252)",Moving:"rgba(250,251,252,0.8)",MovingShadow:"rgba(0,106,194,0.9)",Following:"rgba(250,251,252,0.6)",Label:"rgba(63,83,110,1)",LabelUnnamed:"rgba(63,83,110,0.48)",Icon:"rgb(168,198,223)",Splitter:"rgb(229,238,245)",SeparatorBetween:"rgb(229,238,245)",SeparatorLast:"rgb(216,229,238)",Guides:{Background:"transparent",Border:"rgb(183,210,229)"}},Node:{Background:"rgb(255,255,255)",Moving:"rgba(255,255,255,0.8)",MovingShadow:"rgba(0,106,194,0.9)",Following:"rgba(255,255,255,0.6)",Label:"rgba(63,83,110,0.48)",LabelUnnamed:"rgba(63,83,110,1)",Type:"rgb(141,171,196)",Icon:"rgb(168,198,223)",Splitter:"rgb(78,206,61)",SplitterRequired:"rgb(253,123,31)",SeparatorBetween:"rgb(229,238,245)",SeparatorLast:"rgb(216,229,238)",Button:{Background:"transparent",BackgroundHover:"rgb(141,171,196)",BackgroundTap:"rgb(141,171,196)",BackgroundSelected:"rgb(141,171,196)",Color:"rgb(141,171,196)",ColorHover:"rgb(255,255,255)",ColorTap:"rgb(255,255,255)",ColorSelected:"rgb(255,255,255)"},Guides:{Background:"transparent",Border:"rgb(183,210,229)"}},Connectors:{Branch:"rgb(129,201,38)",Cluster:"rgb(129,201,38)",Guides:"rgb(183,210,229)"},Scrollbars:{Thumb:{Color:"rgba(44,64,90,0.2)",Hover:"rgba(44,64,90,0.2)",Focus:"rgba(44,64,90,0.4)",Drag:"rgba(44,64,90,0.6)",Crawl:"rgba(44,64,90,0.6)"},Track:{Crawl:"rgba(44,64,90,0.1)"},Corner:"rgba(44,64,90,0.6)"}},Forms:{Layer:{Background:"rgb(255,255,255)",Border:"rgb(216,229,238)"},Header:{Background:"rgba(250,251,252,0.9)",Title:"rgb(44,64,89)"},Buttons:{Normal:{Background:"rgb(0,147,238)",BackgroundHover:"rgb(2,133,215)",BackgroundTap:"rgb(0,121,197)",Face:"rgb(255,255,255)"},Accept:{Background:"rgb(78,206,61)",BackgroundHover:"rgb(64,183,48)",BackgroundTap:"rgb(57,161,43)",Face:"rgb(255,255,255)"},Warning:{Background:"rgb(253,123,31)",BackgroundHover:"rgb(252,107,3)",BackgroundTap:"rgb(227,96,2)",Face:"rgb(255,255,255)"},Cancel:{Background:"rgb(255,21,31)",BackgroundHover:"rgb(230,0,11)",BackgroundTap:"rgb(204,0,10)",Face:"rgb(255,255,255)"},Dropdown:{Border:"rgb(197,217,232)",Background:"rgb(255,255,255)",BackgroundHover:"rgb(225,236,245)",BackgroundTap:"rgb(197,217,232)",Face:"rgb(0,147,238)"}},Features:{Static:"rgb(141,171,196)",Toggle:"rgb(44,64,90)",Option:{Background:"rgb(236,245,253)",Face:"rgb(0,147,238)"}},Form:{Background:"rgb(251,252,253)",Border:"rgb(183,210,229)",Title:"rgb(44,64,89)"},Controls:{Background:"rgb(255,255,255)",BackgroundHover:"rgb(236,245,253)",BackgroundFocus:"rgb(236,245,253)",Border:"rgb(168,198,223)",BorderFocus:"rgb(168,198,223)",BorderHover:"rgb(168,198,223)",Label:"rgb(141,171,196)",Hyperlink:"rgb(0,147,238)",Placeholder:"rgb(141,171,196)",Value:"rgb(63,83,110)",Required:"rgb(255,21,31)",Failed:"rgb(255,21,31)",Selection:{Background:"rgb(0,147,238)",Color:"rgb(255,255,255)"}},Notifications:{Normal:{Background:"rgb(102,102,102)",Face:"rgb(255,255,255)"},Info:{Background:"rgb(0,147,238)",Face:"rgb(255,255,255)"},Accept:{Background:"rgb(78,206,61)",Face:"rgb(255,255,255)"},Warning:{Background:"rgb(253,123,31)",Face:"rgb(255,255,255)"},Cancel:{Background:"rgb(255,21,31)",Face:"rgb(255,255,255)"}},Scrollbars:{Thumb:{Color:"rgba(216,229,238,0.8)",Hover:"rgba(216,229,238,0.8)",Focus:"rgba(216,229,238,1)",Drag:"rgba(216,229,238,1)",Crawl:"rgba(216,229,238,1)"},Track:{Crawl:"rgba(216,229,238,0.2)"},Corner:"rgba(216,229,238,0.6)"}},Collections:{Header:{Title:"rgb(44,64,89)",Menu:"rgb(168,198,223)",Splitter:"rgb(216,229,239)"},Rows:{Background:"rgb(251,252,253)",BackgroundHover:"rgb(236,245,253)",BackgroundSelected:"rgb(0,147,238)",BackgroundGlyph:"rgba(0,147,238,0.8)",Text:"rgb(63,83,110)",TextUnnamed:"rgba(168,198,223,0.5)",TextSelected:"rgb(255,255,255)",TextGlyph:"rgba(255,255,255,0.8)",Menu:"rgb(168,198,223)",Separator:"rgb(229,238,245)"},Footer:{Add:"rgb(0,147,238)"}},Tutorial:{Title:"#3F536E",Help:"#8DABC4",Blocks:{Title:"#3F536E",Subtitle:"#8DABC4",Text:"#3F536E",Separator:"#E5EEF5"}}}},93273:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Fonts=void 0;var n=i(17993);t.Fonts={families:function(e){return[n.Roboto.regular("".concat(e,"roboto/")),n.Roboto.light("".concat(e,"roboto/")),n.Roboto.medium("".concat(e,"roboto/"))]},Menu:{Static:{Face:"Roboto Light",Size:18},item:{Face:"Roboto Regular",Size:15}},Header:{Title:{Face:"Roboto Light",Size:24},Status:{Face:"Roboto Regular",Size:12}},Buttons:{Face:"Roboto Light",Size:15},Map:{Branch:{Face:"Roboto Regular",Size:16},Cluster:{Face:"Roboto Regular",Size:16},Condition:{Face:"Roboto Regular",Size:16},Node:{Label:{Face:"Roboto Regular",Size:16},Type:{Face:"Roboto Regular",Size:14}}},Forms:{Header:{Face:"Roboto Light",Size:18},Features:{Static:{Face:"Roboto Regular",Size:13},Toggle:{Face:"Roboto Regular",Size:14}},Title:{Face:"Roboto Light",Size:18},Label:{Face:"Roboto Regular",Size:13,Lineheight:"20px"},Control:{Face:"Roboto Regular",Size:15,Lineheight:"22px"},Optgroup:{Face:"Roboto Medium"}},Collections:{Title:{Face:"Roboto Light",Size:16},Rows:{Face:"Roboto Regular",Size:14}},Tutorial:{Title:{Face:"Roboto Medium",Size:40},Help:{Face:"Roboto Light",Size:14},Blocks:{Title:{Face:"Roboto Light",Size:18},Subtitle:{Face:"Roboto Light",Size:13},Text:{Face:"Roboto Light",Size:12}}}}},82481:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Assets=void 0;var n=i(70655),o=n.__importDefault(i(68957)),r=n.__importDefault(i(21684)),s=n.__importDefault(i(74359)),a=n.__importDefault(i(75363));!function(e){e.Lock='url("'.concat(o.default,'")'),function(e){e.Passed='url("'.concat(r.default,'")'),e.Failed='url("'.concat(s.default,'")'),e.Awaiting='url("'.concat(a.default,'")')}(e.Validation||(e.Validation={}))}(t.Assets||(t.Assets={}))},91354:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BUTTON=void 0;var n=i(93273),o=i(89843);t.BUTTON={appearance:{height:40,marginBottom:8,padding:"11px 24px",fontFamily:n.Fonts.Forms.Control.Face,fontSize:n.Fonts.Forms.Control.Size,textAlign:"center",verticalAlign:"top",borderRadius:4,border:"none",transition:"background .1s ease-in-out"},fused:{padding:"11px 24px !important",marginBottom:0},disabled:{opacity:.2},focus:{textDecoration:"underline"},normal:{appearance:{backgroundColor:o.Colors.Forms.Buttons.Normal.Background,color:o.Colors.Forms.Buttons.Normal.Face},hover:{backgroundColor:o.Colors.Forms.Buttons.Normal.BackgroundHover},tap:{backgroundColor:o.Colors.Forms.Buttons.Normal.BackgroundTap}},accept:{appearance:{backgroundColor:o.Colors.Forms.Buttons.Accept.Background,color:o.Colors.Forms.Buttons.Accept.Face},hover:{backgroundColor:o.Colors.Forms.Buttons.Accept.BackgroundHover},tap:{backgroundColor:o.Colors.Forms.Buttons.Accept.BackgroundTap}},warning:{appearance:{backgroundColor:o.Colors.Forms.Buttons.Warning.Background,color:o.Colors.Forms.Buttons.Warning.Face},hover:{backgroundColor:o.Colors.Forms.Buttons.Warning.BackgroundHover},tap:{backgroundColor:o.Colors.Forms.Buttons.Warning.BackgroundTap}},cancel:{appearance:{backgroundColor:o.Colors.Forms.Buttons.Cancel.Background,color:o.Colors.Forms.Buttons.Cancel.Face},hover:{backgroundColor:o.Colors.Forms.Buttons.Cancel.BackgroundHover},tap:{backgroundColor:o.Colors.Forms.Buttons.Cancel.BackgroundTap}}}},25136:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BUTTONS=void 0;var n=i(93273),o=i(89843);t.BUTTONS={button:{spacing:8,appearance:{height:40,padding:"0 12px",fontFamily:n.Fonts.Forms.Control.Face,fontSize:n.Fonts.Forms.Control.Size,color:o.Colors.Forms.Controls.Value,borderRadius:4,border:"1px solid ".concat(o.Colors.Forms.Form.Border," !important"),backgroundColor:o.Colors.Forms.Form.Background,transition:"background .1s ease-in-out, border .1s ease-in-out"},hover:{backgroundColor:o.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(o.Colors.Forms.Controls.BorderHover," !important")},tap:{backgroundColor:o.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(o.Colors.Forms.Controls.BorderHover," !important")},disabled:{opacity:.2},image:{marginRight:8,width:20,height:20,backgroundSize:"20px 20px",position:"relative",top:-1},badge:{marginLeft:8,fontSize:9,textTransform:"uppercase",backgroundColor:"#ffd700",color:"#423700",padding:"2px 5px",borderRadius:4}},fused:{padding:0,marginBottom:0,border:"none",backgroundColor:"transparent"},disabled:{opacity:.2},group:{fontFamily:n.Fonts.Forms.Title.Face,fontSize:n.Fonts.Forms.Title.Size,color:o.Colors.Forms.Form.Title,fontWeight:"normal",paddingBottom:8,paddingTop:24}}},90320:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARDS=void 0;var n=i(22270),o=i(65936),r=i(90909),s=i(63614),a=i(89843);t.CARDS={features:s.FEATURES,cards:{spacing:{left:32,right:33,top:38,between:38,bottom:38},animations:{shift:{transition:"transform .15s"},activate:(0,o.zoomIn)(),activateDelay:50,deactivate:(0,o.zoomOut)(),deactivateDelay:100}},scrollbars:(0,r.Scrollbars)(a.Colors.Forms.Scrollbars.Thumb.Color,a.Colors.Forms.Scrollbars.Thumb.Hover,a.Colors.Forms.Scrollbars.Thumb.Focus,a.Colors.Forms.Scrollbars.Thumb.Drag,a.Colors.Forms.Scrollbars.Thumb.Crawl,a.Colors.Forms.Scrollbars.Track.Crawl,a.Colors.Forms.Scrollbars.Corner,new n.Spacing(0,1,2,1)),bounce:"yes"}},53204:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHECKBOX=void 0;var n=i(70655),o=i(93273),r=i(89843),s=n.__importDefault(i(14479)),a=n.__importDefault(i(64721)),l=n.__importDefault(i(96631)),c=n.__importDefault(i(80944));t.CHECKBOX={appearance:{marginBottom:8,minHeight:32},label:{padding:"6px 0 4px 32px",backgroundPosition:"0 6px",backgroundSize:"20px 20px",fontFamily:o.Fonts.Forms.Control.Face,fontSize:o.Fonts.Forms.Control.Size,lineHeight:o.Fonts.Forms.Control.Lineheight,color:r.Colors.Forms.Controls.Value,transition:"background .1s ease-in-out",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},description:{padding:"0 0 6px 32px",fontFamily:o.Fonts.Forms.Label.Face,fontSize:o.Fonts.Forms.Label.Size,lineHeight:o.Fonts.Forms.Label.Lineheight,color:r.Colors.Forms.Controls.Label,a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},unchecked:{backgroundImage:'url("'.concat(s.default,'")')},checked:{backgroundImage:'url("'.concat(l.default,'")')},disabled:{appearance:{opacity:.2},label:{color:"rgb(0,0,0)"},description:{color:"rgb(0,0,0)"}},focus:{label:{textDecoration:"underline"}},hover:{unchecked:{backgroundImage:'url("'.concat(a.default,'")')},checked:{backgroundImage:'url("'.concat(c.default,'")')}},fused:{appearance:{marginBottom:0,minHeight:40,padding:"10px 16px",borderRadius:4,backgroundColor:r.Colors.Forms.Form.Background},focus:{label:{textDecoration:"underline"}},hover:{unchecked:{backgroundImage:'url("'.concat(a.default,'")')},checked:{backgroundImage:'url("'.concat(c.default,'")')}}}}},79447:function(e,t,i){"use strict";var n,o,r;Object.defineProperty(t,"__esModule",{value:!0}),t.COLLECTION=void 0;var s=i(70655),a=s.__importStar(i(75783)),l=i(9072),c=i(89843),u=i(93273),p=i(15188),h=s.__importDefault(i(86244)),d=s.__importDefault(i(74381));t.COLLECTION={appearance:{border:"1px solid ".concat(c.Colors.Forms.Form.Border),borderRadius:4},header:{height:48,style:{orientation:"horizontal",scrollable:!1,appearance:{height:47,borderBottom:"1px solid ".concat(c.Colors.Collections.Header.Splitter)}},title:{width:"fill",appearance:{fontFamily:u.Fonts.Collections.Title.Face,fontSize:u.Fonts.Collections.Title.Size,color:c.Colors.Collections.Header.Title,fontWeight:"normal",textAlign:"left",padding:"14px 16px 0"}},menu:{width:56,height:47,appearance:a.style(59691,{fontSize:20,paddingTop:12,color:c.Colors.Collections.Header.Menu}),hover:a.style(59691,{fontSize:20,paddingTop:12,color:c.Colors.Collections.Header.Title}),menu:p.MENU},import:{width:56,height:47,appearance:a.style(59052,{fontSize:20,paddingTop:12,color:c.Colors.Collections.Header.Menu}),hover:a.style(59052,{fontSize:20,paddingTop:12,color:c.Colors.Collections.Header.Title})},splitter:{width:1,height:46,appearance:{backgroundColor:c.Colors.Collections.Header.Splitter}}},list:{appearance:{overflow:"hidden"},rows:{backgroundColor:c.Colors.Collections.Rows.Background,backgroundImage:'url("'.concat(h.default,'")'),backgroundRepeat:"repeat",borderBottom:"1px solid ".concat(c.Colors.Collections.Header.Splitter)},row:{height:40,spacing:1,spacingAfterLastRow:!0,hover:{backgroundColor:c.Colors.Collections.Rows.BackgroundHover},selected:{backgroundColor:c.Colors.Collections.Rows.BackgroundSelected},glyph:{appearance:{backgroundColor:c.Colors.Collections.Rows.BackgroundGlyph}}},cell:{appearance:(n={fontFamily:u.Fonts.Collections.Rows.Face,fontSize:u.Fonts.Collections.Rows.Size,color:c.Colors.Collections.Rows.Text,padding:"11px 16px 0"},n[l.Stylesheet.selector("unnamed")]={color:c.Colors.Collections.Rows.TextUnnamed},n[l.Stylesheet.selector("variable","span")]={backgroundColor:"rgb(216, 228, 238)",borderRadius:2,position:"relative",top:-1,padding:"3px 5px",fontSize:11,fontFamily:"monospace",fontWeight:"normal",fontStyle:"normal"},n[l.Stylesheet.selector("indicator","span")]={backgroundColor:"rgb(255,255,255)",border:"1px solid rgb(216, 228, 238)",borderRadius:10,position:"relative",top:-1,padding:"2px 5px",marginLeft:8,fontSize:11,fontFamily:"monospace",fontWeight:"normal",fontStyle:"normal"},n[l.Stylesheet.selector("alias","span")]={border:"1px solid rgb(216, 228, 238)",borderRadius:2,borderStyle:"dashed",position:"relative",top:-1,padding:"2px 5px",marginLeft:8,fontSize:11,fontFamily:"monospace",fontWeight:"normal",fontStyle:"normal","&:before":s.__assign(s.__assign({},a.STYLE),{fontSize:12,position:"relative",left:-2,top:2,content:'"\\e755"'})},n[l.Stylesheet.selector("score","span")]={border:"1px solid rgb(216, 228, 238)",borderRadius:10,borderStyle:"dashed",position:"relative",top:-1,padding:"2px 5px",marginLeft:8,fontSize:11,fontFamily:"monospace",fontWeight:"normal",fontStyle:"normal","&:before":s.__assign(s.__assign({},a.STYLE),{fontSize:12,position:"relative",top:2,marginRight:3,content:'"\\e6e1"'})},n.code={backgroundColor:"rgb(216, 228, 238)",borderRadius:2,position:"relative",top:-1,padding:"3px 5px",fontSize:11,fontFamily:"monospace",fontWeight:"normal",fontStyle:"normal"},n),selected:(o={color:c.Colors.Collections.Rows.TextSelected},o[l.Stylesheet.selector("variable","span")]={color:c.Colors.Collections.Rows.BackgroundSelected,backgroundColor:c.Colors.Collections.Rows.TextSelected},o[l.Stylesheet.selector("indicator","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent"},o[l.Stylesheet.selector("alias","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent"},o[l.Stylesheet.selector("score","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent"},o.code={color:c.Colors.Collections.Rows.BackgroundSelected,backgroundColor:c.Colors.Collections.Rows.TextSelected},o),moving:{opacity:.1},glyph:{appearance:(r={color:c.Colors.Collections.Rows.TextGlyph,cursor:"move !important"},r[l.Stylesheet.selector("variable","span")]={color:c.Colors.Collections.Rows.BackgroundSelected,backgroundColor:c.Colors.Collections.Rows.TextSelected,opacity:.8},r[l.Stylesheet.selector("indicator","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent",opacity:.8},r[l.Stylesheet.selector("alias","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent",opacity:.8},r[l.Stylesheet.selector("score","span")]={color:c.Colors.Collections.Rows.TextSelected,borderColor:c.Colors.Collections.Rows.TextSelected,backgroundColor:"transparent",opacity:.8},r.code={color:c.Colors.Collections.Rows.BackgroundSelected,backgroundColor:c.Colors.Collections.Rows.TextSelected,opacity:.8},r)}},icon:{class:"tripetto",default:c.Colors.Collections.Rows.BackgroundSelected,selected:c.Colors.Collections.Rows.TextSelected,glyph:c.Colors.Collections.Rows.TextGlyph},button:{class:"tripetto",default:c.Colors.Collections.Rows.Menu,hover:c.Colors.Collections.Rows.Text,selected:c.Colors.Collections.Rows.TextSelected,glyph:c.Colors.Collections.Rows.TextGlyph},editor:{appearance:{fontFamily:u.Fonts.Collections.Rows.Face,fontSize:u.Fonts.Collections.Rows.Size,color:c.Colors.Collections.Rows.Text,padding:"0 16px 0",height:39,caretColor:c.Colors.Collections.Rows.BackgroundSelected},selection:{color:c.Colors.Collections.Rows.TextSelected,backgroundColor:c.Colors.Collections.Rows.BackgroundSelected},selected:{appearance:{color:c.Colors.Collections.Rows.TextSelected},selection:{backgroundColor:c.Colors.Collections.Rows.TextSelected,color:c.Colors.Collections.Rows.BackgroundSelected}}},emptyState:{height:41,appearance:{backgroundColor:c.Colors.Collections.Rows.Background,borderBottom:"1px solid ".concat(c.Colors.Collections.Header.Splitter),fontFamily:u.Fonts.Collections.Rows.Face,fontSize:u.Fonts.Collections.Rows.Size,color:c.Colors.Collections.Rows.Text,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","> p":{margin:0,padding:0},"> p + p":{marginTop:"8px"}}},menu:p.MENU},footer:{height:39,style:{orientation:"horizontal",scrollable:!1,appearance:{height:38}},add:{width:"fill",height:39,appearance:a.style(59702,{fontSize:16,paddingTop:12,color:c.Colors.Collections.Footer.Add})}},assets:{menu:"".concat(d.default)},unnamedIcon:c.Colors.Collections.Rows.TextUnnamed}},66264:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATETIME=void 0;var n=i(70655),o=i(82481),r=i(93273),s=i(89843),a=i(80299),l=n.__importDefault(i(88880)),c=n.__importDefault(i(71806)),u=n.__importDefault(i(78622));t.DATETIME={height:40,appearance:{marginBottom:8,padding:"6px 12px",fontFamily:r.Fonts.Forms.Control.Face,fontSize:r.Fonts.Forms.Control.Size,lineHeight:r.Fonts.Forms.Control.Lineheight,color:s.Colors.Forms.Controls.Value,backgroundColor:s.Colors.Forms.Controls.Background,backgroundRepeat:"no-repeat",borderRadius:4,border:"1px solid ".concat(s.Colors.Forms.Controls.Border," !important"),transition:"background-color .1s ease-in-out, color .1s ease-in-out, border-right .15s ease-in-out"},spacing:12,placeholder:{appearance:{backgroundImage:'url("'.concat(l.default,'")'),backgroundSize:"20px 20px",backgroundRepeat:"no-repeat",backgroundPosition:"0px 2px",height:24,minWidth:23},text:{padding:2,paddingLeft:30,paddingRight:0,color:s.Colors.Forms.Controls.Placeholder}},date:{backgroundImage:'url("'.concat(c.default,'")'),backgroundSize:"20px 20px",backgroundRepeat:"no-repeat",backgroundPosition:"0px 2px",paddingLeft:22,height:24},time:{appearance:{backgroundImage:'url("'.concat(u.default,'")'),backgroundSize:"20px 20px",backgroundRepeat:"no-repeat",backgroundPosition:"0px 2px",paddingLeft:22,height:24},hourMinuteSeparator:{width:4,paddingLeft:4,"&:after":{content:'":"'}},minuteSecondSeparator:{width:4,paddingLeft:4,"&:after":{content:'":"'}}},plane:{appearance:{backgroundColor:"rgba(168,198,223,0.1)",borderRadius:4,marginLeft:8,padding:"2px 8px 2px 8px"},hover:{backgroundColor:"rgba(168,198,223,0.4)"},selected:{backgroundColor:s.Colors.Forms.Controls.Selection.Background,color:s.Colors.Forms.Controls.Selection.Color},focus:{backgroundColor:s.Colors.Forms.Controls.Selection.Background,color:s.Colors.Forms.Controls.Selection.Color}},label:{fontFamily:r.Fonts.Forms.Label.Face,fontSize:r.Fonts.Forms.Label.Size,lineHeight:r.Fonts.Forms.Label.Lineheight,color:s.Colors.Forms.Controls.Label,padding:"0 0 6px",a:{cursor:"pointer",textDecoration:"none",color:s.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:s.Colors.Forms.Controls.Hyperlink}}},disabled:{opacity:.2},required:{borderRight:"3px solid ".concat(s.Colors.Forms.Controls.Required," !important")},hover:{backgroundColor:s.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderHover," !important")},focus:{backgroundColor:s.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderFocus," !important")},awaiting:{backgroundImage:o.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42},failed:{backgroundImage:o.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",border:"1px solid ".concat(s.Colors.Forms.Controls.Failed," !important"),paddingRight:42},passed:{backgroundImage:o.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},locked:{backgroundImage:o.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42},fused:{appearance:{minHeight:38,border:"none !important",backgroundColor:"transparent !important",marginBottom:0,padding:"9px 12px"},required:{borderRight:"3px solid ".concat(s.Colors.Forms.Controls.Required," !important")},locked:{"> label > *":{backgroundImage:o.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42}},focus:{backgroundColor:s.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:s.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderHover," !important")},passed:{"> label > *":{backgroundImage:o.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42}},failed:{"> label > *":{backgroundImage:o.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},border:"1px solid ".concat(s.Colors.Forms.Controls.Failed," !important")},awaiting:{"> label > *":{backgroundImage:o.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42}}},labels:{enable:(0,a.pgettext)("builder","Set date"),disable:(0,a.pgettext)("builder","Remove date"),reset:(0,a.pgettext)("builder","Set to now")}}},91563:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DROPDOWN=void 0;var n=i(70655),o=i(82481),r=i(93273),s=i(89843),a=n.__importDefault(i(86790));t.DROPDOWN={appearance:{height:40,marginBottom:8,padding:"0 42px 0 16px",fontFamily:r.Fonts.Forms.Control.Face,fontSize:r.Fonts.Forms.Control.Size,color:s.Colors.Forms.Controls.Value,borderRadius:4,border:"1px solid ".concat(s.Colors.Forms.Controls.Border," !important"),background:"".concat(s.Colors.Forms.Controls.Background,' url("').concat(a.default,'") no-repeat right 10px top 11px'),backgroundSize:"16px 16px",transition:"background-color .1s ease-in-out, color .1s ease-in-out, border-right .15s ease-in-out"},options:{color:s.Colors.Forms.Controls.Value},optGroups:{fontFamily:r.Fonts.Forms.Optgroup.Face,color:s.Colors.Forms.Controls.Value},placeholder:{color:s.Colors.Forms.Controls.Placeholder},label:{fontFamily:r.Fonts.Forms.Label.Face,fontSize:r.Fonts.Forms.Label.Size,lineHeight:r.Fonts.Forms.Label.Lineheight,color:s.Colors.Forms.Controls.Label,padding:"0 0 6px",a:{cursor:"pointer",textDecoration:"none",color:s.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:s.Colors.Forms.Controls.Hyperlink}}},disabled:{opacity:.2},required:{borderRight:"3px solid ".concat(s.Colors.Forms.Controls.Required," !important")},locked:{backgroundImage:o.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px"},focus:{backgroundColor:s.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:s.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderHover," !important")},passed:{backgroundImage:o.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px"},failed:{backgroundImage:o.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",border:"1px solid ".concat(s.Colors.Forms.Controls.Failed," !important")},awaiting:{backgroundImage:o.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px"},fused:{appearance:{height:38,border:"none !important",backgroundColor:"transparent !important",marginBottom:0},required:{borderRight:"3px solid ".concat(s.Colors.Forms.Controls.Required," !important")},locked:{select:{backgroundImage:o.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px"}},focus:{backgroundColor:s.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:s.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(s.Colors.Forms.Controls.BorderHover," !important")},passed:{select:{backgroundImage:o.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px"}},failed:{select:{backgroundImage:o.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px"},border:"1px solid ".concat(s.Colors.Forms.Controls.Failed," !important")},awaiting:{select:{backgroundImage:o.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px"}}}}},63614:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FEATURES=void 0;var n=i(70655),o=i(22270),r=i(90909),s=i(89155),a=i(93273),l=i(89843),c=n.__importDefault(i(85027)),u=n.__importDefault(i(26753)),p=n.__importDefault(i(43997));t.FEATURES={width:200,spacing:{top:s.HEADER.height,left:16,right:17,bottom:16},static:{padding:"40px 16px 13px",fontFamily:a.Fonts.Forms.Features.Static.Face,fontSize:a.Fonts.Forms.Features.Static.Size,color:l.Colors.Forms.Features.Static},toggle:{appearance:{height:40,width:"auto",maxWidth:"100%",padding:"0 16px 0",margin:"4px 0 0",fontFamily:a.Fonts.Forms.Features.Toggle.Face,fontSize:a.Fonts.Forms.Features.Toggle.Face,color:l.Colors.Forms.Features.Toggle,borderRadius:4},locked:{color:l.Colors.Forms.Features.Option.Face,background:"".concat(l.Colors.Forms.Features.Option.Background,' url("').concat(c.default,'") no-repeat right 8px center'),backgroundSize:"16px 16px",paddingRight:40},activated:{appearance:{color:l.Colors.Forms.Features.Option.Face,backgroundColor:l.Colors.Forms.Features.Option.Background}},option:{button:{width:40,hover:{backgroundImage:'url("'.concat(p.default,'")')}},appearance:{color:l.Colors.Forms.Features.Option.Face,background:"".concat(l.Colors.Forms.Features.Option.Background,' url("').concat(u.default,'") no-repeat right 8px center'),backgroundSize:"16px 16px",paddingRight:40,transition:"padding .2s ease-out"}},hover:{color:l.Colors.Forms.Features.Option.Face,backgroundColor:l.Colors.Forms.Features.Option.Background,transition:"padding .2s ease-out"},focus:{textDecoration:"underline"}},disabled:{opacity:.2},scrollbars:(0,r.Scrollbars)(l.Colors.Forms.Scrollbars.Thumb.Color,l.Colors.Forms.Scrollbars.Thumb.Hover,l.Colors.Forms.Scrollbars.Thumb.Focus,l.Colors.Forms.Scrollbars.Thumb.Drag,l.Colors.Forms.Scrollbars.Thumb.Crawl,l.Colors.Forms.Scrollbars.Track.Crawl,l.Colors.Forms.Scrollbars.Corner,new o.Spacing(0,s.HEADER.height+1,2,1)),bounce:"yes"}},12726:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FORM=void 0;var n=i(93273),o=i(89843),r=i(91354),s=i(25136),a=i(53204),l=i(66264),c=i(91563),u=i(59226),p=i(96572),h=i(90098),d=i(80206),m=i(893),f=i(61239);t.FORM={title:{fontFamily:n.Fonts.Forms.Title.Face,fontSize:n.Fonts.Forms.Title.Size,color:o.Colors.Forms.Form.Title,fontWeight:"normal",paddingBottom:8,a:{cursor:"pointer",textDecoration:"none",color:o.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:o.Colors.Forms.Controls.Hyperlink}}},appearance:{backgroundColor:o.Colors.Forms.Form.Background,border:"1px solid ".concat(o.Colors.Forms.Form.Border),borderRadius:4,padding:"16px 16px 8px"},disabled:{opacity:.25},fused:{title:{fontFamily:n.Fonts.Forms.Title.Face,fontSize:n.Fonts.Forms.Title.Size,color:o.Colors.Forms.Form.Title,fontWeight:"normal",paddingBottom:8},appearance:{backgroundColor:o.Colors.Forms.Controls.Background,padding:0}},controls:{button:r.BUTTON,buttons:s.BUTTONS,checkbox:a.CHECKBOX,datetime:l.DATETIME,dropdown:c.DROPDOWN,notification:u.NOTIFICATION,numeric:p.NUMERIC,radiobutton:h.RADIOBUTTON,spacer:d.SPACER,static:m.STATIC,text:f.TEXT}}},89155:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER=void 0;var n=i(70655),o=i(22270),r=i(65936),s=i(89843),a=i(93273),l=i(15188),c=n.__importDefault(i(22119));t.HEADER={height:64,style:{orientation:"horizontal",spacing:new o.Spacing(8,12,15,12),appearance:{backgroundColor:s.Colors.Forms.Header.Background,borderBottom:"1px solid ".concat(s.Colors.Forms.Layer.Border),backdropFilter:"blur(3px)"}},title:{color:s.Colors.Forms.Header.Title,withIcon:{width:"fill",appearance:{backgroundPosition:"0 center",backgroundSize:"24px 24px",fontFamily:a.Fonts.Forms.Header.Face,fontSize:a.Fonts.Forms.Header.Size,color:s.Colors.Forms.Header.Title,textAlign:"left",marginLeft:16,marginRight:8,paddingTop:9,paddingLeft:40}},withoutIcon:{width:"fill",appearance:{fontFamily:a.Fonts.Forms.Header.Face,fontSize:a.Fonts.Forms.Header.Size,color:s.Colors.Forms.Header.Title,textAlign:"left",marginLeft:24,marginRight:8,paddingTop:9}}},buttons:{type:{height:40,appearance:{fontFamily:a.Fonts.Buttons.Face,fontSize:a.Fonts.Buttons.Size,color:s.Colors.Forms.Buttons.Dropdown.Face,textAlign:"left",backgroundImage:'url("'.concat(c.default,'")'),backgroundSize:"16px 16px",backgroundPosition:"right 16px center",backgroundColor:s.Colors.Forms.Buttons.Dropdown.Background,border:"1px solid ".concat(s.Colors.Forms.Buttons.Dropdown.Border),borderRadius:4,marginLeft:4,padding:"10px 40px 0px 20px",transition:"background .1s ease-in-out, opacity .1s ease-in-out"},hover:{backgroundColor:s.Colors.Forms.Buttons.Dropdown.BackgroundHover},tap:{backgroundColor:s.Colors.Forms.Buttons.Dropdown.BackgroundTap},opened:{backgroundColor:s.Colors.Forms.Buttons.Dropdown.BackgroundTap},menu:l.MENU},close:{height:40,appearance:{backgroundColor:s.Colors.Forms.Buttons.Accept.Background,fontFamily:a.Fonts.Buttons.Face,fontSize:a.Fonts.Buttons.Size,color:s.Colors.Forms.Buttons.Accept.Face,borderRadius:4,padding:"11px 24px 10px 24px",margin:"0 8px",transition:"background .1s ease-in-out, opacity .1s ease-in-out"},disabled:{opacity:.3},hover:{backgroundColor:s.Colors.Forms.Buttons.Accept.BackgroundHover},tap:{backgroundColor:s.Colors.Forms.Buttons.Accept.BackgroundTap},animations:{enable:(0,r.pulse)()}}}}},3062:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FORMS=void 0;var n=i(89155),o=i(90320),r=i(12726),s=i(79447),a=i(63614),l=i(89843);t.FORMS={background:l.Colors.Forms.Layer.Background,border:l.Colors.Forms.Layer.Border,header:n.HEADER,cards:o.CARDS,form:r.FORM,collection:s.COLLECTION,width:{normal:a.FEATURES.width+520,small:520,compact:240}}},59226:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOTIFICATION=void 0;var n=i(70655),o=i(93273),r=i(89843),s=n.__importDefault(i(15005)),a=n.__importDefault(i(14187)),l=n.__importDefault(i(98298)),c=n.__importDefault(i(25539)),u=n.__importDefault(i(32766));t.NOTIFICATION={appearance:{minHeight:40,marginBottom:8,padding:"9px 16px 9px 37px",fontFamily:o.Fonts.Forms.Control.Face,fontSize:o.Fonts.Forms.Control.Size,lineHeight:o.Fonts.Forms.Control.Lineheight,borderRadius:4,border:"none",backgroundSize:"19px 19px",backgroundPosition:"10px 10px",backgroundRepeat:"no-repeat",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},fused:{padding:"9px 16px 9px 37px !important",marginBottom:0},normal:{backgroundImage:'url("'.concat(s.default,'")'),backgroundColor:r.Colors.Forms.Notifications.Normal.Background,color:r.Colors.Forms.Notifications.Normal.Face},info:{backgroundImage:'url("'.concat(a.default,'")'),backgroundColor:r.Colors.Forms.Notifications.Info.Background,color:r.Colors.Forms.Notifications.Info.Face},success:{backgroundImage:'url("'.concat(l.default,'")'),backgroundColor:r.Colors.Forms.Notifications.Accept.Background,color:r.Colors.Forms.Notifications.Accept.Face},warning:{backgroundImage:'url("'.concat(c.default,'")'),backgroundColor:r.Colors.Forms.Notifications.Warning.Background,color:r.Colors.Forms.Notifications.Warning.Face},error:{backgroundImage:'url("'.concat(u.default,'")'),backgroundColor:r.Colors.Forms.Notifications.Cancel.Background,color:r.Colors.Forms.Notifications.Cancel.Face}}},96572:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NUMERIC=void 0;var n=i(82481),o=i(93273),r=i(89843);t.NUMERIC={appearance:{minHeight:40,marginBottom:8,padding:"8px 16px",fontFamily:o.Fonts.Forms.Control.Face,fontSize:o.Fonts.Forms.Control.Size,lineHeight:o.Fonts.Forms.Control.Lineheight,color:r.Colors.Forms.Controls.Value,backgroundColor:r.Colors.Forms.Controls.Background,backgroundRepeat:"no-repeat",borderRadius:4,border:"1px solid ".concat(r.Colors.Forms.Controls.Border," !important"),transition:"background-color .1s ease-in-out, color .1s ease-in-out, border-right .15s ease-in-out",caretColor:r.Colors.Forms.Controls.Selection.Background},placeholder:{color:r.Colors.Forms.Controls.Placeholder},label:{fontFamily:o.Fonts.Forms.Label.Face,fontSize:o.Fonts.Forms.Label.Size,lineHeight:o.Fonts.Forms.Label.Lineheight,color:r.Colors.Forms.Controls.Label,padding:"0 0 6px",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},disabled:{opacity:.2},selection:{color:r.Colors.Forms.Controls.Selection.Color,backgroundColor:r.Colors.Forms.Controls.Selection.Background},required:{borderRight:"3px solid ".concat(r.Colors.Forms.Controls.Required," !important")},locked:{backgroundImage:n.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42},focus:{backgroundColor:r.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:r.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderHover," !important")},passed:{backgroundImage:n.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},failed:{backgroundImage:n.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",border:"1px solid ".concat(r.Colors.Forms.Controls.Failed," !important"),paddingRight:42},awaiting:{backgroundImage:n.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42},fused:{appearance:{minHeight:38,border:"none !important",backgroundColor:"transparent !important",marginBottom:0},required:{borderRight:"3px solid ".concat(r.Colors.Forms.Controls.Required," !important")},locked:{"> label > *":{backgroundImage:n.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42}},focus:{backgroundColor:r.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:r.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderHover," !important")},passed:{"> label > *":{backgroundImage:n.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42}},failed:{"> label > *":{backgroundImage:n.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},border:"1px solid ".concat(r.Colors.Forms.Controls.Failed," !important")},awaiting:{"> label > *":{backgroundImage:n.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42}}}}},90098:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RADIOBUTTON=void 0;var n=i(70655),o=i(93273),r=i(89843),s=n.__importDefault(i(79716)),a=n.__importDefault(i(64918)),l=n.__importDefault(i(80196)),c=n.__importDefault(i(3626));t.RADIOBUTTON={appearance:{marginBottom:8},label:{fontFamily:o.Fonts.Forms.Label.Face,fontSize:o.Fonts.Forms.Label.Size,lineHeight:o.Fonts.Forms.Label.Lineheight,color:r.Colors.Forms.Controls.Label,padding:"0 0 6px",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},radiobutton:{label:{padding:"6px 0 4px 32px",backgroundPosition:"0 6px",backgroundSize:"20px 20px",fontFamily:o.Fonts.Forms.Control.Face,fontSize:o.Fonts.Forms.Control.Size,lineHeight:o.Fonts.Forms.Control.Lineheight,color:r.Colors.Forms.Controls.Value,transition:"background .1s ease-in-out",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},description:{padding:"0px 0 6px 32px",fontFamily:o.Fonts.Forms.Label.Face,fontSize:o.Fonts.Forms.Label.Size,lineHeight:o.Fonts.Forms.Label.Lineheight,color:r.Colors.Forms.Controls.Label,a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},unchecked:{backgroundImage:'url("'.concat(s.default,'")')},checked:{backgroundImage:'url("'.concat(l.default,'")')},hover:{unchecked:{backgroundImage:'url("'.concat(a.default,'")')},checked:{backgroundImage:'url("'.concat(c.default,'")')}},focus:{label:{textDecoration:"underline"}},disabled:{label:{opacity:.2}}},disabled:{opacity:.2},fused:{appearance:{marginBottom:0,padding:"10px 16px",borderRadius:4,backgroundColor:r.Colors.Forms.Form.Background}}}},80206:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SPACER=void 0,t.SPACER={large:32,small:8}},893:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATIC=void 0;var n=i(93273),o=i(89843);t.STATIC={appearance:{padding:"0 0 8px",fontFamily:n.Fonts.Forms.Label.Face,fontSize:n.Fonts.Forms.Label.Size,lineHeight:n.Fonts.Forms.Label.Lineheight,color:o.Colors.Forms.Controls.Label,a:{cursor:"pointer",textDecoration:"none",color:o.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:o.Colors.Forms.Controls.Hyperlink}}},fused:{minHeight:40,padding:"16px",borderRadius:4,backgroundColor:o.Colors.Forms.Form.Background},disabled:{opacity:.2}}},61239:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT=void 0;var n=i(82481),o=i(93273),r=i(89843);t.TEXT={appearance:{minHeight:40,marginBottom:8,padding:"8px 16px",fontFamily:o.Fonts.Forms.Control.Face,fontSize:o.Fonts.Forms.Control.Size,lineHeight:o.Fonts.Forms.Control.Lineheight,color:r.Colors.Forms.Controls.Value,backgroundColor:r.Colors.Forms.Controls.Background,backgroundRepeat:"no-repeat",borderRadius:4,border:"1px solid ".concat(r.Colors.Forms.Controls.Border," !important"),transition:"background-color .1s ease-in-out, color .1s ease-in-out, border-right .15s ease-in-out",caretColor:r.Colors.Forms.Controls.Selection.Background},placeholder:{color:r.Colors.Forms.Controls.Placeholder},label:{fontFamily:o.Fonts.Forms.Label.Face,fontSize:o.Fonts.Forms.Label.Size,lineHeight:o.Fonts.Forms.Label.Lineheight,color:r.Colors.Forms.Controls.Label,padding:"0 0 6px",a:{cursor:"pointer",textDecoration:"none",color:r.Colors.Forms.Controls.Hyperlink,"&:hover":{textDecoration:"underline",color:r.Colors.Forms.Controls.Hyperlink}}},disabled:{opacity:.2},selection:{color:r.Colors.Forms.Controls.Selection.Color,backgroundColor:r.Colors.Forms.Controls.Selection.Background},required:{borderRight:"3px solid ".concat(r.Colors.Forms.Controls.Required," !important")},locked:{backgroundImage:n.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42},focus:{backgroundColor:r.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:r.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderHover," !important")},passed:{backgroundImage:n.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},failed:{backgroundImage:n.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",border:"1px solid ".concat(r.Colors.Forms.Controls.Failed," !important"),paddingRight:42},awaiting:{backgroundImage:n.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42},fused:{appearance:{minHeight:38,border:"none !important",backgroundColor:"transparent !important",marginBottom:0},required:{borderRight:"3px solid ".concat(r.Colors.Forms.Controls.Required," !important")},locked:{"> label > *":{backgroundImage:n.Assets.Lock,backgroundPosition:"right 7px top 8px",backgroundSize:"20px 20px",paddingRight:42}},focus:{backgroundColor:r.Colors.Forms.Controls.BackgroundFocus,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderFocus," !important")},hover:{backgroundColor:r.Colors.Forms.Controls.BackgroundHover,border:"1px solid ".concat(r.Colors.Forms.Controls.BorderHover," !important")},passed:{"> label > *":{backgroundImage:n.Assets.Validation.Passed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42}},failed:{"> label > *":{backgroundImage:n.Assets.Validation.Failed,backgroundPosition:"right 9px top 9px",backgroundSize:"19px 19px",paddingRight:42},border:"1px solid ".concat(r.Colors.Forms.Controls.Failed," !important")},awaiting:{"> label > *":{backgroundImage:n.Assets.Validation.Awaiting,backgroundPosition:"right 6px top 9px",backgroundSize:"19px 19px",paddingRight:42}}}}},20384:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT=void 0;var n=i(89843),o=i(93273),r=i(15188),s=i(86391),a=i(3062),l=i(49802),c=i(27754),u=i(35342);t.DEFAULT={background:n.Colors.Background,loader:{color:n.Colors.Loader,size:15},fonts:o.Fonts.families,menu:r.MENU,zoombar:s.ZOOMBAR,forms:a.FORMS,navigator:l.NAVIGATOR,map:c.MAP,tutorial:u.TUTORIAL}},88726:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0;var n=i(70655),o=n.__importDefault(i(35992)),r=n.__importDefault(i(74327)),s=n.__importDefault(i(91297)),a=n.__importDefault(i(60837)),l=n.__importDefault(i(74777));t.BLOCKS={undefined:o.default,error:r.default,static:s.default,note:a.default,branch:l.default}},36025:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BRANCH=void 0;var n=i(70655),o=i(89843),r=i(93273),s=i(8414),a=i(45740),l=i(15220),c=n.__importDefault(i(20274)),u=n.__importDefault(i(80939)),p=n.__importDefault(i(25371)),h=n.__importDefault(i(81896)),d=n.__importDefault(i(71615)),m=n.__importDefault(i(15391)),f=n.__importDefault(i(54053)),g=n.__importDefault(i(94609)),y=n.__importDefault(i(38096)),b=n.__importDefault(i(71526)),v=n.__importDefault(i(18239)),M=n.__importDefault(i(65467)),_=n.__importDefault(i(84009)),S=n.__importDefault(i(90671)),I=n.__importDefault(i(6143)),T=n.__importDefault(i(83525)),N=n.__importDefault(i(72889)),j=n.__importDefault(i(49666)),w=n.__importDefault(i(91837)),L=n.__importDefault(i(52841)),C=n.__importDefault(i(59833)),O=n.__importDefault(i(42135)),D=n.__importDefault(i(48857)),x=n.__importDefault(i(20145)),A=n.__importDefault(i(64236)),k=n.__importDefault(i(91616)),z=n.__importDefault(i(42781)),P=n.__importDefault(i(26239)),E=n.__importDefault(i(39504)),H=n.__importDefault(i(72437)),F=n.__importDefault(i(24508)),R=n.__importDefault(i(66283)),B=n.__importDefault(i(26718)),Y=n.__importDefault(i(8850)),Z=n.__importDefault(i(86785)),U=n.__importDefault(i(86390)),W=n.__importDefault(i(4250)),G=n.__importDefault(i(79471)),V=n.__importDefault(i(79088)),Q=n.__importDefault(i(91480)),X=n.__importDefault(i(24890)),J=n.__importDefault(i(59951)),q=n.__importDefault(i(93529)),K=n.__importDefault(i(96102)),$=n.__importDefault(i(67788)),ee=n.__importDefault(i(38103)),te=n.__importDefault(i(9089)),ie=n.__importDefault(i(46119)),ne=l.CONDITION.width+4;t.BRANCH={width:ne,left:(a.CLUSTER.width-ne)/2+11,top:116,culling:{width:64,height:64,first:{image:c.default,icon:u.default,hover:p.default,tap:h.default,selected:d.default,guide:m.default},each:{image:f.default,icon:g.default,hover:y.default,tap:b.default,selected:v.default,guide:M.default},all:{image:_.default,icon:S.default,hover:I.default,tap:T.default,selected:N.default,guide:j.default},none:{image:w.default,icon:L.default,hover:C.default,tap:O.default,selected:D.default,guide:x.default}},terminators:{width:48,height:48,continuous:{image:A.default,hover:k.default,tap:z.default,selected:P.default,guide:E.default},jump:{image:H.default,hover:F.default,tap:R.default,selected:B.default,guide:Y.default},abort:{image:Z.default,hover:U.default,tap:W.default,selected:G.default,guide:V.default},epilogue:{image:Q.default,hover:X.default,tap:J.default,selected:q.default,guide:K.default}},junction:{width:64,height:64,size:42,image:$.default,hover:ee.default,tap:te.default,guide:ie.default},appearance:{backgroundColor:o.Colors.Map.Branch.Background,border:"1px solid ".concat(o.Colors.Map.Branch.Border),borderRadius:4},header:{height:72,appearance:{position:"absolute",left:0,right:0,top:0,height:71,borderBottom:"1px solid ".concat(o.Colors.Map.Branch.Header.Splitter)},label:{appearance:{position:"absolute",left:24,top:25,right:72,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontFamily:r.Fonts.Map.Branch.Face,fontSize:r.Fonts.Map.Branch.Size,color:o.Colors.Map.Branch.Header.Label,transition:"color 0.2s ease"},named:{color:o.Colors.Map.Branch.Header.LabelNamed}},button:{appearance:{position:"absolute",right:11,top:11,width:48,height:48,borderRadius:24,padding:16,fontSize:16,backgroundColor:o.Colors.Map.Branch.Header.Button.Background,color:o.Colors.Map.Branch.Header.Button.Color,transition:"background-color .2s, color .2s"},hover:{backgroundColor:o.Colors.Map.Branch.Header.Button.BackgroundHover,color:o.Colors.Map.Branch.Header.Button.ColorHover},tap:{backgroundColor:o.Colors.Map.Branch.Header.Button.BackgroundTap,color:o.Colors.Map.Branch.Header.Button.ColorTap},selected:{backgroundColor:o.Colors.Map.Branch.Header.Button.BackgroundSelected,color:o.Colors.Map.Branch.Header.Button.ColorSelected}}},footer:{height:48,appearance:{position:"absolute",left:0,right:0,bottom:0,height:48,borderTop:"1px solid ".concat(o.Colors.Map.Branch.Footer.Splitter),color:o.Colors.Map.Branch.Footer.Color,fontSize:20,textAlign:"center",padding:13},hover:{},tap:{},selected:{}},moving:{"> div":{opacity:.8},"> div:nth-child(3)":{opacity:0},"> div:nth-child(5)":{opacity:1,backgroundColor:o.Colors.Map.Branch.Moving,boxShadow:"0 0 10px 3px ".concat(o.Colors.Map.Branch.MovingShadow)}},following:{"> div":{opacity:.8},"> div:nth-child(5)":{opacity:1,backgroundColor:o.Colors.Map.Branch.Following}},ensuing:{transition:"transform ".concat(s.DURATION," ").concat(s.EASING,", height ").concat(s.DURATION," ").concat(s.EASING,", width ").concat(s.DURATION," ").concat(s.EASING),"> div:nth-child(4)":{transition:"height .2s"},"> div:nth-child(5)":{transition:"height ".concat(s.DURATION," ").concat(s.EASING)}},guides:{appearance:{backgroundColor:o.Colors.Map.Branch.Guides.Background,border:"2px dotted ".concat(o.Colors.Map.Branch.Guides.Border),borderRadius:4},visible:{opacity:1,transition:"transform ".concat(s.DURATION," ").concat(s.EASING)},invisible:{opacity:0}}}},45740:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLUSTER=void 0;var n=i(70655),o=i(89843),r=i(93273),s=i(8414),a=i(13382),l=n.__importDefault(i(35234)),c=n.__importDefault(i(48600)),u=n.__importDefault(i(14700)),p=n.__importDefault(i(26048)),h=n.__importDefault(i(32251)),d=n.__importDefault(i(46488)),m=n.__importDefault(i(98947)),f=a.NODE.width+4;t.CLUSTER={width:f,borderSize:1,junction:{width:64,height:64,size:32,left:(f-64)/2-1,top:-65,image:m.default,hover:h.default,tap:d.default,guide:p.default},appearance:{backgroundColor:o.Colors.Map.Cluster.Background,border:"1px solid ".concat(o.Colors.Map.Cluster.Border),borderRadius:4},header:{height:72,appearance:{position:"absolute",left:0,right:0,top:0,height:71,borderBottom:"1px solid ".concat(o.Colors.Map.Cluster.Header.Splitter)},label:{appearance:{position:"absolute",left:24,top:25,right:72,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontFamily:r.Fonts.Map.Cluster.Face,fontSize:r.Fonts.Map.Cluster.Size,color:o.Colors.Map.Cluster.Header.Label,transition:"color 0.2s ease"},named:{color:o.Colors.Map.Cluster.Header.LabelNamed}},button:{appearance:{position:"absolute",right:11,top:11,width:48,height:48,borderRadius:24,padding:16,fontSize:16,backgroundColor:o.Colors.Map.Cluster.Header.Button.Background,color:o.Colors.Map.Cluster.Header.Button.Color,transition:"background-color .2s, color .2s"},hover:{backgroundColor:o.Colors.Map.Cluster.Header.Button.BackgroundHover,color:o.Colors.Map.Cluster.Header.Button.ColorHover},tap:{backgroundColor:o.Colors.Map.Cluster.Header.Button.BackgroundTap,color:o.Colors.Map.Cluster.Header.Button.ColorTap},selected:{backgroundColor:o.Colors.Map.Cluster.Header.Button.BackgroundSelected,color:o.Colors.Map.Cluster.Header.Button.ColorSelected}}},footer:{height:48,appearance:{position:"absolute",left:0,right:0,bottom:0,height:48,borderTop:"1px solid ".concat(o.Colors.Map.Cluster.Footer.Splitter),color:o.Colors.Map.Cluster.Footer.Color,fontSize:20,textAlign:"center",padding:13},hover:{},tap:{}},moving:{backgroundColor:o.Colors.Map.Cluster.Moving,boxShadow:"0 0 10px 3px ".concat(o.Colors.Map.Cluster.MovingShadow),"> div:first-child":{opacity:0},"> div:last-child":{opacity:0}},following:{backgroundColor:o.Colors.Map.Cluster.Following,"> div:first-child":{opacity:.8},"> div:last-child":{opacity:.8}},ensuing:{transition:"transform ".concat(s.DURATION," ").concat(s.EASING,", height ").concat(s.DURATION," ").concat(s.EASING),"> div:first-child":{transition:"height .2s"}},branch:{enabled:!0,width:64,height:64,size:42,image:u.default,hover:l.default,tap:c.default},guides:{appearance:{backgroundColor:o.Colors.Map.Cluster.Guides.Background,border:"2px dotted ".concat(o.Colors.Map.Cluster.Guides.Border),borderRadius:4},visible:{opacity:1,transition:"transform ".concat(s.DURATION," ").concat(s.EASING)},invisible:{"> div":{"@keyframes":{"0%":{transform:"scale(1,1)"},"100%":{transform:"scale(1,0)"}},animationDuration:s.DURATION,animationTimingFunction:s.EASING,transformOrigin:"0 0 0"},opacity:0,transition:"opacity ".concat(s.DURATION," ").concat(s.EASING)}}}},15220:function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CONDITION=void 0;var o=i(9072),r=i(89843),s=i(93273),a=i(8414);t.CONDITION={width:318,height:48,appearance:{backgroundColor:r.Colors.Map.Condition.Background},moving:{backgroundColor:r.Colors.Map.Condition.Moving,boxShadow:"0 0 10px 3px ".concat(r.Colors.Map.Condition.MovingShadow)},following:{backgroundColor:r.Colors.Map.Condition.Following},ensuing:{transition:"transform ".concat(a.DURATION," ").concat(a.EASING)},disabled:{"> div":{opacity:.2}},icon:{color:r.Colors.Map.Condition.Icon,appearance:{position:"absolute",left:0,top:8,bottom:8,width:48,borderRight:"1px solid ".concat(r.Colors.Map.Condition.Splitter),backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"24px 24px"}},text:{appearance:{position:"absolute",left:60,right:72,top:15,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontFamily:s.Fonts.Map.Condition.Face,fontSize:s.Fonts.Map.Condition.Size,color:r.Colors.Map.Condition.LabelUnnamed,transition:"color 0.2s ease"},named:{color:r.Colors.Map.Condition.Label},label:{color:"rgb(255,255,255)",marginLeft:10,backgroundColor:r.Colors.Map.Condition.Label,borderRadius:5,position:"relative",top:-2,padding:"2px 5px",fontSize:10},variable:(n={backgroundColor:"rgb(216, 228, 238)",borderRadius:5,position:"relative",top:-2,padding:"2px 5px",fontSize:10,fontWeight:"normal"},n[o.Stylesheet.selector("variable","span")]={backgroundColor:"rgba(255,255,255,.4)",top:0,padding:"0 2px"},n)},button:{appearance:{position:"absolute",right:14,top:3,width:42,height:42,borderRadius:21,padding:13,fontSize:16,backgroundColor:r.Colors.Map.Node.Button.Background,color:r.Colors.Map.Node.Button.Color,transition:"background-color .2s, color .2s"},hover:{backgroundColor:r.Colors.Map.Node.Button.BackgroundHover,color:r.Colors.Map.Node.Button.ColorHover},tap:{backgroundColor:r.Colors.Map.Node.Button.BackgroundTap,color:r.Colors.Map.Node.Button.ColorTap},selected:{backgroundColor:r.Colors.Map.Node.Button.BackgroundSelected,color:r.Colors.Map.Node.Button.ColorSelected}},separator:{between:r.Colors.Map.Condition.SeparatorBetween,last:r.Colors.Map.Condition.SeparatorLast},guides:{appearance:{left:2,right:2,top:2,bottom:2,border:"2px dotted ".concat(r.Colors.Map.Condition.Guides.Border),backgroundColor:r.Colors.Map.Condition.Guides.Background},visible:{opacity:1,transition:"transform ".concat(a.DURATION," ").concat(a.EASING)},invisible:{"> div":{"@keyframes":{"0%":{transform:"scale(1,1)"},"100%":{transform:"scale(1,0)"}},animationDuration:a.DURATION,animationTimingFunction:a.EASING,transformOrigin:"0 0 0"},opacity:0,transition:"opacity ".concat(a.DURATION," ").concat(a.EASING)}}}},8414:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DURATION=t.EASING=void 0,t.EASING="cubic-bezier(0.0, 0.0, 0.2, 1)",t.DURATION=".2s"},27754:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAP=void 0;var n=i(70655),o=i(22270),r=i(89843),s=i(90909),a=i(88726),l=i(36025),c=i(45740),u=i(15220),p=i(8414),h=i(13382),d=n.__importDefault(i(51731)),m=n.__importDefault(i(28479)),f=n.__importDefault(i(67787)),g=n.__importDefault(i(23444)),y=n.__importDefault(i(81333)),b=n.__importDefault(i(13776)),v=n.__importDefault(i(49055)),M=n.__importDefault(i(89849));t.MAP={rulers:!1,spacing:new o.Spacing(32,32,32,32),scrollbars:(0,s.Scrollbars)(r.Colors.Map.Scrollbars.Thumb.Color,r.Colors.Map.Scrollbars.Thumb.Hover,r.Colors.Map.Scrollbars.Thumb.Focus,r.Colors.Map.Scrollbars.Thumb.Drag,r.Colors.Map.Scrollbars.Thumb.Crawl,r.Colors.Map.Scrollbars.Track.Crawl,r.Colors.Map.Scrollbars.Corner,new o.Spacing(-32,-32,-32,-32)),animateDuration:300,clusters:c.CLUSTER,nodes:h.NODE,branches:l.BRANCH,conditions:u.CONDITION,connectors:{thickness:2,spacing:2,radius:32,padding:0,branch:r.Colors.Map.Connectors.Branch,cluster:r.Colors.Map.Connectors.Cluster,guides:r.Colors.Map.Connectors.Guides},start:{width:48,height:48,image:d.default,prologue:m.default,hover:f.default,tap:g.default},end:{width:48,height:48,image:y.default,epilogue:b.default,hover:v.default,tap:M.default},blocks:a.BLOCKS,ensuing:{transition:"height ".concat(p.DURATION," ").concat(p.EASING)}}},13382:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NODE=void 0;var n=i(89843),o=i(93273),r=i(8414);t.NODE={width:398,height:96,appearance:{backgroundColor:n.Colors.Map.Node.Background},disabled:{"> div":{opacity:.2}},moving:{backgroundColor:n.Colors.Map.Node.Moving,boxShadow:"0 0 10px 3px ".concat(n.Colors.Map.Node.MovingShadow)},following:{backgroundColor:n.Colors.Map.Node.Following},ensuing:{transition:"transform ".concat(r.DURATION," ").concat(r.EASING)},label:{appearance:{position:"absolute",left:116,right:70,top:37,height:39,overflow:"hidden",fontFamily:o.Fonts.Map.Node.Label.Face,fontSize:o.Fonts.Map.Node.Label.Size,color:n.Colors.Map.Node.Label,transition:"color 0.2s ease"},variable:{backgroundColor:"rgb(216, 228, 238)",borderRadius:5,position:"relative",top:-2,padding:"2px 5px",fontSize:10,fontWeight:"normal"},named:{color:n.Colors.Map.Node.LabelUnnamed}},type:{position:"absolute",left:116,right:70,top:18,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontFamily:o.Fonts.Map.Node.Type.Face,fontSize:o.Fonts.Map.Node.Type.Size,color:n.Colors.Map.Node.Type},icon:{color:n.Colors.Map.Node.Icon,appearance:{position:"absolute",left:8,top:8,width:88,height:79,borderRight:"2px solid ".concat(n.Colors.Map.Node.Splitter),backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"36px 36px"},required:{borderRight:"2px solid ".concat(n.Colors.Map.Node.SplitterRequired)}},button:{appearance:{position:"absolute",right:11,top:24,width:48,height:48,borderRadius:24,padding:16,fontSize:16,backgroundColor:n.Colors.Map.Node.Button.Background,color:n.Colors.Map.Node.Button.Color,transition:"background-color .2s, color .2s"},hover:{backgroundColor:n.Colors.Map.Node.Button.BackgroundHover,color:n.Colors.Map.Node.Button.ColorHover},tap:{backgroundColor:n.Colors.Map.Node.Button.BackgroundTap,color:n.Colors.Map.Node.Button.ColorTap},selected:{backgroundColor:n.Colors.Map.Node.Button.BackgroundSelected,color:n.Colors.Map.Node.Button.ColorSelected}},separator:{between:n.Colors.Map.Node.SeparatorBetween,last:n.Colors.Map.Node.SeparatorLast},guides:{appearance:{left:2,right:2,top:2,bottom:2,border:"2px dotted ".concat(n.Colors.Map.Node.Guides.Border),backgroundColor:n.Colors.Map.Node.Guides.Background},visible:{opacity:1,transition:"transform ".concat(r.DURATION," ").concat(r.EASING)},invisible:{"> div":{"@keyframes":{"0%":{transform:"scale(1,1)"},"100%":{transform:"scale(1,0)"}},animationDuration:r.DURATION,animationTimingFunction:r.EASING,transformOrigin:"0 0 0"},opacity:0,transition:"opacity ".concat(r.DURATION," ").concat(r.EASING)}}}},15188:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MENU=void 0;var n=i(70655),o=i(22270),r=i(65936),s=i(89843),a=i(93273),l=n.__importDefault(i(52843)),c=n.__importDefault(i(70055)),u=n.__importDefault(i(83459)),p=n.__importDefault(i(65306)),h=n.__importDefault(i(6683)),d=n.__importDefault(i(12886)),m=n.__importDefault(i(95212)),f=n.__importDefault(i(80511));t.MENU={menu:{outer:{padding:8,transformOrigin:"50% 50% 0"},inner:{backgroundColor:s.Colors.Menu.Background,borderRadius:4,boxShadow:"0 0 6px 0px #0000006b"},open:(0,r.zoomIn)(),close:(0,r.fadeOut)(),context:{transformOrigin:"0 0 0"},top:{backgroundImage:'url("'.concat(l.default,'")')},bottom:{backgroundImage:'url("'.concat(c.default,'")')},left:{backgroundImage:'url("'.concat(u.default,'")')},right:{backgroundImage:'url("'.concat(p.default,'")')}},options:{label:{appearance:{fontFamily:a.Fonts.Menu.Static.Face,fontSize:a.Fonts.Menu.Static.Size,color:s.Colors.Menu.Static,padding:"14px 16px 0",borderTop:"none",height:40}},separator:{appearance:{height:3,padding:"1px 0px","&:first-child":{display:"none"}},separator:{height:1,width:"100%",backgroundColor:s.Colors.Menu.Separator}},item:{appearance:{fontFamily:a.Fonts.Menu.item.Face,fontSize:a.Fonts.Menu.item.Size,color:s.Colors.Menu.Item.Label,padding:"9px 32px 9px 16px",margin:0,"> span:first-child":{float:"left",fontSize:14,margin:"2px 14px 0 0"}},badge:{marginLeft:8,fontSize:9,textTransform:"uppercase",backgroundColor:"#ffd700",color:"#423700",padding:"2px 5px",borderRadius:4,position:"relative",top:-2},disabled:{color:s.Colors.Menu.Item.Disabled},hover:{backgroundColor:s.Colors.Menu.Item.Hover},selected:{backgroundColor:s.Colors.Menu.Item.Hover},tapped:(0,r.blinkingBackground)(s.Colors.Menu.Item.Hover)},image:{appearance:{},image:{width:20,height:20,margin:"1px 11px -9px -4px",backgroundSize:"16px 16px"},paths:{class:"tripetto",normal:s.Colors.Menu.Item.Label,disabled:s.Colors.Menu.Item.Disabled}},submenu:{appearance:{paddingRight:32,backgroundRepeat:"no-repeat",backgroundPosition:"right center",backgroundImage:'url("'.concat(h.default,'")')},disabled:{backgroundImage:'url("'.concat(d.default,'")')}}},indicators:{up:{appearance:{left:8,right:8,top:8,height:32,borderRadius:4,borderBottomLeftRadius:0,borderBottomRightRadius:0,background:'url("'.concat(m.default,'") no-repeat center center, linear-gradient(').concat(s.Colors.Menu.Background,", ").concat(s.Colors.Menu.BackgroundOpaque,")"),transition:"opacity .3s ease-out, visibility .3s"}},down:{appearance:{left:8,right:8,bottom:8,height:32,borderRadius:4,borderTopLeftRadius:0,borderTopRightRadius:0,background:'url("'.concat(f.default,'") no-repeat center center, linear-gradient(').concat(s.Colors.Menu.BackgroundOpaque,", ").concat(s.Colors.Menu.Background,")"),transition:"opacity .3s ease-out, visibility .3s"}}},overlay:{appearance:{backgroundColor:s.Colors.Menu.Overlay},open:(0,r.fadeIn)(),close:(0,r.fadeOut)()},scrollbars:{track:{size:16,appearance:{transition:"opacity .3s ease-out, visibility .3s ease-out",borderTopRightRadius:4,borderBottomRightRadius:4}},thumb:{size:4,min:48,appearance:{backgroundColor:s.Colors.Menu.Scrollbars.Color},hover:{backgroundColor:s.Colors.Menu.Scrollbars.Hover},horizontal:{transition:"height .2s ease-out, background-color .2s ease-out"},vertical:{transition:"width .2s ease-out, background-color .2s ease-out"}},offset:new o.Spacing(8,8,8,8)},scrollbarsInteractable:!0,maxWidth:400,delegateWidths:!0}},49802:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NAVIGATOR=void 0;var n=i(65936),o=i(89843);t.NAVIGATOR={height:56,spacing:32,style:{orientation:"horizontal",appearance:{backgroundColor:o.Colors.Navigator.Background,boxShadow:"0 0 20px 0px rgba(0,0,0,.25)",borderRadius:8,transition:"background-color .2s ease-out"},hover:{backgroundColor:o.Colors.Navigator.Hover},scrollable:!0},button:{width:56,height:56,appearance:{color:o.Colors.Navigator.Button.Enabled,backgroundPosition:"17px 17px",backgroundRepeat:"no-repeat",backgroundSize:"24px 24px",transition:"color .1s ease-in-out","> i":{float:"left",fontSize:20,margin:"18px 18px"}},disabled:{color:o.Colors.Navigator.Button.Disabled,opacity:1},hover:{color:o.Colors.Navigator.Button.Hover},tap:{color:o.Colors.Navigator.Button.Tap},animations:{enable:(0,n.pulse)()}},separator:{width:1,height:40,appearance:{backgroundColor:o.Colors.Navigator.Separator,margin:"8px 0"}}}},17993:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Roboto=void 0;var n=i(9072);!function(e){var t="Roboto";e.thin=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Thin"),src:'url("'.concat(e,'thin.woff2") format("woff2"),url("').concat(e,'thin.woff") format("woff"),url("').concat(e,'thin.ttf") format("truetype")'),fontWeight:100,fontStyle:"normal"}),"".concat(t," Thin")},e.thinItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Thin Italic"),src:'url("'.concat(e,'thin-italic.woff2") format("woff2"),url("').concat(e,'thin-italic.woff") format("woff"),url("').concat(e,'thin-italic.ttf") format("truetype")'),fontWeight:100,fontStyle:"italic"}),"".concat(t," Thin Italic")},e.light=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Light"),src:'url("'.concat(e,'light.woff2") format("woff2"),url("').concat(e,'light.woff") format("woff"),url("').concat(e,'light.ttf") format("truetype")'),fontWeight:300,fontStyle:"normal"}),"".concat(t," Light")},e.lightItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Light Italic"),src:'url("'.concat(e,'light-italic.woff2") format("woff2"),url("').concat(e,'light-italic.woff") format("woff"),url("').concat(e,'light-italic.ttf") format("truetype")'),fontWeight:300,fontStyle:"italic"}),"".concat(t," Light Italic")},e.regular=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Regular"),src:'url("'.concat(e,'regular.woff2") format("woff2"),url("').concat(e,'regular.woff") format("woff"),url("').concat(e,'regular.ttf") format("truetype")'),fontWeight:"normal",fontStyle:"normal"}),"".concat(t," Regular")},e.regularItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Regular Italic"),src:'url("'.concat(e,'regular-italic.woff2") format("woff2"),url("').concat(e,'regular-italic.woff") format("woff"),url("').concat(e,'regular-italic.ttf") format("truetype")'),fontWeight:"normal",fontStyle:"italic"}),"".concat(t," Regular Italic")},e.medium=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Medium"),src:'url("'.concat(e,'medium.woff2") format("woff2"),url("').concat(e,'medium.woff") format("woff"),url("').concat(e,'medium.ttf") format("truetype")'),fontWeight:500,fontStyle:"normal"}),"".concat(t," Medium")},e.mediumItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Medium Italic"),src:'url("'.concat(e,'medium-italic.woff2") format("woff2"),url("').concat(e,'medium-italic.woff") format("woff"),url("').concat(e,'medium-italic.ttf") format("truetype")'),fontWeight:500,fontStyle:"italic"}),"".concat(t," Medium Italic")},e.bold=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Bold"),src:'url("'.concat(e,'bold.woff2") format("woff2"),url("').concat(e,'bold.woff") format("woff"),url("').concat(e,'bold.ttf") format("truetype")'),fontWeight:"bold",fontStyle:"normal"}),"".concat(t," Bold")},e.boldItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Bold Italic"),src:'url("'.concat(e,'bold-italic.woff2") format("woff2"),url("').concat(e,'bold-italic.woff") format("woff"),url("').concat(e,'bold-italic.ttf") format("truetype")'),fontWeight:"bold",fontStyle:"italic"}),"".concat(t," Bold Italic")},e.black=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Black"),src:'url("'.concat(e,'black.woff2") format("woff2"),url("').concat(e,'black.woff") format("woff"),url("').concat(e,'black.ttf") format("truetype")'),fontWeight:900,fontStyle:"normal"}),"".concat(t," Black")},e.blackItalic=function(e,i){return void 0===i&&(i=n.Stylesheet.app),i.static("@font-face",{fontFamily:"".concat(t," Black Italic"),src:'url("'.concat(e,'black-italic.woff2") format("woff2"),url("').concat(e,'black-italic.woff") format("woff"),url("').concat(e,'black-italic.ttf") format("truetype")'),fontWeight:900,fontStyle:"italic"}),"".concat(t," Black Italic")}}(t.Roboto||(t.Roboto={}))},90909:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scrollbars=void 0,t.Scrollbars=function(e,t,i,n,o,r,s,a){return{track:{size:16,appearance:{transition:"opacity .3s ease-out, visibility .3s ease-out, background-color .2s ease-out, border-color .2s ease-out"},crawl:{backgroundColor:r},spacing:a},thumb:{size:8,min:48,appearance:{backgroundColor:e},horizontal:{transition:"height .2s ease-out, background-color .2s ease-out"},vertical:{transition:"width .2s ease-out, background-color .2s ease-out"},hover:{backgroundColor:t},focus:{backgroundColor:i},drag:{backgroundColor:n},crawl:{backgroundColor:o}},corner:{appearance:{border:"1px dotted ".concat(s),transition:"opacity .3s ease-out, visibility .3s ease-out, background-color .2s ease-out, border-color .2s ease-out, width .2s ease-out, height .2s ease-out"}}}}},35342:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TUTORIAL=void 0;var n=i(70655),o=i(90909),r=i(93273),s=i(89843),a=n.__importDefault(i(72590)),l=n.__importDefault(i(6131)),c=n.__importDefault(i(75945)),u=n.__importDefault(i(85522));t.TUTORIAL={width:993,height:448,margin:16,spacing:150,appearance:{backgroundColor:"rgb(255,255,255)",boxShadow:"0 0 20px 0 rgba(0,0,0,.1), 0 0 20px 0 rgba(0,0,0,.2)",borderRadius:8},overlay:{backgroundColor:"rgba(0,0,0,.2)"},scrollbars:(0,o.Scrollbars)(s.Colors.Map.Scrollbars.Thumb.Color,s.Colors.Map.Scrollbars.Thumb.Hover,s.Colors.Map.Scrollbars.Thumb.Focus,s.Colors.Map.Scrollbars.Thumb.Drag,s.Colors.Map.Scrollbars.Thumb.Crawl,s.Colors.Map.Scrollbars.Track.Crawl,s.Colors.Map.Scrollbars.Corner),title:{fontFamily:r.Fonts.Tutorial.Title.Face,fontSize:r.Fonts.Tutorial.Title.Size,color:s.Colors.Tutorial.Title,textAlign:"center",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",padding:"32px 64px 20px"},help:{fontFamily:r.Fonts.Tutorial.Help.Face,fontSize:r.Fonts.Tutorial.Help.Size,color:s.Colors.Tutorial.Help,padding:"2px 24px",textAlign:"center",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},blocks:{row:{display:"flex",flexDirection:"row",padding:"24px 16px"},appearance:{display:"inline-block",minWidth:240,padding:"90px 24px 16px",borderRight:"1px solid ".concat(s.Colors.Tutorial.Blocks.Separator),backgroundRepeat:"no-repeat",backgroundPosition:"91px 0",backgroundSize:"80px 80px","&:last-child":{borderRight:"none"},"&:nth-child(1)":{backgroundImage:'url("'.concat(a.default,'")')},"&:nth-child(2)":{backgroundImage:'url("'.concat(c.default,'")')},"&:nth-child(3)":{backgroundImage:'url("'.concat(l.default,'")')},"&:nth-child(4)":{backgroundImage:'url("'.concat(u.default,'")')}},title:{fontFamily:r.Fonts.Tutorial.Blocks.Title.Face,fontSize:r.Fonts.Tutorial.Blocks.Title.Size,color:s.Colors.Tutorial.Blocks.Title,textAlign:"center",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{marginTop:4,fontFamily:r.Fonts.Tutorial.Blocks.Subtitle.Face,fontSize:r.Fonts.Tutorial.Blocks.Subtitle.Size,color:s.Colors.Tutorial.Blocks.Subtitle,textAlign:"center",overflow:"hidden",whiteSpace:"nowrap"},text:{marginTop:12,lineHeight:"20px",fontFamily:r.Fonts.Tutorial.Blocks.Text.Face,fontSize:r.Fonts.Tutorial.Blocks.Text.Size,color:s.Colors.Tutorial.Blocks.Text,textAlign:"center"}},close:{appearance:{position:"absolute",right:8,top:8,width:48,height:48,borderRadius:24,padding:"11px 12px",fontSize:25,color:s.Colors.Tutorial.Title},hover:{backgroundColor:s.Colors.Tutorial.Title,color:"rgb(255,255,255)"},tap:{backgroundColor:s.Colors.Tutorial.Title,color:"rgb(255,255,255)"}}}},86391:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZOOMBAR=void 0;var n=i(70655),o=i(89843),r=n.__importDefault(i(50994)),s=n.__importDefault(i(87391)),a=n.__importDefault(i(14012)),l=n.__importDefault(i(12656)),c=n.__importDefault(i(7805));t.ZOOMBAR={width:56,height:320,appearance:{backgroundColor:o.Colors.Zoombar.Background,boxShadow:"0 0 20px 0px rgba(0,0,0,.25)",borderRadius:8,transition:"background-color .2s ease-out"},hover:{backgroundColor:o.Colors.Zoombar.Hover},track:{width:8,height:224,upper:{offset:4,appearance:{borderRadius:"4px 4px 0 0",backgroundColor:o.Colors.Zoombar.Track.Upper,transition:"background-color .2s ease-out",cursor:"zoom-in"}},lower:{offset:4,appearance:{borderRadius:"0 0 4px 4px",backgroundColor:o.Colors.Zoombar.Track.Lower,transition:"background-color .2s ease-out",cursor:"zoom-out"}}},thumb:{width:32,height:96,appearance:{backgroundColor:o.Colors.Zoombar.Thumb,boxShadow:"0 0 5px ".concat(o.Colors.Zoombar.Shadow),borderRadius:16,transition:"background-color .2s ease-out","*":{cursor:"-webkit-grab"}},grab:{"*":{cursor:"-webkit-grabbing"}},buttons:{max:{appearance:{background:'url("'.concat(a.default,'") no-repeat center 5px'),backgroundSize:"24px 24px"},disabled:{opacity:.2}},fit:{appearance:{background:'url("'.concat(l.default,'") no-repeat center center'),backgroundSize:"24px 24px"},disabled:{opacity:.2}},min:{appearance:{background:'url("'.concat(c.default,'") no-repeat center 3px'),backgroundSize:"24px 24px"},disabled:{opacity:.2}}}},zoomIn:{width:56,height:48,appearance:{background:'url("'.concat(r.default,'") no-repeat center center'),backgroundSize:"15px 15px",opacity:.7,cursor:"zoom-in"},hover:{opacity:1},crawl:{opacity:1},disabled:{cursor:"default"}},zoomOut:{width:56,height:48,appearance:{background:'url("'.concat(s.default,'") no-repeat center center'),backgroundSize:"15px 15px",opacity:.7,cursor:"zoom-out"},hover:{opacity:1},crawl:{opacity:1},disabled:{cursor:"default"}}}},75783:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.linearicon=t.linearicons=t.STYLE=void 0;var n,o=i(9072),r=i(84389),s="linearicons";t.STYLE={fontFamily:s,speak:"none",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textTransform:"none",lineHeight:1,webkitFontSmoothing:"antialiased",mozOsxFontSmoothing:"grayscale"},t.linearicons=function(e,t){return void 0===t&&(t=o.Stylesheet.app),t.static("@font-face",{fontFamily:s,src:'url("'.concat(e,'linearicons.woff2") format("woff2"),url("').concat(e,'linearicons.woff") format("woff"),url("').concat(e,'linearicons.ttf") format("truetype")'),fontWeight:"normal",fontStyle:"normal"}),s},t.linearicon=function(e,i,r){var s=n||(n=o.Stylesheet.app.style(t.STYLE)),a=i&&r?"":o.Stylesheet.app.style({"&:before":{content:'"\\'.concat(e.toString(16),'"')}});return i&&(i.addClass(s),r?i.text=String.fromCharCode(e):i.addClass(a)),"".concat(s).concat(""===a?"":" "+a)},t.style=function(e,i){return(0,r.extendImmutable)(t.STYLE,{"&:before":{content:'"\\'.concat(e.toString(16),'"')}},i)}},1328:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alias=void 0;var n=i(84389),o=i(80299),r=i(29377),s=i(48824);t.alias=function(e,t){var i={get alias(){return((0,n.isFunction)(t)?t():t).alias},set alias(e){((0,n.isFunction)(t)?t():t).alias=e}};return e.option({name:(0,o.pgettext)("builder","Alias"),form:{title:(0,o.pgettext)("builder","Alias"),controls:[new s.Text("singleline",s.Text.bind(i,"alias",void 0)),new r.Static((0,o.pgettext)("builder","This alias will be used as identifier of the item in the dataset instead of the title/name of the item."))]},activated:(0,n.isString)(i.alias)})}},49853:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.description=void 0;var n=i(84389),o=i(40910),r=i(80299),s=i(36068),a=i(48824);t.description=function(e,t,i,l){if(void 0===t&&(t=!1),void 0===i&&(i=(0,r.pgettext)("builder","Description")),void 0===l&&(l=!0),e.reference instanceof o.NodeBlock||e.reference instanceof o.Node){var c=e.reference instanceof o.Node?e.reference:e.reference.node,u=new a.Text("multiline",a.Text.bind(c,"description",void 0)).placeholder((0,r.pgettext)("builder","Type here..."));return l&&u.action("@",(0,s.insertVariable)(c,"exclude"===l||"validated"===l?l:"all")),e.option({name:i,form:{title:i,controls:[u]},activated:(0,n.isString)(c.description)||t,locked:t})}throw new Error("Tripetto: The `description` feature can only be used on nodes.")}},61001:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.explanation=void 0;var n=i(84389),o=i(40910),r=i(80299),s=i(36068),a=i(29377),l=i(48824);t.explanation=function(e){if(e.reference instanceof o.NodeBlock||e.reference instanceof o.Node){var t=e.reference instanceof o.Node?e.reference:e.reference.node;return e.option({name:(0,r.pgettext)("builder","Help text"),form:{title:(0,r.pgettext)("builder","Help text"),controls:[new l.Text("multiline",l.Text.bind(t,"explanation",void 0)).placeholder((0,r.pgettext)("builder","Type help text here...")).action("@",(0,s.insertVariable)(t)),new a.Static((0,r.pgettext)("builder","This additional explanation can be used to help the respondent to understand the question."))]},activated:(0,n.isString)(t.explanation)})}throw new Error("Tripetto: The `explanation` feature can only be used on nodes.")}},34344:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportable=void 0;var n=i(70488),o=i(20461),r=i(84389),s=i(80299);t.exportable=function(e,t,i,a,l){void 0===i&&(i=!0),void 0===a&&(a=(0,s.pgettext)("builder","Include in the dataset")),void 0===l&&(l=(0,s.pgettext)("builder","Exclude from the dataset"));var c=[],u=!1;if(!(0,r.isFunction)(t)&&"ref"in t)(0,r.each)(t.props,(function(e){c.push(new n.Checkbox(e.label,n.Checkbox.bind(t.ref,e.name,void 0,i))),u=u||(0,r.isBoolean)((0,r.getAny)(t.ref,e.name))}));else{var p={get exportable(){return((0,r.isFunction)(t)?t():t).exportable},set exportable(e){((0,r.isFunction)(t)?t():t).exportable=e}};c.push(new o.Radiobutton([{label:a,value:!0},{label:l,value:!1}],o.Radiobutton.bind(p,"exportable",void 0,i))),u=(0,r.isBoolean)(p.exportable)}return e.option({name:(0,s.pgettext)("builder","Exportability"),form:{title:(0,s.pgettext)("builder","Exportability"),controls:c},activated:u})}},55576:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditorOrchestrator=void 0;var n=i(70655),o=i(85519),r=i(11309),s=i(80299),a=i(1328),l=i(49853),c=i(61001),u=i(34344),p=i(75515),h=i(86527),d=i(83399),m=i(435),f=i(4138),g=i(12747),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.groups={general:function(){return t.group((0,s.pgettext)("builder","General"))},settings:function(){return t.group((0,s.pgettext)("builder","Settings"))},options:function(){return t.group((0,s.pgettext)("builder","Options"))}},t}return n.__extends(t,e),t.prototype.alias=function(e){return(0,a.alias)(this,e)},t.prototype.description=function(e,t,i){return void 0===i&&(i=!0),(0,l.description)(this,e,t,i)},t.prototype.explanation=function(){return(0,c.explanation)(this)},t.prototype.name=function(e,t,i,n){return void 0===n&&(n=!0),this.m_pName=(0,r.name)(this,e,t,i,n),this.m_pName},t.prototype.placeholder=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.placeholder.apply(void 0,n.__spreadArray([this,this.m_pName],e,!1))},t.prototype.required=function(e,t,i){return(0,m.required)(this,e,t,i)},t.prototype.exportable=function(e,t,i){return void 0===t&&(t=!0),(0,u.exportable)(this,e,t,i)},t.prototype.transformations=function(e){return(0,f.transformations)(this,e)},t.prototype.visibility=function(){return(0,g.visibility)(this)},t.prototype.scores=function(e){return(0,p.scores)(this,e)},t.prototype.numeric=function(e){return(0,h.numeric)(this,e)},t}(o.EditorOrchestrator);t.EditorOrchestrator=y},11309:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.name=void 0;var n=i(70655),o=i(84389),r=i(70488),s=i(40910),a=i(80299),l=i(36068),c=i(48824);t.name=function(e,t,i,u,p){if(void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===u&&(u=(0,a.pgettext)("builder","Text")),void 0===p&&(p=!0),e.reference instanceof s.NodeBlock||e.reference instanceof s.Node){var h=e.reference instanceof s.Node?e.reference:e.reference.node,d=function(){return"note"===h.type?(0,a.pgettext)("builder","Note"):(0,o.castToBoolean)(h.nameVisible,!0)?u:(0,a.pgettext)("builder","Name")},m=function(){f.feature&&(f.feature.name=d(),f.form&&(f.form.title=d()))},f=new c.Text(i?"multiline":"singleline",c.Text.bind(h,"name",void 0)).autoFocus(!(0,o.isFilledString)(h.name));return t||(h.nameVisible=void 0),h.hook("OnTypeChange","synchronous",(function(){return m()}),e),p?f.placeholder((0,a.pgettext)("builder","Type here (hit @ to insert a variable)")).action("@",(0,l.insertVariable)(h,"exclude"===p||"validated"===p?p:"all")):f.placeholder((0,a.pgettext)("builder","Type here...")),e.option({name:d(),form:{title:d(),controls:n.__spreadArray([f],t?[new r.Checkbox((0,a.pgettext)("builder","Show this text in form"),r.Checkbox.bind(h,"nameVisible",void 0,!0)).on((function(){return m()}))]:[],!0)},locked:!0})}throw new Error("Tripetto: The `name` feature can only be used on nodes.")}},86527:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numeric=void 0;var n=i(70655),o=i(84389),r=i(70488),s=i(48824),a=i(29377),l=i(58157),c=i(72898),u=i(4991),p=i(21479),h=i(80299);t.numeric=function(e,t){var i=function(){t.scores&&(0,o.each)(t.scores,(function(e){e.precision((null==f?void 0:f.precision)||0),e.digits((null==f?void 0:f.digits)||0),e.decimalSign((null==f?void 0:f.decimal)||""),e.thousands(!!(null==f?void 0:f.separator),(null==f?void 0:f.separator)||""),e.prefix((null==f?void 0:f.prefix)||""),e.prefixPlural((null==f?void 0:f.prefixPlural)||void 0),e.suffix((null==f?void 0:f.suffix)||""),e.suffixPlural((null==f?void 0:f.suffixPlural)||void 0)})),t.collection&&t.collection.refresh()},d=function(e){return null==f?void 0:f.toString(e.getScoreOfItem()||0)},m=function(e){L instanceof u.Feature?L.disabled(!f):L instanceof u.Card&&(!e&&f&&t.pair instanceof u.Card?(0,o.scheduleFrame)((function(){L.visible(!0,!0)})):L.visible(!!f)),t.collection&&t.collection.scores(f&&d)},f=t.target.slots.select(t.reference,"feature"),g=new l.Dropdown([{label:"#.#",value:"."},{label:"#,#",value:","}],(null==f?void 0:f.decimal)||".").label((0,h.pgettext)("builder","Decimal sign")).indent(32).on((function(e){f&&(f.decimal=e.isObservable&&!e.isDisabled?e.value:void 0,i())})).disabled(!(null==f?void 0:f.precision)),y=new c.Group([g,new l.Dropdown([{label:(0,h.pgettext)("builder","None"),value:void 0},{label:"#,###",value:","},{label:"#.###",value:"."}],null==f?void 0:f.separator).label((0,h.pgettext)("builder","Thousands separator")).indent(32).on((function(e){f&&(f.separator=e.isObservable?e.value:void 0,i())})),new a.Static((0,h.pgettext)("builder","**Note:** These signs are used to format the number in de dataset. When the number is displayed in a runner, the appropriate user locale might be applied making it seem like changing these settings has no effect.")).markdown().indent(32)]).visible((null==f?void 0:f.exportable)&&!(null==f?void 0:f.digits)&&((0,o.isString)(null==f?void 0:f.separator)||(0,o.isString)(null==f?void 0:f.decimal))||!1),b=new r.Checkbox((0,h.pgettext)("builder","Signs"),(0,o.isString)(null==f?void 0:f.separator)||(0,o.isString)(null==f?void 0:f.decimal)).disabled(((null==f?void 0:f.digits)||0)>0).visible(f?!1!==f.exportable:t.exportable).on((function(e){y.visible(e.isObservable&&!e.isDisabled&&e.isChecked)})),v=new l.Dropdown([{optGroup:(0,h.pgettext)("builder","Decimals")},{label:"#",value:0},{label:"#.#",value:1},{label:"#.##",value:2},{label:"#.###",value:3},{label:"#.####",value:4},{label:"#.#####",value:5},{label:"#.######",value:6},{label:"#.#######",value:7},{label:"#.########",value:8},{optGroup:(0,h.pgettext)("builder","Digits")},{label:"##",value:-2},{label:"###",value:-3},{label:"####",value:-4},{label:"#####",value:-5},{label:"######",value:-6},{label:"#######",value:-7},{label:"########",value:-8},{label:"#########",value:-9},{label:"##########",value:-10},{label:"###########",value:-11},{label:"############",value:-12},{label:"#############",value:-13},{label:"##############",value:-14},{label:"###############",value:-15},{label:"################",value:-16}],((null==f?void 0:f.digits)?-(null==f?void 0:f.digits):null==f?void 0:f.precision)||0).on((function(e){f&&(f.precision=e.isObservable&&(0,o.isNumber)(e.value)&&e.value>=0?e.value:void 0,f.digits=e.isObservable&&(0,o.isNumber)(e.value)&&e.value<0?-e.value:void 0,i()),g.disabled(!(null==f?void 0:f.precision)),b.disabled(((null==f?void 0:f.digits)||0)>0)})).indent(32).visible((0,o.isNumber)(null==f?void 0:f.precision)||(0,o.isNumber)(null==f?void 0:f.digits)),M=new c.Group([new s.Text("singleline",(null==f?void 0:f.alias)||"").placeholder((0,h.pgettext)("builder","Type alias identifier here...")).indent(32).on((function(e){f&&(f.alias=e.isObservable&&e.value||void 0)})),new a.Static((0,h.pgettext)("builder","This alias will be used as identifier in the dataset.")).indent(32)]).visible(!!(null==f?void 0:f.alias)),_=new s.Text("singleline",null==f?void 0:f.prefix).sanitize(!1).indent(32).on((function(e){f&&(f.prefix=e.isObservable?e.value:void 0,i())})),S=new s.Text("singleline",null==f?void 0:f.prefixPlural).indent(64).sanitize(!1).placeholder((0,h.pgettext)("builder","Prefix when value is plural")).on((function(e){f&&(f.prefixPlural=e.isObservable?e.value:void 0,i())})).visible((0,o.isString)(null==f?void 0:f.prefixPlural)),I=new c.Group([_,new r.Checkbox((0,h.pgettext)("builder","Specify different prefix for plural values"),(0,o.isString)(null==f?void 0:f.prefixPlural)).on((function(e){_.placeholder(e.isChecked&&(0,h.pgettext)("builder","Prefix when value is singular")||""),S.visible(e.isChecked)})).indent(32),S]).visible((0,o.isString)(null==f?void 0:f.prefix)),T=new s.Text("singleline",null==f?void 0:f.suffix).sanitize(!1).indent(32).on((function(e){f&&(f.suffix=e.isObservable?e.value:void 0,i())})),N=new s.Text("singleline",null==f?void 0:f.suffixPlural).indent(64).sanitize(!1).placeholder((0,h.pgettext)("builder","Suffix when value is plural")).on((function(e){f&&(f.suffixPlural=e.isObservable?e.value:void 0,i())})).visible((0,o.isString)(null==f?void 0:f.suffixPlural)),j=new c.Group([T,new r.Checkbox((0,h.pgettext)("builder","Specify different suffix for plural values"),(0,o.isString)(null==f?void 0:f.suffixPlural)).on((function(e){T.placeholder(e.isChecked&&(0,h.pgettext)("builder","Suffix when value is singular")||""),N.visible(e.isChecked)})).indent(32),N]).visible((0,o.isString)(null==f?void 0:f.suffix)),w=e.option({name:t.name,form:{title:t.title||t.name,controls:n.__spreadArray(n.__spreadArray(n.__spreadArray([],t.description?[new a.Static(t.description).markdown()]:[],!0),t.scores?n.__spreadArray(n.__spreadArray([],t.scores,!0),[new a.Static((0,h.pgettext)("builder","Options"))],!1):[],!0),[new r.Checkbox((0,h.pgettext)("builder","Make exportable and include in the dataset"),f?!1!==f.exportable:t.exportable).on((function(e){b.visible(e.isChecked),f&&(f.exportable=e.isChecked)})),new r.Checkbox((0,h.pgettext)("builder","Format"),(0,o.isNumber)(null==f?void 0:f.precision)||(0,o.isNumber)(null==f?void 0:f.digits)).on((function(e){v.visible(e.isChecked)})),v,new r.Checkbox((0,h.pgettext)("builder","Prefix"),(0,o.isString)(null==f?void 0:f.prefix)).on((function(e){I.visible(e.isChecked)})),I,new r.Checkbox((0,h.pgettext)("builder","Suffix"),(0,o.isString)(null==f?void 0:f.suffix)).on((function(e){j.visible(e.isChecked)})),j,b,y,new r.Checkbox((0,h.pgettext)("builder","Alias"),!!(null==f?void 0:f.alias)).on((function(e){return M.visible(e.isChecked)})),M],!1)},activated:!!f}).onToggle((function(e){e.isActivated&&!f?f=t.target.slots.feature({type:p.Numeric,reference:t.reference,label:t.label,exportable:!!t.exportable,exchange:["alias","exportable","precision","digits","decimal","separator","prefix","prefixPlural","suffix","suffixPlural"]}):!e.isActivated&&f&&(t.target.slots.delete(f.id),f=void 0),m(!1)})),L=t.pair instanceof u.Card||t.pair instanceof u.Feature?t.pair:t.pair&&t.pair();return i(),m(!0),w}},83399:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=void 0;var n=i(70655),o=i(72898),r=i(84389),s=i(40910),a=i(80299),l=i(21479),c=i(36068),u=i(29377),p=i(48824);t.placeholder=function(e,t){for(var i=[],h=2;h<arguments.length;h++)i[h-2]=arguments[h];if(e.reference instanceof s.NodeBlock||e.reference instanceof s.Node||e.reference instanceof l.Slot){var d=e.reference instanceof s.Node||e.reference instanceof l.Slot?e.reference:e.reference.node;t&&(t.locked(!(0,r.isFilledString)(d.placeholder)),t.isLocked||(0,r.isString)(d.name)||t.deactivate());var m=new p.Text("singleline",p.Text.bind(d,"placeholder",void 0)).placeholder((0,a.pgettext)("builder","Type placeholder text here...")).on((function(){t&&(t.locked(!(0,r.isFilledString)(d.placeholder)),f.locked(!(0,r.isFilledString)(d.name)&&(0,r.isFilledString)(d.placeholder)),t.isLocked&&t.activate())})),f=e.option({name:(0,a.pgettext)("builder","Placeholder"),form:{title:(0,a.pgettext)("builder","Placeholder"),controls:n.__spreadArray(n.__spreadArray([m],i,!0),[new u.Static((0,a.pgettext)("builder","A placeholder text is displayed inside an empty input control in the form and can be used to give the respondent a clue on what can be filled in."))],!1)},activated:(0,r.isString)(d.placeholder),locked:t&&(0,r.isFilledString)(d.placeholder)&&!t.isActivated});if(t&&t.card instanceof o.Form){var g=t.card.control(0);g&&g.hook("OnData","synchronous",(function(){f.locked(!(0,r.isFilledString)(d.name)&&(0,r.isFilledString)(d.placeholder))}))}return d instanceof s.Node&&m.action("@",(0,c.insertVariable)(d)),f}throw new Error("Tripetto: The `placeholder` feature can only be used on nodes or slots.")}},435:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.required=void 0;var n=i(70488),o=i(84389),r=i(80299);t.required=function(e,t,i,s){void 0===i&&(i=(0,r.pgettext)("builder","Item is required and cannot be skipped"));var a={get required(){return((0,o.isFunction)(t)?t():t).required},set required(e){((0,o.isFunction)(t)?t():t).required=e}},l=a.required;return e.option({name:(0,r.pgettext)("builder","Required"),form:{title:(0,r.pgettext)("builder","Required"),controls:[new n.Checkbox(i,n.Checkbox.bind(a,"required",void 0,!0)).on((function(e){s&&l!==a.required&&s(l=a.required)}))]},activated:(0,o.isBoolean)(a.required)})}},75515:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scores=void 0;var n=i(70655),o=i(4991),r=i(80299),s=i(44258),a=i(86527);t.scores=function(e,t){var i=(0,a.numeric)(e,n.__assign(n.__assign({exportable:!0},t),{collection:t.collection instanceof o.Feature?t.collection.card instanceof s.CollectionCard&&t.collection.card||void 0:t.collection,reference:"score",label:(0,r.pgettext)("builder","Score"),name:(0,r.pgettext)("builder","Score"),title:(0,r.pgettext)("builder","Score")}));return t.collection instanceof o.Feature&&(i.disabled(!t.collection.isActivated),t.collection.hook("OnToggle","synchronous",(function(){var e,n;i.isDisabled=!(null===(e=t.collection)||void 0===e?void 0:e.isActivated)||!(null===(n=t.collection)||void 0===n?void 0:n.isVisible)})),t.collection.hook("OnVisible","synchronous",(function(){var e,n;i.isDisabled=!(null===(e=t.collection)||void 0===e?void 0:e.isActivated)||!(null===(n=t.collection)||void 0===n?void 0:n.isVisible)}))),i}},4138:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformations=void 0;var n=i(84389),o=i(80299),r=i(20461);t.transformations=function(e,t){var i={get transformation(){return((0,n.isFunction)(t)?t():t).transformation},set transformation(e){((0,n.isFunction)(t)?t():t).transformation=e}};return e.option({name:(0,o.pgettext)("builder","Transform"),form:{title:(0,o.pgettext)("builder","Transform"),controls:[new r.Radiobutton([{label:(0,o.pgettext)("builder","Do nothing"),value:"none"},{label:(0,o.pgettext)("builder","Capitalize first character"),value:"capitalize"},{label:(0,o.pgettext)("builder","Capitalize first character of each sentence"),value:"capitalize-sentences"},{label:(0,o.pgettext)("builder","Capitalize each word"),value:"capitalize-words"},{label:(0,o.pgettext)("builder","Convert all characters to lowercase"),value:"lowercase"},{label:(0,o.pgettext)("builder","Convert all characters to uppercase"),value:"uppercase"}],r.Radiobutton.bind(i,"transformation",void 0)).label((0,o.pgettext)("builder","Apply the following transformation to the text value:"))]},activated:(0,n.isString)(i.transformation)})}},12747:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visibility=void 0;var n=i(70488),o=i(72898),r=i(84389),s=i(40910),a=i(80299);function l(e){return e.block?"headless"===e.block.type.kind:"static"!==e.type&&"undefined"!==e.type}function c(e){return l(e)?(0,a.pgettext)("builder","Status"):(0,a.pgettext)("builder","Visibility")}function u(e){return l(e)?(0,a.pgettext)("builder","Ignore this item in the form"):(0,a.pgettext)("builder","Do not display in the form")}t.visibility=function(e){if(e.reference instanceof s.NodeBlock||e.reference instanceof s.Node){var t,i=e.reference instanceof s.Node?e.reference:e.reference.node,a=e.option({name:c(i),form:{title:c(i),controls:[t=new n.Checkbox(u(i),n.Checkbox.bind(i,"disabled",void 0))]},activated:(0,r.isBoolean)(i.disabled)});return i.hook("OnDisable","synchronous",(function(){t.pauseBinding(),t.checked(!!i.disabled),i.disabled&&a.activate(),t.resumeBinding()}),e),i.hook("OnTypeChange","synchronous",(function(){a.name=c(i),a.card instanceof o.Form&&(a.card.title=c(i)),t.label(u(i))}),e),a}throw new Error("Tripetto: The `visibility` feature can only be used on nodes.")}},35493:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(70655);n.__exportStar(i(15661),t),n.__exportStar(i(42396),t),n.__exportStar(i(97059),t)},70655:function(e,t,i){"use strict";i.r(t),i.d(t,{__assign:function(){return r},__asyncDelegator:function(){return _},__asyncGenerator:function(){return M},__asyncValues:function(){return S},__await:function(){return v},__awaiter:function(){return u},__classPrivateFieldGet:function(){return w},__classPrivateFieldIn:function(){return C},__classPrivateFieldSet:function(){return L},__createBinding:function(){return h},__decorate:function(){return a},__exportStar:function(){return d},__extends:function(){return o},__generator:function(){return p},__importDefault:function(){return j},__importStar:function(){return N},__makeTemplateObject:function(){return I},__metadata:function(){return c},__param:function(){return l},__read:function(){return f},__rest:function(){return s},__spread:function(){return g},__spreadArray:function(){return b},__spreadArrays:function(){return y},__values:function(){return m}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var r=function(){return r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function s(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]])}return i}function a(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}function l(e,t){return function(i,n){t(i,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,i,n){return new(i||(i=Promise))((function(o,r){function s(e){try{l(n.next(e))}catch(e){r(e)}}function a(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))}function p(e,t){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}var h=Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]};function d(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||h(t,e,i)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,o,r=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return s}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function y(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<i;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)n[o]=r[s];return n}function b(e,t,i){if(i||2===arguments.length)for(var n,o=0,r=t.length;o<r;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function M(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=i.apply(e,t||[]),r=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise((function(i,n){r.push([e,t,i,n])>1||a(e,t)}))})}function a(e,t){try{(i=o[e](t)).value instanceof v?Promise.resolve(i.value.v).then(l,c):u(r[0][2],i)}catch(e){u(r[0][3],e)}var i}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(e){var t,i;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(i=!i)?{value:v(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e=m(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(i){t[i]=e[i]&&function(t){return new Promise((function(n,o){(function(e,t,i,n){Promise.resolve(n).then((function(t){e({value:t,done:i})}),t)})(n,o,(t=e[i](t)).done,t.value)}))}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&h(t,e,i);return T(t,e),t}function j(e){return e&&e.__esModule?e:{default:e}}function w(e,t,i,n){if("a"===i&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)}function L(e,t,i,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,i):o?o.value=i:t.set(e,i),i}function C(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},85076:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZGVmcz48Y2xpcFBhdGggY2xpcFBhdGhVbml0cz0idXNlclNwYWNlT25Vc2UiIGlkPSJhIj48cGF0aCBkPSJNMCA2MTJoNzkyVjBIMFoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVyb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4xNDZsLTMtM2EuNS41IDAgMCAxIC43MDctLjcwN2wyLjY0NiAyLjY0NiA2LjY0Ni02LjY0NmEuNS41IDAgMCAxIC43MDcuNzA3bC03IDdhLjQ5OC40OTggMCAwIDEtLjM1NC4xNDZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+"},96631:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHJlY3QgeD0iLjUiIHk9Ii41IiB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHJ4PSI0IiByeT0iNCIgZmlsbD0iIzAwOTNFRSIvPjxwYXRoIGQ9Ik04LjUgMTQuNWEuNTAyLjUwMiAwIDAgMS0uMzU0LS4xNDZsLTMtM2EuNS41IDAgMCAxIC43MDctLjcwN2wyLjY0NiAyLjY0NiA2LjY0Ni02LjY0NmEuNS41IDAgMCAxIC43MDcuNzA3bC03IDdhLjQ5OC40OTggMCAwIDEtLjM1NC4xNDZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+"},64721:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHJlY3QgeD0iLjUiIHk9Ii41IiB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHJ4PSI0IiByeT0iNCIgZmlsbD0iI0VDRjVGRCIgc3Ryb2tlPSIjQThDNkRGIi8+PC9zdmc+"},14479:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHJlY3QgeD0iLjUiIHk9Ii41IiB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHJ4PSI0IiByeT0iNCIgZmlsbD0iI0ZGRiIgc3Ryb2tlPSIjQThDNkRGIi8+PC9zdmc+"},74381:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTkuNSAyMGMtMi41MzggMC00LjkyMy0uOTg4LTYuNzE4LTIuNzgyUzAgMTMuMDM4IDAgMTAuNTAxYzAtMi41MzguOTg4LTQuOTIzIDIuNzgyLTYuNzE4UzYuOTYyIDEgOS41IDFjMi41MzggMCA0LjkyMy45ODggNi43MTggMi43ODNTMTkgNy45NjMgMTkgMTAuNTAxcy0uOTg4IDQuOTIzLTIuNzgyIDYuNzE3QTkuNDM4IDkuNDM4IDAgMCAxIDkuNSAyMHptMC0xOEM0LjgxMyAyIDEgNS44MTMgMSAxMC41UzQuODEzIDE5IDkuNSAxOXM4LjUtMy44MTMgOC41LTguNVMxNC4xODcgMiA5LjUgMnoiIGNsYXNzPSJ0cmlwZXR0by1maWxsIi8+PHBhdGggZD0iTTE0LjUgOGgtMTBhLjUuNSAwIDAgMSAwLTFoMTBhLjUuNSAwIDAgMSAwIDF6bTAgM2gtMTBhLjUuNSAwIDAgMSAwLTFoMTBhLjUuNSAwIDAgMSAwIDF6bTAgM2gtMTBhLjUuNSAwIDAgMSAwLTFoMTBhLjUuNSAwIDAgMSAwIDF6IiBjbGFzcz0idHJpcGV0dG8tZmlsbCIvPjwvc3ZnPg=="},86244:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MSIgaGVpZ2h0PSI0MSI+PHBhdGggZD0iTTAgNDAuNWg0MXoiIHN0cm9rZT0iI0U1RUVGNSIvPjwvc3ZnPg=="},68957:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+x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cGF0aCBkPSJNNy41IDE0LjVhLjUwMi41MDIgMCAwIDEtLjM1NC0uMTQ2bC0zLTNhLjUuNSAwIDAgMSAuNzA3LS43MDdsMi42NDYgMi42NDYgNi42NDYtNi42NDZhLjUuNSAwIDAgMSAuNzA3LjcwN2wtNyA3YS40OTguNDk4IDAgMCAxLS4zNTQuMTQ2eiIgZmlsbD0iIzRFQ0UzRCIvPjwvc3ZnPg=="},71806:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTE4LjUgMkgxNnYtLjVhLjUuNSAwIDAgMC0xIDBWMkg1di0uNWEuNS41IDAgMCAwLTEgMFYySDEuNUMuNjczIDIgMCAyLjY3MyAwIDMuNXYxNGMwIC44MjcuNjczIDEuNSAxLjUgMS41aDE3Yy44MjcgMCAxLjUtLjY3MyAxLjUtMS41di0xNGMwLS44MjctLjY3My0xLjUtMS41LTEuNXptLTE3IDFINHYxLjVhLjUuNSAwIDAgMCAxIDBWM2gxMHYxLjVhLjUuNSAwIDAgMCAxIDBWM2gyLjVhLjUuNSAwIDAgMSAuNS41VjZIMVYzLjVhLjUuNSAwIDAgMSAuNS0uNXptMTcgMTVoLTE3YS41LjUgMCAwIDEtLjUtLjVWN2gxOHYxMC41YS41LjUgMCAwIDEtLjUuNXoiIGZpbGw9IiNBOEM2REYiLz48cGF0aCBkPSJNOC41IDE1LjVhLjUwMi41MDIgMCAwIDEtLjM1NC0uMTQ2bC0yLTJhLjUuNSAwIDAgMSAuNzA3LS43MDdsMS42NDYgMS42NDYgNC42NDYtNC42NDZhLjUuNSAwIDAgMSAuNzA3LjcwN2wtNSA1YS40OTguNDk4IDAgMCAxLS4zNTQuMTQ2eiIgZmlsbD0iI0E4QzZERiIvPjwvc3ZnPg=="},88880:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+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Gw4LjY0NiA4LjY0NiA4LjY0Ni04LjY0NmEuNS41IDAgMCAxIC43MDcuNzA3bC05IDlhLjUuNSAwIDAgMS0uNzA3IDBsLTktOWEuNDk4LjQ5OCAwIDAgMS0uMTQ2LS4zNTR6IiBmaWxsPSIjMDA5M0VFIi8+PC9zdmc+"},86790:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTAgNmEuNS41IDAgMCAxIC44NTMtLjM1NGw4LjY0NiA4LjY0NiA4LjY0Ni04LjY0NmEuNS41IDAgMCAxIC43MDcuNzA3bC05IDlhLjUuNSAwIDAgMS0uNzA3IDBsLTktOWEuNDk4LjQ5OCAwIDAgMS0uMTQ2LS4zNTR6IiBmaWxsPSIjQThDNkRGIi8+PC9zdmc+"},85027:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTE0LjUgOEgxNFY2LjVDMTQgNC4wMTkgMTEuOTgxIDIgOS41IDJTNSA0LjAxOSA1IDYuNVY4aC0uNUMzLjY3MyA4IDMgOC42NzMgMyA5LjV2OGMwIC44MjcuNjczIDEuNSAxLjUgMS41aDEwYy44MjcgMCAxLjUtLjY3MyAxLjUtMS41di04YzAtLjgyNy0uNjczLTEuNS0xLjUtMS41ek02IDYuNUM2IDQuNTcgNy41NyAzIDkuNSAzUzEzIDQuNTcgMTMgNi41VjhINlY2LjV6bTkgMTFhLjUuNSAwIDAgMS0uNS41aC0xMGEuNS41IDAgMCAxLS41LS41di04YS41LjUgMCAwIDEgLjUtLjVoMTBhLjUuNSAwIDAgMSAuNS41djh6IiBmaWxsPSIjMDA5M0VFIi8+PC9zdmc+"},43997:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0ibTEwLjcwNyAxMC41IDUuNjQ2LTUuNjQ2YS41LjUgMCAwIDAtLjcwNy0uNzA3TDEwIDkuNzkzIDQuMzU0IDQuMTQ3YS41LjUgMCAwIDAtLjcwNy43MDdMOS4yOTMgMTAuNWwtNS42NDYgNS42NDZhLjUuNSAwIDAgMCAuNzA4LjcwN2w1LjY0Ni01LjY0NiA1LjY0NiA1LjY0NmEuNDk4LjQ5OCAwIDAgMCAuNzA4IDAgLjUuNSAwIDAgMCAwLS43MDdMMTAuNzA5IDEwLjV6IiBmaWxsPSIjRkYxNTFGIi8+PC9zdmc+"},26753:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0ibTEwLjcwNyAxMC41IDUuNjQ2LTUuNjQ2YS41LjUgMCAwIDAtLjcwNy0uNzA3TDEwIDkuNzkzIDQuMzU0IDQuMTQ3YS41LjUgMCAwIDAtLjcwNy43MDdMOS4yOTMgMTAuNWwtNS42NDYgNS42NDZhLjUuNSAwIDAgMCAuNzA4LjcwN2w1LjY0Ni01LjY0NiA1LjY0NiA1LjY0NmEuNDk4LjQ5OCAwIDAgMCAuNzA4IDAgLjUuNSAwIDAgMCAwLS43MDdMMTAuNzA5IDEwLjV6IiBmaWxsPSIjMDA5M0VFIi8+PC9zdmc+"},32766:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0ibTE0LjMzMiAxNC4xMjYtN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I0ZGRiIvPjwvc3ZnPg=="},25539:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTE4LjUgMTlILjVhLjUuNSAwIDAgMS0uNDM2LS43NDZsOS0xNmEuNTAxLjUwMSAwIDAgMSAuODcyIDBsOSAxNkEuNTAzLjUwMyAwIDAgMSAxOC41IDE5ek0xLjM1NSAxOGgxNi4yOUw5LjUgMy41MiAxLjM1NSAxOHoiIGZpbGw9IiNGRkYiLz48cGF0aCBkPSJNOS41IDE0YS41LjUgMCAwIDEtLjUtLjV2LTVhLjUuNSAwIDAgMSAxIDB2NWEuNS41IDAgMCAxLS41LjV6bTAgM2EuNS41IDAgMCAxLS41LS41di0xYS41LjUgMCAwIDEgMSAwdjFhLjUuNSAwIDAgMS0uNS41eiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg=="},3626:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBmaWxsPSIjRUNGNUZEIiBzdHJva2U9IiNBOEM2REYiLz48Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSI0LjUiIGZpbGw9IiMwMDkzRUUiLz48L3N2Zz4="},80196:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBmaWxsPSIjRkZGIiBzdHJva2U9IiNBOEM2REYiLz48Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSI0LjUiIGZpbGw9IiMwMDkzRUUiLz48L3N2Zz4="},64918:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBmaWxsPSIjRUNGNUZEIiBzdHJva2U9IiNBOEM2REYiLz48L3N2Zz4="},79716:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBmaWxsPSIjRkZGIiBzdHJva2U9IiNBOEM2REYiLz48L3N2Zz4="},74777:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTE4LjUgMWgtNWEuNS41IDAgMCAwIDAgMWgzLjc5M2wtOC4xNDYgOC4xNDZhLjUuNSAwIDAgMC0uMTQ2LjM1NHY5YS41LjUgMCAwIDAgMSAwdi04Ljc5M2w4LThWNi41YS41LjUgMCAwIDAgMSAwdi01YS41LjUgMCAwIDAtLjUtLjV6TTcuODU0IDguMTQ2IDEuNzA4IDJoMy43OTNhLjUuNSAwIDAgMCAwLTFoLTVhLjUuNSAwIDAgMC0uNS41djVhLjUuNSAwIDAgMCAxIDBWMi43MDdsNi4xNDYgNi4xNDZhLjQ5OC40OTggMCAwIDAgLjcwOCAwIC41LjUgMCAwIDAgMC0uNzA3eiIgY2xhc3M9InRyaXBldHRvLWZpbGwiLz48L3N2Zz4="},74327:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg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xsIi8+PC9zdmc+"},91297:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0ibTYuOTYgMTYuMzAzLTEuMjg0LTIuOTk2LS4wMDItLjAwNC0xLjcxNC00YS41LjUgMCAwIDAtLjkyIDBsLTEuNzE0IDQtLjAwMi4wMDRMLjA0IDE2LjMwM2EuNS41IDAgMSAwIC45Mi4zOTRMMi4xMTYgMTRoMi43NjlsMS4xNTYgMi42OTdhLjUuNSAwIDAgMCAuNjU3LjI2Mi41MDEuNTAxIDAgMCAwIC4yNjMtLjY1N3pNMi41NDQgMTNsLjk1Ni0yLjIzMUw0LjQ1NiAxM0gyLjU0NHptMTcuNDE4IDMuMzA4LTIuMDgzLTUtLjAwMi0uMDA0LTIuOTE1LTYuOTk2YS41MDIuNTAyIDAgMCAwLS45MjQgMGwtMi45MTUgNi45OTYtLjAwMi4wMDQtMi4wODMgNWEuNS41IDAgMCAwIC45MjMuMzg1bDEuOTU1LTQuNjkyaDUuMTY3bDEuOTU1IDQuNjkyYS41LjUgMCAxIDAgLjkyMy0uMzg1ek0xMi4zMzMgMTEgMTQuNSA1LjhsMi4xNjcgNS4yaC00LjMzM3oiIGNsYXNzPSJ0cmlwZXR0by1maWxsIi8+PC9zdmc+"},35992:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTkuNSAxN2EuNS41IDAgMCAxLS41LS41di0zYS41LjUgMCAwIDEgLjUtLjVjMy4wMzMgMCA1LjUtMi40NjcgNS41LTUuNVMxMi41MzMgMiA5LjUgMiA0IDQuNDY3IDQgNy41YS41LjUgMCAwIDEtMSAwQzMgMy45MTYgNS45MTYg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05Ljk5OS03LjY0NnoiLz48L3N2Zz4="},8850:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHdpZHRoPSI0OCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPjxyZWN0IHJ5PSIyNCIgcng9IjI0IiBoZWlnaHQ9IjQ2IiB3aWR0aD0iNDYiIHk9IjEiIHg9IjEiIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNiN2QyZTU7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5OjIsMjtzdHJva2Utb3BhY2l0eToxO3N0cm9rZS1kYXNob2Zmc2V0OjAiLz48cGF0aCBzdHlsZT0iZmlsbDojYjdkMmU1O2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoxLjAwMDAwMDEyIiBkPSJNMzUuMzk5IDE2LjhoLTcuMmEuNi42IDAgMCAwIDAgMS4yaDUuNzUxTDIyLjIgMjkuNzUybC05LjE3NS05LjE3NmEuNi42IDAgMCAwLS44NDkuODQ5bDkuNiA5LjZhLjYwMy42MDMgMCAwIDAgLjg1IDBMMzQuOCAxOC44NXY1Ljc1YS42LjYgMCAwIDAgMS4yIDB2LTcuMmEuNi42IDAgMCAwLS42LS42WiIvPjwvc3ZnPg=="},24508:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHdpZHRoPSI0OCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPjxyZWN0IHJ5PSIyNCIgcng9IjI0IiBoZWlnaHQ9IjQ2IiB3aWR0aD0iNDYiIHk9IjEiIHg9IjEiIHN0eWxlPSJmaWxsOi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Utd2lkdGg6MSIgZD0iTTIxLjUyOSAxOS41MjhhLjY2Ny42NjcgMCAwIDAgMCAuOTQzbDIuODYxIDIuODYxSDhhLjY2Ny42NjcgMCAwIDAgMCAxLjMzM2gxNi4zOWwtMi44NjEgMi44NjJhLjY2Ny42NjcgMCAwIDAgLjk0Mi45NDJsNC00YS42Ny42NyAwIDAgMCAwLS45NDRsLTQtNGEuNjY3LjY2NyAwIDAgMC0uOTQyIDB6Ii8+PHBhdGggc3R5bGU9ImZpbGw6I2ZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2Utd2lkdGg6MSIgZD0iTTMyLjY2NyAxNnYxNmMwIDEuMTAzLS44OTggMi0yIDJIMTcuMzMzYy0xLjEwMiAwLTItLjg5Ny0yLTJ2LTUuMzMzYS42NjcuNjY3IDAgMCAxIDEuMzM0IDBWMzJjMCAuMzY4LjI5OC42NjcuNjY2LjY2N2gxMy4zMzRhLjY2Ny42NjcgMCAwIDAgLjY2Ni0uNjY3VjE2YS42NjcuNjY3IDAgMCAwLS42NjYtLjY2N0gxNy4zMzNhLjY2Ny42NjcgMCAwIDAtLjY2Ni42Njd2NS4zMzNhLjY2Ny42NjcgMCAwIDEtMS4zMzQgMFYxNmMwLTEuMTAzLjg5OC0yIDItMmgxMy4zMzRjMS4xMDIgMCAyIC44OTcgMiAyeiIvPjwvc3ZnPg=="},70055:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iMTYiIGhlaWdodD0iOCI+PHBhdGggZmlsbD0icmdiYSg0NCw2NCw5MCwwLjkpIiBkPSJtMCA4IDgtOCA4IDh6Ii8+PC9zdmc+"},83459:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iOCIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0icmdiYSg0NCw2NCw5MCwwLjkpIiBkPSJtMCAwIDggOC04IDh6Ii8+PC9zdmc+"},65306:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iOCIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0icmdiYSg0NCw2NCw5MCwwLjkpIiBkPSJNOCAxNiAwIDhsOC04eiIvPjwvc3ZnPg=="},52843:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iMTYiIGhlaWdodD0iOCI+PHBhdGggZmlsbD0icmdiYSg0NCw2NCw5MCwwLjkpIiBkPSJNMTYgMCA4IDggMCAweiIvPjwvc3ZnPg=="},80511:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyBpbWFnZS1yZW5kZXJpbmc9Im9wdGltaXplUXVhbGl0eSIgdGV4dC1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iNTQ4IDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgNTQ4IDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Im01NzAgMTYuNC02IDYtNi02IC40LS40IDUuNiA1LjYgNS42LTUuNi40LjR6Ii8+PC9zdmc+"},95212:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyBpbWFnZS1yZW5kZXJpbmc9Im9wdGltaXplUXVhbGl0eSIgdGV4dC1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iNTQ4IDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgNTQ4IDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Im01NTggMTUuNiA2LTYgNiA2LS40LjQtNS42LTUuNi01LjYgNS42LS40LS40eiIvPjwvc3ZnPg=="},12886:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwuMjUpIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Im0xMy4yIDEwLjMgNS42IDUuNy01LjYgNS43Ii8+PC9zdmc+"},6683:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRiIg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OSAyNDkwbDE0MS0xNDEgMjA5MCAyMDkwIDIwOTAtMjA5MCAxNDEgMTQxem0wLTEwMDBMMjkwMCAzNzIyIDY2OSAxNDkwbDE0MS0xNDEgMjA5MCAyMDkwIDIwOTAtMjA5MCAxNDEgMTQxeiIvPjwvc3ZnPg=="},50994:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0ZGRiIgc3Ryb2tlPSIjRkZGIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wIDhoMTZtLTggOFYwIi8+PC9zdmc+"},87391:function(e,t,i){"use strict";i.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0ZGRiIgc3Ryb2tlPSIjRkZGIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wIDhoMTYiLz48L3N2Zz4="},75933:function(e,t,i){var n;!function(){function o(e,t,i){return e.call.apply(e.bind,arguments)}function r(e,t,i){if(!e)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var i=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(i,n),e.apply(t,i)}}return function(){return e.apply(t,arguments)}}function s(e,t,i){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?o:r).apply(null,arguments)}var a=Date.now||function(){return+new Date};function l(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function u(e,t,i,n){if(t=e.c.createElement(t),i)for(var o in i)i.hasOwnProperty(o)&&("style"==o?t.style.cssText=i[o]:t.setAttribute(o,i[o]));return n&&t.appendChild(e.c.createTextNode(n)),t}function p(e,t,i){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(i,e.lastChild)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,i){t=t||[],i=i||[];for(var n=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var r=!1,s=0;s<n.length;s+=1)if(t[o]===n[s]){r=!0;break}r||n.push(t[o])}for(t=[],o=0;o<n.length;o+=1){for(r=!1,s=0;s<i.length;s+=1)if(n[o]===i[s]){r=!0;break}r||t.push(n[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function m(e,t){for(var i=e.className.split(/\s+/),n=0,o=i.length;n<o;n++)if(i[n]==t)return!0;return!1}function f(e,t,i){function n(){a&&o&&r&&(a(s),a=null)}t=u(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,r=!0,s=null,a=i||null;c?(t.onload=function(){o=!0,n()},t.onerror=function(){o=!0,s=Error("Stylesheet failed to load"),n()}):setTimeout((function(){o=!0,n()}),0),p(e,"head",t)}function g(e,t,i,n){var o=e.c.getElementsByTagName("head")[0];if(o){var r=u(e,"script",{src:t}),s=!1;return r.onload=r.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,i&&i(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&o.removeChild(r))},o.appendChild(r),setTimeout((function(){s||(s=!0,i&&i(Error("Script load timeout")))}),n||5e3),r}return null}function y(){this.a=0,this.c=null}function b(e){return e.a++,function(){e.a--,M(e)}}function v(e,t){e.c=t,M(e)}function M(e){0==e.a&&e.c&&(e.c(),e.c=null)}function _(e){this.a=e||"-"}function S(e,t){this.c=e,this.f=4,this.a="n";var i=(t||"n4").match(/^([nio])([1-9])$/i);i&&(this.a=i[1],this.f=parseInt(i[2],10))}function I(e){var t=[];e=e.split(/,\s*/);for(var i=0;i<e.length;i++){var n=e[i].replace(/['"]/g,"");-1!=n.indexOf(" ")||/^\d/.test(n)?t.push("'"+n+"'"):t.push(n)}return t.join(",")}function T(e){return e.a+e.f}function N(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function j(e){var t=4,i="n",n=null;return e&&((n=e.match(/(normal|oblique|italic)/i))&&n[1]&&(i=n[1].substr(0,1).toLowerCase()),(n=e.match(/([1-9]00|normal|bold)/i))&&n[1]&&(/bold/i.test(n[1])?t=7:/[1-9]00/.test(n[1])&&(t=parseInt(n[1].substr(0,1),10)))),i+t}function w(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new _("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function L(e){if(e.g){var t=m(e.f,e.a.c("wf","active")),i=[],n=[e.a.c("wf","loading")];t||i.push(e.a.c("wf","inactive")),d(e.f,i,n)}C(e,"inactive")}function C(e,t,i){e.j&&e.h[t]&&(i?e.h[t](i.c,T(i)):e.h[t]())}function O(){this.c={}}function D(e,t){this.c=e,this.f=t,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function x(e){p(e.c,"body",e.a)}function A(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+I(e.c)+";font-style:"+N(e)+";font-weight:"+e.f+"00;"}function k(e,t,i,n,o,r){this.g=e,this.j=t,this.a=n,this.c=i,this.f=o||3e3,this.h=r||void 0}function z(e,t,i,n,o,r,s){this.v=e,this.B=t,this.c=i,this.a=n,this.s=s||"BESbswy",this.f={},this.w=o||3e3,this.u=r||null,this.m=this.j=this.h=this.g=null,this.g=new D(this.c,this.s),this.h=new D(this.c,this.s),this.j=new D(this.c,this.s),this.m=new D(this.c,this.s),e=A(e=new S(this.a.c+",serif",T(this.a))),this.g.a.style.cssText=e,e=A(e=new S(this.a.c+",sans-serif",T(this.a))),this.h.a.style.cssText=e,e=A(e=new S("serif",T(this.a))),this.j.a.style.cssText=e,e=A(e=new S("sans-serif",T(this.a))),this.m.a.style.cssText=e,x(this.g),x(this.h),x(this.j),x(this.m)}_.prototype.c=function(e){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},k.prototype.start=function(){var e=this.c.o.document,t=this,i=a(),n=new Promise((function(n,o){!function r(){a()-i>=t.f?o():e.fonts.load(function(e){return N(e)+" "+e.f+"00 300px "+I(e.c)}(t.a),t.h).then((function(e){1<=e.length?n():setTimeout(r,25)}),(function(){o()}))}()})),o=null,r=new Promise((function(e,i){o=setTimeout(i,t.f)}));Promise.race([r,n]).then((function(){o&&(clearTimeout(o),o=null),t.g(t.a)}),(function(){t.j(t.a)}))};var P={D:"serif",C:"sans-serif"},E=null;function H(){if(null===E){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);E=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return E}function F(e,t,i){for(var n in P)if(P.hasOwnProperty(n)&&t===e.f[P[n]]&&i===e.f[P[n]])return!0;return!1}function R(e){var t,i=e.g.a.offsetWidth,n=e.h.a.offsetWidth;(t=i===e.f.serif&&n===e.f["sans-serif"])||(t=H()&&F(e,i,n)),t?a()-e.A>=e.w?H()&&F(e,i,n)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?B(e,e.v):B(e,e.B):function(e){setTimeout(s((function(){R(this)}),e),50)}(e):B(e,e.v)}function B(e,t){setTimeout(s((function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),t(this.a)}),e),0)}function Y(e,t,i){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=i}z.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),R(this)};var Z=null;function U(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&d(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),C(e,"active")):L(e.a))}function W(e){this.j=e,this.a=new O,this.h=0,this.f=this.g=!0}function G(e,t,i,n,o){var r=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=o||null,a=n||{};if(0===i.length&&r)L(t.a);else{t.f+=i.length,r&&(t.j=r);var l,c=[];for(l=0;l<i.length;l++){var u=i[l],p=a[u.c],h=t.a,m=u;if(h.g&&d(h.f,[h.a.c("wf",m.c,T(m).toString(),"loading")]),C(h,"fontloading",m),h=null,null===Z)if(window.FontFace){m=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var f=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Z=m?42<parseInt(m[1],10):!f}else Z=!1;h=Z?new k(s(t.g,t),s(t.h,t),t.c,u,t.s,p):new z(s(t.g,t),s(t.h,t),t.c,u,t.s,e,p),c.push(h)}for(l=0;l<c.length;l++)c[l].start()}}),0)}function V(e,t){this.c=e,this.a=t}function Q(e,t){this.c=e,this.a=t}function X(e,t){this.c=e||J,this.a=[],this.f=[],this.g=t||""}Y.prototype.g=function(e){var t=this.a;t.g&&d(t.f,[t.a.c("wf",e.c,T(e).toString(),"active")],[t.a.c("wf",e.c,T(e).toString(),"loading"),t.a.c("wf",e.c,T(e).toString(),"inactive")]),C(t,"fontactive",e),this.m=!0,U(this)},Y.prototype.h=function(e){var t=this.a;if(t.g){var i=m(t.f,t.a.c("wf",e.c,T(e).toString(),"active")),n=[],o=[t.a.c("wf",e.c,T(e).toString(),"loading")];i||n.push(t.a.c("wf",e.c,T(e).toString(),"inactive")),d(t.f,n,o)}C(t,"fontinactive",e),U(this)},W.prototype.load=function(e){this.c=new l(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,i){var n=[],o=i.timeout;!function(e){e.g&&d(e.f,[e.a.c("wf","loading")]),C(e,"loading")}(t);n=function(e,t,i){var n,o=[];for(n in t)if(t.hasOwnProperty(n)){var r=e.c[n];r&&o.push(r(t[n],i))}return o}(e.a,i,e.c);var r=new Y(e.c,t,o);for(e.h=n.length,t=0,i=n.length;t<i;t++)n[t].load((function(t,i,n){G(e,r,t,i,n)}))}(this,new w(this.c,e),e)},V.prototype.load=function(e){function t(){if(r["__mti_fntLst"+n]){var i,o=r["__mti_fntLst"+n](),s=[];if(o)for(var a=0;a<o.length;a++){var l=o[a].fontfamily;null!=o[a].fontStyle&&null!=o[a].fontWeight?(i=o[a].fontStyle+o[a].fontWeight,s.push(new S(l,i))):s.push(new S(l))}e(s)}else setTimeout((function(){t()}),50)}var i=this,n=i.a.projectId,o=i.a.version;if(n){var r=i.c.o;g(this.c,(i.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(o?"?v="+o:""),(function(o){o?e([]):(r["__MonotypeConfiguration__"+n]=function(){return i.a},t())})).id="__MonotypeAPIScript__"+n}else e([])},Q.prototype.load=function(e){var t,i,n=this.a.urls||[],o=this.a.families||[],r=this.a.testStrings||{},s=new y;for(t=0,i=n.length;t<i;t++)f(this.c,n[t],b(s));var a=[];for(t=0,i=o.length;t<i;t++)if((n=o[t].split(":"))[1])for(var l=n[1].split(","),c=0;c<l.length;c+=1)a.push(new S(n[0],l[c]));else a.push(new S(n[0]));v(s,(function(){e(a,r)}))};var J="https://fonts.googleapis.com/css";function q(e){this.f=e,this.a=[],this.c={}}var K={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},$={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ie(e,t){this.c=e,this.a=t}var ne={Arimo:!0,Cousine:!0,Tinos:!0};function oe(e,t){this.c=e,this.a=t}function re(e,t){this.c=e,this.f=t,this.a=[]}ie.prototype.load=function(e){var t=new y,i=this.c,n=new X(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var i=t.length,n=0;n<i;n++){var o=t[n].split(":");3==o.length&&e.f.push(o.pop());var r="";2==o.length&&""!=o[1]&&(r=":"),e.a.push(o.join(r))}}(n,o);var r=new q(o);!function(e){for(var t=e.f.length,i=0;i<t;i++){var n=e.f[i].split(":"),o=n[0].replace(/\+/g," "),r=["n4"];if(2<=n.length){var s;if(s=[],a=n[1])for(var a,l=(a=a.split(",")).length,c=0;c<l;c++){var u;if((u=a[c]).match(/^[\w-]+$/))if(null==(p=te.exec(u.toLowerCase())))u="";else{if(u=null==(u=p[2])||""==u?"n":ee[u],null==(p=p[1])||""==p)p="4";else var p=$[p]||(isNaN(p)?"4":p.substr(0,1));u=[u,p].join("")}else u="";u&&s.push(u)}0<s.length&&(r=s),3==n.length&&(s=[],0<(n=(n=n[2])?n.split(","):s).length&&(n=K[n[0]])&&(e.c[o]=n))}for(e.c[o]||(n=K[o])&&(e.c[o]=n),n=0;n<r.length;n+=1)e.a.push(new S(o,r[n]))}}(r),f(i,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,i=[],n=0;n<t;n++)i.push(e.a[n].replace(/ /g,"+"));return t=e.c+"?family="+i.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(n),b(t)),v(t,(function(){e(r.a,r.c,ne)}))},oe.prototype.load=function(e){var t=this.a.id,i=this.c.o;t?g(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(i.Typekit&&i.Typekit.config&&i.Typekit.config.fn){t=i.Typekit.config.fn;for(var n=[],o=0;o<t.length;o+=2)for(var r=t[o],s=t[o+1],a=0;a<s.length;a++)n.push(new S(r,s[a]));try{i.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(n)}}),2e3):e([])},re.prototype.load=function(e){var t=this.f.id,i=this.c.o,n=this;t?(i.__webfontfontdeckmodule__||(i.__webfontfontdeckmodule__={}),i.__webfontfontdeckmodule__[t]=function(t,i){for(var o=0,r=i.fonts.length;o<r;++o){var s=i.fonts[o];n.a.push(new S(s.name,j("font-weight:"+s.weight+";font-style:"+s.style)))}e(n.a)},g(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var se=new W(window);se.a.c.custom=function(e,t){return new Q(t,e)},se.a.c.fontdeck=function(e,t){return new re(t,e)},se.a.c.monotype=function(e,t){return new V(t,e)},se.a.c.typekit=function(e,t){return new oe(t,e)},se.a.c.google=function(e,t){return new ie(t,e)};var ae={load:s(se.load,se)};void 0===(n=function(){return ae}.call(t,i,t,e))||(e.exports=n)}()},82302:function(e,t,i){var n=i(29970).FilterCSS,o=i(29970).getDefaultWhiteList,r=i(75938);function s(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var a=new n;function l(e){return e.replace(c,"&lt;").replace(u,"&gt;")}var c=/</g,u=/>/g,p=/"/g,h=/&quot;/g,d=/&#([a-zA-Z0-9]*);?/gim,m=/&colon;?/gim,f=/&newline;?/gim,g=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,y=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,b=/u\s*r\s*l\s*\(.*/gi;function v(e){return e.replace(p,"&quot;")}function M(e){return e.replace(h,'"')}function _(e){return e.replace(d,(function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))}))}function S(e){return e.replace(m,":").replace(f," ")}function I(e){for(var t="",i=0,n=e.length;i<n;i++)t+=e.charCodeAt(i)<32?" ":e.charAt(i);return r.trim(t)}function T(e){return e=I(e=S(e=_(e=M(e))))}function N(e){return e=l(e=v(e))}t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},t.getDefaultWhiteList=s,t.onTag=function(e,t,i){},t.onIgnoreTag=function(e,t,i){},t.onTagAttr=function(e,t,i){},t.onIgnoreTagAttr=function(e,t,i){},t.safeAttrValue=function(e,t,i,n){if(i=T(i),"href"===t||"src"===t){if("#"===(i=r.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(g.lastIndex=0,g.test(i))return""}else if("style"===t){if(y.lastIndex=0,y.test(i))return"";if(b.lastIndex=0,b.test(i)&&(g.lastIndex=0,g.test(i)))return"";!1!==n&&(i=(n=n||a).process(i))}return i=N(i)},t.escapeHtml=l,t.escapeQuote=v,t.unescapeQuote=M,t.escapeHtmlEntities=_,t.escapeDangerHtml5Entities=S,t.clearNonPrintableCharacter=I,t.friendlyAttrValue=T,t.escapeAttrValue=N,t.onIgnoreTagStripAll=function(){return""},t.StripTagBody=function(e,t){"function"!=typeof t&&(t=function(){});var i=!Array.isArray(e),n=[],o=!1;return{onIgnoreTag:function(s,a,l){if(function(t){return!!i||-1!==r.indexOf(e,t)}(s)){if(l.isClosing){var c="[/removed]",u=l.position+c.length;return n.push([!1!==o?o:l.position,u]),o=!1,c}return o||(o=l.position),"[removed]"}return t(s,a,l)},remove:function(e){var t="",i=0;return r.forEach(n,(function(n){t+=e.slice(i,n[0]),i=n[1]})),t+=e.slice(i)}}},t.stripCommentTag=function(e){for(var t="",i=0;i<e.length;){var n=e.indexOf("\x3c!--",i);if(-1===n){t+=e.slice(i);break}t+=e.slice(i,n);var o=e.indexOf("--\x3e",n);if(-1===o)break;i=o+3}return t},t.stripBlankChar=function(e){var t=e.split("");return(t=t.filter((function(e){var t=e.charCodeAt(0);return 127!==t&&(!(t<=31)||(10===t||13===t))}))).join("")},t.cssFilter=a,t.getDefaultCSSWhiteList=o},68924:function(e,t,i){var n=i(82302),o=i(73268),r=i(82973);function s(e,t){return new r(t).process(e)}for(var a in(t=e.exports=s).filterXSS=s,t.FilterXSS=r,n)t[a]=n[a];for(var a in o)t[a]=o[a];"undefined"!=typeof window&&(window.filterXSS=e.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=e.exports)},73268:function(e,t,i){var n=i(75938);function o(e){var t=n.spaceIndex(e);if(-1===t)var i=e.slice(1,-1);else i=e.slice(1,t+1);return"/"===(i=n.trim(i).toLowerCase()).slice(0,1)&&(i=i.slice(1)),"/"===i.slice(-1)&&(i=i.slice(0,-1)),i}function r(e){return"</"===e.slice(0,2)}var s=/[^a-zA-Z0-9_:\.\-]/gim;function a(e,t){for(;t<e.length;t++){var i=e[t];if(" "!==i)return"="===i?t:-1}}function l(e,t){for(;t>0;t--){var i=e[t];if(" "!==i)return"="===i?t:-1}}function c(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}t.parseTag=function(e,t,i){"use strict";var n="",s=0,a=!1,l=!1,c=0,u=e.length,p="",h="";e:for(c=0;c<u;c++){var d=e.charAt(c);if(!1===a){if("<"===d){a=c;continue}}else if(!1===l){if("<"===d){n+=i(e.slice(s,c)),a=c,s=c;continue}if(">"===d){n+=i(e.slice(s,a)),p=o(h=e.slice(a,c+1)),n+=t(a,n.length,p,h,r(h)),s=c+1,a=!1;continue}if('"'===d||"'"===d)for(var m=1,f=e.charAt(c-m);""===f.trim()||"="===f;){if("="===f){l=d;continue e}f=e.charAt(c-++m)}}else if(d===l){l=!1;continue}}return s<e.length&&(n+=i(e.substr(s))),n},t.parseAttr=function(e,t){"use strict";var i=0,o=[],r=!1,u=e.length;function p(e,i){if(!((e=(e=n.trim(e)).replace(s,"").toLowerCase()).length<1)){var r=t(e,i||"");r&&o.push(r)}}for(var h=0;h<u;h++){var d,m=e.charAt(h);if(!1!==r||"="!==m)if(!1===r||h!==i||'"'!==m&&"'"!==m||"="!==e.charAt(h-1))if(/\s|\n|\t/.test(m)){if(e=e.replace(/\s|\n|\t/g," "),!1===r){if(-1===(d=a(e,h))){p(n.trim(e.slice(i,h))),r=!1,i=h+1;continue}h=d-1;continue}if(-1===(d=l(e,h-1))){p(r,c(n.trim(e.slice(i,h)))),r=!1,i=h+1;continue}}else;else{if(-1===(d=e.indexOf(m,h+1)))break;p(r,n.trim(e.slice(i+1,d))),r=!1,i=(h=d)+1}else r=e.slice(i,h),i=h+1}return i<e.length&&(!1===r?p(e.slice(i)):p(r,c(n.trim(e.slice(i))))),n.trim(o.join(" "))}},75938:function(e){e.exports={indexOf:function(e,t){var i,n;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var n,o;if(Array.prototype.forEach)return e.forEach(t,i);for(n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}}},82973:function(e,t,i){var n=i(29970).FilterCSS,o=i(82302),r=i(73268),s=r.parseTag,a=r.parseAttr,l=i(75938);function c(e){return null==e}function u(e){(e=function(e){var t={};for(var i in e)t[i]=e[i];return t}(e||{})).stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=o.onIgnoreTagStripAll),e.whiteList=e.whiteList||e.allowList||o.whiteList,e.onTag=e.onTag||o.onTag,e.onTagAttr=e.onTagAttr||o.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||o.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||o.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||o.safeAttrValue,e.escapeHtml=e.escapeHtml||o.escapeHtml,this.options=e,!1===e.css?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new n(e.css))}u.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,i=t.whiteList,n=t.onTag,r=t.onIgnoreTag,u=t.onTagAttr,p=t.onIgnoreTagAttr,h=t.safeAttrValue,d=t.escapeHtml,m=this.cssFilter;t.stripBlankChar&&(e=o.stripBlankChar(e)),t.allowCommentTag||(e=o.stripCommentTag(e));var f=!1;if(t.stripIgnoreTagBody){f=o.StripTagBody(t.stripIgnoreTagBody,r);r=f.onIgnoreTag}var g=s(e,(function(e,t,o,s,f){var g,y={sourcePosition:e,position:t,isClosing:f,isWhite:i.hasOwnProperty(o)};if(!c(g=n(o,s,y)))return g;if(y.isWhite){if(y.isClosing)return"</"+o+">";var b=function(e){var t=l.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=l.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=l.trim(e.slice(0,-1))),{html:e,closing:i}}(s),v=i[o],M=a(b.html,(function(e,t){var i,n=-1!==l.indexOf(v,e);return c(i=u(o,e,t,n))?n?(t=h(o,e,t,m))?e+'="'+t+'"':e:c(i=p(o,e,t,n))?void 0:i:i}));s="<"+o;return M&&(s+=" "+M),b.closing&&(s+=" /"),s+=">"}return c(g=r(o,s,y))?d(s):g}),d);return f&&(g=f.remove(g)),g},e.exports=u}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,i),r.exports}return i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(66110)}()}));
\No newline at end of file