!function(e){function t(e){delete installedChunks[e]}function n(e){var t=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.src=g.p+""+e+"."+m+".hot-update.js",t.appendChild(n)}function r(e){return e=e||1e4,new Promise(function(t,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var r=new XMLHttpRequest,o=g.p+""+m+".hot-update.json";r.open("GET",o,!0),r.timeout=e,r.send(null)}catch(e){return n(e)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)n(new Error("Manifest request to "+o+" timed out."));else if(404===r.status)t();else if(200!==r.status&&304!==r.status)n(new Error("Manifest request to "+o+" failed."));else{try{var e=JSON.parse(r.responseText)}catch(e){return void n(e)}t(e)}}})}function o(e){var t=T[e];if(!t)return g;var n=function(n){return t.hot.active?(T[n]?T[n].parents.indexOf(e)<0&&T[n].parents.push(e):(w=[e],d=n),t.children.indexOf(n)<0&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),w=[]),g(n)};for(var r in g)Object.prototype.hasOwnProperty.call(g,r)&&"e"!==r&&Object.defineProperty(n,r,function(e){return{configurable:!0,enumerable:!0,get:function(){return g[e]},set:function(t){g[e]=t}}}(r));return n.e=function(e){function t(){_--,"prepare"===k&&(M[e]||c(e),0===_&&0===O&&A())}return"ready"===k&&a("prepare"),_++,g.e(e).then(t,function(e){throw t(),e})},n}function i(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:d!==e,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&t._disposeHandlers.splice(n,1)},check:s,apply:f,status:function(e){if(!e)return k;E.push(e)},addStatusHandler:function(e){E.push(e)},removeStatusHandler:function(e){var t=E.indexOf(e);t>=0&&E.splice(t,1)},data:y[e]};return d=void 0,t}function a(e){k=e;for(var t=0;t0;){var i=o.pop(),a=i.id,l=i.chain;if((u=T[a])&&!u.hot._selfAccepted){if(u.hot._selfDeclined)return{type:"self-declined",chain:l,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:l,moduleId:a};for(var s=0;s=0||(A.hot._acceptedDependencies[a]?(n[c]||(n[c]=[]),r(n[c],[a])):(delete n[c],t.push(c),o.push({chain:l.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}(c):{type:"disposed",moduleId:h};var b=!1,x=!1,E=!1,O="";switch(v.chain&&(O="\nUpdate propagation: "+v.chain.join(" -> ")),v.type){case"self-declined":n.onDeclined&&n.onDeclined(v),n.ignoreDeclined||(b=new Error("Aborted because of self decline: "+v.moduleId+O));break;case"declined":n.onDeclined&&n.onDeclined(v),n.ignoreDeclined||(b=new Error("Aborted because of declined dependency: "+v.moduleId+" in "+v.parentId+O));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(v),n.ignoreUnaccepted||(b=new Error("Aborted because "+c+" is not accepted"+O));break;case"accepted":n.onAccepted&&n.onAccepted(v),x=!0;break;case"disposed":n.onDisposed&&n.onDisposed(v),E=!0;break;default:throw new Error("Unexception type "+v.type)}if(b)return a("abort"),Promise.reject(b);if(x){p[c]=C[c],r(f,v.outdatedModules);for(c in v.outdatedDependencies)Object.prototype.hasOwnProperty.call(v.outdatedDependencies,c)&&(A[c]||(A[c]=[]),r(A[c],v.outdatedDependencies[c]))}E&&(r(f,[v.moduleId]),p[c]=d)}var _=[];for(i=0;i0;)if(c=P.pop(),u=T[c]){var j={},N=u.hot._disposeHandlers;for(s=0;s=0&&L.parents.splice(M,1))}}var B,R;for(c in A)if(Object.prototype.hasOwnProperty.call(A,c)&&(u=T[c]))for(R=A[c],s=0;s=0&&u.children.splice(M,1);a("apply"),m=I;for(c in p)Object.prototype.hasOwnProperty.call(p,c)&&(e[c]=p[c]);var q=null;for(c in A)if(Object.prototype.hasOwnProperty.call(A,c)){u=T[c],R=A[c];var D=[];for(i=0;i=0||D.push(o);for(i=0;i1?t-1:0),r=1;r0?o(r(e),9007199254740991):0}},function(e,t,n){e.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=n(720)()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(939);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(226);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(942);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var l=n(943);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(l).default}});var s=n(945);Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return r(s).default}});var u=n(949);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(u).default}});var c=n(367);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var A=n(956);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(A).default}})},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(p)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[h]=n}function a(e){var t=e._hostNode;t&&(delete t[h],e._hostNode=null)}function l(e,t){if(!(e._flags&d.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var l in n)if(n.hasOwnProperty(l)){var s=n[l],u=o(s)._domID;if(0!==u){for(;null!==a;a=a.nextSibling)if(r(a,u)){i(s,a);continue e}A("32",u)}}e._flags|=d.hasCachedChildNodes}}function s(e){if(e[h])return e[h];for(var t=[];!e[h];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[h]);e=t.pop())n=r,t.length&&l(r,e);return n}function u(e){var t=s(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode&&A("33"),e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent||A("34"),e=e._hostParent;for(;t.length;e=t.pop())l(e,e._hostNode);return e._hostNode}var A=n(14),f=n(88),g=n(238),p=(n(10),f.ID_ATTRIBUTE_NAME),d=g,h="__reactInternalInstance$"+Math.random().toString(36).slice(2),C={getClosestInstanceFromNode:s,getInstanceFromNode:u,getNodeFromInstance:c,precacheChildNodes:l,precacheNode:i,uncacheNode:a};e.exports=C},function(e,t,n){var r=n(9),o=n(268),i=n(51),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(52);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){MODALS_CONTAINER&&MODALS_CONTAINER.show(e)}function i(e){MODALS_CONTAINER&&MODALS_CONTAINER.close(null,e)}function a(e,t,n,r,o){MODALS_CONTAINER&&MODALS_CONTAINER.confirm(e,t,n,r,o)}function l(e){MODALS_CONTAINER&&MODALS_CONTAINER.alert(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.alert=t.confirm=t.hideModal=t.showModal=t.ModalsContainer=t.Modal=t.TextInputModal=void 0;var s=n(868),u=r(s),c=n(875),A=r(c),f=n(883),g=r(f);t.TextInputModal=g.default,t.Modal=A.default,t.ModalsContainer=u.default,t.showModal=o,t.hideModal=i,t.confirm=a,t.alert=l,t.default=A.default},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){var r=n(24),o=n(73);e.exports=n(20)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(11),o=n(30),i=n(37),a=n(74)("src"),l=n(504),s=(""+l).split("toString");n(43).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,l){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:l?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||l.call(this)})},function(e,t,n){var r=n(1),o=n(13),i=n(52),a=/"/g,l=function(e,t,n,r){var o=String(i(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(r).replace(a,""")+'"'),l+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(l),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t,n){"use strict";function r(e){return"[object Array]"===E.call(e)}function o(e){return void 0===e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function a(e){return"[object ArrayBuffer]"===E.call(e)}function l(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function c(e){return"number"==typeof e}function A(e){return null!==e&&"object"==typeof e}function f(e){return"[object Date]"===E.call(e)}function g(e){return"[object File]"===E.call(e)}function p(e){return"[object Blob]"===E.call(e)}function d(e){return"[object Function]"===E.call(e)}function h(e){return A(e)&&d(e.pipe)}function C(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function I(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function v(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function m(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n0?r:n)(e)}},function(e,t,n){"use strict";var r=n(13);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var r=n(312),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var o=n(953),i=r(o),a=n(955),l=r(a),s=(t.simpleCheckForValidColor=function(e){var t=["r","g","b","a","h","s","l","v"],n=0,r=0;return(0,i.default)(t,function(t){if(e[t]&&(n+=1,isNaN(e[t])||(r+=1),"s"===t||"l"===t)){/^\d+%$/.test(e[t])&&(r+=1)}}),n===r&&e},t.toState=function(e,t){var n=e.hex?(0,l.default)(e.hex):(0,l.default)(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}});t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,l.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=s(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(1),o=n(43),i=n(13);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(44),o=n(104),i=n(25),a=n(19),l=n(194);e.exports=function(e,t){var n=1==e,s=2==e,u=3==e,c=4==e,A=6==e,f=5==e||A,g=t||l;return function(t,l,p){for(var d,h,C=i(t),I=o(C),v=r(l,p,3),m=a(I.length),b=0,y=n?g(t,m):s?g(t,0):void 0;m>b;b++)if((f||b in I)&&(d=I[b],h=v(d,b,C),e))if(n)y[b]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:y.push(d)}else if(c)return!1;return A?-1:u||c?c:y}}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(149),i=r(o),a=n(110),l=r(a),s=function(){var e=this;this.get=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.default.get(e,t?null:i.default.getToken(),n)},this.post=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.default.post(e,t,i.default.getToken(),n)},this.put=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.default.put(e,t,i.default.getToken(),n)},this.delete=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.delete(e,i.default.getToken(),t)},this.postFile=function(e,t,n){var r=new FormData;return r.append("file",n,t),l.default.postMultipartFormData(e,r,i.default.getToken())},this.getLanguages=function(){return l.default.get("https://api.appdataroom.com/2/languages/userlist.json?access_token="+i.default.getToken()).then(function(t){var n=t.languages;return e.get("https://api3.appdataroom.com/accounts/me?platform=ios").then(function(e){var t={};return e.languages.map(function(e){var r=n[e.id];t[r.code]=r}),t})})}};t.default=new s},function(e,t,n){"use strict";var r={current:null};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var l=o[i];l?this[i]=l(n):"target"===i?this.target=r:this[i]=n[i]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?a.thatReturnsTrue:a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(18),i=n(71),a=n(50),l=(n(16),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;nn;)o[n]=t[n++];return o},Me=function(e,t,n){Q(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,o,i,a,l=y(e),s=arguments.length,c=s>1?arguments[1]:void 0,A=void 0!==c,f=O(l);if(void 0!=f&&!w(f)){for(a=f.call(l),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);l=r}for(A&&s>2&&(c=u(c,arguments[2],2)),t=0,n=d(l.length),o=ke(this,n);n>t;t++)o[t]=A?c(l[t],t):l[t];return o},Se=function(){for(var e=0,t=arguments.length,n=ke(this,t);t>e;)n[e]=arguments[e++];return n},Te=!!V&&i(function(){ge.call(new V(1))}),je=function(){return ge.apply(Te?Ae.call(Ee(this)):Ee(this),arguments)},Ne={copyWithin:function(e,t){return q.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Ee(this),arguments)},filter:function(e){return Oe(this,Z(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return $(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Ee(this),arguments)},lastIndexOf:function(e){return ae.apply(Ee(this),arguments)},map:function(e){return be(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Ee(this),arguments)},reduceRight:function(e){return se.apply(Ee(this),arguments)},reverse:function(){for(var e,t=this,n=Ee(t).length,r=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(e){return ce.call(Ee(this),e)},subarray:function(e,t){var n=Ee(this),r=n.length,o=C(e,r);return new(T(n,n[Ce]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,d((void 0===t?r:C(t,r))-o))}},Le=function(e,t){return Oe(this,Ae.call(Ee(this),e,t))},Be=function(e){Ee(this);var t=xe(arguments[1],1),n=this.length,r=y(e),o=d(r.length),i=0;if(o+t>n)throw U("Wrong length!");for(;i255?255:255&r),o.v[g](n*t+o.o,r,ye)},M=function(e,t){Q(e,t,{get:function(){return O(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};v?(p=n(function(e,n,r,o){c(e,p,u,"_d");var i,a,l,s,A=0,g=0;if(b(n)){if(!(n instanceof Y||"ArrayBuffer"==(s=m(n))||"SharedArrayBuffer"==s))return ve in n?_e(p,n):Pe.call(p,n);i=n,g=xe(r,t);var C=n.byteLength;if(void 0===o){if(C%t)throw U("Wrong length!");if((a=C-g)<0)throw U("Wrong length!")}else if((a=d(o)*t)+g>C)throw U("Wrong length!");l=a/t}else l=h(n),a=l*t,i=new Y(a);for(f(e,"_d",{b:i,o:g,l:a,e:l,v:new G(i)});A<[b][r]><[/][p]>/g,n="",r=[];if(void 0!==e){for(var o=e.split(t),i=0;idocument.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(270),o=n(179).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(11),o=n(24),i=n(20),a=n(17)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(44),o=n(283),i=n(191),a=n(9),l=n(19),s=n(193),u={},c={},t=e.exports=function(e,t,n,A,f){var g,p,d,h,C=f?function(){return e}:s(e),I=r(n,A,t?2:1),v=0;if("function"!=typeof C)throw TypeError(e+" is not iterable!");if(i(C)){for(g=l(e.length);g>v;v++)if((h=t?I(a(p=e[v])[0],p[1]):I(e[v]))===u||h===c)return h}else for(d=C.call(e);!(p=d.next()).done;)if((h=o(d,I,p.value,t))===u||h===c)return h};t.BREAK=u,t.RETURN=c},function(e,t,n){var r=n(31);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){function r(e){return null==e?void 0===e?s:l:u&&u in Object(e)?i(e):a(e)}var o=n(94),i=n(724),a=n(725),l="[object Null]",s="[object Undefined]",u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(749),i=n(752);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(325),i=n(777),a=n(67);e.exports=r},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(18),a=n(57),l=(n(16),n(232),Object.prototype.hasOwnProperty),s=n(233),u={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var l={$$typeof:s,type:e,key:t,ref:n,props:a,_owner:i};return l};c.createElement=function(e,t,n){var i,s={},A=null,f=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(A=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(i in t)l.call(t,i)&&!u.hasOwnProperty(i)&&(s[i]=t[i])}var g=arguments.length-2;if(1===g)s.children=n;else if(g>1){for(var p=Array(g),d=0;d1){for(var C=Array(h),I=0;I2&&void 0!==arguments[2]?arguments[2]:{};return o.default.get(e,i(a,r)).then(n).catch(t)},this.post=function(e,r,a){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.default.post(e,r,i(l,a)).then(n).catch(t)},this.put=function(e,r,a){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.default.put(e,r,i(l,a)).then(n).catch(t)},this.delete=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.default.delete(e,i(a,r)).then(n).catch(t)},this.getImage=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(e){if(e.target)return void t(e.target);t(e.path[0])},r.onerror=function(e){console.log("error"),n(e)},r.src=e})},this.postFormData=function(t,n,o){return e.post(t,r(n),o,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},this.postMultipartFormData=function(t,n,r){return e.post(t,n,r,{headers:{"Content-Type":"multipart/form-data"}})}};t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=n.exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null},t=function(t,n){var r=e(t);return n?r==n:!!r};this.getParameterByName=e.bind(null),this.language=e.bind(null,"language"),this.platform=e.bind(null,"platform"),this.isInsideAppContainer=function(e){var t=this.platform(),n=!!t;return!0!==e&&(n=n&&"web"!=t),n},this.isNavHidden=t.bind(null,"noNav","true"),this.isLogoOptionsMenuDisabled=t.bind(null,"disableActionsMenu","1"),this.isAddToAgendaOptionEnabled=t.bind(null,"showAppDropdown"),this.isFullscreen=t.bind(null,"fullscreen"),this.isExternalLinkDisabled=t.bind(null,"el","0"),this.isInsideMediaManagerIframe=t.bind(null,"mm3_iframe","1"),this.isEvent=t.bind(null,"event")};t.default=new r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(325),i=n(920),a=n(67);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){if(p)return void(p=!1);document.removeEventListener("click",o),C()}Object.defineProperty(t,"__esModule",{value:!0}),t.tooltip=void 0;var i=n(0),a=r(i),l=n(62),s=r(l),u=n(1043),c=r(u),A=n(1044),f=r(A);n(1045);var g={DEFAULT:{parent:null,id:"text_editor_tooltip_wrapper"},QUILL:{parent:".ql-container",id:"quill_text_editor_tooltip_wrapper"}},p=!1,d=function(e){return 0===e.indexOf(".")?(e=e.substring(1),document.getElementsByClassName(e)[0]):document.getElementById(e)},h=function(e){e||(e="DEFAULT");var t=g[e],n=document.getElementById(t.id);if(!n){n=document.createElement("div"),n.id=t.id;(t.parent?d(t.parent):document.body).appendChild(n)}return n},C=function(){var e=h(),t=h("QUILL");s.default.unmountComponentAtNode(e),s.default.unmountComponentAtNode(t)},I=function(){p=!0,document.removeEventListener("click",o),document.addEventListener("click",o)},v=function(e,t,n){if(t.target)var r=t.target.getBoundingClientRect(),t={x:r.x+r.width/2-115,y:r.y-58};I();var o={left:t.x,top:t.y},i=h(n);s.default.render(a.default.createElement("div",{style:o,className:"tooltip-container"},e),i)};t.tooltip={hide:C,showHtml:function(e,t,n){v(a.default.createElement(c.default,{html:e}),t,n)},showMedia:function(e,t,n){v(a.default.createElement(f.default,{onSizeChanged:n,onOpenMedia:t}),e)}}},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c);n(1069);var f={_component:{}},g=(0,A.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Editable/Editable.js",components:f,locals:[e],imports:[u.default]}),p=(0,l.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Editable/Editable.js",components:f,locals:[],imports:[u.default,i.default]}),d=function(e){return function(t){return g(p(t,e),e)}}("_component")(u.default.createClass({displayName:"Editable",onClick:function(e){return this.props.handleEditableClick?void this.props.handleEditableClick(e):this.props.menu?(e.stopPropagation(),e.preventDefault(),void this.props.presentContextMenu({coords:{x:e.clientX,y:e.clientY},options:this.props.menu})):void(this.props.onClick&&this.props.onClick(e))},render:function(){return u.default.createElement("div",{className:"editable",onClick:this.onClick},u.default.createElement("i",{className:"fa fa-pencil"}))}}));t.default=d}).call(t,n(2)(e))},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=n(14),o=(n(10),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,a,l,s){this.isInTransaction()&&r("27");var u,c;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),c=e.call(t,n,o,i,a,l,s),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n]/,s=n(164),u=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&l.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t,n){"use strict";function r(e){var t=""+e,n=i.exec(t);if(!n)return t;var r,o="",a=0,l=0;for(a=n.index;a]/;e.exports=o},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,d)||(e[d]=g++,A[e[d]]={}),A[e[d]]}var o,i=n(18),a=n(156),l=n(451),s=n(247),u=n(452),c=n(160),A={},f=!1,g=0,p={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},d="_reactListenersID"+String(Math.random()).slice(2),h=i({},l,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(h.handleTopLevel),h.ReactEventListener=e}},setEnabled:function(e){h.ReactEventListener&&h.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!h.ReactEventListener||!h.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],l=0;lc;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(45);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(46),o=n(52);e.exports=function(e){return function(t,n){var i,a,l=String(o(t)),s=r(n),u=l.length;return s<0||s>=u?e?"":void 0:(i=l.charCodeAt(s),i<55296||i>56319||s+1===u||(a=l.charCodeAt(s+1))<56320||a>57343?e?l.charAt(s):i:e?l.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){var r=n(15),o=n(45),i=n(17)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(17)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(91),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(287);var r=n(31),o=n(30),i=n(13),a=n(52),l=n(17),s=n(197),u=l("species"),c=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),A=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=l(e),g=!i(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),p=g?!i(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t}):void 0;if(!g||!p||"replace"===e&&!c||"split"===e&&!A){var d=/./[f],h=n(a,f,""[e],function(e,t,n,r,o){return t.exec===s?g&&!o?{done:!0,value:d.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),C=h[0],I=h[1];r(String.prototype,e,C),o(RegExp.prototype,f,2==t?function(e,t){return I.call(e,this,t)}:function(e){return I.call(e,this)})}}},function(e,t,n){var r=n(11),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){"use strict";var r=n(11),o=n(1),i=n(31),a=n(82),l=n(65),s=n(81),u=n(80),c=n(15),A=n(13),f=n(126),g=n(90),p=n(183);e.exports=function(e,t,n,d,h,C){var I=r[e],v=I,m=h?"set":"add",b=v&&v.prototype,y={},w=function(e){var t=b[e];i(b,e,"delete"==e?function(e){return!(C&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(C&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return C&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof v&&(C||b.forEach&&!A(function(){(new v).entries().next()}))){var x=new v,E=x[m](C?{}:-0,1)!=x,k=A(function(){x.has(1)}),O=f(function(e){new v(e)}),_=!C&&A(function(){for(var e=new v,t=5;t--;)e[m](t,t);return!e.has(-0)});O||(v=t(function(t,n){u(t,v,e);var r=p(new I,t,v);return void 0!=n&&s(n,h,r[m],r),r}),v.prototype=b,b.constructor=v),(k||_)&&(w("delete"),w("has"),h&&w("get")),(_||E)&&w(m),C&&b.clear&&delete b.clear}else v=d.getConstructor(t,e,h,m),a(v.prototype,n),l.NEED=!0;return g(v,e),y[e]=v,o(o.G+o.W+o.F*(v!=I),y),C||d.setStrong(v,e,h),v}},function(e,t,n){for(var r,o=n(11),i=n(30),a=n(74),l=a("typed_array"),s=a("view"),u=!(!o.ArrayBuffer||!o.DataView),c=u,A=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");A<9;)(r=o[f[A++]])?(i(r.prototype,l,!0),i(r.prototype,s,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:l,VIEW:s}},function(e,t,n){"use strict";e.exports=n(64)||!n(13)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(11)[e]})},function(e,t,n){"use strict";var r=n(1);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(1),o=n(27),i=n(44),a=n(81);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,l,s=arguments[1];return o(this),t=void 0!==s,t&&o(s),void 0==e?new this:(n=[],t?(r=0,l=i(s,arguments[2],2),a(e,!1,function(e){n.push(l(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?l(e)?i(e[0],e[1]):o(e):s(e)}var o=n(737),i=n(784),a=n(148),l=n(28),s=n(794);e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(137),i=n(744),a=n(745),l=n(746),s=n(747),u=n(748);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=l,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&void 0!==arguments[0]&&arguments[0];return i="b4e35576102a672014aac193741f8dc499cf26c1",e&&(a="b4e35576102a672014aac193741f8dc499cf26c1"),"invalidated the token"};var r=function(e,t){localStorage&&localStorage.setItem(e,t)},u=function(e,n,r){i=e,a=n,console.log("---- setting tokens ----"),console.log("auth: "+i),console.log("refresh: "+a),r&&t.storeActiveTokensInLocalStorage(),A("token-update")},c=function(){s=setInterval(function(){e.tryAndRefreshTokens()},6e5)},A=function(e){if(l[e])for(var t=l[e],n=0;n0;)r=p.nextValue(),e=Math.floor(r*t.length),n.push(t.splice(e,1)[0]);return n.join("")}function s(){return g||(g=l())}function u(e){return s()[e]}function c(){return A||d}var A,f,g,p=n(839),d="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";e.exports={get:c,characters:i,seed:a,lookup:u,shuffled:s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=void 0,t=function(){var t=e.fileMap,n=1;return Object.keys(t).map(function(e){n<=parseInt(e)&&(n=parseInt(e))}),n+1},n=function(t){return Object.keys(e.fileMap).filter(function(n){return e.fileMap[n]===t}).map(function(t){return{id:t,url:e.fileMap[t]}})};this.sync=function(t){e=t},this.getFileMapUrl=function(t){return t&&t.fileMapId?e.fileMap[t.fileMapId]||null:null},this.createFile=function(e,r,o){if(!r)return null;var i=t();if(!0!==o){var a=n(r);a.length>0&&(i=a[0].id)}return e.createFile(i,r),i},this.deleteFile=function(e,t){e.deleteFile(t)},this.copyFile=function(t,n){var r=e.fileMap[n]||null;return this.createFile(t,r,!0)},this.getFileNameFromUrl=function(e,t){void 0===t&&(t=!0);var n=e.split("/").pop().replace(/\#(.*?)$/,"").replace(/\?(.*?)$/,"");return t||(n=n.split(".")[0]),n},this.getExtensionFromUrl=function(e){var t=this.getFileNameFromUrl(e),n=t.split(".");return n.length>1?n[1]:null}};t.default=new r},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c),f=n(1138),g=(r(f),{_component:{}}),p=(0,A.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Button/Button.js",components:g,locals:[e],imports:[u.default]}),d=(0,l.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Button/Button.js",components:g,locals:[],imports:[u.default,i.default]}),h=function(e){return function(t){return p(d(t,e),e)}}("_component")(u.default.createClass({displayName:"Button",handleClick:function(e){this.props.onClick&&this.props.onClick(e)},render:function(){var e=this.props.classes+" button";return u.default.createElement("div",{className:e,title:this.props.title,style:this.props.style,onClick:this.handleClick,ref:"button"},this.props.children)}}));t.default=h}).call(t,n(2)(e))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(108),i=n(1163),a=r(i),l=n(1164),s=r(l),u=n(1165),c=r(u),A=n(1166),f=r(A),g=n(1167),p=r(g),d=n(1168),h=r(d),C=n(1169),I=r(C),v=n(1170),m=r(v),b=n(1171),y=r(b),w=n(1172),x=r(w),E=n(1173),k=r(E),O=n(1174),_=r(O),M=n(1175),P=r(M),S=n(1176),T=r(S),j=n(1177),N=r(j),L=(0,o.combineReducers)({account:a.default,actionLog:s.default,layout:f.default,loading:c.default,author:p.default,background:h.default,categories:m.default,categoriesContent:y.default,carousels:I.default,fileMap:x.default,folderMap:k.default,languages:_.default,languageMap:P.default,product:T.default,version:N.default});t.default=L},function(e,t,n){"use strict";function r(e){t.defaults=a=(0,i.default)(a,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeOptions=t.defaults=void 0;var o=n(395),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={wrapperId:"notification-wrapper",animationDuration:300,timeout:5e3,zIndex:1e3,colors:{error:{color:"#FFFFFF",backgroundColor:"#E85742"},success:{color:"#FFFFFF",backgroundColor:"#55CA92"},warning:{color:"#333333",backgroundColor:"#F5E273"},info:{color:"#FFFFFF",backgroundColor:"#4990E2"}}};t.defaults=a,t.mergeOptions=r},function(e,t,n){"use strict";function r(){if(l)for(var e in s){var t=s[e],n=l.indexOf(e);if(n>-1||a("96",e),!u.plugins[n]){t.extractEvents||a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)||a("98",i,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var l=r[o];i(l,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){u.registrationNameModules[e]&&a("100",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(14),l=(n(10),null),s={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){l&&a("101"),l=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];s.hasOwnProperty(n)&&s[n]===o||(s[n]&&a("102",n),s[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=u.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){l=null;for(var e in s)s.hasOwnProperty(e)&&delete s[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=C.getNodeFromInstance(r),t?d.invokeGuardedCallbackWithCatch(o,n,e):d.invokeGuardedCallback(o,n,e),e.currentTarget=null}function l(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1)for(var n=1;n0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=l.get(e);if(!n){return null}return n}var a=n(14),l=(n(57),n(102)),s=(n(36),n(42)),u=(n(10),n(16),{isMounted:function(e){var t=l.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=i(e);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],r(o)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=i(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(u.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,o(e))}});e.exports=u},function(e,t,n){"use strict";var r=(n(18),n(50)),o=(n(16),r);e.exports=o},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)||t?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){var r=n(15),o=n(11).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(11),o=n(43),i=n(64),a=n(269),l=n(24).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(103)("keys"),o=n(74);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(11).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(15),o=n(9),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(44)(Function.call,n(39).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(15),o=n(181).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(46),o=n(52);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){"use strict";var r=n(64),o=n(1),i=n(31),a=n(30),l=n(93),s=n(188),u=n(90),c=n(40),A=n(17)("iterator"),f=!([].keys&&"next"in[].keys()),g=function(){return this};e.exports=function(e,t,n,p,d,h,C){s(n,t,p);var I,v,m,b=function(e){if(!f&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},y=t+" Iterator",w="values"==d,x=!1,E=e.prototype,k=E[A]||E["@@iterator"]||d&&E[d],O=k||b(d),_=d?w?b("entries"):O:void 0,M="Array"==t?E.entries||k:k;if(M&&(m=c(M.call(new e)))!==Object.prototype&&m.next&&(u(m,y,!0),r||"function"==typeof m[A]||a(m,A,g)),w&&k&&"values"!==k.name&&(x=!0,O=function(){return k.call(this)}),r&&!C||!f&&!x&&E[A]||a(E,A,O),l[t]=O,l[y]=g,d)if(I={values:w?O:b("values"),keys:h?O:b("keys"),entries:_},C)for(v in I)v in E||i(E,v,I[v]);else o(o.P+o.F*(f||x),t,I);return I}},function(e,t,n){"use strict";var r=n(77),o=n(73),i=n(90),a={};n(30)(a,n(17)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(125),o=n(52);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(17)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(93),o=n(17)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(24),o=n(73);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(91),o=n(17)("iterator"),i=n(93);e.exports=n(43).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(593);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(25),o=n(76),i=n(19);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,l=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>l;)t[l++]=e;return t}},function(e,t,n){"use strict";var r=n(66),o=n(286),i=n(93),a=n(38);e.exports=n(187)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(106),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,l=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),s=void 0!==/()??/.exec("")[1];(l||s)&&(a=function(e){var t,n,a,u,c=this;return s&&(n=new RegExp("^"+c.source+"$(?!\\s)",r.call(c))),l&&(t=c.lastIndex),a=o.call(c,e),l&&a&&(c.lastIndex=c.global?a.index+a[0].length:t),s&&a&&a.length>1&&i.call(a[0],n,function(){for(u=1;un;)t.push(arguments[n++]);return C[++h]=function(){l("function"==typeof e?e:Function(e),t)},r(h),h},g=function(e){delete C[e]},"process"==n(45)(A)?r=function(e){A.nextTick(a(I,e,1))}:d&&d.now?r=function(e){d.now(a(I,e,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=v,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",v,!1)):r="onreadystatechange"in u("script")?function(e){s.appendChild(u("script")).onreadystatechange=function(){s.removeChild(this),I.call(e)}}:function(e){setTimeout(a(I,e,1),0)}),e.exports={set:f,clear:g}},function(e,t,n){var r=n(11),o=n(199).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,l=r.Promise,s="process"==n(45)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var c=l.resolve(void 0);n=function(){c.then(u)}}else n=function(){o.call(r,u)};else{var A=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=A=!A}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(27);e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a=new Array(n),l=8*n-t-1,s=(1<>1,c=23===t?q(2,-24)-q(2,-77):0,A=0,f=e<0||0===e&&1/e<0?1:0;for(e=R(e),e!=e||e===L?(o=e!=e?1:0,r=s):(r=D(F(e)/Q),e*(i=q(2,-r))<1&&(r--,i*=2),e+=r+u>=1?c/i:c*q(2,1-u),e*i>=2&&(r++,i/=2),r+u>=s?(o=0,r=s):r+u>=1?(o=(e*i-1)*q(2,t),r+=u):(o=e*q(2,u-1)*q(2,t),r=0));t>=8;a[A++]=255&o,o/=256,t-=8);for(r=r<0;a[A++]=255&r,r/=256,l-=8);return a[--A]|=128*f,a}function o(e,t,n){var r,o=8*n-t-1,i=(1<>1,l=o-7,s=n-1,u=e[s--],c=127&u;for(u>>=7;l>0;c=256*c+e[s],s--,l-=8);for(r=c&(1<<-l)-1,c>>=-l,l+=t;l>0;r=256*r+e[s],s--,l-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:u?-L:L;r+=q(2,t),c-=a}return(u?-1:1)*r*q(2,c-t)}function i(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function l(e){return[255&e,e>>8&255]}function s(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function u(e){return r(e,52,8)}function c(e){return r(e,23,4)}function A(e,t,n){k(e[M],t,{get:function(){return this[n]}})}function f(e,t,n,r){var o=+n,i=x(o);if(i+t>e[U])throw N(P);var a=e[z]._b,l=i+e[H],s=a.slice(l,l+t);return r?s:s.reverse()}function g(e,t,n,r,o,i){var a=+n,l=x(a);if(l+t>e[U])throw N(P);for(var s=e[z]._b,u=l+e[H],c=r(+o),A=0;AG;)(V=Y[G++])in S||I(S,V,B[V]);h||(W.constructor=S)}var X=new T(new S(2)),Z=T[M].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||v(T[M],{setInt8:function(e,t){Z.call(this,e,t<<24>>24)},setUint8:function(e,t){Z.call(this,e,t<<24>>24)}},!0)}else S=function(e){b(this,S,"ArrayBuffer");var t=x(e);this._b=O.call(new Array(t),0),this[U]=t},T=function(e,t,n){b(this,T,"DataView"),b(e,S,"DataView");var r=e[U],o=y(t);if(o<0||o>r)throw N("Wrong offset!");if(n=void 0===n?r-o:w(n),o+n>r)throw N("Wrong length!");this[z]=e,this[H]=o,this[U]=n},d&&(A(S,"byteLength","_l"),A(T,"buffer","_b"),A(T,"byteLength","_l"),A(T,"byteOffset","_o")),v(T[M],{getInt8:function(e){return f(this,1,e)[0]<<24>>24},getUint8:function(e){return f(this,1,e)[0]},getInt16:function(e){var t=f(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=f(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return i(f(this,4,e,arguments[1]))},getUint32:function(e){return i(f(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return o(f(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return o(f(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){g(this,1,e,a,t)},setUint8:function(e,t){g(this,1,e,a,t)},setInt16:function(e,t){g(this,2,e,l,t,arguments[2])},setUint16:function(e,t){g(this,2,e,l,t,arguments[2])},setInt32:function(e,t){g(this,4,e,s,t,arguments[2])},setUint32:function(e,t){g(this,4,e,s,t,arguments[2])},setFloat32:function(e,t){g(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){g(this,8,e,u,t,arguments[2])}});_(S,"ArrayBuffer"),_(T,"DataView"),I(T[M],C.VIEW,!0),t.ArrayBuffer=S,t.DataView=T},function(e,t,n){function r(e){if(!a(e)||o(e)!=l)return!1;var t=i(e);if(null===t)return!0;var n=A.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(84),i=n(204),a=n(55),l="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,A=u.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){var r=n(313),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){var r=n(736),o=n(797),i=r(o);e.exports=i},function(e,t,n){var r=n(85),o=n(48),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==l||t==s||t==a||t==u}var o=n(84),i=n(41),a="[object AsyncFunction]",l="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){(function(e){var r=n(312),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,l=a&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=s}).call(t,n(2)(e))},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(l.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(28),i=n(146),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n0&&"centerpiece"===t.type&&t.content===e}).map(function(e){return t.getCategory(e.categoryId)})},this.validateCategoryContentIntegrity=function(e){var t=n.getCategoryContent(e);if(t){var r=l().language,o=t.editorState[r].toString();return n.getCategoryHistory(e,!0).then(function(e){return{isValid:o===e,local:o,server:e}})}return Promise.resolve({isValid:!0})},this.getCategoryHistory=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=u().product.vptId,r="https://api3.appdataroom.com/vpt/history/"+n+"/"+e;return i.default.get(r).then(function(e){if(t){var n=l().language;return(e[0]||{content:{}}).content[n]}return e})}};t.default=A},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c);n(900);var f={_component:{}},g=(0,A.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/controls/Switch/index.js",components:f,locals:[e],imports:[u.default]}),p=(0,l.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/controls/Switch/index.js",components:f,locals:[],imports:[u.default,i.default]}),d=function(e){return function(t){return g(p(t,e),e)}}("_component")(u.default.createClass({displayName:"Switch",getInitialState:function(){return{checked:this.props.checked}},onChange:function(e){this.props.onChange&&this.props.onChange(e.target.checked),this.setState({checked:e.target.checked})},render:function(){return u.default.createElement("div",{className:"switch-container"},u.default.createElement("label",{className:"switch"},u.default.createElement("input",{type:"checkbox",checked:this.state.checked,onChange:this.onChange}),u.default.createElement("span",{className:"slider round"})))}}));t.default=d}).call(t,n(2)(e))},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(355),i=n(357);e.exports=r},function(e,t,n){var r=n(355),o=n(914),i=o(r);e.exports=i},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(321);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var o=n(0),i=r(o),a=n(8),l=r(a),s=n(941),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),c=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,s=e.boxShadow,c=(0,l.default)({default:{grid:{borderRadius:a,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+u.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:c.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(113),o=function(){var e=function(e,t){var n=e.innerHTML;e.innerHTML=n.substring(0,n.length-7)+t+""},t=function(e){return BLOT_EXTENSIONS.showMediaAsAppThumbnail&&e?""+e+"":""},n=function(e,n,r){var o="blot-thumb-wrapper";BLOT_EXTENSIONS.showMediaAsAppThumbnail&&(o+=" is-media-thumbnail");var i="';i+=t(r),e.innerHTML=''+i+""},o=function(t,n){e(t,""+n+"");var r=function(e){var n=t.getElementsByClassName("blot-thumb-wrapper")[0],r=t.getElementsByTagName("img")[0],o=t.getElementsByClassName("blot-overlay")[0],i=r.clientWidth,a=n.clientWidth/2-i/2;i&&a&&(o.style.width=r.clientWidth+"px",o.style.left=a+"px")};t.addEventListener("mouseover",r)},i=function(e,t){e&&window.BLOT_EXTENSIONS.isEditMode&&e.setAttribute("data-size",t)};this.buildMediaBasicNode=function(e,n,r){var o="blot-wrapper";BLOT_EXTENSIONS.showMediaAsAppThumbnail&&(o+=" is-media-thumbnail"),n+=t(r),e.innerHTML=''+n+""},this.buildMediaThumbnailNode=function(e,t,a,l,s,u){n(e,a,t),s&&o(e,s),e.addEventListener("mousedown",function(t){var n=e.dataset.mediaid;if(BLOT_EXTENSIONS.isEditMode){var o=function(t){i(e,t)},a=null;return u&&u.isViewable&&(a=BLOT_EXTENSIONS.openMedia.bind(null,n,l)),void r.tooltip.showMedia(t,a,o)}BLOT_EXTENSIONS.sendAnalytics(n),BLOT_EXTENSIONS.openMedia(n,l)})}};t.default=new o},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c);n(1058);var f={_component:{}},g=(0,A.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Backdrop/Backdrop.js",components:f,locals:[e],imports:[u.default]}),p=(0,l.default)({filename:"C:/git/virtual-product-tour/virtual-product-tour/client/components/Backdrop/Backdrop.js",components:f,locals:[],imports:[u.default,i.default]}),d=function(e){return function(t){return g(p(t,e),e)}}("_component")(u.default.createClass({displayName:"Backdrop",render:function(){var e=this.props.active?"backdrop":"backdrop inactive";return u.default.createElement("div",{className:e,onClick:this.props.handleClick})}}));t.default=d}).call(t,n(2)(e))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=document.getElementById(h.defaults.wrapperId);A.default.render(u.default.createElement(g.default,{text:e,timeout:n,type:t,color:r}),o)}function i(){var e=document.getElementById(h.defaults.wrapperId);A.default.unmountComponentAtNode(e)}function a(e,t,n,r){if(!document.getElementById(h.defaults.wrapperId).hasChildNodes()){var a=n||h.defaults.timeout;return o(e,t,a,r),-1===a?!1:(setTimeout(function(){i()},a+h.defaults.animationDuration),!0)}return!1}function l(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return this.msgs=[],this.isNotifying=!1,this.currentRecallDelay=t,this.showNotify=function(){if(0===e.msgs.length)return void(e.isNotifying=!1);e.isNotifying=!0;var r=e.msgs.pop();a(r.text,r.type,r.timeout,r.color)?(e.currentRecallDelay=t,r.timeout>0&&setTimeout(function(){return e.showNotify()},r.timeout+h.defaults.animationDuration)):(e.msgs.unshift(r),setTimeout(function(){return e.showNotify()},e.currentRecallDelay),e.currentRecallDelay+=n)},function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.defaults.timeout,o=arguments[3];e.msgs.push({text:t,type:n,timeout:r,color:o}),e.isNotifying||e.showNotify()}}Object.defineProperty(t,"__esModule",{value:!0}),t.notify=void 0;var s=n(0),u=r(s),c=n(62),A=r(c),f=n(1198),g=r(f),p=n(1200),d=r(p),h=n(155);t.notify={show:a,hide:i,createShowQueue:l};t.default=d.default},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function i(){}var a=n(98),l=n(18),s=n(231),u=(n(232),n(115));n(10),n(409);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&a("85"),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};i.prototype=r.prototype,o.prototype=new i,o.prototype.constructor=o,l(o.prototype,r.prototype),o.prototype.isPureReactComponent=!0,e.exports={Component:r,PureComponent:o}},function(e,t,n){"use strict";var r=(n(16),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){},enqueueReplaceState:function(e,t){},enqueueSetState:function(e,t){}});e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";var r=n(417);e.exports=function(e){return r(e,!1)}},function(e,t,n){"use strict";e.exports=n(418)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,l){if(s(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],A=0;u=new Error(t.replace(/%s/g,function(){return c[A++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}function o(e){return e}function i(e,t,n){function i(e,t){var n=I.hasOwnProperty(t)?I[t]:null;w.hasOwnProperty(t)&&r("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&r("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function s(e,n){if(n){r("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var o=e.prototype,a=o.__reactAutoBindPairs;n.hasOwnProperty(u)&&m.mixins(e,n.mixins);for(var l in n)if(n.hasOwnProperty(l)&&l!==u){var s=n[l],c=o.hasOwnProperty(l);if(i(c,l),m.hasOwnProperty(l))m[l](e,s);else{var A=I.hasOwnProperty(l),p="function"==typeof s,d=p&&!A&&!c&&!1!==n.autobind;if(d)a.push(l,s),o[l]=s;else if(c){var h=I[l];r(A&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,l),"DEFINE_MANY_MERGED"===h?o[l]=f(o[l],s):"DEFINE_MANY"===h&&(o[l]=g(o[l],s))}else o[l]=s}}}else;}function c(e,t){if(t)for(var n in t){var o=t[n];if(t.hasOwnProperty(n)){var i=n in m;r(!i,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;if(a){var l=v.hasOwnProperty(n)?v[n]:null;return r("DEFINE_MANY_MERGED"===l,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=f(e[n],o))}e[n]=o}}}function A(e,t){r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(r(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return A(o,n),A(o,r),o}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function p(e,t){var n=t.bind(e);return n}function d(e){for(var t=e.__reactAutoBindPairs,n=0;n.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,l=h.createElement(q,{child:t});if(e){var s=y.get(e);a=s._processChildContext(s._context)}else a=O;var c=f(n);if(c){var A=c._currentElement,p=A.props.child;if(P(p,t)){var d=c._renderedComponent.getPublicInstance(),C=r&&function(){r.call(d)};return D._updateRootComponent(c,l,a,n,C),d}D.unmountComponentAtNode(n)}var I=o(n),v=I&&!!i(I),m=u(n),b=v&&!c&&!m,w=D._renderNewRootComponent(l,n,b,a)._renderedComponent.getPublicInstance();return r&&r.call(w),w},render:function(e,t,n){return D._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)||g("40");var t=f(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(T);return!1}return delete B[t._instance.rootID],k.batchedUpdates(s,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)||g("41"),i){var l=o(t);if(w.canReuseMarkup(e,l))return void I.precacheNode(n,l);var s=l.getAttribute(w.CHECKSUM_ATTR_NAME);l.removeAttribute(w.CHECKSUM_ATTR_NAME);var u=l.outerHTML;l.setAttribute(w.CHECKSUM_ATTR_NAME,s);var A=e,f=r(A,u),d=" (client) "+A.substring(f-20,f+20)+"\n (server) "+u.substring(f-20,f+20);t.nodeType===N&&g("42",d)}if(t.nodeType===N&&g("43"),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);p.insertTreeBefore(t,e,null)}else M(t,e),I.precacheNode(n,t.firstChild)}};e.exports=D},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(173),9);e.exports=r},function(e,t,n){"use strict";var r=n(490),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";e.exports="15.6.2"},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(253);e.exports=r},function(e,t,n){e.exports=!n(20)&&!n(13)(function(){return 7!=Object.defineProperty(n(176)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){t.f=n(17)},function(e,t,n){var r=n(37),o=n(38),i=n(121)(!1),a=n(178)("IE_PROTO");e.exports=function(e,t){var n,l=o(e),s=0,u=[];for(n in l)n!=a&&r(l,n)&&u.push(n);for(;t.length>s;)r(l,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(24),o=n(9),i=n(75);e.exports=n(20)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),l=a.length,s=0;l>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(38),o=n(78).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?l(e):o(r(e))}},function(e,t,n){"use strict";var r=n(20),o=n(75),i=n(122),a=n(105),l=n(25),s=n(104),u=Object.assign;e.exports=!u||n(13)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=l(e),u=arguments.length,c=1,A=i.f,f=a.f;u>c;)for(var g,p=s(arguments[c++]),d=A?o(p).concat(A(p)):o(p),h=d.length,C=0;h>C;)g=d[C++],r&&!f.call(p,g)||(n[g]=p[g]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(27),o=n(15),i=n(276),a=[].slice,l={},s=function(e,t,n){if(!(t in l)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(11).parseFloat,o=n(92).trim;e.exports=1/r(n(182)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(45);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(15),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(185),o=Math.pow,i=o(2,-52),a=o(2,-23),l=o(2,127)*(2-a),s=o(2,-126),u=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),c=r(e);return ol||n!=n?c*(1/0):c*n)}},function(e,t,n){var r=n(9);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(27),o=n(25),i=n(104),a=n(19);e.exports=function(e,t,n,l,s){r(t);var u=o(e),c=i(u),A=a(u.length),f=s?A-1:0,g=s?-1:1;if(n<2)for(;;){if(f in c){l=c[f],f+=g;break}if(f+=g,s?f<0:A<=f)throw TypeError("Reduce of empty array with no initial value")}for(;s?f>=0:A>f;f+=g)f in c&&(l=t(l,c[f],f,u));return l}},function(e,t,n){"use strict";var r=n(25),o=n(76),i=n(19);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),l=o(e,a),s=o(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:o(u,a))-s,a-l),A=1;for(s0;)s in n?n[l]=n[s]:delete n[l],l+=A,s+=A;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(197);n(1)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(20)&&"g"!=/./g.flags&&n(24).f(RegExp.prototype,"flags",{configurable:!0,get:n(106)})},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(9),o=n(15),i=n(201);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(292),o=n(83);e.exports=n(130)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(24).f,o=n(77),i=n(82),a=n(44),l=n(80),s=n(81),u=n(187),c=n(286),A=n(79),f=n(20),g=n(65).fastKey,p=n(83),d=f?"_s":"size",h=function(e,t){var n,r=g(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){l(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[d]=0,void 0!=r&&s(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[d]=0},delete:function(e){var n=p(this,t),r=h(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[d]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!h(p(this,t),e)}}),f&&r(c.prototype,"size",{get:function(){return p(this,t)[d]}}),c},def:function(e,t,n){var r,o,i=h(e,t);return i?i.v=n:(e._l=i={i:o=g(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[d]++,"F"!==o&&(e._i[o]=i)),e},getEntry:h,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=p(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?c(0,n.k):"values"==t?c(0,n.v):c(0,[n.k,n.v]):(e._t=void 0,c(1))},n?"entries":"values",!n,!0),A(t)}}},function(e,t,n){"use strict";var r=n(292),o=n(83);e.exports=n(130)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(11),i=n(54)(0),a=n(31),l=n(65),s=n(273),u=n(295),c=n(15),A=n(83),f=n(83),g=!o.ActiveXObject&&"ActiveXObject"in o,p=l.getWeak,d=Object.isExtensible,h=u.ufstore,C=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},I={get:function(e){if(c(e)){var t=p(e);return!0===t?h(A(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(A(this,"WeakMap"),e,t)}},v=e.exports=n(130)("WeakMap",C,I,u,!0,!0);f&&g&&(r=u.getConstructor(C,"WeakMap"),s(r.prototype,I),l.NEED=!0,i(["delete","has","get","set"],function(e){var t=v.prototype,n=t[e];a(t,e,function(t,o){if(c(t)&&!d(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";var r=n(82),o=n(65).getWeak,i=n(9),a=n(15),l=n(80),s=n(81),u=n(54),c=n(37),A=n(83),f=u(5),g=u(6),p=0,d=function(e){return e._l||(e._l=new h)},h=function(){this.a=[]},C=function(e,t){return f(e.a,function(e){return e[0]===t})};h.prototype={get:function(e){var t=C(this,e);if(t)return t[1]},has:function(e){return!!C(this,e)},set:function(e,t){var n=C(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=g(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){l(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=r&&s(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(A(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(A(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?d(e).set(t,n):r[e._i]=n,e},ufstore:d}},function(e,t,n){var r=n(46),o=n(19);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(78),o=n(122),i=n(9),a=n(11).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";function r(e,t,n,u,c,A,f,g){for(var p,d,h=c,C=0,I=!!f&&l(f,g,3);C0)h=r(e,t,p,a(p.length),h,A-1)-1;else{if(h>=9007199254740991)throw TypeError();e[h]=p}h++}C++}return h}var o=n(123),i=n(15),a=n(19),l=n(44),s=n(17)("isConcatSpreadable");e.exports=r},function(e,t,n){var r=n(19),o=n(184),i=n(52);e.exports=function(e,t,n,a){var l=String(i(e)),s=l.length,u=void 0===n?" ":String(n),c=r(t);if(c<=s||""==u)return l;var A=c-s,f=o.call(u,Math.ceil(A/u.length));return f.length>A&&(f=f.slice(0,A)),a?f+l:l+f}},function(e,t,n){var r=n(20),o=n(75),i=n(38),a=n(105).f;e.exports=function(e){return function(t){for(var n,l=i(t),s=o(l),u=s.length,c=0,A=[];u>c;)n=s[c++],r&&!a.call(l,n)||A.push(e?[n,l[n]]:l[n]);return A}}},function(e,t,n){var r=n(91),o=n(302);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){var r=n(81);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},function(e,t,n){"use strict";function r(e,t,n){function l(){C===h&&(C=h.slice())}function s(){return d}function u(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return l(),C.push(e),function(){if(t){t=!1,l();var n=C.indexOf(e);C.splice(n,1)}}}function c(e){if(!o.a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(I)throw new Error("Reducers may not dispatch actions.");try{I=!0,d=p(d,e)}finally{I=!1}for(var t=h=C,n=0;nf))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,C=!0,I=n&s?new o:void 0;for(c.set(e,t),c.set(t,e);++h1?n[o-1]:void 0,l=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,l&&i(n[0],n[1],l)&&(a=o<3?void 0:a,o=1),t=Object(t);++r=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(e){l.headers[e]={}}),o.forEach(["post","put","patch"],function(e){l.headers[e]=o.merge(a)}),e.exports=l}).call(t,n(167))},function(e,t,n){"use strict";var r=n(33),o=n(828),i=n(340),a=n(830),l=n(833),s=n(834),u=n(344);e.exports=function(e){return new Promise(function(t,c){var A=e.data,f=e.headers;r.isFormData(A)&&delete f["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",d=e.auth.password||"";f.Authorization="Basic "+btoa(p+":"+d)}var h=a(e.baseURL,e.url);if(g.open(e.method.toUpperCase(),i(h,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,g.onreadystatechange=function(){if(g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?g.response:g.responseText,i={data:r,status:g.status,statusText:g.statusText,headers:n,config:e,request:g};o(t,c,i),g=null}},g.onabort=function(){g&&(c(u("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){c(u("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),c(u(t,e,"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var C=n(835),I=(e.withCredentials||s(h))&&e.xsrfCookieName?C.read(e.xsrfCookieName):void 0;I&&(f[e.xsrfHeaderName]=I)}if("setRequestHeader"in g&&r.forEach(f,function(e,t){void 0===A&&"content-type"===t.toLowerCase()?delete f[t]:g.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),e.responseType)try{g.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){g&&(g.abort(),c(e),g=null)}),void 0===A&&(A=null),g.send(A)})}},function(e,t,n){"use strict";var r=n(829);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(33);e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(i,function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var l=o.concat(i).concat(a),s=Object.keys(t).filter(function(e){return-1===l.indexOf(e)});return r.forEach(s,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t>e/4).toString(16)})}};t.default=new r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=function(){var e=null;this.isTouchDevice=function(){if(null===e)try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return e},this.isIframe=function(){try{return window.self!==window.top}catch(e){return!0}};var t={tablet:813};this.isPhone=function(){return window.innerWidth<=t.tablet},this.isAtLeastTablet=function(){return window.innerWidth>t.tablet},this.isInsideAppContainer=function(e){var t=r.QueryParamsHelper.platform(),n=!!t;return!0!==e&&(n=n&&"web"!=t),n}};t.default=new o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t2&&(e=this.state.selectedLanguageCode.substring(0,2)),u.default.createElement("div",{className:"selected-language-preview"}," ",e," ")},render:function(){var e=this.getLanguageOptions(),t=p.GeneralUtilities.getAppVersion();return u.default.createElement(d.DropDown,{icon:"fa fa-cog",className:"user-settings",buttonClassName:"user-setting-btn",onLongPress:this.onDropDownMenuLongPress},p.QueryParamsHelper.isFullscreen()&&u.default.createElement(d.MenuItemButton,{onClick:g.default.exitVPT,iconClassName:"fa fa-sign-out"},"Exit"),u.default.createElement(d.MenuItemButton,{onClick:this.openPrivacyPolicy,iconClassName:"fa fa-certificate"}," Privacy Policy"),u.default.createElement(d.MenuItemMultiSelect,{value:this.state.selectedLanguageCode,onChange:this.onSelectedLanguageChanged,options:e,preview:this.renderSelectedLanguagePreview(),title:"Language"}),u.default.createElement(d.MenuItemFootnote,{text:t}))}}));t.default=y}).call(t,n(2)(e))},function(e,t,n){"use strict";var r=n(62),o=n.n(r),i=n(877),a=n(879),l=void 0;l=o.a.createPortal?i.a:a.a,t.a=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n(909);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(959);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(961);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var l=n(963);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(l).default}});var s=n(968);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(s).default}});var u=n(971);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(u).default}});var c=n(973);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(c).default}});var A=n(975);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(A).default}});var f=n(976);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(f).default}});var g=n(982);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(g).default}});var p=n(985);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(p).default}});var d=n(989);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(993);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(h).default}});var C=n(367);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(C).default}});var I=r(l);t.default=I.default},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(356),i=n(86);e.exports=r},function(e,t,n){var r=n(912),o=r();e.exports=o},function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=n(148);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n=t||n<0||k&&r>=m}function g(){var e=i();if(f(e))return p(e);y=setTimeout(g,A(e))}function p(e){return y=void 0,O&&I?r(e):(I=v=void 0,b)}function d(){void 0!==y&&clearTimeout(y),x=0,I=w=v=y=void 0}function h(){return void 0===y?b:p(i())}function C(){var e=i(),n=f(e);if(I=arguments,v=this,w=e,n){if(void 0===y)return c(w);if(k)return clearTimeout(y),y=setTimeout(g,t),r(w)}return void 0===y&&(y=setTimeout(g,t)),b}var I,v,m,b,y,w,x=0,E=!1,k=!1,O=!0;if("function"!=typeof e)throw new TypeError(l);return t=a(t)||0,o(n)&&(E=!!n.leading,k="maxWait"in n,m=k?s(a(n.maxWait)||0,t):m,O="trailing"in n?!!n.trailing:O),C.cancel=d,C.flush=h,C}var o=n(41),i=n(951),a=n(331),l="Expected a function",s=Math.max,u=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var l=Object.assign||function(e){for(var t=1;t-1){var r=e.target.result.split(";base64,")[1];t=atob(atob(r))}n(t)},t.onerror=function(){r({user_message:"Sorry, that file ("+e.fileName+") failed to load. If the file continues to fail please contact support@gomodus.com"})},t.readAsText(e)}):Promise.reject({user_message:"The FileReader failed to initialize"})},u=function(e,n){var r=o(e,n),i=r.shift().slice(2),a=JSON.parse(JSON.stringify(t.vpt.languageMap)),l=r.shift();if(l){var s=t.vpt.product.vptId.toString(),u=l[1],c=u.indexOf("vptId:"),A=u.indexOf(" version:",c);if(u.substring(c+6,A)!==s)return void console.error("ABORT!")}return r.forEach(function(e){if(e){var t=e[0].replace(/"/g,"");a[t]||(a[t]={}),i.forEach(function(n,r){var o=r+2;o)?"+e+"/[0-9]{1,6}c.html(

)?$");t&&n.test(t)&&(s[e]=null)}),o.setCategoryContent(r,s)}})};this.import=function(e){var r=n(e.name),o=void 0;switch(r){case".zip":o=l(e);break;case".csv":o=s(e);break;default:return Promise.reject({user_message:"The file you selected is not a valid format for importing language content. Please update the format to a .csv and try again.\n If you need further assistance please contact support@gomodus.com"})}return o.then(u).then(function(e){return c(e),t.updateLanguageMap(e),Promise.resolve(!0)})}};t.default=l},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c),f=Object.assign||function(e){for(var t=1;t1)return e.map(function(e){return a(e)});var n=e[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(f[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(e){return e.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(e){null!=A[e]&&null!=n.className||(A[e]=n)})}return n}var l=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return l(t,e),t}(Error);t.ParchmentError=s;var u={},c={},A={},f={};t.DATA_KEY="__blot";var g;!function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(g=t.Scope||(t.Scope={})),t.create=r,t.find=o,t.query=i,t.register=a},function(e,t,n){var r=n(51),o=n(11),i=n(3),a=n(20),l=String.fromCharCode(0),s=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};s.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},s.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},s.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},s.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},s.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},s.prototype.filter=function(e){return this.ops.filter(e)},s.prototype.forEach=function(e){this.ops.forEach(e)},s.prototype.map=function(e){return this.ops.map(e)},s.prototype.partition=function(e){var t=[],n=[];return this.forEach(function(r){(e(r)?t:n).push(r)}),[t,n]},s.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},s.prototype.changeLength=function(){return this.reduce(function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e},0)},s.prototype.length=function(){return this.reduce(function(e,t){return e+a.length(t)},0)},s.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o0&&n.next(i.retain-l)}for(var u=new s(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===t.peekType())u.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),A=t.next(c),f=n.next(c);if("number"==typeof f.retain){var g={};"number"==typeof A.retain?g.retain=c:g.insert=A.insert;var p=a.attributes.compose(A.attributes,f.attributes,"number"==typeof A.retain);if(p&&(g.attributes=p),u.push(g),!n.hasNext()&&o(u.ops[u.ops.length-1],g)){var d=new s(t.rest());return u.concat(d).chop()}}else"number"==typeof f.delete&&"number"==typeof A.retain&&u.push(f)}return u.chop()},s.prototype.concat=function(e){var t=new s(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},s.prototype.diff=function(e,t){if(this.ops===e.ops)return new s;var n=[this,e].map(function(t){return t.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:l;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],t),c=a.iterator(this.ops),A=a.iterator(e.ops);return u.forEach(function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(A.peekLength(),t),i.push(A.next(n));break;case r.DELETE:n=Math.min(t,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),A.peekLength(),t);var l=c.next(n),s=A.next(n);o(l.insert,s.insert)?i.retain(n,a.attributes.diff(l.attributes,s.attributes)):i.push(s).delete(n)}t-=n}}),i.chop()},s.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),l=a.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(t,l)-l:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&e(r,{},o)},s.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),r=a.iterator(e.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),l=n.next(i),u=r.next(i);if(l.delete)continue;u.delete?o.push(u):o.retain(i,a.attributes.transform(l.attributes,u.attributes,t))}else o.retain(a.length(n.next()));return o.chop()},s.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,A.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:l(e.parent,t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var s=function(){function e(e,t){for(var n=0;n0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(d.default.Block);w.blotName="block",w.tagName="P",w.defaultChild="break",w.allowedChildren=[v.default,d.default.Embed,b.default],t.bubbleFormats=l,t.BlockEmbed=y,t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(t=(0,k.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==T.DEFAULTS.theme){if(t.theme=T.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=P.default;var n=(0,k.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach(function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach(function(t){!0===e.modules[t]&&(e.modules[t]={})})});var r=Object.keys(n.modules).concat(Object.keys(t.modules)),o=r.reduce(function(e,t){var n=T.import("modules/"+t);return null==n?S.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e},{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,k.default)(!0,{},T.DEFAULTS,{modules:o},n,t),["bounds","container","scrollingContainer"].forEach(function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))}),t.modules=Object.keys(t.modules).reduce(function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e},{}),t}function l(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===I.default.sources.USER)return new p.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,a=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=u(o,a,t):0!==r&&(o=u(o,n,r,t)),this.setSelection(o,I.default.sources.SILENT)),a.length()>0){var l,s=[I.default.events.TEXT_CHANGE,a,i,t];if((l=this.emitter).emit.apply(l,[I.default.events.EDITOR_CHANGE].concat(s)),t!==I.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return a}function s(e,t,n,r,o){var i={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(o=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(o=r,r=n,n=t,t=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||I.default.sources.API,[e,t,i,o]}function u(e,t,n,r){if(null==e)return null;var o=void 0,i=void 0;if(t instanceof p.default){var a=[e.index,e.index+e.length].map(function(e){return t.transformPosition(e,r!==I.default.sources.USER)}),l=A(a,2);o=l[0],i=l[1]}else{var s=[e.index,e.index+e.length].map(function(e){return e=0?e+n:Math.max(t,e+n)}),u=A(s,2);o=u[0],i=u[1]}return new w.Range(o,i-o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),this.options=a(t,r),this.container=this.options.container,null==this.container)return S.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new I.default,this.scroll=y.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new h.default(this.scroll),this.selection=new x.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(I.default.events.EDITOR_CHANGE,function(e){e===I.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(I.default.events.SCROLL_UPDATE,function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;l.call(n,function(){return n.editor.update(null,t,o)},e)});var s=this.clipboard.convert("
"+o+"


");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return f(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),_.default.level(e)}},{key:"find",value:function(e){return e.__quill||y.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&S.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach(function(r){n.register(r,e[r],t)})}else null==this.imports[e]||r||S.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?y.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),f(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=s(e,t,n),i=A(o,4);return e=i[0],t=i[1],n=i[3],l.call(this,function(){return r.editor.deleteText(e,t)},n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.default.sources.API;return l.call(this,function(){var r=n.getSelection(!0),i=new p.default;if(null==r)return i;if(y.default.query(e,y.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,o({},e,t))}return n.setSelection(r,I.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(e,t,n,r,o){var i=this,a=void 0,u=s(e,t,n,r,o),c=A(u,4);return e=c[0],t=c[1],a=c[2],o=c[3],l.call(this,function(){return i.editor.formatLine(e,t,a)},o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var i=this,a=void 0,u=s(e,t,n,r,o),c=A(u,4);return e=c[0],t=c[1],a=c[2],o=c[3],l.call(this,function(){return i.editor.formatText(e,t,a)},o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=s(e,t),r=A(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=s(e,t),r=A(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return l.call(this,function(){return o.editor.insertEmbed(t,n,r)},i,t)}},{key:"insertText",value:function(e,t,n,r,o){var i=this,a=void 0,u=s(e,0,n,r,o),c=A(u,4);return e=c[0],a=c[2],o=c[3],l.call(this,function(){return i.editor.insertText(e,t,a)},o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=s(e,t,n),i=A(o,4);return e=i[0],t=i[1],n=i[3],l.call(this,function(){return r.editor.removeFormat(e,t)},n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.default.sources.API;return l.call(this,function(){e=new p.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=s(t,n,r),i=A(o,4);t=i[0],n=i[1],r=i[3],this.selection.setRange(new w.Range(t,n),r),r!==I.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.default.sources.API,n=(new p.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.default.sources.API;return l.call(this,function(){return e=new p.default(e),t.editor.applyDelta(e,n)},n,!0)}}]),e}();T.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},T.events=I.default.events,T.sources=I.default.sources,T.version="1.3.7",T.imports={delta:p.default,parchment:y.default,"core/module":m.default,"core/theme":P.default},t.expandConfig=a,t.overload=s,t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),o=t.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};o.DEFAULTS={},t.default=o},function(e,t,n){"use strict";function r(e){if(i.indexOf(e)<=i.indexOf(a)){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o0&&"number"!=typeof e[0]))}function i(e,t,n){var i,c;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return!!s(t)&&(e=a.call(e),t=a.call(t),u(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(i=0;i=0;i--)if(A[i]!=f[i])return!1;for(i=A.length-1;i>=0;i--)if(c=A[i],!u(e[c],t[c],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,l=n(52),s=n(53),u=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,function(e){return e.name})},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n=e+n)){var a=this.newlineIndex(e,!0)+1,l=i-a+1,s=this.isolate(a,l),u=s.next;s.format(r,o),u instanceof t&&u.formatAt(0,e-a+n-l,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(v.default,e),o=l(r,2),i=o[0],a=o[1];i.insertAt(a,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(g.default.create("text","\n")),u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(e){var t=g.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof g.default.Embed?t.remove():t.unwrap()})}}],[{key:"create",value:function(e){var n=u(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(d.default);b.blotName="code-block",b.tagName="PRE",b.TAB=" ",t.Code=m,t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return Object.keys(t).reduce(function(n,r){return null==e[r]?n:(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]],n)},{})}function l(e){return e.reduce(function(e,t){if(1===t.insert){var n=(0,k.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,k.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)},new f.default)}Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(){function e(e,t){for(var n=0;n=r&&!l.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,l);var c=t.scroll.line(e),A=u(c,2),f=A[0],g=A[1],d=(0,P.default)({},(0,b.bubbleFormats)(f));if(f instanceof y.default){var C=f.descendant(h.default.Leaf,g),I=u(C,1),v=I[0];d=(0,P.default)(d,(0,b.bubbleFormats)(v))}a=p.default.attributes.diff(d,a)||{}}else if("object"===s(o.insert)){var m=Object.keys(o.insert)[0];if(null==m)return e;t.scroll.insertAt(e,m,o.insert[m])}r+=i}return Object.keys(a).forEach(function(n){t.scroll.formatAt(e,i,n,a[n])}),e+i},0),e.reduce(function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new f.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),a=t;i.forEach(function(t){var i=t.length();if(t instanceof I.default){var l=e-t.offset(n.scroll),s=t.newlineIndex(l+a)-l+1;t.formatAt(l,s,o,r[o])}else t.format(o,r[o]);a-=i})}}),this.scroll.optimize(),this.update((new f.default).retain(e).retain(t,(0,k.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(e,t,o,r[o])}),this.update((new f.default).retain(e).retain(t,(0,k.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(e,t){return e.concat(t.delta())},new f.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach(function(e){var t=u(e,1),o=t[0];o instanceof y.default?n.push(o):o instanceof h.default.Leaf&&r.push(o)}):(n=this.scroll.lines(e,t),r=this.scroll.descendants(h.default.Leaf,e,t));var o=[n,r].map(function(e){if(0===e.length)return{};for(var t=(0,b.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=a((0,b.bubbleFormats)(n),t)}return t});return P.default.apply(P.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter(function(e){return"string"==typeof e.insert}).map(function(e){return e.insert}).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new f.default).retain(e).insert(o({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach(function(o){n.scroll.formatAt(e,t.length,o,r[o])}),this.update((new f.default).retain(e).insert(t,(0,k.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===y.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof x.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=u(r,2),i=o[0],a=o[1],l=0,s=new f.default;null!=i&&(l=i instanceof I.default?i.newlineIndex(a)-a+1:i.length()-a,s=i.delta().slice(a,a+l-1).insert("\n"));var c=this.getContents(e,t+l),A=c.diff((new f.default).insert(n).concat(s)),g=(new f.default).retain(e).concat(A);return this.applyDelta(g)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(S)&&h.default.find(t[0].target)){var o=h.default.find(t[0].target),i=(0,b.bubbleFormats)(o),a=o.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),s=(new f.default).insert(l),u=(new f.default).insert(o.value());e=(new f.default).retain(a).concat(s.diff(u,n)).reduce(function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)},new f.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,_.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:0;i(this,e),this.index=t,this.length=n},b=function(){function e(t,n){var r=this;i(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new m(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,h.default.sources.USER),1)}),this.emitter.on(h.default.events.EDITOR_CHANGE,function(e,t){e===h.default.events.TEXT_CHANGE&&t.length()>0&&r.update(h.default.sources.SILENT)}),this.emitter.on(h.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(h.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}})}}),this.emitter.on(h.default.events.SCROLL_OPTIMIZE,function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,a=n.endNode,l=n.endOffset;r.setNativeRange(o,i,a,l)}}),this.update(h.default.sources.SILENT)}return s(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",function(){e.composing=!0}),this.root.addEventListener("compositionend",function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout(function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,function(){e.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){e.mouseDown=!1,e.update(h.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(e,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,o=this.scroll.leaf(e),i=l(o,2),a=i[0],s=i[1];if(null==a)return null;var u=a.position(s,!0),c=l(u,2);r=c[0],s=c[1];var A=document.createRange();if(t>0){A.setStart(r,s);var f=this.scroll.leaf(e+t),g=l(f,2);if(a=g[0],s=g[1],null==a)return null;var p=a.position(s,!0),d=l(p,2);return r=d[0],s=d[1],A.setEnd(r,s),A.getBoundingClientRect()}var h="left",C=void 0;return r instanceof Text?(s0&&(h="right")),{bottom:C.top+C.height,height:C.height,left:C[h],right:C[h],top:C.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return v.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map(function(e){var n=l(e,2),r=n[0],o=n[1],i=c.default.find(r,!0),a=i.offset(t.scroll);return 0===o?a:i instanceof c.default.Container?a+i.length():a+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),a=Math.min.apply(Math,[i].concat(o(r)));return new m(a,i-a)}},{key:"normalizeNative",value:function(e){if(!a(this.root,e.startContainer)||!e.collapsed&&!a(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n}),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],o=this.scroll.length();return n.forEach(function(e,n){e=Math.min(o-1,e);var i=void 0,a=t.scroll.leaf(e),s=l(a,2),u=s[0],c=s[1],A=u.position(c,0!==n),f=l(A,2);i=f[0],c=f[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,r)),i=l(o,1),a=i[0],s=a;if(t.length>0){var u=this.scroll.line(Math.min(t.index+t.length,r));s=l(u,1)[0]}if(null!=a&&null!=s){var c=e.getBoundingClientRect();n.topc.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(v.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var l=document.createRange();l.setStart(e,t),l.setEnd(n,r),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"==typeof t&&(n=t,t=!1),v.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,o(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.lastRange,n=this.getRange(),r=l(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,p.default)(t,this.lastRange)){var a;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[h.default.events.SELECTION_CHANGE,(0,f.default)(this.lastRange),(0,f.default)(t),e];if((a=this.emitter).emit.apply(a,[h.default.events.EDITOR_CHANGE].concat(s)),e!==h.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),e}();t.Range=m,t.default=b},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=i.Scope.INLINE_BLOT,t}(o.default);t.default=a},function(e,t,n){function r(e){this.ops=e,this.index=0,this.offset=0}var o=n(11),i=n(3),a={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=i(!0,{},t);n||(r=Object.keys(r).reduce(function(e,t){return null!=r[t]&&(e[t]=r[t]),e},{}));for(var o in e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce(function(n,r){return o(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var r=Object.keys(t).reduce(function(n,r){return void 0===e[r]&&(n[r]=t[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new r(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=a.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=a},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}function n(r,o,i,a,A){function f(r,i){if(null===r)return null;if(0===i)return r;var h,C;if("object"!=typeof r)return r;if(e(r,s))h=new s;else if(e(r,u))h=new u;else if(e(r,c))h=new c(function(e,t){r.then(function(t){e(f(t,i-1))},function(e){t(f(e,i-1))})});else if(n.__isArray(r))h=[];else if(n.__isRegExp(r))h=new RegExp(r.source,l(r)),r.lastIndex&&(h.lastIndex=r.lastIndex);else if(n.__isDate(r))h=new Date(r.getTime());else{if(d&&t.isBuffer(r))return h=t.allocUnsafe?t.allocUnsafe(r.length):new t(r.length),r.copy(h),h;e(r,Error)?h=Object.create(r):void 0===a?(C=Object.getPrototypeOf(r),h=Object.create(C)):(h=Object.create(a),C=a)}if(o){var I=g.indexOf(r);if(-1!=I)return p[I];g.push(r),p.push(h)}e(r,s)&&r.forEach(function(e,t){var n=f(t,i-1),r=f(e,i-1);h.set(n,r)}),e(r,u)&&r.forEach(function(e){var t=f(e,i-1);h.add(t)});for(var v in r){var m;C&&(m=Object.getOwnPropertyDescriptor(C,v)),m&&null==m.set||(h[v]=f(r[v],i-1))}if(Object.getOwnPropertySymbols)for(var b=Object.getOwnPropertySymbols(r),v=0;v0){if(i instanceof d.BlockEmbed||A instanceof d.BlockEmbed)return void this.optimize();if(i instanceof m.default){var f=i.newlineIndex(i.length(),!0);if(f>-1&&(i=i.split(f+1))===A)return void this.optimize()}else if(A instanceof m.default){var g=A.newlineIndex(0);g>-1&&A.split(g+1)}var p=A.children.head instanceof I.default?null:A.children.head;i.moveChildren(A,p),i.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==f.default.query(n,f.default.Scope.BLOCK)){var o=f.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=f.default.create(n,r);this.appendChild(i)}else c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===f.default.Scope.INLINE_BLOT){var r=f.default.create(this.statics.defaultChild);r.appendChild(e),e=r}c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(l,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,function(t,n,r){l(t)?o.push(t):t instanceof f.default.Container&&(o=o.concat(e(t,n,i))),i-=r}),o}(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(p.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=p.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(p.default.events.SCROLL_BEFORE_UPDATE,n,e),c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(p.default.events.SCROLL_UPDATE,n,e)}}}]),t}(f.default.Scroll);w.blotName="scroll",w.className="ql-editor",w.tagName="DIV",w.defaultChild="block",w.allowedChildren=[h.default,d.BlockEmbed,y.default],t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n,r=e===D.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},o(n,r,/^$/),o(n,"handler",function(n){var r=n.index;e===D.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(C(o,1)[0]instanceof P.default.Embed)||(e===D.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,T.default.sources.USER):this.quill.setSelection(n.index-1,T.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,T.default.sources.USER):this.quill.setSelection(n.index+n.length+1,T.default.sources.USER),!1)}),n}function u(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=C(n,1),o=r[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),l=C(a,1),s=l[0];if(null!=s&&s.length()>1){var u=o.formats(),c=this.quill.getFormat(e.index-1,1);i=_.default.attributes.diff(u,c)||{}}}var A=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-A,A,T.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-A,A,i,T.default.sources.USER),this.quill.focus()}}function c(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(e.index),a=C(i,1),l=a[0];if(t.offset>=l.length()-1){var s=this.quill.getLine(e.index+1),u=C(s,1),c=u[0];if(c){var A=l.formats(),f=this.quill.getFormat(e.index,1);r=_.default.attributes.diff(A,f)||{},o=c.length()}}this.quill.deleteText(e.index,n,T.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,T.default.sources.USER)}}function A(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=_.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,T.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,T.default.sources.USER),this.quill.setSelection(e.index,T.default.sources.SILENT),this.quill.focus()}function f(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce(function(e,n){return P.default.query(n,P.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e},{});this.quill.insertText(e.index,"\n",r,T.default.sources.USER),this.quill.setSelection(e.index+1,T.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach(function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],T.default.sources.USER))})}function g(e){return{key:D.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=P.default.query("code-block"),r=t.index,o=t.length,i=this.quill.scroll.descendant(n,r),a=C(i,2),l=a[0],s=a[1];if(null!=l){var u=this.quill.getIndex(l),c=l.newlineIndex(s,!0)+1,A=l.newlineIndex(u+s+o),f=l.domNode.textContent.slice(c,A).split("\n");s=0,f.forEach(function(t,i){e?(l.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=t.length+1}),this.quill.update(T.default.sources.USER),this.quill.setSelection(r,o,T.default.sources.SILENT)}}}}function p(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],T.default.sources.USER)}}}function d(e){if("string"==typeof e||"number"==typeof e)return d({key:e});if("object"===(void 0===e?"undefined":h(e))&&(e=(0,m.default)(e,!1)),"string"==typeof e.key)if(null!=D.keys[e.key.toUpperCase()])e.key=D.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[q]=e.shortKey,delete e.shortKey),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=d(e);if(null==r||null==r.key)return R.warn("Attempted to add invalid keyboard binding",r);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),r=(0,x.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(e.bindings[r]||[]).filter(function(e){return t.match(n,e)});if(0!==o.length){var i=e.quill.getSelection();if(null!=i&&e.quill.hasFocus()){var a=e.quill.getLine(i.index),l=C(a,2),s=l[0],u=l[1],c=e.quill.getLeaf(i.index),A=C(c,2),f=A[0],g=A[1],p=0===i.length?[f,g]:e.quill.getLeaf(i.index+i.length),d=C(p,2),I=d[0],v=d[1],m=f instanceof P.default.Text?f.value().slice(0,g):"",b=I instanceof P.default.Text?I.value().slice(v):"",w={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:e.quill.getFormat(i),offset:u,prefix:m,suffix:b};o.some(function(t){if(null!=t.collapsed&&t.collapsed!==w.collapsed)return!1;if(null!=t.empty&&t.empty!==w.empty)return!1;if(null!=t.offset&&t.offset!==w.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(function(e){return null==w.format[e]}))return!1}else if("object"===h(t.format)&&!Object.keys(t.format).every(function(e){return!0===t.format[e]?null!=w.format[e]:!1===t.format[e]?null==w.format[e]:(0,y.default)(t.format[e],w.format[e])}))return!1;return!(null!=t.prefix&&!t.prefix.test(w.prefix))&&(!(null!=t.suffix&&!t.suffix.test(w.suffix))&&!0!==t.handler.call(e,i,w))})&&n.preventDefault()}}}})}}]),t}(B.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:p("bold"),italic:p("italic"),underline:p("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",T.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",T.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",T.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,T.default.sources.USER)}},"indent code-block":g(!0),"outdent code-block":g(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,T.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new k.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,T.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,T.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,T.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,T.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=C(t,2),r=n[0],o=n[1],i=(0,x.default)({},r.formats(),{list:"checked"}),a=(new k.default).retain(e.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,T.default.sources.USER),this.quill.setSelection(e.index+1,T.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=C(n,2),o=r[0],i=r[1],a=(new k.default).retain(e.index).insert("\n",t.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(a,T.default.sources.USER),this.quill.setSelection(e.index+1,T.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=C(r,2),i=o[0],a=o[1];if(a>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",T.default.sources.USER),this.quill.history.cutoff();var s=(new k.default).retain(e.index-a).delete(n+1).retain(i.length()-2-a).retain(1,{list:l});this.quill.updateContents(s,T.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,T.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=C(t,2),r=n[0],o=n[1],i=(new k.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,T.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},t.default=D,t.SHORTKEY=q},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(r)},u=function(){function e(e,t){for(var n=0;n-1}Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":a(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(5),l=r(a),s=n(4),u=r(s),c=n(16),A=r(c),f=n(25),g=r(f),p=n(24),d=r(p),h=n(35),C=r(h),I=n(6),v=r(I),m=n(22),b=r(m),y=n(7),w=r(y),x=n(55),E=r(x),k=n(42),O=r(k),_=n(23),M=r(_);l.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":A.default,"blots/container":g.default,"blots/cursor":d.default,"blots/embed":C.default,"blots/inline":v.default,"blots/scroll":b.default,"blots/text":w.default,"modules/clipboard":E.default,"modules/history":O.default,"modules/keyboard":M.default}),i.default.register(u.default,A.default,d.default,v.default,b.default,w.default),t.default=l.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),l=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=o.default.keys(this.domNode),l=i.default.keys(this.domNode);t.concat(n).concat(l).forEach(function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)})},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach(function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)})},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach(function(e){t.attributes[e].remove(t.domNode)}),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce(function(t,n){return t[n]=e.attributes[n].value(e.domNode),t},{})},e}();t.default=l},function(e,t,n){"use strict";function r(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(function(e){return 0===e.indexOf(t+"-")})}var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map(function(e){return e.split("-").slice(0,-1).join("-")})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){r(e,this.keyName).forEach(function(t){e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=r(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=a},function(e,t,n){"use strict";function r(e){var t=e.split("-"),n=t.slice(1).map(function(e){return e[0].toUpperCase()+e.slice(1)}).join("");return t[0]+n}var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map(function(e){return e.split(":")[0].trim()})},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[r(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[r(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[r(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;nr&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}),this.stack.redo.forEach(function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(d.default);h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=h,t.getLastChangeIndex=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,h.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,h.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=l(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,h.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",h.default.sources.USER),this.quill.setSelection(r+2,h.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(_.default);t.BaseTooltip=L,t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(el?n(r,e-l,Math.min(t,l+u-e)):n(r,0,Math.min(u,e+t-l)),l+=u}},e.prototype.map=function(e){return this.reduce(function(t,n){return t.push(e(n)),t},[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),i=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver(function(e){n.update(e)}),n.observer.observe(n.domNode,a),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach(function(e){e.remove()}):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)t.push(a.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[i.DATA_KEY].mutations&&(e.domNode[i.DATA_KEY].mutations=[]),t&&l(e.parent))},s=function(e){null!=e.domNode[i.DATA_KEY]&&null!=e.domNode[i.DATA_KEY].mutations&&(e instanceof o.default&&e.children.forEach(s),e.optimize(n))},u=t,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(e){var t=i.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(i.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,function(e){var t=i.find(e,!1);l(t,!1),t instanceof o.default&&t.children.forEach(function(e){l(e,!1)})})):"attributes"===e.type&&l(t.prev)),l(t))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),a=u.slice();a.length>0;)t.push(a.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map(function(e){var t=i.find(e.target,!0);return null==t?null:null==t.domNode[i.DATA_KEY].mutations?(t.domNode[i.DATA_KEY].mutations=[e],t):(t.domNode[i.DATA_KEY].mutations.push(e),null)}).forEach(function(e){null!=e&&e!==r&&null!=e.domNode[i.DATA_KEY]&&e.update(e.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="DIV",t}(o.default);t.default=l},function(e,t,n){"use strict";function r(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach(function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)}),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){if(null!=this.formats()[r]||a.query(r,a.Scope.ATTRIBUTE)){this.isolate(t,n).format(r,o)}else e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=i.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),a=i.create(n,r);o.parent.insertBefore(a,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="P",t}(o.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(o.default);t.default=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),i=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=i.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some(function(e){return"characterData"===e.type&&e.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=i.Scope.INLINE_BLOT,t}(o.default);t.default=a},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;it.length?e:t,a=e.length>t.length?t:e,l=i.indexOf(a);if(-1!=l)return r=[[d,i.substring(0,l)],[h,a],[d,i.substring(l+a.length)]],e.length>t.length&&(r[0][0]=r[2][0]=p),r;if(1==a.length)return[[p,e],[d,t]];var u=s(e,t);if(u){var c=u[0],A=u[1],f=u[2],g=u[3],C=u[4],I=n(c,f),v=n(A,g);return I.concat([[h,C]],v)}return o(e,t)}function o(e,t){for(var n=e.length,r=t.length,o=Math.ceil((n+r)/2),a=o,l=2*o,s=new Array(l),u=new Array(l),c=0;cn)h+=2;else if(w>r)g+=2;else if(f){var x=a+A-m;if(x>=0&&x=E)return i(e,t,b,w)}}}for(var k=-v+C;k<=v-I;k+=2){var E,x=a+k;E=k==-v||k!=v&&u[x-1]n)I+=2;else if(O>r)C+=2;else if(!f){var y=a+A-k;if(y>=0&&y=E)return i(e,t,b,w)}}}}return[[p,e],[d,t]]}function i(e,t,r,o){var i=e.substring(0,r),a=t.substring(0,o),l=e.substring(r),s=t.substring(o),u=n(i,a),c=n(l,s);return u.concat(c)}function a(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n=e.length?[r,o,i,s,A]:null}var r=e.length>t.length?e:t,o=e.length>t.length?t:e;if(r.length<4||2*o.lengthu[4].length?s:u:s;var c,A,f,g;return e.length>t.length?(c=i[0],A=i[1],f=i[2],g=i[3]):(f=i[0],g=i[1],c=i[2],A=i[3]),[c,A,f,g,i[4]]}function u(e){e.push([h,""]);for(var t,n=0,r=0,o=0,i="",s="";n1?(0!==r&&0!==o&&(t=a(s,i),0!==t&&(n-r-o>0&&e[n-r-o-1][0]==h?e[n-r-o-1][1]+=s.substring(0,t):(e.splice(0,0,[h,s.substring(0,t)]),n++),s=s.substring(t),i=i.substring(t)),0!==(t=l(s,i))&&(e[n][1]=s.substring(s.length-t)+e[n][1],s=s.substring(0,s.length-t),i=i.substring(0,i.length-t))),0===r?e.splice(n-o,r+o,[d,s]):0===o?e.splice(n-r,r+o,[p,i]):e.splice(n-r-o,r+o,[p,i],[d,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&e[n-1][0]==h?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,o=0,r=0,i="",s=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(n=1;n0&&r.splice(o+2,0,[a[0],l]),g(r,o,3)}return e}function f(e){for(var t=!1,n=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},r=2;r=55296&&e.charCodeAt(e.length-1)<=56319}(e[r-2][1])&&e[r-1][0]===p&&n(e[r-1][1])&&e[r][0]===d&&n(e[r][1])&&(t=!0,e[r-1][1]=e[r-2][1].slice(-1)+e[r-1][1],e[r][1]=e[r-2][1].slice(-1)+e[r][1],e[r-2][1]=e[r-2][1].slice(0,-1));if(!t)return e;for(var o=[],r=0;r0&&o.push(e[r]);return o}function g(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1=0&&n.length-1}function f(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce(function(t,n){return n(e,t)},new M.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],function(r,o){var i=f(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce(function(e,t){return t(o,e)},i),i=(o[Y]||[]).reduce(function(e,t){return t(o,e)},i)),r.concat(i)},new M.default):new M.default}function g(e,t,n){return s(n,e,!0)}function p(e,t){var n=S.default.Attributor.Attribute.keys(e),r=S.default.Attributor.Class.keys(e),o=S.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach(function(t){var n=S.default.query(t,S.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(n=X[t],null==n||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=Z[t])||n.attrName!==t&&n.keyName!==t||(n=Z[t],i[n.attrName]=n.value(e)||void 0))}),Object.keys(i).length>0&&(t=s(t,i)),t}function d(e,t){var n=S.default.query(e);if(null==n)return t;if(n.prototype instanceof S.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new M.default).insert(r,n.formats(e)))}else"function"==typeof n.formats&&(t=s(t,n.blotName,n.formats(e)));return t}function h(e,t){return c(t,"\n")||t.insert("\n"),t}function C(){return new M.default}function I(e,t){var n=S.default.query(e);if(null==n||"list-item"!==n.blotName||!c(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(S.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new M.default).retain(t.length()-1).retain(1,{indent:r}))}function v(e,t){return c(t,"\n")||(A(e)||t.length()>0&&e.nextSibling&&A(e.nextSibling))&&t.insert("\n"),t}function m(e,t){if(A(e)&&null!=e.nextElementSibling&&!c(t,"\n\n")){var n=e.offsetHeight+parseFloat(u(e).marginTop)+parseFloat(u(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function b(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===u(e).fontStyle&&(n.italic=!0),r.fontWeight&&(u(e).fontWeight.startsWith("bold")||parseInt(u(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=s(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new M.default).insert("\t").concat(t)),t}function y(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!u(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&A(e.parentNode)||null!=e.previousSibling&&A(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&A(e.parentNode)||null!=e.nextSibling&&A(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function e(e,t){for(var n=0;n\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[Q.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new M.default).insert(n,o({},Q.default.blotName,t[Q.default.blotName]))}var r=this.prepareMatching(),i=x(r,2),a=i[0],l=i[1],s=f(this.container,a,l);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new M.default).retain(s.length()-1).delete(1))),W.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,j.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new M.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),j.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new M.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(j.default.sources.SILENT),setTimeout(function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,j.default.sources.USER),t.quill.setSelection(r.length()-n.length,j.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach(function(r){var o=x(r,2),i=o[0],a=o[1];switch(i){case Node.TEXT_NODE:n.push(a);break;case Node.ELEMENT_NODE:t.push(a);break;default:[].forEach.call(e.container.querySelectorAll(i),function(e){e[Y]=e[Y]||[],e[Y].push(a)})}}),[t,n]}}]),t}(R.default);K.DEFAULTS={matchers:[],matchVisual:!0},t.default=K,t.matchAttributor=p,t.matchBlot=d,t.matchNewline=v,t.matchSpacing=m,t.matchText=y},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;nr.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.leftr.bottom){var a=o.bottom-o.top,l=e.bottom-e.top+a;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(r)},u=function(){function e(e,t){for(var n=0;n
','','',''].join(""),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(29),i=r(o),a=n(36),l=n(38),s=n(64),u=n(65),c=r(u),A=n(66),f=r(A),g=n(67),p=r(g),d=n(37),h=n(26),C=n(39),I=n(40),v=n(56),m=r(v),b=n(68),y=r(b),w=n(27),x=r(w),E=n(69),k=r(E),O=n(70),_=r(O),M=n(71),P=r(M),S=n(72),T=r(S),j=n(73),N=r(j),L=n(13),B=r(L),R=n(74),q=r(R),D=n(75),F=r(D),Q=n(57),z=r(Q),U=n(41),H=r(U),V=n(28),W=r(V),Y=n(59),G=r(Y),X=n(60),Z=r(X),K=n(61),J=r(K),$=n(108),ee=r($),te=n(62),ne=r(te);i.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":a.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":C.FontClass,"attributors/class/size":I.SizeClass,"attributors/style/align":a.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":C.FontStyle,"attributors/style/size":I.SizeStyle},!0),i.default.register({"formats/align":a.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":s.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":C.FontClass,"formats/size":I.SizeClass,"formats/blockquote":c.default,"formats/code-block":B.default,"formats/header":f.default,"formats/list":p.default,"formats/bold":m.default,"formats/code":L.Code,"formats/italic":y.default,"formats/link":x.default,"formats/script":k.default,"formats/strike":_.default,"formats/underline":P.default,"formats/image":T.default,"formats/video":N.default,"formats/list/item":g.ListItem,"modules/formula":q.default,"modules/syntax":F.default,"modules/toolbar":z.default,"themes/bubble":ee.default,"themes/snow":ne.default,"ui/icons":H.default,"ui/picker":W.default,"ui/icon-picker":Z.default,"ui/color-picker":G.default,"ui/tooltip":J.default},!0),t.default=i.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var a=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof h)u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=A.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(d.default);C.blotName="list",C.scope=A.default.Scope.BLOCK_BLOT,C.tagName=["OL","UL"],C.defaultChild="list-item",C.allowedChildren=[h],t.ListItem=h,t.default=C},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(56),l=function(e){return e&&e.__esModule?e:{default:e}}(a),s=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),t}(l.default);s.blotName="italic",s.tagName=["EM","I"],t.default=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=l(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return A.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,c.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(u.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=l(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return A.reduce(function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t},{})}},{key:"sanitize",value:function(e){return c.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var l=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(h.default);C.className="ql-syntax";var I=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),v=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var a=null;return r.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(a),a=setTimeout(function(){r.highlight(),a=null},r.options.interval)}),r.highlight(),r}return a(t,e),l(t,null,[{key:"register",value:function(){f.default.register(I,!0),f.default.register(C,!0)}}]),l(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(f.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(C).forEach(function(t){t.highlight(e.options.highlight)}),this.quill.update(f.default.sources.SILENT),null!=t&&this.quill.setSelection(t,f.default.sources.SILENT)}}}]),t}(p.default);v.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value}}(),interval:1e3},t.CodeBlock=C,t.CodeToken=I,t.default=v},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var l=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;if(void 0!==a)return a.call(r)},s=function(){function e(e,t){for(var n=0;n0&&o===f.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var a=i[i.length-1],l=r.quill.getIndex(a),s=Math.min(a.length()-1,t.index+t.length-l),u=r.quill.getBounds(new d.Range(l,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return a(t,e),s(t,[{key:"listen",value:function(){var e=this;l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){e.root.classList.remove("ql-editing")}),this.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(g.BaseTooltip);m.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=m,t.default=v},function(e,t,n){e.exports=n(63)}]).default})}).call(t,n(1018).Buffer)},function(e,t,n){"use strict";var r=n(0),o=n(237);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";var r=n(372),o={createEditor:function(e,t){var n=new r(e,t);return void 0!==t.tabIndex&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n},hookEditor:function(e){var t=this.makeUnprivilegedEditor(e);this.handleTextChange=function(n,r,o){this.onEditorChangeText&&(this.onEditorChangeText(e.root.innerHTML,n,o,t),this.onEditorChangeSelection(e.getSelection(),o,t))}.bind(this),this.handleSelectionChange=function(e,n,r){this.onEditorChangeSelection&&this.onEditorChangeSelection(e,r,t)}.bind(this),e.on("editor-change",function(e,t,n,o){e===r.events.SELECTION_CHANGE&&this.handleSelectionChange(t,n,o),e===r.events.TEXT_CHANGE&&this.handleTextChange(t,n,o)}.bind(this))},unhookEditor:function(e){e.off("selection-change"),e.off("text-change")},setEditorReadOnly:function(e,t){t?e.disable():e.enable()},setEditorContents:function(e,t){var n=e.getSelection();"string"==typeof t?e.setContents(e.clipboard.convert(t)):e.setContents(t),n&&e.hasFocus()&&this.setEditorSelection(e,n)},setEditorSelection:function(e,t){if(t){var n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index))}e.setSelection(t)},setEditorTabIndex:function(e,t){e.editor&&e.editor.scroll&&e.editor.scroll.domNode&&(e.editor.scroll.domNode.tabIndex=t)},makeUnprivilegedEditor:function(e){var t=e;return{getLength:function(){return t.getLength.apply(t,arguments)},getText:function(){return t.getText.apply(t,arguments)},getHTML:function(){return t.root.innerHTML},getContents:function(){return t.getContents.apply(t,arguments)},getSelection:function(){return t.getSelection.apply(t,arguments)},getBounds:function(){return t.getBounds.apply(t,arguments)}}}};e.exports=o},function(e,t,n){function r(e,t){return o(e,t)}var o=n(209);e.exports=r},function(e,t,n){"use strict";!function(t){e.exports=t(n(0))}(function(e){function t(t){var n=e.createElement.bind(null,t);return n.type=t,n}return{a:t("a"),abbr:t("abbr"),address:t("address"),area:t("area"),article:t("article"),aside:t("aside"),audio:t("audio"),b:t("b"),base:t("base"),bdi:t("bdi"),bdo:t("bdo"),big:t("big"),blockquote:t("blockquote"),body:t("body"),br:t("br"),button:t("button"),canvas:t("canvas"),caption:t("caption"),cite:t("cite"),code:t("code"),col:t("col"),colgroup:t("colgroup"),data:t("data"),datalist:t("datalist"),dd:t("dd"),del:t("del"),details:t("details"),dfn:t("dfn"),dialog:t("dialog"),div:t("div"),dl:t("dl"),dt:t("dt"),em:t("em"),embed:t("embed"),fieldset:t("fieldset"),figcaption:t("figcaption"),figure:t("figure"),footer:t("footer"),form:t("form"),h1:t("h1"),h2:t("h2"),h3:t("h3"),h4:t("h4"),h5:t("h5"),h6:t("h6"),head:t("head"),header:t("header"),hgroup:t("hgroup"),hr:t("hr"),html:t("html"),i:t("i"),iframe:t("iframe"),img:t("img"),input:t("input"),ins:t("ins"),kbd:t("kbd"),keygen:t("keygen"),label:t("label"),legend:t("legend"),li:t("li"),link:t("link"),main:t("main"),map:t("map"),mark:t("mark"),menu:t("menu"),menuitem:t("menuitem"),meta:t("meta"),meter:t("meter"),nav:t("nav"),noscript:t("noscript"),object:t("object"),ol:t("ol"),optgroup:t("optgroup"),option:t("option"),output:t("output"),p:t("p"),param:t("param"),picture:t("picture"),pre:t("pre"),progress:t("progress"),q:t("q"),rp:t("rp"),rt:t("rt"),ruby:t("ruby"),s:t("s"),samp:t("samp"),script:t("script"),section:t("section"),select:t("select"),small:t("small"),source:t("source"),span:t("span"),strong:t("strong"),style:t("style"),sub:t("sub"),summary:t("summary"),sup:t("sup"),table:t("table"),tbody:t("tbody"),td:t("td"),textarea:t("textarea"),tfoot:t("tfoot"),th:t("th"),thead:t("thead"),time:t("time"),title:t("title"),tr:t("tr"),track:t("track"),u:t("u"),ul:t("ul"),var:t("var"),video:t("video"),wbr:t("wbr"),circle:t("circle"),clipPath:t("clipPath"),defs:t("defs"),ellipse:t("ellipse"),g:t("g"),image:t("image"),line:t("line"),linearGradient:t("linearGradient"),mask:t("mask"),path:t("path"),pattern:t("pattern"),polygon:t("polygon"),polyline:t("polyline"),radialGradient:t("radialGradient"),rect:t("rect"),stop:t("stop"),svg:t("svg"),text:t("text"),tspan:t("tspan")}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=function(e){var t=e;return t=t.replace(/&/g,"&"),t=t.replace(//g,">"),t=t.replace(/"/g,""")},t=function(e,t){for(var n=new Object,r=new Object,o=0;o0;o--)null!=t[o].text&&null==t[o-1].text&&t[o].row>0&&null==e[t[o].row-1].text&&t[o-1]==e[t[o].row-1]&&(t[o-1]={text:t[o-1],row:t[o].row-1},e[t[o].row-1]={text:e[t[o].row-1],row:o-1});return{o:e,n:t}};this.diffString=function(n,r){n=n.replace(/\s+$/,""),r=r.replace(/\s+$/,"");var o=t(""==n?[]:n.split(/\s+/),""==r?[]:r.split(/\s+/)),i="",a=n.match(/\s+/g);null==a?a=["\n"]:a.push("\n");var l=r.match(/\s+/g);if(null==l?l=["\n"]:l.push("\n"),0==o.n.length)for(var s=0;s"+e(o.o[s])+a[s]+"";else{if(null==o.n[0].text)for(r=0;r"+e(o.o[r])+a[r]+"";for(var s=0;s"+e(o.n[s])+l[s]+"";else{var u="";for(r=o.n[s].row+1;r"+e(o.o[r])+a[r]+"";i+=" "+o.n[s].text+l[s]+u}}return i},this.diffStringReturnRemovedLink=function(n,r){var o=[],i="";if(null!==n&&null!=r&&void 0!==n&&void 0!==r){n=n.replace(/\s+$/,""),r=r.replace(/\s+$/,"");var a=t(""==n?[]:n.split(/\s+/),""==r?[]:r.split(/\s+/)),l="",s=n.match(/\s+/g);null==s?s=["\n"]:s.push("\n");var u=r.match(/\s+/g);if(null==u?u=["\n"]:u.push("\n"),0==a.n.length)for(var c=0;c"+e(a.n[c])+u[c]+"";else{for(r=a.n[c].row+1;r-1&&-1==o[A].indexOf("https://drive.google.com/viewerng/viewer?embedded=true")){var f=/(https:\/\/s3.amazonaws.com\/files.appdataroom.com[^\s]+)/g;i=o[A].match(f),i[0].indexOf(""")>-1&&(i=i[0].split(""")[0]);break}return i}return null}};t.default=r},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n=70&&this.closeMenu(),this.setState({menuX:null})}},{key:"exitVPT",value:function(e){e.preventDefault(),e.stopPropagation(),v.default.exitVPT()}},{key:"toggleMenuOpen",value:function(e){this.props.setIsLeftNavOpen(!this.props.layout.isLeftNavOpen)}},{key:"closeMenu",value:function(){this.props.setIsLeftNavOpen(!1)}},{key:"render",value:function(){var e=this.props.layout.isLeftNavOpen,t=!this.props.editor&&m.QueryParamsHelper.isFullscreen(),n=e?"":" hidden",r=e?"fa fa-arrow-left":"fa fa-arrow-right",o=e&&this.state.menuX?{left:this.state.menuX+"px"}:null;return g.default.createElement(q,h({},this.props,{onDrag:this.onDrag,onDragEnd:this.onDragEnd}),g.default.createElement("div",{className:"main-menu"+n,style:o},g.default.createElement("div",{className:"main-menu-tab tabIcon",onMouseDown:this.toggleMenuOpen},g.default.createElement("i",{className:r})),t&&g.default.createElement("div",{className:"exit-button circle-button",onClick:this.exitVPT},g.default.createElement("i",{className:"fa fa-reply"})),g.default.createElement(y.default,this.props),g.default.createElement(x.default,this.props),g.default.createElement(k.default,this.props),this.props.editor?g.default.createElement(P.default,this.props):g.default.createElement(T.default,h({},this.props,{onCategoryClicked:this.onCategoryClicked})),g.default.createElement(_.default,h({},this.props,{isExitButtonVisible:t}))))}}]),t}(g.default.Component));t.default=R;var q=l("MainMenuContainer")(function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),C(t,[{key:"render",value:function(){var e=this.props,t=e.onDrag,n=e.onDragEnd,r=m.DeviceUtility.isPhone(),o=this.props.layout.isLeftNavOpen?"":" hidden";return r?g.default.createElement("div",{id:"mainmenu_swipe",className:"main-menu-mobile-container"},g.default.createElement(j.TouchDrag,{swipeContainerId:"#mainmenu_swipe",onDrag:t,onDragEnd:n}),g.default.createElement("div",{className:"main-menu-backdrop"+o}),this.props.children):this.props.children}}]),t}(g.default.Component))}).call(t,n(2)(e))},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n=0?i.left:i.right)+a;if("top"===e)return n.y<(s>=0?i.top:i.bottom)+a;if("right"===e)return n.x>(l>=0?i.right:i.left)-a;if("bottom"===e)return n.y>(s>=0?i.bottom:i.top)-a}return!!Me.default.element(r)&&(Me.default.element(t)?t===r:ze.matchesUpTo(r,t,o))}function k(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.resizeAxes){var r=t;n.interactable.options.resize.square?("y"===n.resizeAxes?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes="xy"):(r.axes=n.resizeAxes,"x"===n.resizeAxes?r.delta.y=0:"y"===n.resizeAxes&&(r.delta.x=0))}}function O(e,t,n){return(Me.default.string(e)?(0,Ve.getStringOptionResult)(e,t,n):e)||(0,ke.getWindow)(n)}function _(e){return Me.default.window(e)&&(e=window.document.body),{x:e.scrollLeft,y:e.scrollTop}}function M(e){return Me.default.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor}function P(e){return Me.default.func(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker}function S(e,t,n,r,o){return t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&L(t,n,e,o)?e:null}function T(e,t,n,r,o,i,a){for(var l=0,s=r.length;l=l)return!1;if(f.interactable===e){if((u+=g===n.name?1:0)>=i)return!1;if(f.element===t&&(c++,g===n.name&&c>=a))return!1}}}return l>0}function B(e,t){return Me.default.number(e)?(t.autoStart.maxInteractions=e,this):t.autoStart.maxInteractions}function R(e,t,n){var r=n.autoStart.cursorElement;r&&r!==e&&(r.style.cursor=""),e.ownerDocument.documentElement.style.cursor=t,e.style.cursor=t,n.autoStart.cursorElement=t?e:null}function q(e,t){var n=e.interactable,r=e.element,o=e.prepared;if("mouse"===e.pointerType&&n&&n.options.styleCursor){var i="";if(o.name){var a=n.options[o.name].cursorChecker;i=Me.default.func(a)?a(o,n,r,e._interacting):t.actions.map[o.name].getCursor(o)}R(e.element,i||"",t)}else t.autoStart.cursorElement&&R(t.autoStart.cursorElement,"",t)}function D(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.interactable.options;return n[t].hold||n[t].delay}function F(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):Me.default.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault}function Q(e){var t=e.interaction,n=e.event;t.interactable&&t.interactable.checkAndPreventDefault(n)}function z(e){var t=e.Interactable;t.prototype.preventDefault=F,t.prototype.checkAndPreventDefault=function(t){return function(e,t,n){var r=e.options.preventDefault;if("never"!==r)if("always"!==r){if(t.events.supportsPassive&&/^touch(start|move)$/.test(n.type)){var o=(0,ke.getWindow)(n.target).document,i=t.getDocOptions(o);if(!i||!i.events||!1!==i.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||Me.default.element(n.target)&&(0,ze.matchesSelector)(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}else n.preventDefault()}(this,e,t)},e.interactions.docEvents.push({type:"dragstart",listener:function(t){for(var n=0;n=(parseInt(ke.getWindow(d).getComputedStyle(d).zIndex,10)||0)&&(t=r);else t=r}else t=r}var p,d;return t},ze.matchesUpTo=function(e,t,n){for(;Me.default.element(e);){if(i(e,t))return!0;if((e=o(e))===n)return i(e,t)}return!1},ze.getActualElement=function(e){return e.correspondingUseElement||e},ze.getScrollXY=l,ze.getElementClientRect=s,ze.getElementRect=function(e){var t=s(e);if(!De.default.isIOS7&&t){var n=l(ke.getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t},ze.getPath=function(e){for(var t=[];e;)t.push(e),e=o(e);return t},ze.trySelector=function(e){return!!Me.default.string(e)&&(Be.default.document.querySelector(e),!0)};var Ue=function(e){return e.parentNode||e.host},He={};Object.defineProperty(He,"__esModule",{value:!0}),He.default=function(e,t){for(var n in t)e[n]=t[n];return e};var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.getStringOptionResult=u,Ve.resolveRectLike=function(e,t,n,r){var o=e;return Me.default.string(o)?o=u(o,t,n):Me.default.func(o)&&(o=o.apply(void 0,r)),Me.default.element(o)&&(o=(0,ze.getElementRect)(o)),o},Ve.rectToXY=function(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}},Ve.xywhToTlbr=function(e){return!e||"left"in e&&"top"in e||((e=(0,He.default)({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e},Ve.tlbrToXywh=function(e){return!e||"x"in e&&"y"in e||((e=(0,He.default)({},e)).x=e.left||0,e.y=e.top||0,e.width=e.width||(e.right||0)-e.x,e.height=e.height||(e.bottom||0)-e.y),e},Ve.addEdges=function(e,t,n){e.left&&(t.left+=n.x),e.right&&(t.right+=n.x),e.top&&(t.top+=n.y),e.bottom&&(t.bottom+=n.y),t.width=t.right-t.left,t.height=t.bottom-t.top};var We={};Object.defineProperty(We,"__esModule",{value:!0}),We.default=function(e,t,n){var r=e.options[n],o=r&&r.origin||e.options.origin,i=(0,Ve.resolveRectLike)(o,e,t,[e&&t]);return(0,Ve.rectToXY)(i)||{x:0,y:0}};var Ye={};Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.default=function e(t,n,r){if(r=r||{},Me.default.string(t)&&-1!==t.search(" ")&&(t=c(t)),Me.default.array(t))return t.reduce(function(t,o){return(0,He.default)(t,e(o,n,r))},r);if(Me.default.object(t)&&(n=t,t=""),Me.default.func(n))r[t]=r[t]||[],r[t].push(n);else if(Me.default.array(n))for(var o=0;o1?C(t):t[0];p(r,e.page),d(r,e.client),e.timeStamp=n},Ke.getTouchPair=h,Ke.pointerAverage=C,Ke.touchBBox=function(e){if(!e.length)return null;var t=h(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY),o=Math.max(t[0].pageX,t[1].pageX),i=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,right:o,bottom:i,width:o-n,height:i-r}},Ke.touchDistance=function(e,t){var n=t+"X",r=t+"Y",o=h(e),i=o[0][n]-o[1][n],a=o[0][r]-o[1][r];return(0,Ge.default)(i,a)},Ke.touchAngle=function(e,t){var n=t+"X",r=t+"Y",o=h(e),i=o[1][n]-o[0][n],a=o[1][r]-o[0][r];return 180*Math.atan2(a,i)/Math.PI},Ke.getPointerType=function(e){return Me.default.string(e.pointerType)?e.pointerType:Me.default.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof Be.default.Touch?"touch":"mouse"},Ke.getEventTargets=function(e){var t=Me.default.func(e.composedPath)?e.composedPath():e.path;return[ze.getActualElement(t?t[0]:e.target),ze.getActualElement(e.currentTarget)]},Ke.newCoords=function(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},Ke.coordsToEvent=function(e){return{coords:e,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}},Object.defineProperty(Ke,"pointerExtend",{enumerable:!0,get:function(){return Xe.default}});var Je={};Object.defineProperty(Je,"__esModule",{value:!0}),Je.BaseEvent=void 0;var $e=function(){function e(e){this.type=void 0,this.target=void 0,this.currentTarget=void 0,this.interactable=void 0,this._interaction=void 0,this.timeStamp=void 0,this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=e}var t=e.prototype;return t.preventDefault=function(){},t.stopPropagation=function(){this.propagationStopped=!0},t.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e}();Je.BaseEvent=$e,Object.defineProperty($e.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var et={};Object.defineProperty(et,"__esModule",{value:!0}),et.find=et.findIndex=et.from=et.merge=et.remove=et.contains=void 0,et.contains=function(e,t){return-1!==e.indexOf(t)},et.remove=function(e,t){return e.splice(e.indexOf(t),1)};var tt=function(e,t){for(var n=0;na.left&&c.xa.top&&c.y=a.left&&p<=a.right&&d>=a.top&&d<=a.bottom}return g&&Me.default.number(s)&&(l=Math.max(0,Math.min(a.right,g.right)-Math.max(a.left,g.left))*Math.max(0,Math.min(a.bottom,g.bottom)-Math.max(a.top,g.top))/(g.width*g.height)>=s),e.options.drop.checker&&(l=e.options.drop.checker(t,n,l,e,i,r,o)),l}(this,e,t,n,r,o,i)},n.dynamicDrop=function(t){return Me.default.bool(t)?(e.dynamicDrop=t,n):e.dynamicDrop},(0,He.default)(t.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),t.methodDict.drop="dropzone",e.dynamicDrop=!1,o.actions.drop=at.defaults},listeners:{"interactions:before-action-start":function(e){var t=e.interaction;"drag"===t.prepared.name&&(t.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(e,t){var n=e.interaction,r=(e.event,e.iEvent);if("drag"===n.prepared.name){var o=n.dropState;o.activeDrops=null,o.events=null,o.activeDrops=v(t,n.element),o.events=b(n,0,r),o.events.activate&&(I(o.activeDrops,o.events.activate),t.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":w,"interactions:after-action-move":function(e,t){var n=e.interaction,r=e.iEvent;"drag"===n.prepared.name&&(y(n,n.dropState.events),t.fire("actions/drop:move",{interaction:n,dragEvent:r}),n.dropState.events={})},"interactions:action-end":function(e,t){if("drag"===e.interaction.prepared.name){var n=e.interaction,r=e.iEvent;w(e,t),y(n,n.dropState.events),t.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:v,getDrop:m,getDropEvents:b,fireDropEvents:y,defaults:{enabled:!1,accept:null,overlap:"pointer"}},lt=at;it.default=lt;var st={};Object.defineProperty(st,"__esModule",{value:!0}),st.default=void 0;var ut={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(e){var t=e.actions,n=e.Interactable,r=e.defaults;n.prototype.gesturable=function(e){return Me.default.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):Me.default.bool(e)?(this.options.gesture.enabled=e,this):this.options.gesture},t.map.gesture=ut,t.methodDict.gesture="gesturable",r.actions.gesture=ut.defaults},listeners:{"interactions:action-start":x,"interactions:action-move":x,"interactions:action-end":x,"interactions:new":function(e){e.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(e){if(!(e.interaction.pointers.length<2)){var t=e.interactable.options.gesture;if(t&&t.enabled)return e.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""}},ct=ut;st.default=ct;var At={};Object.defineProperty(At,"__esModule",{value:!0}),At.default=void 0;var ft={id:"actions/resize",before:["actions/drag"],install:function(e){var t=e.actions,n=e.browser,r=e.Interactable,o=e.defaults;ft.cursors=function(e){return e.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(n),ft.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(t){return function(e,t,n){return Me.default.object(t)?(e.options.resize.enabled=!1!==t.enabled,e.setPerAction("resize",t),e.setOnEvents("resize",t),Me.default.string(t.axis)&&/^x$|^y$|^xy$/.test(t.axis)?e.options.resize.axis=t.axis:null===t.axis&&(e.options.resize.axis=n.defaults.actions.resize.axis),Me.default.bool(t.preserveAspectRatio)?e.options.resize.preserveAspectRatio=t.preserveAspectRatio:Me.default.bool(t.square)&&(e.options.resize.square=t.square),e):Me.default.bool(t)?(e.options.resize.enabled=t,e):e.options.resize}(this,t,e)},t.map.resize=ft,t.methodDict.resize="resizable",o.actions.resize=ft.defaults},listeners:{"interactions:new":function(e){e.interaction.resizeAxes="xy"},"interactions:action-start":function(e){!function(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var r=t,o=n.rect;n._rects={start:(0,He.default)({},o),corrected:(0,He.default)({},o),previous:(0,He.default)({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}}(e),k(e)},"interactions:action-move":function(e){!function(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var r=t,o=n.interactable.options.resize.invert,i="reposition"===o||"negate"===o,a=n.rect,l=n._rects,s=l.start,u=l.corrected,c=l.delta,A=l.previous;if((0,He.default)(A,u),i){if((0,He.default)(u,a),"reposition"===o){if(u.top>u.bottom){var f=u.top;u.top=u.bottom,u.bottom=f}if(u.left>u.right){var g=u.left;u.left=u.right,u.right=g}}}else u.top=Math.min(a.top,s.bottom),u.bottom=Math.max(a.bottom,s.top),u.left=Math.min(a.left,s.right),u.right=Math.max(a.right,s.left);for(var p in u.width=u.right-u.left,u.height=u.bottom-u.top,u)c[p]=u[p]-A[p];r.edges=n.prepared.edges,r.rect=u,r.deltaRect=c}}(e),k(e)},"interactions:action-end":function(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var r=t;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(e){var t=e.interaction,n=e.interactable,r=e.element,o=e.rect,i=e.buttons;if(o){var a=(0,He.default)({},t.coords.cur.page),l=n.options.resize;if(l&&l.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||0!=(i&l.mouseButtons))){if(Me.default.object(l.edges)){var s={left:!1,right:!1,top:!1,bottom:!1};for(var u in s)s[u]=E(u,l.edges[u],a,t._latestPointer.eventTarget,r,o,l.margin||ft.defaultMargin);s.left=s.left&&!s.right,s.top=s.top&&!s.bottom,(s.left||s.right||s.top||s.bottom)&&(e.action={name:"resize",edges:s})}else{var c="y"!==l.axis&&a.x>o.right-ft.defaultMargin,A="x"!==l.axis&&a.y>o.bottom-ft.defaultMargin;(c||A)&&(e.action={name:"resize",axes:(c?"x":"")+(A?"y":"")})}return!e.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(e){var t=e.edges,n=e.axis,r=e.name,o=ft.cursors,i=null;if(n)i=o[r+n];else if(t){for(var a="",l=["top","bottom","left","right"],s=0;s=1){var u={x:wt.x*s,y:wt.y*s};if(u.x||u.y){var c=_(i);Me.default.window(i)?i.scrollBy(u.x,u.y):i&&(i.scrollLeft+=u.x,i.scrollTop+=u.y);var A=_(i),f={x:A.x-c.x,y:A.y-c.y};(f.x||f.y)&&t.fire({type:"autoscroll",target:n,interactable:t,delta:f,interaction:e,container:i})}wt.prevTime=a}wt.isScrolling&&(Ct.default.cancel(wt.i),wt.i=Ct.default.request(wt.scroll))},check:function(e,t){var n;return null==(n=e.options[t].autoScroll)?void 0:n.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&wt.check(t.interactable,t.prepared.name))if(t.simulation)wt.x=wt.y=0;else{var r,o,i,a,l=t.interactable,s=t.element,u=t.prepared.name,c=l.options[u].autoScroll,A=O(c.container,l,s);if(Me.default.window(A))a=n.clientXA.innerWidth-wt.margin,i=n.clientY>A.innerHeight-wt.margin;else{var f=ze.getElementClientRect(A);a=n.clientXf.right-wt.margin,i=n.clientY>f.bottom-wt.margin}wt.x=o?1:a?-1:0,wt.y=i?1:r?-1:0,wt.isScrolling||(wt.margin=c.margin,wt.speed=c.speed,wt.start(t))}}},xt={id:"auto-scroll",install:function(e){var t=e.defaults,n=e.actions;e.autoScroll=wt,wt.now=function(){return e.now()},n.phaselessTypes.autoscroll=!0,t.perAction.autoScroll=wt.defaults},listeners:{"interactions:new":function(e){e.interaction.autoScroll=null},"interactions:destroy":function(e){e.interaction.autoScroll=null,wt.stop(),wt.interaction&&(wt.interaction=null)},"interactions:stop":wt.stop,"interactions:action-move":function(e){return wt.onInteractionMove(e)}}};yt.default=xt;var Et={};Object.defineProperty(Et,"__esModule",{value:!0}),Et.warnOnce=function(e,t){var n=!1;return function(){return n||(ke.window.console.warn(t),n=!0),e.apply(this,arguments)}},Et.copyAction=function(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e};var kt={};Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var Ot={id:"auto-start/interactableMethods",install:function(e){var t=e.Interactable;t.prototype.getAction=function(t,n,r,o){var i=function(e,t,n,r,o){var i=e.getRect(r),a={action:null,interactable:e,interaction:n,element:r,rect:i,buttons:t.buttons||{0:1,1:4,3:8,4:16}[t.button]};return o.fire("auto-start:check",a),a.action}(this,n,r,o,e);return this.options.actionChecker?this.options.actionChecker(t,n,i,this,o,r):i},t.prototype.ignoreFrom=(0,Et.warnOnce)(function(e){return this._backCompatOption("ignoreFrom",e)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=(0,Et.warnOnce)(function(e){return this._backCompatOption("allowFrom",e)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=P,t.prototype.styleCursor=M}};kt.default=Ot;var _t={};Object.defineProperty(_t,"__esModule",{value:!0}),_t.default=void 0;var Mt={id:"auto-start/base",before:["actions"],install:function(e){var t=e.interactStatic,n=e.defaults;e.usePlugin(kt.default),n.base.actionChecker=null,n.base.styleCursor=!0,(0,He.default)(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),t.maxInteractions=function(t){return B(t,e)},e.autoStart={maxInteractions:1/0,withinInteractionLimit:L,cursorElement:null}},listeners:{"interactions:down":function(e,t){var n=e.interaction,r=e.pointer,o=e.event,i=e.eventTarget;n.interacting()||N(n,j(n,r,o,i,t),t)},"interactions:move":function(e,t){!function(e,t){var n=e.interaction,r=e.pointer,o=e.event,i=e.eventTarget;"mouse"!==n.pointerType||n.pointerIsDown||n.interacting()||N(n,j(n,r,o,i,t),t)}(e,t),function(e,t){var n=e.interaction;if(n.pointerIsDown&&!n.interacting()&&n.pointerWasMoved&&n.prepared.name){t.fire("autoStart:before-start",e);var r=n.interactable,o=n.prepared.name;o&&r&&(r.options[o].manualStart||!L(r,n.element,n.prepared,t)?n.stop():(n.start(n.prepared,r,n.element),q(n,t)))}}(e,t)},"interactions:stop":function(e,t){var n=e.interaction,r=n.interactable;r&&r.options.styleCursor&&R(n.element,"",t)}},maxInteractions:B,withinInteractionLimit:L,validateAction:S};_t.default=Mt;var Pt={};Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.default=void 0;var St={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(e,t){var n=e.interaction,r=e.eventTarget,o=e.dx,i=e.dy;if("drag"===n.prepared.name){var a=Math.abs(o),l=Math.abs(i),s=n.interactable.options.drag,u=s.startAxis,c=a>l?"x":a0&&(t.autoStartHoldTimer=setTimeout(function(){t.start(t.prepared,t.interactable,t.element)},n))},"interactions:move":function(e){var t=e.interaction,n=e.duplicate;t.autoStartHoldTimer&&t.pointerWasMoved&&!n&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":function(e){var t=e.interaction;D(t)>0&&(t.prepared.name=null)}},getHoldDuration:D};Tt.default=jt;var Nt={};Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.default=void 0;var Lt={id:"auto-start",install:function(e){e.usePlugin(_t.default),e.usePlugin(Tt.default),e.usePlugin(Pt.default)}};Nt.default=Lt;var Bt={};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0,Bt.default={};var Rt={};Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.install=z,Rt.default=void 0;var qt={id:"core/interactablePreventDefault",install:z,listeners:["down","move","up","cancel"].reduce(function(e,t){return e["interactions:"+t]=Q,e},{})};Rt.default=qt;var Dt,Ft={};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0,function(e){e.touchAction="touchAction",e.boxSizing="boxSizing",e.noListeners="noListeners"}(Dt||(Dt={}));var Qt={touchAction:"https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action",boxSizing:"https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing"},zt=[{name:Dt.touchAction,perform:function(e){return!function(e,t,n){for(var r=e;Me.default.element(r);){if(U(r,"touchAction",n))return!0;r=(0,ze.parentNode)(r)}return!1}(e.element,0,/pan-|pinch|none/)},getInfo:function(e){return[e.element,Qt.touchAction]},text:'Consider adding CSS "touch-action: none" to this element\n'},{name:Dt.boxSizing,perform:function(e){var t=e.element;return"resize"===e.prepared.name&&t instanceof Be.default.HTMLElement&&!U(t,"boxSizing",/border-box/)},text:'Consider adding CSS "box-sizing: border-box" to this resizable element',getInfo:function(e){return[e.element,Qt.boxSizing]}},{name:Dt.noListeners,perform:function(e){var t=e.prepared.name;return!(e.interactable.events.types[t+"move"]||[]).length},getInfo:function(e){return[e.prepared.name,e.interactable]},text:"There are no listeners set for this action"}],Ut={id:"dev-tools",install:function(e,t){var n=(void 0===t?{}:t).logger,r=e.Interactable,o=e.defaults;e.logger=n||console,o.base.devTools={ignore:{}},r.prototype.devTools=function(e){return e?((0,He.default)(this.options.devTools,e),this):this.options.devTools}},listeners:{"interactions:action-start":function(e,t){for(var n=e.interaction,r=0;r150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI;t<0&&(t+=360);var n=112.5<=t&&t<247.5,r=202.5<=t&&t<337.5;return{up:r,down:!r&&22.5<=t&&t<157.5,left:n,right:!n&&(292.5<=t||t<67.5),angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}},o.preventDefault=function(){},o.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},o.stopPropagation=function(){this.propagationStopped=!0},t}(Je.BaseEvent);Kt.InteractEvent=Jt,Object.defineProperties(Jt.prototype,{pageX:{get:function(){return this.page.x},set:function(e){this.page.x=e}},pageY:{get:function(){return this.page.y},set:function(e){this.page.y=e}},clientX:{get:function(){return this.client.x},set:function(e){this.client.x=e}},clientY:{get:function(){return this.client.y},set:function(e){this.client.y=e}},dx:{get:function(){return this.delta.x},set:function(e){this.delta.x=e}},dy:{get:function(){return this.delta.y},set:function(e){this.delta.y=e}},velocityX:{get:function(){return this.velocity.x},set:function(e){this.velocity.x=e}},velocityY:{get:function(){return this.velocity.y},set:function(e){this.velocity.y=e}}});var $t={};Object.defineProperty($t,"__esModule",{value:!0}),$t.PointerInfo=void 0,$t.PointerInfo=function(e,t,n,r,o){this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=e,this.pointer=t,this.event=n,this.downTime=r,this.downTarget=o};var en,tn,nn={};Object.defineProperty(nn,"__esModule",{value:!0}),Object.defineProperty(nn,"PointerInfo",{enumerable:!0,get:function(){return $t.PointerInfo}}),nn.default=nn.Interaction=nn._ProxyMethods=nn._ProxyValues=void 0,nn._ProxyValues=en,function(e){e.interactable="",e.element="",e.prepared="",e.pointerIsDown="",e.pointerWasMoved="",e._proxy=""}(en||(nn._ProxyValues=en={})),nn._ProxyMethods=tn,function(e){e.start="",e.move="",e.end="",e.stop="",e.interacting=""}(tn||(nn._ProxyMethods=tn={}));var rn=0,on=function(){function e(e){var t=this,n=e.pointerType,r=e.scopeFire;this.interactable=null,this.element=null,this.rect=void 0,this._rects=void 0,this.edges=void 0,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=null,this.simulation=null,this.doMove=(0,Et.warnOnce)(function(e){this.move(e)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:Ke.newCoords(),prev:Ke.newCoords(),cur:Ke.newCoords(),delta:Ke.newCoords(),velocity:Ke.newCoords()},this._id=rn++,this._scopeFire=r,this.pointerType=n;var o=this;this._proxy={};for(var i in en)!function(e){Object.defineProperty(t._proxy,e,{get:function(){return o[e]}})}(i);for(var a in tn)!function(e){Object.defineProperty(t._proxy,e,{value:function(){return o[e].apply(o,arguments)}})}(a);this._scopeFire("interactions:new",{interaction:this})}var t,n;t=e,(n=[{key:"pointerMoveTolerance",get:function(){return 1}}])&&Y(t.prototype,n);var r=e.prototype;return r.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,n,!0),o=this.pointers[r];this._scopeFire("interactions:down",{pointer:e,event:t,eventTarget:n,pointerIndex:r,pointerInfo:o,type:"down",interaction:this})},r.start=function(e,t,n){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<("gesture"===e.name?2:1)||!t.options[e.name].enabled)&&((0,Et.copyAction)(this.prepared,e),this.interactable=t,this.element=n,this.rect=t.getRect(n),this.edges=this.prepared.edges?(0,He.default)({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)},r.pointerMove=function(e,t,n){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(e,t,n,!1);var r,o,i=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(r=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=(0,Ge.default)(r,o)>this.pointerMoveTolerance);var a=this.getPointerIndex(e),l={pointer:e,pointerIndex:a,pointerInfo:this.pointers[a],event:t,type:"move",eventTarget:n,dx:r,dy:o,duplicate:i,interaction:this};i||Ke.setCoordVelocity(this.coords.velocity,this.coords.delta),this._scopeFire("interactions:move",l),i||this.simulation||(this.interacting()&&(l.type=null,this.move(l)),this.pointerWasMoved&&Ke.copyCoords(this.coords.prev,this.coords.cur))},r.move=function(e){e&&e.event||Ke.setZeroCoords(this.coords.delta),(e=(0,He.default)({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase="move",this._doPhase(e)},r.pointerUp=function(e,t,n,r){var o=this.getPointerIndex(e);-1===o&&(o=this.updatePointer(e,t,n,!1));var i=/cancel$/i.test(t.type)?"cancel":"up";this._scopeFire("interactions:"+i,{pointer:e,pointerIndex:o,pointerInfo:this.pointers[o],event:t,eventTarget:n,type:i,curEventTarget:r,interaction:this}),this.simulation||this.end(t),this.removePointer(e,t)},r.documentBlur=function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})},r.end=function(e){var t;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(t=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,!0===t&&this.stop()},r.currentAction=function(){return this._interacting?this.prepared.name:null},r.interacting=function(){return this._interacting},r.stop=function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null},r.getPointerIndex=function(e){var t=Ke.getPointerId(e);return"mouse"===this.pointerType||"pen"===this.pointerType?this.pointers.length-1:et.findIndex(this.pointers,function(e){return e.id===t})},r.getPointerInfo=function(e){return this.pointers[this.getPointerIndex(e)]},r.updatePointer=function(e,t,n,r){var o=Ke.getPointerId(e),i=this.getPointerIndex(e),a=this.pointers[i];return r=!1!==r&&(r||/(down|start)$/i.test(t.type)),a?a.pointer=e:(a=new $t.PointerInfo(o,e,t,null,null),i=this.pointers.length,this.pointers.push(a)),Ke.setCoords(this.coords.cur,this.pointers.map(function(e){return e.pointer}),this._now()),Ke.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),r&&(this.pointerIsDown=!0,a.downTime=this.coords.cur.timeStamp,a.downTarget=n,Ke.pointerExtend(this.downPointer,e),this.interacting()||(Ke.copyCoords(this.coords.start,this.coords.cur),Ke.copyCoords(this.coords.prev,this.coords.cur),this.downEvent=t,this.pointerWasMoved=!1)),this._updateLatestPointer(e,t,n),this._scopeFire("interactions:update-pointer",{pointer:e,event:t,eventTarget:n,down:r,pointerInfo:a,pointerIndex:i,interaction:this}),i},r.removePointer=function(e,t){var n=this.getPointerIndex(e);if(-1!==n){var r=this.pointers[n];this._scopeFire("interactions:remove-pointer",{pointer:e,event:t,eventTarget:null,pointerIndex:n,pointerInfo:r,interaction:this}),this.pointers.splice(n,1),this.pointerIsDown=!1}},r._updateLatestPointer=function(e,t,n){this._latestPointer.pointer=e,this._latestPointer.event=t,this._latestPointer.eventTarget=n},r.destroy=function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null},r._createPreparedEvent=function(e,t,n,r){return new Kt.InteractEvent(this,e,this.prepared.name,t,this.element,n,r)},r._fireEvent=function(e){this.interactable.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)},r._doPhase=function(e){var t=e.event,n=e.phase,r=e.preEnd,o=e.type,i=this.rect;if(i&&"move"===n&&(Ve.addEdges(this.edges,i,this.coords.delta[this.interactable.options.deltaSource]),i.width=i.right-i.left,i.height=i.bottom-i.top),!1===this._scopeFire("interactions:before-action-"+n,e))return!1;var a=e.iEvent=this._createPreparedEvent(t,n,r,o);return this._scopeFire("interactions:action-"+n,e),"start"===n&&(this.prevEvent=a),this._fireEvent(a),this._scopeFire("interactions:after-action-"+n,e),!0},r._now=function(){return Date.now()},e}();nn.Interaction=on;var an=on;nn.default=an;var ln={};Object.defineProperty(ln,"__esModule",{value:!0}),ln.addTotal=G,ln.applyPending=Z,ln.default=void 0,nn._ProxyMethods.offsetBy="";var sn={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(e){e.Interaction.prototype.offsetBy=K},listeners:{"interactions:new":function(e){e.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(e){return G(e.interaction)},"interactions:before-action-start":X,"interactions:before-action-move":X,"interactions:before-action-end":function(e){var t=e.interaction;if(Z(t))return t.move({offset:!0}),t.end(),!1},"interactions:stop":function(e){var t=e.interaction;t.offset.total.x=0,t.offset.total.y=0,t.offset.pending.x=0,t.offset.pending.y=0}}};ln.default=sn;var un={};Object.defineProperty(un,"__esModule",{value:!0}),un.default=un.InertiaState=void 0;var cn=function(){function e(e){this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=null,this.modifierCount=0,this.modifierArg=null,this.startCoords=null,this.t0=0,this.v0=0,this.te=0,this.targetOffset=null,this.modifiedOffset=null,this.currentOffset=null,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=null,this.interaction=void 0,this.interaction=e}var t=e.prototype;return t.start=function(e){var t=this.interaction,n=$(t);if(!n||!n.enabled)return!1;var r=t.coords.velocity.client,o=(0,Ge.default)(r.x,r.y),i=this.modification||(this.modification=new Wt.default(t));if(i.copyFrom(t.modification),this.t0=t._now(),this.allowResume=n.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=t.coords.cur.page,this.modifierArg={interaction:t,interactable:t.interactable,element:t.element,rect:t.rect,edges:t.edges,pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"},this.t0-t.coords.cur.timeStamp<50&&o>n.minSpeed&&o>n.endSpeed)this.startInertia();else{if(i.result=i.setAll(this.modifierArg),!i.result.changed)return!1;this.startSmoothEnd()}return t.modification.result.rect=null,t.offsetBy(this.targetOffset),t._doPhase({interaction:t,event:e,phase:"inertiastart"}),t.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),t.modification.result.rect=null,this.active=!0,t.simulation=this,!0},t.startInertia=function(){var e=this,t=this.interaction.coords.velocity.client,n=$(this.interaction),r=n.resistance,o=-Math.log(n.endSpeed/this.v0)/r;this.targetOffset={x:(t.x-o)/r,y:(t.y-o)/r},this.te=o,this.lambda_v0=r/this.v0,this.one_ve_v0=1-n.endSpeed/this.v0;var i=this.modification,a=this.modifierArg;a.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},i.result=i.setAll(a),i.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+i.result.delta.x,y:this.targetOffset.y+i.result.delta.y}),this.onNextFrame(function(){return e.inertiaTick()})},t.startSmoothEnd=function(){var e=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return e.smoothEndTick()})},t.onNextFrame=function(e){var t=this;this.timeout=Ct.default.request(function(){t.active&&e()})},t.inertiaTick=function(){var e,t,n,r,o,i=this,a=this.interaction,l=$(a).resistance,s=(a._now()-this.t0)/1e3;if(s=0;n--){var r=t[n],o=r.selector,i=r.context,a=r.listeners;o===this.target&&i===this._context&&t.splice(n,1);for(var l=a.length-1;l>=0;l--)this._scopeEvents.removeDelegate(this.target,this._context,e,a[l][0],a[l][1])}else this._scopeEvents.remove(this.target,"all")},e}();dn.Interactable=hn;var Cn={};Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.InteractableSet=void 0;var In=function(){function e(e){var t=this;this.list=[],this.selectorMap={},this.scope=void 0,this.scope=e,e.addListeners({"interactable:unset":function(e){var n=e.interactable,r=n.target,o=n._context,i=Me.default.string(r)?t.selectorMap[r]:r[t.scope.id],a=et.findIndex(i,function(e){return e.context===o});i[a]&&(i[a].context=null,i[a].interactable=null),i.splice(a,1)}})}var t=e.prototype;return t.new=function(e,t){t=(0,He.default)(t||{},{actions:this.scope.actions});var n=new this.scope.Interactable(e,t,this.scope.document,this.scope.events),r={context:n._context,interactable:n};return this.scope.addDocument(n._doc),this.list.push(n),Me.default.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(n.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:t,interactable:n,win:this.scope._win}),n},t.get=function(e,t){var n=t&&t.context||this.scope.document,r=Me.default.string(e),o=r?this.selectorMap[e]:e[this.scope.id];if(!o)return null;var i=et.find(o,function(t){return t.context===n&&(r||t.interactable.inContext(e))});return i&&i.interactable},t.forEachMatch=function(e,t){for(var n=0;n=0;f--)n(e,t,A[f],a);return}for(var g=0;g=0;u--){var g=A[u];if(g.selector===e&&g.context===t){for(var p=g.listeners,d=p.length-1;d>=0;d--){var h=p[d],C=h[0],I=h[1],v=I.capture,m=I.passive;if(C===l&&v===c.capture&&m===c.passive){p.splice(d,1),p.length||(A.splice(u,1),n(t,i,r),n(t,i,o,!0)),f=!0;break}}if(f)break}}},delegateListener:r,delegateUseCapture:o,delegatedEvents:a,documents:l,targets:i,supportsOptions:!1,supportsPassive:!1};return e.document.createElement("div").addEventListener("test",null,{get capture(){return s.supportsOptions=!0},get passive(){return s.supportsPassive=!0}}),e.events=s,s}};vn.default=bn;var yn={};Object.defineProperty(yn,"__esModule",{value:!0}),yn.createInteractStatic=function(e){var t=function t(n,r){var o=e.interactables.get(n,r);return o||((o=e.interactables.new(n,r)).events.global=t.globalEvents),o};return t.getPointerAverage=Ke.pointerAverage,t.getTouchBBox=Ke.touchBBox,t.getTouchDistance=Ke.touchDistance,t.getTouchAngle=Ke.touchAngle,t.getElementRect=ze.getElementRect,t.getElementClientRect=ze.getElementClientRect,t.matchesSelector=ze.matchesSelector,t.closest=ze.closest,t.globalEvents={},t.version="1.10.1",t.scope=e,t.use=function(e,t){return this.scope.usePlugin(e,t),this},t.isSet=function(e,t){return!!this.scope.interactables.get(e,t&&t.context)},t.on=function(e,t,n){if(Me.default.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),Me.default.array(e)){for(var r=0;r=2)continue;if(!o.interacting()&&t===o.pointerType)return o}return null}},En=xn;wn.default=En;var kn={};Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0;var On=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"],_n={id:"core/interactions",install:function(e){function t(){for(var t=0;t=0;r--){var o=t.interactions.list[r];o.interactable===n&&(o.stop(),t.fire("interactions:destroy",{interaction:o}),o.destroy(),t.interactions.list.length>2&&t.interactions.list.splice(r,1))}}},onDocSignal:ue,doOnInteractions:le,methodNames:On};kn.default=_n;var Mn={};Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.initScope=Ae,Mn.Scope=void 0;var Pn=function(){function e(){var e=this;this.id="__interact_scope_"+Math.floor(100*Math.random()),this.isInitialized=!1,this.listenerMaps=[],this.browser=De.default,this.defaults=(0,Vt.default)(Zt.defaults),this.Eventable=fn.Eventable,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=(0,yn.createInteractStatic)(this),this.InteractEvent=Kt.InteractEvent,this.Interactable=void 0,this.interactables=new Cn.InteractableSet(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(t){return e.removeDocument(t.target)};var t=this;this.Interactable=function(e){function n(){return e.apply(this,arguments)||this}var r,o;o=e,(r=n).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var i,a,l=n.prototype;return l.set=function(n){return e.prototype.set.call(this,n),t.fire("interactable:set",{options:n,interactable:this}),this},l.unset=function(){e.prototype.unset.call(this),t.interactables.list.splice(t.interactables.list.indexOf(this),1),t.fire("interactable:unset",{interactable:this})},i=n,(a=[{key:"_defaults",get:function(){return t.defaults}}])&&ce(i.prototype,a),n}(dn.Interactable)}var t=e.prototype;return t.addListeners=function(e,t){this.listenerMaps.push({id:t,map:e})},t.fire=function(e,t){for(var n=0;nMath.abs(s.y),l.coords,l.rect),(0,He.default)(r,l.coords)),l.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};Qn.aspectRatio=zn;var Un=(0,Gt.makeModifier)(zn,"aspectRatio");Qn.default=Un;var Hn={};Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=void 0;var Vn=function(){};Vn._defaults={};var Wn=Vn;Hn.default=Wn;var Yn={};Object.defineProperty(Yn,"__esModule",{value:!0}),Object.defineProperty(Yn,"default",{enumerable:!0,get:function(){return Hn.default}});var Gn={};Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.getRestrictionRect=he,Gn.restrict=Gn.default=void 0;var Xn={start:function(e){var t=e.rect,n=e.startOffset,r=e.state,o=e.interaction,i=e.pageCoords,a=r.options,l=a.elementRect,s=(0,He.default)({left:0,top:0,right:0,bottom:0},a.offset||{});if(t&&l){var u=he(a.restriction,o,i);if(u){var c=u.right-u.left-t.width,A=u.bottom-u.top-t.height;c<0&&(s.left+=c,s.right+=c),A<0&&(s.top+=A,s.bottom+=A)}s.left+=n.left-t.width*l.left,s.top+=n.top-t.height*l.top,s.right+=n.right-t.width*(1-l.right),s.bottom+=n.bottom-t.height*(1-l.bottom)}r.offset=s},set:function(e){var t=e.coords,n=e.interaction,r=e.state,o=r.options,i=r.offset,a=he(o.restriction,n,t);if(a){var l=Ve.xywhToTlbr(a);t.x=Math.max(Math.min(l.right-i.right,t.x),l.left+i.left),t.y=Math.max(Math.min(l.bottom-i.bottom,t.y),l.top+i.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}};Gn.restrict=Xn;var Zn=(0,Gt.makeModifier)(Xn,"restrict");Gn.default=Zn;var Kn={};Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.restrictEdges=Kn.default=void 0;var Jn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},$n={top:-1/0,left:-1/0,bottom:1/0,right:1/0},er={noInner:Jn,noOuter:$n,start:function(e){var t,n=e.interaction,r=e.startOffset,o=e.state,i=o.options;if(i){var a=(0,Gn.getRestrictionRect)(i.offset,n,n.coords.start.page);t=Ve.rectToXY(a)}t=t||{x:0,y:0},o.offset={top:t.y+r.top,left:t.x+r.left,bottom:t.y-r.bottom,right:t.x-r.right}},set:function(e){var t=e.coords,n=e.edges,r=e.interaction,o=e.state,i=o.offset,a=o.options;if(n){var l=(0,He.default)({},t),s=(0,Gn.getRestrictionRect)(a.inner,r,l)||{},u=(0,Gn.getRestrictionRect)(a.outer,r,l)||{};Ce(s,Jn),Ce(u,$n),n.top?t.y=Math.min(Math.max(u.top+i.top,l.y),s.top+i.top):n.bottom&&(t.y=Math.max(Math.min(u.bottom+i.bottom,l.y),s.bottom+i.bottom)),n.left?t.x=Math.min(Math.max(u.left+i.left,l.x),s.left+i.left):n.right&&(t.x=Math.max(Math.min(u.right+i.right,l.x),s.right+i.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}};Kn.restrictEdges=er;var tr=(0,Gt.makeModifier)(er,"restrictEdges");Kn.default=tr;var nr={};Object.defineProperty(nr,"__esModule",{value:!0}),nr.restrictRect=nr.default=void 0;var rr=(0,He.default)({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(e){}},Gn.restrict.defaults),or={start:Gn.restrict.start,set:Gn.restrict.set,defaults:rr};nr.restrictRect=or;var ir=(0,Gt.makeModifier)(or,"restrictRect");nr.default=ir;var ar={};Object.defineProperty(ar,"__esModule",{value:!0}),ar.restrictSize=ar.default=void 0;var lr={width:-1/0,height:-1/0},sr={width:1/0,height:1/0},ur={start:function(e){return Kn.restrictEdges.start(e)},set:function(e){var t=e.interaction,n=e.state,r=e.rect,o=e.edges,i=n.options;if(o){var a=Ve.tlbrToXywh((0,Gn.getRestrictionRect)(i.min,t,e.coords))||lr,l=Ve.tlbrToXywh((0,Gn.getRestrictionRect)(i.max,t,e.coords))||sr;n.options={endOnly:i.endOnly,inner:(0,He.default)({},Kn.restrictEdges.noInner),outer:(0,He.default)({},Kn.restrictEdges.noOuter)},o.top?(n.options.inner.top=r.bottom-a.height,n.options.outer.top=r.bottom-l.height):o.bottom&&(n.options.inner.bottom=r.top+a.height,n.options.outer.bottom=r.top+l.height),o.left?(n.options.inner.left=r.right-a.width,n.options.outer.left=r.right-l.width):o.right&&(n.options.inner.right=r.left+a.width,n.options.outer.right=r.left+l.width),Kn.restrictEdges.set(e),n.options=i}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}};ar.restrictSize=ur;var cr=(0,Gt.makeModifier)(ur,"restrictSize");ar.default=cr;var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0}),Object.defineProperty(Ar,"default",{enumerable:!0,get:function(){return Hn.default}});var fr={};Object.defineProperty(fr,"__esModule",{value:!0}),fr.snap=fr.default=void 0;var gr={start:function(e){var t,n=e.interaction,r=e.interactable,o=e.element,i=e.rect,a=e.state,l=e.startOffset,s=a.options,u=s.offsetWithOrigin?function(e){var t=e.interaction.element;return(0,Ve.rectToXY)((0,Ve.resolveRectLike)(e.state.options.origin,null,null,[t]))||(0,We.default)(e.interactable,t,e.interaction.prepared.name)}(e):{x:0,y:0};if("startCoords"===s.offset)t={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var c=(0,Ve.resolveRectLike)(s.offset,r,o,[n]);(t=(0,Ve.rectToXY)(c)||{x:0,y:0}).x+=u.x,t.y+=u.y}var A=s.relativePoints;a.offsets=i&&A&&A.length?A.map(function(e,n){return{index:n,relativePoint:e,x:l.left-i.width*e.x+t.x,y:l.top-i.height*e.y+t.y}}):[(0,He.default)({index:0,relativePoint:null},t)]},set:function(e){var t=e.interaction,n=e.coords,r=e.state,o=r.options,i=r.offsets,a=(0,We.default)(t.interactable,t.element,t.prepared.name),l=(0,He.default)({},n),s=[];o.offsetWithOrigin||(l.x-=a.x,l.y-=a.y);for(var u=0;u=a&&(i-=a),i!=this.state.index&&(this.setIndex(i),this.props.changedFrame&&this.props.changedFrame(!0))},onPanningEnd:function(e){var t=this;this.state.index!=this.position.index&&(this.disableClick=!0,setTimeout(function(){t.disableClick=!1},25),this.setMoving(!1))},rotateCarousel:function(){this.direction=1;var e=this.props.carousel.frames.length,t=this,n=setInterval(function(){if(e<=0)return clearInterval(n),void(this.direction=-1);t.updateIndex(1),e--},15)},updateIndex:function(e){var t=this.state.index;switch(e){case 1:t++;break;case-1:t--}t<0&&(t=this.props.carousel.frames.length-1),t>this.props.carousel.frames.length-1&&(t=0),this.setIndex(t)},setIndex:function(e){this.setState({index:e}),this.props.setIndex&&this.props.setIndex(e),this.props.updateIndex&&this.props.updateIndex(e)},onDragContainer:function(e){var t=this.position.translate,n=t.x-(e.origin.x-e.position.x),r=t.y-(e.origin.y-e.position.y);this.translateContainer(n,r)},translateContainer:function(e,t){e||(e=0),t||(t=0);var n=this.state.bounds;n.translate={x:e,y:t},this.setState({bounds:n})},reset:function(){this.setIndex(0),this.translateContainer()},render:function(){var e={handleClick:this.handleClick},t={transform:this.props.zoomScale>1?"scale("+this.props.zoomScale+")":null};return u.default.createElement("div",{ref:"carouselContainer",className:"carousel-container",style:t},u.default.createElement(p.default,f({ref:"carousel"},this.props,e,{bounds:this.state.bounds,index:this.state.index,setIndex:this.setIndex,moving:this.state.moving})))}}));t.default=v}).call(t,n(2)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(108),o=(n(1160),n(12),n(154)),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={background:{},categories:{},categoriesContent:{},carousels:{},fileMap:{},folderMap:{},languageMap:{},languages:{},product:{},account:{},layout:{isLeftNavOpen:!0}},l=(0,r.createStore)(i.default,a,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__());e.hot.accept(154,function(){var e=n(154).default;l.replaceReducer(e)}),t.default=l},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;return n===i?o({},e,{locationBeforeTransitions:r}):e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t-1&&(t.fontColor=t.fontColor.replace("#","")),t},this.uploadMedia=function(e,t){if(e.folders)for(var n=0;ns.timeout&&r()},s.timeout/2);return{addMessageListener:function(e){a.push(e)}}}function i(){return window.__whmEventSourceWrapper||(window.__whmEventSourceWrapper={}),window.__whmEventSourceWrapper[s.path]||(window.__whmEventSourceWrapper[s.path]=o()),window.__whmEventSourceWrapper[s.path]}function a(){function e(e){if("💓"!=e.data)try{l(JSON.parse(e.data))}catch(t){s.warn&&console.warn("Invalid HMR message: "+e.data+"\n"+t)}}i().addMessageListener(e)}function l(e){switch(e.action){case"building":s.log&&console.log("[HMR] bundle "+(e.name?"'"+e.name+"' ":"")+"rebuilding");break;case"built":s.log&&console.log("[HMR] bundle "+(e.name?"'"+e.name+"' ":"")+"rebuilt in "+e.time+"ms");case"sync":if(e.name&&s.name&&e.name!==s.name)return;var t=!0;if(e.errors.length>0)u&&u.problems("errors",e),t=!1;else if(e.warnings.length>0){if(u){var n=u.problems("warnings",e);t=n}}else u&&(u.cleanProblemsCache(),u.success());t&&g(e.hash,e.modules,s);break;default:A&&A(e)}f&&f(e)}var s={path:"/__webpack_hmr",timeout:2e4,overlay:!0,reload:!1,log:!0,warn:!0,name:"",autoConnect:!0,overlayStyles:{},overlayWarnings:!1,ansiColors:{}};"undefined"==typeof window||(void 0===window.EventSource?console.warn("webpack-hot-middleware's client requires EventSource to work. You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools"):s.autoConnect&&a());var u,c="__webpack_hot_middleware_reporter__";"undefined"!=typeof window&&(window[c]||(window[c]=function(){function e(e,t){var n=t[e].map(function(e){return r(e)}).join("\n");if(i!=n){i=n;var a=o[e],l=t.name?"'"+t.name+"' ":"",s="[HMR] bundle "+l+"has "+t[e].length+" "+e;console.group&&console.groupEnd?(console.group("%c"+s,a),console.log("%c"+n,a),console.groupEnd()):console.log("%c"+s+"\n\t%c"+n.replace(/\n/g,"\n\t"),a+"font-weight: bold;",a+"font-weight: normal;")}}var t,r=n(399);"undefined"!=typeof document&&s.overlay&&(t=n(401)({ansiColors:s.ansiColors,overlayStyles:s.overlayStyles}));var o={errors:"color: #ff0000;",warnings:"color: #999933;"},i=null;return{cleanProblemsCache:function(){i=null},problems:function(n,r){if(s.warn&&e(n,r),t){if(s.overlayWarnings||"errors"===n)return t.showProblems(n,r[n]),!1;t.clear()}return!0},success:function(){t&&t.clear()},useCustomOverlay:function(e){t=e}}}()),u=window[c]);var A,f,g=n(407);e&&(e.exports={subscribeAll:function(e){f=e},subscribe:function(e){A=e},useCustomOverlay:function(e){u&&u.useCustomOverlay(e)},setOptionsAndConnect:t})}).call(t,n(2)(e))},function(e,t,n){"use strict";var r=n(400)();e.exports=function(e){return"string"==typeof e?e.replace(r,""):e}},function(e,t,n){"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},function(e,t,n){function r(e,t){a.innerHTML="",t.forEach(function(t){t=s(A.encode(t));var n=document.createElement("div");n.style.marginBottom="26px",n.innerHTML=i(e)+" in "+t,a.appendChild(n)}),document.body&&document.body.appendChild(a)}function o(){document.body&&a.parentNode&&document.body.removeChild(a)}function i(e){return''+e.slice(0,-1).toUpperCase()+""}var a=document.createElement("div");a.id="webpack-hot-middleware-clientOverlay";var l={background:"rgba(0,0,0,0.85)",color:"#e8e8e8",lineHeight:"1.6",whiteSpace:"pre",fontFamily:"Menlo, Consolas, monospace",fontSize:"13px",position:"fixed",zIndex:9999,padding:"10px",left:0,right:0,top:0,bottom:0,overflow:"auto",dir:"ltr",textAlign:"left"},s=n(402),u={reset:["transparent","transparent"],black:"181818",red:"ff3348",green:"3fff4f",yellow:"ffd30e",blue:"169be0",magenta:"f840b7",cyan:"0ad8e9",lightgrey:"ebe7e3",darkgrey:"6d7891"},c=n(403).AllHtmlEntities,A=new c;e.exports=function(e){for(var t in e.ansiColors)t in u&&(u[t]=e.ansiColors[t]),s.setColors(u);for(var n in e.overlayStyles)l[n]=e.overlayStyles[n];for(var i in l)a.style[i]=l[i];return{showProblems:r,clear:o}},e.exports.clear=o,e.exports.showProblems=r},function(e,t,n){"use strict";function r(e){if(!i.test(e))return e;var t=[],n=e.replace(/\033\[(\d+)*m/g,function(e,n){var r=s[n];if(r)return~t.indexOf(n)?(t.pop(),""):(t.push(n),"<"===r[0]?r:'');var o=u[n];return o?(t.pop(),o):""}),r=t.length;return r>0&&(n+=Array(r+1).join("")),n}function o(e){s[0]="font-weight:normal;opacity:1;color:#"+e.reset[0]+";background:#"+e.reset[1],s[7]="color:#"+e.reset[1]+";background:#"+e.reset[0],s[90]="color:#"+e.darkgrey;for(var t in l){var n=l[t],r=e[n]||"000";s[t]="color:#"+r,t=parseInt(t),s[(t+10).toString()]="background:#"+r}}e.exports=r;var i=/(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/,a={reset:["fff","000"],black:"000",red:"ff0000",green:"209805",yellow:"e8bf03",blue:"0000ff",magenta:"ff00ff",cyan:"00ffee",lightgrey:"f0f0f0",darkgrey:"888"},l={30:"black",31:"red",32:"green",33:"yellow",34:"blue",35:"magenta",36:"cyan",37:"lightgrey"},s={1:"font-weight:bold",2:"opacity:0.5",3:"",4:"",8:"display:none",9:""},u={23:"",24:"",29:""};[0,21,22,27,28,39,49].forEach(function(e){u[e]=""}),r.setColors=function(e){if("object"!=typeof e)throw new Error("`colors` parameter must be an Object.");var t={};for(var n in a){var r=e.hasOwnProperty(n)?e[n]:null;if(r){if("reset"===n){if("string"==typeof r&&(r=[r]),!Array.isArray(r)||0===r.length||r.some(function(e){return"string"!=typeof e}))throw new Error("The value of `"+n+"` property must be an Array and each item could only be a hex string, e.g.: FF0000");var i=a[n];r[0]||(r[0]=i[0]),1!==r.length&&r[1]||(r=[r[0]],r.push(i[1])),r=r.slice(0,2)}else if("string"!=typeof r)throw new Error("The value of `"+n+"` property must be a hex string, e.g.: FF0000");t[n]=r}else t[n]=a[n]}o(t)},r.reset=function(){o(a)},r.tags={},Object.defineProperty?(Object.defineProperty(r.tags,"open",{get:function(){return s}}),Object.defineProperty(r.tags,"close",{get:function(){return u}})):(r.tags.open=s,r.tags.close=u),r.reset()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(404);t.XmlEntities=r.XmlEntities;var o=n(405);t.Html4Entities=o.Html4Entities;var i=n(406);t.Html5Entities=i.Html5Entities,t.AllHtmlEntities=i.Html5Entities},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={"<":"<",">":">",""":'"',"&apos":"'","&":"&","<":"<",">":">",""":'"',"'":"'","&":"&"},o={60:"lt",62:"gt",34:"quot",39:"apos",38:"amp"},i={"<":"<",">":">",'"':""","'":"'","&":"&"},a=function(){function e(){}return e.prototype.encode=function(e){return e&&e.length?e.replace(/[<>"'&]/g,function(e){return i[e]}):""},e.encode=function(t){return(new e).encode(t)},e.prototype.decode=function(e){return e&&e.length?e.replace(/&#?[0-9a-zA-Z]+;?/g,function(e){if("#"===e.charAt(1)){var t="x"===e.charAt(2).toLowerCase()?parseInt(e.substr(3),16):parseInt(e.substr(2));return isNaN(t)||t<-32768||t>65535?"":String.fromCharCode(t)}return r[e]||e}):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encodeNonUTF=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r126?"&#"+i+";":e.charAt(r),r++)}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r65535||(n=String.fromCharCode(r))}else n=i[t];return n||e}):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encode=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r126?"&#"+o+";":e.charAt(r),r++}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r126||62===l||60===l||38===l||34===l||39===l,u=void 0;if(s&&(u=t[l]=t[l]||{}),a[1]){var c=a[1];e[i]=String.fromCharCode(l)+String.fromCharCode(c),s&&(u[c]=i)}else e[i]=String.fromCharCode(l),s&&(u[""]=i)}}(o,i);var a=function(){function e(){}return e.prototype.decode=function(e){return e&&e.length?e.replace(/&(#?[\w\d]+);?/g,function(e,t){var n;if("#"===t.charAt(0)){var r="x"===t.charAt(1)?parseInt(t.substr(2).toLowerCase(),16):parseInt(t.substr(1));isNaN(r)||r<-32768||r>65535||(n=String.fromCharCode(r))}else n=o[t];return n||e}):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encode=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r126?"&#"+o+";":e.charAt(r),r++}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r "))},onDeclined:function(e){console.warn("Ignored an update to declined module "+e.chain.join(" -> "))},onErrored:function(e){console.error(e.error),console.warn("Ignored an error while updating module "+e.moduleId+" ("+e.type+")")}};e.exports=function(t,n,o){function s(){var t=function(t,n){if(t)return c(t);if(!n)return o.warn&&(console.warn("[HMR] Cannot find update (Full reload needed)"),console.warn("[HMR] (Probably because of restarting the server)")),A(),null;var i=function(e,t){if(e)return c(e);r()||s(),u(n,t)},a=e.hot.apply(l,i);a&&a.then&&(a.then(function(e){i(null,e)}),a.catch(i))},n=e.hot.check(!1,t);n&&n.then&&(n.then(function(e){t(null,e)}),n.catch(t))}function u(e,t){var a=e.filter(function(e){return t&&t.indexOf(e)<0});if(a.length>0)return o.warn&&(console.warn("[HMR] The following modules couldn't be hot updated: (Full reload needed)\nThis is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See "+i+" for more details."),a.forEach(function(e){console.warn("[HMR] - "+(n[e]||e))})),void A();o.log&&(t&&0!==t.length?(console.log("[HMR] Updated modules:"),t.forEach(function(e){console.log("[HMR] - "+(n[e]||e))})):console.log("[HMR] Nothing hot updated."),r()&&console.log("[HMR] App is up to date."))}function c(t){if(e.hot.status()in a)return o.warn&&(console.warn("[HMR] Cannot check for update (Full reload needed)"),console.warn("[HMR] "+(t.stack||t.message))),void A();o.warn&&console.warn("[HMR] Update check failed: "+(t.stack||t.message))}function A(){f&&(o.warn&&console.warn("[HMR] Reloading page"),window.location.reload())}var f=o.reload;r(t)||"idle"!=e.hot.status()||(o.log&&console.log("[HMR] Checking for updates on the server..."),s())}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(0),i=r(o),a=n(62);n(493),n(495),n(498),n(501),n(703);var l=n(704),s=r(l),u=n(309),c=n(390),A=r(c),f=i.default.createElement(u.Provider,{store:A.default},i.default.createElement(s.default,null));(0,a.render)(f,document.getElementById("root"))},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return(""+e).replace(m,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);C(e,i,r),o.release(r)}function l(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function s(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,l=e.context,s=a.call(l,t,e.count++);Array.isArray(s)?u(s,o,n,h.thatReturnsArgument):null!=s&&(d.isValidElement(s)&&(s=d.cloneAndReplaceKey(s,i+(!s.key||t&&t.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function u(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var u=l.getPooled(t,a,o,i);C(e,s,u),l.release(u)}function c(e,t,n){if(null==e)return e;var r=[];return u(e,r,null,t,n),r}function A(e,t,n){return null}function f(e,t){return C(e,A,null)}function g(e){var t=[];return u(e,t,null,h.thatReturnsArgument),t}var p=n(411),d=n(87),h=n(50),C=n(412),I=p.twoArgumentPooler,v=p.fourArgumentPooler,m=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},p.addPoolingTo(o,I),l.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p.addPoolingTo(l,v);var b={forEach:a,map:c,mapIntoWithKeyPrefixInternal:u,count:f,toArray:g};e.exports=b},function(e,t,n){"use strict";var r=n(98),o=(n(10),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},l=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},s=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length8&&m<=11),w=32,x=String.fromCharCode(w),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},k=!1,O=null,_={eventTypes:E,extractEvents:function(e,t,n,r){return[s(e,t,n,r),A(e,t,n,r)]}};e.exports=_},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(18),i=n(71),a=n(242);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,l),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(58),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(58),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=k.getPooled(S.change,e,t,n);return r.type="change",y.accumulateTwoPhaseDispatches(r),r}function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function i(e){var t=r(j,e,_(e));E.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function l(e,t){T=e,j=t,T.attachEvent("onchange",i)}function s(){T&&(T.detachEvent("onchange",i),T=null,j=null)}function u(e,t){var n=O.updateValueIfChanged(e),r=!0===t.simulated&&B._allowSimulatedPassThrough;if(n||r)return e}function c(e,t){if("topChange"===e)return t}function A(e,t,n){"topFocus"===e?(s(),l(t,n)):"topBlur"===e&&s()}function f(e,t){T=e,j=t,T.attachEvent("onpropertychange",p)}function g(){T&&(T.detachEvent("onpropertychange",p),T=null,j=null)}function p(e){"value"===e.propertyName&&u(j,e)&&i(e)}function d(e,t,n){"topFocus"===e?(g(),f(t,n)):"topBlur"===e&&g()}function h(e,t,n){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return u(j,n)}function C(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function I(e,t,n){if("topClick"===e)return u(t,n)}function v(e,t,n){if("topInput"===e||"topChange"===e)return u(t,n)}function m(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(100),y=n(99),w=n(29),x=n(23),E=n(42),k=n(58),O=n(245),_=n(159),M=n(160),P=n(246),S={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},T=null,j=null,N=!1;w.canUseDOM&&(N=M("change")&&(!document.documentMode||document.documentMode>8));var L=!1;w.canUseDOM&&(L=M("input")&&(!document.documentMode||document.documentMode>9));var B={eventTypes:S,_allowSimulatedPassThrough:!0,_isInputEventSupported:L,extractEvents:function(e,t,n,i){var a,l,s=t?x.getNodeFromInstance(t):window;if(o(s)?N?a=c:l=A:P(s)?L?a=v:(a=h,l=d):C(s)&&(a=I),a){var u=a(e,t,n);if(u){return r(u,n,i)}}l&&l(e,s,t),"topBlur"===e&&m(t,s)}};e.exports=B},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(431),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(14),i=(n(10),{addComponentAsRefTo:function(e,t,n){r(n)||o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(99),o=n(23),i=n(117),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},l={eventTypes:a,extractEvents:function(e,t,n,l){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(l.window===l)s=l;else{var u=l.ownerDocument;s=u?u.defaultView||u.parentWindow:window}var c,A;if("topMouseOut"===e){c=t;var f=n.relatedTarget||n.toElement;A=f?o.getClosestInstanceFromNode(f):null}else c=null,A=t;if(c===A)return null;var g=null==c?s:o.getNodeFromInstance(c),p=null==A?s:o.getNodeFromInstance(A),d=i.getPooled(a.mouseLeave,c,n,l);d.type="mouseleave",d.target=g,d.relatedTarget=p;var h=i.getPooled(a.mouseEnter,A,n,l);return h.type="mouseenter",h.target=p,h.relatedTarget=g,r.accumulateEnterLeaveDispatches(d,h,c,A),[d,h]}};e.exports=l},function(e,t,n){"use strict";var r=n(88),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,l=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:l,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:l,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:l,sizes:0,span:l,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};e.exports=u},function(e,t,n){"use strict";var r=n(162),o=n(440),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";var r=n(14),o=n(89),i=n(29),a=n(437),l=n(50),s=(n(10),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,l)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=u;u||s(!1);var o=r(e),i=o&&l(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var A=n.getElementsByTagName("script");A.length&&(t||s(!1),a(A).forEach(t));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var i=n(29),a=n(438),l=n(439),s=n(10),u=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",l[e]=!a.firstChild),l[e]?f[e]:null}var o=n(29),i=n(10),a=o.canUseDOM?document.createElement("div"):null,l={},s=[1,'"],u=[1,"","
"],c=[3,"","
"],A=[1,'',""],f={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){f[e]=A,l[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(162),o=n(23),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(X[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&h("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&h("60"),"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML||h("61")),null!=t.style&&"object"!=typeof t.style&&h("62",r(e)))}function i(e,t,n,r){if(!(r instanceof N)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===V,l=i?o._node:o._ownerDocument;F(t,l),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function l(){var e=this;M.postMountWrapper(e)}function s(){var e=this;T.postMountWrapper(e)}function u(){var e=this;P.postMountWrapper(e)}function c(){B.track(this)}function A(){var e=this;e._rootNodeID||h("63");var t=D(e);switch(t||h("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[k.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in W)W.hasOwnProperty(n)&&e._wrapperState.listeners.push(k.trapBubbledEvent(n,W[n],t));break;case"source":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t),k.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[k.trapBubbledEvent("topReset","reset",t),k.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[k.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){S.postUpdateWrapper(this)}function g(e){J.call(K,e)||(Z.test(e)||h("65",e),K[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function d(e){var t=e.type;g(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var h=n(14),C=n(18),I=n(442),v=n(443),m=n(89),b=n(163),y=n(88),w=n(251),x=n(100),E=n(156),k=n(120),O=n(238),_=n(23),M=n(453),P=n(455),S=n(252),T=n(456),j=(n(36),n(457)),N=n(258),L=(n(50),n(119)),B=(n(10),n(160),n(169),n(245)),R=(n(173),n(16),O),q=x.deleteListener,D=_.getNodeFromInstance,F=k.listenTo,Q=E.registrationNameModules,z={string:!0,number:!0},U="__html",H={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},V=11,W={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Y={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},G={listing:!0,pre:!0,textarea:!0},X=C({menuitem:!0},Y),Z=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,K={},J={}.hasOwnProperty,$=1;d.displayName="ReactDOMComponent",d.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(A,this);break;case"input":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this),e.getReactMountReady().enqueue(A,this);break;case"option":P.mountWrapper(this,i,t),i=P.getHostProps(this,i);break;case"select":S.mountWrapper(this,i,t),i=S.getHostProps(this,i),e.getReactMountReady().enqueue(A,this);break;case"textarea":T.mountWrapper(this,i,t),i=T.getHostProps(this,i),e.getReactMountReady().enqueue(c,this),e.getReactMountReady().enqueue(A,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===b.svg&&"foreignobject"===f)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var g;if(e.useCreateElement){var p,d=n._ownerDocument;if(a===b.html)if("script"===this._tag){var h=d.createElement("div"),C=this._currentElement.type;h.innerHTML="<"+C+">",p=h.removeChild(h.firstChild)}else p=i.is?d.createElement(this._currentElement.type,i.is):d.createElement(this._currentElement.type);else p=d.createElementNS(a,this._currentElement.type);_.precacheNode(this,p),this._flags|=R.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(p),this._updateDOMProperties(null,i,e);var v=m(p);this._createInitialChildren(e,i,r,v),g=v}else{var y=this._createOpenTagMarkupAndPutListeners(e,i),x=this._createContentMarkup(e,i,r);g=!x&&Y[this._tag]?y+"/>":y+">"+x+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(I.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(I.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(I.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return g},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(Q.hasOwnProperty(r))o&&i(this,r,o,e);else{"style"===r&&(o&&(o=this._previousStyleCopy=C({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&p(this._tag,t)?H.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,o)):a=w.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=L(i);else if(null!=a){var l=this.mountChildren(a,e,n);r=l.join("")}}return G[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&m.queueHTML(r,o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&m.queueText(r,i);else if(null!=a)for(var l=this.mountChildren(a,e,n),s=0;s0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||s("35"),"_hostNode"in t||s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(s[u],"captured",i)}var s=n(14);n(10);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:l}},function(e,t,n){"use strict";var r=n(14),o=n(18),i=n(162),a=n(89),l=n(23),s=n(119),u=(n(10),n(173),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var u=n._ownerDocument,c=u.createComment(i),A=u.createComment(" /react-text "),f=a(u.createDocumentFragment());return a.queueChild(f,a(c)),this._stringText&&a.queueChild(f,a(u.createTextNode(this._stringText))),a.queueChild(f,a(A)),l.precacheNode(this,c),this._closingComment=A,f}var g=s(this._stringText);return e.renderToStaticMarkup?g:"\x3c!--"+i+"--\x3e"+g+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=l.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,l.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=A.getNodeFromInstance(e),n=t.parentNode;return A.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=g(e.nativeEvent),n=A.getClosestInstanceFromNode(t),o=n;do{e.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function l(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var l=u(e,o),s=u(e,i);if(l&&s){var A=document.createRange();A.setStart(l.node,l.offset),n.removeAllRanges(),o>i?(n.addRange(A),n.extend(s.node,s.offset)):(A.setEnd(s.node,s.offset),n.addRange(A))}}}var s=n(29),u=n(473),c=n(242),A=s.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:A?o:i,setOffsets:A?a:l};e.exports=f},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(475);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(476);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(I||null==d||d!==c())return null;var n=r(d);if(!C||!f(C,n)){C=n;var o=u.getPooled(p.select,h,e,t);return o.type="select",o.target=d,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(99),a=n(29),l=n(23),s=n(261),u=n(58),c=n(262),A=n(246),f=n(169),g=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,p={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},d=null,h=null,C=null,I=!1,v=!1,m={eventTypes:p,extractEvents:function(e,t,n,r){if(!v)return null;var i=t?l.getNodeFromInstance(t):window;switch(e){case"topFocus":(A(i)||"true"===i.contentEditable)&&(d=i,h=t,C=null);break;case"topBlur":d=null,h=null,C=null;break;case"topMouseDown":I=!0;break;case"topContextMenu":case"topMouseUp":return I=!1,o(n,r);case"topSelectionChange":if(g)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(v=!0)}};e.exports=m},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(14),a=n(260),l=n(99),s=n(23),u=n(480),c=n(481),A=n(58),f=n(482),g=n(483),p=n(117),d=n(485),h=n(486),C=n(487),I=n(101),v=n(488),m=n(50),b=n(174),y=(n(10),{}),w={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};y[e]=o,w[r]=o});var x={},E={eventTypes:y,extractEvents:function(e,t,n,r){var o=w[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=A;break;case"topKeyPress":if(0===b(n))return null;case"topKeyDown":case"topKeyUp":a=g;break;case"topBlur":case"topFocus":a=f;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=p;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=d;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=h;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=u;break;case"topTransitionEnd":a=C;break;case"topScroll":a=I;break;case"topWheel":a=v;break;case"topCopy":case"topCut":case"topPaste":a=c}a||i("86",e);var s=a.getPooled(o,t,n,r);return l.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),l=s.getNodeFromInstance(e);x[i]||(x[i]=a.listen(l,"click",m))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);x[n].remove(),delete x[n]}}};e.exports=E},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(58),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(58),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(101),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(101),i=n(174),a=n(484),l=n(161),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:l,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(174),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(117),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(101),i=n(161),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(58),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(117),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=-4&i;rdiv{box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;background-size:contain;background-position:center center;background-repeat:no-repeat}.device>div .device-image{position:absolute;top:0;right:0;bottom:0;left:0}.device>div .device-image img{width:100%}.device>div .container{position:relative;width:100%;height:100%;background:#f8f8f9}.media-not-found{font-size:20px;margin:0 auto;padding:20px;text-align:center;font-style:italic}.collection{position:relative;background:#32323c;overflow:hidden}.collection .collection-cell.active{border-color:#ffcc35}.collection .collection-cell{position:relative;float:left;color:#bcbcca;background:#32323c;box-sizing:border-box;border:2px solid transparent;margin:1px;height:120px}.collection .collection-cell .icon-cell{position:absolute;top:0;right:0;bottom:0;left:0}.collection .collection-cell .icon-cell .icon{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:32px;height:32px;line-height:32px;font-size:16px}.collection .collection-cell .icon-cell .title{position:absolute;left:0;right:0;bottom:0;height:48px;line-height:48px;text-align:center;font-size:12px}.collection .collection-cell .media-cell{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.collection .collection-cell .media-cell .thumbnail{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center center}.collection .collection-cell .media-cell .thumbnail .collection-cell-overlay{position:absolute;bottom:0;background:rgba(4,15,19,0.75);color:white;width:100%;height:30%;font-size:80%;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.collection .collection-cell .media-cell .thumbnail .collection-cell-overlay .media-title{padding:10%}.collection .collection-cell:hover{background:#ffcc35;color:#2a2a32}.collection .collection-cell .icon{text-align:center}.collection .collection-cell .label{font-size:11px;text-align:center}.grid-menu>div{height:72px;text-align:center;color:#bcbcca}.grid-menu>div span{margin-top:16px;font-size:24px}.grid-menu>div .title{font-size:12px}.media-picker-container{position:absolute;z-index:1000;top:0;right:0;bottom:0;left:0}.media-picker-container .media-picker{position:absolute;top:64px;right:64px;bottom:64px;left:64px;max-width:1280px;max-height:720px;margin:auto;background:#2a2a32;border:1px solid #090909;box-shadow:0px 0px 25px rgba(0,0,0,0.3);padding:16px;box-sizing:border-box}.media-picker-container .media-picker .title-container{display:flex;flex-flow:row wrap;justify-content:flex-start}.media-picker-container .media-picker .title-container .title{font-size:18px;line-height:28px;height:28px;padding:0px 10px 0px 5px;color:#bcbcca;align-self:center;margin-right:22px;width:200px}.media-picker-container .media-picker .title-container .buttons{margin-left:99px}.media-picker-container .media-picker .title-container .buttons .button{justify-content:flex-end;font-size:10px;line-height:24px;margin:0 0 0 8px}@media (min-width: 813px){.media-picker-container .media-picker .title-container{display:flex;flex-flow:row nowrap;justify-content:flex-start}.media-picker-container .media-picker .title-container .title{font-size:24px;line-height:32px;height:32px;padding:0px 25px 0px 5px;color:#bcbcca;align-self:center;flex-basis:auto;flex-grow:2}.media-picker-container .media-picker .title-container .buttons{padding:5px;flex-basis:auto;margin-left:0px}.media-picker-container .media-picker .title-container .buttons .button{justify-content:flex-end;font-size:12px;line-height:36px;margin:0 8px 0 0}.media-picker-container .media-picker .title-container .buttons #search-bar{margin-top:0.8%;margin-right:8px}.media-picker-container .media-picker .title-container .search-bar input[type="text"]{height:24px;flex-basis:auto;margin:10px 13px 0px 0px;border:solid white 1px;text-color:white;border-radius:3px}}.media-picker-container .media-picker .media-explorer{height:calc(100% - 100px);margin:8px 0;background:#32323c;overflow:auto}@media (min-width: 813px){.media-picker-container .media-picker .media-explorer{height:calc(100% - 112px);margin:8px 0;background:#32323c;overflow:auto}.media-picker-container .media-picker .media-explorer .collection-cell{background:#393944}.media-picker-container .media-picker .bottom-bar{position:relative;height:48px}.media-picker-container .media-picker .button{justify-content:flex-end;font-size:12px;line-height:36px;margin:0 8px 0 0}}.media-picker-container .media-picker #page-number{height:24px;margin-top:0px}.media-picker-container .button{float:right;font-size:10px;line-height:24px;margin:0 0 0 8px}@media (min-width: 813px){.media-picker-container .button{float:right}}.media-picker-container .button.upload{position:absolute;top:8px;right:16px}.media-picker-container .button.inactive{pointer-events:none;background:#32323c;border-color:#32323c;color:#bcbcca}div[class*="col-"]{position:relative;margin:0;padding:0;float:left;box-sizing:border-box}.full-height{height:100%}.col-12{width:100%}.col-10{width:83.33333%}.col-9{width:calc(100% - 256px)}.col-8{width:66.66666%}.col-6{width:50%}.col-4{width:33.33333%}.col-3{width:25%}.col-2{width:16.66666%}.tile-view{position:relative;overflow:hidden;margin:0;padding:0}.tile-view .tile{position:relative;margin:0 0 4px;padding:0;background-color:#f8f8f9;background-size:cover;background-position:center center}.tile-view .tiles>div:nth-child(odd) .tile{margin-right:2px}.tile-view .tiles>div:nth-child(even) .tile{margin-left:2px}.previewer.inactive{opacity:0}.previewer{position:absolute;top:0;right:0;bottom:0;left:0;background:#454546;z-index:100;opacity:1;transition:opacity 0.3s}.previewer>.content{position:absolute;top:0;right:64px;bottom:0;left:64px}.previewer>.button{position:relative;z-index:25;margin:16px;background:#3598c0}.image-grid{position:absolute;top:0;right:0;bottom:0;left:0}.image-grid .images{position:absolute;top:0;right:0;bottom:0;left:0}.image-grid .images .image-cell{position:relative;float:left;background-size:contain;background-repeat:no-repeat;background-position:center center;margin:1px;background-color:#f8f8f9}.image-grid .images .image-cell .overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#ffcc35;opacity:0}.image-grid .images .image-cell:hover .overlay{opacity:0.3}.media-viewer.hiding .backdrop{opacity:0}.media-viewer.external{left:256px}.media-viewer{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-flex-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;position:fixed;padding:2px;height:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:106;top:0;right:0;bottom:0;left:0}.media-viewer .backdrop{opacity:1;transition:opacity 0.3s}.media-viewer .image-viewer.active{min-height:10px;min-width:10px;padding:2px;background-color:#fff;position:relative;display:inline-block;margin:0 auto;transform:translateY(-56%);width:100%;opacity:1}.media-viewer .image-viewer{position:relative;top:50%;margin:auto;background:white;border-radius:3px;border:3px solid white;transition:opacity 0.3s, transform 0.3s;transition-timing-function:cubic-bezier(0.03, 1.14, 0.89, 1.01);opacity:0;transform:translateY(64px)}.media-viewer .image-viewer img{max-width:100%}.media-viewer .image-viewer .title{position:absolute;top:-64px;left:0;right:0;text-align:center;font-size:24px;line-height:64px}.media-viewer .image-viewer .close{position:absolute;bottom:-128px;left:0;right:0;text-align:center;font-size:16px;line-height:128px}.media-thumb{position:relative;margin:0;padding:0;background-size:cover;background-position:center center}.triangle{width:0;height:0;border-style:solid;border-color:transparent}.triangle.down{border-bottom-color:#2a2a32;border-width:0 12.5px 25px 12.5px}.triangle.up{border-top-color:#2a2a32;border-width:25px 12.5px 0 12.5px}.triangle.left{border-right-color:#2a2a32;border-width:12.5px 25px 12.5px 0px}.triangle.right{border-left-color:#2a2a32;border-width:12.5px 0px 12.5px 25px}.video-player.active{transform:translateY(0px);opacity:1}.video-player{position:absolute;top:0;right:0;bottom:0;left:0;margin:20px auto;transition:opacity 0.3s, transform 0.3s;transition-timing-function:cubic-bezier(0.03, 1.14, 0.89, 1.01);opacity:0;transform:translateY(64px)}.video-player .player{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;text-align:center;background:#2a2a32;box-shadow:0px 0px 25px rgba(0,0,0,0.3)}.video-player .player .video{width:100%;height:calc(100% - 48px);background-size:cover;background-position:center center}.video-player .player .video video{height:100%;max-width:100%}.video-player .player .toolbar{position:absolute;bottom:0px;left:0;right:0;height:48px;background:#393944}.video-player .player .toolbar .video-scrubber.scrubbing .track{top:0px;height:32px}.video-player .player .toolbar .video-scrubber{position:absolute;left:0;right:0;top:-32px;height:32px;z-index:25}.video-player .player .toolbar .video-scrubber .track{position:relative;transition:height 0.3s, top 0.3s;top:28px;height:4px;background:#2a2a32}.video-player .player .toolbar .video-scrubber .track .progress{height:100%;background:#ffcc35}.video-player .player .toolbar .left-toolbar-items{float:left;height:48px}.video-player .player .toolbar .right-toolbar-items{float:right;height:48px}.video-player .player .toolbar .toolbar-item{height:48px;width:48px;float:left;line-height:48px;text-align:center;font-size:16px;color:#bcbcca}.video-player .player .toolbar .toolbar-item:active{color:#ffcc35}.ReactFontPicker_Option{color:black}\n',""])},function(e,t,n){var r=n(496);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1);var r=n(175),o=r(n(497));t.push([e.i,"/*!\r\n * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\r\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\r\n */@font-face{font-family:'FontAwesome';src:url("+o+');font-weight:normal;font-style:normal}.fa{display:inline-block;font-style:normal;font-variant:normal;font-weight:normal;font-size:14px;line-height:1;font-family:\'FontAwesome\';font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#ffffff}.fa-glass:before{content:"\\f000"}.fa-music:before{content:"\\f001"}.fa-search:before{content:"\\f002"}.fa-envelope-o:before{content:"\\f003"}.fa-heart:before{content:"\\f004"}.fa-star:before{content:"\\f005"}.fa-star-o:before{content:"\\f006"}.fa-user:before{content:"\\f007"}.fa-film:before{content:"\\f008"}.fa-th-large:before{content:"\\f009"}.fa-th:before{content:"\\f00a"}.fa-th-list:before{content:"\\f00b"}.fa-check:before{content:"\\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\\f00d"}.fa-search-plus:before{content:"\\f00e"}.fa-search-minus:before{content:"\\f010"}.fa-power-off:before{content:"\\f011"}.fa-signal:before{content:"\\f012"}.fa-gear:before,.fa-cog:before{content:"\\f013"}.fa-trash-o:before{content:"\\f014"}.fa-home:before{content:"\\f015"}.fa-file-o:before{content:"\\f016"}.fa-clock-o:before{content:"\\f017"}.fa-road:before{content:"\\f018"}.fa-download:before{content:"\\f019"}.fa-arrow-circle-o-down:before{content:"\\f01a"}.fa-arrow-circle-o-up:before{content:"\\f01b"}.fa-inbox:before{content:"\\f01c"}.fa-play-circle-o:before{content:"\\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\\f01e"}.fa-refresh:before{content:"\\f021"}.fa-list-alt:before{content:"\\f022"}.fa-lock:before{content:"\\f023"}.fa-flag:before{content:"\\f024"}.fa-headphones:before{content:"\\f025"}.fa-volume-off:before{content:"\\f026"}.fa-volume-down:before{content:"\\f027"}.fa-volume-up:before{content:"\\f028"}.fa-qrcode:before{content:"\\f029"}.fa-barcode:before{content:"\\f02a"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-book:before{content:"\\f02d"}.fa-bookmark:before{content:"\\f02e"}.fa-print:before{content:"\\f02f"}.fa-camera:before{content:"\\f030"}.fa-font:before{content:"\\f031"}.fa-bold:before{content:"\\f032"}.fa-italic:before{content:"\\f033"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-align-left:before{content:"\\f036"}.fa-align-center:before{content:"\\f037"}.fa-align-right:before{content:"\\f038"}.fa-align-justify:before{content:"\\f039"}.fa-list:before{content:"\\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\\f03b"}.fa-indent:before{content:"\\f03c"}.fa-video-camera:before{content:"\\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\\f03e"}.fa-pencil:before{content:"\\f040"}.fa-map-marker:before{content:"\\f041"}.fa-adjust:before{content:"\\f042"}.fa-tint:before{content:"\\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\f044"}.fa-share-square-o:before{content:"\\f045"}.fa-check-square-o:before{content:"\\f046"}.fa-arrows:before{content:"\\f047"}.fa-step-backward:before{content:"\\f048"}.fa-fast-backward:before{content:"\\f049"}.fa-backward:before{content:"\\f04a"}.fa-play:before{content:"\\f04b"}.fa-pause:before{content:"\\f04c"}.fa-stop:before{content:"\\f04d"}.fa-forward:before{content:"\\f04e"}.fa-fast-forward:before{content:"\\f050"}.fa-step-forward:before{content:"\\f051"}.fa-eject:before{content:"\\f052"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-plus-circle:before{content:"\\f055"}.fa-minus-circle:before{content:"\\f056"}.fa-times-circle:before{content:"\\f057"}.fa-check-circle:before{content:"\\f058"}.fa-question-circle:before{content:"\\f059"}.fa-info-circle:before{content:"\\f05a"}.fa-crosshairs:before{content:"\\f05b"}.fa-times-circle-o:before{content:"\\f05c"}.fa-check-circle-o:before{content:"\\f05d"}.fa-ban:before{content:"\\f05e"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrow-down:before{content:"\\f063"}.fa-mail-forward:before,.fa-share:before{content:"\\f064"}.fa-expand:before{content:"\\f065"}.fa-compress:before{content:"\\f066"}.fa-plus:before{content:"\\f067"}.fa-minus:before{content:"\\f068"}.fa-asterisk:before{content:"\\f069"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-gift:before{content:"\\f06b"}.fa-leaf:before{content:"\\f06c"}.fa-fire:before{content:"\\f06d"}.fa-eye:before{content:"\\f06e"}.fa-eye-slash:before{content:"\\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\\f071"}.fa-plane:before{content:"\\f072"}.fa-calendar:before{content:"\\f073"}.fa-random:before{content:"\\f074"}.fa-comment:before{content:"\\f075"}.fa-magnet:before{content:"\\f076"}.fa-chevron-up:before{content:"\\f077"}.fa-chevron-down:before{content:"\\f078"}.fa-retweet:before{content:"\\f079"}.fa-shopping-cart:before{content:"\\f07a"}.fa-folder:before{content:"\\f07b"}.fa-folder-open:before{content:"\\f07c"}.fa-arrows-v:before{content:"\\f07d"}.fa-arrows-h:before{content:"\\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\f080"}.fa-twitter-square:before{content:"\\f081"}.fa-facebook-square:before{content:"\\f082"}.fa-camera-retro:before{content:"\\f083"}.fa-key:before{content:"\\f084"}.fa-gears:before,.fa-cogs:before{content:"\\f085"}.fa-comments:before{content:"\\f086"}.fa-thumbs-o-up:before{content:"\\f087"}.fa-thumbs-o-down:before{content:"\\f088"}.fa-star-half:before{content:"\\f089"}.fa-heart-o:before{content:"\\f08a"}.fa-sign-out:before{content:"\\f08b"}.fa-linkedin-square:before{content:"\\f08c"}.fa-thumb-tack:before{content:"\\f08d"}.fa-external-link:before{content:"\\f08e"}.fa-sign-in:before{content:"\\f090"}.fa-trophy:before{content:"\\f091"}.fa-github-square:before{content:"\\f092"}.fa-upload:before{content:"\\f093"}.fa-lemon-o:before{content:"\\f094"}.fa-phone:before{content:"\\f095"}.fa-square-o:before{content:"\\f096"}.fa-bookmark-o:before{content:"\\f097"}.fa-phone-square:before{content:"\\f098"}.fa-twitter:before{content:"\\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\f09a"}.fa-github:before{content:"\\f09b"}.fa-unlock:before{content:"\\f09c"}.fa-credit-card:before{content:"\\f09d"}.fa-feed:before,.fa-rss:before{content:"\\f09e"}.fa-hdd-o:before{content:"\\f0a0"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bell:before{content:"\\f0f3"}.fa-certificate:before{content:"\\f0a3"}.fa-hand-o-right:before{content:"\\f0a4"}.fa-hand-o-left:before{content:"\\f0a5"}.fa-hand-o-up:before{content:"\\f0a6"}.fa-hand-o-down:before{content:"\\f0a7"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-globe:before{content:"\\f0ac"}.fa-wrench:before{content:"\\f0ad"}.fa-tasks:before{content:"\\f0ae"}.fa-filter:before{content:"\\f0b0"}.fa-briefcase:before{content:"\\f0b1"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-group:before,.fa-users:before{content:"\\f0c0"}.fa-chain:before,.fa-link:before{content:"\\f0c1"}.fa-cloud:before{content:"\\f0c2"}.fa-flask:before{content:"\\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\\f0c5"}.fa-paperclip:before{content:"\\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\\f0c7"}.fa-square:before{content:"\\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\\f0c9"}.fa-list-ul:before{content:"\\f0ca"}.fa-list-ol:before{content:"\\f0cb"}.fa-strikethrough:before{content:"\\f0cc"}.fa-underline:before{content:"\\f0cd"}.fa-table:before{content:"\\f0ce"}.fa-magic:before{content:"\\f0d0"}.fa-truck:before{content:"\\f0d1"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-plus:before{content:"\\f0d5"}.fa-money:before{content:"\\f0d6"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-up:before{content:"\\f0d8"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-columns:before{content:"\\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\\f0de"}.fa-envelope:before{content:"\\f0e0"}.fa-linkedin:before{content:"\\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\f0e4"}.fa-comment-o:before{content:"\\f0e5"}.fa-comments-o:before{content:"\\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\\f0e7"}.fa-sitemap:before{content:"\\f0e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\\f0ea"}.fa-lightbulb-o:before{content:"\\f0eb"}.fa-exchange:before{content:"\\f0ec"}.fa-cloud-download:before{content:"\\f0ed"}.fa-cloud-upload:before{content:"\\f0ee"}.fa-user-md:before{content:"\\f0f0"}.fa-stethoscope:before{content:"\\f0f1"}.fa-suitcase:before{content:"\\f0f2"}.fa-bell-o:before{content:"\\f0a2"}.fa-coffee:before{content:"\\f0f4"}.fa-cutlery:before{content:"\\f0f5"}.fa-file-text-o:before{content:"\\f0f6"}.fa-building-o:before{content:"\\f0f7"}.fa-hospital-o:before{content:"\\f0f8"}.fa-ambulance:before{content:"\\f0f9"}.fa-medkit:before{content:"\\f0fa"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-beer:before{content:"\\f0fc"}.fa-h-square:before{content:"\\f0fd"}.fa-plus-square:before{content:"\\f0fe"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angle-down:before{content:"\\f107"}.fa-desktop:before{content:"\\f108"}.fa-laptop:before{content:"\\f109"}.fa-tablet:before{content:"\\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\f10b"}.fa-circle-o:before{content:"\\f10c"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-spinner:before{content:"\\f110"}.fa-circle:before{content:"\\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\\f112"}.fa-github-alt:before{content:"\\f113"}.fa-folder-o:before{content:"\\f114"}.fa-folder-open-o:before{content:"\\f115"}.fa-smile-o:before{content:"\\f118"}.fa-frown-o:before{content:"\\f119"}.fa-meh-o:before{content:"\\f11a"}.fa-gamepad:before{content:"\\f11b"}.fa-keyboard-o:before{content:"\\f11c"}.fa-flag-o:before{content:"\\f11d"}.fa-flag-checkered:before{content:"\\f11e"}.fa-terminal:before{content:"\\f120"}.fa-code:before{content:"\\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\f123"}.fa-location-arrow:before{content:"\\f124"}.fa-crop:before{content:"\\f125"}.fa-code-fork:before{content:"\\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\\f127"}.fa-question:before{content:"\\f128"}.fa-info:before{content:"\\f129"}.fa-exclamation:before{content:"\\f12a"}.fa-superscript:before{content:"\\f12b"}.fa-subscript:before{content:"\\f12c"}.fa-eraser:before{content:"\\f12d"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-microphone:before{content:"\\f130"}.fa-microphone-slash:before{content:"\\f131"}.fa-shield:before{content:"\\f132"}.fa-calendar-o:before{content:"\\f133"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-rocket:before{content:"\\f135"}.fa-icon-zoom-in:before{content:"\\f00e"}.fa-icon-zoom-out:before{content:"\\f010"}.fa-maxcdn:before{content:"\\f136"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-html5:before{content:"\\f13b"}.fa-css3:before{content:"\\f13c"}.fa-anchor:before{content:"\\f13d"}.fa-unlock-alt:before{content:"\\f13e"}.fa-bullseye:before{content:"\\f140"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-rss-square:before{content:"\\f143"}.fa-play-circle:before{content:"\\f144"}.fa-ticket:before{content:"\\f145"}.fa-minus-square:before{content:"\\f146"}.fa-minus-square-o:before{content:"\\f147"}.fa-level-up:before{content:"\\f148"}.fa-level-down:before{content:"\\f149"}.fa-check-square:before{content:"\\f14a"}.fa-pencil-square:before{content:"\\f14b"}.fa-external-link-square:before{content:"\\f14c"}.fa-share-square:before{content:"\\f14d"}.fa-compass:before{content:"\\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\\f152"}.fa-euro:before,.fa-eur:before{content:"\\f153"}.fa-gbp:before{content:"\\f154"}.fa-dollar:before,.fa-usd:before{content:"\\f155"}.fa-rupee:before,.fa-inr:before{content:"\\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\\f158"}.fa-won:before,.fa-krw:before{content:"\\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\\f15a"}.fa-file:before{content:"\\f15b"}.fa-file-text:before{content:"\\f15c"}.fa-sort-alpha-asc:before{content:"\\f15d"}.fa-sort-alpha-desc:before{content:"\\f15e"}.fa-sort-amount-asc:before{content:"\\f160"}.fa-sort-amount-desc:before{content:"\\f161"}.fa-sort-numeric-asc:before{content:"\\f162"}.fa-sort-numeric-desc:before{content:"\\f163"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbs-down:before{content:"\\f165"}.fa-youtube-square:before{content:"\\f166"}.fa-youtube:before{content:"\\f167"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-youtube-play:before{content:"\\f16a"}.fa-dropbox:before{content:"\\f16b"}.fa-stack-overflow:before{content:"\\f16c"}.fa-instagram:before{content:"\\f16d"}.fa-flickr:before{content:"\\f16e"}.fa-adn:before{content:"\\f170"}.fa-bitbucket:before{content:"\\f171"}.fa-bitbucket-square:before{content:"\\f172"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-long-arrow-down:before{content:"\\f175"}.fa-long-arrow-up:before{content:"\\f176"}.fa-long-arrow-left:before{content:"\\f177"}.fa-long-arrow-right:before{content:"\\f178"}.fa-apple:before{content:"\\f179"}.fa-windows:before{content:"\\f17a"}.fa-android:before{content:"\\f17b"}.fa-linux:before{content:"\\f17c"}.fa-dribbble:before{content:"\\f17d"}.fa-skype:before{content:"\\f17e"}.fa-foursquare:before{content:"\\f180"}.fa-trello:before{content:"\\f181"}.fa-female:before{content:"\\f182"}.fa-male:before{content:"\\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\\f184"}.fa-sun-o:before{content:"\\f185"}.fa-moon-o:before{content:"\\f186"}.fa-archive:before{content:"\\f187"}.fa-bug:before{content:"\\f188"}.fa-vk:before{content:"\\f189"}.fa-weibo:before{content:"\\f18a"}.fa-renren:before{content:"\\f18b"}.fa-pagelines:before{content:"\\f18c"}.fa-stack-exchange:before{content:"\\f18d"}.fa-arrow-circle-o-right:before{content:"\\f18e"}.fa-arrow-circle-o-left:before{content:"\\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\\f191"}.fa-dot-circle-o:before{content:"\\f192"}.fa-wheelchair:before{content:"\\f193"}.fa-vimeo-square:before{content:"\\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\\f195"}.fa-plus-square-o:before{content:"\\f196"}.fa-space-shuttle:before{content:"\\f197"}.fa-slack:before{content:"\\f198"}.fa-envelope-square:before{content:"\\f199"}.fa-wordpress:before{content:"\\f19a"}.fa-openid:before{content:"\\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\\f19d"}.fa-yahoo:before{content:"\\f19e"}.fa-google:before{content:"\\f1a0"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-square:before{content:"\\f1a2"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-delicious:before{content:"\\f1a5"}.fa-digg:before{content:"\\f1a6"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-drupal:before{content:"\\f1a9"}.fa-joomla:before{content:"\\f1aa"}.fa-language:before{content:"\\f1ab"}.fa-fax:before{content:"\\f1ac"}.fa-building:before{content:"\\f1ad"}.fa-child:before{content:"\\f1ae"}.fa-paw:before{content:"\\f1b0"}.fa-spoon:before{content:"\\f1b1"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-recycle:before{content:"\\f1b8"}.fa-automobile:before,.fa-car:before{content:"\\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\\f1ba"}.fa-tree:before{content:"\\f1bb"}.fa-spotify:before{content:"\\f1bc"}.fa-deviantart:before{content:"\\f1bd"}.fa-soundcloud:before{content:"\\f1be"}.fa-database:before{content:"\\f1c0"}.fa-file-pdf-o:before{content:"\\f1c1"}.fa-file-word-o:before{content:"\\f1c2"}.fa-file-excel-o:before{content:"\\f1c3"}.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\f1c8"}.fa-file-code-o:before{content:"\\f1c9"}.fa-vine:before{content:"\\f1ca"}.fa-codepen:before{content:"\\f1cb"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\\f1cd"}.fa-circle-o-notch:before{content:"\\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\\f1d0"}.fa-ge:before,.fa-empire:before{content:"\\f1d1"}.fa-git-square:before{content:"\\f1d2"}.fa-git:before{content:"\\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\\f1d4"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-qq:before{content:"\\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\\f1d9"}.fa-history:before{content:"\\f1da"}.fa-circle-thin:before{content:"\\f1db"}.fa-header:before{content:"\\f1dc"}.fa-paragraph:before{content:"\\f1dd"}.fa-sliders:before{content:"\\f1de"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-bomb:before{content:"\\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\\f1e3"}.fa-tty:before{content:"\\f1e4"}.fa-binoculars:before{content:"\\f1e5"}.fa-plug:before{content:"\\f1e6"}.fa-slideshare:before{content:"\\f1e7"}.fa-twitch:before{content:"\\f1e8"}.fa-yelp:before{content:"\\f1e9"}.fa-newspaper-o:before{content:"\\f1ea"}.fa-wifi:before{content:"\\f1eb"}.fa-calculator:before{content:"\\f1ec"}.fa-paypal:before{content:"\\f1ed"}.fa-google-wallet:before{content:"\\f1ee"}.fa-cc-visa:before{content:"\\f1f0"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bell-slash-o:before{content:"\\f1f7"}.fa-trash:before{content:"\\f1f8"}.fa-copyright:before{content:"\\f1f9"}.fa-at:before{content:"\\f1fa"}.fa-eyedropper:before{content:"\\f1fb"}.fa-paint-brush:before{content:"\\f1fc"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-area-chart:before{content:"\\f1fe"}.fa-pie-chart:before{content:"\\f200"}.fa-line-chart:before{content:"\\f201"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-bicycle:before{content:"\\f206"}.fa-bus:before{content:"\\f207"}.fa-ioxhost:before{content:"\\f208"}.fa-angellist:before{content:"\\f209"}.fa-cc:before{content:"\\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\\f20b"}.fa-meanpath:before{content:"\\f20c"}.fa-buysellads:before{content:"\\f20d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-dashcube:before{content:"\\f210"}.fa-forumbee:before{content:"\\f211"}.fa-leanpub:before{content:"\\f212"}.fa-sellsy:before{content:"\\f213"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-simplybuilt:before{content:"\\f215"}.fa-skyatlas:before{content:"\\f216"}.fa-cart-plus:before{content:"\\f217"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-diamond:before{content:"\\f219"}.fa-ship:before{content:"\\f21a"}.fa-user-secret:before{content:"\\f21b"}.fa-motorcycle:before{content:"\\f21c"}.fa-street-view:before{content:"\\f21d"}.fa-heartbeat:before{content:"\\f21e"}.fa-venus:before{content:"\\f221"}.fa-mars:before{content:"\\f222"}.fa-mercury:before{content:"\\f223"}.fa-intersex:before,.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-venus-double:before{content:"\\f226"}.fa-mars-double:before{content:"\\f227"}.fa-venus-mars:before{content:"\\f228"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-neuter:before{content:"\\f22c"}.fa-genderless:before{content:"\\f22d"}.fa-facebook-official:before{content:"\\f230"}.fa-pinterest-p:before{content:"\\f231"}.fa-whatsapp:before{content:"\\f232"}.fa-server:before{content:"\\f233"}.fa-user-plus:before{content:"\\f234"}.fa-user-times:before{content:"\\f235"}.fa-hotel:before,.fa-bed:before{content:"\\f236"}.fa-viacoin:before{content:"\\f237"}.fa-train:before{content:"\\f238"}.fa-subway:before{content:"\\f239"}.fa-medium:before{content:"\\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\\f23b"}.fa-optin-monster:before{content:"\\f23c"}.fa-opencart:before{content:"\\f23d"}.fa-expeditedssl:before{content:"\\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\\f244"}.fa-mouse-pointer:before{content:"\\f245"}.fa-i-cursor:before{content:"\\f246"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-sticky-note:before{content:"\\f249"}.fa-sticky-note-o:before{content:"\\f24a"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-clone:before{content:"\\f24d"}.fa-balance-scale:before{content:"\\f24e"}.fa-hourglass-o:before{content:"\\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass:before{content:"\\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\\f256"}.fa-hand-scissors-o:before{content:"\\f257"}.fa-hand-lizard-o:before{content:"\\f258"}.fa-hand-spock-o:before{content:"\\f259"}.fa-hand-pointer-o:before{content:"\\f25a"}.fa-hand-peace-o:before{content:"\\f25b"}.fa-trademark:before{content:"\\f25c"}.fa-registered:before{content:"\\f25d"}.fa-creative-commons:before{content:"\\f25e"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-tripadvisor:before{content:"\\f262"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-get-pocket:before{content:"\\f265"}.fa-wikipedia-w:before{content:"\\f266"}.fa-safari:before{content:"\\f267"}.fa-chrome:before{content:"\\f268"}.fa-firefox:before{content:"\\f269"}.fa-opera:before{content:"\\f26a"}.fa-internet-explorer:before{content:"\\f26b"}.fa-tv:before,.fa-television:before{content:"\\f26c"}.fa-contao:before{content:"\\f26d"}.fa-500px:before{content:"\\f26e"}.fa-amazon:before{content:"\\f270"}.fa-calendar-plus-o:before{content:"\\f271"}.fa-calendar-minus-o:before{content:"\\f272"}.fa-calendar-times-o:before{content:"\\f273"}.fa-calendar-check-o:before{content:"\\f274"}.fa-industry:before{content:"\\f275"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-map-o:before{content:"\\f278"}.fa-map:before{content:"\\f279"}.fa-commenting:before{content:"\\f27a"}.fa-commenting-o:before{content:"\\f27b"}.fa-houzz:before{content:"\\f27c"}.fa-vimeo:before{content:"\\f27d"}.fa-black-tie:before{content:"\\f27e"}.fa-fonticons:before{content:"\\f280"}.fa-reddit-alien:before{content:"\\f281"}.fa-edge:before{content:"\\f282"}.fa-credit-card-alt:before{content:"\\f283"}.fa-codiepie:before{content:"\\f284"}.fa-modx:before{content:"\\f285"}.fa-fort-awesome:before{content:"\\f286"}.fa-usb:before{content:"\\f287"}.fa-product-hunt:before{content:"\\f288"}.fa-mixcloud:before{content:"\\f289"}.fa-scribd:before{content:"\\f28a"}.fa-pause-circle:before{content:"\\f28b"}.fa-pause-circle-o:before{content:"\\f28c"}.fa-stop-circle:before{content:"\\f28d"}.fa-stop-circle-o:before{content:"\\f28e"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-hashtag:before{content:"\\f292"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-percent:before{content:"\\f295"}.fa-gitlab:before{content:"\\f296"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpforms:before{content:"\\f298"}.fa-envira:before{content:"\\f299"}.fa-universal-access:before{content:"\\f29a"}.fa-wheelchair-alt:before{content:"\\f29b"}.fa-question-circle-o:before{content:"\\f29c"}.fa-blind:before{content:"\\f29d"}.fa-audio-description:before{content:"\\f29e"}.fa-volume-control-phone:before{content:"\\f2a0"}.fa-braille:before{content:"\\f2a1"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\\f2a4"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\\f2a7"}.fa-low-vision:before{content:"\\f2a8"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-pied-piper:before{content:"\\f2ae"}.fa-first-order:before{content:"\\f2b0"}.fa-yoast:before{content:"\\f2b1"}.fa-themeisle:before{content:"\\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\\f2b4"}.fa-handshake-o:before{content:"\\f2b5"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-o:before{content:"\\f2b7"}.fa-linode:before{content:"\\f2b8"}.fa-address-book:before{content:"\\f2b9"}.fa-address-book-o:before{content:"\\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\\f2bc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-circle-o:before{content:"\\f2be"}.fa-user-o:before{content:"\\f2c0"}.fa-id-badge:before{content:"\\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\\f2c3"}.fa-quora:before{content:"\\f2c4"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-telegram:before{content:"\\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\\f2cb"}.fa-shower:before{content:"\\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\\f2cd"}.fa-podcast:before{content:"\\f2ce"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\\f2d4"}.fa-bandcamp:before{content:"\\f2d5"}.fa-grav:before{content:"\\f2d6"}.fa-etsy:before{content:"\\f2d7"}.fa-imdb:before{content:"\\f2d8"}.fa-ravelry:before{content:"\\f2d9"}.fa-eercast:before{content:"\\f2da"}.fa-microchip:before{content:"\\f2db"}.fa-snowflake-o:before{content:"\\f2dc"}.fa-superpowers:before{content:"\\f2dd"}.fa-wpexplorer:before{content:"\\f2de"}.fa-meetup:before{content:"\\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}\n',""])},function(e,t,n){e.exports=n.p+"FontAwesome.otf"},function(e,t,n){var r=n(499);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1);var r=n(175),o=r(n(500));t.push([e.i,'@font-face{font-family:"ModusIcons";src:url('+o+');font-weight:normal;font-style:normal}.modus-icons{font-family:"ModusIcons"}.modus-icons.medialibrary:before{content:"\\0043"}.modus-icons.whatsnew:before{content:"\\0044"}.modus-icons.share:before{content:"\\0046"}\n',""])},function(e,t,n){e.exports=n.p+"ModusIcons.otf"},function(e,t,n){"use strict";(function(e){function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(502),n(699),n(700),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,n(63))},function(e,t,n){n(503),n(506),n(507),n(508),n(509),n(510),n(511),n(512),n(513),n(514),n(515),n(516),n(517),n(518),n(519),n(520),n(521),n(522),n(523),n(524),n(525),n(526),n(527),n(528),n(529),n(530),n(531),n(532),n(533),n(534),n(535),n(536),n(537),n(538),n(539),n(540),n(541),n(542),n(543),n(544),n(545),n(546),n(547),n(548),n(549),n(550),n(551),n(552),n(553),n(554),n(555),n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563),n(564),n(565),n(566),n(567),n(568),n(569),n(570),n(571),n(572),n(573),n(574),n(575),n(576),n(577),n(578),n(579),n(580),n(581),n(583),n(584),n(586),n(587),n(588),n(589),n(590),n(591),n(592),n(594),n(595),n(596),n(597),n(598),n(599),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(196),n(607),n(287),n(608),n(288),n(609),n(610),n(611),n(612),n(613),n(291),n(293),n(294),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(625),n(626),n(627),n(628),n(629),n(630),n(631),n(632),n(633),n(634),n(635),n(636),n(637),n(638),n(639),n(640),n(641),n(642),n(643),n(644),n(645),n(646),n(647),n(648),n(649),n(650),n(651),n(652),n(653),n(654),n(655),n(656),n(657),n(658),n(659),n(660),n(661),n(662),n(663),n(664),n(665),n(666),n(667),n(668),n(669),n(670),n(671),n(672),n(673),n(674),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(690),n(691),n(692),n(693),n(694),n(695),n(696),n(697),n(698),e.exports=n(43)},function(e,t,n){"use strict";var r=n(11),o=n(37),i=n(20),a=n(1),l=n(31),s=n(65).KEY,u=n(13),c=n(103),A=n(90),f=n(74),g=n(17),p=n(269),d=n(177),h=n(505),C=n(123),I=n(9),v=n(15),m=n(25),b=n(38),y=n(51),w=n(73),x=n(77),E=n(272),k=n(39),O=n(122),_=n(24),M=n(75),P=k.f,S=_.f,T=E.f,j=r.Symbol,N=r.JSON,L=N&&N.stringify,B=g("_hidden"),R=g("toPrimitive"),q={}.propertyIsEnumerable,D=c("symbol-registry"),F=c("symbols"),Q=c("op-symbols"),z=Object.prototype,U="function"==typeof j&&!!O.f,H=r.QObject,V=!H||!H.prototype||!H.prototype.findChild,W=i&&u(function(){return 7!=x(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=P(z,t);r&&delete z[t],S(e,t,n),r&&e!==z&&S(z,t,r)}:S,Y=function(e){var t=F[e]=x(j.prototype);return t._k=e,t},G=U&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},X=function(e,t,n){return e===z&&X(Q,t,n),I(e),t=y(t,!0),I(n),o(F,t)?(n.enumerable?(o(e,B)&&e[B][t]&&(e[B][t]=!1),n=x(n,{enumerable:w(0,!1)})):(o(e,B)||S(e,B,w(1,{})),e[B][t]=!0),W(e,t,n)):S(e,t,n)},Z=function(e,t){I(e);for(var n,r=h(t=b(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},K=function(e,t){return void 0===t?x(e):Z(x(e),t)},J=function(e){var t=q.call(this,e=y(e,!0));return!(this===z&&o(F,e)&&!o(Q,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,B)&&this[B][e])||t)},$=function(e,t){if(e=b(e),t=y(t,!0),e!==z||!o(F,t)||o(Q,t)){var n=P(e,t);return!n||!o(F,t)||o(e,B)&&e[B][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=T(b(e)),r=[],i=0;n.length>i;)o(F,t=n[i++])||t==B||t==s||r.push(t);return r},te=function(e){for(var t,n=e===z,r=T(n?Q:b(e)),i=[],a=0;r.length>a;)!o(F,t=r[a++])||n&&!o(z,t)||i.push(F[t]);return i};U||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(Q,n),o(this,B)&&o(this[B],e)&&(this[B][e]=!1),W(this,e,w(1,n))};return i&&V&&W(z,e,{configurable:!0,set:t}),Y(e)},l(j.prototype,"toString",function(){return this._k}),k.f=$,_.f=X,n(78).f=E.f=ee,n(105).f=J,O.f=te,i&&!n(64)&&l(z,"propertyIsEnumerable",J,!0),p.f=function(e){return Y(g(e))}),a(a.G+a.W+a.F*!U,{Symbol:j});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)g(ne[re++]);for(var oe=M(g.store),ie=0;oe.length>ie;)d(oe[ie++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=j(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:K,defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:$,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(m(e))}}),N&&a(a.S+a.F*(!U||u(function(){var e=j();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(v(t)||void 0!==e)&&!G(e))return C(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,L.apply(N,r)}}),j.prototype[R]||n(30)(j.prototype,R,j.prototype.valueOf),A(j,"Symbol"),A(Math,"Math",!0),A(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(103)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(75),o=n(122),i=n(105);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),s=i.f,u=0;l.length>u;)s.call(e,a=l[u++])&&t.push(a);return t}},function(e,t,n){var r=n(1);r(r.S,"Object",{create:n(77)})},function(e,t,n){var r=n(1);r(r.S+r.F*!n(20),"Object",{defineProperty:n(24).f})},function(e,t,n){var r=n(1);r(r.S+r.F*!n(20),"Object",{defineProperties:n(271)})},function(e,t,n){var r=n(38),o=n(39).f;n(53)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){var r=n(25),o=n(40);n(53)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(25),o=n(75);n(53)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(53)("getOwnPropertyNames",function(){return n(272).f})},function(e,t,n){var r=n(15),o=n(65).onFreeze;n(53)("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(15),o=n(65).onFreeze;n(53)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(15),o=n(65).onFreeze;n(53)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(15);n(53)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(53)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(15);n(53)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(1);r(r.S+r.F,"Object",{assign:n(273)})},function(e,t,n){var r=n(1);r(r.S,"Object",{is:n(274)})},function(e,t,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(181).set})},function(e,t,n){"use strict";var r=n(91),o={};o[n(17)("toStringTag")]="z",o+""!="[object z]"&&n(31)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(1);r(r.P,"Function",{bind:n(275)})},function(e,t,n){var r=n(24).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(20)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(15),o=n(40),i=n(17)("hasInstance"),a=Function.prototype;i in a||n(24).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(1),o=n(277);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(1),o=n(278);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){"use strict";var r=n(11),o=n(37),i=n(45),a=n(183),l=n(51),s=n(13),u=n(78).f,c=n(39).f,A=n(24).f,f=n(92).trim,g=r.Number,p=g,d=g.prototype,h="Number"==i(n(77)(d)),C="trim"in String.prototype,I=function(e){var t=l(e,!1);if("string"==typeof t&&t.length>2){t=C?t.trim():f(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,s=t.slice(2),u=0,c=s.length;uo)return NaN;return parseInt(s,r)}}return+t};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof g&&(h?s(function(){d.valueOf.call(n)}):"Number"!=i(n))?a(new p(I(t)),n,g):I(t)};for(var v,m=n(20)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;m.length>b;b++)o(p,v=m[b])&&!o(g,v)&&A(g,v,c(p,v));g.prototype=d,d.constructor=g,n(31)(r,"Number",g)}},function(e,t,n){"use strict";var r=n(1),o=n(46),i=n(279),a=n(184),l=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",A=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)},d=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(13)(function(){l.call({})})),"Number",{toFixed:function(e){var t,n,r,l,s=i(this,c),u=o(e),h="",C="0";if(u<0||u>20)throw RangeError(c);if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(h="-",s=-s),s>1e-21)if(t=d(s*p(2,69,1))-69,n=t<0?s*p(2,-t,1):s/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(A(0,n),r=u;r>=7;)A(1e7,0),r-=7;for(A(p(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<0?(l=C.length,C=h+(l<=u?"0."+a.call("0",u-l)+C:C.slice(0,l-u)+"."+C.slice(l-u))):C=h+C,C}})},function(e,t,n){"use strict";var r=n(1),o=n(13),i=n(279),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(1);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(1),o=n(11).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(1);r(r.S,"Number",{isInteger:n(280)})},function(e,t,n){var r=n(1);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(280),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(1);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(1);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1),o=n(278);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(1),o=n(277);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(1),o=n(281),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(1),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(1),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(185);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(1),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(1),o=n(186);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(1);r(r.S,"Math",{fround:n(282)})},function(e,t,n){var r=n(1),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,l=arguments.length,s=0;a0?(r=n/s,i+=r*r):i+=n;return s===1/0?1/0:s*Math.sqrt(i)}})},function(e,t,n){var r=n(1),o=Math.imul;r(r.S+r.F*n(13)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log1p:n(281)})},function(e,t,n){var r=n(1);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(1);r(r.S,"Math",{sign:n(185)})},function(e,t,n){var r=n(1),o=n(186),i=Math.exp;r(r.S+r.F*n(13)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(1),o=n(186),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(1),o=n(76),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(1),o=n(38),i=n(19);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],l=0;n>l;)a.push(String(t[l++])),l=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(1),o=n(124)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(19),i=n(189),a="".endsWith;r(r.P+r.F*n(190)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),l=void 0===n?r:Math.min(o(n),r),s=String(e);return a?a.call(t,s,l):t.slice(l-s.length,l)===s}})},function(e,t,n){"use strict";var r=n(1),o=n(189);r(r.P+r.F*n(190)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1);r(r.P,"String",{repeat:n(184)})},function(e,t,n){"use strict";var r=n(1),o=n(19),i=n(189),a="".startsWith;r(r.P+r.F*n(190)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(32)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(32)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(32)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(32)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(32)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(32)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(32)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(32)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(32)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(32)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(32)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(32)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(32)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){var r=n(1);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(1),o=n(25),i=n(51);r(r.P+r.F*n(13)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(1),o=n(582);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(13),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(31)(r,"toString",function(){var e=i.call(this);return e===e?o.call(this):"Invalid Date"})},function(e,t,n){var r=n(17)("toPrimitive"),o=Date.prototype;r in o||n(30)(o,r,n(585))},function(e,t,n){"use strict";var r=n(9),o=n(51);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(1);r(r.S,"Array",{isArray:n(123)})},function(e,t,n){"use strict";var r=n(44),o=n(1),i=n(25),a=n(283),l=n(191),s=n(19),u=n(192),c=n(193);o(o.S+o.F*!n(126)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,A,f=i(e),g="function"==typeof this?this:Array,p=arguments.length,d=p>1?arguments[1]:void 0,h=void 0!==d,C=0,I=c(f);if(h&&(d=r(d,p>2?arguments[2]:void 0,2)),void 0==I||g==Array&&l(I))for(t=s(f.length),n=new g(t);t>C;C++)u(n,C,h?d(f[C],C):f[C]);else for(A=I.call(f),n=new g;!(o=A.next()).done;C++)u(n,C,h?a(A,d,[o.value,C],!0):o.value);return n.length=C,n}})},function(e,t,n){"use strict";var r=n(1),o=n(192);r(r.S+r.F*n(13)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(1),o=n(38),i=[].join;r(r.P+r.F*(n(104)!=Object||!n(47)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(1),o=n(180),i=n(45),a=n(76),l=n(19),s=[].slice;r(r.P+r.F*n(13)(function(){o&&s.call(o)}),"Array",{slice:function(e,t){var n=l(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return s.call(this,e,t);for(var o=a(e,n),u=a(t,n),c=l(u-o),A=new Array(c),f=0;f1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(1);r(r.P,"Array",{copyWithin:n(285)}),n(66)("copyWithin")},function(e,t,n){var r=n(1);r(r.P,"Array",{fill:n(195)}),n(66)("fill")},function(e,t,n){"use strict";var r=n(1),o=n(54)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(66)("find")},function(e,t,n){"use strict";var r=n(1),o=n(54)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(66)(i)},function(e,t,n){n(79)("Array")},function(e,t,n){var r=n(11),o=n(183),i=n(24).f,a=n(78).f,l=n(125),s=n(106),u=r.RegExp,c=u,A=u.prototype,f=/a/g,g=/a/g,p=new u(f)!==f;if(n(20)&&(!p||n(13)(function(){return g[n(17)("match")]=!1,u(f)!=f||u(g)==g||"/a/i"!=u(f,"i")}))){u=function(e,t){var n=this instanceof u,r=l(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(p?new c(r&&!i?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&i?s.call(e):t),n?this:A,u)};for(var d=a(c),h=0;d.length>h;)!function(e){e in u||i(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(d[h++]);A.constructor=u,u.prototype=A,n(31)(r,"RegExp",u)}n(79)("RegExp")},function(e,t,n){"use strict";n(288);var r=n(9),o=n(106),i=n(20),a=/./.toString,l=function(e){n(31)(RegExp.prototype,"toString",e,!0)};n(13)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?l(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&l(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(9),o=n(19),i=n(198),a=n(127);n(128)("match",1,function(e,t,n,l){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=l(n,e,this);if(t.done)return t.value;var s=r(e),u=String(this);if(!s.global)return a(s,u);var c=s.unicode;s.lastIndex=0;for(var A,f=[],g=0;null!==(A=a(s,u));){var p=String(A[0]);f[g]=p,""===p&&(s.lastIndex=i(u,o(s.lastIndex),c)),g++}return 0===g?null:f}]})},function(e,t,n){"use strict";var r=n(9),o=n(25),i=n(19),a=n(46),l=n(198),s=n(127),u=Math.max,c=Math.min,A=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,g=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n(128)("replace",2,function(e,t,n,d){function h(e,t,r,i,a,l){var s=r+e.length,u=i.length,c=g;return void 0!==a&&(a=o(a),c=f),n.call(l,c,function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":l=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>u){var f=A(c/10);return 0===f?n:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}l=i[c-1]}return void 0===l?"":l})}return[function(r,o){var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=d(n,e,this,t);if(o.done)return o.value;var A=r(e),f=String(this),g="function"==typeof t;g||(t=String(t));var C=A.global;if(C){var I=A.unicode;A.lastIndex=0}for(var v=[];;){var m=s(A,f);if(null===m)break;if(v.push(m),!C)break;""===String(m[0])&&(A.lastIndex=l(f,i(A.lastIndex),I))}for(var b="",y=0,w=0;w=y&&(b+=f.slice(y,E)+P,y=E+x.length)}return b+f.slice(y)}]})},function(e,t,n){"use strict";var r=n(9),o=n(274),i=n(127);n(128)("search",1,function(e,t,n,a){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),s=String(this),u=l.lastIndex;o(u,0)||(l.lastIndex=0);var c=i(l,s);return o(l.lastIndex,u)||(l.lastIndex=u),null===c?-1:c.index}]})},function(e,t,n){"use strict";var r=n(125),o=n(9),i=n(107),a=n(198),l=n(19),s=n(127),u=n(197),c=n(13),A=Math.min,f=[].push,g="length",p=!c(function(){RegExp(4294967295,"y")});n(128)("split",2,function(e,t,n,c){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[g]||2!="ab".split(/(?:ab)*/)[g]||4!=".".split(/(.?)(.?)/)[g]||".".split(/()()/)[g]>1||"".split(/.?/)[g]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,l,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),A=0,p=void 0===t?4294967295:t>>>0,d=new RegExp(e.source,c+"g");(i=u.call(d,o))&&!((a=d.lastIndex)>A&&(s.push(o.slice(A,i.index)),i[g]>1&&i.index=p));)d.lastIndex===i.index&&d.lastIndex++;return A===o[g]?!l&&d.test("")||s.push(""):s.push(o.slice(A)),s[g]>p?s.slice(0,p):s}:"0".split(void 0,0)[g]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,o,r):d.call(String(o),n,r)},function(e,t){var r=c(d,e,this,t,d!==n);if(r.done)return r.value;var u=o(e),f=String(this),g=i(u,RegExp),h=u.unicode,C=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),I=new g(p?u:"^(?:"+u.source+")",C),v=void 0===t?4294967295:t>>>0;if(0===v)return[];if(0===f.length)return null===s(I,f)?[f]:[];for(var m=0,b=0,y=[];bi;)!function(t){var n,i,a,l=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{l?(o||(2==e._h&&B(e),e._h=1),!0===l?n=r:(c&&c.enter(),n=l(r),c&&(c.exit(),a=!0)),n===t.promise?u(w("Promise-chain cycle")):(i=T(n))?i.call(n,s,u):s(n)):u(r)}catch(e){c&&!a&&c.exit(),u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){C.call(s,function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=m(function(){_?x.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=_||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){C.call(s,function(){var t;_?x.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},q=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw w("Promise can't be resolved itself");(t=T(e))?I(function(){var r={_w:n,_d:!1};try{t.call(e,u(q,r,1),u(R,r,1))}catch(e){R.call(r,e)}}):(n._v=e,n._s=1,j(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};S||(O=function(e){p(this,O,"Promise","_h"),g(e),r.call(this);try{e(u(q,this,1),u(R,this,1))}catch(e){R.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(82)(O.prototype,{then:function(e,t){var n=P(h(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=_?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(q,e,1),this.reject=u(R,e,1)},v.f=P=function(e){return e===O||e===a?new i(e):o(e)}),A(A.G+A.W+A.F*!S,{Promise:O}),n(90)(O,"Promise"),n(79)("Promise"),a=n(43).Promise,A(A.S+A.F*!S,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),A(A.S+A.F*(l||!S),"Promise",{resolve:function(e){return y(l&&this===a?O:this,e)}}),A(A.S+A.F*!(S&&n(126)(function(e){O.all(e).catch(M)})),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,o=n.reject,i=m(function(){var n=[],i=0,a=1;d(e,!1,function(e){var l=i++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[l]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,o=m(function(){d(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(295),o=n(83);n(130)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(1),o=n(131),i=n(202),a=n(9),l=n(76),s=n(19),u=n(15),c=n(11).ArrayBuffer,A=n(107),f=i.ArrayBuffer,g=i.DataView,p=o.ABV&&c.isView,d=f.prototype.slice,h=o.VIEW;r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||u(e)&&h in e}}),r(r.P+r.U+r.F*n(13)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(a(this),e);for(var n=a(this).byteLength,r=l(e,n),o=l(void 0===t?n:t,n),i=new(A(this,f))(s(o-r)),u=new g(this),c=new g(i),p=0;r=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){function r(e,t){var n,l,c=arguments.length<3?e:arguments[2];return u(e)===c?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:s(l=i(e))?r(l,t,c):void 0}var o=n(39),i=n(40),a=n(37),l=n(1),s=n(15),u=n(9);l(l.S,"Reflect",{get:r})},function(e,t,n){var r=n(39),o=n(1),i=n(9);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(1),o=n(40),i=n(9);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(9),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{ownKeys:n(297)})},function(e,t,n){var r=n(1),o=n(9),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var s,f,g=arguments.length<4?e:arguments[3],p=i.f(c(e),t);if(!p){if(A(f=a(e)))return r(f,t,n,g);p=u(0)}if(l(p,"value")){if(!1===p.writable||!A(g))return!1;if(s=i.f(g,t)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,o.f(g,t,s)}else o.f(g,t,u(0,n));return!0}return void 0!==p.set&&(p.set.call(g,n),!0)}var o=n(24),i=n(39),a=n(40),l=n(37),s=n(1),u=n(73),c=n(9),A=n(15);s(s.S,"Reflect",{set:r})},function(e,t,n){var r=n(1),o=n(181);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){"use strict";var r=n(1),o=n(121)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(66)("includes")},function(e,t,n){"use strict";var r=n(1),o=n(298),i=n(25),a=n(19),l=n(27),s=n(194);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return l(e),t=a(r.length),n=s(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(66)("flatMap")},function(e,t,n){"use strict";var r=n(1),o=n(298),i=n(25),a=n(19),l=n(46),s=n(194);r(r.P,"Array",{flatten:function(){var e=arguments[0],t=i(this),n=a(t.length),r=s(t,0);return o(r,t,t,n,0,void 0===e?1:l(e)),r}}),n(66)("flatten")},function(e,t,n){"use strict";var r=n(1),o=n(124)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(299),i=n(129),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";var r=n(1),o=n(299),i=n(129),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";n(92)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(92)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){"use strict";var r=n(1),o=n(52),i=n(19),a=n(125),l=n(106),s=RegExp.prototype,u=function(e,t){this._r=e,this._s=t};n(188)(u,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in s?String(e.flags):l.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new u(r,t)}})},function(e,t,n){n(177)("asyncIterator")},function(e,t,n){n(177)("observable")},function(e,t,n){var r=n(1),o=n(297),i=n(38),a=n(39),l=n(192);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),s=a.f,u=o(r),c={},A=0;u.length>A;)void 0!==(n=s(r,t=u[A++]))&&l(c,t,n);return c}})},function(e,t,n){var r=n(1),o=n(300)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(300)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(1),o=n(25),i=n(27),a=n(24);n(20)&&r(r.P+n(132),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(1),o=n(25),i=n(27),a=n(24);n(20)&&r(r.P+n(132),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(1),o=n(25),i=n(51),a=n(40),l=n(39).f;n(20)&&r(r.P+n(132),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(25),i=n(51),a=n(40),l=n(39).f;n(20)&&r(r.P+n(132),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.set}while(n=a(n))}})},function(e,t,n){var r=n(1);r(r.P+r.R,"Map",{toJSON:n(301)("Map")})},function(e,t,n){var r=n(1);r(r.P+r.R,"Set",{toJSON:n(301)("Set")})},function(e,t,n){n(133)("Map")},function(e,t,n){n(133)("Set")},function(e,t,n){n(133)("WeakMap")},function(e,t,n){n(133)("WeakSet")},function(e,t,n){n(134)("Map")},function(e,t,n){n(134)("Set")},function(e,t,n){n(134)("WeakMap")},function(e,t,n){n(134)("WeakSet")},function(e,t,n){var r=n(1);r(r.G,{global:n(11)})},function(e,t,n){var r=n(1);r(r.S,"System",{global:n(11)})},function(e,t,n){var r=n(1),o=n(45);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(1),o=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*o}})},function(e,t,n){var r=n(1),o=n(303),i=n(282);r(r.S,"Math",{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},function(e,t,n){var r=n(1);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},function(e,t,n){var r=n(1);r(r.S,"Math",{imulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>16,l=r>>16,s=(a*i>>>0)+(o*i>>>16);return a*l+(s>>16)+((o*l>>>0)+(65535&s)>>16)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(1),o=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*o}})},function(e,t,n){var r=n(1);r(r.S,"Math",{scale:n(303)})},function(e,t,n){var r=n(1);r(r.S,"Math",{umulh:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r,a=n>>>16,l=r>>>16,s=(a*i>>>0)+(o*i>>>16);return a*l+(s>>>16)+((o*l>>>0)+(65535&s)>>>16)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},function(e,t,n){"use strict";var r=n(1),o=n(43),i=n(11),a=n(107),l=n(290);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then(function(){return n})}:e,n?function(n){return l(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(1),o=n(201),i=n(289);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){var r=n(60),o=n(9),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},function(e,t,n){var r=n(60),o=n(9),i=r.key,a=r.map,l=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var s=l.get(t);return s.delete(n),!!s.size||l.delete(t)}})},function(e,t,n){var r=n(60),o=n(9),i=n(40),a=r.has,l=r.get,s=r.key,u=function(e,t,n){if(a(e,t,n))return l(e,t,n);var r=i(t);return null!==r?u(e,r,n):void 0};r.exp({getMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(293),o=n(302),i=n(60),a=n(9),l=n(40),s=i.keys,u=i.key,c=function(e,t){var n=s(e,t),i=l(e);if(null===i)return n;var a=c(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return c(a(e),arguments.length<2?void 0:u(arguments[1]))}})},function(e,t,n){var r=n(60),o=n(9),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(60),o=n(9),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},function(e,t,n){var r=n(60),o=n(9),i=n(40),a=r.has,l=r.key,s=function(e,t,n){if(a(e,t,n))return!0;var r=i(t);return null!==r&&s(e,r,n)};r.exp({hasMetadata:function(e,t){return s(e,o(t),arguments.length<3?void 0:l(arguments[2]))}})},function(e,t,n){var r=n(60),o=n(9),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(60),o=n(9),i=n(27),a=r.key,l=r.set;r.exp({metadata:function(e,t){return function(n,r){l(e,t,(void 0!==r?o:i)(n),a(r))}}})},function(e,t,n){var r=n(1),o=n(200)(),i=n(11).process,a="process"==n(45)(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},function(e,t,n){"use strict";var r=n(1),o=n(11),i=n(43),a=n(200)(),l=n(17)("observable"),s=n(27),u=n(9),c=n(80),A=n(82),f=n(30),g=n(81),p=g.RETURN,d=function(e){return null==e?void 0:s(e)},h=function(e){var t=e._c;t&&(e._c=void 0,t())},C=function(e){return void 0===e._o},I=function(e){C(e)||(e._o=void 0,h(e))},v=function(e,t){u(e),this._c=void 0,this._o=e,e=new m(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:s(n),this._c=n)}catch(t){return void e.error(t)}C(this)&&h(this)};v.prototype=A({},{unsubscribe:function(){I(this)}});var m=function(e){this._s=e};m.prototype=A({},{next:function(e){var t=this._s;if(!C(t)){var n=t._o;try{var r=d(n.next);if(r)return r.call(n,e)}catch(e){try{I(t)}finally{throw e}}}},error:function(e){var t=this._s;if(C(t))throw e;var n=t._o;t._o=void 0;try{var r=d(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{h(t)}finally{throw e}}return h(t),e},complete:function(e){var t=this._s;if(!C(t)){var n=t._o;t._o=void 0;try{var r=d(n.complete);e=r?r.call(n,e):void 0}catch(e){try{h(t)}finally{throw e}}return h(t),e}}});var b=function(e){c(this,b,"Observable","_f")._f=s(e)};A(b.prototype,{subscribe:function(e){return new v(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){s(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),A(b,{from:function(e){var t="function"==typeof this?this:b,n=d(u(e)[l]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(g(e,!1,function(e){if(t.next(e),n)return p})===p)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*l,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},function(e,t,n){var r=n(1),o=n(199);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){for(var r=n(196),o=n(75),i=n(31),a=n(11),l=n(30),s=n(93),u=n(17),c=u("iterator"),A=u("toStringTag"),f=s.Array,g={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(g),d=0;d=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=I.call(o,"catchLoc"),l=I.call(o,"finallyLoc");if(a&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&I.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=h),M}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,n(63))},function(e,t,n){n(701),e.exports=n(43).RegExp.escape},function(e,t,n){var r=n(1),o=n(702)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t){/*! object-fit-polyfill - 2015-11-04 */ !function(e,t){"use strict";var n=function(){var e=t.createElement("div"),n="Khtml Ms O Moz Webkit".split(" "),r=n.length;return function(t){if(t in e.style)return!0;for(t=t.replace(/^[a-z]/,function(e){return e.toUpperCase()});r--;)if(n[r]+t in e.style)return!0;return!1}}();if(!1===n("object-fit"))for(var r,o,i=t.querySelectorAll("[data-object-fit]"),a=0;a0&&t!=parseInt(t)})(0,r[o])&&(n.style[o]=r[o])}(i[a],r),r.style.display="block",r.style.backgroundImage="url("+o+")",r.style.backgroundPosition="center center",r.style.className=i[a].className,r.style.backgroundRepeat="no-repeat",i[a].getAttribute("data-object-fit")){case"cover":r.style.backgroundSize="cover";break;case"contain":r.style.backgroundSize="contain";break;case"fill":r.style.backgroundSize="100% 100%";break;case"none":r.style.backgroundSize="auto"}i[a].parentNode.replaceChild(r,i[a])}}(window,document)},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=new g.default,n=t.mapVPTFromState(e),e={vpt:n,account:e.account,layout:e.layout};return e}function i(e){return(0,a.bindActionCreators)(u,e)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(108),l=n(309),s=n(314),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),c=n(728),A=r(c),f=n(396),g=r(f);self.global=e;var p=(0,l.connect)(o,i)(A.default);t.default=p}).call(t,n(63))},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?s:l:u&&u in Object(e)?i.a(e):a.a(e)}var o=n(306),i=n(708),a=n(709),l="[object Null]",s="[object Undefined]",u=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";var r=n(707),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(63))},function(e,t,n){"use strict";function r(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=l.call(e);return r&&(t?e[s]=n:delete e[s]),o}var o=n(306),i=Object.prototype,a=i.hasOwnProperty,l=i.toString,s=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return i.call(e)}var o=Object.prototype,i=o.toString;t.a=r},function(e,t,n){"use strict";var r=n(711),o=r.a(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){"use strict";(function(e,r){var o,i=n(715);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=i.a(o);t.a=a}).call(t,n(63),n(714)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function o(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:a.a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function i(e){for(var t=Object.keys(e),n={},i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var o=!1,i={},a=0;a3&&void 0!==arguments[3]?arguments[3]:{},u=Boolean(e),f=e||x,p=void 0;p="function"==typeof t?t:t?(0,C.default)(t):E;var h=n||k,I=r.pure,v=void 0===I||I,m=r.withRef,y=void 0!==m&&m,M=v&&h!==k,P=_++;return function(e){function t(e,t,n){var r=h(e,t,n);return r}var n="Connect("+l(e)+")",r=function(r){function l(e,t){o(this,l);var a=i(this,r.call(this,e,t));a.version=P,a.store=e.store||t.store,(0,w.default)(a.store,'Could not find "store" in either the context or props of "'+n+'". Either wrap the root component in a , or explicitly pass "store" as a prop to "'+n+'".');var s=a.store.getState();return a.state={storeState:s},a.clearCache(),a}return a(l,r),l.prototype.shouldComponentUpdate=function(){return!v||this.haveOwnPropsChanged||this.hasStoreStateChanged},l.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},l.prototype.configureFinalMapState=function(e,t){var n=f(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:f,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},l.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},l.prototype.configureFinalMapDispatch=function(e,t){var n=p(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:p,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},l.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,d.default)(e,this.stateProps))&&(this.stateProps=e,!0)},l.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,d.default)(e,this.dispatchProps))&&(this.dispatchProps=e,!0)},l.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&M&&(0,d.default)(e,this.mergedProps))&&(this.mergedProps=e,!0)},l.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},l.prototype.trySubscribe=function(){u&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},l.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},l.prototype.componentDidMount=function(){this.trySubscribe()},l.prototype.componentWillReceiveProps=function(e){v&&(0,d.default)(e,this.props)||(this.haveOwnPropsChanged=!0)},l.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},l.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},l.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!v||t!==e){if(v&&!this.doStatePropsDependOnOwnProps){var n=s(this.updateStatePropsIfNeeded,this);if(!n)return;n===O&&(this.statePropsPrecalculationError=O.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},l.prototype.getWrappedInstance=function(){return(0,w.default)(y,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},l.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,l=!0;v&&i&&(a=n||t&&this.doStatePropsDependOnOwnProps,l=t&&this.doDispatchPropsDependOnOwnProps);var s=!1,u=!1;r?s=!0:a&&(s=this.updateStatePropsIfNeeded()),l&&(u=this.updateDispatchPropsIfNeeded());return!(!!(s||u||t)&&this.updateMergedPropsIfNeeded())&&i?i:(this.renderedElement=y?(0,A.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):(0,A.createElement)(e,this.mergedProps),this.renderedElement)},l}(A.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:g.default},r.propTypes={store:g.default},(0,b.default)(r,e)}}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),o=this.extractLocation(n.pop()),i=n.join(" ")||void 0,a=r(["eval",""],o[0])>-1?void 0:o[0];return new e(i,void 0,a,o[1],o[2],t)},this)},parseFFOrSafari:function(r){return t(n(r.stack.split("\n"),function(e){return!e.match(a)},this),function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e(t);var n=t.split("@"),r=this.extractLocation(n.pop()),o=n.join("@")||void 0;return new e(o,void 0,r[0],r[1],r[2],t)},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(n=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var l=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e(a,l,o[0],o[1],o[2],t)},this)}}})},function(e,t,n){var r,o,i;!function(n,a){"use strict";o=[],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e,t,n,r,o,i){void 0!==e&&this.setFunctionName(e),void 0!==t&&this.setArgs(t),void 0!==n&&this.setFileName(n),void 0!==r&&this.setLineNumber(r),void 0!==o&&this.setColumnNumber(o),void 0!==i&&this.setSource(i)}return t.prototype={getFunctionName:function(){return this.functionName},setFunctionName:function(e){this.functionName=String(e)},getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getFileName:function(){return this.fileName},setFileName:function(e){this.fileName=String(e)},getLineNumber:function(){return this.lineNumber},setLineNumber:function(t){if(!e(t))throw new TypeError("Line Number must be a Number");this.lineNumber=Number(t)},getColumnNumber:function(){return this.columnNumber},setColumnNumber:function(t){if(!e(t))throw new TypeError("Column Number must be a Number");this.columnNumber=Number(t)},getSource:function(){return this.source},setSource:function(e){this.source=String(e)},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}},t})},function(e,t,n){"use strict";function r(e){if(void 0===A||void 0===A[e])return o(e);var t=A[e];return t===f?void 0:t}function o(e){switch(e){case"filenameWithoutLoaders":return u;case"filenameHasSchema":return c}}function i(e,t){if("object"!==(void 0===e?"undefined":s(e)))return A[e]=void 0===t?f:t,function(){a(e)};Object.keys(e).forEach(function(t){A[t]=e[t]})}function a(e){delete A[e]}function l(e){function t(){n.forEach(function(e){A[e]=r[e]})}var n=Object.keys(e),r={};return function(o){n.forEach(function(t){r[t]=A[t],A[t]=e[t]});var i=o();return i&&"function"==typeof i.then?i.then(t).catch(t):t(),i}}Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=t.filenameWithoutLoaders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.lastIndexOf("!");return t<0?e:e.substr(t+1)},c=(t.filenameHasLoaders=function(e){return r("filenameWithoutLoaders")(e)!==e},t.filenameHasSchema=function(e){return/^[\w]+\:/.test(e)}),A=(t.isFilenameAbsolute=function(e){return 0===r("filenameWithoutLoaders")(e).indexOf("/")},t.makeUrl=function(e,t,n,o){var i=r("filenameWithoutLoaders")(e);if(r("filenameHasSchema")(e))return i;var a="file://"+i;return"vscode"===t?(a=t+"://file/"+a,a=a.replace(/file:\/\/\//,""),n&&i===e&&(a=a+":"+n,o&&(a=a+":"+o))):t&&(a=t+"://open?url="+a,n&&i===e&&(a=a+"&line="+n,o&&(a=a+"&column="+o))),a},t.makeLinkText=function(e,t,n){var o=r("filenameWithoutLoaders")(e);return t&&o===e&&(o=o+":"+t,n&&(o=o+":"+n)),o},Object.create(null)),f="__INTENTIONAL_UNDEFINED__",g={};!function(){function e(e,t){Object.defineProperty(g,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",r),e("__GetDependency__",r),e("__Rewire__",i),e("__set__",i),e("__reset__",a),e("__ResetDependency__",a),e("__with__",l)}(),t.__get__=r,t.__GetDependency__=r,t.__Rewire__=i,t.__set__=i,t.__ResetDependency__=a,t.__RewireAPI__=g,t.default=g},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r,o;r=[n(1)],void 0!==(o=function(e){function t(e){var t=/ +at +([^ ]*).*/.exec(e);return t&&t[1]}function n(e){var t=/([^@]*)@.*/.exec(e);return t&&t[1]}function r(){for(var e=!1,t=0;t/)||C.fetchScript(c));C.sem.whenReady(function(){var e=g(r,h,C.mapForUri,I);t(e)})},a=function(){return navigator.userAgent.toLowerCase().indexOf("chrome")>-1},l=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},s=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1},u=function(){return document.documentMode&&document.documentMode>=11},c=function(){this.count=0,this.pending=[]};c.prototype.incr=function(){this.count++},c.prototype.decr=function(){this.count--,this.flush()},c.prototype.whenReady=function(e){this.pending.push(e),this.flush()},c.prototype.flush=function(){0===this.count&&(this.pending.forEach(function(e){e()}),this.pending=[])};var A=function(e){this.sem=new c,this.sync=e&&e.sync,this.mapForUri=e&&e.cacheGlobally?o:{}};A.prototype.ajax=function(e,t){var n=r(),o=this;n.onreadystatechange=function(){4==n.readyState&&t.call(o,n,e)},n.open("GET",e,!this.sync),n.send()},A.prototype.fetchScript=function(e){e in this.mapForUri||(this.sem.incr(),this.mapForUri[e]=null,this.ajax(e,this.onScriptLoad))};var f=new RegExp("^(?:[a-z]+:)?//","i");A.prototype.onScriptLoad=function(t,n){if(200===t.status||"file://"===n.slice(0,7)&&0===t.status){var r=t.responseText.match("//# [s]ourceMappingURL=(.*)[\\s]*$","m");if(r&&2===r.length){var o=r[1],i=o.match("data:application/json;(charset=[^;]+;)?base64,(.*)");if(i&&i[2])this.mapForUri[n]=new e.SourceMapConsumer(atob(i[2])),this.sem.decr();else{if(!f.test(o)){var a,l=n.lastIndexOf("/");-1!==l&&(a=n.slice(0,l+1),o=a+o)}this.ajax(o,function(t){(200===t.status||"file://"===o.slice(0,7)&&0===t.status)&&(this.mapForUri[n]=new e.SourceMapConsumer(t.responseText)),this.sem.decr()})}}else this.sem.decr()}else this.sem.decr()};var g=function(e,r,o,i){for(var a,l=[],s="chrome"===i?t:n,u=0;u=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:l.getArg(i,"generatedLine",null),column:l.getArg(i,"generatedColumn",null),lastColumn:l.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var u=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==u;)r.push({line:l.getArg(i,"generatedLine",null),column:l.getArg(i,"generatedColumn",null),lastColumn:l.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},t.SourceMapConsumer=r,o.prototype=Object.create(r.prototype),o.prototype.consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=u.fromArray(e._names.toArray(),!0),r=t._sources=u.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),s=t.__generatedMappings=[],c=t.__originalMappings=[],f=0,g=a.length;f1&&(n.source=d+o[1],d+=o[1],n.originalLine=g+o[2],g=n.originalLine,n.originalLine+=1,n.originalColumn=p+o[3],p=n.originalColumn,o.length>4&&(n.name=h+o[4],h+=o[4])),y.push(n),"number"==typeof n.originalLine&&b.push(n)}A(y,l.compareByGeneratedPositionsDeflated),this.__generatedMappings=y,A(b,l.compareByOriginalPositions),this.__originalMappings=b},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return s.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=l.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=l.join(this.sourceRoot,i)));var a=l.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:l.getArg(o,"originalLine",null),column:l.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=l.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=l.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=l.getArg(e,"source");if(null!=this.sourceRoot&&(t=l.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:l.getArg(e,"line"),originalColumn:l.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,l.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:l.getArg(i,"generatedLine",null),column:l.getArg(i,"generatedColumn",null),lastColumn:l.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=o,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t=0;c--)a=s[c],"."===a?s.splice(c,1):".."===a?u++:u>0&&(""===a?(s.splice(c+1,u),u=0):(s.splice(c,2),u--));return n=s.join("/"),""===n&&(n=l?"/":"."),i?(i.path=n,o(i)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),o(n);if(n||t.match(C))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}function l(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function s(e){return e}function u(e){return A(e)?"$"+e:e}function c(e){return A(e)?e.slice(1):e}function A(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function f(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name)}function g(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name)}function p(e,t){return e===t?0:e>t?1:-1}function d(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=p(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:p(e.name,t.name))}t.getArg=n;var h=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,C=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=o,t.normalize=i,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(h)},t.relative=l;var I=function(){return!("__proto__"in Object.create(null))}();t.toSetString=I?s:u,t.fromSetString=I?s:c,t.compareByOriginalPositions=f,t.compareByGeneratedPositionsDeflated=g,t.compareByGeneratedPositionsInflated=d},function(e,t){function n(e,r,o,i,a,l){var s=Math.floor((r-e)/2)+e,u=a(o,i[s],!0);return 0===u?s:u>0?r-s>1?n(s,r,o,i,a,l):l==t.LEAST_UPPER_BOUND?r1?n(e,s,o,i,a,l):l==t.LEAST_UPPER_BOUND?s:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,o,i){if(0===r.length)return-1;var a=n(-1,r.length,e,r,o,i||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(r[a],r[a-1],!0);)--a;return a}},function(e,t,n){function r(){this._array=[],this._set=Object.create(null)}var o=n(2),i=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o=0&&e>1;return t?-n:n}var i=n(6);t.encode=function(e){var t,n="",o=r(e);do{t=31&o,o>>>=5,o>0&&(t|=32),n+=i.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var r,a,l=e.length,s=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=i.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),a&=31,s+=a<-1||(t[n]=e[n])})}()}}function r(e){if("function"!=typeof e)throw new Error("Expected a constructor.");var n=a(e);if(n)return r(n.__getCurrent());g=e;var o=f.update(e.prototype);return p.prototype.constructor=p,p.__proto__=e.__proto__,Object.getOwnPropertyNames(e).forEach(function(n){if(!(w.indexOf(n)>-1)){var r=A({},Object.getOwnPropertyDescriptor(e,n),{configurable:!0});t(n)||(Object.defineProperty(p,n,r),d[n]=r)}}),Object.getOwnPropertyNames(p).forEach(function(n){if(!(w.indexOf(n)>-1||e.hasOwnProperty(n))){var r=Object.getOwnPropertyDescriptor(p,n);r&&!r.configurable||t(n)||(delete p[n],delete d[n])}}),p.displayName=e.displayName||e.name,o.forEach(I.default),o.forEach(m.default),o}function s(){return p}function u(){return g}var c=a(e);if(c)return c;var f=(0,h.default)(),g=void 0,p=void 0,d={};try{p=new Function("factory","instantiate","return function "+(e.name||"ProxyComponent")+"() {\n return instantiate(factory, this, arguments);\n }")(function(){return g},n)}catch(e){p=function(){return n(function(){return g},this,arguments)}}p.prototype=f.get(),p.toString=function(){return g.toString()},r(e);var C={get:s,update:r};return l(p,C),Object.defineProperty(C,"__getCurrent",{configurable:!1,writable:!1,enumerable:!1,value:u}),C}function u(e){var t=e;return{get:function(){return t},update:function(e){t=e}}}function c(e){return e.__proto__&&(0,y.default)()?s(e):u(e)}Object.defineProperty(t,"__esModule",{value:!0});var A=Object.assign||function(e){for(var t=1;t-1?l[s?t[u]:u]:void 0}}var o=n(135),i=n(67),a=n(86);e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(738),i=n(783),a=n(327);e.exports=r},function(e,t,n){function r(e,t,n,r){var s=n.length,u=s,c=!r;if(null==e)return!u;for(e=Object(e);s--;){var A=n[s];if(c&&A[2]?A[1]!==e[A[0]]:!(A[0]in e))return!1}for(;++s-1}var o=n(138);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(138);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(137);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length"}}function t(t){var n=function(){if("function"==typeof g[t])return g[t].apply(this,arguments)};return(0,a.default)(n,g[t]),n.toString=e(t),n}function n(){if(p.push(this),"function"==typeof g.componentDidMount)return g.componentDidMount.apply(this,arguments)}function r(){var e=p.indexOf(this);if(-1!==e&&p.splice(e,1),"function"==typeof g.componentWillUnmount)return g.componentWillUnmount.apply(this,arguments)}function o(e,t){Object.defineProperty(f,e,t)}function i(e,t){var n=Object.getOwnPropertyDescriptor(g,e)||{},r=n.enumerable,i=void 0!==r&&r,a=n.writable;o(e,{configurable:!0,enumerable:i,writable:void 0===a||a,value:t})}function l(){if(g.__reactAutoBindMap){var e={};for(var t in g.__reactAutoBindMap)"function"==typeof f[t]&&g.__reactAutoBindMap.hasOwnProperty(t)&&(e[t]=f[t]);return e}}function u(){for(var e=[],t=0;t0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){var r=n(809),o=n(815),i=n(334),a=n(336),l=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=l},function(e,t,n){function r(e,t,n,r){var A=-1,f=i,g=!0,p=e.length,d=[],h=t.length;if(!p)return d;n&&(t=l(t,s(n))),r?(f=a,g=!1):t.length>=c&&(f=u,g=!1,t=new o(t));e:for(;++A-1}var o=n(811);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(330),i=n(812),a=n(813);e.exports=r},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r0&&n(c)?t>1?r(c,t-1,n,a,l):o(l,c):a||(l[l.length]=c)}return l}var o=n(210),i=n(816);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(l&&e&&e[l])}var o=n(94),i=n(141),a=n(28),l=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=t.bind(e);n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var r=e.constructor.displayName,o=n.bind;return n.bind=function(i){var a=Array.prototype.slice.call(arguments,1);if(i!==e&&null!==i)console.warn("bind(): React component methods may only be bound to the component instance. See "+r);else if(!a.length)return console.warn("bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See "+r),n;var l=o.apply(n,arguments);return l.__reactBoundContext=e,l.__reactBoundMethod=t,l.__reactBoundArguments=a,l},n}function o(e){for(var t in e.__reactAutoBindMap){if(!e.__reactAutoBindMap.hasOwnProperty(t))return;if(!e.hasOwnProperty(t)||e[t].__reactBoundContext!==e){var n=e.__reactAutoBindMap[t];e[t]=r(e,n)}}}function i(e){e.__reactAutoBindPairs?a(e):e.__reactAutoBindMap&&o(e)}function a(e){var t=e.__reactAutoBindPairs;if(t)for(var n=0;n=0)&&null===e[t].__reactBoundArguments)}function o(e,t){var n=e.constructor.prototype,r=Object.getOwnPropertyDescriptor(n,t);return!(!r||!r.get)&&r.get().length===e[t].length}function i(e,t){if("function"==typeof Object.getOwnPropertyDescriptor(e,t).value)return e.__reactAutoBindMap||e.__reactAutoBindPairs?r(e,t):o(e,t)}function a(e){Object.getOwnPropertyNames(e).forEach(function(t){i(e,t)&&delete e[t]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a},function(e,t,n){"use strict";function r(e,t,n){if(t(e,n),e._renderedComponent)r(e._renderedComponent,t,n);else for(var o in e._renderedChildren)e._renderedChildren.hasOwnProperty(o)&&r(e._renderedChildren[o],t,n)}function o(e){!1===e._pendingForceUpdate&&(e._pendingForceUpdate=!0)}function i(e,t){if(!0===e._pendingForceUpdate){var n=e._instance;t.Component.prototype.forceUpdate.call(n)}}function a(e,t){var n=e._reactInternalInstance;r(n,o),r(n,i,t)}function l(e,t){var n=e._reactInternalFiber||e._reactInternalInstance;if("number"!=typeof n.tag)return a(e,t);for(var r=n;;){if(null!==r.stateNode&&"function"==typeof r.type){var o=r.stateNode,i=o.updater;"function"==typeof o.forceUpdate?o.forceUpdate():i&&"function"==typeof i.enqueueForceUpdate&&i.enqueueForceUpdate(o)}if(r.child)r.child.return=r,r=r.child;else{if(r===n)return;for(;!r.sibling;){if(!r.return||r.return===n)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function s(e){return function(t){l(t,e)}}t.__esModule=!0,t.default=s,e.exports=t.default},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(t,n(63))},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(4),l=r(a),s=n(0),u=r(s),c=n(5),A=r(c),f=Object.assign||function(e){for(var t=1;t=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(33);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(33);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(o)&&l.push("path="+o),r.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(346);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";function r(t){return l.seed(t),e.exports}function o(t){return c=t,e.exports}function i(e){return void 0!==e&&l.characters(e),l.shuffled()}function a(){return s(c)}var l=n(151),s=n(840),u=n(844),c=n(845)||0;e.exports=a,e.exports.generate=a,e.exports.seed=r,e.exports.worker=o,e.exports.characters=i,e.exports.isValid=u},function(e,t,n){"use strict";function r(){return(i=(9301*i+49297)%233280)/233280}function o(e){i=e}var i=1;e.exports={nextValue:r,seed:o}},function(e,t,n){"use strict";function r(e){var t="",n=Math.floor(.001*(Date.now()-l));return n===i?o++:(o=0,i=n),t+=a(s),t+=a(e),o>0&&(t+=a(o)),t+=a(n)}var o,i,a=n(841),l=(n(151),1567752802062),s=7;e.exports=r},function(e,t,n){"use strict";function r(e){for(var t,n=0,r="";!t;)r+=a(i,o.get(),1),t=e.179?n:t}};t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o={},i=function(){var e=this,t={start:{touch:"touchstart",default:"mousedown"},move:{touch:"touchmove",default:"mousemove"},end:{touch:"touchend",default:"mouseup"}},n=function(e,n){var i=r.DeviceUtility.isTouchDevice()?t[e].touch:t[e].default,a=o[n][i];a&&a.el.removeEventListener(i,a.callback,!1)},i=function(e,n,i,a,l){o[n]||(o[n]={});var s=r.DeviceUtility.isTouchDevice(),u=s?t[e].touch:t[e].default,c=s&&l?l.target:i;o[n][u]={el:c,callback:a},c.addEventListener(u,a,!1)},a=function(e){var t=e.pageX,n=e.pageY;return t||n||!e.touches||(t=e.touches[0].pageX,n=e.touches[0].pageY),{x:t,y:n}};this.addInputStartListener=i.bind(null,"start"),this.addInputMoveListener=i.bind(null,"move"),this.addInputEndListener=i.bind(null,"end"),this.removeInputStartListener=n.bind(null,"start"),this.removeInputMoveListener=n.bind(null,"move"),this.removeInputEndListener=n.bind(null,"end");var l={},s=function(e){if(!(l.touches&&l.touches.length>1)){var t=a(e),n={origin:l.origin,position:t,event:e};l.onPanning(n)}},u=function(t){l.onPanningEnd&&l.onPanningEnd(),e.removeInputEndListener(l.name),e.removeInputMoveListener(l.name)},c=function(t){if(l.touches=t.touches,l.origin=a(t),l.onPanningStart){var n={origin:l.origin,event:t};l.onPanningStart(n)}e.addInputMoveListener(l.name,document,s,t),e.addInputEndListener(l.name,document,u,t)};this.addPanningListener=function(t,n,r,o,i){l.name=t,l.element=n,l.onPanning=r,l.onPanningStart=o,l.onPanningEnd=i,e.addInputStartListener(t,n,c)},this.removePanningListener=function(t){e.removeInputStartListener(t),e.removeInputMoveListener(t),e.removeInputEndListener(t)}};t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){this.getFriendlyTimeDifference=function(e,t){var n=new Date(e).getTime()-new Date(t).getTime();return n<6e4?"A Few Seconds Ago":n<36e5?1===Math.round(n/6e4)?"1 Minute Ago":Math.round(n/6e4)+" Minutes Ago":n<864e5?1===Math.round(n/36e5)?"1 Hour Ago":Math.round(n/36e5)+" Hours Ago":n<6048e5?1===Math.round(n/864e5)?"1 Day Ago":Math.round(n/864e5)+" Days Ago":1===Math.round(n/6048e5)?" 1 Week Ago":Math.round(n/6048e5)+" Weeks Ago"},this.formatDate=function(e,t,n){function r(e,t){var n=e+"";for(t=t||2;n.length12?f-12:0==f?12:f;t=t.replace(/(^|[^\\])hh+/g,"$1"+r(g)),t=t.replace(/(^|[^\\])h/g,"$1"+g);var p=n?e.getUTCMinutes():e.getMinutes();t=t.replace(/(^|[^\\])mm+/g,"$1"+r(p)),t=t.replace(/(^|[^\\])m/g,"$1"+p);var d=n?e.getUTCSeconds():e.getSeconds();t=t.replace(/(^|[^\\])ss+/g,"$1"+r(d)),t=t.replace(/(^|[^\\])s/g,"$1"+d);var h=n?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+r(h,3)),h=Math.round(h/10),t=t.replace(/(^|[^\\])ff/g,"$1"+r(h)),h=Math.round(h/10),t=t.replace(/(^|[^\\])f/g,"$1"+h);var C=f<12?"AM":"PM";t=t.replace(/(^|[^\\])TT+/g,"$1"+C),t=t.replace(/(^|[^\\])T/g,"$1"+C.charAt(0));var I=C.toLowerCase();t=t.replace(/(^|[^\\])tt+/g,"$1"+I),t=t.replace(/(^|[^\\])t/g,"$1"+I.charAt(0));var v=-e.getTimezoneOffset(),m=n||!v?"Z":v>0?"+":"-";if(!n){v=Math.abs(v);var b=Math.floor(v/60),y=v%60;m+=r(b)+":"+r(y)}t=t.replace(/(^|[^\\])K/g,"$1"+m);var w=(n?e.getUTCDay():e.getDay())+1;return t=t.replace(new RegExp(a[0],"g"),a[w]),t=t.replace(new RegExp(l[0],"g"),l[w]),t=t.replace(new RegExp(s[0],"g"),function(e){return e>9&&(e%=10),e>3&&(e=4),s[e]}(A)),t=t.replace(new RegExp(o[0],"g"),o[c]),t=t.replace(new RegExp(i[0],"g"),i[c]),t=t.replace(/\\(.)/g,"$1")}};t.default=new r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=function(e,t){t&&(e={props:t});var n=e,o=new r.CategoryManager(n),i=function(){return n.props},a=function(){return n.props.vpt},l=function(e){return e?e+"crsl":0},s=function(e,t){e&&(i().createCategoryContent(e,"centerpiece",null,t),i().activateCategory(e))},u=function(e){var t=l(e),n=i().account.subdomain+"/vpt/";i().dismissDialog(),i().presentFilePicker({path:n,callback:function(n){var o=n.map(function(e){return{fileMapId:r.FileHelper.createFile(i(),e._finalPath),tmp:e._tmpPath,hotspots:{}}}).reverse();i().createCarousel(t,{frames:o}),s(e,t),i().saveVPT()}})},c=function(e){if(!a().carousels)return null;for(var t=e,n=!1,r=0;null!==t&&!n;){var i=o.getCategory(t);i&&i._content&&"centerpiece"===i._content.type?(n=!0,r=i._content.content):t=i?i.parentId:null}return r};this.goToParentCenterpiece=function(){var e=i().activeCenterpiece;if(0!==r){for(var t=o.getActiveCategory(),n=t.parentId,r=e,a=!1;!a&&null!==n;)r=c(n),(a=r!==e)||(t=o.getCategory(n),n=t?t.parentId:null);o.activateCategory(n)}},this.getActiveCenterpiece=function(){var e=i().activeCenterpiece,t=a().carousels[e];return t&&t.frames&&t.frames.length||(t=null),t},this.createCenterpiece=function(e){u.call(this,e)},this.copyCenterpiece=function(e,t,n){var o=t;if(!1===n){var u=JSON.parse(JSON.stringify(a().carousels[o]));o=l(e),u.id=o,u.hotspots={},u.copyOf=t;for(var c=0;c0&&void 0!==arguments[0])||arguments[0];t.forEach(function(t){e?t.resolve(!0):t.reject(!1)}),t=[],n=!1},this.isLocked=function(){return n}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=n(12),a=function(){var e=function(e,t){var n=e.props,r=!1;if(n.setAccount(t),!n.vpt.product.logo&&t.logo){n.appendToFileMap(t.logo);var o=new i.LanguageMapManager(e),a=i.LanguageMapManager.KeyGenerator.Logo();o.setLabel(a,{url:t.logo}),n.setLogo(a),r=!0}var l=!t.getSetting("doNotUseThemeColorInVPT"),s=n.vpt.product.themeColor,u=t.color;return l&&!s&&u&&n.setThemeColor(u),window.TrackJS&&(TrackJS.addMetadata("subdomain",t.subdomain),TrackJS.addMetadata("account_id",t.id)),r&&e.saveVPT(),t};this.load=function(t){return o.default.get("https://api3.appdataroom.com/accounts/me?platform=ios").then(function(n){var r={};return n.settings.forEach(function(e){r[e.key]=e.value}),n.settings=r,n.getSetting=function(e){var t=n.settings[e];return t=1==t||!(0==t||!t)&&t},e(t,n)})}};t.default=new a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=function(){this.renameFolder=function(e,t){var n="https://api3.appdataroom.com/folders/"+e,r={names:[{language_id:1,value:t}]};return o.default.put(n,r)},this.getFolderInfoAsync=function(e){var t="https://api3.appdataroom.com/folders/"+e;return o.default.get(t)}};t.default=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=function(){var e=function(e,t){return chmln.identify({uid:t.id,created:t.created,email:t.email}),window.TrackJS&&(TrackJS.addMetadata("user_email",t.email),TrackJS.addMetadata("user_id",t.id)),t};this.load=function(t){return o.default.get("https://api3.appdataroom.com/users/me").then(function(t){return e(0,t)})}};t.default=new i},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.saveThreadPool.createBlank();if(this.saveThreadPool.isLocked()&&!r)return console.log("save already in progress"),i;this.saveThreadPool.lock();var a=void 0,l=(new Date).getTime(),s=window.ACTION_LOG?[].concat(o(window.ACTION_LOG)):[];return this.props.clearActionLog(),this.props.vptHelper.getVPT().then(function(n){var r=t.applyActionLog(n,s);return a=r.author||{},a.modifiedDateTime=l,e&&(a.publishedDateTime=l),r.author=a,t.props.vptHelper.saveVPT(r)}).then(function(e){var r=e?"http://mxstudio.appdataroom.com/?f="+e.f:null;r&&r!=t.props.vpt.product.publicUrl&&(console.log("Set the public url",r),t.props.setPublicUrl(r)),t.props.setAuthor(a),console.log("saved"),t.saveThreadPool.release(),n&&window.ACTION_LOG.length>0&&(console.log("VPT was saved, changes happened while saving. Starting a resave"),t.saveVPT())}).catch(function(e){if(console.error("A "+(r?"resave":"save")+" failed",e),t.props.restoreActionLog(s),!r)return void t.tryBlockAndResave();t.saveThreadPool.release(!1)}),i},tryBlockAndResave:function(){var e=this;return this.setState({blocking:"Saving is taking longer than expected...",loading:!0}),B.default.tryAndRefreshTokens().then(function(){return console.log("token refreshed, try resave"),e.saveVPT(!1,!1,!0)}).then(function(t){if(!t)throw t;return e.setState({blocking:null,loading:!1}),t}).catch(function(){console.log("failed during resave :/");return e.setState({blocking:"An unexpected error occured and we were not able to save your changes. Please try refreshing the page OR re-opening this VPT from Media Manager.

If you continue to see this message please contact us at support@gomodus.com.",loading:!1}),!1})},publish:function(){var e=this;return this.saveVPT(!0).then(function(t){if(!t)throw"Publishing Failed";return e.props.vptHelper.publish()}).then(function(){return e.props.vpt.product.publicUrl}).catch(function(t){return e.props.showNotification(e.props.editorLabels.errors.shareLinkFail),Promise.reject(t)})},applyActionLog:function(e,t){if(0==t.length)return e;var n=g({},e),r=(0,x.createStore)(w.default,n);if(r.dispatch(k.setVPT(n)),t.length>0)for(;t.length;)try{var o=t.shift();r.dispatch(o)}catch(e){return void console.error(e)}var i=g({},r.getState());return this.props.vptHelper.mapVPTFromState(i)},setLanguageMap:function(e,t){this.props.setLanguageMap(e),t||this.saveVPT()},updateLanguageMap:function(e){this.setLanguageMap(e,!0)},removeUrlFromFileMap:function(e){var t=this;t.props.removeUrlFromFileMap(e),t.saveVPT()},createLabelId:function(e,t){var n=g({},this.props.vpt.languageMap);this.props.language&&"en"!==this.props.language?n[e][this.props.language]=t:n[e]={en:t},this.setLanguageMap(n)},getChildren:function(e){var t=[];return Object.keys(this.props.vpt.categories).map(function(n){this.props.vpt.categories[n].parentId==e&&t.push(n)},this),t.map(function(e){var n=this.getChildren(e);t=t.concat(n)},this),t},toggleLeftNav:function(e){var t=this;t.props.toggleLeftNav(e),t.saveVPT()},toggleMediaAsAppThumbnail:function(e){var t=this;t.props.toggleMediaAsAppThumbnail(e),t.saveVPT()},createCategory:function(e){var t=this,n=this.props.vpt.product.vptId,r=function(r){t.setState({loading:!0}),t.props.vptHelper.createCategory(n,r).then(function(n){var o=n.id,i=o,a=t.props.vpt.folderMap;a[i]=o,t.props.setFolderMap(a);var l=new D.LanguageMapManager(t),s=D.LanguageMapManager.KeyGenerator.Category(o);l.setLabel(s,r);var u={id:o,parentId:e,languageMapId:s};return t.props.createCategory(u),t.saveVPT()}).catch(function(e){O.notify.show("Unable to create category - "+e.message,"error",1e4)}).finally(function(){t.setState({loading:!1})})};(0,z.showModal)(c.default.createElement(z.TextInputModal,{onTextEntered:r}))},deleteCategory:function(e){var t=this,n=new D.CategoryManager(this),r=[],o=this.getChildren(e);o.push(e),o.forEach(function(e){r.push(t.props.vpt.folderMap[e]);var o=n.getCategory(e);t.deleteCategoryContent(e,!1),t.props.deleteCategory(o)}),this.saveVPT().then(function(e){e&&r.forEach(t.props.vptHelper.deleteCategory)})},moveCategoryUp:function(e){var t=this;t.props.moveCategoryUp(e),t.saveVPT()},moveCategoryDown:function(e){var t=this;t.props.moveCategoryDown(e),t.saveVPT()},moveFrameUp:function(e,t){this.props.moveFrameUp(e,t),this.saveVPT()},moveFrameDown:function(e,t){this.props.moveFrameDown(e,t),this.saveVPT()},moveFrameTop:function(e,t){this.props.moveFrameTop(e,t),this.saveVPT()},moveFrameBottom:function(e,t){this.props.moveFrameBottom(e,t),this.saveVPT()},deleteFrame:function(e,t){this.props.deleteFrame(e,t),this.saveVPT()},getCategoryContent:function(e){var t=this.props.vpt.categoriesContent[e];return(t&&"centerpiece"==t.type||!t.editorState)&&(t=null),t},createCategoryContent:function(e,t,n){switch(t){case"modal":case"flyout":var r=q.default.KeyMaker.GetCategoryContentKey(e),o=g({},this.props.vpt.languageMap);o[r]={},this.setLanguageMap(o,!0),this.props.createCategoryContent(e,t,r,n),this.saveVPT(),this.props.activateCategory(e);break;case"centerpiece":this.props.createCategoryContent.apply(null,arguments)}},deleteCategoryContent:function(e,t){var n=new D.CategoryManager(this),r=n.getCategoryContent(e);if(r){if(this.props.deleteCategoryContent(r),"centerpiece"===r.type){new D.CenterpieceManager(this).deleteCenterpiece(r.content,e)}!1!==t&&this.saveVPT()}},createFile_Obsolete:function(e,t,n){var r=this;r.props.createFile_Obsolete(e,t,n),r.saveVPT()},createHotspot:function(e,t,n,r){var o=this,i=this.props.vptHelper.getNextLanguageMapKey();g({},o.props.vpt.languageMap);o.props.createHotspot(e,t,n,i),o.createLabelId(i,"")},createInteractiveHotspot:function(e,t,n,r){var o=this,i=this.props.vptHelper.getNextLanguageMapKey();g({},o.props.vpt.languageMap);o.props.createInteractiveHotspot(e,t,n,r,i),o.createLabelId(i,"Untitled")},deleteHotspot:function(e,t){var n=this;n.props.deleteHotspot(e,t),n.saveVPT()},removeHotspotFromFrame:function(e,t,n){var r=this;r.props.removeHotspotFromFrame(e,t,n),r.saveVPT()},toggleHotspotLabelBox:function(e,t){var n=this;n.props.toggleHotspotLabelBox(e,t),n.saveVPT()},setHotspotBackgroundColor:function(e,t,n){var r=this;r.props.setHotspotBackgroundColor(e,t,n),r.saveVPT()},toggleHotspotBoxShadow:function(e,t){var n=this;n.props.toggleHotspotBoxShadow(e,t),n.saveVPT()},linkHotspotToCategory:function(e,t,n){var r=this;r.props.linkHotspotToCategory(e,t,n),r.saveVPT()},setHotspotLocation:function(e,t,n,r){var o=this;o.props.setHotspotLocation(e,t,n,r),o.saveVPT()},setHotspotTitle:function(e,t,n){var r=this.props.vpt.carousels[e].hotspots[t],o=g({},this.props.vpt.languageMap);o[r.languageMapId]||(o[r.languageMapId]={}),o[r.languageMapId][this.props.language]=n,this.setLanguageMap(o),this.saveVPT()},addHotspotToFrame:function(e,t,n,r){var o=this;o.props.addHotspotToFrame(e,t,n,r),o.saveVPT()},setLabelOffset:function(e,t,n,r){var o=this;o.props.setLabelOffset(e,t,n,r),o.saveVPT()},setVPTThumbnail:function(e,t){var n=this;this.props.vptHelper.setVPTThumbnail(e,t),n.props.setVPTThumbnail(e,t),n.saveVPT()},presentFilePicker:function(e){this.filestack.presentFilePicker(e.path,"files.appdataroom.com",e.callback,this.props.language,e.parent)},setLoading:function(e){this.setState(function(t){var n=g({},t);return n.loading=e,n})},presentSpotlight:function(e){this.setState(function(t){var n=g({},t);return n.spotlight=e,n})},dismissSpotlight:function(e){this.setState(function(e){var t=g({},e);return t.spotlight=!1,t})},setBounds:function(e){this.setState(function(t){var n=g({},t);return n.bounds=e,n})},presentMediaPicker:function(e){this.setState(function(t){var n=g({},t);return n.mediaPicker=e,n})},dismissMediaPicker:function(){this.setState(function(e){var t=g({},e);return t.mediaPicker=!1,t})},uploadMedia:function(e,t){this.props.vptHelper.uploadMedia(e,t)},updateMedia:function(e){this.props.vptHelper.updateMedia(e)},setPreviewer:function(e){this.setState(function(t){var n=g({},t);return n.previewer=e,n})},closePreviewer:function(){this.setPreviewer()},openPublishDialog:function(e){var t=this.props.editorLabels.vpt;this.props.presentDialog({title:t.shareDialogTitle,children:c.default.createElement(Q.default,{isPublishRequested:e,labels:t,vpt:this.props.vpt,dismiss:this.props.dismissDialog,publish:this.publish})})},rollBackSelector:function(){var e=this;e.props.presentDialog({title:e.props.editorLabels.vpt.unpublishTitle,children:c.default.createElement("div",{className:"dialog-options"},c.default.createElement(M.default,{title:e.props.editorLabels.vpt.rollBackYes,onClick:e.rollBack},e.props.editorLabels.vpt.rollBackYes),c.default.createElement(M.default,{title:e.props.editorLabels.vpt.rollbackNo,classes:"Dismiss",onClick:e.props.dismissDialog},e.props.editorLabels.vpt.rollbackNo))})},rollBack:function(){var e=this;e.props.dismissDialog(),e.props.vptHelper.rollBack()},selectVPTLanguages:function(){var e=this,t=function(t){e.props.presentDialog({title:e.props.editorLabels.languagesNav.chooseVPTLanguages,children:c.default.createElement("div",{className:"dialog-options",style:{padding:"0 5%",display:"flex",flexDirection:"column",justifyContent:"center",maxHeight:"500px"}},c.default.createElement("div",null,e.props.editorLabels.languagesNav.selectLangForVpt),c.default.createElement("div",{id:"selected-vpt-languages",style:{display:"flex",flexDirection:"column",overflowY:"scroll",padding:"2%"}},Object.keys(t).map(function(e){return c.default.createElement("div",{className:"language-selector",key:e,style:{display:"flex",flexDirection:"row",padding:"0 2%"},"data-code":e},c.default.createElement("input",{type:"checkbox","data-code":t[e].code,"data-name":t[e].name}),c.default.createElement("div",null,t[e].name))})),c.default.createElement("div",{style:{display:"flex",flexDirection:"row",padding:"0 2%",justifyContent:"center"}},c.default.createElement(M.default,{onClick:function(){return e.selectAllLanguages(!0)}},e.props.editorLabels.common.selectAll),c.default.createElement(M.default,{onClick:function(){return e.selectAllLanguages(!1)}},e.props.editorLabels.common.deselectAll),c.default.createElement(M.default,{onClick:e.props.dismissDialog},"Close Without Saving"),c.default.createElement(M.default,{onClick:e.finishVPTLanguageSelecton},"Save and Finish")))}),e.preSelectLanguages()};e.props.vptHelper.getLanguages(t)},selectAllLanguages:function(e){for(var t=document.getElementById("selected-vpt-languages"),n=t.childNodes,r=0;r"+u+""):A&&i.push(""+A+"")}var f={height:"400px",width:"90%",margin:"auto"},g={textAlign:"center",paddingBottom:"2%"},p={background:"#3598c0",border:"none",color:"white",padding:"1%",borderRadius:"5%"},d=function(){for(var e=0;e-1){t=!0;break}n=n.parentNode?n.parentNode:null}t||(document.removeEventListener("click",this._bodyClick),this.setState({isMenuOpen:!1}))}},{key:"onMenuItemClick",value:function(e,t){this.setState({isMenuOpen:!1}),e.props.onClick&&e.props.onClick()}},{key:"toggleMenu",value:function(){this.setState({isMenuOpen:!this.state.isMenuOpen}),document.addEventListener("click",this._bodyClick)}},{key:"renderIcon",value:function(){if(this.props.icon)return f.default.createElement("i",{className:this.props.icon})}},{key:"onMouseDown",value:function(){var e=this;this._timeout=setTimeout(function(){e.props.onLongPress&&e.props.onLongPress()},8e3)}},{key:"onMouseUp",value:function(){clearTimeout(this._timeout)}},{key:"render",value:function(){var e=this,t=A.Children.map(this.props.children,function(t){return(0,A.isValidElement)(t)?(0,A.cloneElement)(t,{onMenuItemClick:e.onMenuItemClick.bind(null,t)}):t});return f.default.createElement("div",{className:"dropdown "+this.props.className},f.default.createElement("button",{ref:"buttonRef",className:this.props.buttonClassName,onClick:this.toggleMenu},this.renderIcon()),f.default.createElement(v.default,{isOpen:this.state.isMenuOpen,target:this.refs.buttonRef},t))}}]),t}(f.default.Component));t.default=w}).call(t,n(2)(e))},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n.modal-base-content{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;min-width:320px;box-sizing:border-box;max-height:90%;overflow:auto}.modal-base>.modal-base-content button.btn-close{position:absolute;top:0;right:2px;padding:8px 10px;margin:0;background:none;outline:none;border:none;color:white;font-size:25px;cursor:pointer}.modal-base>.modal-base-content button.btn-close:hover{color:#ddd}.modal-base h2.modal-title{text-align:center;margin:0 12px 10px 12px;font-weight:normal;font-size:20px}.modal-base .theme-dark{border-radius:15px;padding:20px;background:rgba(0,0,0,0.8);border:1px solid #666}.modal-base .theme-default{border-radius:8px;padding:20px;background:#333844}.modal-base .theme-default button.btn-close{font-size:18px}.modal-base .theme-default button.btn-large-modal-option{background:#3d414d;color:white;border:none;border-radius:4px;padding:18px 0;cursor:pointer;width:210px;margin:0 10px;font-size:14px;height:auto}.modal-base .theme-default button.btn-large-modal-option:hover{background:#3598c0}.modal-base .theme-default button.btn-large-modal-option .btn-icon{font-size:30px;margin-bottom:15px}\n",""])},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;ndiv{flex-basis:33%;display:flex;flex-direction:row;align-items:center}.mobile-menu .center{justify-content:center}.mobile-menu .right{justify-content:flex-end}.mobile-menu .logo{max-height:35px;max-width:185px}.mobile-menu .btn{height:100%;width:35px;background:none;color:white;margin:0;padding:0;box-sizing:border-box;outline:none;border:none;cursor:pointer}.mobile-menu .btn:hover{color:#dddddd}.mobile-menu .btn.menu-toggle{width:40px;font-size:18px}.mobile-menu .btn.menu-toggle.animate{animation-name:menu-toggle-tada;animation-delay:500ms;animation-duration:7s;animation-iteration-count:infinite}.mobile-menu .btn.share{font-weight:bolder;font-size:18px}.mobile-menu .dropdown.user-settings{height:100%;width:40px;background:none}.mobile-menu .dropdown.user-settings .user-setting-btn{height:100%;width:100%;padding-top:1px;font-size:19px;background:none;border-radius:0}.mobile-menu .dropdown.user-settings .user-setting-btn:hover{background:none}@keyframes menu-toggle-tada{from{transform:scale3d(1, 1, 1)}1%,2%{transform:scale3d(.8, .8, .8) rotate3d(0, 0, 1, -6deg)}3%,5%,7%,9%{transform:scale3d(1.3, 1.3, 1.3) rotate3d(0, 0, 1, 6deg)}4%,6%,8%{transform:scale3d(1.3, 1.3, 1.3) rotate3d(0, 0, 1, -6deg)}10%{transform:scale3d(1, 1, 1)}}\n",""])},function(e,t,n){var r=n(894);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1),t.push([e.i,".renderer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background-size:cover;background-position:center center;background:white;display:flex;flex-direction:column}.renderer .content{position:relative;flex-grow:1;display:block;box-sizing:border-box}\n",""])},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=Object.assign||function(e){for(var t=1;t-1||i.indexOf("localhost")>-1)&&(o.push({title:"Version: "+j.GeneralUtilities.getAppVersion(),type:"note"}),o.push({type:"break"})),o.push({title:n.save,icon:"save",onClick:this.props.saveVPT}),this.props.vpt.product.publicUrl&&o.push({title:n.showPubLink,icon:"share-alt",onClick:function(){t.props.openPublishDialog(!1)}}),o.push({type:"break"}),o.push({title:n.publish,icon:"share",onClick:function(){t.props.openPublishDialog(!0)}}),o.push({title:n.unpublish,icon:"undo",onClick:function(){t.props.rollBackSelector(),t.props.saveVPT()}}),o.push({type:"break"}),o.push({title:n.quit,icon:"power-off",onClick:function(){window.history.back()}}),this.props.presentContextMenu({coords:r,options:o})}},{key:"presentPreviewContext",value:function(e){e.stopPropagation();var t={x:e.clientX,y:e.clientY},n=[{title:this.props.editorLabels.preview.macbook,icon:"laptop",onClick:this.props.setPreviewer.bind(null,"macbook")},{title:this.props.editorLabels.preview.ipad,icon:"tablet",onClick:this.props.setPreviewer.bind(null,"ipad")},{title:this.props.editorLabels.preview.iphone,icon:"mobile",onClick:this.props.setPreviewer.bind(null,"iphone")}],r={type:"option",coords:t,options:n};this.props.presentContextMenu(r)}},{key:"presentLanguagesContext",value:function(e){e.stopPropagation();var t={x:e.clientX,y:e.clientY},n=this.props.editorLabels.languagesNav,r=[{title:n.selectLangForVpt,icon:"globe",onClick:this.props.selectVPTLanguages},{title:n.setupSupport,icon:"rocket",onClick:this.openLanguageSupport},{type:"break"},{title:n.export,icon:"upload",onClick:this.export},{title:n.import,icon:"download",onClick:this.openFileDialog},{type:"break"}],o=this.props.editorLabels.languages;Object.keys(this.props.vpt.languages).map(function(e){var t=this.props.vpt.languages[e];r.push({title:o[e]||t.name,icon:t.code===this.props.language?"check":null,onClick:this.props.vptHelper.setLanguage.bind(null,t.code)})},this),this.props.presentContextMenu({coords:t,options:r})}},{key:"presentSettings",value:function(e){var t=this;e.stopPropagation();var n=this,r=this.props.account,o=r.getSetting("doNotShowFontPicker"),i=this.props.editorLabels.settings,a=[],l=new j.FileManager(this);a=a.concat(l.getBackgroundImageContextMenuOptions()),a.push({type:"break"}),a.push({title:i.themeFont,icon:"magic",onClick:function(){(0,T.showModal)(f.default.createElement(w.default,d({fontColor:t.props.vpt.product.fontColor},n.props)))}}),o||a.push({title:i.textCust,icon:"font",onClick:function(){(0,T.showModal)(f.default.createElement(E.default,n.props))}}),a.push({type:"break"}),a.push({title:i.moreSettings,icon:"cog",onClick:function(){return t.props.presentDialog({title:i.settingsContd,children:f.default.createElement(O.default,d({},n.props,{onSpinIndicatorChanged:n.onSpinIndicatorChanged}))})}});var s={x:e.clientX,y:e.clientY},u={type:"option",coords:s,options:a};this.props.presentContextMenu(u)}},{key:"onSpinIndicatorChanged",value:function(e){var t=e?1:null;this.props.setSpinIndicator(t),this.props.saveVPT()}},{key:"upload",value:function(e){var t=this;this.props.setLoading(!0);var n=e.target.files[0];new S.default(this.props).import(n).then(function(e){e&&((0,T.alert)(t.props.editorLabels.languagesNav.success),t.props.saveVPT())}).catch(function(e){console.error("import failed",e),e.user_message&&window.alert(e.user_message)}).finally(function(){t.props.setLoading(!1),t.props.dismissSpotlight(!1)})}},{key:"render",value:function(){var e=this.props.editorLabels;return f.default.createElement("div",{className:"editor-menu"},f.default.createElement("div",{className:"top-logo-button flex-text button",title:"vpt button",onClick:this.presentMenuContext},f.default.createElement("i",{className:"fa fa-bars"}),f.default.createElement("span",null,e.vpt.title)),f.default.createElement("div",{className:"top-preview-button flex-text button",title:"publish button",onClick:this.presentPreviewContext},f.default.createElement("i",{className:"fa fa-tablet"}),f.default.createElement("span",null,e.preview.title)),f.default.createElement("div",{className:"top-language-button flex-text button",title:"languages button",onClick:this.presentLanguagesContext},f.default.createElement("i",{className:"fa fa-globe"}),f.default.createElement("span",null,this.props.editorLabels.languagesNav.title),f.default.createElement("input",{type:"file",name:"File Upload",id:"txtFileUpload",accept:".csv, .txt, .zip"})),f.default.createElement("div",{className:"top-settings-button flex-text button",title:"settings button",onClick:this.presentSettings},f.default.createElement("i",{className:"fa fa-pencil"}),f.default.createElement("span",null,e.settings.title)),f.default.createElement(v.default,this.props),f.default.createElement(b.default,this.props))}}]),t}(f.default.Component));t.default=R}).call(t,n(2)(e))},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n0?r[0].value:e.names[0].value,i=this.getBaseCrumbLink()+e.id;return n.push({id:e.id,name:o,href:i}),n},getBreadcrumbs:function(){var e=[];if(this.state.folderInfo){var t=this.getBreadcrumbsFromFolderInfo(this.state.folderInfo.parent,1);e=e.concat(t)}var n=this._LanguageMapManager.getTitle();return e.push({name:n,id:null,href:"#",className:"disabled"}),e},onBreadcrumbClicked:function(e,t){if(console.log(e),null===e.id)return t.preventDefault(),t.stopPropagation(),!1;if(f.QueryParamsHelper.isInsideMediaManagerIframe()){t.preventDefault(),t.stopPropagation();var n={href:e.href};return console.log(n),parent.postMessage(JSON.stringify(n),"*"),!1}},render:function(){var e=this,t=!this.state.folderInfo&&!this.props.account.subdomain,n=this.getBreadcrumbs();return u.default.createElement("div",{className:"breadcrumbs"},u.default.createElement("ul",null,t&&u.default.createElement("li",{className:"loading-skeleton"}),n.map(function(t,n){return u.default.createElement("li",{key:t.id},u.default.createElement("a",{href:t.href,className:t.className,onClick:e.onBreadcrumbClicked.bind(null,t)},t.name))})))}}));t.default=C}).call(t,n(2)(e))},function(e,t,n){var r=n(904);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1),t.push([e.i,'.breadcrumbs{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex-grow:1}.breadcrumbs ul{list-style:none;display:flex;align-items:center;font-size:12px;padding:0 16px;margin:0}.breadcrumbs ul li{display:block}.breadcrumbs ul li+li:before{padding:8px;color:#090909;content:"/\\00a0"}.breadcrumbs ul a{color:#3598c0;text-decoration:none}.breadcrumbs ul a:hover{color:#3d414d}.breadcrumbs ul a.disabled{cursor:auto;color:#333844}.breadcrumbs li.loading-skeleton{height:14px;width:120px;background:linear-gradient(-45deg, #bbb, #ddd, #bbb);background-size:200% 200%;animation:Gradient 10s ease infinite;border-radius:5px}@keyframes Gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}\n',""])},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,A.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,u.default)(t)?(0,l.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=f},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==l}var o=n(84),i=n(28),a=n(55),l="[object String]";e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}e.exports=n},function(e,t,n){function r(e,t){var n=-1,r=i(e)?Array(e.length):[];return o(e,function(e,o,i){r[++n]=t(e,o,i)}),r}var o=n(224),i=n(67);e.exports=r},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,l.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=s({},n[t],r[t])}),t}),n};t.default=u},function(e,t,n){function r(e){return o(e,i|a)}var o=n(917),i=1,a=4;e.exports=r},function(e,t,n){function r(e,t,n,N,L,B){var R,q=t&k,D=t&O,F=t&_;if(n&&(R=L?n(e,N,L,B):n(e)),void 0!==R)return R;if(!y(e))return e;var Q=v(e);if(Q){if(R=h(e),!q)return c(e,R)}else{var z=d(e),U=z==P||z==S;if(m(e))return u(e,q);if(z==T||z==M||U&&!L){if(R=D||U?{}:I(e),!q)return D?f(e,s(R,e)):A(e,l(R,e))}else{if(!j[z])return L?e:{};R=C(e,z,q)}}B||(B=new o);var H=B.get(e);if(H)return H;B.set(e,R),w(e)?e.forEach(function(o){R.add(r(o,t,n,o,e,B))}):b(e)&&e.forEach(function(o,i){R.set(i,r(o,t,n,i,e,B))});var V=F?D?p:g:D?E:x,W=Q?void 0:V(e);return i(W||e,function(o,i){W&&(i=o,o=e[i]),a(R,i,r(o,t,n,i,e,B))}),R}var o=n(136),i=n(358),a=n(218),l=n(918),s=n(919),u=n(359),c=n(360),A=n(922),f=n(923),g=n(322),p=n(924),d=n(145),h=n(925),C=n(926),I=n(363),v=n(28),m=n(142),b=n(931),y=n(41),w=n(933),x=n(86),E=n(112),k=1,O=2,_=4,M="[object Arguments]",P="[object Function]",S="[object GeneratorFunction]",T="[object Object]",j={};j[M]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[T]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[P]=j["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(95),i=n(86);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(95),i=n(112);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&s.call(e,r))&&n.push(r);return n}var o=n(41),i=n(144),a=n(921),l=Object.prototype,s=l.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(95),i=n(211);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(95),i=n(361);e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(323),i=n(361),a=n(112);e.exports=r},function(e,t){function n(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n){var r=e.constructor;switch(t){case C:return o(e);case u:case c:return new r(+e);case I:return i(e,n);case v:case m:case b:case y:case w:case x:case E:case k:case O:return s(e,n);case A:return new r;case f:case d:return new r(e);case g:return a(e);case p:return new r;case h:return l(e)}}var o=n(225),i=n(927),a=n(928),l=n(929),s=n(362),u="[object Boolean]",c="[object Date]",A="[object Map]",f="[object Number]",g="[object RegExp]",p="[object Set]",d="[object String]",h="[object Symbol]",C="[object ArrayBuffer]",I="[object DataView]",v="[object Float32Array]",m="[object Float64Array]",b="[object Int8Array]",y="[object Int16Array]",w="[object Int32Array]",x="[object Uint8Array]",E="[object Uint8ClampedArray]",k="[object Uint16Array]",O="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(225);e.exports=r},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(94),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},function(e,t,n){var r=n(41),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(932),o=n(143),i=n(215),a=i&&i.isMap,l=a?o(a):r;e.exports=l},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(145),i=n(55),a="[object Map]";e.exports=r},function(e,t,n){var r=n(934),o=n(143),i=n(215),a=i&&i.isSet,l=a?o(a):r;e.exports=l},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(145),i=n(55),a="[object Set]";e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(223),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function l(){var n,i,u,c;r(this,l);for(var A=arguments.length,f=Array(A),g=0;g1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function l(){var n,i,u,c;r(this,l);for(var A=arguments.length,f=Array(A),g=0;g1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var l=Object.assign||function(e){for(var t=1;ta?1:Math.round(100*c/a)/100,t.a!==A)return{h:t.h,s:t.s,l:t.l,a:A,source:"rgb"}}else{var f=void 0;if(f=u<0?0:u>i?1:Math.round(100*u/i)/100,r!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={},o=t.render=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null};t.get=function(e,t,n,i){var a=e+"-"+t+"-"+n+(i?"-server":"");if(r[a])return r[a];var l=o(e,t,n,i);return r[a]=l,l}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var s=function(){function e(e,t){for(var n=0;n-1},h=function(e){return e+"%"},C=function(e){return Number(String(e).replace(/%/g,""))},I=function(e){return String(e).indexOf("%")>-1},v=t.EditableInput=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t=C(e.target.value);if(!isNaN(t)&&d(e.keyCode)){var r=n.getArrowOffset(),o=e.keyCode===g?t+r:t-r;n.setUpdatedValue(o,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return l(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase(),blurValue:!this.state.blurValue&&String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return o({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=null!==this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t);var r=I(t.target.value);this.setState({value:r?h(e):e})}},{key:"render",value:function(){var e=this,t=(0,f.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return c.default.createElement("div",{style:t.wrap},c.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?c.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var l=function(){function e(e,t){for(var n=0;ni)c=0;else{var A=-100*u/i+100;c=360*A/100}if(n.h!==c)return{h:c,s:n.s,l:n.l,a:n.a,source:"rgb"}}else{var f=void 0;if(s<0)f=0;else if(s>o)f=359;else{var g=100*s/o;f=360*g/100}if(n.h!==f)return{h:f,s:n.s,l:n.l,a:n.a,source:"rgb"}}return null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var o=n(0),i=r(o),a=n(21),l=r(a),s=n(8),u=r(s),c=n(34),A=r(c),f=t.Raised=function(e){var t=e.zDepth,n=e.radius,r=e.background,o=e.children,a=e.styles,l=void 0===a?{}:a,s=(0,u.default)((0,A.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},l),{"zDepth-1":1===t});return i.default.createElement("div",{style:s.wrap},i.default.createElement("div",{style:s.bg}),i.default.createElement("div",{style:s.content},o))};f.propTypes={background:l.default.string,zDepth:l.default.oneOf([0,1,2,3,4,5]),radius:l.default.number,styles:l.default.object},f.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=f},function(e,t,n){function r(e,t,n,A,f){e!==t&&a(t,function(a,u){if(f||(f=new o),s(a))l(e,t,u,n,r,A,f);else{var g=A?A(c(e,u),a,u+"",e,t,f):void 0;void 0===g&&(g=a),i(e,u,g)}},u)}var o=n(136),i=n(364),a=n(356),l=n(947),s=n(41),u=n(112),c=n(365);e.exports=r},function(e,t,n){function r(e,t,n,r,v,m,b){var y=C(e,n),w=C(t,n),x=b.get(w);if(x)return void o(e,n,x);var E=m?m(y,w,n+"",e,t,b):void 0,k=void 0===E;if(k){var O=c(w),_=!O&&f(w),M=!O&&!_&&h(w);E=w,O||_||M?c(y)?E=y:A(y)?E=l(y):_?(k=!1,E=i(w,!0)):M?(k=!1,E=a(w,!0)):E=[]:d(w)||u(w)?(E=y,u(y)?E=I(y):p(y)&&!g(y)||(E=s(w))):k=!1}k&&(b.set(w,E),v(E,w,r,m,b),b.delete(w)),o(e,n,E)}var o=n(364),i=n(359),a=n(362),l=n(360),s=n(363),u=n(141),c=n(28),A=n(336),f=n(142),g=n(207),p=n(41),d=n(203),h=n(213),C=n(365),I=n(948);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(95),i=n(112);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var l=function(){function e(e,t){for(var n=0;no?s=o:u<0?u=0:u>i&&(u=i);var c=100*s/o,A=-100*u/i+100;return{h:t.h,s:c,v:A,a:t.a,source:"rgb"}}},function(e,t,n){e.exports=n(954)},function(e,t,n){function r(e,t){return(l(e)?o:i)(e,a(t))}var o=n(358),i=n(224),a=n(357),l=n(28);e.exports=r},function(e,t,n){var r;!function(o){function i(e,t){if(e=e||"",t=t||{},e instanceof i)return e;if(!(this instanceof i))return new i(e,t);var n=a(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=H(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=H(this._r)),this._g<1&&(this._g=H(this._g)),this._b<1&&(this._b=H(this._b)),this._ok=n.ok,this._tc_id=U++}function a(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return"string"==typeof e&&(e=D(e)),"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(t=l(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(r=L(e.s),o=L(e.v),t=A(e.h,r,o),a=!0,s="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(r=L(e.s),i=L(e.l),t=u(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=_(n),{ok:a,format:e.format||s,r:V(255,W(t.r,0)),g:V(255,W(t.g,0)),b:V(255,W(t.b,0)),a:n}}function l(e,t,n){return{r:255*M(e,255),g:255*M(t,255),b:255*M(n,255)}}function s(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),l=(i+a)/2;if(i==a)r=o=0;else{var s=i-a;switch(o=l>.5?s/(2-i-a):s/(i+a),i){case e:r=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=M(e,360),t=M(t,100),n=M(n,100),0===t)o=i=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=r(s,l,e+1/3),i=r(s,l,e),a=r(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function c(e,t,n){e=M(e,255),t=M(t,255),n=M(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),l=i,s=i-a;if(o=0===i?0:s/i,i==a)r=0;else{switch(i){case e:r=(t-n)/s+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(i(r));return a}function O(e,t){t=t||6;for(var n=i(e).toHsv(),r=n.h,o=n.s,a=n.v,l=[],s=1/t;t--;)l.push(i({h:r,s:o,v:a})),a=(a+s)%1;return l}function _(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function M(e,t){T(e)&&(e="100%");var n=j(e);return e=V(t,W(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function P(e){return V(1,W(0,e))}function S(e){return parseInt(e,16)}function T(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function j(e){return"string"==typeof e&&-1!=e.indexOf("%")}function N(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function B(e){return o.round(255*parseFloat(e)).toString(16)}function R(e){return S(e)/255}function q(e){return!!Z.CSS_UNIT.exec(e)}function D(e){e=e.replace(Q,"").replace(z,"").toLowerCase();var t=!1;if(G[e])e=G[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Z.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Z.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Z.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Z.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Z.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Z.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Z.hex8.exec(e))?{r:S(n[1]),g:S(n[2]),b:S(n[3]),a:R(n[4]),format:t?"name":"hex8"}:(n=Z.hex6.exec(e))?{r:S(n[1]),g:S(n[2]),b:S(n[3]),format:t?"name":"hex"}:(n=Z.hex4.exec(e))?{r:S(n[1]+""+n[1]),g:S(n[2]+""+n[2]),b:S(n[3]+""+n[3]),a:R(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=Z.hex3.exec(e))&&{r:S(n[1]+""+n[1]),g:S(n[2]+""+n[2]),b:S(n[3]+""+n[3]),format:t?"name":"hex"}}function F(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var Q=/^\s+/,z=/\s+$/,U=0,H=o.round,V=o.min,W=o.max,Y=o.random;i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,i,a,l=this.toRgb();return e=l.r/255,t=l.g/255,n=l.b/255,r=e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4),i=t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4),.2126*r+.7152*i+.0722*a},setAlpha:function(e){return this._a=_(e),this._roundA=H(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=H(360*e.h),n=H(100*e.s),r=H(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=H(360*e.h),n=H(100*e.s),r=H(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return g(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:H(this._r),g:H(this._g),b:H(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+H(this._r)+", "+H(this._g)+", "+H(this._b)+")":"rgba("+H(this._r)+", "+H(this._g)+", "+H(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:H(100*M(this._r,255))+"%",g:H(100*M(this._g,255))+"%",b:H(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+H(100*M(this._r,255))+"%, "+H(100*M(this._g,255))+"%, "+H(100*M(this._b,255))+"%)":"rgba("+H(100*M(this._r,255))+"%, "+H(100*M(this._g,255))+"%, "+H(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(X[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=i(e);n="#"+p(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(I,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(y,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},i.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return i(e,t)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:Y(),g:Y(),b:Y()})},i.mix=function(e,t,n){n=0===n?0:n||50;var r=i(e).toRgb(),o=i(t).toRgb(),a=n/100;return i({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},i.readability=function(e,t){var n=i(e),r=i(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},i.isReadable=function(e,t,n){var r,o,a=i.readability(e,t);switch(o=!1,r=F(n),r.level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},i.mostReadable=function(e,t,n){var r,o,a,l,s=null,u=0;n=n||{},o=n.includeFallbackColors,a=n.level,l=n.size;for(var c=0;cu&&(u=r,s=i(t[c]));return i.isReadable(e,s,{level:a,size:l})||!o?s:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var G=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},X=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(G),Z=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=i:void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var e,t,n,i;r(this,s);for(var a=arguments.length,l=Array(a),u=0;u1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,A.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(p.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,u.default.createElement("div",{style:t.toggle},u.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},u.default.createElement(h.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}]),t}(u.default.Component);t.default=C},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t.5});return i.default.createElement("div",{style:n.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(0),i=r(o),a=n(8),l=r(a),s=t.PhotoshopPointerCircle=function(){var e=(0,l.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.default.createElement("div",{style:e.pointer},i.default.createElement("div",{style:e.left},i.default.createElement("div",{style:e.leftInside})),i.default.createElement("div",{style:e.right},i.default.createElement("div",{style:e.rightInside})))};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopButton=void 0;var o=n(0),i=r(o),a=n(8),l=r(a),s=t.PhotoshopButton=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,a=(0,l.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.default.createElement("div",{style:a.button,onClick:t},n||r)};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n(0),i=r(o),a=n(8),l=r(a),s=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,l.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.default.createElement("div",null,i.default.createElement("div",{style:r.label},"new"),i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.new}),i.default.createElement("div",{style:r.current})),i.default.createElement("div",{style:r.label},"current"))};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=Object.assign||function(e){for(var t=1;t100&&(e.a=100),e.a/=100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.default.createElement("div",{style:s.fields,className:"flexbox-fix"},i.default.createElement("div",{style:s.double},i.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"hex",value:o.replace("#",""),onChange:A})),i.default.createElement("div",{style:s.single},i.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:A,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:s.single},i.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:A,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:s.single},i.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:A,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:s.alpha},i.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:A,dragLabel:"true",dragMax:"100"})))};t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t20?i.substr(0,17)+"...":i),l={key:t,type:a};return r.forEach(function(e){var n=o(t,e,!1);l[e]=n}),l}},{key:"getExportableLanguageMap",value:function(e,t){var n=this,r=this.languages,o=[],i=["key","type"];r.forEach(function(e){return i.push(e)});var a="timestamp:"+t.toString(),l={key:"vptInfo",type:"vptId:"+e+" version:0 "+a};r.forEach(function(e){return l[e]=""}),o.push(l);var s=this.props.vpt.product.languageMapId;return s&&o.push(this.getExportableLanguageMapLine("Title",s)),this.props.vpt.categories&&Object.values(this.props.vpt.categories).forEach(function(e){o.push(n.getExportableLanguageMapLine("Category",e.languageMapId))}),this.props.vpt.carousels&&Object.values(this.props.vpt.carousels).forEach(function(e){Object.values(e.hotspots).forEach(function(e){o.push(n.getExportableLanguageMapLine("Hotspot",e.languageMapId))})}),this.props.vpt.categoriesContent&&Object.values(this.props.vpt.categoriesContent).forEach(function(e){if("centerpiece"!==e.type&&e.languageMapId){var t=function(t,r){var o=n.languageMapManager.getLabel(t,r,!1);if(!o&&e.editorState){var i=e.editorState[r];i&&(o=i)}if(o){new RegExp("^(

)?"+r+"/[0-9]{1,6}c.html(

)?$").test(o)&&(o=null)}return o};o.push(n.getExportableLanguageMapLine("Content",e.languageMapId,t))}}),{headers:i,contents:o}}},{key:"exportObjectToFile",value:function(e,t){var n="https://api3.appdataroom.com/files/"+t,r={order:e.headers,contents:e.contents};return m.default.post(n,r).then(function(e){var t=document.createElement("a");t.href=e.url,t.download="languages",t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)})}},{key:"onExportFormatSelected",value:function(e){var t=this;this.props.close(),this.props.setLoading(!0);var n=this.props.vpt.product.vptId.toString(),r=Date.now(),o="vpt"+n.toString()+"t"+r.toString()+e,i=this.getExportableLanguageMap(n,r);this.exportObjectToFile(i,o).finally(function(){t.props.setLoading(!1)})}},{key:"render",value:function(){var e=this,t=this.props.editorLabels;return f.default.createElement(C.default,{title:t.languagesNav.exportFormat,className:"export-modal"},f.default.createElement("div",{className:"export-modal-content"},this.exportTypes.map(function(t,n){return f.default.createElement("button",{key:n,className:"btn-modal-default",onClick:e.onExportFormatSelected.bind(null,t)},t.toUpperCase())})))}}]),t}(f.default.Component));t.default=x}).call(t,n(2)(e))},function(e,t,n){var r=n(1006);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1),t.push([e.i,".export-modal h2.modal-title{margin-top:10px}.export-modal .export-modal-content{text-align:center;margin-top:10px}.export-modal button.btn-modal-default{color:#f8f8f9;background:#3598c0;font-size:12px;margin:0 8px;height:35px;cursor:pointer;border:none;outline:none;border-radius:4px;padding:12px 20px}.export-modal button.btn-modal-default:hover{background:#4ba9ce}\n",""])},function(e,t,n){var r=n(1008);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={};o.insert="head",o.singleton=!1;n(7)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1),t.push([e.i,".editor-menu{height:48px;background:#e6e6e7;user-select:none;-webkit-user-select:none;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%}.editor-menu input{width:1px;opacity:0;pointer-events:none}.editor-menu .logo{float:left;line-height:48px;padding:0 32px 0 16px;color:#333844;font-weight:700;font-size:18px;border-right:1px solid rgba(0,0,0,0.1)}.editor-menu .button{display:inline-block;margin:0;padding:0 16px;height:48px;line-height:48px;text-align:center;border-radius:0;background:#e6e6e7;color:#333844;cursor:pointer;font-size:12px;font-weight:400;transition:transform 0.2s;border-left:1px solid rgba(255,255,255,0.3);border-right:1px solid rgba(0,0,0,0.1);-webkit-user-select:none}.editor-menu .button:hover{color:#3598c0;background:#f8f8f9}.editor-menu .button span{padding:0 4px}.editor-menu .flex-text{display:flex;flex-direction:row;align-items:center;justify-content:center}\n",""])},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),s=r(l),u=n(4),c=r(u),A=n(0),f=r(A),g=n(5),p=r(g),d=function(){function e(e,t){for(var n=0;n=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function d(e){return+e!=e&&(e=0),i.alloc(+e)}function h(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function C(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return _(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return S(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function I(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,o);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,n/=2}var u;if(o){var c=-1;for(u=n;ul&&(n=l-s),u=n;u>=0;u--){for(var A=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(o+l<=n){var s,u,c,A;switch(l){case 1:i<128&&(a=i);break;case 2:s=e[o+1],128==(192&s)&&(A=(31&i)<<6|63&s)>127&&(a=A);break;case 3:s=e[o+1],u=e[o+2],128==(192&s)&&128==(192&u)&&(A=(15&i)<<12|(63&s)<<6|63&u)>2047&&(A<55296||A>57343)&&(a=A);break;case 4:s=e[o+1],u=e[o+2],c=e[o+3],128==(192&s)&&128==(192&u)&&128==(192&c)&&(A=(15&i)<<18|(63&s)<<12|(63&u)<<6|63&c)>65535&&A<1114112&&(a=A)}}null===a?(a=65533,l=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=l}return M(r)}function M(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function B(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function q(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,o){return o||q(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return o||q(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(e,t,n,r,52,8),n+8}function Q(e){if(e=z(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function z(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){for(var t=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function Y(e){return Z.toByteArray(Q(e))}function G(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function X(e){return e!==e}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var Z=n(1019),K=n(1020),J=n(1021);t.Buffer=i,t.SlowBuffer=d,t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return s(null,e,t,n)},i.allocUnsafe=function(e){return u(null,e)},i.allocUnsafeSlow=function(e){return u(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,l=n-t,s=Math.min(a,l),u=this.slice(r,o),c=e.slice(t,n),A=0;Ao)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],o=1,i=0;++i=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),K.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),K.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),K.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),K.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);L(this,e,t,n,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);L(this,e,t,n,o-1,-o)}var i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function o(e){var t=r(e),n=t[0],o=t[1];return 3*(n+o)/4-o}function i(e,t,n){return 3*(t+n)/4-n}function a(e){var t,n,o=r(e),a=o[0],l=o[1],s=new f(i(e,a,l)),u=0,c=l>0?a-4:a;for(n=0;n>16&255,s[u++]=t>>8&255,s[u++]=255&t;return 2===l&&(t=A[e.charCodeAt(n)]<<2|A[e.charCodeAt(n+1)]>>4,s[u++]=255&t),1===l&&(t=A[e.charCodeAt(n)]<<10|A[e.charCodeAt(n+1)]<<4|A[e.charCodeAt(n+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t),s}function l(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function s(e,t,n){for(var r,o=[],i=t;ia?a:i+16383));return 1===r?(t=e[n-1],o.push(c[t>>2]+c[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(c[t>>10]+c[t>>4&63]+c[t<<2&63]+"=")),o.join("")}t.byteLength=o,t.toByteArray=a,t.fromByteArray=u;for(var c=[],A=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=g.length;p>1,c=-7,A=n?o-1:0,f=n?-1:1,g=e[t+A];for(A+=f,i=g&(1<<-c)-1,g>>=-c,c+=l;c>0;i=256*i+e[t+A],A+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+A],A+=f,c-=8);if(0===i)i=1-u;else{if(i===s)return a?NaN:1/0*(g?-1:1);a+=Math.pow(2,r),i-=u}return(g?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,l,s,u=8*i-o-1,c=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:i-1,p=r?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),t+=a+A>=1?f/s:f*Math.pow(2,1-A),t*s>=2&&(a++,s/=2),a+A>=c?(l=0,a=c):a+A>=1?(l=(t*s-1)*Math.pow(2,o),a+=A):(l=t*Math.pow(2,A-1)*Math.pow(2,o),a=0));o>=8;e[n+g]=255&l,g+=p,l/=256,o-=8);for(a=a<0;e[n+g]=255&a,g+=p,a/=256,u-=8);e[n+g-p]|=128*d}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=n(0),o=n(62),i=n(373),a=n(374),l=(n(205),n(1023)),s=n(375),u=n(21),c=n(376),A=i({displayName:"Quill",mixins:[a],propTypes:{id:u.string,className:u.string,theme:u.string,style:u.object,readOnly:u.bool,value:u.oneOfType([u.string,u.shape({ops:u.array})]),defaultValue:u.oneOfType([u.string,u.shape({ops:u.array})]),placeholder:u.string,tabIndex:u.number,bounds:u.oneOfType([u.string,u.element]),onChange:u.func,onChangeSelection:u.func,onFocus:u.func,onBlur:u.func,onKeyPress:u.func,onKeyDown:u.func,onKeyUp:u.func,preserveWhitespace:u.bool,modules:function(e){var t=u.object.apply(this,arguments);return t||(e.modules&&e.modules.toolbar&&e.modules.toolbar[0]&&e.modules.toolbar[0].type?new Error("Since v1.0.0, React Quill will not create a custom toolbar for you anymore. Create a toolbar explictly, or let Quill create one. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100"):void 0)},toolbar:function(e){if("toolbar"in e)return new Error("The `toolbar` prop has been deprecated. Use `modules.toolbar` instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100")},formats:function(e){if(u.arrayOf(u.string).apply(this,arguments))return new Error("You cannot specify custom `formats` anymore. Use Parchment instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},styles:function(e){if("styles"in e)return new Error("The `styles` prop has been deprecated. Use custom stylesheets instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},pollInterval:function(e){if("pollInterval"in e)return new Error("The `pollInterval` property does not have any effect anymore. You can safely remove it from your props.See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},children:function(e){if(u.element.apply(this,arguments))return new Error("The Quill editing area can only be composed of a single React element.");if(r.Children.count(e.children)){if("textarea"===r.Children.only(e.children).type)return new Error("Quill does not support editing on a