diff --git a/README.md b/README.md
index e2248dc..b3bb86b 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@
- Rotate Left / Rotate Right
- Flip Horizontal / Flip Vertical
- Crop Image
-- Paint
+- Photo Editor (Adjust, Draw, Watermark, Filters, Finetune, Resize, Export As PNG, JPEG, JPG, WEBP)
- Download Image
- Upload Image to imgBB
- Color picker
@@ -59,13 +59,19 @@
- Change background color (Dark / Light / Blurred)
- Print Image
- Extract Text from Image
-- Edit in Photopea (Thanks to @bbbenji)
-- Reverse Image Search (using TinEye)
+- Edit in Photopea
+- Reverse Image Search
- QR Code Scanner
- Settings to customize Toolbar
# Changelog
+## [1.0.4] - 2022-04-19
+- Add New Photo Editor [Filerobot Image Editor](https://scaleflex.github.io/filerobot-image-editor/) (Adjust, Draw, Watermark, Filters, Finetune, Resize, Export As PNG, JPEG, JPG, WEBP)
+- Fix a bug where Chrome/Edge adds a duplicate image (Thanks to @patrykdziurkowski)
+- Remove Photo Editor [Painterro](https://github.com/devforth/painterro)
+
+
## [1.0.3] - 2022-02-10
- Fix major bugs (Croppig issues, Going back issues, etc...)
- Add [Firefox](https://addons.mozilla.org/en-US/firefox/addon/betterviewer) Compatibilty
@@ -104,7 +110,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
diff --git a/css/filerobot.custom.css b/css/filerobot.custom.css
new file mode 100644
index 0000000..362ca6d
--- /dev/null
+++ b/css/filerobot.custom.css
@@ -0,0 +1,61 @@
+.SfxModal-Wrapper {
+ z-index: 99999 !important;
+}
+
+#SfxPopper {
+ z-index: 999999 !important;
+}
+.FIE_topbar-close-button {
+ visibility: hidden;
+}
+
+.SfxSelect-root:hover,
+.SfxInput-root:hover {
+ color: #000000 !important;
+}
+
+.SfxColorPicker-action .SfxSelect-Label,
+.SfxColorPicker-action .SfxInput-Base {
+ color: #000000 !important;
+}
+
+.FIE_carousel-prev-button,
+.FIE_carousel-next-button {
+ background: #0f1419 !important;
+}
+
+.SfxModalTitle-LabelPrimary,
+.FIE_save-file-name-input,
+.FIE_save-extension-selector.SfxInput-root.SfxSelect-root,
+.FIE_resize-width-option.SfxInput-root > input,
+.FIE_resize-height-option.SfxInput-root > input {
+ color: #000000 !important;
+}
+
+.eEDOa-d.FIE_resize-width-option.SfxInput-root ,
+.eEDOa-d.FIE_resize-height-option.SfxInput-root
+{
+ background-color: #ffffff !important;
+}
+/*
+
+.FIE_canvas-container, .FIE_tab {
+ background: transparent !important;
+}
+
+
+[aria-selected="false"] .FIE_tab-label {
+ color: #fff !important;
+}
+
+[aria-selected="false"]:hover svg {
+ color: rgb(19, 19, 19) !important;
+}
+
+:not(button) > svg:not([color]) {
+ color: #ffffff !important
+}
+
+.FIE_tab [aria-selected="true"] svg{
+ color: red !important
+} */
diff --git a/css/painterro.darktheme.css b/css/painterro.darktheme.css
deleted file mode 100644
index e09dfb7..0000000
--- a/css/painterro.darktheme.css
+++ /dev/null
@@ -1,93 +0,0 @@
-select.ptro-input[data-id=fontName] {
- width: 150px !important;
-}
-
-.ptro-tool-ctl-name {
- display: none !important;
-}
-
-.ptro-named-btn {
- width: 75px !important;
-}
-
-.ptro-substrate{
- display: none !important;
-}
-
-.ptro-resize-widget :not(#paint-wrapper-wrapper > div.ptro-color-widget-wrapper.ptro-common-widget-wrapper.ptro-v-middle > div){
- width: 400px !important;
-}
-
-.ptro-resize-widget {
- width: 400px !important;
-}
-
-
-.tool-controls {
- padding: 10px !important;
-}
-
-
-.ptro-wrapper .ptro-settings-widget {
- width: 400px !important;
-}
-
-
-td.ptro-label.ptro-resize-table-left {
- padding-right: 20px !important;
-}
-
-.ptro-input {
- border : 1px solid #202020 !important;
- background-color: #1a1a1a !important;
- color : #f5f5f5 !important;
-}
-
-.ptro-scroller::-webkit-scrollbar-track {
- border : 1px solid black;
- background-color: #333333;
-}
-
-.ptro-scroller::-webkit-scrollbar {
- width : 10px;
- height : 10px;
- background-color: #333333;
-}
-
-.ptro-scroller::-webkit-scrollbar-thumb {
- background-color: #000000;
-}
-
-.ptro-color-control,
-.ptro-info,
-.ptro-label {
- color: #ffffff !important;
-}
-
-.ptro-color-main {
- background-color: #242424 !important;
-}
-
-.ptro-wrapper {
- background-color: #363636 !important;
-}
-
-.ptro-color-control {
- background-color: #131313 !important;
-}
-
-.ptro-pallet .ptro-color-main .ptro-v-middle-in {
- width: 200px !important;
-}
-
-.ptro-icon-btn {
- border-radius: 50% !important;
-}
-
-.ptro-icon {
- font-size: 16px !important;
-}
-
-.ptro-color-active-control{
- background-color: #3b3b3b !important;
-}
\ No newline at end of file
diff --git a/dist/all.css b/dist/all.css
index 0d5954b..c6e82bb 100644
--- a/dist/all.css
+++ b/dist/all.css
@@ -1,96 +1,65 @@
-select.ptro-input[data-id=fontName] {
- width: 150px !important;
-}
-
-.ptro-tool-ctl-name {
- display: none !important;
-}
-
-.ptro-named-btn {
- width: 75px !important;
-}
-
-.ptro-substrate{
- display: none !important;
-}
-
-.ptro-resize-widget :not(#paint-wrapper-wrapper > div.ptro-color-widget-wrapper.ptro-common-widget-wrapper.ptro-v-middle > div){
- width: 400px !important;
-}
-
-.ptro-resize-widget {
- width: 400px !important;
-}
-
-
-.tool-controls {
- padding: 10px !important;
+.SfxModal-Wrapper {
+ z-index: 99999 !important;
}
-
-.ptro-wrapper .ptro-settings-widget {
- width: 400px !important;
+#SfxPopper {
+ z-index: 999999 !important;
}
-
-
-td.ptro-label.ptro-resize-table-left {
- padding-right: 20px !important;
+.FIE_topbar-close-button {
+ visibility: hidden;
}
-.ptro-input {
- border : 1px solid #202020 !important;
- background-color: #1a1a1a !important;
- color : #f5f5f5 !important;
+.SfxSelect-root:hover,
+.SfxInput-root:hover {
+ color: #000000 !important;
}
-.ptro-scroller::-webkit-scrollbar-track {
- border : 1px solid black;
- background-color: #333333;
+.SfxColorPicker-action .SfxSelect-Label,
+.SfxColorPicker-action .SfxInput-Base {
+ color: #000000 !important;
}
-.ptro-scroller::-webkit-scrollbar {
- width : 10px;
- height : 10px;
- background-color: #333333;
+.FIE_carousel-prev-button,
+.FIE_carousel-next-button {
+ background: #0f1419 !important;
}
-.ptro-scroller::-webkit-scrollbar-thumb {
- background-color: #000000;
+.SfxModalTitle-LabelPrimary,
+.FIE_save-file-name-input,
+.FIE_save-extension-selector.SfxInput-root.SfxSelect-root,
+.FIE_resize-width-option.SfxInput-root > input,
+.FIE_resize-height-option.SfxInput-root > input {
+ color: #000000 !important;
}
-.ptro-color-control,
-.ptro-info,
-.ptro-label {
- color: #ffffff !important;
+.eEDOa-d.FIE_resize-width-option.SfxInput-root ,
+.eEDOa-d.FIE_resize-height-option.SfxInput-root
+{
+ background-color: #ffffff !important;
}
+/*
-.ptro-color-main {
- background-color: #242424 !important;
+.FIE_canvas-container, .FIE_tab {
+ background: transparent !important;
}
-.ptro-wrapper {
- background-color: #363636 !important;
-}
-
-.ptro-color-control {
- background-color: #131313 !important;
-}
-.ptro-pallet .ptro-color-main .ptro-v-middle-in {
- width: 200px !important;
+[aria-selected="false"] .FIE_tab-label {
+ color: #fff !important;
}
-.ptro-icon-btn {
- border-radius: 50% !important;
+[aria-selected="false"]:hover svg {
+ color: rgb(19, 19, 19) !important;
}
-.ptro-icon {
- font-size: 16px !important;
+:not(button) > svg:not([color]) {
+ color: #ffffff !important
}
-.ptro-color-active-control{
- background-color: #3b3b3b !important;
-}
+.FIE_tab [aria-selected="true"] svg{
+ color: red !important
+} */
+
/*! Pickr 1.8.2 MIT | https://github.com/Simonwep/pickr */
.pickr {
position : relative;
diff --git a/dist/all.js b/dist/all.js
index 2efa384..dd8be1c 100644
--- a/dist/all.js
+++ b/dist/all.js
@@ -1063,6 +1063,15 @@
}.call(this));
+/**
+ * filerobot-image-editor v4.1.1
+ * https://github.com/scaleflex/filerobot-image-editor
+ * Copyright (c) 2019 Scaleflex
+ * Released under the MIT license
+ * Date: 2022-03-29T09:12:48.283Z
+ */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).FilerobotImageEditor=t()}(this,(function(){"use strict";function e(t){return(e="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})(t)}function t(e,t){for(var n=0;n>>1,i=e[r];if(!(void 0!==i&&0t)||e&&!F.unstable_shouldYield());){var r,i=le.callback;"function"==typeof i?(le.callback=null,se=le.priorityLevel,r=i(le.expirationTime<=t),t=F.unstable_now(),"function"==typeof r?le.callback=r:le===ve(ie)&&ye(ie),we(t)):ye(ie),le=ve(ie)}var o;return null!==le||(null!==(o=ve(oe))&&Y(Ce,o.startTime-t),!1)}finally{le=null,se=n,ce=!1}}F=s={},"object"==typeof performance&&"function"==typeof performance.now?(B=performance,F.unstable_now=function(){return B.now()}):(V=Date,W=V.now(),F.unstable_now=function(){return V.now()-W}),"undefined"==typeof window||"function"!=typeof MessageChannel?(U=G=null,Z=function(){if(null!==G)try{var e=F.unstable_now();G(!0,e),G=null}catch(t){throw setTimeout(Z,0),t}},X=function(e){null!==G?setTimeout(X,0,e):(G=e,setTimeout(Z,0))},Y=function(e,t){U=setTimeout(e,t)},q=function(){clearTimeout(U)},F.unstable_shouldYield=function(){return!1},je=F.unstable_forceFrameRate=function(){}):($=window.setTimeout,K=window.clearTimeout,"undefined"!=typeof console&&(Ve=window.cancelAnimationFrame,"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof Ve&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),Q=!1,J=null,ee=-1,te=5,ne=0,F.unstable_shouldYield=function(){return F.unstable_now()>=ne},je=function(){},F.unstable_forceFrameRate=function(e){e<0||125"+t.valueOf().toString()+"",t=It.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}};var It,Mt,At="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Mt(e,t)}))}:Mt;function Rt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Dt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zt=["Webkit","ms","Moz","O"];function Nt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Dt.hasOwnProperty(e)&&Dt[e]?(""+t).trim():t+"px"}function Ht(e,t){for(var n in e=e.style,t){var r,i;t.hasOwnProperty(n)&&(r=0===n.indexOf("--"),i=Nt(n,t[n],r),"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i)}}Object.keys(Dt).forEach((function(e){zt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Dt[t]=Dt[e]}))}));var Ft=Oe({menuitem:!0},{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});function Bt(e,t){if(t){if(Ft[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(ke(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(ke(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(ke(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(ke(62))}}function Vt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Wt(e){return 3===(e=(e=e.target||e.srcElement||window).correspondingUseElement?e.correspondingUseElement:e).nodeType?e.parentNode:e}var Gt=null,Ut=null,Zt=null;function Xt(e){if(e=oo(e)){if("function"!=typeof Gt)throw Error(ke(280));var t=e.stateNode;t&&(t=lo(t),Gt(e.stateNode,e.type,t))}}function Yt(e){Ut?Zt?Zt.push(e):Zt=[e]:Ut=e}function qt(){if(Ut){var e=Ut,t=Zt;if(Zt=Ut=null,Xt(e),t)for(e=0;eE?(O=x,x=null):O=x.sibling;var S=f(m,x,y[E],b);if(null===S){null===x&&(x=O);break}e&&x&&null===S.alternate&&t(m,x),v=o(S,v,E),null===C?w=S:C.sibling=S,C=S,x=O}if(E===y.length)return n(m,x),w;if(null===x){for(;EM?(A=I,I=null):A=I.sibling;var D=f(k,I,R.value,L);if(null===D){null===I&&(I=A);break}e&&I&&null===D.alternate&&t(k,I),P=o(D,P,M),null===j?T=D:j.sibling=D,j=D,I=A}if(R.done)return n(k,I),T;if(null===I){for(;!R.done;M++,R=_.next())null!==(R=d(k,R.value,L))&&(P=o(R,P,M),null===j?T=R:j.sibling=R,j=R);return T}for(I=r(k,I);!R.done;M++,R=_.next())null!==(R=h(I,k,M,R.value,L))&&(e&&null!==R.alternate&&I.delete(null===R.key?M:R.key),P=o(R,P,M),null===j?T=R:j.sibling=R,j=R);return e&&I.forEach((function(e){return t(k,e)})),T}if(g&&ka(l,c),void 0===c&&!p)switch(l.tag){case 1:case 22:case 0:case 11:case 15:throw Error(ke(152,dt(l.type)||"Component"))}return n(l,s)}}var _a=Pa(!0),La=Pa(!1),Ta={},ja=fo(Ta),Ia=fo(Ta),Ma=fo(Ta);function Aa(e){if(e===Ta)throw Error(ke(174));return e}function Ra(e,t){switch(po(Ma,t),po(Ia,e),po(ja,Ta),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jt(null,"");break;default:t=jt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ho(ja),po(ja,t)}function Da(){ho(ja),ho(Ia),ho(Ma)}function za(e){Aa(Ma.current);var t=Aa(ja.current),n=jt(t,e.type);t!==n&&(po(Ia,e),po(ja,n))}function Na(e){Ia.current===e&&(ho(ja),ho(Ia))}var Ha=fo(0);function Fa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t=(t.child.return=t).child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ba=null,Va=null,Wa=!1;function Ga(e,t){var n=Tc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ua(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,1);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,1);default:return}}function Za(e){if(Wa){var t=Va;if(t){var n=t;if(!Ua(e,t)){if(!(t=Ki(n.nextSibling))||!Ua(e,t))return e.flags=-1025&e.flags|2,Wa=!1,void(Ba=e);Ga(Ba,n)}Ba=e,Va=Ki(t.firstChild)}else e.flags=-1025&e.flags|2,Wa=!1,Ba=e}}function Xa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ba=e}function Ya(e){if(e===Ba){if(!Wa)return Xa(e),Wa=!0,0;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Xi(t,e.memoizedProps))for(t=Va;t;)Ga(e,t),t=Ki(t.nextSibling);if(Xa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(ke(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Va=Ki(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Va=null}}else Va=Ba?Ki(e.stateNode.nextSibling):null;return 1}}function qa(){Va=Ba=null,Wa=!1}var $a=[];function Ka(){for(var e=0;e<$a.length;e++)$a[e]._workInProgressVersionPrimary=null;$a.length=0}var Qa=Ve.ReactCurrentDispatcher,Ja=Ve.ReactCurrentBatchConfig,el=0,tl=null,nl=null,rl=null,il=!1,ol=!1;function al(){throw Error(ke(321))}function ll(e,t){if(null!==t){for(var n=0;n component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ts&&(Ts=2),l=ns(l,b),p=a;do{switch(p.tag){case 3:o=l,p.flags|=4096,t&=-t,p.lanes|=t,pa(p,ss(0,o,t));break e;case 1:o=l;var C=p.type,x=p.stateNode;if(0==(64&p.flags)&&("function"==typeof C.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===Gs||!Gs.has(x)))){p.flags|=4096,t&=-t,p.lanes|=t,pa(p,cs(p,o,t));break e}}}while(null!==(p=p.return))}Cc(n)}catch(E){t=E,ks===n&&null!==n&&(ks=n=n.return);continue}break}}function yc(){var e=xs.current;return xs.current=Il,null===e?Il:e}function bc(e,t){var n=Os,r=(Os|=16,yc());for(Ss===e&&Ps===t||mc(e,t);;)try{for(;null!==ks;)wc(ks);break}catch(i){vc(e,i)}if(ia(),Os=n,xs.current=r,null!==ks)throw Error(ke(261));return Ss=null,Ps=0,Ts}function wc(e){var t=Fs(e.alternate,e,_s);e.memoizedProps=e.pendingProps,null===t?Cc(e):ks=t,Es.current=null}function Cc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return wo(t.type)&&Co(),null;case 3:return Da(),ho(vo),ho(mo),Ka(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ya(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Na(t);var i=Aa(Ma.current);if(n=t.type,null!==e&&null!=t.stateNode)os(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(ke(166));return null}if(e=Aa(ja.current),Ya(t)){r=t.stateNode,n=t.type;var o,a=t.memoizedProps;switch(r[eo]=t,r[to]=a,n){case"dialog":Mi("cancel",r),Mi("close",r);break;case"iframe":case"object":case"embed":Mi("load",r);break;case"video":case"audio":for(e=0;e<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),"select"===n&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[eo]=t,e[to]=r,is(e,t),t.stateNode=e,o=Vt(n,r),n){case"dialog":Mi("cancel",e),Mi("close",e),i=r;break;case"iframe":case"object":case"embed":Mi("load",e),i=r;break;case"video":case"audio":for(i=0;iNs&&(t.flags|=64,ts(r,!(a=!0)),t.lanes=33554432)}else{if(!a)if(null!==(e=Fa(o))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ts(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!Wa)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Uo()-r.renderingStartTime>Ns&&1073741824!==n&&(t.flags|=64,ts(r,!(a=!0)),t.lanes=33554432);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=r.last)?n.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Uo(),n.sibling=null,t=Ha.current,po(Ha,a?1&t|2:1&t),n):null;case 23:case 24:return gc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(ke(156,t.tag))}(n,t,_s)))return void(ks=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&_s)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;i<=e;)(i<<=1)<0&&ed(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=(e=this.indexOfGroup(e))+n,i=e;i>>0);return t.hasNameForId(r,o)||(i=n(i,"."+o,void 0,r),t.insertRules(r,o,i)),this.staticRulesId=o}for(var a=this.rules.length,l=Ed(this.baseHash,n.hash),s="",c=0;c>>0),t.hasNameForId(r,i)||(o=n(s,"."+i,void 0,r),t.insertRules(r,i,o)),i},e}(),Qd=/[[\].#*$><+~=|^:(),"'`-]+/g,Jd=/(^-|-$)/g;function ef(e){return e.replace(Qd,"-").replace(Jd,"")}function tf(e){return"string"==typeof e&&!0}function nf(e){return Yd(Od(e)>>>0)}var rf=he.createContext();function of(e){var t=l.exports.useContext(rf),n=l.exports.useMemo((function(){return n=e.theme,r=t,n?Gu(n)?n(r):Array.isArray(n)||"object"!=typeof n?ed(8):r?Hu({},r,{},n):n:ed(14);var n,r}),[e.theme,t]);return e.children?he.createElement(rf.Provider,{value:n},e.children):null}rf.Consumer;var af={};function lf(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,a=e.foldedComponentIds,s=e.shouldForwardProp,c=e.styledComponentId;e=e.target;l.exports.useDebugValue(c);o=function(e,t,n){var r=Hu({},t,{theme:e=void 0===e?Wu:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in a=Gu(a)?a(r):a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}($d(t,l.exports.useContext(rf),o)||Wu,t,r);var u,d=o[0],f=(o=o[1],i=(i=i,r=0e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nBp.angleDeg?e*Hp:e,enableTrace:!1,pointerEventsEnabled:!0,autoDrawEnabled:!0,hitOnDragEnabled:!1,capturePointerEventsEnabled:!1,_mouseListenClick:!1,_touchListenClick:!1,_pointerListenClick:!1,_mouseInDblClickWindow:!1,_touchInDblClickWindow:!1,_pointerInDblClickWindow:!1,_mouseDblClickPointerId:null,_touchDblClickPointerId:null,_pointerDblClickPointerId:null,pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:()=>Bp.DD.isDragging,isDragReady:()=>!!Bp.DD.node,document:Fp.document,_injectGlobal(e){Fp.Konva=e}};bp=e=>{Bp[e.prototype.getClassName()]=e},Bp._injectGlobal(Bp);class Vp{constructor(e=[1,0,0,1,0,0]){this.dirty=!1,this.m=e&&e.slice()||[1,0,0,1,0,0]}reset(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0}copy(){return new Vp(this.m)}copyInto(e){e.m[0]=this.m[0],e.m[1]=this.m[1],e.m[2]=this.m[2],e.m[3]=this.m[3],e.m[4]=this.m[4],e.m[5]=this.m[5]}point(e){var t=this.m;return{x:t[0]*e.x+t[2]*e.y+t[4],y:t[1]*e.x+t[3]*e.y+t[5]}}translate(e,t){return this.m[4]+=this.m[0]*e+this.m[2]*t,this.m[5]+=this.m[1]*e+this.m[3]*t,this}scale(e,t){return this.m[0]*=e,this.m[1]*=e,this.m[2]*=t,this.m[3]*=t,this}rotate(e){var t=Math.cos(e),n=(e=Math.sin(e),this.m[0]*t+this.m[2]*e),r=this.m[1]*t+this.m[3]*e,i=this.m[0]*-e+this.m[2]*t;e=this.m[1]*-e+this.m[3]*t;return this.m[0]=n,this.m[1]=r,this.m[2]=i,this.m[3]=e,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(e,t){var n=this.m[0]+this.m[2]*t,r=(t=this.m[1]+this.m[3]*t,this.m[2]+this.m[0]*e);e=this.m[3]+this.m[1]*e;return this.m[0]=n,this.m[1]=t,this.m[2]=r,this.m[3]=e,this}multiply(e){var t=this.m[0]*e.m[0]+this.m[2]*e.m[1],n=this.m[1]*e.m[0]+this.m[3]*e.m[1],r=this.m[0]*e.m[2]+this.m[2]*e.m[3],i=this.m[1]*e.m[2]+this.m[3]*e.m[3],o=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4];e=this.m[1]*e.m[4]+this.m[3]*e.m[5]+this.m[5];return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=i,this.m[4]=o,this.m[5]=e,this}invert(){var e=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),t=this.m[3]*e,n=-this.m[1]*e,r=-this.m[2]*e,i=this.m[0]*e,o=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]);e*=this.m[1]*this.m[4]-this.m[0]*this.m[5];return this.m[0]=t,this.m[1]=n,this.m[2]=r,this.m[3]=i,this.m[4]=o,this.m[5]=e,this}getMatrix(){return this.m}setAbsolutePosition(e,t){var n=this.m[0],r=this.m[1],i=this.m[2],o=this.m[3],a=this.m[4];t=(n*(t-this.m[5])-r*(e-a))/(n*o-r*i);return this.translate((e-a-i*t)/n,t)}decompose(){var e,t=this.m[0],n=this.m[1],r=this.m[2],i=this.m[3],o=t*i-n*r;let a={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};return 0!=t||0!=n?(e=Math.sqrt(t*t+n*n),a.rotation=0!(!e||1!=e.nodeType),_isFunction:e=>!!(e&&e.constructor&&e.call&&e.apply),_isPlainObject:e=>!!e&&e.constructor===Object,_isArray:e=>"[object Array]"===Object.prototype.toString.call(e),_isNumber:e=>"[object Number]"===Object.prototype.toString.call(e)&&!isNaN(e)&&isFinite(e),_isString:e=>"[object String]"===Object.prototype.toString.call(e),_isBoolean:e=>"[object Boolean]"===Object.prototype.toString.call(e),isObject:e=>e instanceof Object,isValidSelector:e=>"string"==typeof e&&("#"===(e=e[0])||"."===e||e===e.toUpperCase()),_sign:e=>0===e||0document.createElement("img"),_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,t){var n=$p.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex:(e,t,n)=>((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1),_hexToRgb:e=>(e=e.replace("#",""),{r:(e=parseInt(e,16))>>16&255,g:e>>8&255,b:255&e}),getRandomColor(){for(var e=(16777215*Math.random()<<0).toString(16);e.length<6;)e="0"+e;return"#"+e},getRGB(e){var t;return e in Zp?{r:(t=Zp[e])[0],g:t[1],b:t[2]}:"#"===e[0]?this._hexToRgb(e.substring(1)):"rgb("===e.substr(0,4)?(t=Xp.exec(e.replace(/ /g,"")),{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10)}):{r:0,g:0,b:0}},colorToRGBA:e=>(e=e||"black",$p._namedColorToRBA(e)||$p._hex3ColorToRGBA(e)||$p._hex6ColorToRGBA(e)||$p._rgbColorToRGBA(e)||$p._rgbaColorToRGBA(e)||$p._hslColorToRGBA(e)),_namedColorToRBA:e=>(e=Zp[e.toLowerCase()])?{r:e[0],g:e[1],b:e[2],a:1}:null,_rgbColorToRGBA(e){if(0===e.indexOf("rgb("))return{r:(e=(e=e.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number))[0],g:e[1],b:e[2],a:1}},_rgbaColorToRGBA(e){if(0===e.indexOf("rgba("))return{r:(e=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(((e,t)=>"%"===e.slice(-1)?3===t?parseInt(e)/100:parseInt(e)/100*255:Number(e))))[0],g:e[1],b:e[2],a:e[3]}},_hex6ColorToRGBA(e){if("#"===e[0]&&7===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:1}},_hex3ColorToRGBA(e){if("#"===e[0]&&4===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:1}},_hslColorToRGBA(e){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(e)){var[,...e]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),t=Number(e[0])/360,n=Number(e[1])/100;e=Number(e[2])/100;let i,o,a;if(0==n)return a=255*e,{r:Math.round(a),g:Math.round(a),b:Math.round(a),a:1};var r=2*e-(i=e<.5?e*(1+n):e+n-e*n);const l=[0,0,0];for(let e=0;e<3;e++)(o=t+1/3*-(e-1))<0&&o++,1!(t.x>e.x+e.width||t.x+t.widthe.y+e.height||t.y+t.heighte.slice(0),degToRad:e=>e*Wp,radToDeg:e=>e*Gp,_degToRad:e=>($p.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),$p.degToRad(e)),_radToDeg:e=>($p.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),$p.radToDeg(e)),_getRotation:e=>Bp.angleDeg?$p.radToDeg(e):e,_capitalize:e=>e.charAt(0).toUpperCase()+e.slice(1),throw(e){throw new Error(Up+e)},error(e){console.error(Up+e)},warn(e){Bp.showWarnings&&console.warn("Konva warning: "+e)},each(e,t){for(var n in e)t(n,e[n])},_inRange:(e,t,n)=>t<=e&&et.length&&(i=t,t=e,e=i),r=0;re.touches?e.changedTouches[0].identifier:e.pointerId||999};function Kp(e){return $p._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||$p._isBoolean(e)?e:Object.prototype.toString.call(e)}function Qp(e){return 255('+e+")"),t}}function tg(){if(Bp.isUnminified)return function(e,t){return $p._isNumber(e)||"auto"===e||$p.warn(Kp(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function ng(){if(Bp.isUnminified)return function(e,t){return $p._isString(e)||$p.warn(Kp(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function rg(){if(Bp.isUnminified)return function(e,t){var n=$p._isString(e),r="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return n||r||$p.warn(Kp(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function ig(){if(Bp.isUnminified)return function(e,t){return!0===e||!1===e||$p.warn(Kp(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}var og="get",ag="set";const lg={addGetterSetter(e,t,n,r,i){lg.addGetter(e,t,n),lg.addSetter(e,t,r,i),lg.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var r=og+$p._capitalize(t);e.prototype[r]=e.prototype[r]||function(){var e=this.attrs[t];return void 0===e?n:e}},addSetter(e,t,n,r){var i=ag+$p._capitalize(t);e.prototype[i]||lg.overWriteSetter(e,t,n,r)},overWriteSetter(e,t,n,r){var i=ag+$p._capitalize(t);e.prototype[i]=function(e){return n&&null!=e&&(e=n.call(this,e,t)),this._setAttr(t,e),r&&r.call(this),this}},addComponentsGetterSetter(e,t,n,r,i){var o,a,l=n.length,s=$p._capitalize,c=og+s(t),u=ag+s(t),d=(e.prototype[c]=function(){var e={};for(o=0;o"number"==typeof e?Math.floor(e):e)):i).join(",")+")"):(l+=n.property,e||(l+="="+n.val)),l+=";";return l}clearTrace(){this.traceArr=[]}_trace(e){var t=this.traceArr;t.push(e),100<=t.length&&t.shift()}reset(){var e=this.getCanvas().getPixelRatio();this.setTransform(+e,0,0,+e,0,0)}getCanvas(){return this.canvas}clear(e){var t=this.getCanvas();e?this.clearRect(e.x||0,e.y||0,e.width||0,e.height||0):this.clearRect(0,0,t.getWidth()/t.pixelRatio,t.getHeight()/t.pixelRatio)}_applyLineCap(e){(e=e.getLineCap())&&this.setAttr("lineCap",e)}_applyOpacity(e){1!==(e=e.getAbsoluteOpacity())&&this.setAttr("globalAlpha",e)}_applyLineJoin(e){(e=e.attrs.lineJoin)&&this.setAttr("lineJoin",e)}setAttr(e,t){this._context[e]=t}arc(e,t,n,r,i,o){this._context.arc(e,t,n,r,i,o)}arcTo(e,t,n,r,i){this._context.arcTo(e,t,n,r,i)}beginPath(){this._context.beginPath()}bezierCurveTo(e,t,n,r,i,o){this._context.bezierCurveTo(e,t,n,r,i,o)}clearRect(e,t,n,r){this._context.clearRect(e,t,n,r)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(e,t){var n=arguments;return 2===n.length?this._context.createImageData(e,t):1===n.length?this._context.createImageData(e):void 0}createLinearGradient(e,t,n,r){return this._context.createLinearGradient(e,t,n,r)}createPattern(e,t){return this._context.createPattern(e,t)}createRadialGradient(e,t,n,r,i,o){return this._context.createRadialGradient(e,t,n,r,i,o)}drawImage(e,t,n,r,i,o,a,l,s){var c=arguments,u=this._context;3===c.length?u.drawImage(e,t,n):5===c.length?u.drawImage(e,t,n,r,i):9===c.length&&u.drawImage(e,t,n,r,i,o,a,l,s)}ellipse(e,t,n,r,i,o,a,l){this._context.ellipse(e,t,n,r,i,o,a,l)}isPointInPath(e,t){return this._context.isPointInPath(e,t)}fill(e){e?this._context.fill(e):this._context.fill()}fillRect(e,t,n,r){this._context.fillRect(e,t,n,r)}strokeRect(e,t,n,r){this._context.strokeRect(e,t,n,r)}fillText(e,t,n,r){r?this._context.fillText(e,t,n,r):this._context.fillText(e,t,n)}measureText(e){return this._context.measureText(e)}getImageData(e,t,n,r){return this._context.getImageData(e,t,n,r)}lineTo(e,t){this._context.lineTo(e,t)}moveTo(e,t){this._context.moveTo(e,t)}rect(e,t,n,r){this._context.rect(e,t,n,r)}putImageData(e,t,n){this._context.putImageData(e,t,n)}quadraticCurveTo(e,t,n,r){this._context.quadraticCurveTo(e,t,n,r)}restore(){this._context.restore()}rotate(e){this._context.rotate(e)}save(){this._context.save()}scale(e,t){this._context.scale(e,t)}setLineDash(e){this._context.setLineDash?this._context.setLineDash(e):"mozDash"in this._context?this._context.mozDash=e:"webkitLineDash"in this._context&&(this._context.webkitLineDash=e)}getLineDash(){return this._context.getLineDash()}setTransform(e,t,n,r,i,o){this._context.setTransform(e,t,n,r,i,o)}stroke(e){e?this._context.stroke(e):this._context.stroke()}strokeText(e,t,n,r){this._context.strokeText(e,t,n,r)}transform(e,t,n,r,i,o){this._context.transform(e,t,n,r,i,o)}translate(e,t){this._context.translate(e,t)}_enableTrace(){for(var e,t=this,n=cg.length,r=this.setAttr,i=function(n){var r,i=t[n];t[n]=function(){return e=function(e){for(var t,n=[],r=e.length,i=$p,o=0;o{"dragging"===t.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return mg._dragElements.forEach((t=>{e=t.node})),e},_dragElements:new Map,_drag(e){const t=[];mg._dragElements.forEach(((n,r)=>{const i=n.node,o=i.getStage();o.setPointersPositions(e),void 0===n.pointerId&&(n.pointerId=$p._getFirstPointerId(e));var a=o._changedPointerPositions.find((e=>e.id===n.pointerId));if(a){if("dragging"!==n.dragStatus){var l=i.dragDistance();if(Math.max(Math.abs(a.x-n.startPointerPos.x),Math.abs(a.y-n.startPointerPos.y)){t.fire("dragmove",{type:"dragmove",target:t,evt:e},!0)}))},_endDragBefore(e){mg._dragElements.forEach((t=>{const n=t.node.getStage();if(e&&n.setPointersPositions(e),n._changedPointerPositions.find((e=>e.id===t.pointerId))){"dragging"!==t.dragStatus&&"stopped"!==t.dragStatus||(mg.justDragged=!0,Bp._mouseListenClick=!1,Bp._touchListenClick=!1,Bp._pointerListenClick=!1,t.dragStatus="stopped");const e=t.node.getLayer()||t.node instanceof Bp.Stage&&t.node;e&&e.batchDraw()}}))},_endDragAfter(e){mg._dragElements.forEach(((t,n)=>{"stopped"===t.dragStatus&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),"dragging"!==t.dragStatus&&mg._dragElements.delete(n)}))}};Bp.isBrowser&&(window.addEventListener("mouseup",mg._endDragBefore,!0),window.addEventListener("touchend",mg._endDragBefore,!0),window.addEventListener("mousemove",mg._drag),window.addEventListener("touchmove",mg._drag),window.addEventListener("mouseup",mg._endDragAfter,!1),window.addEventListener("touchend",mg._endDragAfter,!1));var vg="absoluteOpacity",yg="allEventListeners",bg="absoluteTransform",wg="absoluteScale",Cg="canvas",xg="listening",Eg="mouseenter",Og="mouseleave",Sg="transform",kg="visible";a=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(" ");let Pg=1;class _g{constructor(e){this._id=Pg++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(e),this._shouldFireChangeEvents=!0}hasChildren(){return!1}_clearCache(e){e!==Sg&&e!==bg||!this._cache.get(e)?e?this._cache.delete(e):this._cache.clear():this._cache.get(e).dirty=!0}_getCache(e,t){var n=this._cache.get(e);return(void 0===n||(e===Sg||e===bg)&&!0===n.dirty)&&(n=t.call(this),this._cache.set(e,n)),n}_calculate(e,t,n){return this._attachedDepsListeners.get(e)||(t=t.map((e=>e+"Change.konva")).join(" "),this.on(t,(()=>{this._clearCache(e)})),this._attachedDepsListeners.set(e,!0)),this._getCache(e,n)}_getCanvasCache(){return this._cache.get(Cg)}_clearSelfAndDescendantCache(e){this._clearCache(e),e===bg&&this.fire("absoluteTransformChange")}clearCache(){return this._cache.delete(Cg),this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(e){var t,n,r={},i=(void 0!==(e=e||{}).x&&void 0!==e.y&&void 0!==e.width&&void 0!==e.height||(r=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()})),Math.ceil(e.width||r.width)),o=Math.ceil(e.height||r.height),a=e.pixelRatio,l=(void 0===e.x?r:e).x,s=(r=(void 0===e.y?r:e).y,e.offset||0),c=e.drawBorder||!1,u=e.hitCanvasPixelRatio||1;if(i&&o)return l-=s,r-=s,s=new pg({pixelRatio:a,width:i+=2*s,height:o+=2*s}),a=new pg({pixelRatio:a,width:0,height:0}),u=new gg({pixelRatio:u,width:i,height:o}),t=s.getContext(),n=u.getContext(),u.isCache=!0,s.isCache=!0,this._cache.delete(Cg),(this._filterUpToDate=!1)===e.imageSmoothingEnabled&&(s.getContext()._context.imageSmoothingEnabled=!1,a.getContext()._context.imageSmoothingEnabled=!1),t.save(),n.save(),t.translate(-l,-r),n.translate(-l,-r),this._isUnderCache=!0,this._clearSelfAndDescendantCache(vg),this._clearSelfAndDescendantCache(wg),this.drawScene(s,this),this.drawHit(u,this),this._isUnderCache=!1,t.restore(),n.restore(),c&&(t.save(),t.beginPath(),t.rect(0,0,i,o),t.closePath(),t.setAttr("strokeStyle","red"),t.setAttr("lineWidth",5),t.stroke(),t.restore()),this._cache.set(Cg,{scene:s,filter:a,hit:u,x:l,y:r}),this._requestDraw(),this;$p.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")}isCached(){return this._cache.has(Cg)}getClientRect(e){throw new Error('abstract "getClientRect" method call')}_transformedRect(e,t){e=[{x:e.x,y:e.y},{x:e.x+e.width,y:e.y},{x:e.x+e.width,y:e.y+e.height},{x:e.x,y:e.y+e.height}];var n,r,i,o,a=this.getAbsoluteTransform(t);return e.forEach((function(e){e=a.point(e),void 0===n&&(n=i=e.x,r=o=e.y),n=Math.min(n,e.x),r=Math.min(r,e.y),i=Math.max(i,e.x),o=Math.max(o,e.y)})),{x:n,y:r,width:i-n,height:o-r}}_drawCachedSceneCanvas(e){e.save(),e._applyOpacity(this),e._applyGlobalCompositeOperation(this);var t=this._getCanvasCache(),n=(t=(e.translate(t.x,t.y),this._getCachedSceneCanvas())).pixelRatio;e.drawImage(t._canvas,0,0,t.width/n,t.height/n),e.restore()}_drawCachedHitCanvas(e){var t=this._getCanvasCache(),n=t.hit;e.save(),e.translate(t.x,t.y),e.drawImage(n._canvas,0,0,n.width/n.pixelRatio,n.height/n.pixelRatio),e.restore()}_getCachedSceneCanvas(){var e,t,n,r,i,o=this.filters(),a=(i=this._getCanvasCache()).scene,l=(i=i.filter).getContext();if(o){if(!this._filterUpToDate){var s=a.pixelRatio;i.setSize(a.width/a.pixelRatio,a.height/a.pixelRatio);try{for(e=o.length,l.clear(),l.drawImage(a._canvas,0,0,a.getWidth()/s,a.getHeight()/s),t=l.getImageData(0,0,i.getWidth(),i.getHeight()),n=0;n{var t,n;if(!e)return this;for(t in e)"children"!==t&&(n="set"+$p._capitalize(t),$p._isFunction(this[n])?this[n](e[t]):this._setAttr(t,e[t]))})),this}isListening(){return this._getCache(xg,this._isListening)}_isListening(e){if(!this.listening())return!1;const t=this.getParent();return!t||t===e||this===e||t._isListening(e)}isVisible(){return this._getCache(kg,this._isVisible)}_isVisible(e){if(!this.visible())return!1;const t=this.getParent();return!t||t===e||this===e||t._isVisible(e)}shouldDrawHit(e,t=!1){if(e)return this._isVisible(e)&&this._isListening(e);var n=this.getLayer(),r=!1;mg._dragElements.forEach((e=>{"dragging"===e.dragStatus&&("Stage"!==e.node.nodeType&&e.node.getLayer()!==n||(r=!0))})),e=!t&&!Bp.hitOnDragEnabled&&r;return this.isListening()&&this.isVisible()&&!e}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var e,t,n,r,i=this.getDepth(),o=this,a=0;return"Stage"!==o.nodeType&&function l(s){for(e=[],t=s.length,n=0;n{this.x(e.x),this.y(e.y)})),this}getPosition(){return{x:this.x(),y:this.y()}}getRelativePointerPosition(){if(!this.getStage())return null;var e=this.getStage().getPointerPosition();if(!e)return null;var t=this.getAbsoluteTransform().copy();return t.invert(),t.point(e)}getAbsolutePosition(e){let t=!1,n=this.parent;for(;n;){if(n.isCached()){t=!0;break}n=n.parent}t&&!e&&(e=!0);e=this.getAbsoluteTransform(e).getMatrix();var r=new Vp,i=this.offset();return r.m=e.slice(),r.translate(i.x,i.y),r.getTranslation()}setAbsolutePosition(e){var t=this._clearTransform(),n=(this.attrs.x=t.x,this.attrs.y=t.y,delete t.x,delete t.y,this._clearCache(Sg),this._getAbsoluteTransform().copy());return n.invert(),n.translate(e.x,e.y),e={x:this.attrs.x+n.getTranslation().x,y:this.attrs.y+n.getTranslation().y},this._setTransform(t),this.setPosition({x:e.x,y:e.y}),this._clearCache(Sg),this._clearSelfAndDescendantCache(bg),this}_setTransform(e){for(var t in e)this.attrs[t]=e[t]}_clearTransform(){var e={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,e}move(e){var t=e.x,n=(e=e.y,this.x()),r=this.y();return void 0!==t&&(n+=t),void 0!==e&&(r+=e),this.setPosition({x:n,y:r}),this}_eachAncestorReverse(e,t){var n,r,i=[],o=this.getParent();if(!t||t._id!==this._id){for(i.unshift(this);o&&(!t||o._id!==t._id);)i.unshift(o),o=o.parent;for(n=i.length,r=0;r=this.parent.children.length)&&$p.warn("Unexpected value "+e+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var t=this.index;return this.parent.children.splice(t,1),this.parent.children.splice(e,0,this),this.parent._setChildrenIndices(),this}getAbsoluteOpacity(){return this._getCache(vg,this._getAbsoluteOpacity)}_getAbsoluteOpacity(){var e=this.opacity(),t=this.getParent();return t&&!t._isUnderCache&&(e*=t.getAbsoluteOpacity()),e}moveTo(e){return this.getParent()!==e&&(this._remove(),e.add(this)),this}toObject(){var e,t,n,r={},i=this.getAttrs();for(e in r.attrs={},i)t=i[e],$p.isObject(t)&&!$p._isPlainObject(t)&&!$p._isArray(t)||(n="function"==typeof this[e]&&this[e],delete i[e],(n?n.call(this):null)!==(i[e]=t)&&(r.attrs[e]=t));return r.className=this.getClassName(),$p._prepareToStringify(r)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(e,t,n){for(var r=[],i=(t&&this._isMatch(e)&&r.push(this),this.parent);i;){if(i===n)return r;i._isMatch(e)&&r.push(i),i=i.parent}return r}isAncestorOf(e){return!1}findAncestor(e,t,n){return this.findAncestors(e,t,n)[0]}_isMatch(e){if(!e)return!1;if("function"==typeof e)return e(this);for(var t,n=e.replace(/ /g,"").split(","),r=n.length,i=0;i{this.isAncestorOf(e.node)&&(t=!0)})),t||this._createDragElement(e))}))}_dragChange(){var e,t;this.attrs.draggable?this._listenDrag():(this._dragCleanup(),this.getStage()&&(e=(t=mg._dragElements.get(this._id))&&"dragging"===t.dragStatus,t=t&&"ready"===t.dragStatus,e?this.stopDrag():t&&mg._dragElements.delete(this._id)))}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(e={x:0,y:0}){const t=this.getStage();return!!t&&(e={x:-e.x,y:-e.y,width:t.width()+e.x,height:t.height()+e.y},$p.haveIntersection(e,this.getClientRect()))}static create(e,t){return $p._isString(e)&&(e=JSON.parse(e)),this._createNode(e,t)}static _createNode(e,t){var n,r,i,o=_g.prototype.getClassName.call(e),a=e.children;t&&(e.attrs.container=t),Bp[o]||($p.warn('Can not find a node with class name "'+o+'". Fallback to "Shape".'),o="Shape");if(n=new(0,Bp[o])(e.attrs),a)for(r=a.length,i=0;i{e.parent=null,e.index=0,e.remove()})),this.children=[],this._requestDraw(),this}destroyChildren(){return this.getChildren().forEach((e=>{e.parent=null,e.index=0,e.destroy()})),this.children=[],this._requestDraw(),this}add(...e){if(1{var i=r._isMatch(e);return i&&n.push(r),!(!i||!t)})),n}_descendants(e){for(const t of this.getChildren()){if(e(t))return!0;if(t.hasChildren()&&t._descendants(e))return!0}return!1}toObject(){var e=_g.prototype.toObject.call(this);return e.children=[],this.getChildren().forEach((t=>{e.children.push(t.toObject())})),e}isAncestorOf(e){for(var t=e.getParent();t;){if(t._id===this._id)return!0;t=t.getParent()}return!1}clone(e){var t=_g.prototype.clone.call(this,e);return this.getChildren().forEach((function(e){t.add(e.clone())})),t}getAllIntersections(e){var t=[];return this.find("Shape").forEach((function(n){n.isVisible()&&n.intersects(e)&&t.push(n)})),t}_clearSelfAndDescendantCache(e){var t;super._clearSelfAndDescendantCache(e),this.isCached()||null!=(t=this.children)&&t.forEach((function(t){t._clearSelfAndDescendantCache(e)}))}_setChildrenIndices(){var e;null!=(e=this.children)&&e.forEach((function(e,t){e.index=t})),this._requestDraw()}drawScene(e,t){var n=this.getLayer(),r=(n=(e=e||n&&n.getCanvas())&&e.getContext(),(r=this._getCanvasCache())&&r.scene),i=e&&e.isCache;return(this.isVisible()||i)&&(r?(n.save(),i=this.getAbsoluteTransform(t).getMatrix(),n.transform(i[0],i[1],i[2],i[3],i[4],i[5]),this._drawCachedSceneCanvas(n),n.restore()):this._drawChildren("drawScene",e,t)),this}drawHit(e,t){if(!this.shouldDrawHit(t))return this;var n=this.getLayer(),r=(n=(e=e||n&&n.hitCanvas)&&e.getContext(),this._getCanvasCache());return r&&r.hit?(n.save(),r=this.getAbsoluteTransform(t).getMatrix(),n.transform(r[0],r[1],r[2],r[3],r[4],r[5]),this._drawCachedHitCanvas(n),n.restore()):this._drawChildren("drawHit",e,t),this}_drawChildren(e,t,n){var r,i,o,a=t&&t.getContext(),l=this.clipWidth(),s=this.clipHeight(),c=this.clipFunc(),u=l&&s||c,d=n===this;(c=(u&&(a.save(),i=(r=this.getAbsoluteTransform(n)).getMatrix(),a.transform(i[0],i[1],i[2],i[3],i[4],i[5]),a.beginPath(),c?c.call(this,a,this):(c=this.clipX(),o=this.clipY(),a.rect(c,o,l,s)),a.clip(),i=r.copy().invert().getMatrix(),a.transform(i[0],i[1],i[2],i[3],i[4],i[5])),!d&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===e))&&(a.save(),a._applyGlobalCompositeOperation(this)),null!=(o=this.children)&&o.forEach((function(r){r[e](t,n)})),c&&a.restore(),u&&a.restore()}getClientRect(e){for(var t,n,r,i,o,a,l=(e=e||{}).skipTransform,s=e.relativeTo,c=this,u=(null!=(t=this.children)&&t.forEach((function(t){!t.visible()||0===(t=t.getClientRect({relativeTo:c,skipShadow:e.skipShadow,skipStroke:e.skipStroke})).width&&0===t.height||(o=void 0===n?(n=t.x,r=t.y,i=t.x+t.width,t.y+t.height):(n=Math.min(n,t.x),r=Math.min(r,t.y),i=Math.max(i,t.x+t.width),Math.max(o,t.y+t.height)))})),this.find("Shape")),d=!1,f=0;f0<=e.indexOf("pointer")?"pointer":0<=e.indexOf("touch")?"touch":"mouse",Gg=e=>"pointer"===(e=Wg(e))?Bp.pointerEventsEnabled&&Vg.pointer:"touch"===e?Vg.touch:"mouse"===e?Vg.mouse:void 0;function Ug(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&$p.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const Zg=[];class Xg extends Tg{constructor(e){super(Ug(e)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),Zg.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{Ug(this.attrs)})),this._checkVisibility()}_validateAdd(e){var t="Layer"===e.getType();e="FastLayer"===e.getType();t||e||$p.throw("You may only add layers to the stage.")}_checkVisibility(){var e;this.content&&(e=this.visible()?"":"none",this.content.style.display=e)}setContainer(e){var t,n;if("string"==typeof e&&!(e="."===e.charAt(0)?(t=e.slice(1),document.getElementsByClassName(t)[0]):(n="#"!==e.charAt(0)?e:e.slice(1),document.getElementById(n))))throw"Can not find container in document with id "+n;return this._setAttr("container",e),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),e.appendChild(this.content)),this}shouldDrawHit(){return!0}clear(){for(var e=this.children,t=e.length,n=0;nt.id===e))}getPointersPositions(){return this._pointerPositions}getStage(){return this}getContent(){return this.content}_toKonvaCanvas(e){(e=e||{}).x=e.x||0,e.y=e.y||0,e.width=e.width||this.width(),e.height=e.height||this.height();var t=new pg({width:e.width,height:e.height,pixelRatio:e.pixelRatio||1}),n=t.getContext()._context,r=this.children;return(e.x||e.y)&&n.translate(-1*e.x,-1*e.y),r.forEach((function(t){t.isVisible()&&(t=t._toKonvaCanvas(e),n.drawImage(t._canvas,e.x,e.y,t.getWidth()/t.getPixelRatio(),t.getHeight()/t.getPixelRatio()))})),t}getIntersection(e){if(!e)return null;for(var t=this.children,n=t.length-1;0<=n;n--){var r=t[n].getIntersection(e);if(r)return r}return null}_resizeDOM(){var e=this.width(),t=this.height();this.content&&(this.content.style.width=e+"px",this.content.style.height=t+"px"),this.bufferCanvas.setSize(e,t),this.bufferHitCanvas.setSize(e,t),this.children.forEach((n=>{n.setSize({width:e,height:t}),n.draw()}))}add(e){if(1{this.content.addEventListener(e,(e=>{this[t](e)}))}))}_pointerenter(e){this.setPointersPositions(e);var t=Gg(e.type);this._fire(t.pointerenter,{evt:e,target:this,currentTarget:this})}_pointerover(e){this.setPointersPositions(e);var t=Gg(e.type);this._fire(t.pointerover,{evt:e,target:this,currentTarget:this})}_getTargetShape(e){let t=this[e+"targetShape"];return t&&!t.getStage()?null:t}_pointerleave(e){var t,n,r=Gg(e.type),i=Wg(e.type);r&&(this.setPointersPositions(e),t=this._getTargetShape(i),n=!mg.isDragging||Bp.hitOnDragEnabled,t&&n?(t._fireAndBubble(r.pointerout,{evt:e}),t._fireAndBubble(r.pointerleave,{evt:e}),this._fire(r.pointerleave,{evt:e,target:this,currentTarget:this}),this[i+"targetShape"]=null):n&&(this._fire(r.pointerleave,{evt:e,target:this,currentTarget:this}),this._fire(r.pointerout,{evt:e,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[])}_pointerdown(e){const t=Gg(e.type),n=Wg(e.type);var r;t&&(this.setPointersPositions(e),r=!1,this._changedPointerPositions.forEach((i=>{var o=this.getIntersection(i),a=(mg.justDragged=!1,Bp["_"+n+"ListenClick"]=!0,o&&o.isListening());a&&(Bp.capturePointerEventsEnabled&&o.setPointerCapture(i.id),(this[n+"ClickStartShape"]=o)._fireAndBubble(t.pointerdown,{evt:e,pointerId:i.id}),r=!0,a=0<=e.type.indexOf("touch"),o.preventDefault()&&e.cancelable&&a&&e.preventDefault())})),r||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id}))}_pointermove(e){const t=Gg(e.type),n=Wg(e.type);if(t&&(mg.isDragging&&mg.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),!mg.isDragging||Bp.hitOnDragEnabled)){var r={};let o=!1;var i=this._getTargetShape(n);this._changedPointerPositions.forEach((a=>{const l=Mg(a.id)||this.getIntersection(a);a=a.id;var s={evt:e,pointerId:a},c=i!==l;if(c&&i&&(i._fireAndBubble(t.pointerout,Object.assign({},s),l),i._fireAndBubble(t.pointerleave,Object.assign({},s),l)),l){if(r[l._id])return;r[l._id]=!0}l&&l.isListening()?(o=!0,c&&(l._fireAndBubble(t.pointerover,Object.assign({},s),i),l._fireAndBubble(t.pointerenter,Object.assign({},s),i),this[n+"targetShape"]=l),l._fireAndBubble(t.pointermove,Object.assign({},s))):i&&(this._fire(t.pointerover,{evt:e,target:this,currentTarget:this,pointerId:a}),this[n+"targetShape"]=null)})),o||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}}_pointerup(e){const t=Gg(e.type),n=Wg(e.type);if(t){this.setPointersPositions(e);const i=this[n+"ClickStartShape"],o=this[n+"ClickEndShape"];var r={};let a=!1;this._changedPointerPositions.forEach((l=>{const s=Mg(l.id)||this.getIntersection(l);if(s){if(s.releaseCapture(l.id),r[s._id])return;r[s._id]=!0}l=l.id;var c={evt:e,pointerId:l};let u=!1;Bp["_"+n+"InDblClickWindow"]?(u=!0,clearTimeout(this[n+"DblTimeout"])):mg.justDragged||(Bp["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){Bp["_"+n+"InDblClickWindow"]=!1}),Bp.dblClickWindow),s&&s.isListening()?(a=!0,(this[n+"ClickEndShape"]=s)._fireAndBubble(t.pointerup,Object.assign({},c)),Bp["_"+n+"ListenClick"]&&i&&i===s&&(s._fireAndBubble(t.pointerclick,Object.assign({},c)),u&&o&&o===s&&s._fireAndBubble(t.pointerdblclick,Object.assign({},c)))):(this[n+"ClickEndShape"]=null,Bp["_"+n+"ListenClick"]&&this._fire(t.pointerclick,{evt:e,target:this,currentTarget:this,pointerId:l}),u&&this._fire(t.pointerdblclick,{evt:e,target:this,currentTarget:this,pointerId:l}))})),a||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),Bp["_"+n+"ListenClick"]=!1,e.cancelable&&e.preventDefault()}}_contextmenu(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(Hg,{evt:e}):this._fire(Hg,{evt:e,target:this,currentTarget:this})}_wheel(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(Fg,{evt:e}):this._fire(Fg,{evt:e,target:this,currentTarget:this})}_pointercancel(e){this.setPointersPositions(e);const t=Mg(e.pointerId)||this.getIntersection(this.getPointerPosition());t&&t._fireAndBubble(Ng,Ag(e)),zg(e.pointerId)}_lostpointercapture(e){zg(e.pointerId)}setPointersPositions(e){var t,n,r=this._getContentPosition();void 0!==(e=e||window.event).touches?(this._pointerPositions=[],this._changedPointerPositions=[],Array.prototype.forEach.call(e.touches,(e=>{this._pointerPositions.push({id:e.identifier,x:(e.clientX-r.left)/r.scaleX,y:(e.clientY-r.top)/r.scaleY})})),Array.prototype.forEach.call(e.changedTouches||e.touches,(e=>{this._changedPointerPositions.push({id:e.identifier,x:(e.clientX-r.left)/r.scaleX,y:(e.clientY-r.top)/r.scaleY})}))):(t=(e.clientX-r.left)/r.scaleX,n=(e.clientY-r.top)/r.scaleY,this.pointerPos={x:t,y:n},this._pointerPositions=[{x:t,y:n,id:$p._getFirstPointerId(e)}],this._changedPointerPositions=[{x:t,y:n,id:$p._getFirstPointerId(e)}])}_setPointerPosition(e){$p.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(e)}_getContentPosition(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var e=this.content.getBoundingClientRect();return{top:e.top,left:e.left,scaleX:e.width/this.content.clientWidth||1,scaleY:e.height/this.content.clientHeight||1}}_buildDOM(){if(this.bufferCanvas=new pg({width:this.width(),height:this.height()}),this.bufferHitCanvas=new gg({pixelRatio:1,width:this.width(),height:this.height()}),Bp.isBrowser){var e=this.container();if(!e)throw"Stage has no container. A container is required.";e.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),e.appendChild(this.content),this._resizeDOM()}}cache(){return $p.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this}clearCache(){return this}batchDraw(){return this.getChildren().forEach((function(e){e.batchDraw()})),this}}Xg.prototype.nodeType="Stage",bp(Xg),lg.addGetterSetter(Xg,"container");var Yg="hasShadow",qg="shadowRGBA",$g="patternImage",Kg="linearGradient",Qg="radialGradient";let Jg;function em(){return Jg=Jg||$p.createCanvasElement().getContext("2d")}const tm={};class nm extends _g{constructor(e){let t;for(super(e);!(t=$p.getRandomColor())||t in tm;);this.colorKey=t,tm[t]=this}getContext(){return $p.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return $p.warn("shape.getCanvas() method is deprecated. Please do not use it."),this.getLayer().getCanvas()}getSceneFunc(){return this.attrs.sceneFunc||this._sceneFunc}getHitFunc(){return this.attrs.hitFunc||this._hitFunc}hasShadow(){return this._getCache(Yg,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache($g,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){const t=em().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(t&&t.setTransform){const n=new Vp;n.translate(this.fillPatternX(),this.fillPatternY()),n.rotate(Bp.getAngle(this.fillPatternRotation())),n.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),n.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());var e=n.getMatrix();t.setTransform({a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]})}return t}}_getLinearGradient(){return this._getCache(Kg,this.__getLinearGradient)}__getLinearGradient(){var e=this.fillLinearGradientColorStops();if(e){for(var t=em(),n=this.fillLinearGradientStartPoint(),r=this.fillLinearGradientEndPoint(),i=t.createLinearGradient(n.x,n.y,r.x,r.y),o=0;othis.fillEnabled()&&!!(this.fill()||this.fillPatternImage()||this.fillLinearGradientColorStops()||this.fillRadialGradientColorStops())))}hasStroke(){return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],(()=>this.strokeEnabled()&&this.strokeWidth()&&!(!this.stroke()&&!this.strokeLinearGradientColorStops())))}hasHitStroke(){var e=this.hitStrokeWidth();return"auto"===e?this.hasStroke():this.strokeEnabled()&&!!e}intersects(e){var t=this.getStage().bufferHitCanvas;return t.getContext().clear(),this.drawHit(t,null,!0),0{this.draw(),this._waitingForDraw=!1}))),this}getIntersection(e){if(!this.isListening()||!this.isVisible())return null;for(var t=1,n=!1;;){for(let o=0;othis.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():e<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=e,this.update())}getTime(){return this._time}setPosition(e){this.prevPos=this._pos,this.propFunc(e),this._pos=e}getPosition(e){return void 0===e&&(e=this._time),this.func(e,this.begin,this._change,this.duration)}play(){this.state=2,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")}reverse(){this.state=3,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")}seek(e){this.pause(),this._time=e,this.update(),this.fire("onSeek")}reset(){this.pause(),this._time=0,this.update(),this.fire("onReset")}finish(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")}update(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")}onEnterFrame(){var e=this.getTimer()-this._startTime;2===this.state?this.setTime(e):3===this.state&&this.setTime(this.duration-e)}pause(){this.state=1,this.fire("onPause")}getTimer(){return(new Date).getTime()}}class pm{constructor(e){var t,n=this,r=(l=e.node)._id,i=e.easing||gm.Linear,o=!!e.yoyo,a=void 0===e.duration?.3:0===e.duration?.001:e.duration,l=(this.node=l,this._id=dm++,l.getLayer()||(l instanceof Bp.Stage?l.getLayers():null));for(t in l||$p.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new cm((function(){n.tween.onEnterFrame()}),l),this.tween=new hm(t,(function(e){n._tweenFunc(e)}),i,0,1,1e3*a,o),this._addListeners(),pm.attrs[r]||(pm.attrs[r]={}),pm.attrs[r][this._id]||(pm.attrs[r][this._id]={}),pm.tweens[r]||(pm.tweens[r]={}),e)void 0===um[t]&&this._addAttr(t,e[t]);this.reset(),this.onFinish=e.onFinish,this.onReset=e.onReset,this.onUpdate=e.onUpdate}_addAttr(e,t){var n,r,i,o,a,l,s,c,u=this.node,d=u._id,f=pm.tweens[d][e];if(f&&delete pm.attrs[d][f][e],n=u.getAttr(e),$p._isArray(t))if(r=[],o=Math.max(t.length,n.length),"points"===e&&t.length!==n.length&&(t.length>n.length?(l=n,n=$p._prepareArrayForTween(n,t,u.closed())):(a=t,t=$p._prepareArrayForTween(t,n,u.closed()))),0===e.indexOf("fill"))for(i=0;i{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var e=this.node,t=pm.attrs[e._id][this._id];t.points&&t.points.trueEnd&&e.setAttr("points",t.points.trueEnd),this.onFinish&&this.onFinish.call(this)},this.tween.onReset=()=>{var e=this.node,t=pm.attrs[e._id][this._id];t.points&&t.points.trueStart&&e.points(t.points.trueStart),this.onReset&&this.onReset()},this.tween.onUpdate=()=>{this.onUpdate&&this.onUpdate.call(this)}}play(){return this.tween.play(),this}reverse(){return this.tween.reverse(),this}reset(){return this.tween.reset(),this}seek(e){return this.tween.seek(1e3*e),this}pause(){return this.tween.pause(),this}finish(){return this.tween.finish(),this}destroy(){var e,t=this.node._id,n=this._id,r=pm.tweens[t];for(e in this.pause(),r)delete pm.tweens[t][e];delete pm.attrs[t][n]}}pm.attrs={},pm.tweens={},_g.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()},new pm(e).play()};const gm={BackEaseIn:(e,t,n,r)=>n*(e/=r)*e*(2.70158*e-1.70158)+t,BackEaseOut:(e,t,n,r)=>n*((e=e/r-1)*e*(2.70158*e+1.70158)+1)+t,BackEaseInOut(e,t,n,r){var i=1.70158;return(e/=r/2)<1?n/2*(e*e*((1+(i*=1.525))*e-i))+t:n/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+t},ElasticEaseIn(e,t,n,r,i,o){var a=0;return 0===e?t:1==(e/=r)?t+n:(o=o||.3*r,a=!i||i(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t,BounceEaseIn:(e,t,n,r)=>n-gm.BounceEaseOut(r-e,0,n,r)+t,BounceEaseInOut:(e,t,n,r)=>en*(e/=r)*e+t,EaseOut:(e,t,n,r)=>-n*(e/=r)*(e-2)+t,EaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t,StrongEaseIn:(e,t,n,r)=>n*(e/=r)*e*e*e*e+t,StrongEaseOut:(e,t,n,r)=>n*((e=e/r-1)*e*e*e*e+1)+t,StrongEaseInOut:(e,t,n,r)=>(e/=r/2)<1?n/2*e*e*e*e*e+t:n/2*((e-=2)*e*e*e*e+2)+t,Linear:(e,t,n,r)=>n*e/r+t},mm=$p._assign(Bp,{Util:$p,Transform:Vp,Node:_g,Container:Tg,Stage:Xg,stages:Zg,Layer:om,FastLayer:am,Group:lm,DD:mg,Shape:nm,shapes:tm,Animation:cm,Tween:pm,Easings:gm,Context:ug,Canvas:hg});class vm extends nm{_sceneFunc(e){var t=Bp.getAngle(this.angle()),n=this.clockwise();e.beginPath(),e.arc(0,0,this.outerRadius(),0,t,n),e.arc(0,0,this.innerRadius(),t,0,!n),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}getSelfRect(){var e=this.innerRadius(),t=this.outerRadius(),n=this.clockwise(),r=Bp.getAngle(n?360-this.angle():this.angle()),i=(i=Math.cos(Math.min(r,Math.PI)))*(0i;r-=o){var a=Cm.getPointOnEllipticalArc(e.points[0],e.points[1],e.points[2],e.points[3],r,0);n.push(a.x,a.y)}else for(let r=t+o;rthis.dataArray[n].pathLength;)e-=this.dataArray[n].pathLength,++n;if(n===r)return{x:(t=this.dataArray[n-1].points.slice(-2))[0],y:t[1]};if(e<.01)return{x:(t=this.dataArray[n].points.slice(0,2))[0],y:t[1]};var i=this.dataArray[n],o=i.points;switch(i.command){case"L":return Cm.getPointOnLine(e,i.start.x,i.start.y,o[0],o[1]);case"C":return Cm.getPointOnCubicBezier(e/i.pathLength,i.start.x,i.start.y,o[0],o[1],o[2],o[3],o[4],o[5]);case"Q":return Cm.getPointOnQuadraticBezier(e/i.pathLength,i.start.x,i.start.y,o[0],o[1],o[2],o[3]);case"A":var a=o[0],l=o[1],s=o[2],c=o[3],u=o[4],d=o[5],f=o[6];return u+=d*e/i.pathLength,Cm.getPointOnEllipticalArc(a,l,s,c,u,f)}return null}static getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}static getPointOnLine(e,t,n,r,i,o,a){void 0===o&&(o=t),void 0===a&&(a=n);var l,s,c=(i-n)/(r-t+1e-8),u=Math.sqrt(e*e/(1+c*c)),d=(r{this._setImageLoad()})),this._setImageLoad()}_setImageLoad(){const e=this.image();e&&e.complete||e&&4===e.readyState||e&&e.addEventListener&&e.addEventListener("load",(()=>{this._requestDraw()}))}_useBufferCanvas(){return super._useBufferCanvas(!0)}_sceneFunc(e){var t,n,r=this.getWidth(),i=this.getHeight(),o=this.attrs.image;let a;o&&(t=this.attrs.cropWidth,n=this.attrs.cropHeight,a=t&&n?[o,this.cropX(),this.cropY(),t,n,0,0,r,i]:[o,0,0,r,i]),(this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,r,i),e.closePath(),e.fillStrokeShape(this)),o&&e.drawImage.apply(e,a)}_hitFunc(e){var t=this.width(),n=this.height();e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}getWidth(){var e;return null!=(e=this.attrs.width)?e:null==(e=this.image())?void 0:e.width}getHeight(){var e;return null!=(e=this.attrs.height)?e:null==(e=this.image())?void 0:e.height}static fromURL(e,t,n=null){var r=$p.createImageElement();r.onload=function(){var e=new Sm({image:r});t(e)},r.onerror=n,r.crossOrigin="Anonymous",r.src=e}}Sm.prototype.className="Image",bp(Sm),lg.addGetterSetter(Sm,"image"),lg.addComponentsGetterSetter(Sm,"crop",["x","y","width","height"]),lg.addGetterSetter(Sm,"cropX",0,Jp()),lg.addGetterSetter(Sm,"cropY",0,Jp()),lg.addGetterSetter(Sm,"cropWidth",0,Jp()),lg.addGetterSetter(Sm,"cropHeight",0,Jp());var km=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height"],Pm="right",_m="down",Lm="left",Tm=km.length;class jm extends lm{constructor(e){super(e),this.on("add.konva",(function(e){this._addListeners(e.child),this._sync()}))}getText(){return this.find("Text")[0]}getTag(){return this.find("Tag")[0]}_addListeners(e){for(var t=this,n=function(){t._sync()},r=0;r{t=Math.min(t,e.x),n=Math.max(n,e.x),r=Math.min(r,e.y),i=Math.max(i,e.y)})),{x:t,y:r,width:n-t,height:i-r}}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}Am.prototype.className="RegularPolygon",Am.prototype._centroid=!0,Am.prototype._attrsAffectingSize=["radius"],bp(Am),lg.addGetterSetter(Am,"radius",0,Jp()),lg.addGetterSetter(Am,"sides",0,Jp());var Rm=2*Math.PI;class Dm extends nm{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,Rm,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),Rm,0,!0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}Dm.prototype.className="Ring",Dm.prototype._centroid=!0,Dm.prototype._attrsAffectingSize=["innerRadius","outerRadius"],bp(Dm),lg.addGetterSetter(Dm,"innerRadius",0,Jp()),lg.addGetterSetter(Dm,"outerRadius",0,Jp());class zm extends nm{constructor(e){super(e),this._updated=!0,this.anim=new cm((()=>{var e=this._updated;return this._updated=!1,e})),this.on("animationChange.konva",(function(){this.frameIndex(0)})),this.on("frameIndexChange.konva",(function(){this._updated=!0})),this.on("frameRateChange.konva",(function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())}))}_sceneFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,i=this.animations()[t],o=this.frameOffsets(),a=i[0+r],l=i[1+r],s=i[2+r];i=i[3+r],r=this.image();(this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,s,i),e.closePath(),e.fillStrokeShape(this)),r&&(o?(o=o[t],e.drawImage(r,a,l,s,i,o[0+(t=2*n)],o[1+t],s,i)):e.drawImage(r,a,l,s,i,0,0,s,i))}_hitFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,i=this.animations()[t],o=this.frameOffsets(),a=i[2+r];i=i[3+r];e.beginPath(),o?(r=o[t],e.rect(r[0+(o=2*n)],r[1+o],a,i)):e.rect(0,0,a,i),e.closePath(),e.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var e=this;this.interval=setInterval((function(){e._updateIndex()}),1e3/this.frameRate())}start(){var e;this.isRunning()||(e=this.getLayer(),this.anim.setLayers(e),this._setInterval(),this.anim.start())}stop(){this.anim.stop(),clearInterval(this.interval)}isRunning(){return this.anim.isRunning()}_updateIndex(){var e=this.frameIndex(),t=this.animation();e{var t=0<=(e=e.trim()).indexOf(" "),n=0<=e.indexOf('"')||0<=e.indexOf("'");return t&&!n?`"${e}"`:e})).join(", ")}_addTextLine(e){this.align()===Vm&&(e=e.trim());var t=this._getTextWidth(e);return this.textArr.push({text:e,width:t})}_getTextWidth(e){var t=this.letterSpacing(),n=e.length;return Um().measureText(e).width+(n?t*(n-1):0)}_setTextData(){for(var e=this.text().split("\n"),t=+this.fontSize(),n=0,r=this.lineHeight()*t,i=this.attrs.width,o=this.attrs.height,a=i!==Bm&&void 0!==i,l=o!==Bm&&void 0!==o,s=this.padding(),c=i-2*s,u=o-2*s,d=0,f="none"!==(i=this.wrap()),h="char"!==i&&f,p=this.ellipsis(),g=(this.textArr=[],Um().font=this._getContextFont(),p?this._getTextWidth("…"):0),m=0,v=e.length;m>>1,S=y.slice(0,1+O),k=this._getTextWidth(S)+g;k<=c?(w=1+O,x=S,E=k):C=O}if(!x)break;if(!h||0<(P=(" "===(P=y[x.length])||"-"===P)&&E<=c?x.length:Math.max(x.lastIndexOf(" "),x.lastIndexOf("-"))+1)&&(w=P,x=x.slice(0,w),E=this._getTextWidth(x)),x=x.trimRight(),this._addTextLine(x),n=Math.max(n,E),d+=r,!f||l&&ui?c=Cm.getPointOnLine(i,s.x,s.y,u.points[0],u.points[1],s.x,s.y):u=void 0;break;case"A":var v=u.points[4],y=u.points[5],b=u.points[4]+y;0===p?p=v+1e-8:lu.pathLength?1e-8:i/u.pathLength:le+"."+$m)).join(" "),Qm="nodesRect",Jm=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],ev={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135};const tv="ontouchstart"in Bp._global;var nv=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function rv(e,t,n){var r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t);n=n.y+(e.x-n.x)*Math.sin(t)+(e.y-n.y)*Math.cos(t);return Object.assign(Object.assign({},e),{rotation:e.rotation+t,x:r,y:n})}class iv extends lm{constructor(e){super(e),this._transforming=!1,this._createElements(),this._handleMouseMove=this._handleMouseMove.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this.update=this.update.bind(this),this.on(Km,this.update),this.getNode()&&this.update()}attachTo(e){return this.setNode(e),this}setNode(e){return $p.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."),this.setNodes([e])}getNode(){return this._nodes&&this._nodes[0]}_getEventNamespace(){return $m+this._id}setNodes(e=[]){return this._nodes&&this._nodes.length&&this.detach(),1===(this._nodes=e).length&&this.useSingleNodeRotation()?this.rotation(e[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((e=>{var t=()=>{1===this.nodes().length&&this.useSingleNodeRotation()&&this.rotation(this.nodes()[0].getAbsoluteRotation()),this._resetTransformCache(),this._transforming||this.isDragging()||this.update()},n=e._attrsAffectingSize.map((e=>e+"Change."+this._getEventNamespace())).join(" ");e.on(n,t),e.on(Jm.map((e=>e+"."+this._getEventNamespace())).join(" "),t),e.on("absoluteTransformChange."+this._getEventNamespace(),t),this._proxyDrag(e)})),this._resetTransformCache(),!this.findOne(".top-left")||this.update(),this}_proxyDrag(e){let t;e.on("dragstart."+this._getEventNamespace(),(n=>{t=e.getAbsolutePosition(),this.isDragging()||e===this.findOne(".back")||this.startDrag(n,!1)})),e.on("dragmove."+this._getEventNamespace(),(n=>{if(t){var r=e.getAbsolutePosition();const i=r.x-t.x,o=r.y-t.y;this.nodes().forEach((t=>{var r;t===e||t.isDragging()||(r=t.getAbsolutePosition(),t.setAbsolutePosition({x:r.x+i,y:r.y+o}),t.startDrag(n))})),t=null}}))}getNodes(){return this._nodes||[]}getActiveAnchor(){return this._movingAnchorName}detach(){this._nodes&&this._nodes.forEach((e=>{e.off("."+this._getEventNamespace())})),this._nodes=[],this._resetTransformCache()}_resetTransformCache(){this._clearCache(Qm),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(Qm,this.__getNodeRect)}__getNodeShape(e,t=this.rotation(),n){var r=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),i=e.getAbsoluteScale(n),o=(n=e.getAbsolutePosition(n),r.x*i.x-e.offsetX()*i.x),a=r.y*i.y-e.offsetY()*i.y;e=(Bp.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return rv({x:n.x+o*Math.cos(e)+a*Math.sin(-e),y:n.y+a*Math.cos(e)+o*Math.sin(e),width:r.width*i.x,height:r.height*i.y,rotation:e},-Bp.getAngle(t),{x:0,y:0})}__getNodeRect(){var e,t,n,r;if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};const i=[],o=(this.nodes().map((e=>{var t=[{x:(t=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()})).x,y:t.y},{x:t.x+t.width,y:t.y},{x:t.x+t.width,y:t.y+t.height},{x:t.x,y:t.y+t.height}],n=e.getAbsoluteTransform();t.forEach((function(e){e=n.point(e),i.push(e)}))})),new Vp);o.rotate(-Bp.getAngle(this.rotation())),i.forEach((function(i){i=o.point(i),void 0===e&&(e=n=i.x,t=r=i.y),e=Math.min(e,i.x),t=Math.min(t,i.y),n=Math.max(n,i.x),r=Math.max(r,i.y)})),o.invert();var a=o.point({x:e,y:t});return{x:a.x,y:a.y,width:n-e,height:r-t,rotation:Bp.getAngle(this.rotation())}}getX(){return this._getNodeRect().x}getY(){return this._getNodeRect().y}getWidth(){return this._getNodeRect().width}getHeight(){return this._getNodeRect().height}_createElements(){this._createBack(),nv.forEach(function(e){this._createAnchor(e)}.bind(this)),this._createAnchor("rotater")}_createAnchor(e){var t=new Mm({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:tv?10:"auto"}),n=this;t.on("mousedown touchstart",(function(e){n._handleMouseDown(e)})),t.on("dragstart",(e=>{t.stopDrag(),e.cancelBubble=!0})),t.on("dragend",(e=>{e.cancelBubble=!0})),t.on("mouseenter",(()=>{var n,r=(r=r=Bp.getAngle(this.rotation()),"rotater"===(n=e)?"crosshair":(r+=$p.degToRad(ev[n]||0),n=($p.radToDeg(r)%360+360)%360,$p._inRange(n,337.5,360)||$p._inRange(n,0,22.5)?"ns-resize":$p._inRange(n,22.5,67.5)?"nesw-resize":$p._inRange(n,67.5,112.5)?"ew-resize":$p._inRange(n,112.5,157.5)?"nwse-resize":$p._inRange(n,157.5,202.5)?"ns-resize":$p._inRange(n,202.5,247.5)?"nesw-resize":$p._inRange(n,247.5,292.5)?"ew-resize":$p._inRange(n,292.5,337.5)?"nwse-resize":($p.error("Transformer has unknown angle for cursor detection: "+n),"pointer")));t.getStage().content&&(t.getStage().content.style.cursor=r),this._cursorChange=!0})),t.on("mouseout",(()=>{t.getStage().content&&(t.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(t)}_createBack(){var e=new nm({name:"back",width:0,height:0,draggable:!0,sceneFunc(e){var t=this.getParent(),n=t.padding();e.beginPath(),e.rect(-n,-n,this.width()+2*n,this.height()+2*n),e.moveTo(this.width()/2,-n),t.rotateEnabled()&&e.lineTo(this.width()/2,-t.rotateAnchorOffset()*$p._sign(this.height())-n),e.fillStrokeShape(this)},hitFunc:(e,t)=>{var n;this.shouldOverdrawWholeArea()&&(n=this.padding(),e.beginPath(),e.rect(-n,-n,t.width()+2*n,t.height()+2*n),e.fillStrokeShape(t))}});this.add(e),this._proxyDrag(e),e.on("dragstart",(e=>{e.cancelBubble=!0})),e.on("dragmove",(e=>{e.cancelBubble=!0})),e.on("dragend",(e=>{e.cancelBubble=!0})),this.on("dragmove",(e=>{this.update()}))}_handleMouseDown(e){this._movingAnchorName=e.target.name().split(" ")[0];var t=(n=this._getNodeRect()).width,n=n.height,r=Math.sqrt(Math.pow(t,2)+Math.pow(n,2));this.sin=Math.abs(n/r),this.cos=Math.abs(t/r),"undefined"!=typeof window&&(window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0)),this._transforming=!0,n=e.target.getAbsolutePosition(),t=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:t.x-n.x,y:t.y-n.y},this._fire("transformstart",{evt:e,target:this.getNode()}),this._nodes.forEach((t=>{t._fire("transformstart",{evt:e,target:t})}))}_handleMouseMove(e){var t=this.findOne("."+this._movingAnchorName);let n={x:(r=((r=t.getStage()).setPointersPositions(e),r.getPointerPosition())).x-this._anchorDragOffset.x,y:r.y-this._anchorDragOffset.y};var r=t.getAbsolutePosition(),i=(this.anchorDragBoundFunc()&&(n=this.anchorDragBoundFunc()(r,n,e)),t.setAbsolutePosition(n),t.getAbsolutePosition());if(r.x!==i.x||r.y!==i.y)if("rotater"===this._movingAnchorName){r=this._getNodeRect();var o=t.x()-r.width/2,a=-t.y()+r.height/2;let n=Math.atan2(-a,o)+Math.PI/2;r.height<0&&(n-=Math.PI);i=Bp.getAngle(this.rotation())+n;var l=Bp.getAngle(this.rotationSnapTolerance());i=function(e,t){var n={x:(n=e).x+n.width/2*Math.cos(n.rotation)+n.height/2*Math.sin(-n.rotation),y:n.y+n.height/2*Math.cos(n.rotation)+n.width/2*Math.sin(n.rotation)};return rv(e,t,n)}(r,function(e,t,n){let r=t;for(let a=0;af.x?-1:1,d=this.findOne(".top-left").y()>f.y?-1:1,o=u*this.cos*c,a=u*this.sin*d,this.findOne(".top-left").x(f.x-o),this.findOne(".top-left").y(f.y-a)):"top-center"===this._movingAnchorName?this.findOne(".top-left").y(t.y()):"top-right"===this._movingAnchorName?(l&&(f=r?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()},u=Math.sqrt(Math.pow(t.x()-f.x,2)+Math.pow(f.y-t.y(),2)),c=this.findOne(".top-right").x()f.y?-1:1,o=u*this.cos*c,a=u*this.sin*d,this.findOne(".top-right").x(f.x+o),this.findOne(".top-right").y(f.y-a)),s=t.position(),this.findOne(".top-left").y(s.y),this.findOne(".bottom-right").x(s.x)):"middle-left"===this._movingAnchorName?this.findOne(".top-left").x(t.x()):"middle-right"===this._movingAnchorName?this.findOne(".bottom-right").x(t.x()):"bottom-left"===this._movingAnchorName?(l&&(f=r?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()},u=Math.sqrt(Math.pow(f.x-t.x(),2)+Math.pow(t.y()-f.y,2)),c=f.x{t._fire("transformend",{evt:e,target:t})})),this._movingAnchorName=null)}_fitNodesInto(e,t){var n=this._getNodeRect();if($p._inRange(e.width,2*-this.padding()-1,1))this.update();else if($p._inRange(e.height,2*-this.padding()-1,1))this.update();else{var r=this.flipEnabled(),i=new Vp;if(i.rotate(Bp.getAngle(this.rotation())),this._movingAnchorName&&e.width<0&&0<=this._movingAnchorName.indexOf("left")){var o=i.point({x:2*-this.padding(),y:0});if(e.x+=o.x,e.y+=o.y,e.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=o.x,this._anchorDragOffset.y-=o.y,!r)return void this.update()}else if(this._movingAnchorName&&e.width<0&&0<=this._movingAnchorName.indexOf("right")&&(o=i.point({x:2*this.padding(),y:0}),this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=o.x,this._anchorDragOffset.y-=o.y,e.width+=2*this.padding(),!r))return void this.update();if(this._movingAnchorName&&e.height<0&&0<=this._movingAnchorName.indexOf("top")){if(o=i.point({x:0,y:2*-this.padding()}),e.x+=o.x,e.y+=o.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=o.x,this._anchorDragOffset.y-=o.y,e.height+=2*this.padding(),!r)return void this.update()}else if(this._movingAnchorName&&e.height<0&&0<=this._movingAnchorName.indexOf("bottom")&&(o=i.point({x:0,y:2*this.padding()}),this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=o.x,this._anchorDragOffset.y-=o.y,e.height+=2*this.padding(),!r))return void this.update();this.boundBoxFunc()&&((i=this.boundBoxFunc()(n,e))?e=i:$p.warn("boundBoxFunc returned falsy. You should return new bound rect from it!"));const a=new Vp,l=(a.translate(n.x,n.y),a.rotate(n.rotation),a.scale(n.width/1e7,n.height/1e7),new Vp),s=(l.translate(e.x,e.y),l.rotate(e.rotation),l.scale(e.width/1e7,e.height/1e7),l.multiply(a.invert()));this._nodes.forEach((e=>{const n=e.getParent().getAbsoluteTransform(),r=e.getTransform().copy(),i=(r.translate(e.offsetX(),e.offsetY()),new Vp);i.multiply(n.copy().invert()).multiply(s).multiply(n).multiply(r);var o=i.decompose();e.setAttrs(o),this._fire("transform",{evt:t,target:e}),e._fire("transform",{evt:t,target:e}),null!=(o=e.getLayer())&&o.batchDraw()})),this.rotation($p._getRotation(e.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}}forceUpdate(){this._resetTransformCache(),this.update()}_batchChangeChild(e,t){this.findOne(e).setAttrs(t)}update(){var e=this._getNodeRect(),t=(this.rotation($p._getRotation(e.rotation)),e.width),n=(e=e.height,this.enabledAnchors()),r=this.resizeEnabled(),i=this.padding(),o=this.anchorSize();this.find("._anchor").forEach((e=>{e.setAttrs({width:o,height:o,offsetX:o/2,offsetY:o/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:o/2+i,offsetY:o/2+i,visible:r&&0<=n.indexOf("top-left")}),this._batchChangeChild(".top-center",{x:t/2,y:0,offsetY:o/2+i,visible:r&&0<=n.indexOf("top-center")}),this._batchChangeChild(".top-right",{x:t,y:0,offsetX:o/2-i,offsetY:o/2+i,visible:r&&0<=n.indexOf("top-right")}),this._batchChangeChild(".middle-left",{x:0,y:e/2,offsetX:o/2+i,visible:r&&0<=n.indexOf("middle-left")}),this._batchChangeChild(".middle-right",{x:t,y:e/2,offsetX:o/2-i,visible:r&&0<=n.indexOf("middle-right")}),this._batchChangeChild(".bottom-left",{x:0,y:e,offsetX:o/2+i,offsetY:o/2-i,visible:r&&0<=n.indexOf("bottom-left")}),this._batchChangeChild(".bottom-center",{x:t/2,y:e,offsetY:o/2-i,visible:r&&0<=n.indexOf("bottom-center")}),this._batchChangeChild(".bottom-right",{x:t,y:e,offsetX:o/2-i,offsetY:o/2-i,visible:r&&0<=n.indexOf("bottom-right")}),this._batchChangeChild(".rotater",{x:t/2,y:-this.rotateAnchorOffset()*$p._sign(e)-i,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:t,height:e,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),null!=(r=this.getLayer())&&r.batchDraw()}isTransforming(){return this._transforming}stopTransform(){var e;this._transforming&&(this._removeEvents(),(e=this.findOne("."+this._movingAnchorName))&&e.stopDrag())}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),lm.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return _g.prototype.toObject.call(this)}}iv.prototype.className="Transformer",bp(iv),lg.addGetterSetter(iv,"enabledAnchors",nv,(function(e){return e instanceof Array||$p.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===nv.indexOf(e)&&$p.warn("Unknown anchor name: "+e+". Available names are: "+nv.join(", "))})),e||[]})),lg.addGetterSetter(iv,"flipEnabled",!0,ig()),lg.addGetterSetter(iv,"resizeEnabled",!0),lg.addGetterSetter(iv,"anchorSize",10,Jp()),lg.addGetterSetter(iv,"rotateEnabled",!0),lg.addGetterSetter(iv,"rotationSnaps",[]),lg.addGetterSetter(iv,"rotateAnchorOffset",50,Jp()),lg.addGetterSetter(iv,"rotationSnapTolerance",5,Jp()),lg.addGetterSetter(iv,"borderEnabled",!0),lg.addGetterSetter(iv,"anchorStroke","rgb(0, 161, 255)"),lg.addGetterSetter(iv,"anchorStrokeWidth",1,Jp()),lg.addGetterSetter(iv,"anchorFill","white"),lg.addGetterSetter(iv,"anchorCornerRadius",0,Jp()),lg.addGetterSetter(iv,"borderStroke","rgb(0, 161, 255)"),lg.addGetterSetter(iv,"borderStrokeWidth",1,Jp()),lg.addGetterSetter(iv,"borderDash"),lg.addGetterSetter(iv,"keepRatio",!0),lg.addGetterSetter(iv,"centeredScaling",!1),lg.addGetterSetter(iv,"ignoreStroke",!1),lg.addGetterSetter(iv,"padding",0,Jp()),lg.addGetterSetter(iv,"node"),lg.addGetterSetter(iv,"nodes"),lg.addGetterSetter(iv,"boundBoxFunc"),lg.addGetterSetter(iv,"anchorDragBoundFunc"),lg.addGetterSetter(iv,"shouldOverdrawWholeArea",!1),lg.addGetterSetter(iv,"useSingleNodeRotation",!0),lg.backCompat(iv,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class ov extends nm{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.radius(),0,Bp.getAngle(this.angle()),this.clockwise()),e.lineTo(0,0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}function av(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}ov.prototype.className="Wedge",ov.prototype._centroid=!0,ov.prototype._attrsAffectingSize=["radius"],bp(ov),lg.addGetterSetter(ov,"radius",0,Jp()),lg.addGetterSetter(ov,"angle",0,Jp()),lg.addGetterSetter(ov,"clockwise",!1),lg.backCompat(ov,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});var lv=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],sv=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function cv(e,t,n,r,i){return i-=r,0==(n-=t)?r+i/2:0==i?r:i*((e-t)/n)+r}function uv(e,t,n){return n=4*(n*e.width+t),(t=[]).push(e.data[n++],e.data[n++],e.data[n++],e.data[+n]),t}function dv(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2))}lg.addGetterSetter(_g,"blurRadius",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"brightness",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"contrast",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"embossStrength",.5,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"embossWhiteLevel",.5,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"embossDirection","top-left",null,lg.afterSetFilter),lg.addGetterSetter(_g,"embossBlend",!1,null,lg.afterSetFilter),lg.addGetterSetter(_g,"enhance",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"hue",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"saturation",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"luminance",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"hue",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"saturation",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"value",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"kaleidoscopePower",2,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"kaleidoscopeAngle",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"threshold",0,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"noise",.2,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"pixelSize",8,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"levels",.5,Jp(),lg.afterSetFilter),lg.addGetterSetter(_g,"red",0,(function(e){return this._filterUpToDate=!1,255>F,0!==E?(k[a]=(s*H>>F)*(E=255/E),k[a+1]=(c*H>>F)*E,k[a+2]=(u*H>>F)*E):k[a]=k[a+1]=k[a+2]=0,s-=f,c-=h,u-=p,d-=g,f-=z.r,h-=z.g,p-=z.b,g-=z.a,i=l+((i=n+S+1)>F,0>F)*(E=255/E),k[i+1]=(c*H>>F)*E,k[i+2]=(u*H>>F)*E):k[i]=k[i+1]=k[i+2]=0,s-=f,c-=h,u-=p,d-=g,f-=z.r,h-=z.g,p-=z.b,g-=z.a,i=n+((i=r+I)L?(T=_,_=null):T=_.sibling;var j=m(w,_,x[L],E);if(null===j){null===_&&(_=T);break}e&&_&&null===j.alternate&&t(w,_),C=a(j,C,L),null===S?O=j:S.sibling=j,S=j,_=T}if(L===x.length)return n(w,_),O;if(null===_){for(;LH?(F=N,N=null):F=N.sibling;var V=m(I,N,B.value,R);if(null===V){null===N&&(N=F);break}e&&N&&null===V.alternate&&t(I,N),M=a(V,M,H),null===z?D=V:z.sibling=V,z=V,N=F}if(B.done)return n(I,N),D;if(null===N){for(;!B.done;H++,B=A.next())null!==(B=g(I,B.value,R))&&(M=a(B,M,H),null===z?D=B:z.sibling=B,z=B);return D}for(N=r(I,N);!B.done;H++,B=A.next())null!==(B=v(N,I,H,B.value,R))&&(e&&null!==B.alternate&&N.delete(null===B.key?H:B.key),M=a(B,M,H),null===z?D=B:z.sibling=B,z=B);return e&&N.forEach((function(e){return t(I,e)})),D}if(b&&Ln(d,h),void 0===h&&!y)switch(d.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,P(d.type)||"Component"))}return n(d,f)}}var jn=Tn(!0),In=Tn(!1),Mn={},An=Ke(Mn),Rn=Ke(Mn),Dn=Ke(Mn);function zn(e){if(e===Mn)throw Error(o(174));return e}function Nn(e,t){Je(Dn,t),Je(Rn,e),Je(An,Mn),e=R(t),Qe(An),Je(An,e)}function Hn(){Qe(An),Qe(Rn),Qe(Dn)}function Fn(e){var t=zn(Dn.current),n=zn(An.current);n!==(t=D(n,e.type,t))&&(Je(Rn,e),Je(An,t))}function Bn(e){Rn.current===e&&(Qe(An),Qe(Rn))}var Vn=Ke(0);function Wn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||ze(n)||Ne(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t=(t.child.return=t).child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gn=null,Un=null,Zn=!1;function Xn(e,t){var n=oa(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Yn(e,t){switch(e.tag){case 5:return null!==(t=Re(t,e.type,e.pendingProps))&&(e.stateNode=t,1);case 6:return null!==(t=De(t,e.pendingProps))&&(e.stateNode=t,1);default:return}}function qn(e){if(Zn){var t=Un;if(t){var n=t;if(!Yn(e,t)){if(!(t=He(n))||!Yn(e,t))return e.flags=-1025&e.flags|2,Zn=!1,void(Gn=e);Xn(Gn,n)}Gn=e,Un=Fe(t)}else e.flags=-1025&e.flags|2,Zn=!1,Gn=e}}function $n(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gn=e}function Kn(e){if(K&&e===Gn){if(!Zn)return $n(e),Zn=!0,0;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!W(t,e.memoizedProps))for(t=Un;t;)Xn(e,t),t=He(t);if($n(e),13===e.tag){if(!K)throw Error(o(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));Un=We(e)}else Un=Gn?He(e.stateNode):null;return 1}}function Qn(){K&&(Un=Gn=null,Zn=!1)}var Jn=[];function er(){for(var e=0;e";case ji:return":has("+(zi(e)||"")+")";case Ii:return'[role="'+e.value+'"]';case Ai:return'"'+e.value+'"';case Mi:return'[data-testname="'+e.value+'"]';default:throw Error(o(365,e))}}function Ni(e,t){var n=[];e=[e,0];for(var r=0;r component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ki&&(Ki=2),l=di(l,b),p=a;do{switch(p.tag){case 3:o=l,p.flags|=4096,t&=-t,p.lanes|=t,vn(p,pi(0,o,t));break e;case 1:o=l;var C=p.type,x=p.stateNode;if(0==(64&p.flags)&&("function"==typeof C.getDerivedStateFromError||null!==x&&"function"==typeof x.componentDidCatch&&(null===uo||!uo.has(x)))){p.flags|=4096,t&=-t,p.lanes|=t,vn(p,gi(p,o,t));break e}}}while(null!==(p=p.return))}Vo(n)}catch(E){t=E,Xi===n&&null!==n&&(Xi=n=n.return);continue}break}}function Ho(){var e=Vi.current;return Vi.current=Rr,null===e?Rr:e}function Fo(e,t){var n=Ui,r=(Ui|=16,Ho());for(Zi===e&&Yi===t||zo(e,t);;)try{for(;null!==Xi;)Bo(Xi);break}catch(i){No(e,i)}if(an(),Ui=n,Vi.current=r,null!==Xi)throw Error(o(261));return Zi=null,Yi=0,Ki}function Bo(e){var t=$o(e.alternate,e,qi);e.memoizedProps=e.pendingProps,null===t?Vo(e):Xi=t,Wi.current=null}function Vo(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ot(t.type)&&at(),null;case 3:return Hn(),Qe(nt),Qe(tt),er(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Kn(t)?ci(t):r.hydrate||(t.flags|=256)),Jr(t),null;case 5:Bn(t);var i=zn(Dn.current);if(n=t.type,null!==e&&null!=t.stateNode)ei(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=zn(An.current),Kn(t)){if(!K)throw Error(o(175));e=Be(t.stateNode,t.type,t.memoizedProps,i,e,t),null!==(t.updateQueue=e)&&ci(t)}else{var a=H(n,r,i,e,t);Kr(a,t,!1,!1),t.stateNode=a,B(a,n,r,i,e)&&ci(t)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ti(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(e=zn(Dn.current),i=zn(An.current),Kn(t)){if(!K)throw Error(o(176));Ve(t.stateNode,t.memoizedProps,t)&&ci(t)}else t.stateNode=G(r,e,i,t)}return null;case 13:return Qe(Vn),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,i=!1,null===e?void 0!==t.memoizedProps.fallback&&Kn(t):i=null!==e.memoizedState,r&&!i&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vn.current)?0===Ki&&(Ki=3):(0!==Ki&&3!==Ki||(Ki=4),null===Zi||0==(134217727&eo)&&0==(134217727&to)||jo(Zi,Yi))),$&&r&&(t.flags|=4),q&&(r||i)&&(t.flags|=4),null);case 4:return Hn(),Jr(t),null===e&&re(t.stateNode.containerInfo),null;case 10:return sn(t),null;case 19:if(Qe(Vn),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)ui(r,!1);else{if(0!==Ki||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Wn(e))){for(t.flags|=64,ui(r,!1),null!==(e=a.updateQueue)&&(t.updateQueue=e,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,e=n,r=t.child;null!==r;)n=e,(i=r).flags&=2,i.nextEffect=null,i.firstEffect=null,(i.lastEffect=null)===(a=i.alternate)?(i.childLanes=0,i.lanes=n,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,n=a.dependencies,i.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext}),r=r.sibling;return Je(Vn,1&Vn.current|2),t.child}e=e.sibling}null!==r.tail&&Wt()>oo&&(t.flags|=64,ui(r,!(i=!0)),t.lanes=33554432)}else{if(!i)if(null!==(e=Wn(a))){if(t.flags|=64,i=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),ui(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Zn)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wt()-r.renderingStartTime>oo&&1073741824!==n&&(t.flags|=64,ui(r,!(i=!0)),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wt(),e.sibling=null,t=Vn.current,Je(Vn,i?1&t|2:1&t),e):null;case 23:case 24:return Do(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}(n,t,qi)))return void(Xi=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&qi)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1 ")+"\n\nNo matching component was found for:\n "+e.join(" > ")}return null},t.getPublicRootInstance=function(e){return(e=e.current).child?5!==e.child.tag?e.child.stateNode:A(e.child.stateNode):null},t.injectIntoDevTools=function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:a.ReactCurrentDispatcher,findHostInstanceByFiber:va,findFiberByHostInstance:e.findFiberByHostInstance||ya,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t.isDisabled&&t.supportsFiber)try{dt=t.inject(e),ft=t}catch(n){}e=!0}return e},t.observeVisibleRects=function(e,t,n,r){if(!ie)throw Error(o(363));e=Hi(e,t);var i=de(e,n,r).disconnect;return{disconnect:function(){i()}}},t.registerMutableSourceForHydration=function(e,t){var n=(n=t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},t.runWithPriority=function(e,t){var n=ht;try{return ht=e,t()}finally{ht=n}},t.shouldSuspend=function(){return!1},t.unbatchedUpdates=function(e,t){var n=Ui;Ui=-2&Ui|8;try{return e(t)}finally{0===(Ui=n)&&(ao(),Yt())}},t.updateContainer=function(e,t,n,r){var i=t.current,a=So(),l=ko(i);e:if(n){t:{if(_(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ot(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}}while(null!==(s=s.return));throw Error(o(171))}if(1===n.tag){var c=n.type;if(ot(c)){n=st(n,c,s);break e}}n=s}else n=et;return null===t.context?t.context=n:t.pendingContext=n,(t=gn(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),mn(i,t),Po(i,l,a),l},t},pv.exports=Ur.exports,pv.exports),{children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0}),mv=!1,vv=!1,yv=".react-konva-event",bv=!1,wv={};function Cv(e,t){var n,r,i,o=2=t?255:0,n[i+1]=n[i+1]>=t?255:0,n[i+2]=n[i+2]>=t?255:0)}}),jb=function(e){return Array.isArray(e)&&0>>32-t}function _C(e){for(var t="",n=7;0<=n;n--)t+=(15&e>>>4*n).toString(16);return t}function LC(e){for(var t,n,r,i,o,a,l,s,c=e,u=Array(80),d=1732584193,f=4023233417,h=2562383102,p=271733878,g=3285377520,m=(c=function(e){for(var t,n=e.replace(/\r\n/g,"\n"),r="",i=0;i>6):r=(r+=String.fromCharCode(224|t>>12))+String.fromCharCode(128|63&t>>6),r+=String.fromCharCode(128|63&t));return r}(c)).length,v=[],y=0;y>>29),v.push(4294967295&m<<3),t=0;t input{border:0px;clip:rect(0px,0px,0px,0px);height:100%;margin:-1px;overflow:hidden;padding:0px;position:absolute;white-space:nowrap;width:100%;direction:ltr;}&::before{position:absolute;content:'';border-radius:inherit;width:100%;height:100%;box-shadow:0px 3px 1px -2px rgb(0 0 0 / 20%),0px 2px 2px 0px rgb(0 0 0 / 14%),0px 1px 5px 0px rgb(0 0 0 / 12%);}&::after{position:absolute;content:'';border-radius:50%;width:42px;height:42px;top:50%;left:50%;transform:translate(-50%,-50%);}"]),pv=fe.span.attrs({className:Fh(a,"label")}).withConfig({componentId:"sc-jjink6-4"})((function(e){var t=e.theme,n=e.open;return Vd(["display:flex;align-items:center;justify-content:center;padding:6px 6px;border-radius:2px;position:absolute;top:-10px;font-size:10px;z-index:1;white-space:nowrap;transition:transform 150ms cubic-bezier(0.4,0,0.2,1) 0ms;transform-origin:bottom center;transform:",";background-color:",";color:#fff;cursor:pointer;&::before{position:absolute;content:'';background-color:inherit;width:8px;height:8px;bottom:0px;left:50%;transform:translate(-50%,50%) rotate(45deg);}"],void 0!==n&&n?"translateY(-100%) scale(1)":"translateY(-100%) scale(0)",void 0!==(e=e.disabled)&&e?t.palette[pp.AccentPrimaryDisabled]:t.palette[pp.LinkHover])})),Wh({Slider:qC,Rail:$C,Track:bp,Thumb:Ur,SliderAnnotation:fe.div.attrs({className:Fh(a,"annotation")}).withConfig({componentId:"sc-jjink6-5"})((function(e){return Vd(["display:flex;justify-content:space-between;margin-top:12px;color:",";"],e.theme.palette[pp.TextSecondary])})),LabelTooltip:pv})),QC=["defaultValue","disabled","disableSwap","hideTrack","hideAnnotation","value","min","max","onChange","onMouseDown","onMouseUp","step","labelTooltip","annotation","components","componentsProps"];function JC(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ex(e){for(var t=1;tg[E]&&(S=Kx(S)),Kx(S)),E=[];if(i&&E.push(O[C]<=0),o&&E.push(O[S]<=0,O[x]<=0),E.every((function(e){return e}))){y=w,v=!1;break}m.set(w,E)}if(v)for(var k=d?3:1;0u.width||n.height>u.height?TE(u,n):1}})),r()}var n=e.anchorEl,r=e.onClose,i=(e=jw()).dispatch,o=e.t,a=(f=void 0===(f=(f=void 0===(f=e.adjustments)?{}:f).crop)?{}:f).ratio,s=f.ratioTitleKey,c=f.ratioFolderKey,u=e.shownImageDimensions,d=e.config[Vv.CROP],f=l.exports.useMemo((function(){var e=void 0===(e=d.presetsItems)?[]:e,t=d.presetsFolders;return[].concat(Mp(void 0===t?[]:t),Mp(oO),Mp(e))}),[d]);return he.createElement(he.Fragment,null,he.createElement(fw,{className:"FIE_crop-tool-label FIE_selected-crop-preset-label"},o(s||"cropTool")),he.createElement(qE,{className:"FIE_crop-presets-opener-button",color:"link",size:"lg"},n?he.createElement(he.Fragment,null,"▴"):he.createElement(he.Fragment,null,"▾")),he.createElement(IE,{className:"FIE_crop-presets-menu",anchorEl:n,enableOverlay:!0,onClose:r,open:!!n,position:"top"},f.map((function(e){var n=e.titleKey,r=e.descriptionKey,i=e.ratio,l=e.width,s=e.height,u=e.groups,d=e.icon;e=e.disableManualResize;return u?he.createElement(UO,{key:n,titleKey:n,groups:u,Icon:d,onItemSelect:t,prefixIconDimensions:KO,t:o,disableManualResize:e}):he.createElement(HO,{key:i,ratio:null!=i?i:RC(l/s),titleKey:n,t:o,description:o(r),Icon:d,isActive:a===(null!=i?i:RC(l/s))&&!c,width:l,height:s,onClick:t,disableManualResize:e})}))))}function XO(e){var t=e.selectTool,n=(e=e.isSelected,(r=jw()).config),r=r.t,i=zp(l.exports.useState(),2),o=i[0],a=i[1];return he.createElement(pw,{className:"FIE_crop-tool",id:Vv.CROP,Icon:ux,onClick:function(e,n){t(e),a(n.currentTarget)},isSelected:e},n[Vv.CROP].noPresets?he.createElement(fw,{className:"FIE_crop-tool-label"},r("cropTool")):he.createElement(ZO,{anchorEl:o,onClose:function(){a(null)}}))}function YO(e){var t=e.selectTool,n=e.isSelected,r=e.t,i=(e=jw()).dispatch,o=e.adjustments.isFlippedX,a=(e=l.exports.useMemo((function(){return{reverseLabelOfCurrXFlipDir:r(o?"unFlipX":"flipX"),reverseIconOfCurrXFlipDir:function(){return he.createElement(JO,{style:o?eS:void 0})}}}),[o])).reverseLabelOfCurrXFlipDir,s=(e=e.reverseIconOfCurrXFlipDir,l.exports.useCallback((function(){i({type:lT,payload:{direction:"X"}})}),[])),c=l.exports.useCallback((function(e){t(e),s()}),[]);return he.createElement(pw,{className:"FIE_flip-x-tool-button",id:Vv.FLIP_X,label:a,Icon:e,onClick:c,isSelected:n})}function qO(e){var t=e.selectTool,n=e.isSelected,r=e.t,i=(e=jw()).dispatch,o=e.adjustments.isFlippedY,a=(e=l.exports.useMemo((function(){return{reverseLabelOfCurrXFlipDir:r(o?"unFlipY":"flipY"),reverseIconOfCurrXFlipDir:function(){return he.createElement(nS,{style:o?rS:void 0})}}}),[o])).reverseLabelOfCurrXFlipDir,s=(e=e.reverseIconOfCurrXFlipDir,l.exports.useCallback((function(){i({type:lT,payload:{direction:"Y"}})}),[])),c=l.exports.useCallback((function(e){t(e),s()}),[]);return he.createElement(pw,{className:"FIE_flip-y-tool-button",id:Vv.FLIP_Y,label:a,Icon:e,onClick:c,isSelected:n})}function $O(e){var t=e.selectTool,n=e.isSelected;e=e.t;return he.createElement(pw,{className:"FIE_rotate-tool-button",id:Vv.ROTATE,label:e("rotateTool"),Icon:oS,onClick:t,isSelected:n})}HO.defaultProps={Icon:void 0,width:void 0,height:void 0,disableManualResize:!1},UO.defaultProps={Icon:void 0};var KO={height:16,width:16},QO=(XO.defaultProps={isSelected:!(ZO.defaultProps={anchorEl:null})},["color","size"]),JO=Kb((function(e,t){var n=void 0===(n=e.color)?"currentColor":n,r=void 0===(r=e.size)?14:r;e=Yc(e,QO);return he.createElement("svg",$b({ref:t,width:r,height:r,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),he.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.0625 1.93758C24.0625 1.22909 23.5858 0.609274 22.901 0.427427C22.2163 0.245581 21.4949 0.547225 21.1434 1.16237L1.14337 39.2874C0.867028 39.771 0.869012 40.3651 1.14858 40.8468C1.42814 41.3286 1.94302 41.6251 2.5 41.6251H22.5C23.3629 41.6251 24.0625 40.9255 24.0625 40.0626V1.93758ZM20.9375 38.5001H5.19247L20.9375 7.82128V38.5001Z",fill:n}),he.createElement("path",{d:"M28.8566 1.16237C28.5051 0.547225 27.7837 0.245581 27.099 0.427428C26.4142 0.609274 25.9375 1.22909 25.9375 1.93758V4.12508H26.9504L27.3934 4.9003L28.75 4.12508H29.0625V3.94651L30.1066 3.34986L28.8566 1.16237Z",fill:n}),he.createElement("path",{d:"M35.1066 12.0999L32.6066 7.72486L29.8934 9.2753L32.3934 13.6503L35.1066 12.0999Z",fill:n}),he.createElement("path",{d:"M25.9375 8.50008V12.8751H29.0625V8.50008H25.9375Z",fill:n}),he.createElement("path",{d:"M40.1066 23.9749L37.6066 19.5999L34.8934 21.1503L37.3934 25.5253L40.1066 23.9749Z",fill:n}),he.createElement("path",{d:"M25.9375 20.3751V24.7501H29.0625V20.3751H25.9375Z",fill:n}),he.createElement("path",{d:"M45.1066 32.7249L42.6066 28.3499L39.8934 29.9003L42.3934 34.2753L45.1066 32.7249Z",fill:n}),he.createElement("path",{d:"M25.9375 29.1251V33.5001H29.0625V29.1251H25.9375Z",fill:n}),he.createElement("path",{d:"M48.8566 39.2874L47.6066 37.0999L45.1562 38.5001H45V38.5894L44.8934 38.6503L45 38.8369V41.6251H47.5C48.057 41.6251 48.5719 41.3286 48.8514 40.8468C49.131 40.3651 49.133 39.771 48.8566 39.2874Z",fill:n}),he.createElement("path",{d:"M25.9375 37.8751V40.0626C25.9375 40.9255 26.6371 41.6251 27.5 41.6251H30V38.5001H29.0625V37.8751H25.9375Z",fill:n}),he.createElement("path",{d:"M35 41.6251H40V38.5001H35V41.6251Z",fill:n}))})),eS={transform:"scaleX(-1)"},tS=(YO.defaultProps={isSelected:!1},["color","size"]),nS=Kb((function(e,t){var n=void 0===(n=e.color)?"currentColor":n,r=void 0===(r=e.size)?14:r;e=Yc(e,tS);return he.createElement("svg",$b({ref:t,width:r,height:r,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),he.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.5001 24.0625C38.2086 24.0625 38.8284 23.5858 39.0102 22.901C39.1921 22.2162 38.8904 21.4948 38.2753 21.1433L3.27531 1.14333C2.79171 0.866989 2.19757 0.868973 1.71583 1.14854C1.23409 1.4281 0.937592 1.94298 0.937592 2.49996V22.5C0.937592 23.3629 1.63715 24.0625 2.50009 24.0625L37.5001 24.0625ZM4.06259 20.9375L4.06259 5.19243L31.6164 20.9375L4.06259 20.9375Z",fill:n}),he.createElement("path",{d:"M38.2753 28.8566C38.8904 28.5051 39.1921 27.7837 39.0102 27.0989C38.8284 26.4142 38.2086 25.9375 37.5001 25.9375H35.3126V26.9504L34.5374 27.3933L35.3126 28.75V29.0625H35.4912L36.0878 30.1066L38.2753 28.8566Z",fill:n}),he.createElement("path",{d:"M27.3378 35.1066L31.7128 32.6066L30.1624 29.8933L25.7874 32.3933L27.3378 35.1066Z",fill:n}),he.createElement("path",{d:"M30.9376 25.9375H26.5626L26.5626 29.0625H30.9376L30.9376 25.9375Z",fill:n}),he.createElement("path",{d:"M18.5878 40.1066L22.9628 37.6066L21.4124 34.8933L17.0374 37.3933L18.5878 40.1066Z",fill:n}),he.createElement("path",{d:"M22.1876 25.9375H17.8126V29.0625H22.1876V25.9375Z",fill:n}),he.createElement("path",{d:"M9.83781 45.1066L14.2128 42.6066L12.6624 39.8933L8.28738 42.3933L9.83781 45.1066Z",fill:n}),he.createElement("path",{d:"M13.4376 25.9375H9.0626V29.0625H13.4376V25.9375Z",fill:n}),he.createElement("path",{d:"M3.27531 48.8566L5.46281 47.6066L4.06259 45.1562V45H3.97331L3.91238 44.8933L3.72578 45H0.937592V47.5C0.937592 48.0569 1.23409 48.5718 1.71583 48.8514C2.19758 49.1309 2.79171 49.1329 3.27531 48.8566Z",fill:n}),he.createElement("path",{d:"M4.6876 25.9375L2.50009 25.9375C1.63715 25.9375 0.937592 26.637 0.937592 27.5V30H4.06259V29.0625H4.6876V25.9375Z",fill:n}),he.createElement("path",{d:"M0.937592 35V40L4.06259 40V35H0.937592Z",fill:n}))})),rS={transform:"scaleY(-1)"},iS=(qO.defaultProps={isSelected:!1},["color","size"]),oS=Kb((function(e,t){var n=void 0===(n=e.color)?"currentColor":n,r=void 0===(r=e.size)?14:r;e=Yc(e,iS);return he.createElement("svg",$b({ref:t,width:r,height:r,viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),he.createElement("path",{d:"M2.66029 14.6992L3.59754 14.4432L3.09234 3.93169C3.05919 3.24213 2.47333 2.71 1.78377 2.74314C1.09421 2.77628 0.562076 3.36215 0.595218 4.05171L1.16043 15.8118C1.19357 16.5014 1.77943 17.0335 2.46899 17.0004L14.2291 16.4351C14.9186 16.402 15.4508 15.8161 15.4176 15.1266C15.3845 14.437 14.7986 13.9049 14.1091 13.938L5.48449 14.3525C8.23226 7.41028 15.0052 2.5 22.925 2.5C33.2802 2.5 41.6748 10.8946 41.6748 21.2498C41.6748 22.403 41.5707 23.5319 41.3713 24.6276L43.7968 25.2605C44.0449 23.9617 44.1748 22.6209 44.1748 21.2498C44.1748 9.51386 34.6609 0 22.925 0C15.0467 0 8.16976 4.2873 4.50003 10.6561L2.66029 14.6992Z",fill:n}),he.createElement("path",{d:"M9.88493 34.7076L8.27775 36.6304C8.82615 37.1534 9.40249 37.6474 10.0043 38.1098L11.5276 36.1275C10.9528 35.6859 10.4044 35.2116 9.88493 34.7076Z",fill:n}),he.createElement("path",{d:"M12.3142 39.6562C13.9038 40.5759 15.6235 41.2956 17.439 41.7809L18.0846 39.3657C16.4846 38.938 14.9685 38.3036 13.5663 37.4923L12.3142 39.6562Z",fill:n}),he.createElement("path",{d:"M20.1654 42.3204C21.0738 42.4389 22.0002 42.5001 22.9408 42.5001C23.8815 42.5001 24.8079 42.4389 25.7163 42.3204L25.3929 39.8414C24.5915 39.946 23.7731 40.0001 22.9408 40.0001C22.1086 40.0001 21.2902 39.946 20.4888 39.8414L20.1654 42.3204Z",fill:n}),he.createElement("path",{d:"M28.4427 41.7809C30.2582 41.2956 31.9779 40.5759 33.5674 39.6562L32.3154 37.4923C30.9132 38.3036 29.3971 38.938 27.7971 39.3657L28.4427 41.7809Z",fill:n}),he.createElement("path",{d:"M35.8774 38.1098C37.3495 36.9786 38.6692 35.6589 39.8004 34.1868L37.8181 32.6635C36.8193 33.9633 35.6539 35.1287 34.3541 36.1275L35.8774 38.1098Z",fill:n}),he.createElement("path",{d:"M41.3468 31.8769C42.2665 30.2873 42.9862 28.5676 43.4715 26.7521L41.0563 26.1065C40.6286 27.7065 39.9942 29.2226 39.1829 30.6248L41.3468 31.8769Z",fill:n}))})),aS=(uO=($O.defaultProps={isSelected:!1},"RotationSlider"),Wh({RotationSliderList:fe.ul.attrs({className:Fh(uO,"list")}).withConfig({componentId:"sc-1xuruq0-0"})(["display:flex;align-items:center;position:relative;padding:0;width:100%;list-style:none;"]),RotationSliderBigDot:fe.li.attrs({className:Fh(uO,"big-dot")}).withConfig({componentId:"sc-1xuruq0-1"})((function(e){return Vd(["width:8px;height:8px;border-radius:50%;background-color:",";cursor:pointer;"],e.theme.palette[pp.LinkPrimary])})),RotationSliderSmallDotWrapper:fe.div.attrs({className:Fh(uO,"small-dot-wrapper")}).withConfig({componentId:"sc-1xuruq0-2"})(["padding:2px;"]),RotationSliderSmallDot:fe.li.attrs({className:Fh(uO,"small-dot")}).withConfig({componentId:"sc-1xuruq0-3"})((function(e){return Vd(["width:2px;height:2px;border-radius:50%;background-color:",";cursor:pointer;"],e.theme.palette[pp.LinkPrimary])})),RotationSliderControl:fe.span.attrs({className:Fh(uO,"control")}).withConfig({componentId:"sc-1xuruq0-4"})((function(e){return Vd(["display:flex;justify-content:center;align-items:center;position:absolute;height:18px;width:2px;transform:translate(-50%,-50%);top:50%;background-color:",";& > input{border:0px;clip:rect(0px,0px,0px,0px);height:100%;margin:-1px;overflow:hidden;padding:0px;position:absolute;white-space:nowrap;width:100%;direction:ltr;}&::before{position:absolute;content:'';border-radius:inherit;width:100%;height:100%;box-shadow:0px 3px 1px -2px rgb(0 0 0 / 20%),0px 2px 2px 0px rgb(0 0 0 / 14%),0px 1px 5px 0px rgb(0 0 0 / 12%);}&::after{position:absolute;content:'';border-radius:50%;width:42px;height:42px;top:50%;left:50%;transform:translate(-50%,-50%);}"],e.theme.palette[pp.LinkActive])})),RotationSliderMark:fe.div.attrs({className:Fh(uO,"mark")}).withConfig({componentId:"sc-1xuruq0-5"})(["padding:4px;"]),RotationSliderMarkText:fe.span.attrs({className:Fh(uO,"mark-text")}).withConfig({componentId:"sc-1xuruq0-6"})((function(e){return Vd(["position:absolute;top:20px;font-size:14px;transform:translateX(-10%);color:",";"],e.theme.palette[pp.TextPrimary])}))})),lS=["min","max","angle","onChange","onMouseDown","onMouseUp","step","labelTooltipOptions","annotation","hideMarkText","value","railProps","trackProps","thumbProps","labelTooltipProps","markStyles","markTextStyles"];function sS(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function cS(e){for(var t=1;t .item{margin-right:8px;display:flex;justify-content:center;}"]),ColorItemWrapper:r_,Select:fe.div.attrs({className:Fh(e_,"select")}).withConfig({componentId:"sc-qj4xo5-12"})((function(e){return Vd(["width:",";"],"rgb"===e.value?"25%":"35%")}))}),o_=(qC=Bh((function(e,t){var n=e.value,r=e.onChange,i=e.checked,o=(e=void 0===(e=e.size)?24:e,l.exports.useMemo((function(){return"#ffffff"===n||"rgba(0,0,0,0)"===n?"black":"white"}),[n]));return he.createElement(i_.ColorItemWrapper,{ref:t,color:n,size:e,stroke:"rgba(0,0,0,0)"===n?"#a8a8a8":"#E9EEF2",value:n},he.createElement("input",{type:"radio",value:n,checked:i,onChange:r}),i&&he.createElement(Lk,{color:o}))})),qC.defaultProps={},qC.propTypes={value:on.string.isRequired,checked:on.bool,onChange:on.func.isRequired,size:on.number},qC),a_=["defaultColor","onChange","pinnedColors","showTransparentColor"];function l_(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function s_(e){for(var t=1;tt.factor,o=(e.x-t.x||0)/t.factor,a=(e.y-t.y||0)/t.factor;o={x:e.x-o*e.factor,y:e.y-a*e.factor};return i&&1===t.factor||(o.x=Math.min(0,Math.max(o.x,n*(1-t.factor))),o.y=Math.min(0,Math.max(o.y,r*(1-t.factor)))),e.factor<1&&(a=n-n*e.factor,i=r-r*e.factor,o.x+=a/2,o.y+=i/2),gT(gT({},o),{},{factor:e.factor})}(yT(yT({},{x:t.x||0===t.x?null!=(n=t.x)?n:e.zoom.x:e.canvasWidth/2,y:t.y||0===t.y?null!=(n=t.y)?n:e.zoom.y:e.canvasHeight/2}),{},{factor:r}),e.zoom,e.canvasWidth,e.canvasHeight)).factor===e.zoom.factor&&t.x===e.zoom.x&&t.y===e.zoom.y?e:yT(yT({},e),{},{zoom:yT(yT({},e.zoom),t)})})),Ap(s,xT,(function(e,t){if(e.canvasWidth===t.canvasWidth&&e.canvasHeight===t.canvasHeight)return e;var n=void 0===(n=e.initialCanvasWidth)?t.canvasWidth:n,r=void 0===(r=e.initialCanvasHeight)?t.canvasHeight:r,i=(o=_v(e.initialCanvasWidth,e.initialCanvasHeight,e.originalImage.width,e.originalImage.height))*e.originalImage.width,o=o*e.originalImage.height,a=1;return n===t.canvasWidth&&r===t.canvasHeight||(i=t.canvasWidth/i,o=t.canvasHeight/o,a=Math.min(i,o)),CT(CT({},e),{},{initialCanvasWidth:n,initialCanvasHeight:r,canvasWidth:t.canvasWidth,canvasHeight:t.canvasHeight,canvasScale:a})})),Ap(s,_T,(function(e,t){return PT(PT({},e),{},{shownImageDimensions:PT(PT({},e.shownImageDimensions),t.shownImageDimensions),designLayer:t.designLayer||e.designLayer,previewGroup:t.previewGroup||e.previewGroup})})),Ap(s,zT,(function(e,t){return DT(DT({},e),{},{textIdOfEditableContent:t.textIdOfEditableContent||null})})),Ap(s,$T,(function(e,t){return e.latestColor===t.latestColor?e:YT(YT({},e),{},{latestColor:t.latestColor})})),Ap(s,ry,(function(e,t){return ny(ny({},e),{},{isDesignState:!t.dismissHistory,filter:t.filter||null})})),Ap(s,HL,(function(e,t){return NL(NL({},e),{},{isDesignState:!t.dismissHistory,finetunes:!t.finetune||e.finetunes.includes(t.finetune)?e.finetunes:[].concat(Mp(e.finetunes),[t.finetune]),finetunesProps:NL(NL({},e.finetunesProps),t.finetuneProps)})})),Ap(s,WL,(function(e){var t=(i=1n.x+n.width&&(l.width=n.x+n.width-l.x),l.y+l.height>n.y+n.height&&(l.height=n.y+n.height-l.y),r&&(i=l.width/l.height,o=r,RC(i)!==RC(o))&&(i=l.height*r,o=l.width/r,RC(l.y+o)<=n.y+n.height?l.height=o:l.width=i),(a.minWidth&&l.width<=a.minWidth||a.maxWidth&&l.width>=a.maxWidth)&&(l.width=Vw(l.width,a.minWidth,a.maxWidth),l.x=e.x,l.y=e.y,r&&(l.height=l.width/r)),(a.minHeight&&t.height<=a.minHeight||a.maxHeight&&t.height>=a.maxHeight)&&(l.height=Vw(l.height,a.minHeight,a.maxHeight),l.x=e.x,l.y=e.y,r&&(l.width=l.height*r)),l}function Vj(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Wj(e){for(var t,n=1;n=f.width&&c.height>=f.height;f.width&&f.height&&(ny&&b&&(e.preventDefault(),C(!0),s({type:ZL,payload:{pointerCssIcon:Zv.DRAG}}))}function i(e){"Space"===e.code&&(e.preventDefault(),n())}function o(){a.current&&a.current.container().focus()}e=e.children;var a=(function(e){bv=e}(!0),l.exports.useRef()),s=(x=jw()).dispatch,c=x.pointerCssIcon,u=x.tabId,d=x.toolId,f=x.canvasWidth,h=x.canvasHeight,p=x.canvasScale,g=void 0===(v=x.selectionsIds)?[]:v,m=void 0===(v=x.zoom)?{}:v,v=x.config.previewPixelRatio,y=(fv.pixelRatio=v,1),b=d!==Vv.CROP,w=(x=zp(l.exports.useState(u!==Bv.ANNOTATE&&u!==Bv.WATERMARK&&m.factor>y),2))[0],C=x[1],x=(v=l.exports.useMemo((function(){return{cursor:c===Zv.DEFAULT&&u===Bv.ANNOTATE?Zv.DRAW:c}}),[u,c]),d=l.exports.useCallback((function(e){var t,n;e.evt.preventDefault(),null!=(t=(n=e.currentTarget).container)&&t.call(n).focus(),e.target instanceof fv.Stage&&0y),a.current&&((e=a.current.container()).addEventListener("mouseenter",o),e.addEventListener("keydown",r),e.addEventListener("keyup",i)),function(){e&&(e.removeEventListener("mouseenter",o),e.removeEventListener("keydown",r),e.removeEventListener("keyup",i))}}),[u,m.factor,y]),p*(b&&m.factor||y));return he.createElement(nI,{className:"FIE_canvas-node",tabIndex:-1,ref:a,width:f,height:h,scaleX:x,scaleY:x,x:b&&m.x||null,y:b&&m.y||null,zoomFactor:b&&m.factor||y,onWheel:b?function(e){e.evt.preventDefault();var n=(m.factor||y)+-.006*e.evt.deltaY;t(iI(iI({},e=e.currentTarget.getPointerPosition()),{},{factor:n}))}:void 0,onTap:d,onClick:d,onTouchMove:b?function(e){return function(e,t){e.evt.preventDefault();var n,r,i,o,a,l,s=e.evt.touches[0],c=e.evt.touches[1];s&&c&&((e=e.currentTarget).isDragging()&&e.stopDrag(),s={x:s.clientX,y:s.clientY},c={x:c.clientX,y:c.clientY},Qj?(n=Kj(s,c),a=s,l=c,l=Math.sqrt(Math.pow(l.x-a.x,2)+Math.pow(l.y-a.y,2)),Jj=Jj||l,a=(n.x-e.x())/e.scaleX(),r=(n.y-e.y())/e.scaleX(),e=e.scaleX()*(l/Jj),i=n.x-Qj.x,o=n.y-Qj.y,a={x:n.x-a*e+i,y:n.y-r*e+o},Jj=l,Qj=n,t($j($j({},a),{},{factor:e,preparedDimensions:!0}))):Qj=Kj(s,c))}(e,t)}:void 0,onDragStart:function(e){1<(null==(e=e.evt.touches)?void 0:e.length)&&C(!1)},onTouchEnd:b?function(){var e;Jj=0,Qj=null,"function"==typeof(e=n)&&e()}:void 0,dragBoundFunc:function(e){return{x:Math.min(0,Math.max(e.x,f*(1-m.factor))),y:Math.min(0,Math.max(e.y,h*(1-m.factor)))}},draggable:b&&w,onDragEnd:function(e){e.currentTarget.draggable()&&"stage"===e.target.nodeType.toLowerCase()&&b&&w&&t({factor:m.factor,x:e.target.x(),y:e.target.y(),preparedDimensions:!0})},style:v},e)})),lI=fe.div.withConfig({componentId:"sc-etsyb6-0"})(["display:inline-block;height:",";width:",";border-radius:1px;background:#dfe7ed;"],(function(e){return e.height}),(function(e){return e.width})),sI=function(e){var t=e.height;e=e.width;return he.createElement(lI,{height:t,width:e})},cI=(sI.defaultProps={height:"11px",width:"1px"},fe.div.withConfig({componentId:"sc-21g986-0"})(["padding:12px 12px 8px 12px;box-sizing:border-box;position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;",";[data-phone='true'] &{padding:6px 6px 4px 6px;}"],(function(e){return e.reverseDirection?"flex-direction: row-reverse":""}))),uI=fe(vL).withConfig({componentId:"sc-21g986-1"})(["margin:",";:first-of-type{margin:",";}width:23px;height:23px;padding:4px;"],(function(e){return null!=(e=e.margin)?e:"0 4px"}),(function(e){return null!=(e=e.margin)?e:"0 4px 0 8px"})),dI=fe(vL).withConfig({componentId:"sc-21g986-2"})(["width:20px;height:20px;margin:0 ",";padding:4px;"],(function(e){return null!=(e=e.horizontalMargin)?e:"4px"})),fI=fe.div.withConfig({componentId:"sc-21g986-3"})(["display:flex;align-items:center;",";"],(function(e){return e.reverseDirection?"flex-direction: row-reverse":""})),hI=fe(sw).withConfig({componentId:"sc-21g986-4"})(["cursor:pointer;"]),pI=fe.span.withConfig({componentId:"sc-21g986-5"})(["font-size:11px;line-height:12px;"]),gI=fe(vL).withConfig({componentId:"sc-21g986-6"})(["padding:0;z-index:111;"]),mI=(fe(YE).withConfig({componentId:"sc-21g986-7"})(["padding:4px 12px;"]),fe(KP).withConfig({componentId:"sc-21g986-8"})(["width:200px;"])),vI=fe(qP).withConfig({componentId:"sc-21g986-9"})(["width:60px;margin-left:4px;"]),yI=fe.div.withConfig({componentId:"sc-21g986-10"})(["width:100%;margin-top:8px;"]),bI=fe.div.withConfig({componentId:"sc-21g986-11"})(["margin-top:8px;width:100%;"]),wI=function(){var e=jw(),t=e.haveNotSavedChanges,n=e.config.onClose;return"function"==typeof n?he.createElement(gI,{className:"FIE_topbar-close-button",color:"link",size:"sm",onClick:function(){n(Qv,t)}},n&&he.createElement(EP,null)):he.createElement("span",null)},CI={Xs:"xs",Sm:"sm",Md:"md",Lg:"lg",Xl:"xl"},xI=l.exports.createContext({modalOpened:!1}),EI=(qc(kr={},CI.Xs,Vd(["max-width:300px;"])),qc(kr,CI.Sm,Vd(["max-width:600px;"])),qc(kr,CI.Md,Vd(["max-width:960px;"])),qc(kr,CI.Lg,Vd(["max-width:1280px;"])),qc(kr,CI.Xl,Vd(["max-width:1920px;"])),kr),OI=(uO="Modal",a=fe.div.attrs({className:Fh(uO,"Wrapper")}).withConfig({componentId:"sc-80m07l-0"})((function(e){return Vd(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;z-index:1200;visibility:",";"],e.open?"visible":"hidden")})),hp=fe.div.attrs({className:Fh(uO,"Overlay")}).withConfig({componentId:"sc-80m07l-1"})((function(e){return Vd(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;background-color:rgba(0,0,0,0.5);z-index:-1;transition:opacity 251ms cubic-bezier(0.4,0,0.2,1) 0ms;opacity:",";"],e.open?"1":"0")})),lw=fe.div.attrs({className:Fh(uO,"Container")}).withConfig({componentId:"sc-80m07l-2"})((function(e){var t=e.theme,n=void 0!==(n=e.open)&&n,r=e.fullWidth;e=void 0===(e=e.maxWidth)?CI.Sm:e;return Vd(["position:absolute;overflow-x:hidden;overflow-y:auto;transition:opacity 251ms cubic-bezier(0.4,0,0.2,1) 0ms,transform 167ms cubic-bezier(0.4,0,0.2,1) 0ms;outline:0;border-radius:",";background-color:",";box-shadow:0px 2px 4px ",";visibility:",";opacity:",";display:flex;max-height:calc(100% - 64px);flex-direction:column;"," "," top:50%;left:50%;transform:translate(-50%,-50%);"],t.shape.borderRadius[mp.Md],t.palette[pp.BackgroundSecondary],t.palette[pp.LightShadow],n?"visible":"hidden",n?"1":"0",void 0!==r&&r&&Vd(["width:calc(100% - 64px);"]),EI[e])})),Wh({Modal:fe.div.attrs({className:Fh(uO,"root")}).withConfig({componentId:"sc-80m07l-3"})((function(){return Vd(["position:relative;padding-top:8px;padding-bottom:8px;margin:0;padding:0;outline:0;display:flex;flex-direction:column;"])})),Wrapper:a,Overlay:hp,Container:lw})),SI=["children","open","onClose","maxWidth","fullWidth"];function kI(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}pv=Bh((function(e,t){function n(){"function"==typeof o&&o()}var r=e.children,i=e.open,o=e.onClose,a=e.maxWidth,s=e.fullWidth,c=(e=Yc(e,SI),(c=r)&&l.exports.isValidElement(c)&&1===he.Children.count(c)&&c.type===he.Fragment?r.props.children:r);r=document.querySelector("body");return l.exports.useEffect((function(){return i?document.body.classList.add("Modal-open"):document.body.classList.remove("Modal-open"),function(){document.body.classList.remove("Modal-open")}}),[i]),l.exports.useEffect((function(){function e(e){"Escape"===e.key&&n()}return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}})),pe.exports.createPortal(he.createElement(xI.Provider,{value:{modalOpened:Boolean(i)}},he.createElement(OI.Wrapper,{open:Boolean(i),ref:t},he.createElement(OI.Overlay,{onClick:n,open:Boolean(i)}),he.createElement(OI.Container,$b({},e,{maxWidth:a,fullWidth:s,open:Boolean(i)}),he.createElement(OI.Modal,null,he.Children.map(c,(function(e){return l.exports.isValidElement(e)&&"ModalTitle"===e.type.displayName?he.cloneElement(e,function(e){for(var t=1;t *:not(:first-child){margin-left:8px;}"],(e=void 0===(e=e.align)?_I.Center:e)===_I.Right?"flex-end":e)}))}),TI=["children"],jI=(n_=Bh((function(e,t){var n=e.children;e=Yc(e,TI);return he.createElement(LI.ModalActions,$b({},e,{ref:t}),n)})),n_.defaultProps={align:_I.Center},n_.propTypes={children:on.node.isRequired,align:on.oneOf(Vh(_I))},n_.displayName="ModalActions",n_),II=Wh({ModalContent:fe.div.attrs({className:Fh("ModalContent","root")}).withConfig({componentId:"sc-1ng1w0v-0"})((function(){return Vd(["position:relative;padding:15px 16px;"])}))}),MI=["children"],AI=(s=Bh((function(e,t){var n=e.children;e=Yc(e,MI);return he.createElement(II.ModalContent,$b({},e,{ref:t}),n)})),s.defaultProps={},s.propTypes={children:on.node.isRequired},s.displayName="ModalContent",s),RI={Default:"default",WithIcon:"with-icon"},DI=(qC="ModalTitle",r_=fe.div.attrs({className:Fh(qC,"Icon")}).withConfig({componentId:"sc-l3tf49-0"})((function(e){return Vd(["display:flex;margin-bottom:8px;padding:12.5px;border-radius:50%;background:",";color:",";"],(e=e.theme.palette)[pp.BackgroundPrimary],e[pp.AccentPrimary])})),aw=fe.div.attrs({className:Fh(qC,"LabelPrimary")}).withConfig({componentId:"sc-l3tf49-1"})((function(){return Vd(["font-size:16px;line-height:18px;"])})),SE=fe.div.attrs({className:Fh(qC,"LabelSecondary")}).withConfig({componentId:"sc-l3tf49-2"})(["font-size:12px;line-height:14px;margin-top:4px;"]),rw=fe.div.attrs({className:Fh(qC,"Close")}).withConfig({componentId:"sc-l3tf49-3"})((function(e){var t=void 0===(t=e.variant)?RI.Default:t;e=e.theme.palette;return Vd(["position:absolute;display:flex;top:","px;right:","px;color:",";&:hover{color:",";}cursor:pointer;"],t===RI.WithIcon?12:16,t===RI.WithIcon?12:16,e[pp.IconsSecondary],e[pp.IconsPrimary])})),Wh({ModalTitle:fe.div.attrs({className:Fh(qC,"root")}).withConfig({componentId:"sc-l3tf49-4"})((function(e){var t=void 0===(n=e.variant)?RI.Default:n,n=(e=(n=e.theme).palette,n.shape.borderRadius);return Vd(["position:relative;color:",";border-radius:","px ","px 0px 0px;"," "," ",""],e[pp.TextPrimary],n[mp.Md],n[mp.Md],(function(){var e=t===RI.WithIcon?12:11;return Vd(["padding:","px ","px ","px ","px;"],e,t===RI.WithIcon?18:40,e,18)}),t===RI.Default&&Vd(["background:",";border-bottom:1px solid ",";"],e[pp.BackgroundPrimary],e[pp.BordersSecondary]),t===RI.WithIcon&&Vd(["display:flex;align-items:center;flex-direction:column;"]))})),LabelPrimary:aw,LabelSecondary:SE,Close:rw,Icon:r_})),zI=["secondary","onClose"],NI=(Av=Bh((function(e,t){var n=e.secondary,r=e.onClose;e=Yc(e,zI);return he.createElement(DI.ModalTitle,$b({},e,{ref:t}),e.icon&&he.createElement(DI.Icon,{iconShadow:Boolean(e.iconShadow)},e.icon),he.createElement(DI.LabelPrimary,null,e.primary),e.variant===RI.WithIcon&&n&&he.createElement(DI.LabelSecondary,null,n),he.createElement(DI.Close,{variant:e.variant,onClick:r},he.createElement(jk,{size:11})))})),kr=(Av.defaultProps={iconShadow:!0,variant:RI.Default},Av.propTypes={primary:on.node.isRequired,secondary:on.node,icon:on.node,iconShadow:on.bool,onClose:on.func,variant:on.oneOf(Vh(RI))},Av.displayName="ModalTitle",Av),{Happy:"happy",Neutral:"neutral",Sad:"sad",Worried:"worried"}),HI=Wh({Robot:fe.span.attrs({className:Fh("Robot","root")}).withConfig({componentId:"sc-q3dl9f-0"})((function(){return Vd(["display:flex;"])}))}),FI=["status"],BI=(uO=Bh((function(e,t){var n=e.status;e=Yc(e,FI);return he.createElement(HI.Robot,$b({},e,{ref:t}),function(e){switch(e){case NI.Worried:return he.createElement(Pk,null);case NI.Sad:return he.createElement(Sk,null);case NI.Neutral:return he.createElement(Ek,null);default:return he.createElement(Ck,null)}}(n))})),a={status:NI.Happy},hp=(uO.defaultProps=a,{status:on.oneOf(Vh(NI))}),uO.propTypes=hp,uO),VI=(lw="PopupContent",t_=fe.span.attrs({className:Fh(lw,"Label")}).withConfig({componentId:"sc-njbmnt-0"})((function(e){var t=(e=e.theme).palette;e=e.shape;return Vd(["display:flex;flex-grow:1;margin-left:31px;padding:8px 8px 8px 39px;background:",";border-radius:",";min-height:41px;"],t[pp.ButtonPrimaryText],e.borderRadius[mp.Sm])})),pv=fe.span.attrs({className:Fh(lw,"Label")}).withConfig({componentId:"sc-njbmnt-1"})((function(e){var t=(e=e.theme).palette;e=e.typography.font;return Vd(["display:flex;align-items:center;color:",";",""],t[pp.TextSecondary],e[gp.LabelSmall])})),Wh({PopupContent:fe.div.attrs({className:Fh(lw,"PopupContent")}).withConfig({componentId:"sc-njbmnt-2"})(["position:relative;display:flex;align-items:center;width:256px;filter:drop-shadow(0px 4px 4px rgba(0,0,0,0.25));"]),Robot:fe.div.attrs({className:Fh(lw,"Robot")}).withConfig({componentId:"sc-njbmnt-3"})((function(e){return Vd(["position:absolute;left:0;display:flex;z-index:1;border-radius:50%;background:",";border:1px solid ",";box-sizing:border-box;"],(e=e.theme.palette)[pp.ButtonPrimaryText],e[pp.BackgroundSecondary])})),LabelWrapper:t_,Label:pv})),WI=["message","status"];function GI(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function UI(e){for(var t=1;t svg:not([color]){color:","}"],(function(e){return e.theme.palette["icons-primary"]})),KM=(ZM.defaultProps={useCloudimage:!1,cloudimage:{},img:void 0},l.exports.memo(ZM));function QM(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function JM(e){for(var t,r=1;rc||n.hasOwnProperty(c)&&(p[n[c]]=c)}g=p[e]?"keydown":"keypress"}"keypress"==g&&d.length&&(g="keydown");return{key:m,modifiers:d,action:g}}function D(a,b){return null===a||a===u?!1:a===b?!0:D(a.parentNode,b)}function d(a){function b(a){a=
@@ -1075,242 +1084,6 @@ escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta"
this._directMap={};return this};d.prototype.stopCallback=function(a,b){if(-1<(" "+b.className+" ").indexOf(" mousetrap ")||D(b,this.target))return!1;if("composedPath"in a&&"function"===typeof a.composedPath){var c=a.composedPath()[0];c!==a.target&&(b=c)}return"INPUT"==b.tagName||"SELECT"==b.tagName||"TEXTAREA"==b.tagName||b.isContentEditable};d.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};d.addKeycodes=function(a){for(var b in a)a.hasOwnProperty(b)&&(n[b]=a[b]);p=null};
d.init=function(){var a=d(u),b;for(b in a)"_"!==b.charAt(0)&&(d[b]=function(b){return function(){return a[b].apply(a,arguments)}}(b))};d.init();q.Mousetrap=d;"undefined"!==typeof module&&module.exports&&(module.exports=d);"function"===typeof define&&define.amd&&define(function(){return d})}})("undefined"!==typeof window?window:null,"undefined"!==typeof window?document:null);
-var Painterro=function(e){var A={};function n(t){if(A[t])return A[t].exports;var r=A[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=A,n.d=function(e,A,t){n.o(e,A)||Object.defineProperty(e,A,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,A){if(1&A&&(e=n(e)),8&A)return e;if(4&A&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&A&&"string"!=typeof e)for(var r in e)n.d(t,r,function(A){return e[A]}.bind(null,r));return t},n.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(A,"a",A),A},n.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},n.p="",n(n.s=10)}([function(e,A,n){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.genId=function(){for(var e="ptro",A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<8;n+=1)e+=A.charAt(Math.floor(Math.random()*A.length));return e},A.addDocumentObjectHelpers=function(){"documentOffsetTop"in Element.prototype||Object.defineProperty(Element.prototype,"documentOffsetTop",{get:function(){return this.getBoundingClientRect().top}});"documentOffsetLeft"in Element.prototype||Object.defineProperty(Element.prototype,"documentOffsetLeft",{get:function(){return this.getBoundingClientRect().left}});"documentClientWidth"in Element.prototype||Object.defineProperty(Element.prototype,"documentClientWidth",{get:function(){var e=this.getBoundingClientRect();return e.width?e.width:e.right-e.left}});"documentClientHeight"in Element.prototype||Object.defineProperty(Element.prototype,"documentClientHeight",{get:function(){var e=this.getBoundingClientRect();return e.height?e.height:e.bottom-e.top}})},A.clearSelection=function(){var e=null;window.getSelection?e=window.getSelection():document.selection&&(e=document.selection);e&&(e.empty&&e.empty(),e.removeAllRanges&&e.removeAllRanges())},A.distance=function(e,A){var n=e.x-A.x,t=e.y-A.y;return Math.sqrt(n*n+t*t)},A.trim=function(e){return String(e).replace(/^\s+|\s+$/g,"")},A.copyToClipboard=function(e){if(window.clipboardData&&window.clipboardData.setData)window.clipboardData.setData("Text",e);else if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var A=document.createElement("textarea");A.textContent=e,A.style.position="fixed",document.body.appendChild(A),A.select();try{document.execCommand("copy")}catch(e){console.warn("Copy to clipboard failed.",e)}finally{document.body.removeChild(A)}}},A.getScrollbarWidth=function(){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var A=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var t=n.offsetWidth;return e.parentNode.removeChild(e),A-t},A.imgToDataURL=function(e,A){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){A(e.result)},e.readAsDataURL(n.response)},n.open("GET",e),n.responseType="blob",n.send()},A.logError=function(e){console.warn("[Painterro] "+e)},A.checkIn=function(e,A){return-1!==A.indexOf(e)};A.KEYS={y:89,z:90,s:83,c:67,x:88,a:65,l:76,p:80,r:82,o:79,b:66,e:69,t:84,enter:13,esc:27,del:46}},function(e,A,n){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var t=function(){function e(e,A){for(var n=0;n=0&&l.splice(A,1)}function B(e){var A=document.createElement("style");return e.attrs.type="text/css",h(A,e.attrs),g(e,A),A}function h(e,A){Object.keys(A).forEach(function(n){e.setAttribute(n,A[n])})}function w(e,A){var n,t,r,o;if(A.transform&&e.css){if(!(o=A.transform(e.css)))return function(){};e.css=o}if(A.singleton){var i=c++;n=s||(s=B(A)),t=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var A=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",h(A,e.attrs),g(e,A),A}(A),t=function(e,A,n){var t=n.css,r=n.sourceMap,o=void 0===A.convertToAbsoluteUrls&&r;(A.convertToAbsoluteUrls||o)&&(t=_(t));r&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([t],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(i),a&&URL.revokeObjectURL(a)}.bind(null,n,A),r=function(){p(n),n.href&&URL.revokeObjectURL(n.href)}):(n=B(A),t=function(e,A){var n=A.css,t=A.media;t&&e.setAttribute("media",t);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){p(n)});return t(e),function(A){if(A){if(A.css===e.css&&A.media===e.media&&A.sourceMap===e.sourceMap)return;t(e=A)}else r()}}e.exports=function(e,A){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(A=A||{}).attrs="object"==typeof A.attrs?A.attrs:{},A.singleton||(A.singleton=i()),A.insertInto||(A.insertInto="head"),A.insertAt||(A.insertAt="bottom");var n=d(e,A);return u(n,A),function(e){for(var t=[],r=0;r-1&&((0,i.logError)("Can't hide default tool '"+A.defaultTool+"', please change default tool to another to hide it"),A.hiddenTools.splice(n,1));if(A.pixelizePixelSize=_.pixelizePixelSize||A.pixelizePixelSize||"20%",A.colorScheme=A.colorScheme||{},A.colorScheme.main=A.colorScheme.main||"#dbebff",A.colorScheme.control=A.colorScheme.control||"#abc6ff",A.colorScheme.controlContent=A.colorScheme.controlContent||"#000000",A.colorScheme.hoverControl=A.colorScheme.hoverControl||A.colorScheme.control,A.colorScheme.hoverControlContent=A.colorScheme.hoverControlContent||"#1a3d67",A.colorScheme.toolControlNameColor=A.colorScheme.toolControlNameColor||"rgba(255,255,255,0.7)",A.colorScheme.activeControl=A.colorScheme.activeControl||"#7485B1",A.colorScheme.activeControlContent=A.colorScheme.activeControlContent||A.colorScheme.main,A.colorScheme.inputBorderColor=A.colorScheme.inputBorderColor||A.colorScheme.main,A.colorScheme.inputBackground=A.colorScheme.inputBackground||"#ffffff",A.colorScheme.inputText=A.colorScheme.inputText||A.colorScheme.activeControl,A.colorScheme.backgroundColor=A.colorScheme.backgroundColor||"#999999",A.colorScheme.dragOverBarColor=A.colorScheme.dragOverBarColor||"#899dff",A.defaultSize=A.defaultSize||"fill",A.defaultPixelSize=A.defaultPixelSize||4,"object"!==t(A.defaultSize))if("fill"===A.defaultSize)A.defaultSize={width:"fill",height:"fill"};else{var r=A.defaultSize.split("x");A.defaultSize={width:(0,i.trim)(r[0]),height:(0,i.trim)(r[1])}}if(A.toolbarPosition=A.toolbarPosition||"bottom",A.fixMobilePageReloader=void 0===A.fixMobilePageReloader||A.fixMobilePageReloader,A.translation){var d=A.translation.name;s.default.get().addTranslation(d,A.translation.strings),s.default.get().activate(d)}return A.styles=".ptro-color-main{\n background-color: "+A.colorScheme.main+";\n color: "+A.colorScheme.controlContent+"}\n .ptro-color-control{\n background-color: "+A.colorScheme.control+";\n color:"+A.colorScheme.controlContent+"}\n .ptro-tool-ctl-name{\n background-color: "+A.colorScheme.toolControlNameColor+";\n }\n button.ptro-color-control:hover:not(.ptro-color-active-control):not([disabled]){\n background-color: "+A.colorScheme.hoverControl+";\n color:"+A.colorScheme.hoverControlContent+"} \n .ptro-bordered-control{border-color: "+A.colorScheme.activeControl+"}\n input.ptro-input, input.ptro-input:focus, select.ptro-input, select.ptro-input:focus {\n border: 1px solid "+A.colorScheme.inputBorderColor+";\n background-color: "+A.colorScheme.inputBackground+";\n color: "+A.colorScheme.inputText+"\n }\n .ptro-bar-dragover{background-color:"+A.colorScheme.dragOverBarColor+"}\n .ptro-color,.ptro-bordered-btn{\n border: 1px solid "+A.colorScheme.inputBorderColor+";\n }\n .ptro-color-control:active:enabled {\n background-color: "+A.colorScheme.activeControl+";\n color: "+A.colorScheme.activeControlContent+"}\n .ptro-color-active-control{\n background-color: "+A.colorScheme.activeControl+";\n color:"+A.colorScheme.activeControlContent+"}\n .ptro-wrapper{\n background-color:"+A.colorScheme.backgroundColor+";\n bottom:"+("top"===A.toolbarPosition?"0":"40px")+";\n top:"+("top"===A.toolbarPosition?"40px":"0")+";\n }\n .ptro-bar {\n "+("top"===A.toolbarPosition?"top":"bottom")+": 0;\n }",A};var r,o=n(8),i=n(0),a=n(1),s=(r=a)&&r.__esModule?r:{default:r},c=n(9);var l="painterro-data",_={};function u(){for(var e=0;e
- * Copyright (c) 2019 Niklas von Hertzen
- * Released under MIT License
- */
-factory=function(){return function(e){var A={};function n(t){if(A[t])return A[t].exports;var r=A[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=A,n.d=function(e,A,t){n.o(e,A)||Object.defineProperty(e,A,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,A){if(1&A&&(e=n(e)),8&A)return e;if(4&A&&"object"===(void 0===e?"undefined":_typeof(e))&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&A&&"string"!=typeof e)for(var r in e)n.d(t,r,function(A){return e[A]}.bind(null,r));return t},n.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(A,"a",A),A},n.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},n.p="",n(n.s="./src/index.js")}({"./node_modules/css-line-break/dist/LineBreak.js":
-/*!*******************************************************!*\
- !*** ./node_modules/css-line-break/dist/LineBreak.js ***!
- \*******************************************************/
-/*! no static exports found */function node_modulesCssLineBreakDistLineBreakJs(module,exports,__webpack_require__){eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LineBreaker = exports.inlineBreakOpportunities = exports.lineBreakAtIndex = exports.codePointsToCharacterClasses = exports.UnicodeTrie = exports.BREAK_ALLOWED = exports.BREAK_NOT_ALLOWED = exports.BREAK_MANDATORY = exports.classes = exports.LETTER_NUMBER_MODIFIER = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _Trie = __webpack_require__(/*! ./Trie */ \"./node_modules/css-line-break/dist/Trie.js\");\n\nvar _linebreakTrie = __webpack_require__(/*! ./linebreak-trie */ \"./node_modules/css-line-break/dist/linebreak-trie.js\");\n\nvar _linebreakTrie2 = _interopRequireDefault(_linebreakTrie);\n\nvar _Util = __webpack_require__(/*! ./Util */ \"./node_modules/css-line-break/dist/Util.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar LETTER_NUMBER_MODIFIER = exports.LETTER_NUMBER_MODIFIER = 50;\n\n// Non-tailorable Line Breaking Classes\nvar BK = 1; // Cause a line break (after)\nvar CR = 2; // Cause a line break (after), except between CR and LF\nvar LF = 3; // Cause a line break (after)\nvar CM = 4; // Prohibit a line break between the character and the preceding character\nvar NL = 5; // Cause a line break (after)\nvar SG = 6; // Do not occur in well-formed text\nvar WJ = 7; // Prohibit line breaks before and after\nvar ZW = 8; // Provide a break opportunity\nvar GL = 9; // Prohibit line breaks before and after\nvar SP = 10; // Enable indirect line breaks\nvar ZWJ = 11; // Prohibit line breaks within joiner sequences\n// Break Opportunities\nvar B2 = 12; // Provide a line break opportunity before and after the character\nvar BA = 13; // Generally provide a line break opportunity after the character\nvar BB = 14; // Generally provide a line break opportunity before the character\nvar HY = 15; // Provide a line break opportunity after the character, except in numeric context\nvar CB = 16; // Provide a line break opportunity contingent on additional information\n// Characters Prohibiting Certain Breaks\nvar CL = 17; // Prohibit line breaks before\nvar CP = 18; // Prohibit line breaks before\nvar EX = 19; // Prohibit line breaks before\nvar IN = 20; // Allow only indirect line breaks between pairs\nvar NS = 21; // Allow only indirect line breaks before\nvar OP = 22; // Prohibit line breaks after\nvar QU = 23; // Act like they are both opening and closing\n// Numeric Context\nvar IS = 24; // Prevent breaks after any and before numeric\nvar NU = 25; // Form numeric expressions for line breaking purposes\nvar PO = 26; // Do not break following a numeric expression\nvar PR = 27; // Do not break in front of a numeric expression\nvar SY = 28; // Prevent a break before; and allow a break after\n// Other Characters\nvar AI = 29; // Act like AL when the resolvedEAW is N; otherwise; act as ID\nvar AL = 30; // Are alphabetic characters or symbols that are used with alphabetic characters\nvar CJ = 31; // Treat as NS or ID for strict or normal breaking.\nvar EB = 32; // Do not break from following Emoji Modifier\nvar EM = 33; // Do not break from preceding Emoji Base\nvar H2 = 34; // Form Korean syllable blocks\nvar H3 = 35; // Form Korean syllable blocks\nvar HL = 36; // Do not break around a following hyphen; otherwise act as Alphabetic\nvar ID = 37; // Break before or after; except in some numeric context\nvar JL = 38; // Form Korean syllable blocks\nvar JV = 39; // Form Korean syllable blocks\nvar JT = 40; // Form Korean syllable blocks\nvar RI = 41; // Keep pairs together. For pairs; break before and after other classes\nvar SA = 42; // Provide a line break opportunity contingent on additional, language-specific context analysis\nvar XX = 43; // Have as yet unknown line breaking behavior or unassigned code positions\n\nvar classes = exports.classes = {\n BK: BK,\n CR: CR,\n LF: LF,\n CM: CM,\n NL: NL,\n SG: SG,\n WJ: WJ,\n ZW: ZW,\n GL: GL,\n SP: SP,\n ZWJ: ZWJ,\n B2: B2,\n BA: BA,\n BB: BB,\n HY: HY,\n CB: CB,\n CL: CL,\n CP: CP,\n EX: EX,\n IN: IN,\n NS: NS,\n OP: OP,\n QU: QU,\n IS: IS,\n NU: NU,\n PO: PO,\n PR: PR,\n SY: SY,\n AI: AI,\n AL: AL,\n CJ: CJ,\n EB: EB,\n EM: EM,\n H2: H2,\n H3: H3,\n HL: HL,\n ID: ID,\n JL: JL,\n JV: JV,\n JT: JT,\n RI: RI,\n SA: SA,\n XX: XX\n};\n\nvar BREAK_MANDATORY = exports.BREAK_MANDATORY = '!';\nvar BREAK_NOT_ALLOWED = exports.BREAK_NOT_ALLOWED = '×';\nvar BREAK_ALLOWED = exports.BREAK_ALLOWED = '÷';\nvar UnicodeTrie = exports.UnicodeTrie = (0, _Trie.createTrieFromBase64)(_linebreakTrie2.default);\n\nvar ALPHABETICS = [AL, HL];\nvar HARD_LINE_BREAKS = [BK, CR, LF, NL];\nvar SPACE = [SP, ZW];\nvar PREFIX_POSTFIX = [PR, PO];\nvar LINE_BREAKS = HARD_LINE_BREAKS.concat(SPACE);\nvar KOREAN_SYLLABLE_BLOCK = [JL, JV, JT, H2, H3];\nvar HYPHEN = [HY, BA];\n\nvar codePointsToCharacterClasses = exports.codePointsToCharacterClasses = function codePointsToCharacterClasses(codePoints) {\n var lineBreak = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'strict';\n\n var types = [];\n var indicies = [];\n var categories = [];\n codePoints.forEach(function (codePoint, index) {\n var classType = UnicodeTrie.get(codePoint);\n if (classType > LETTER_NUMBER_MODIFIER) {\n categories.push(true);\n classType -= LETTER_NUMBER_MODIFIER;\n } else {\n categories.push(false);\n }\n\n if (['normal', 'auto', 'loose'].indexOf(lineBreak) !== -1) {\n // U+2010, – U+2013, 〜 U+301C, ゠ U+30A0\n if ([0x2010, 0x2013, 0x301c, 0x30a0].indexOf(codePoint) !== -1) {\n indicies.push(index);\n return types.push(CB);\n }\n }\n\n if (classType === CM || classType === ZWJ) {\n // LB10 Treat any remaining combining mark or ZWJ as AL.\n if (index === 0) {\n indicies.push(index);\n return types.push(AL);\n }\n\n // LB9 Do not break a combining character sequence; treat it as if it has the line breaking class of\n // the base character in all of the following rules. Treat ZWJ as if it were CM.\n var prev = types[index - 1];\n if (LINE_BREAKS.indexOf(prev) === -1) {\n indicies.push(indicies[index - 1]);\n return types.push(prev);\n }\n indicies.push(index);\n return types.push(AL);\n }\n\n indicies.push(index);\n\n if (classType === CJ) {\n return types.push(lineBreak === 'strict' ? NS : ID);\n }\n\n if (classType === SA) {\n return types.push(AL);\n }\n\n if (classType === AI) {\n return types.push(AL);\n }\n\n // For supplementary characters, a useful default is to treat characters in the range 10000..1FFFD as AL\n // and characters in the ranges 20000..2FFFD and 30000..3FFFD as ID, until the implementation can be revised\n // to take into account the actual line breaking properties for these characters.\n if (classType === XX) {\n if (codePoint >= 0x20000 && codePoint <= 0x2fffd || codePoint >= 0x30000 && codePoint <= 0x3fffd) {\n return types.push(ID);\n } else {\n return types.push(AL);\n }\n }\n\n types.push(classType);\n });\n\n return [indicies, types, categories];\n};\n\nvar isAdjacentWithSpaceIgnored = function isAdjacentWithSpaceIgnored(a, b, currentIndex, classTypes) {\n var current = classTypes[currentIndex];\n if (Array.isArray(a) ? a.indexOf(current) !== -1 : a === current) {\n var i = currentIndex;\n while (i <= classTypes.length) {\n i++;\n var next = classTypes[i];\n\n if (next === b) {\n return true;\n }\n\n if (next !== SP) {\n break;\n }\n }\n }\n\n if (current === SP) {\n var _i = currentIndex;\n\n while (_i > 0) {\n _i--;\n var prev = classTypes[_i];\n\n if (Array.isArray(a) ? a.indexOf(prev) !== -1 : a === prev) {\n var n = currentIndex;\n while (n <= classTypes.length) {\n n++;\n var _next = classTypes[n];\n\n if (_next === b) {\n return true;\n }\n\n if (_next !== SP) {\n break;\n }\n }\n }\n\n if (prev !== SP) {\n break;\n }\n }\n }\n return false;\n};\n\nvar previousNonSpaceClassType = function previousNonSpaceClassType(currentIndex, classTypes) {\n var i = currentIndex;\n while (i >= 0) {\n var type = classTypes[i];\n if (type === SP) {\n i--;\n } else {\n return type;\n }\n }\n return 0;\n};\n\nvar _lineBreakAtIndex = function _lineBreakAtIndex(codePoints, classTypes, indicies, index, forbiddenBreaks) {\n if (indicies[index] === 0) {\n return BREAK_NOT_ALLOWED;\n }\n\n var currentIndex = index - 1;\n if (Array.isArray(forbiddenBreaks) && forbiddenBreaks[currentIndex] === true) {\n return BREAK_NOT_ALLOWED;\n }\n\n var beforeIndex = currentIndex - 1;\n var afterIndex = currentIndex + 1;\n var current = classTypes[currentIndex];\n\n // LB4 Always break after hard line breaks.\n // LB5 Treat CR followed by LF, as well as CR, LF, and NL as hard line breaks.\n var before = beforeIndex >= 0 ? classTypes[beforeIndex] : 0;\n var next = classTypes[afterIndex];\n\n if (current === CR && next === LF) {\n return BREAK_NOT_ALLOWED;\n }\n\n if (HARD_LINE_BREAKS.indexOf(current) !== -1) {\n return BREAK_MANDATORY;\n }\n\n // LB6 Do not break before hard line breaks.\n if (HARD_LINE_BREAKS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB7 Do not break before spaces or zero width space.\n if (SPACE.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB8 Break before any character following a zero-width space, even if one or more spaces intervene.\n if (previousNonSpaceClassType(currentIndex, classTypes) === ZW) {\n return BREAK_ALLOWED;\n }\n\n // LB8a Do not break between a zero width joiner and an ideograph, emoji base or emoji modifier.\n if (UnicodeTrie.get(codePoints[currentIndex]) === ZWJ && (next === ID || next === EB || next === EM)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB11 Do not break before or after Word joiner and related characters.\n if (current === WJ || next === WJ) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB12 Do not break after NBSP and related characters.\n if (current === GL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB12a Do not break before NBSP and related characters, except after spaces and hyphens.\n if ([SP, BA, HY].indexOf(current) === -1 && next === GL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB13 Do not break before ‘]’ or ‘!’ or ‘;’ or ‘/’, even after spaces.\n if ([CL, CP, EX, IS, SY].indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB14 Do not break after ‘[’, even after spaces.\n if (previousNonSpaceClassType(currentIndex, classTypes) === OP) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB15 Do not break within ‘”[’, even with intervening spaces.\n if (isAdjacentWithSpaceIgnored(QU, OP, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB16 Do not break between closing punctuation and a nonstarter (lb=NS), even with intervening spaces.\n if (isAdjacentWithSpaceIgnored([CL, CP], NS, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB17 Do not break within ‘——’, even with intervening spaces.\n if (isAdjacentWithSpaceIgnored(B2, B2, currentIndex, classTypes)) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB18 Break after spaces.\n if (current === SP) {\n return BREAK_ALLOWED;\n }\n\n // LB19 Do not break before or after quotation marks, such as ‘ ” ’.\n if (current === QU || next === QU) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB20 Break before and after unresolved CB.\n if (next === CB || current === CB) {\n return BREAK_ALLOWED;\n }\n\n // LB21 Do not break before hyphen-minus, other hyphens, fixed-width spaces, small kana, and other non-starters, or after acute accents.\n if ([BA, HY, NS].indexOf(next) !== -1 || current === BB) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB21a Don't break after Hebrew + Hyphen.\n if (before === HL && HYPHEN.indexOf(current) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB21b Don’t break between Solidus and Hebrew letters.\n if (current === SY && next === HL) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB22 Do not break between two ellipses, or between letters, numbers or exclamations and ellipsis.\n if (next === IN && ALPHABETICS.concat(IN, EX, NU, ID, EB, EM).indexOf(current) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB23 Do not break between digits and letters.\n if (ALPHABETICS.indexOf(next) !== -1 && current === NU || ALPHABETICS.indexOf(current) !== -1 && next === NU) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB23a Do not break between numeric prefixes and ideographs, or between ideographs and numeric postfixes.\n if (current === PR && [ID, EB, EM].indexOf(next) !== -1 || [ID, EB, EM].indexOf(current) !== -1 && next === PO) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB24 Do not break between numeric prefix/postfix and letters, or between letters and prefix/postfix.\n if (ALPHABETICS.indexOf(current) !== -1 && PREFIX_POSTFIX.indexOf(next) !== -1 || PREFIX_POSTFIX.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB25 Do not break between the following pairs of classes relevant to numbers:\n if (\n // (PR | PO) × ( OP | HY )? NU\n [PR, PO].indexOf(current) !== -1 && (next === NU || [OP, HY].indexOf(next) !== -1 && classTypes[afterIndex + 1] === NU) ||\n // ( OP | HY ) × NU\n [OP, HY].indexOf(current) !== -1 && next === NU ||\n // NU ×\t(NU | SY | IS)\n current === NU && [NU, SY, IS].indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // NU (NU | SY | IS)* × (NU | SY | IS | CL | CP)\n if ([NU, SY, IS, CL, CP].indexOf(next) !== -1) {\n var prevIndex = currentIndex;\n while (prevIndex >= 0) {\n var type = classTypes[prevIndex];\n if (type === NU) {\n return BREAK_NOT_ALLOWED;\n } else if ([SY, IS].indexOf(type) !== -1) {\n prevIndex--;\n } else {\n break;\n }\n }\n }\n\n // NU (NU | SY | IS)* (CL | CP)? × (PO | PR))\n if ([PR, PO].indexOf(next) !== -1) {\n var _prevIndex = [CL, CP].indexOf(current) !== -1 ? beforeIndex : currentIndex;\n while (_prevIndex >= 0) {\n var _type = classTypes[_prevIndex];\n if (_type === NU) {\n return BREAK_NOT_ALLOWED;\n } else if ([SY, IS].indexOf(_type) !== -1) {\n _prevIndex--;\n } else {\n break;\n }\n }\n }\n\n // LB26 Do not break a Korean syllable.\n if (JL === current && [JL, JV, H2, H3].indexOf(next) !== -1 || [JV, H2].indexOf(current) !== -1 && [JV, JT].indexOf(next) !== -1 || [JT, H3].indexOf(current) !== -1 && next === JT) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB27 Treat a Korean Syllable Block the same as ID.\n if (KOREAN_SYLLABLE_BLOCK.indexOf(current) !== -1 && [IN, PO].indexOf(next) !== -1 || KOREAN_SYLLABLE_BLOCK.indexOf(next) !== -1 && current === PR) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB28 Do not break between alphabetics (“at”).\n if (ALPHABETICS.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB29 Do not break between numeric punctuation and alphabetics (“e.g.”).\n if (current === IS && ALPHABETICS.indexOf(next) !== -1) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB30 Do not break between letters, numbers, or ordinary symbols and opening or closing parentheses.\n if (ALPHABETICS.concat(NU).indexOf(current) !== -1 && next === OP || ALPHABETICS.concat(NU).indexOf(next) !== -1 && current === CP) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB30a Break between two regional indicator symbols if and only if there are an even number of regional\n // indicators preceding the position of the break.\n if (current === RI && next === RI) {\n var i = indicies[currentIndex];\n var count = 1;\n while (i > 0) {\n i--;\n if (classTypes[i] === RI) {\n count++;\n } else {\n break;\n }\n }\n if (count % 2 !== 0) {\n return BREAK_NOT_ALLOWED;\n }\n }\n\n // LB30b Do not break between an emoji base and an emoji modifier.\n if (current === EB && next === EM) {\n return BREAK_NOT_ALLOWED;\n }\n\n return BREAK_ALLOWED;\n};\n\nvar lineBreakAtIndex = exports.lineBreakAtIndex = function lineBreakAtIndex(codePoints, index) {\n // LB2 Never break at the start of text.\n if (index === 0) {\n return BREAK_NOT_ALLOWED;\n }\n\n // LB3 Always break at the end of text.\n if (index >= codePoints.length) {\n return BREAK_MANDATORY;\n }\n\n var _codePointsToCharacte = codePointsToCharacterClasses(codePoints),\n _codePointsToCharacte2 = _slicedToArray(_codePointsToCharacte, 2),\n indicies = _codePointsToCharacte2[0],\n classTypes = _codePointsToCharacte2[1];\n\n return _lineBreakAtIndex(codePoints, classTypes, indicies, index);\n};\n\nvar cssFormattedClasses = function cssFormattedClasses(codePoints, options) {\n if (!options) {\n options = { lineBreak: 'normal', wordBreak: 'normal' };\n }\n\n var _codePointsToCharacte3 = codePointsToCharacterClasses(codePoints, options.lineBreak),\n _codePointsToCharacte4 = _slicedToArray(_codePointsToCharacte3, 3),\n indicies = _codePointsToCharacte4[0],\n classTypes = _codePointsToCharacte4[1],\n isLetterNumber = _codePointsToCharacte4[2];\n\n if (options.wordBreak === 'break-all' || options.wordBreak === 'break-word') {\n classTypes = classTypes.map(function (type) {\n return [NU, AL, SA].indexOf(type) !== -1 ? ID : type;\n });\n }\n\n var forbiddenBreakpoints = options.wordBreak === 'keep-all' ? isLetterNumber.map(function (isLetterNumber, i) {\n return isLetterNumber && codePoints[i] >= 0x4e00 && codePoints[i] <= 0x9fff;\n }) : null;\n\n return [indicies, classTypes, forbiddenBreakpoints];\n};\n\nvar inlineBreakOpportunities = exports.inlineBreakOpportunities = function inlineBreakOpportunities(str, options) {\n var codePoints = (0, _Util.toCodePoints)(str);\n var output = BREAK_NOT_ALLOWED;\n\n var _cssFormattedClasses = cssFormattedClasses(codePoints, options),\n _cssFormattedClasses2 = _slicedToArray(_cssFormattedClasses, 3),\n indicies = _cssFormattedClasses2[0],\n classTypes = _cssFormattedClasses2[1],\n forbiddenBreakpoints = _cssFormattedClasses2[2];\n\n codePoints.forEach(function (codePoint, i) {\n output += (0, _Util.fromCodePoint)(codePoint) + (i >= codePoints.length - 1 ? BREAK_MANDATORY : _lineBreakAtIndex(codePoints, classTypes, indicies, i + 1, forbiddenBreakpoints));\n });\n\n return output;\n};\n\nvar Break = function () {\n function Break(codePoints, lineBreak, start, end) {\n _classCallCheck(this, Break);\n\n this._codePoints = codePoints;\n this.required = lineBreak === BREAK_MANDATORY;\n this.start = start;\n this.end = end;\n }\n\n _createClass(Break, [{\n key: 'slice',\n value: function slice() {\n return _Util.fromCodePoint.apply(undefined, _toConsumableArray(this._codePoints.slice(this.start, this.end)));\n }\n }]);\n\n return Break;\n}();\n\nvar LineBreaker = exports.LineBreaker = function LineBreaker(str, options) {\n var codePoints = (0, _Util.toCodePoints)(str);\n\n var _cssFormattedClasses3 = cssFormattedClasses(codePoints, options),\n _cssFormattedClasses4 = _slicedToArray(_cssFormattedClasses3, 3),\n indicies = _cssFormattedClasses4[0],\n classTypes = _cssFormattedClasses4[1],\n forbiddenBreakpoints = _cssFormattedClasses4[2];\n\n var length = codePoints.length;\n var lastEnd = 0;\n var nextIndex = 0;\n\n return {\n next: function next() {\n if (nextIndex >= length) {\n return { done: true };\n }\n var lineBreak = BREAK_NOT_ALLOWED;\n while (nextIndex < length && (lineBreak = _lineBreakAtIndex(codePoints, classTypes, indicies, ++nextIndex, forbiddenBreakpoints)) === BREAK_NOT_ALLOWED) {}\n\n if (lineBreak !== BREAK_NOT_ALLOWED || nextIndex === length) {\n var value = new Break(codePoints, lineBreak, lastEnd, nextIndex);\n lastEnd = nextIndex;\n return { value: value, done: false };\n }\n\n return { done: true };\n }\n };\n};\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/LineBreak.js?")},"./node_modules/css-line-break/dist/Trie.js":
-/*!**************************************************!*\
- !*** ./node_modules/css-line-break/dist/Trie.js ***!
- \**************************************************/
-/*! no static exports found */function node_modulesCssLineBreakDistTrieJs(module,exports,__webpack_require__){eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\nexports.Trie = exports.createTrieFromBase64 = exports.UTRIE2_INDEX_2_MASK = exports.UTRIE2_INDEX_2_BLOCK_LENGTH = exports.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = exports.UTRIE2_INDEX_1_OFFSET = exports.UTRIE2_UTF8_2B_INDEX_2_LENGTH = exports.UTRIE2_UTF8_2B_INDEX_2_OFFSET = exports.UTRIE2_INDEX_2_BMP_LENGTH = exports.UTRIE2_LSCP_INDEX_2_LENGTH = exports.UTRIE2_DATA_MASK = exports.UTRIE2_DATA_BLOCK_LENGTH = exports.UTRIE2_LSCP_INDEX_2_OFFSET = exports.UTRIE2_SHIFT_1_2 = exports.UTRIE2_INDEX_SHIFT = exports.UTRIE2_SHIFT_1 = exports.UTRIE2_SHIFT_2 = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Util = __webpack_require__(/*! ./Util */ "./node_modules/css-line-break/dist/Util.js");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\n/** Shift size for getting the index-2 table offset. */\nvar UTRIE2_SHIFT_2 = exports.UTRIE2_SHIFT_2 = 5;\n\n/** Shift size for getting the index-1 table offset. */\nvar UTRIE2_SHIFT_1 = exports.UTRIE2_SHIFT_1 = 6 + 5;\n\n/**\n * Shift size for shifting left the index array values.\n * Increases possible data size with 16-bit index values at the cost\n * of compactability.\n * This requires data blocks to be aligned by UTRIE2_DATA_GRANULARITY.\n */\nvar UTRIE2_INDEX_SHIFT = exports.UTRIE2_INDEX_SHIFT = 2;\n\n/**\n * Difference between the two shift sizes,\n * for getting an index-1 offset from an index-2 offset. 6=11-5\n */\nvar UTRIE2_SHIFT_1_2 = exports.UTRIE2_SHIFT_1_2 = UTRIE2_SHIFT_1 - UTRIE2_SHIFT_2;\n\n/**\n * The part of the index-2 table for U+D800..U+DBFF stores values for\n * lead surrogate code _units_ not code _points_.\n * Values for lead surrogate code _points_ are indexed with this portion of the table.\n * Length=32=0x20=0x400>>UTRIE2_SHIFT_2. (There are 1024=0x400 lead surrogates.)\n */\nvar UTRIE2_LSCP_INDEX_2_OFFSET = exports.UTRIE2_LSCP_INDEX_2_OFFSET = 0x10000 >> UTRIE2_SHIFT_2;\n\n/** Number of entries in a data block. 32=0x20 */\nvar UTRIE2_DATA_BLOCK_LENGTH = exports.UTRIE2_DATA_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_2;\n/** Mask for getting the lower bits for the in-data-block offset. */\nvar UTRIE2_DATA_MASK = exports.UTRIE2_DATA_MASK = UTRIE2_DATA_BLOCK_LENGTH - 1;\n\nvar UTRIE2_LSCP_INDEX_2_LENGTH = exports.UTRIE2_LSCP_INDEX_2_LENGTH = 0x400 >> UTRIE2_SHIFT_2;\n/** Count the lengths of both BMP pieces. 2080=0x820 */\nvar UTRIE2_INDEX_2_BMP_LENGTH = exports.UTRIE2_INDEX_2_BMP_LENGTH = UTRIE2_LSCP_INDEX_2_OFFSET + UTRIE2_LSCP_INDEX_2_LENGTH;\n/**\n * The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.\n * Length 32=0x20 for lead bytes C0..DF, regardless of UTRIE2_SHIFT_2.\n */\nvar UTRIE2_UTF8_2B_INDEX_2_OFFSET = exports.UTRIE2_UTF8_2B_INDEX_2_OFFSET = UTRIE2_INDEX_2_BMP_LENGTH;\nvar UTRIE2_UTF8_2B_INDEX_2_LENGTH = exports.UTRIE2_UTF8_2B_INDEX_2_LENGTH = 0x800 >> 6; /* U+0800 is the first code point after 2-byte UTF-8 */\n/**\n * The index-1 table, only used for supplementary code points, at offset 2112=0x840.\n * Variable length, for code points up to highStart, where the last single-value range starts.\n * Maximum length 512=0x200=0x100000>>UTRIE2_SHIFT_1.\n * (For 0x100000 supplementary code points U+10000..U+10ffff.)\n *\n * The part of the index-2 table for supplementary code points starts\n * after this index-1 table.\n *\n * Both the index-1 table and the following part of the index-2 table\n * are omitted completely if there is only BMP data.\n */\nvar UTRIE2_INDEX_1_OFFSET = exports.UTRIE2_INDEX_1_OFFSET = UTRIE2_UTF8_2B_INDEX_2_OFFSET + UTRIE2_UTF8_2B_INDEX_2_LENGTH;\n\n/**\n * Number of index-1 entries for the BMP. 32=0x20\n * This part of the index-1 table is omitted from the serialized form.\n */\nvar UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = exports.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = 0x10000 >> UTRIE2_SHIFT_1;\n\n/** Number of entries in an index-2 block. 64=0x40 */\nvar UTRIE2_INDEX_2_BLOCK_LENGTH = exports.UTRIE2_INDEX_2_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_1_2;\n/** Mask for getting the lower bits for the in-index-2-block offset. */\nvar UTRIE2_INDEX_2_MASK = exports.UTRIE2_INDEX_2_MASK = UTRIE2_INDEX_2_BLOCK_LENGTH - 1;\n\nvar createTrieFromBase64 = exports.createTrieFromBase64 = function createTrieFromBase64(base64) {\n var buffer = (0, _Util.decode)(base64);\n var view32 = Array.isArray(buffer) ? (0, _Util.polyUint32Array)(buffer) : new Uint32Array(buffer);\n var view16 = Array.isArray(buffer) ? (0, _Util.polyUint16Array)(buffer) : new Uint16Array(buffer);\n var headerLength = 24;\n\n var index = view16.slice(headerLength / 2, view32[4] / 2);\n var data = view32[5] === 2 ? view16.slice((headerLength + view32[4]) / 2) : view32.slice(Math.ceil((headerLength + view32[4]) / 4));\n\n return new Trie(view32[0], view32[1], view32[2], view32[3], index, data);\n};\n\nvar Trie = exports.Trie = function () {\n function Trie(initialValue, errorValue, highStart, highValueIndex, index, data) {\n _classCallCheck(this, Trie);\n\n this.initialValue = initialValue;\n this.errorValue = errorValue;\n this.highStart = highStart;\n this.highValueIndex = highValueIndex;\n this.index = index;\n this.data = data;\n }\n\n /**\n * Get the value for a code point as stored in the Trie.\n *\n * @param codePoint the code point\n * @return the value\n */\n\n\n _createClass(Trie, [{\n key: \'get\',\n value: function get(codePoint) {\n var ix = void 0;\n if (codePoint >= 0) {\n if (codePoint < 0x0d800 || codePoint > 0x0dbff && codePoint <= 0x0ffff) {\n // Ordinary BMP code point, excluding leading surrogates.\n // BMP uses a single level lookup. BMP index starts at offset 0 in the Trie2 index.\n // 16 bit data is stored in the index array itself.\n ix = this.index[codePoint >> UTRIE2_SHIFT_2];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n\n if (codePoint <= 0xffff) {\n // Lead Surrogate Code Point. A Separate index section is stored for\n // lead surrogate code units and code points.\n // The main index has the code unit data.\n // For this function, we need the code point data.\n // Note: this expression could be refactored for slightly improved efficiency, but\n // surrogate code points will be so rare in practice that it\'s not worth it.\n ix = this.index[UTRIE2_LSCP_INDEX_2_OFFSET + (codePoint - 0xd800 >> UTRIE2_SHIFT_2)];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n\n if (codePoint < this.highStart) {\n // Supplemental code point, use two-level lookup.\n ix = UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH + (codePoint >> UTRIE2_SHIFT_1);\n ix = this.index[ix];\n ix += codePoint >> UTRIE2_SHIFT_2 & UTRIE2_INDEX_2_MASK;\n ix = this.index[ix];\n ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n return this.data[ix];\n }\n if (codePoint <= 0x10ffff) {\n return this.data[this.highValueIndex];\n }\n }\n\n // Fall through. The code point is outside of the legal range of 0..0x10ffff.\n return this.errorValue;\n }\n }]);\n\n return Trie;\n}();\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/Trie.js?')},"./node_modules/css-line-break/dist/Util.js":
-/*!**************************************************!*\
- !*** ./node_modules/css-line-break/dist/Util.js ***!
- \**************************************************/
-/*! no static exports found */function node_modulesCssLineBreakDistUtilJs(module,exports,__webpack_require__){eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar toCodePoints = exports.toCodePoints = function toCodePoints(str) {\n var codePoints = [];\n var i = 0;\n var length = str.length;\n while (i < length) {\n var value = str.charCodeAt(i++);\n if (value >= 0xd800 && value <= 0xdbff && i < length) {\n var extra = str.charCodeAt(i++);\n if ((extra & 0xfc00) === 0xdc00) {\n codePoints.push(((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000);\n } else {\n codePoints.push(value);\n i--;\n }\n } else {\n codePoints.push(value);\n }\n }\n return codePoints;\n};\n\nvar fromCodePoint = exports.fromCodePoint = function fromCodePoint() {\n if (String.fromCodePoint) {\n return String.fromCodePoint.apply(String, arguments);\n }\n\n var length = arguments.length;\n if (!length) {\n return '';\n }\n\n var codeUnits = [];\n\n var index = -1;\n var result = '';\n while (++index < length) {\n var codePoint = arguments.length <= index ? undefined : arguments[index];\n if (codePoint <= 0xffff) {\n codeUnits.push(codePoint);\n } else {\n codePoint -= 0x10000;\n codeUnits.push((codePoint >> 10) + 0xd800, codePoint % 0x400 + 0xdc00);\n }\n if (index + 1 === length || codeUnits.length > 0x4000) {\n result += String.fromCharCode.apply(String, codeUnits);\n codeUnits.length = 0;\n }\n }\n return result;\n};\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\n// Use a lookup table to find the index.\nvar lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\nfor (var i = 0; i < chars.length; i++) {\n lookup[chars.charCodeAt(i)] = i;\n}\n\nvar decode = exports.decode = function decode(base64) {\n var bufferLength = base64.length * 0.75,\n len = base64.length,\n i = void 0,\n p = 0,\n encoded1 = void 0,\n encoded2 = void 0,\n encoded3 = void 0,\n encoded4 = void 0;\n\n if (base64[base64.length - 1] === '=') {\n bufferLength--;\n if (base64[base64.length - 2] === '=') {\n bufferLength--;\n }\n }\n\n var buffer = typeof ArrayBuffer !== 'undefined' && typeof Uint8Array !== 'undefined' && typeof Uint8Array.prototype.slice !== 'undefined' ? new ArrayBuffer(bufferLength) : new Array(bufferLength);\n var bytes = Array.isArray(buffer) ? buffer : new Uint8Array(buffer);\n\n for (i = 0; i < len; i += 4) {\n encoded1 = lookup[base64.charCodeAt(i)];\n encoded2 = lookup[base64.charCodeAt(i + 1)];\n encoded3 = lookup[base64.charCodeAt(i + 2)];\n encoded4 = lookup[base64.charCodeAt(i + 3)];\n\n bytes[p++] = encoded1 << 2 | encoded2 >> 4;\n bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\n bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\n }\n\n return buffer;\n};\n\nvar polyUint16Array = exports.polyUint16Array = function polyUint16Array(buffer) {\n var length = buffer.length;\n var bytes = [];\n for (var _i = 0; _i < length; _i += 2) {\n bytes.push(buffer[_i + 1] << 8 | buffer[_i]);\n }\n return bytes;\n};\n\nvar polyUint32Array = exports.polyUint32Array = function polyUint32Array(buffer) {\n var length = buffer.length;\n var bytes = [];\n for (var _i2 = 0; _i2 < length; _i2 += 4) {\n bytes.push(buffer[_i2 + 3] << 24 | buffer[_i2 + 2] << 16 | buffer[_i2 + 1] << 8 | buffer[_i2]);\n }\n return bytes;\n};\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/Util.js?")},"./node_modules/css-line-break/dist/index.js":
-/*!***************************************************!*\
- !*** ./node_modules/css-line-break/dist/index.js ***!
- \***************************************************/
-/*! no static exports found */function node_modulesCssLineBreakDistIndexJs(module,exports,__webpack_require__){eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Util = __webpack_require__(/*! ./Util */ \"./node_modules/css-line-break/dist/Util.js\");\n\nObject.defineProperty(exports, 'toCodePoints', {\n enumerable: true,\n get: function get() {\n return _Util.toCodePoints;\n }\n});\nObject.defineProperty(exports, 'fromCodePoint', {\n enumerable: true,\n get: function get() {\n return _Util.fromCodePoint;\n }\n});\n\nvar _LineBreak = __webpack_require__(/*! ./LineBreak */ \"./node_modules/css-line-break/dist/LineBreak.js\");\n\nObject.defineProperty(exports, 'LineBreaker', {\n enumerable: true,\n get: function get() {\n return _LineBreak.LineBreaker;\n }\n});\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/index.js?")},"./node_modules/css-line-break/dist/linebreak-trie.js":
-/*!************************************************************!*\
- !*** ./node_modules/css-line-break/dist/linebreak-trie.js ***!
- \************************************************************/
-/*! no static exports found */function node_modulesCssLineBreakDistLinebreakTrieJs(module,exports,__webpack_require__){eval("\n\nmodule.exports = 'KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9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j8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAM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AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACs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AAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFc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UAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwAr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UABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgA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XAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA';\n\n//# sourceURL=webpack://html2canvas/./node_modules/css-line-break/dist/linebreak-trie.js?")},"./src/Angle.js":
-/*!**********************!*\
- !*** ./src/Angle.js ***!
- \**********************/
-/*! exports provided: parseAngle */function srcAngleJs(module,__webpack_exports__,__webpack_require__){eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseAngle\", function() { return parseAngle; });\n\n\nvar ANGLE = /([+-]?\\d*\\.?\\d+)(deg|grad|rad|turn)/i;\nvar parseAngle = function parseAngle(angle) {\n var match = angle.match(ANGLE);\n\n if (match) {\n var value = parseFloat(match[1]);\n\n switch (match[2].toLowerCase()) {\n case 'deg':\n return Math.PI * value / 180;\n\n case 'grad':\n return Math.PI / 200 * value;\n\n case 'rad':\n return value;\n\n case 'turn':\n return Math.PI * 2 * value;\n }\n }\n\n return null;\n};\n\n//# sourceURL=webpack://html2canvas/./src/Angle.js?")},"./src/Bounds.js":
-/*!***********************!*\
- !*** ./src/Bounds.js ***!
- \***********************/
-/*! exports provided: Bounds, parseBounds, calculatePaddingBox, calculateContentBox, parseDocumentSize, parsePathForBorder, calculateBorderBoxPath, calculatePaddingBoxPath, parseBoundCurves */function srcBoundsJs(module,__webpack_exports__,__webpack_require__){eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Bounds", function() { return Bounds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBounds", function() { return parseBounds; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculatePaddingBox", function() { return calculatePaddingBox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateContentBox", function() { return calculateContentBox; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseDocumentSize", function() { return parseDocumentSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parsePathForBorder", function() { return parsePathForBorder; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculateBorderBoxPath", function() { return calculateBorderBoxPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "calculatePaddingBoxPath", function() { return calculatePaddingBoxPath; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseBoundCurves", function() { return parseBoundCurves; });\n/* harmony import */ var _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./drawing/Vector */ "./src/drawing/Vector.js");\n/* harmony import */ var _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./drawing/BezierCurve */ "./src/drawing/BezierCurve.js");\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\nvar TOP = 0;\nvar RIGHT = 1;\nvar BOTTOM = 2;\nvar LEFT = 3;\nvar H = 0;\nvar V = 1;\nvar Bounds =\n/*#__PURE__*/\nfunction () {\n function Bounds(x, y, w, h) {\n _classCallCheck(this, Bounds);\n\n this.left = x;\n this.top = y;\n this.width = w;\n this.height = h;\n }\n\n _createClass(Bounds, null, [{\n key: "fromClientRect",\n value: function fromClientRect(clientRect, scrollX, scrollY) {\n return new Bounds(clientRect.left + scrollX, clientRect.top + scrollY, clientRect.width, clientRect.height);\n }\n }]);\n\n return Bounds;\n}();\nvar parseBounds = function parseBounds(node, scrollX, scrollY) {\n return Bounds.fromClientRect(node.getBoundingClientRect(), scrollX, scrollY);\n};\nvar calculatePaddingBox = function calculatePaddingBox(bounds, borders) {\n return new Bounds(bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth, bounds.width - (borders[RIGHT].borderWidth + borders[LEFT].borderWidth), bounds.height - (borders[TOP].borderWidth + borders[BOTTOM].borderWidth));\n};\nvar calculateContentBox = function calculateContentBox(bounds, padding, borders) {\n // TODO support percentage paddings\n var paddingTop = padding[TOP].value;\n var paddingRight = padding[RIGHT].value;\n var paddingBottom = padding[BOTTOM].value;\n var paddingLeft = padding[LEFT].value;\n return new Bounds(bounds.left + paddingLeft + borders[LEFT].borderWidth, bounds.top + paddingTop + borders[TOP].borderWidth, bounds.width - (borders[RIGHT].borderWidth + borders[LEFT].borderWidth + paddingLeft + paddingRight), bounds.height - (borders[TOP].borderWidth + borders[BOTTOM].borderWidth + paddingTop + paddingBottom));\n};\nvar parseDocumentSize = function parseDocumentSize(document) {\n var body = document.body;\n var documentElement = document.documentElement;\n\n if (!body || !documentElement) {\n throw new Error( true ? "Unable to get document size" : undefined);\n }\n\n var width = Math.max(Math.max(body.scrollWidth, documentElement.scrollWidth), Math.max(body.offsetWidth, documentElement.offsetWidth), Math.max(body.clientWidth, documentElement.clientWidth));\n var height = Math.max(Math.max(body.scrollHeight, documentElement.scrollHeight), Math.max(body.offsetHeight, documentElement.offsetHeight), Math.max(body.clientHeight, documentElement.clientHeight));\n return new Bounds(0, 0, width, height);\n};\nvar parsePathForBorder = function parsePathForBorder(curves, borderSide) {\n switch (borderSide) {\n case TOP:\n return createPathFromCurves(curves.topLeftOuter, curves.topLeftInner, curves.topRightOuter, curves.topRightInner);\n\n case RIGHT:\n return createPathFromCurves(curves.topRightOuter, curves.topRightInner, curves.bottomRightOuter, curves.bottomRightInner);\n\n case BOTTOM:\n return createPathFromCurves(curves.bottomRightOuter, curves.bottomRightInner, curves.bottomLeftOuter, curves.bottomLeftInner);\n\n case LEFT:\n default:\n return createPathFromCurves(curves.bottomLeftOuter, curves.bottomLeftInner, curves.topLeftOuter, curves.topLeftInner);\n }\n};\n\nvar createPathFromCurves = function createPathFromCurves(outer1, inner1, outer2, inner2) {\n var path = [];\n\n if (outer1 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(outer1.subdivide(0.5, false));\n } else {\n path.push(outer1);\n }\n\n if (outer2 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(outer2.subdivide(0.5, true));\n } else {\n path.push(outer2);\n }\n\n if (inner2 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(inner2.subdivide(0.5, true).reverse());\n } else {\n path.push(inner2);\n }\n\n if (inner1 instanceof _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"]) {\n path.push(inner1.subdivide(0.5, false).reverse());\n } else {\n path.push(inner1);\n }\n\n return path;\n};\n\nvar calculateBorderBoxPath = function calculateBorderBoxPath(curves) {\n return [curves.topLeftOuter, curves.topRightOuter, curves.bottomRightOuter, curves.bottomLeftOuter];\n};\nvar calculatePaddingBoxPath = function calculatePaddingBoxPath(curves) {\n return [curves.topLeftInner, curves.topRightInner, curves.bottomRightInner, curves.bottomLeftInner];\n};\nvar parseBoundCurves = function parseBoundCurves(bounds, borders, borderRadius) {\n var tlh = borderRadius[CORNER.TOP_LEFT][H].getAbsoluteValue(bounds.width);\n var tlv = borderRadius[CORNER.TOP_LEFT][V].getAbsoluteValue(bounds.height);\n var trh = borderRadius[CORNER.TOP_RIGHT][H].getAbsoluteValue(bounds.width);\n var trv = borderRadius[CORNER.TOP_RIGHT][V].getAbsoluteValue(bounds.height);\n var brh = borderRadius[CORNER.BOTTOM_RIGHT][H].getAbsoluteValue(bounds.width);\n var brv = borderRadius[CORNER.BOTTOM_RIGHT][V].getAbsoluteValue(bounds.height);\n var blh = borderRadius[CORNER.BOTTOM_LEFT][H].getAbsoluteValue(bounds.width);\n var blv = borderRadius[CORNER.BOTTOM_LEFT][V].getAbsoluteValue(bounds.height);\n var factors = [];\n factors.push((tlh + trh) / bounds.width);\n factors.push((blh + brh) / bounds.width);\n factors.push((tlv + blv) / bounds.height);\n factors.push((trv + brv) / bounds.height);\n var maxFactor = Math.max.apply(Math, factors);\n\n if (maxFactor > 1) {\n tlh /= maxFactor;\n tlv /= maxFactor;\n trh /= maxFactor;\n trv /= maxFactor;\n brh /= maxFactor;\n brv /= maxFactor;\n blh /= maxFactor;\n blv /= maxFactor;\n }\n\n var topWidth = bounds.width - trh;\n var rightHeight = bounds.height - brv;\n var bottomWidth = bounds.width - brh;\n var leftHeight = bounds.height - blv;\n return {\n topLeftOuter: tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left, bounds.top, tlh, tlv, CORNER.TOP_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left, bounds.top),\n topLeftInner: tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth, Math.max(0, tlh - borders[LEFT].borderWidth), Math.max(0, tlv - borders[TOP].borderWidth), CORNER.TOP_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + borders[LEFT].borderWidth, bounds.top + borders[TOP].borderWidth),\n topRightOuter: trh > 0 || trv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top, trh, trv, CORNER.TOP_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width, bounds.top),\n topRightInner: trh > 0 || trv > 0 ? getCurvePoints(bounds.left + Math.min(topWidth, bounds.width + borders[LEFT].borderWidth), bounds.top + borders[TOP].borderWidth, topWidth > bounds.width + borders[LEFT].borderWidth ? 0 : trh - borders[LEFT].borderWidth, trv - borders[TOP].borderWidth, CORNER.TOP_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width - borders[RIGHT].borderWidth, bounds.top + borders[TOP].borderWidth),\n bottomRightOuter: brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh, brv, CORNER.BOTTOM_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width, bounds.top + bounds.height),\n bottomRightInner: brh > 0 || brv > 0 ? getCurvePoints(bounds.left + Math.min(bottomWidth, bounds.width - borders[LEFT].borderWidth), bounds.top + Math.min(rightHeight, bounds.height + borders[TOP].borderWidth), Math.max(0, brh - borders[RIGHT].borderWidth), brv - borders[BOTTOM].borderWidth, CORNER.BOTTOM_RIGHT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + bounds.width - borders[RIGHT].borderWidth, bounds.top + bounds.height - borders[BOTTOM].borderWidth),\n bottomLeftOuter: blh > 0 || blv > 0 ? getCurvePoints(bounds.left, bounds.top + leftHeight, blh, blv, CORNER.BOTTOM_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left, bounds.top + bounds.height),\n bottomLeftInner: blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borders[LEFT].borderWidth, bounds.top + leftHeight, Math.max(0, blh - borders[LEFT].borderWidth), blv - borders[BOTTOM].borderWidth, CORNER.BOTTOM_LEFT) : new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](bounds.left + borders[LEFT].borderWidth, bounds.top + bounds.height - borders[BOTTOM].borderWidth)\n };\n};\nvar CORNER = {\n TOP_LEFT: 0,\n TOP_RIGHT: 1,\n BOTTOM_RIGHT: 2,\n BOTTOM_LEFT: 3\n};\n\nvar getCurvePoints = function getCurvePoints(x, y, r1, r2, position) {\n var kappa = 4 * ((Math.sqrt(2) - 1) / 3);\n var ox = r1 * kappa; // control point offset horizontal\n\n var oy = r2 * kappa; // control point offset vertical\n\n var xm = x + r1; // x-middle\n\n var ym = y + r2; // y-middle\n\n switch (position) {\n case CORNER.TOP_LEFT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym - oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm - ox, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y));\n\n case CORNER.TOP_RIGHT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x + ox, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym - oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym));\n\n case CORNER.BOTTOM_RIGHT:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, y + oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x + ox, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, ym));\n\n case CORNER.BOTTOM_LEFT:\n default:\n return new _drawing_BezierCurve__WEBPACK_IMPORTED_MODULE_1__["default"](new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](xm - ox, ym), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y + oy), new _drawing_Vector__WEBPACK_IMPORTED_MODULE_0__["default"](x, y));\n }\n};\n\n//# sourceURL=webpack://html2canvas/./src/Bounds.js?')},"./src/Clone.js":
-/*!**********************!*\
- !*** ./src/Clone.js ***!
- \**********************/
-/*! exports provided: DocumentCloner, cloneWindow */function srcCloneJs(module,__webpack_exports__,__webpack_require__){eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentCloner", function() { return DocumentCloner; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cloneWindow", function() { return cloneWindow; });\n/* harmony import */ var _Bounds__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Bounds */ "./src/Bounds.js");\n/* harmony import */ var _Proxy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Proxy */ "./src/Proxy.js");\n/* harmony import */ var _ResourceLoader__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResourceLoader */ "./src/ResourceLoader.js");\n/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Util */ "./src/Util.js");\n/* harmony import */ var _parsing_background__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./parsing/background */ "./src/parsing/background.js");\n/* harmony import */ var _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./renderer/CanvasRenderer */ "./src/renderer/CanvasRenderer.js");\n/* harmony import */ var _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./PseudoNodeContent */ "./src/PseudoNodeContent.js");\n\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n\nvar IGNORE_ATTRIBUTE = \'data-html2canvas-ignore\';\nvar DocumentCloner =\n/*#__PURE__*/\nfunction () {\n function DocumentCloner(element, options, logger, copyInline, renderer) {\n _classCallCheck(this, DocumentCloner);\n\n this.referenceElement = element;\n this.scrolledElements = [];\n this.copyStyles = copyInline;\n this.inlineImages = copyInline;\n this.logger = logger;\n this.options = options;\n this.renderer = renderer;\n this.resourceLoader = new _ResourceLoader__WEBPACK_IMPORTED_MODULE_2__["default"](options, logger, window);\n this.pseudoContentData = {\n counters: {},\n quoteDepth: 0\n }; // $FlowFixMe\n\n this.documentElement = this.cloneNode(element.ownerDocument.documentElement);\n }\n\n _createClass(DocumentCloner, [{\n key: "inlineAllImages",\n value: function inlineAllImages(node) {\n var _this = this;\n\n if (this.inlineImages && node) {\n var style = node.style;\n Promise.all(Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroundImage"])(style.backgroundImage).map(function (backgroundImage) {\n if (backgroundImage.method === \'url\') {\n return _this.resourceLoader.inlineImage(backgroundImage.args[0]).then(function (img) {\n return img && typeof img.src === \'string\' ? "url(\\"".concat(img.src, "\\")") : \'none\';\n }).catch(function (e) {\n if (true) {\n _this.logger.log("Unable to load image", e);\n }\n });\n }\n\n return Promise.resolve("".concat(backgroundImage.prefix).concat(backgroundImage.method, "(").concat(backgroundImage.args.join(\',\'), ")"));\n })).then(function (backgroundImages) {\n if (backgroundImages.length > 1) {\n // TODO Multiple backgrounds somehow broken in Chrome\n style.backgroundColor = \'\';\n }\n\n style.backgroundImage = backgroundImages.join(\',\');\n });\n\n if (node instanceof HTMLImageElement) {\n this.resourceLoader.inlineImage(node.src).then(function (img) {\n if (img && node instanceof HTMLImageElement && node.parentNode) {\n var parentNode = node.parentNode;\n var clonedChild = Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(node.style, img.cloneNode(false));\n parentNode.replaceChild(clonedChild, node);\n }\n }).catch(function (e) {\n if (true) {\n _this.logger.log("Unable to load image", e);\n }\n });\n }\n }\n }\n }, {\n key: "inlineFonts",\n value: function inlineFonts(document) {\n var _this2 = this;\n\n return Promise.all(Array.from(document.styleSheets).map(function (sheet) {\n if (sheet.href) {\n return fetch(sheet.href).then(function (res) {\n return res.text();\n }).then(function (text) {\n return createStyleSheetFontsFromText(text, sheet.href);\n }).catch(function (e) {\n if (true) {\n _this2.logger.log("Unable to load stylesheet", e);\n }\n\n return [];\n });\n }\n\n return getSheetFonts(sheet, document);\n })).then(function (fonts) {\n return fonts.reduce(function (acc, font) {\n return acc.concat(font);\n }, []);\n }).then(function (fonts) {\n return Promise.all(fonts.map(function (font) {\n return fetch(font.formats[0].src).then(function (response) {\n return response.blob();\n }).then(function (blob) {\n return new Promise(function (resolve, reject) {\n var reader = new FileReader();\n reader.onerror = reject;\n\n reader.onload = function () {\n // $FlowFixMe\n var result = reader.result;\n resolve(result);\n };\n\n reader.readAsDataURL(blob);\n });\n }).then(function (dataUri) {\n font.fontFace.setProperty(\'src\', "url(\\"".concat(dataUri, "\\")"));\n return "@font-face {".concat(font.fontFace.cssText, " ");\n });\n }));\n }).then(function (fontCss) {\n var style = document.createElement(\'style\');\n style.textContent = fontCss.join(\'\\n\');\n\n _this2.documentElement.appendChild(style);\n });\n }\n }, {\n key: "createElementClone",\n value: function createElementClone(node) {\n var _this3 = this;\n\n if (this.copyStyles && node instanceof HTMLCanvasElement) {\n var img = node.ownerDocument.createElement(\'img\');\n\n try {\n img.src = node.toDataURL();\n return img;\n } catch (e) {\n if (true) {\n this.logger.log("Unable to clone canvas contents, canvas is tainted");\n }\n }\n }\n\n if (node instanceof HTMLIFrameElement) {\n var tempIframe = node.cloneNode(false);\n var iframeKey = generateIframeKey();\n tempIframe.setAttribute(\'data-html2canvas-internal-iframe-key\', iframeKey);\n\n var _parseBounds = Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parseBounds"])(node, 0, 0),\n width = _parseBounds.width,\n height = _parseBounds.height;\n\n this.resourceLoader.cache[iframeKey] = getIframeDocumentElement(node, this.options).then(function (documentElement) {\n return _this3.renderer(documentElement, {\n allowTaint: _this3.options.allowTaint,\n backgroundColor: \'#ffffff\',\n canvas: null,\n imageTimeout: _this3.options.imageTimeout,\n logging: _this3.options.logging,\n proxy: _this3.options.proxy,\n removeContainer: _this3.options.removeContainer,\n scale: _this3.options.scale,\n foreignObjectRendering: _this3.options.foreignObjectRendering,\n useCORS: _this3.options.useCORS,\n target: new _renderer_CanvasRenderer__WEBPACK_IMPORTED_MODULE_5__["default"](),\n width: width,\n height: height,\n x: 0,\n y: 0,\n windowWidth: documentElement.ownerDocument.defaultView.innerWidth,\n windowHeight: documentElement.ownerDocument.defaultView.innerHeight,\n scrollX: documentElement.ownerDocument.defaultView.pageXOffset,\n scrollY: documentElement.ownerDocument.defaultView.pageYOffset\n }, _this3.logger.child(iframeKey));\n }).then(function (canvas) {\n return new Promise(function (resolve, reject) {\n var iframeCanvas = document.createElement(\'img\');\n\n iframeCanvas.onload = function () {\n return resolve(canvas);\n };\n\n iframeCanvas.onerror = function (event) {\n // Empty iframes may result in empty "data:," URLs, which are invalid from the \'s point of view\n // and instead of `onload` cause `onerror` and unhandled rejection warnings\n // https://github.com/niklasvh/html2canvas/issues/1502\n iframeCanvas.src == \'data:,\' ? resolve(canvas) : reject(event);\n };\n\n iframeCanvas.src = canvas.toDataURL();\n\n if (tempIframe.parentNode) {\n tempIframe.parentNode.replaceChild(Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(node.ownerDocument.defaultView.getComputedStyle(node), iframeCanvas), tempIframe);\n }\n });\n });\n return tempIframe;\n }\n\n try {\n if (node instanceof HTMLStyleElement && node.sheet && node.sheet.cssRules) {\n var css = [].slice.call(node.sheet.cssRules, 0).reduce(function (css, rule) {\n if (rule && rule.cssText) {\n return css + rule.cssText;\n }\n\n return css;\n }, \'\');\n var style = node.cloneNode(false);\n style.textContent = css;\n return style;\n }\n } catch (e) {\n // accessing node.sheet.cssRules throws a DOMException\n this.logger.log(\'Unable to access cssRules property\');\n\n if (e.name !== \'SecurityError\') {\n this.logger.log(e);\n throw e;\n }\n }\n\n return node.cloneNode(false);\n }\n }, {\n key: "cloneNode",\n value: function cloneNode(node) {\n var clone = node.nodeType === Node.TEXT_NODE ? document.createTextNode(node.nodeValue) : this.createElementClone(node);\n var window = node.ownerDocument.defaultView;\n var style = node instanceof window.HTMLElement ? window.getComputedStyle(node) : null;\n var styleBefore = node instanceof window.HTMLElement ? window.getComputedStyle(node, \':before\') : null;\n var styleAfter = node instanceof window.HTMLElement ? window.getComputedStyle(node, \':after\') : null;\n\n if (this.referenceElement === node && clone instanceof window.HTMLElement) {\n this.clonedReferenceElement = clone;\n }\n\n if (clone instanceof window.HTMLBodyElement) {\n createPseudoHideStyles(clone);\n }\n\n var counters = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["parseCounterReset"])(style, this.pseudoContentData);\n var contentBefore = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["resolvePseudoContent"])(node, styleBefore, this.pseudoContentData);\n\n for (var child = node.firstChild; child; child = child.nextSibling) {\n if (child.nodeType !== Node.ELEMENT_NODE || child.nodeName !== \'SCRIPT\' && // $FlowFixMe\n !child.hasAttribute(IGNORE_ATTRIBUTE) && (typeof this.options.ignoreElements !== \'function\' || // $FlowFixMe\n !this.options.ignoreElements(child))) {\n if (!this.copyStyles || child.nodeName !== \'STYLE\') {\n clone.appendChild(this.cloneNode(child));\n }\n }\n }\n\n var contentAfter = Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["resolvePseudoContent"])(node, styleAfter, this.pseudoContentData);\n Object(_PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["popCounters"])(counters, this.pseudoContentData);\n\n if (node instanceof window.HTMLElement && clone instanceof window.HTMLElement) {\n if (styleBefore) {\n this.inlineAllImages(inlinePseudoElement(node, clone, styleBefore, contentBefore, PSEUDO_BEFORE));\n }\n\n if (styleAfter) {\n this.inlineAllImages(inlinePseudoElement(node, clone, styleAfter, contentAfter, PSEUDO_AFTER));\n }\n\n if (style && this.copyStyles && !(node instanceof HTMLIFrameElement)) {\n Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(style, clone);\n }\n\n this.inlineAllImages(clone);\n\n if (node.scrollTop !== 0 || node.scrollLeft !== 0) {\n this.scrolledElements.push([clone, node.scrollLeft, node.scrollTop]);\n }\n\n switch (node.nodeName) {\n case \'CANVAS\':\n if (!this.copyStyles) {\n cloneCanvasContents(node, clone);\n }\n\n break;\n\n case \'TEXTAREA\':\n case \'SELECT\':\n clone.value = node.value;\n break;\n }\n }\n\n return clone;\n }\n }]);\n\n return DocumentCloner;\n}();\n\nvar getSheetFonts = function getSheetFonts(sheet, document) {\n // $FlowFixMe\n return (sheet.cssRules ? Array.from(sheet.cssRules) : []).filter(function (rule) {\n return rule.type === CSSRule.FONT_FACE_RULE;\n }).map(function (rule) {\n var src = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroundImage"])(rule.style.getPropertyValue(\'src\'));\n var formats = [];\n\n for (var i = 0; i < src.length; i++) {\n if (src[i].method === \'url\' && src[i + 1] && src[i + 1].method === \'format\') {\n var a = document.createElement(\'a\');\n a.href = src[i].args[0];\n\n if (document.body) {\n document.body.appendChild(a);\n }\n\n var font = {\n src: a.href,\n format: src[i + 1].args[0]\n };\n formats.push(font);\n }\n }\n\n return {\n // TODO select correct format for browser),\n formats: formats.filter(function (font) {\n return /^woff/i.test(font.format);\n }),\n fontFace: rule.style\n };\n }).filter(function (font) {\n return font.formats.length;\n });\n};\n\nvar createStyleSheetFontsFromText = function createStyleSheetFontsFromText(text, baseHref) {\n var doc = document.implementation.createHTMLDocument(\'\');\n var base = document.createElement(\'base\'); // $FlowFixMe\n\n base.href = baseHref;\n var style = document.createElement(\'style\');\n style.textContent = text;\n\n if (doc.head) {\n doc.head.appendChild(base);\n }\n\n if (doc.body) {\n doc.body.appendChild(style);\n }\n\n return style.sheet ? getSheetFonts(style.sheet, doc) : [];\n};\n\nvar restoreOwnerScroll = function restoreOwnerScroll(ownerDocument, x, y) {\n if (ownerDocument.defaultView && (x !== ownerDocument.defaultView.pageXOffset || y !== ownerDocument.defaultView.pageYOffset)) {\n ownerDocument.defaultView.scrollTo(x, y);\n }\n};\n\nvar cloneCanvasContents = function cloneCanvasContents(canvas, clonedCanvas) {\n try {\n if (clonedCanvas) {\n clonedCanvas.width = canvas.width;\n clonedCanvas.height = canvas.height;\n var ctx = canvas.getContext(\'2d\');\n var clonedCtx = clonedCanvas.getContext(\'2d\');\n\n if (ctx) {\n clonedCtx.putImageData(ctx.getImageData(0, 0, canvas.width, canvas.height), 0, 0);\n } else {\n clonedCtx.drawImage(canvas, 0, 0);\n }\n }\n } catch (e) {}\n};\n\nvar inlinePseudoElement = function inlinePseudoElement(node, clone, style, contentItems, pseudoElt) {\n if (!style || !style.content || style.content === \'none\' || style.content === \'-moz-alt-content\' || style.display === \'none\') {\n return;\n }\n\n var anonymousReplacedElement = clone.ownerDocument.createElement(\'html2canvaspseudoelement\');\n Object(_Util__WEBPACK_IMPORTED_MODULE_3__["copyCSSStyles"])(style, anonymousReplacedElement);\n\n if (contentItems) {\n var len = contentItems.length;\n\n for (var i = 0; i < len; i++) {\n var item = contentItems[i];\n\n switch (item.type) {\n case _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["PSEUDO_CONTENT_ITEM_TYPE"].IMAGE:\n var img = clone.ownerDocument.createElement(\'img\');\n img.src = Object(_parsing_background__WEBPACK_IMPORTED_MODULE_4__["parseBackgroundImage"])("url(".concat(item.value, ")"))[0].args[0];\n img.style.opacity = \'1\';\n anonymousReplacedElement.appendChild(img);\n break;\n\n case _PseudoNodeContent__WEBPACK_IMPORTED_MODULE_6__["PSEUDO_CONTENT_ITEM_TYPE"].TEXT:\n anonymousReplacedElement.appendChild(clone.ownerDocument.createTextNode(item.value));\n break;\n }\n }\n }\n\n anonymousReplacedElement.className = "".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE, " ").concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER);\n clone.className += pseudoElt === PSEUDO_BEFORE ? " ".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE) : " ".concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER);\n\n if (pseudoElt === PSEUDO_BEFORE) {\n clone.insertBefore(anonymousReplacedElement, clone.firstChild);\n } else {\n clone.appendChild(anonymousReplacedElement);\n }\n\n return anonymousReplacedElement;\n};\n\nvar URL_REGEXP = /^url\\((.+)\\)$/i;\nvar PSEUDO_BEFORE = \':before\';\nvar PSEUDO_AFTER = \':after\';\nvar PSEUDO_HIDE_ELEMENT_CLASS_BEFORE = \'___html2canvas___pseudoelement_before\';\nvar PSEUDO_HIDE_ELEMENT_CLASS_AFTER = \'___html2canvas___pseudoelement_after\';\nvar PSEUDO_HIDE_ELEMENT_STYLE = "{\\n content: \\"\\" !important;\\n display: none !important;\\n}";\n\nvar createPseudoHideStyles = function createPseudoHideStyles(body) {\n createStyles(body, ".".concat(PSEUDO_HIDE_ELEMENT_CLASS_BEFORE).concat(PSEUDO_BEFORE).concat(PSEUDO_HIDE_ELEMENT_STYLE, "\\n .").concat(PSEUDO_HIDE_ELEMENT_CLASS_AFTER).concat(PSEUDO_AFTER).concat(PSEUDO_HIDE_ELEMENT_STYLE));\n};\n\nvar createStyles = function createStyles(body, styles) {\n var style = body.ownerDocument.createElement(\'style\');\n style.innerHTML = styles;\n body.appendChild(style);\n};\n\nvar initNode = function initNode(_ref) {\n var _ref2 = _slicedToArray(_ref, 3),\n element = _ref2[0],\n x = _ref2[1],\n y = _ref2[2];\n\n element.scrollLeft = x;\n element.scrollTop = y;\n};\n\nvar generateIframeKey = function generateIframeKey() {\n return Math.ceil(Date.now() + Math.random() * 10000000).toString(16);\n};\n\nvar DATA_URI_REGEXP = /^data:text\\/(.+);(base64)?,(.*)$/i;\n\nvar getIframeDocumentElement = function getIframeDocumentElement(node, options) {\n try {\n return Promise.resolve(node.contentWindow.document.documentElement);\n } catch (e) {\n return options.proxy ? Object(_Proxy__WEBPACK_IMPORTED_MODULE_1__["Proxy"])(node.src, options).then(function (html) {\n var match = html.match(DATA_URI_REGEXP);\n\n if (!match) {\n return Promise.reject();\n }\n\n return match[2] === \'base64\' ? window.atob(decodeURIComponent(match[3])) : decodeURIComponent(match[3]);\n }).then(function (html) {\n return createIframeContainer(node.ownerDocument, Object(_Bounds__WEBPACK_IMPORTED_MODULE_0__["parseBounds"])(node, 0, 0)).then(function (cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n documentClone.open();\n documentClone.write(html);\n var iframeLoad = iframeLoader(cloneIframeContainer).then(function () {\n return documentClone.documentElement;\n });\n documentClone.close();\n return iframeLoad;\n });\n }) : Promise.reject();\n }\n};\n\nvar createIframeContainer = function createIframeContainer(ownerDocument, bounds) {\n var cloneIframeContainer = ownerDocument.createElement(\'iframe\');\n cloneIframeContainer.className = \'html2canvas-container\';\n cloneIframeContainer.style.visibility = \'hidden\';\n cloneIframeContainer.style.position = \'fixed\';\n cloneIframeContainer.style.left = \'-10000px\';\n cloneIframeContainer.style.top = \'0px\';\n cloneIframeContainer.style.border = \'0\';\n cloneIframeContainer.width = bounds.width.toString();\n cloneIframeContainer.height = bounds.height.toString();\n cloneIframeContainer.scrolling = \'no\'; // ios won\'t scroll without it\n\n cloneIframeContainer.setAttribute(IGNORE_ATTRIBUTE, \'true\');\n\n if (!ownerDocument.body) {\n return Promise.reject( true ? "Body element not found in Document that is getting rendered" : undefined);\n }\n\n ownerDocument.body.appendChild(cloneIframeContainer);\n return Promise.resolve(cloneIframeContainer);\n};\n\nvar iframeLoader = function iframeLoader(cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n return new Promise(function (resolve, reject) {\n cloneWindow.onload = cloneIframeContainer.onload = documentClone.onreadystatechange = function () {\n var interval = setInterval(function () {\n if (documentClone.body.childNodes.length > 0 && documentClone.readyState === \'complete\') {\n clearInterval(interval);\n resolve(cloneIframeContainer);\n }\n }, 50);\n };\n });\n};\n\nvar cloneWindow = function cloneWindow(ownerDocument, bounds, referenceElement, options, logger, renderer) {\n var cloner = new DocumentCloner(referenceElement, options, logger, false, renderer);\n var scrollX = ownerDocument.defaultView.pageXOffset;\n var scrollY = ownerDocument.defaultView.pageYOffset;\n return createIframeContainer(ownerDocument, bounds).then(function (cloneIframeContainer) {\n var cloneWindow = cloneIframeContainer.contentWindow;\n var documentClone = cloneWindow.document;\n /* Chrome doesn\'t detect relative background-images assigned in inline