349 lines
2.2 MiB
349 lines
2.2 MiB
/*! For license information please see polotno.bundle.js.LICENSE.txt */
|
||
(()=>{var e={55224:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(18465),o=n(67294),i=n(90322),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.requestIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},r.cancelAnimationFrames=function(){if(r.requestIds.length>0){for(var e=0,t=r.requestIds;e<t.length;e++){var n=t[e];window.cancelAnimationFrame(n)}r.requestIds=[]}},(0,i.KV)("production")||r.validateProps(r.props),r}return(0,r.ZT)(t,e),t.prototype.componentDidUpdate=function(e,t,n){(0,i.KV)("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts(),this.cancelAnimationFrames()},t.prototype.requestAnimationFrame=function(e){var t=window.requestAnimationFrame(e);return this.requestIds.push(t),function(){return window.cancelAnimationFrame(t)}},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(o.Component)},35307:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(18465),o=n(67294),i=n(90322),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.requestIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},r.cancelAnimationFrames=function(){if(r.requestIds.length>0){for(var e=0,t=r.requestIds;e<t.length;e++){var n=t[e];window.cancelAnimationFrame(n)}r.requestIds=[]}},(0,i.KV)("production")||r.validateProps(r.props),r}return(0,r.ZT)(t,e),t.prototype.componentDidUpdate=function(e,t,n){(0,i.KV)("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts(),this.cancelAnimationFrames()},t.prototype.requestAnimationFrame=function(e){var t=window.requestAnimationFrame(e);return this.requestIds.push(t),function(){return window.cancelAnimationFrame(t)}},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(o.PureComponent)},11229:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var r={CENTER:"center",LEFT:"left",RIGHT:"right"}},44958:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var r={START:"start",END:"end"}},40451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ACTIVE:()=>h,ALERT:()=>ce,ALERT_BODY:()=>ue,ALERT_CONTENTS:()=>de,ALERT_FOOTER:()=>he,ALIGN_LEFT:()=>f,ALIGN_RIGHT:()=>p,BLOCKQUOTE:()=>ne,BREADCRUMB:()=>fe,BREADCRUMBS:()=>ve,BREADCRUMBS_COLLAPSED:()=>me,BREADCRUMB_CURRENT:()=>pe,BUTTON:()=>ge,BUTTON_GROUP:()=>ye,BUTTON_SPINNER:()=>be,BUTTON_TEXT:()=>we,CALLOUT:()=>_e,CALLOUT_ICON:()=>Ee,CARD:()=>xe,CHECKBOX:()=>gt,CODE:()=>re,CODE_BLOCK:()=>oe,COLLAPSE:()=>Se,COLLAPSE_BODY:()=>Oe,COLLAPSIBLE_LIST:()=>Ce,COMPACT:()=>v,CONTEXT_MENU:()=>Me,CONTEXT_MENU_POPOVER_TARGET:()=>ze,CONTROL:()=>pt,CONTROL_GROUP:()=>Pe,CONTROL_INDICATOR:()=>vt,CONTROL_INDICATOR_CHILD:()=>mt,DARK:()=>m,DIALOG:()=>Te,DIALOG_BODY:()=>ke,DIALOG_BODY_SCROLL_CONTAINER:()=>Ne,DIALOG_CLOSE_BUTTON:()=>Ie,DIALOG_CONTAINER:()=>Ae,DIALOG_FOOTER:()=>Re,DIALOG_FOOTER_ACTIONS:()=>De,DIALOG_FOOTER_FIXED:()=>He,DIALOG_FOOTER_MAIN_SECTION:()=>Ve,DIALOG_HEADER:()=>Le,DIALOG_STEP:()=>je,DIALOG_STEP_CONTAINER:()=>Fe,DIALOG_STEP_ICON:()=>Ue,DIALOG_STEP_TITLE:()=>Be,DIALOG_STEP_VIEWED:()=>Ge,DISABLED:()=>g,DIVIDER:()=>qe,DRAWER:()=>We,DRAWER_BODY:()=>Ke,DRAWER_FOOTER:()=>$e,DRAWER_HEADER:()=>Ye,EDITABLE_TEXT:()=>Xe,EDITABLE_TEXT_CONTENT:()=>Ze,EDITABLE_TEXT_EDITING:()=>Qe,EDITABLE_TEXT_INPUT:()=>Je,EDITABLE_TEXT_PLACEHOLDER:()=>et,ELEVATION_0:()=>H,ELEVATION_1:()=>V,ELEVATION_2:()=>D,ELEVATION_3:()=>j,ELEVATION_4:()=>F,END:()=>Qn,FILE_INPUT:()=>_t,FILE_INPUT_HAS_SELECTION:()=>Et,FILE_UPLOAD_INPUT:()=>xt,FILE_UPLOAD_INPUT_CUSTOM_TEXT:()=>St,FILL:()=>y,FIXED:()=>b,FIXED_TOP:()=>w,FLEX_EXPANDER:()=>tt,FOCUS_DISABLED:()=>W,FOCUS_STYLE_MANAGER_IGNORE:()=>K,FORM_CONTENT:()=>Nt,FORM_GROUP:()=>kt,FORM_GROUP_SUB_LABEL:()=>Rt,FORM_HELPER_TEXT:()=>It,HEADING:()=>ie,HOTKEY:()=>zt,HOTKEY_COLUMN:()=>Tt,HOTKEY_DIALOG:()=>At,HOTKEY_LABEL:()=>Pt,HTML_SELECT:()=>nt,HTML_TABLE:()=>ot,HTML_TABLE_BORDERED:()=>it,HTML_TABLE_CONDENSED:()=>at,HTML_TABLE_STRIPED:()=>lt,ICON:()=>Rr,ICON_LARGE:()=>Vr,ICON_STANDARD:()=>Hr,INLINE:()=>_,INPUT:()=>st,INPUT_ACTION:()=>ht,INPUT_GHOST:()=>ct,INPUT_GROUP:()=>ut,INPUT_LEFT_CONTAINER:()=>dt,INTENT_DANGER:()=>q,INTENT_PRIMARY:()=>B,INTENT_SUCCESS:()=>U,INTENT_WARNING:()=>G,INTERACTIVE:()=>E,KEY:()=>Ot,KEY_COMBO:()=>Ct,LABEL:()=>Lt,LARGE:()=>x,LIST:()=>ae,LIST_UNSTYLED:()=>le,LOADING:()=>S,MENU:()=>Ht,MENU_DIVIDER:()=>Ut,MENU_HEADER:()=>Gt,MENU_ITEM:()=>Vt,MENU_ITEM_ICON:()=>Dt,MENU_ITEM_LABEL:()=>jt,MENU_SUBMENU:()=>Ft,MENU_SUBMENU_ICON:()=>Bt,MINIMAL:()=>O,MODIFIER_KEY:()=>Mt,MONOSPACE_TEXT:()=>X,MULTILINE:()=>M,MULTISTEP_DIALOG:()=>qt,MULTISTEP_DIALOG_FOOTER:()=>Yt,MULTISTEP_DIALOG_LEFT_PANEL:()=>Kt,MULTISTEP_DIALOG_NAV_RIGHT:()=>Zt,MULTISTEP_DIALOG_NAV_TOP:()=>Xt,MULTISTEP_DIALOG_PANELS:()=>Wt,MULTISTEP_DIALOG_RIGHT_PANEL:()=>$t,NAVBAR:()=>Qt,NAVBAR_DIVIDER:()=>tn,NAVBAR_GROUP:()=>Jt,NAVBAR_HEADING:()=>en,NON_IDEAL_STATE:()=>nn,NON_IDEAL_STATE_TEXT:()=>on,NON_IDEAL_STATE_VISUAL:()=>rn,NUMERIC_INPUT:()=>an,OUTLINED:()=>C,OVERFLOW_LIST:()=>ln,OVERFLOW_LIST_SPACER:()=>sn,OVERLAY:()=>cn,OVERLAY_BACKDROP:()=>un,OVERLAY_CONTAINER:()=>dn,OVERLAY_CONTENT:()=>hn,OVERLAY_END_FOCUS_TRAP:()=>gn,OVERLAY_INLINE:()=>fn,OVERLAY_OPEN:()=>pn,OVERLAY_SCROLL_CONTAINER:()=>vn,OVERLAY_START_FOCUS_TRAP:()=>mn,PANEL_STACK:()=>yn,PANEL_STACK2:()=>En,PANEL_STACK2_HEADER:()=>xn,PANEL_STACK2_HEADER_BACK:()=>Sn,PANEL_STACK2_VIEW:()=>On,PANEL_STACK_HEADER:()=>bn,PANEL_STACK_HEADER_BACK:()=>wn,PANEL_STACK_VIEW:()=>_n,POPOVER:()=>Cn,POPOVER_ARROW:()=>Mn,POPOVER_BACKDROP:()=>zn,POPOVER_CAPTURING_DISMISS:()=>Pn,POPOVER_CONTENT:()=>Tn,POPOVER_CONTENT_SIZING:()=>An,POPOVER_DISMISS:()=>Ln,POPOVER_DISMISS_OVERRIDE:()=>kn,POPOVER_OPEN:()=>Nn,POPOVER_OUT_OF_BOUNDARIES:()=>In,POPOVER_TARGET:()=>Rn,POPOVER_WRAPPER:()=>Hn,PORTAL:()=>Un,POSITION_BOTTOM:()=>N,POSITION_LEFT:()=>I,POSITION_RIGHT:()=>R,POSITION_TOP:()=>k,PROGRESS_BAR:()=>Dn,PROGRESS_METER:()=>jn,PROGRESS_NO_ANIMATION:()=>Bn,PROGRESS_NO_STRIPES:()=>Fn,RADIO:()=>yt,READ_ONLY:()=>z,RESIZABLE_INPUT_SPAN:()=>ft,ROUND:()=>P,RTL:()=>se,RUNNING_TEXT:()=>Y,SELECT:()=>rt,SELECTED:()=>T,SKELETON:()=>Gn,SLIDER:()=>qn,SLIDER_AXIS:()=>Wn,SLIDER_HANDLE:()=>Kn,SLIDER_LABEL:()=>$n,SLIDER_PROGRESS:()=>Xn,SLIDER_TRACK:()=>Yn,SMALL:()=>A,SPINNER:()=>Jn,SPINNER_ANIMATION:()=>er,SPINNER_HEAD:()=>tr,SPINNER_NO_SPIN:()=>nr,SPINNER_TRACK:()=>rr,START:()=>Zn,SWITCH:()=>bt,SWITCH_INNER_TEXT:()=>wt,TAB:()=>or,TABS:()=>dr,TAB_ICON:()=>ir,TAB_INDICATOR:()=>lr,TAB_INDICATOR_WRAPPER:()=>sr,TAB_LIST:()=>cr,TAB_PANEL:()=>ur,TAB_TAG:()=>ar,TAG:()=>hr,TAG_INPUT:()=>pr,TAG_INPUT_ICON:()=>vr,TAG_INPUT_VALUES:()=>mr,TAG_REMOVE:()=>fr,TEXT_DISABLED:()=>ee,TEXT_LARGE:()=>Z,TEXT_MUTED:()=>J,TEXT_OVERFLOW_ELLIPSIS:()=>te,TEXT_SMALL:()=>Q,TOAST:()=>gr,TOAST_CONTAINER:()=>yr,TOAST_MESSAGE:()=>br,TOOLTIP:()=>wr,TOOLTIP_INDICATOR:()=>_r,TRANSITION_CONTAINER:()=>Vn,TREE:()=>Er,TREE_NODE:()=>xr,TREE_NODE_CARET:()=>Sr,TREE_NODE_CARET_CLOSED:()=>Or,TREE_NODE_CARET_NONE:()=>Cr,TREE_NODE_CARET_OPEN:()=>Mr,TREE_NODE_CONTENT:()=>zr,TREE_NODE_EXPANDED:()=>Pr,TREE_NODE_ICON:()=>Tr,TREE_NODE_LABEL:()=>Ar,TREE_NODE_LIST:()=>Lr,TREE_NODE_SECONDARY_LABEL:()=>kr,TREE_NODE_SELECTED:()=>Nr,TREE_ROOT:()=>Ir,UI_TEXT:()=>$,VERTICAL:()=>L,alignmentClass:()=>jr,elevationClass:()=>Fr,getClassNamespace:()=>Dr,iconClass:()=>Br,intentClass:()=>Ur,positionClass:()=>Gr});var r,o,i,a,l=n(11229),s=n(10762),c=n(2609),u=n(53766),d="bp4";"undefined"!=typeof process&&(d=null!==(a=null!==(o=null===(r=process.env)||void 0===r?void 0:r.BLUEPRINT_NAMESPACE)&&void 0!==o?o:null===(i=process.env)||void 0===i?void 0:i.REACT_APP_BLUEPRINT_NAMESPACE)&&void 0!==a?a:d);var h="".concat(d,"-active"),f="".concat(d,"-align-left"),p="".concat(d,"-align-right"),v="".concat(d,"-compact"),m="".concat(d,"-dark"),g="".concat(d,"-disabled"),y="".concat(d,"-fill"),b="".concat(d,"-fixed"),w="".concat(d,"-fixed-top"),_="".concat(d,"-inline"),E="".concat(d,"-interactive"),x="".concat(d,"-large"),S="".concat(d,"-loading"),O="".concat(d,"-minimal"),C="".concat(d,"-outlined"),M="".concat(d,"-multiline"),z="".concat(d,"-read-only"),P="".concat(d,"-round"),T="".concat(d,"-selected"),A="".concat(d,"-small"),L="".concat(d,"-vertical"),k=Gr(u.Ly.TOP),N=Gr(u.Ly.BOTTOM),I=Gr(u.Ly.LEFT),R=Gr(u.Ly.RIGHT),H=Fr(s.u.ZERO),V=Fr(s.u.ONE),D=Fr(s.u.TWO),j=Fr(s.u.THREE),F=Fr(s.u.FOUR),B=Ur(c.S.PRIMARY),U=Ur(c.S.SUCCESS),G=Ur(c.S.WARNING),q=Ur(c.S.DANGER),W="".concat(d,"-focus-disabled"),K="".concat(d,"-focus-style-manager-ignore"),$="".concat(d,"-ui-text"),Y="".concat(d,"-running-text"),X="".concat(d,"-monospace-text"),Z="".concat(d,"-text-large"),Q="".concat(d,"-text-small"),J="".concat(d,"-text-muted"),ee="".concat(d,"-text-disabled"),te="".concat(d,"-text-overflow-ellipsis"),ne="".concat(d,"-blockquote"),re="".concat(d,"-code"),oe="".concat(d,"-code-block"),ie="".concat(d,"-heading"),ae="".concat(d,"-list"),le="".concat(d,"-list-unstyled"),se="".concat(d,"-rtl"),ce="".concat(d,"-alert"),ue="".concat(ce,"-body"),de="".concat(ce,"-contents"),he="".concat(ce,"-footer"),fe="".concat(d,"-breadcrumb"),pe="".concat(fe,"-current"),ve="".concat(fe,"s"),me="".concat(fe,"s-collapsed"),ge="".concat(d,"-button"),ye="".concat(ge,"-group"),be="".concat(ge,"-spinner"),we="".concat(ge,"-text"),_e="".concat(d,"-callout"),Ee="".concat(_e,"-icon"),xe="".concat(d,"-card"),Se="".concat(d,"-collapse"),Oe="".concat(Se,"-body"),Ce="".concat(d,"-collapse-list"),Me="".concat(d,"-context-menu"),ze="".concat(Me,"-popover-target"),Pe="".concat(d,"-control-group"),Te="".concat(d,"-dialog"),Ae="".concat(Te,"-container"),Le="".concat(Te,"-header"),ke="".concat(Te,"-body"),Ne="".concat(Te,"-body-scroll-container"),Ie="".concat(Te,"-close-button"),Re="".concat(Te,"-footer"),He="".concat(Te,"-footer-fixed"),Ve="".concat(Te,"-footer-main-section"),De="".concat(Te,"-footer-actions"),je="".concat(d,"-dialog-step"),Fe="".concat(je,"-container"),Be="".concat(je,"-title"),Ue="".concat(je,"-icon"),Ge="".concat(je,"-viewed"),qe="".concat(d,"-divider"),We="".concat(d,"-drawer"),Ke="".concat(We,"-body"),$e="".concat(We,"-footer"),Ye="".concat(We,"-header"),Xe="".concat(d,"-editable-text"),Ze="".concat(Xe,"-content"),Qe="".concat(Xe,"-editing"),Je="".concat(Xe,"-input"),et="".concat(Xe,"-placeholder"),tt="".concat(d,"-flex-expander"),nt="".concat(d,"-html-select"),rt="".concat(d,"-select"),ot="".concat(d,"-html-table"),it="".concat(ot,"-bordered"),at="".concat(ot,"-condensed"),lt="".concat(ot,"-striped"),st="".concat(d,"-input"),ct="".concat(st,"-ghost"),ut="".concat(st,"-group"),dt="".concat(st,"-left-container"),ht="".concat(st,"-action"),ft="".concat(d,"-resizable-input-span"),pt="".concat(d,"-control"),vt="".concat(pt,"-indicator"),mt="".concat(vt,"-child"),gt="".concat(d,"-checkbox"),yt="".concat(d,"-radio"),bt="".concat(d,"-switch"),wt="".concat(bt,"-inner-text"),_t="".concat(d,"-file-input"),Et="".concat(d,"-file-input-has-selection"),xt="".concat(d,"-file-upload-input"),St="".concat(d,"-file-upload-input-custom-text"),Ot="".concat(d,"-key"),Ct="".concat(Ot,"-combo"),Mt="".concat(d,"-modifier-key"),zt="".concat(d,"-hotkey"),Pt="".concat(zt,"-label"),Tt="".concat(zt,"-column"),At="".concat(zt,"-dialog"),Lt="".concat(d,"-label"),kt="".concat(d,"-form-group"),Nt="".concat(d,"-form-content"),It="".concat(d,"-form-helper-text"),Rt="".concat(d,"-form-group-sub-label"),Ht="".concat(d,"-menu"),Vt="".concat(Ht,"-item"),Dt="".concat(Vt,"-icon"),jt="".concat(Vt,"-label"),Ft="".concat(d,"-submenu"),Bt="".concat(Ft,"-icon"),Ut="".concat(Ht,"-divider"),Gt="".concat(Ht,"-header"),qt="".concat(d,"-multistep-dialog"),Wt="".concat(qt,"-panels"),Kt="".concat(qt,"-left-panel"),$t="".concat(qt,"-right-panel"),Yt="".concat(qt,"-footer"),Xt="".concat(qt,"-nav-top"),Zt="".concat(qt,"-nav-right"),Qt="".concat(d,"-navbar"),Jt="".concat(Qt,"-group"),en="".concat(Qt,"-heading"),tn="".concat(Qt,"-divider"),nn="".concat(d,"-non-ideal-state"),rn="".concat(nn,"-visual"),on="".concat(nn,"-text"),an="".concat(d,"-numeric-input"),ln="".concat(d,"-overflow-list"),sn="".concat(ln,"-spacer"),cn="".concat(d,"-overlay"),un="".concat(cn,"-backdrop"),dn="".concat(cn,"-container"),hn="".concat(cn,"-content"),fn="".concat(cn,"-inline"),pn="".concat(cn,"-open"),vn="".concat(cn,"-scroll-container"),mn="".concat(cn,"-start-focus-trap"),gn="".concat(cn,"-end-focus-trap"),yn="".concat(d,"-panel-stack"),bn="".concat(yn,"-header"),wn="".concat(yn,"-header-back"),_n="".concat(yn,"-view"),En="".concat(d,"-panel-stack2"),xn="".concat(yn,"-header"),Sn="".concat(yn,"-header-back"),On="".concat(yn,"-view"),Cn="".concat(d,"-popover"),Mn="".concat(Cn,"-arrow"),zn="".concat(Cn,"-backdrop"),Pn="".concat(Cn,"-capturing-dismiss"),Tn="".concat(Cn,"-content"),An="".concat(Tn,"-sizing"),Ln="".concat(Cn,"-dismiss"),kn="".concat(Ln,"-override"),Nn="".concat(Cn,"-open"),In="".concat(Cn,"-out-of-boundaries"),Rn="".concat(Cn,"-target"),Hn="".concat(Cn,"-wrapper"),Vn="".concat(d,"-transition-container"),Dn="".concat(d,"-progress-bar"),jn="".concat(d,"-progress-meter"),Fn="".concat(d,"-no-stripes"),Bn="".concat(d,"-no-animation"),Un="".concat(d,"-portal"),Gn="".concat(d,"-skeleton"),qn="".concat(d,"-slider"),Wn="".concat(qn,"-axis"),Kn="".concat(qn,"-handle"),$n="".concat(qn,"-label"),Yn="".concat(qn,"-track"),Xn="".concat(qn,"-progress"),Zn="".concat(d,"-start"),Qn="".concat(d,"-end"),Jn="".concat(d,"-spinner"),er="".concat(Jn,"-animation"),tr="".concat(Jn,"-head"),nr="".concat(d,"-no-spin"),rr="".concat(Jn,"-track"),or="".concat(d,"-tab"),ir="".concat(or,"-icon"),ar="".concat(or,"-tag"),lr="".concat(or,"-indicator"),sr="".concat(lr,"-wrapper"),cr="".concat(or,"-list"),ur="".concat(or,"-panel"),dr="".concat(or,"s"),hr="".concat(d,"-tag"),fr="".concat(hr,"-remove"),pr="".concat(d,"-tag-input"),vr="".concat(pr,"-icon"),mr="".concat(pr,"-values"),gr="".concat(d,"-toast"),yr="".concat(gr,"-container"),br="".concat(gr,"-message"),wr="".concat(d,"-tooltip"),_r="".concat(wr,"-indicator"),Er="".concat(d,"-tree"),xr="".concat(d,"-tree-node"),Sr="".concat(xr,"-caret"),Or="".concat(Sr,"-closed"),Cr="".concat(Sr,"-none"),Mr="".concat(Sr,"-open"),zr="".concat(xr,"-content"),Pr="".concat(xr,"-expanded"),Tr="".concat(xr,"-icon"),Ar="".concat(xr,"-label"),Lr="".concat(xr,"-list"),kr="".concat(xr,"-secondary-label"),Nr="".concat(xr,"-selected"),Ir="".concat(d,"-tree-root"),Rr="".concat(d,"-icon"),Hr="".concat(Rr,"-standard"),Vr="".concat(Rr,"-large");function Dr(){return d}function jr(e){switch(e){case l.v.LEFT:return f;case l.v.RIGHT:return p;default:return}}function Fr(e){if(void 0!==e)return"".concat(d,"-elevation-").concat(e)}function Br(e){if(null!=e)return 0===e.indexOf("".concat(d,"-icon-"))?e:"".concat(d,"-icon-").concat(e)}function Ur(e){if(null!=e&&e!==c.S.NONE)return"".concat(d,"-intent-").concat(e.toLowerCase())}function Gr(e){if(void 0!==e)return"".concat(d,"-position-").concat(e)}},62435:(e,t,n)=>{"use strict";"undefined"!=typeof window&&"undefined"!=typeof document&&n(23839)},10762:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var r={ZERO:0,ONE:1,TWO:2,THREE:3,FOUR:4}},90836:(e,t,n)=>{"use strict";n.d(t,{Am:()=>Z,Bv:()=>H,C0:()=>X,DJ:()=>s,EG:()=>_,Fp:()=>V,GO:()=>A,HK:()=>h,Ig:()=>I,J$:()=>Y,Nd:()=>F,Q2:()=>z,R6:()=>o,RH:()=>c,SE:()=>a,Sw:()=>O,Vx:()=>d,WQ:()=>k,XY:()=>w,YQ:()=>R,Yf:()=>f,Zc:()=>L,_d:()=>S,aL:()=>K,an:()=>E,b7:()=>b,c2:()=>p,e7:()=>g,ek:()=>B,fq:()=>P,hq:()=>u,kP:()=>U,l3:()=>l,nJ:()=>v,oo:()=>T,rV:()=>i,sy:()=>q,vS:()=>G,vy:()=>m,wT:()=>C,wi:()=>W,x1:()=>D,xC:()=>y,xM:()=>$,xl:()=>N,y4:()=>j,yV:()=>x,zZ:()=>M});var r="[Blueprint]",o=r+" clamp: max cannot be less than min",i=r+" <Alert> cancelButtonText and onCancel should be set together.",a=r+" <Alert> canEscapeKeyCancel enabled without onCancel or onClose handler.",l=r+" <Alert> canOutsideClickCancel enabled without onCancel or onClose handler.",s=r+" <CollapsibleList> children must be <MenuItem>s",c=r+" @ContextMenuTarget-decorated class should implement renderContextMenu.",u=r+' "@ContextMenuTarget-decorated components must return a single JSX.Element or an empty render.',d=r+" <Hotkeys> only accepts <Hotkey> children.",h=r+" @HotkeysTarget-decorated class should implement renderHotkeys.",f=r+' "@HotkeysTarget-decorated components must return a single JSX.Element or an empty render.',p=r+" useHotkeys() was used outside of a <HotkeysProvider> context. These hotkeys will not be shown in the hotkeys help dialog.",v=r+" <HotkeysTarget2> was configured with local hotkeys, but you did not use the generated event handlers to bind their event handlers. Try using a render function as the child of this component.",m=r+" <InputGroup> leftElement and leftIcon prop are mutually exclusive, with leftElement taking priority.",g=r+" <NumericInput> requires min to be no greater than max if both are defined.",y=r+" <NumericInput> requires minorStepSize to be no greater than stepSize.",b=r+" <NumericInput> requires stepSize to be no greater than majorStepSize.",w=r+" <NumericInput> requires minorStepSize to be strictly greater than zero.",_=r+" <NumericInput> requires majorStepSize to be strictly greater than zero.",E=r+" <NumericInput> requires stepSize to be strictly greater than zero.",x=r+" <NumericInput> controlled value prop does not adhere to stepSize, min, and/or max constraints.",S=r+" <PanelStack> requires exactly one of initialPanel and stack prop",O=r+" <PanelStack> requires at least one panel in the stack",C=r+" <OverflowList> does not support changing observeParents after mounting.",M=r+" <Popover> requires target prop or at least one child element.",z=r+" <Popover hasBackdrop={true}> requires interactionKind={PopoverInteractionKind.CLICK}.",P=r+" <Popover> supports one or two children; additional children are ignored. First child is the target, second child is the content. You may instead supply these two as props.",T=r+" <Popover> with two children ignores content prop; use either prop or children.",A=r+" <Popover> with children ignores target prop; use either prop or children.",L=r+" Disabling <Popover> with empty/whitespace content...",k=r+" <Popover usePortal={false}> ignores hasBackdrop",N=r+" <Popover> supports either placement or position prop, not both.",I=r+" <Popover> onInteraction is ignored when uncontrolled.",R=r+" <Portal> context blueprintPortalClassName must be string",H=r+" <RadioGroup> children and options prop are mutually exclusive, with options taking priority.",V=r+" <Slider> stepSize must be greater than zero.",D=r+" <Slider> labelStepSize must be greater than zero.",j=r+" <Slider> min prop must be a finite number.",F=r+" <Slider> max prop must be a finite number.",B=r+" <RangeSlider> value prop must be an array of two non-null numbers.",U=r+" <MultiSlider> children must be <SliderHandle>s or <SliderTrackStop>s",G=r+" <MultiSlider> labelStepSize and labelValues prop are mutually exclusive, with labelStepSize taking priority.",q=r+" <Spinner> Classes.SMALL/LARGE are ignored if size prop is set.",W=r+" OverlayToaster.create() is not supported inside React lifecycle methods in React 16. See usage example on the docs site.",K=r+" <OverlayToaster> maxToasts is set to an invalid number, must be greater than 0",$=r+" OverlayToaster.create() ignores inline prop as it always creates a new element.",Y=r+" <Dialog> iconName is ignored if title is omitted.",X=r+" <Dialog> isCloseButtonShown prop is ignored if title is omitted.",Z=r+" <Drawer> all angle positions are casted into pure position (TOP, BOTTOM, LEFT or RIGHT)"},2609:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r={NONE:"none",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",DANGER:"danger"}},9421:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ARROW_DOWN:()=>h,ARROW_LEFT:()=>c,ARROW_RIGHT:()=>d,ARROW_UP:()=>u,BACKSPACE:()=>r,DELETE:()=>f,ENTER:()=>i,ESCAPE:()=>l,SHIFT:()=>a,SPACE:()=>s,TAB:()=>o,isKeyboardClick:()=>p});var r=8,o=9,i=13,a=16,l=27,s=32,c=37,u=38,d=39,h=40,f=46;function p(e){return e===i||e===s}},53766:(e,t,n)=>{"use strict";n.d(t,{Bg:()=>i,L3:()=>a,Ly:()=>r,lM:()=>o});var r={BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",LEFT:"left",LEFT_BOTTOM:"left-bottom",LEFT_TOP:"left-top",RIGHT:"right",RIGHT_BOTTOM:"right-bottom",RIGHT_TOP:"right-top",TOP:"top",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"};function o(e){return e===r.TOP||e===r.TOP_LEFT||e===r.TOP_RIGHT||e===r.BOTTOM||e===r.BOTTOM_LEFT||e===r.BOTTOM_RIGHT}function i(e){return e===r.LEFT||e===r.LEFT_TOP||e===r.LEFT_BOTTOM||e===r.RIGHT||e===r.RIGHT_TOP||e===r.RIGHT_BOTTOM}function a(e){return e===r.TOP||e===r.TOP_LEFT||e===r.TOP_RIGHT?r.TOP:e===r.BOTTOM||e===r.BOTTOM_LEFT||e===r.BOTTOM_RIGHT?r.BOTTOM:e===r.LEFT||e===r.LEFT_TOP||e===r.LEFT_BOTTOM?r.LEFT:r.RIGHT}},72778:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,g:()=>o});var r=n(18465),o="Blueprint4",i=["active","alignText","asyncControl","containerRef","current","elementRef","fill","icon","inputClassName","inputRef","intent","inline","large","loading","leftElement","leftIcon","minimal","onRemove","outlined","panel","panelClassName","popoverProps","rightElement","rightIcon","round","small","tagName","text"];function a(e,t,n){return void 0===t&&(t=i),void 0===n&&(n=!1),n&&(t=t.concat(i)),t.reduce((function(e,t){return-1!==t.indexOf("-")||e.hasOwnProperty(t)&&delete e[t],e}),(0,r.pi)({},e))}},4408:(e,t,n)=>{"use strict";function r(e){return null!=e&&"function"!=typeof e}function o(e){return"function"==typeof e}function i(e,t){r(e)?e.current=t:o(e)&&e(t)}function a(e,t){return l(e,t)}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){e.forEach((function(e){i(e,t)}))}}function s(e){var t;return null===e?null:null!==(t=e.current)&&void 0!==t?t:e}function c(e,t,n){return function(r){e[t]=r,i(n,r)}}n.d(t,{HE:()=>o,Ik:()=>r,Km:()=>c,Uq:()=>s,k$:()=>i,lq:()=>l,zb:()=>a})},48261:(e,t,n)=>{"use strict";function r(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((function(e,r){return n(e,t[r])}))}function o(e,t,n){if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!=n)return l(e,t,n);var r=Object.keys(e),o=Object.keys(t);return l(e,t,{include:r})&&l(e,t,{include:o})}function i(e,t,n){if(e===t)return!0;if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return r(e,t,i);if(c(e)||c(t))return e===t;if(null!=n)return s(e,t,n);if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),a=Object.keys(t);return null!=o&&null!=a&&(0===o.length&&0===a.length||r(o,a)&&s(e,t,o))}function a(e,t,n){void 0===e&&(e={}),void 0===t&&(t={});var r=null==n?function(e,t){var n=Object.keys(e),r=Object.keys(t),o=u(n.concat(r));return Object.keys(o)}(e,t):n;return function(e,t,n,r){return n.filter((function(n){return!function(e,t,n){return i(e,t,[n])}(e,t,n)})).map((function(n){return{key:n,valueA:e[n],valueB:t[n]}}))}(e,t,r)}function l(e,t,n){return function(e,t,n){if(function(e){return null!=e&&null!=e.include}(n))return n.include;if(function(e){return null!=e&&null!=e.exclude}(n)){var r=Object.keys(e),o=Object.keys(t),i=u(r.concat(o));return n.exclude.forEach((function(e){return delete i[e]})),Object.keys(i)}return[]}(e,t,n).every((function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&e[n]===t[n]}))}function s(e,t,n){return n.every((function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&i(e[n],t[n])}))}function c(e){return"number"==typeof e||"string"==typeof e||"boolean"==typeof e}function u(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})}n.d(t,{D$:()=>i,MX:()=>a,cO:()=>r,ms:()=>o})},93835:(e,t,n)=>{"use strict";n.d(t,{C2:()=>o,P2:()=>c,T6:()=>s,Xc:()=>l,dS:()=>d,jA:()=>i,vY:()=>a});var r=n(18465);function o(e,t){return e===t||e.contains(t)}function i(e){if(null==e||null==e.closest)return!1;var t=e.closest("input, textarea, [contenteditable=true]");if(null==t)return!1;if("input"===t.tagName.toLowerCase()){var n=t.type;if("checkbox"===n||"radio"===n)return!1}return!t.readOnly}function a(e,t){var n;return null==e?document.activeElement:(null!==(n=e.getRootNode(t))&&void 0!==n?n:document).activeElement}function l(e,t,n){var r=u((function(t){e.dispatchEvent(new CustomEvent(n,t))}));return e.addEventListener(t,r),r}function s(e,t){return void 0===t&&(t={}),u(e,(function(e){t.preventDefault&&e.preventDefault()}),(function(e){return e.persist()}))}function c(e){return u(e)}function u(e,t,n){var r=!1;return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];null==t||t.apply(void 0,o),r||(r=!0,null==n||n.apply(void 0,o),requestAnimationFrame((function(){e.apply(void 0,o),r=!1})))}}function d(e){return function(t){return e.some((function(e){return t.key===e}))&&t.target.dispatchEvent(new MouseEvent("click",(0,r.pi)((0,r.pi)({},t),{view:void 0})))}}},23251:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{m:()=>r})},4908:(e,t,n)=>{"use strict";n.d(t,{$:()=>o}),n(62435);var r=n(40451);function o(e){return null!=e&&e instanceof Element&&null!=e.closest(".".concat(r.DARK))}},90322:(e,t,n)=>{"use strict";n.d(t,{EL:()=>u,KV:()=>o,h3:()=>i,mQ:()=>a,uZ:()=>l,vk:()=>s});var r=n(90836);function o(e){return"undefined"!=typeof process&&process.env&&"production"===e}function i(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length-t.length}function a(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<=n}function l(e,t,n){if(null==e)return e;if(n<t)throw new Error(r.R6);return Math.min(Math.max(e,t),n)}function s(e){if(!isFinite(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}var c=new Map;function u(e){var t,n=null!==(t=c.get(e))&&void 0!==t?t:0;return c.set(e,n+1),"".concat(e,"-").concat(n)}},57755:(e,t,n)=>{"use strict";n.d(t,{Ej:()=>i,Gf:()=>l,Mc:()=>s,h7:()=>a,qA:()=>o});var r=n(67294);function o(e,t){return void 0===t&&(t=!1),null==e||""===e||!1===e||!t&&Array.isArray(e)&&(0===e.length||e.every((function(e){return o(e,!0)})))}function i(e){return!o(e,!0)&&!0!==e}function a(e,t){return void 0===t&&(t="span"),null==e||"boolean"==typeof e?void 0:"string"==typeof e?e.trim().length>0?r.createElement(t,{},e):void 0:"number"==typeof e||"symbol"==typeof e.type||Array.isArray(e)?r.createElement(t,{},e):function(e){return"object"==typeof e&&void 0!==e.type&&void 0!==e.props}(e)?e:void 0}function l(e){return e.displayName||e.name||"Unknown"}function s(e,t){return null!=e&&null!=e.type&&null!=e.type.displayName&&e.type.displayName===t.displayName}},4366:(e,t,n)=>{"use strict";n.d(t,{A:()=>g,z:()=>m});var r=n(18465),o=n(67294),i=n(72778),a=n(4408),l=n(94184),s=n.n(l),c=n(9421),u=n(40451),d=n(57755),h=n(35307),f=n(40457),p=n(98673),v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isActive:!1},t.handleKeyDown=function(e){var n,r;c.isKeyboardClick(e.which)&&(e.preventDefault(),e.which!==t.currentKeyDown&&t.setState({isActive:!0})),t.currentKeyDown=e.which,null===(r=(n=t.props).onKeyDown)||void 0===r||r.call(n,e)},t.handleKeyUp=function(e){var n,r,o;c.isKeyboardClick(e.which)&&(t.setState({isActive:!1}),null===(n=t.buttonRef)||void 0===n||n.click()),t.currentKeyDown=void 0,null===(o=(r=t.props).onKeyUp)||void 0===o||o.call(r,e)},t.handleBlur=function(e){var n,r;t.state.isActive&&t.setState({isActive:!1}),null===(r=(n=t.props).onBlur)||void 0===r||r.call(n,e)},t}return(0,r.ZT)(t,e),t.prototype.getCommonButtonProps=function(){var e,t=this.props,n=t.active,r=void 0!==n&&n,o=t.alignText,i=t.fill,a=t.large,l=t.loading,c=void 0!==l&&l,d=t.outlined,h=t.minimal,f=t.small,p=t.tabIndex,v=this.props.disabled||c;return{className:s()(u.BUTTON,((e={})[u.ACTIVE]=!v&&(r||this.state.isActive),e[u.DISABLED]=v,e[u.FILL]=i,e[u.LARGE]=a,e[u.LOADING]=c,e[u.MINIMAL]=h,e[u.OUTLINED]=d,e[u.SMALL]=f,e),u.alignmentClass(o),u.intentClass(this.props.intent),this.props.className),disabled:v,onBlur:this.handleBlur,onClick:v?void 0:this.props.onClick,onFocus:v?void 0:this.props.onFocus,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,tabIndex:v?-1:p}},t.prototype.renderChildren=function(){var e=this.props,t=e.children,n=e.icon,r=e.loading,i=e.rightIcon,a=e.text,l=!d.qA(a)||!d.qA(t);return[r&&o.createElement(p.$,{key:"loading",className:u.BUTTON_SPINNER,size:f.J.LARGE}),o.createElement(f.I,{key:"leftIcon",icon:n}),l&&o.createElement("span",{key:"text",className:u.BUTTON_TEXT},a,t),o.createElement(f.I,{key:"rightIcon",icon:i})]},t}(h.U),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttonRef=null,t.handleRef=(0,a.Km)(t,"buttonRef",t.props.elementRef),t}return(0,r.ZT)(t,e),t.prototype.render=function(){return o.createElement("button",(0,r.pi)({type:"button",ref:this.handleRef},(0,i.B)(this.props),this.getCommonButtonProps()),this.renderChildren())},t.prototype.componentDidUpdate=function(e){e.elementRef!==this.props.elementRef&&((0,a.k$)(e.elementRef,null),this.handleRef=(0,a.Km)(this,"buttonRef",this.props.elementRef),(0,a.k$)(this.props.elementRef,this.buttonRef))},t.displayName="".concat(i.g,".Button"),t}(v),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttonRef=null,t.handleRef=(0,a.Km)(t,"buttonRef",t.props.elementRef),t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.href,n=e.tabIndex,a=void 0===n?0:n,l=this.getCommonButtonProps();return o.createElement("a",(0,r.pi)({role:"button",ref:this.handleRef},(0,i.B)(this.props),l,{href:l.disabled?void 0:t,tabIndex:l.disabled?-1:a}),this.renderChildren())},t.prototype.componentDidUpdate=function(e){e.elementRef!==this.props.elementRef&&((0,a.k$)(e.elementRef,null),this.handleRef=(0,a.Km)(this,"buttonRef",this.props.elementRef),(0,a.k$)(this.props.elementRef,this.buttonRef))},t.displayName="".concat(i.g,".AnchorButton"),t}(v)},99685:(e,t,n)=>{"use strict";n.d(t,{V:()=>m});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(35307),c=n(90836),u=n(72778),d=n(90322),h=n(4366),f=n(18587),p=n(40457),v=n(61624),m=function(e){function t(t){var n=e.call(this,t)||this,r=(0,d.EL)("bp-dialog");return n.titleId="title-".concat(r),n}return(0,r.ZT)(t,e),t.prototype.render=function(){return a.createElement(v.a,(0,r.pi)({},this.props,{className:l.OVERLAY_SCROLL_CONTAINER,hasBackdrop:!0}),a.createElement("div",{className:l.DIALOG_CONTAINER,ref:this.props.containerRef},a.createElement("div",{className:i()(l.DIALOG,this.props.className),role:"dialog","aria-labelledby":this.props["aria-labelledby"]||(this.props.title?this.titleId:void 0),"aria-describedby":this.props["aria-describedby"],style:this.props.style},this.maybeRenderHeader(),this.props.children)))},t.prototype.validateProps=function(e){null==e.title&&(null!=e.icon&&console.warn(c.J$),null!=e.isCloseButtonShown&&console.warn(c.C0))},t.prototype.maybeRenderCloseButton=function(){return!1!==this.props.isCloseButtonShown?a.createElement(h.z,{"aria-label":"Close",className:l.DIALOG_CLOSE_BUTTON,icon:a.createElement(p.I,{icon:"cross",size:p.J.STANDARD}),minimal:!0,onClick:this.props.onClose}):void 0},t.prototype.maybeRenderHeader=function(){var e=this.props,t=e.icon,n=e.title;if(null!=n)return a.createElement("div",{className:l.DIALOG_HEADER},a.createElement(p.I,{icon:t,size:p.J.STANDARD,"aria-hidden":!0,tabIndex:-1}),a.createElement(f.H6,{id:this.titleId},n),this.maybeRenderCloseButton())},t.defaultProps={canOutsideClickClose:!0,isOpen:!1},t.displayName="".concat(u.g,".Dialog"),t}(s.U)},33640:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.render=function(){var e;return a.createElement("div",{className:i()(l.DIALOG_BODY,this.props.className,(e={},e[l.DIALOG_BODY_SCROLL_CONTAINER]=this.props.useOverflowScrollContainer,e))},this.props.children)},t.defaultProps={useOverflowScrollContainer:!0},t}(n(35307).U)},59837:(e,t,n)=>{"use strict";n.d(t,{q:()=>d});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(72778),c=n(35307),u=n(30066),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.className,o=(0,r._T)(e,["label","className"]),s=i()(l.HOTKEY,n);return a.createElement("div",{className:s},a.createElement("div",{className:l.HOTKEY_LABEL},t),a.createElement(u.Q,(0,r.pi)({},o)))},t.prototype.validateProps=function(e){!0!==e.global&&null==e.group&&console.error("non-global <Hotkey>s must define a group")},t.displayName="".concat(s.g,".Hotkey"),t.defaultProps={allowInInput:!1,disabled:!1,global:!1,preventDefault:!1,stopPropagation:!1},t}(c.U)},94064:(e,t,n)=>{"use strict";n.d(t,{$w:()=>d,A6:()=>c,SG:()=>u,cU:()=>f,q1:()=>h});for(var r={8:"backspace",9:"tab",13:"enter",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={16:"shift",17:"ctrl",18:"alt",91:"meta",93:"meta",224:"meta"},i={alt:1,ctrl:2,meta:4,shift:8},a={cmd:"meta",command:"meta",escape:"esc",minus:"-",mod:p()?"meta":"ctrl",option:"alt",plus:"+",return:"enter",win:"meta"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","{":"[","}":"]","|":"\\",":":";",'"':"'","<":",",">":".","?":"/"},s=1;s<=12;++s)r[111+s]="f"+s;for(s=0;s<=9;++s)r[96+s]="num"+s.toString();function c(e,t){return e.modifiers===t.modifiers&&e.key===t.key}var u=function(e){for(var t,n=0,r=0,o=e.replace(/\s/g,"").toLowerCase().split("+");r<o.length;r++){var s=o[r];if(""===s)throw new Error('Failed to parse key combo "'.concat(e,'".\n Valid key combos look like "cmd + plus", "shift+p", or "!"'));null!=a[s]&&(s=a[s]),null!=i[s]?n+=i[s]:null!=l[s]?(n+=i.shift,t=l[s]):t=s.toLowerCase()}return{modifiers:n,key:t}},d=function(e){var t=[];e.ctrlKey&&t.push("ctrl"),e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),e.metaKey&&t.push("meta");var n=e.which;return null!=o[n]||(null!=r[n]?t.push(r[n]):t.push(String.fromCharCode(n).toLowerCase())),t.join(" + ")},h=function(e){var t,n=e.which;null!=o[n]||(t=null!=r[n]?r[n]:String.fromCharCode(n).toLowerCase());var a=0;return e.altKey&&(a+=i.alt),e.ctrlKey&&(a+=i.ctrl),e.metaKey&&(a+=i.meta),e.shiftKey&&(a+=i.shift),{modifiers:a,key:t}},f=function(e,t){return e.replace(/\s/g,"").split("+").map((function(e){var n=null!=a[e]?a[e]:e;return"meta"===n?p(t)?"cmd":"ctrl":n}))};function p(e){var t=null!=e?e:"undefined"!=typeof navigator?navigator.platform:void 0;return void 0!==t&&/Mac|iPod|iPhone|iPad/.test(t)}},33656:(e,t,n)=>{"use strict";n.d(t,{S:()=>p});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(72778),c=n(35307),u=n(90836),d=n(57755),h=n(18587),f=n(59837),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.render=function(){if(!(0,d.Ej)(this.props.children))return null;var e,t=a.Children.map(this.props.children,(function(e){return e.props}));t.sort((function(e,t){return e.global===t.global&&e.group&&t.group?e.group.localeCompare(t.group):e.global?-1:1}));for(var n=[],o=0,s=t;o<s.length;o++){var c=s[o],u=c.group;u!==e&&(n.push(a.createElement(h.H4,{key:"group-".concat(n.length)},u)),e=u),n.push(a.createElement(f.q,(0,r.pi)({key:n.length},c)))}var p=i()(l.HOTKEY_COLUMN,this.props.className);return a.createElement("div",{className:p},n)},t.prototype.validateProps=function(e){(0,d.Ej)(e.children)&&a.Children.forEach(e.children,(function(e){if(!(0,d.Mc)(e,f.q))throw new Error(u.Vx)}))},t.displayName="".concat(s.g,".Hotkeys"),t.defaultProps={tabIndex:0},t}(c.U)},39242:(e,t,n)=>{"use strict";n.d(t,{m:()=>h});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(99685),c=n(33640),u=n(59837),d=n(33656),h=function(e){var t=e.globalGroupName,n=void 0===t?"Global":t,o=e.hotkeys,h=(0,r._T)(e,["globalGroupName","hotkeys"]);return a.createElement(s.V,(0,r.pi)({},h,{className:i()(l.HOTKEY_DIALOG,h.className)}),a.createElement(c.a,null,a.createElement(d.S,null,o.map((function(e,t){return a.createElement(u.q,(0,r.pi)({key:t},e,{group:!0===e.global&&null==e.group?n:e.group}))})))))}},30066:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,Q:()=>f});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(72778),c=n(35307),u=n(40457),d=n(94064),h={alt:{icon:"key-option",iconTitle:"Alt/Option key"},cmd:{icon:"key-command",iconTitle:"Command key"},ctrl:{icon:"key-control",iconTitle:"Control key"},delete:{icon:"key-delete",iconTitle:"Delete key"},down:{icon:"arrow-down",iconTitle:"Down key"},enter:{icon:"key-enter",iconTitle:"Enter key"},left:{icon:"arrow-left",iconTitle:"Left key"},meta:{icon:"key-command",iconTitle:"Command key"},right:{icon:"arrow-right",iconTitle:"Right key"},shift:{icon:"key-shift",iconTitle:"Shift key"},up:{icon:"arrow-up",iconTitle:"Up key"}},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderKey=function(e,t){var n,r=h[e],o="key-".concat(t);return a.createElement("kbd",{className:i()(l.KEY,(n={},n[l.MODIFIER_KEY]=null!=r,n)),key:o},null!=r&&a.createElement(u.I,{icon:r.icon,title:r.iconTitle}),e)},t.renderMinimalKey=function(e,t){var n=h[e];return null==n?e:a.createElement(u.I,{icon:n.icon,title:n.iconTitle,key:"key-".concat(t)})},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.combo,r=e.minimal,o=(0,d.cU)(n).map((function(e){return 1===e.length?e.toUpperCase():e})).map(r?this.renderMinimalKey:this.renderKey);return a.createElement("span",{className:i()(l.KEY_COMBO,t)},o)},t.displayName="".concat(s.g,".KeyComboTag"),t}(c.U),p=f;p.displayName="".concat(s.g,".KeyCombo")},18587:(e,t,n)=>{"use strict";n.d(t,{EK:()=>m,H1:()=>c,H2:()=>u,H3:()=>d,H4:()=>h,H5:()=>f,H6:()=>p,OL:()=>b,SU:()=>g,UL:()=>w,V6:()=>v,__:()=>y});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(40451);function s(e,t){return function(n){var o=n.className,l=n.elementRef,s=n.children,c=(0,r._T)(n,["className","elementRef","children"]);return a.createElement(e,(0,r.pi)((0,r.pi)({},c),{className:i()(t,o),ref:l}),s)}}var c=s("h1",l.HEADING),u=s("h2",l.HEADING),d=s("h3",l.HEADING),h=s("h4",l.HEADING),f=s("h5",l.HEADING),p=s("h6",l.HEADING),v=s("blockquote",l.BLOCKQUOTE),m=s("code",l.CODE),g=s("pre",l.CODE_BLOCK),y=s("label",l.LABEL),b=s("ol",l.LIST),w=s("ul",l.LIST)},40457:(e,t,n)=>{"use strict";n.d(t,{I:()=>qw,J:()=>jw});var r={};n.r(r),n.d(r,{Add:()=>c,AddClip:()=>u,AddColumnLeft:()=>d,AddColumnRight:()=>h,AddLocation:()=>f,AddRowBottom:()=>p,AddRowTop:()=>v,AddToArtifact:()=>m,AddToFolder:()=>g,AimpointsTarget:()=>y,Airplane:()=>b,AlignCenter:()=>w,AlignJustify:()=>_,AlignLeft:()=>E,AlignRight:()=>x,AlignmentBottom:()=>S,AlignmentHorizontalCenter:()=>O,AlignmentLeft:()=>C,AlignmentRight:()=>M,AlignmentTop:()=>z,AlignmentVerticalCenter:()=>P,Ammunition:()=>T,Anchor:()=>A,Annotation:()=>L,Antenna:()=>k,AppHeader:()=>N,Application:()=>I,Applications:()=>R,Archive:()=>H,AreaOfInterest:()=>V,Array:()=>D,ArrayBoolean:()=>j,ArrayDate:()=>F,ArrayFloatingPoint:()=>B,ArrayNumeric:()=>U,ArrayString:()=>G,ArrayTimestamp:()=>q,ArrowBottomLeft:()=>W,ArrowBottomRight:()=>K,ArrowDown:()=>$,ArrowLeft:()=>Y,ArrowRight:()=>X,ArrowTopLeft:()=>Z,ArrowTopRight:()=>Q,ArrowUp:()=>J,ArrowsHorizontal:()=>ee,ArrowsVertical:()=>te,Asterisk:()=>ne,At:()=>re,AutomaticUpdates:()=>oe,Axle:()=>ie,Backlink:()=>ae,Badge:()=>le,BanCircle:()=>se,BankAccount:()=>ce,Barcode:()=>ue,Blank:()=>de,BlockedPerson:()=>he,Bold:()=>fe,Book:()=>pe,Bookmark:()=>ve,Box:()=>me,Briefcase:()=>ge,BringData:()=>ye,Bug:()=>be,Buggy:()=>we,Build:()=>_e,Calculator:()=>Ee,Calendar:()=>xe,Camera:()=>Se,CaretDown:()=>Oe,CaretLeft:()=>Ce,CaretRight:()=>Me,CaretUp:()=>ze,CargoShip:()=>Pe,CellTower:()=>Te,Changes:()=>Ae,Chart:()=>Le,Chat:()=>ke,ChevronBackward:()=>Ne,ChevronDown:()=>Ie,ChevronForward:()=>Re,ChevronLeft:()=>He,ChevronRight:()=>Ve,ChevronUp:()=>De,Circle:()=>je,CircleArrowDown:()=>Fe,CircleArrowLeft:()=>Be,CircleArrowRight:()=>Ue,CircleArrowUp:()=>Ge,Citation:()=>qe,Clean:()=>We,Clip:()=>Ke,Clipboard:()=>$e,Cloud:()=>Ye,CloudDownload:()=>Xe,CloudUpload:()=>Ze,Code:()=>Qe,CodeBlock:()=>Je,Cog:()=>et,CollapseAll:()=>tt,ColorFill:()=>nt,ColumnLayout:()=>rt,Comment:()=>ot,Comparison:()=>it,Compass:()=>at,Compressed:()=>lt,Confirm:()=>st,Console:()=>ct,Contrast:()=>ut,Control:()=>dt,CreditCard:()=>ht,Cross:()=>ft,CrossCircle:()=>pt,Crown:()=>vt,Cube:()=>mt,CubeAdd:()=>gt,CubeRemove:()=>yt,CurvedRangeChart:()=>bt,Cut:()=>wt,Cycle:()=>_t,Dashboard:()=>Et,DataConnection:()=>xt,DataLineage:()=>St,Database:()=>Ot,Delete:()=>Ct,Delta:()=>Mt,DeriveColumn:()=>zt,Desktop:()=>Pt,Detection:()=>Tt,Diagnosis:()=>At,DiagramTree:()=>Lt,DirectionLeft:()=>kt,DirectionRight:()=>Nt,Disable:()=>It,Divide:()=>Rt,Document:()=>Ht,DocumentOpen:()=>Vt,DocumentShare:()=>Dt,Dollar:()=>jt,Dot:()=>Ft,DoubleCaretHorizontal:()=>Bt,DoubleCaretVertical:()=>Ut,DoubleChevronDown:()=>Gt,DoubleChevronLeft:()=>qt,DoubleChevronRight:()=>Wt,DoubleChevronUp:()=>Kt,DoughnutChart:()=>$t,Download:()=>Yt,DragHandleHorizontal:()=>Xt,DragHandleVertical:()=>Zt,Draw:()=>Qt,DrawerLeft:()=>Jt,DrawerLeftFilled:()=>en,DrawerRight:()=>tn,DrawerRightFilled:()=>nn,DriveTime:()=>rn,Duplicate:()=>on,Edit:()=>an,Eject:()=>ln,Emoji:()=>sn,Endorsed:()=>cn,Envelope:()=>un,Equals:()=>dn,Eraser:()=>hn,Error:()=>fn,Euro:()=>pn,Exchange:()=>vn,ExcludeRow:()=>mn,ExpandAll:()=>gn,Export:()=>yn,EyeOff:()=>bn,EyeOn:()=>wn,EyeOpen:()=>_n,FastBackward:()=>En,FastForward:()=>xn,Feed:()=>Sn,FeedSubscribed:()=>On,Film:()=>Cn,Filter:()=>Mn,FilterKeep:()=>zn,FilterList:()=>Pn,FilterOpen:()=>Tn,FilterRemove:()=>An,Flag:()=>Ln,Flame:()=>kn,Flash:()=>Nn,FloatingPoint:()=>In,FloppyDisk:()=>Rn,FlowBranch:()=>Hn,FlowEnd:()=>Vn,FlowLinear:()=>Dn,FlowReview:()=>jn,FlowReviewBranch:()=>Fn,Flows:()=>Bn,FolderClose:()=>Un,FolderNew:()=>Gn,FolderOpen:()=>qn,FolderShared:()=>Wn,FolderSharedOpen:()=>Kn,Follower:()=>$n,Following:()=>Yn,Font:()=>Xn,Fork:()=>Zn,Form:()=>Qn,Fuel:()=>Jn,FullCircle:()=>er,FullStackedChart:()=>tr,Fullscreen:()=>nr,Function:()=>rr,GanttChart:()=>or,Geofence:()=>ir,Geolocation:()=>ar,Geosearch:()=>lr,GitBranch:()=>sr,GitCommit:()=>cr,GitMerge:()=>ur,GitNewBranch:()=>dr,GitPull:()=>hr,GitPush:()=>fr,GitRepo:()=>pr,Glass:()=>vr,Globe:()=>mr,GlobeNetwork:()=>gr,Graph:()=>yr,GraphRemove:()=>br,GreaterThan:()=>wr,GreaterThanOrEqualTo:()=>_r,Grid:()=>Er,GridView:()=>xr,GroupObjects:()=>Sr,GroupedBarChart:()=>Or,Hand:()=>Cr,HandDown:()=>Mr,HandLeft:()=>zr,HandRight:()=>Pr,HandUp:()=>Tr,Hat:()=>Ar,Header:()=>Lr,HeaderOne:()=>kr,HeaderThree:()=>Nr,HeaderTwo:()=>Ir,Headset:()=>Rr,Heart:()=>Hr,HeartBroken:()=>Vr,HeatGrid:()=>Dr,Heatmap:()=>jr,Helicopter:()=>Fr,Help:()=>Br,HelperManagement:()=>Ur,HighPriority:()=>Gr,HighVoltagePole:()=>qr,Highlight:()=>Wr,History:()=>Kr,Home:()=>$r,HorizontalBarChart:()=>Yr,HorizontalBarChartAsc:()=>Xr,HorizontalBarChartDesc:()=>Zr,HorizontalDistribution:()=>Qr,HorizontalInbetween:()=>Jr,Hurricane:()=>eo,IdNumber:()=>to,ImageRotateLeft:()=>no,ImageRotateRight:()=>ro,Import:()=>oo,Inbox:()=>io,InboxFiltered:()=>ao,InboxGeo:()=>lo,InboxSearch:()=>so,InboxUpdate:()=>co,InfoSign:()=>uo,Inheritance:()=>ho,InheritedGroup:()=>fo,InnerJoin:()=>po,Insert:()=>vo,Intelligence:()=>mo,Intersection:()=>go,IpAddress:()=>yo,Issue:()=>bo,IssueClosed:()=>wo,IssueNew:()=>_o,Italic:()=>Eo,JoinTable:()=>xo,Key:()=>So,KeyBackspace:()=>Oo,KeyCommand:()=>Co,KeyControl:()=>Mo,KeyDelete:()=>zo,KeyEnter:()=>Po,KeyEscape:()=>To,KeyOption:()=>Ao,KeyShift:()=>Lo,KeyTab:()=>ko,KnownVehicle:()=>No,LabTest:()=>Io,Label:()=>Ro,Layer:()=>Ho,LayerOutline:()=>Vo,Layers:()=>Do,Layout:()=>jo,LayoutAuto:()=>Fo,LayoutBalloon:()=>Bo,LayoutCircle:()=>Uo,LayoutGrid:()=>Go,LayoutGroupBy:()=>qo,LayoutHierarchy:()=>Wo,LayoutLinear:()=>Ko,LayoutSkewGrid:()=>$o,LayoutSortedClusters:()=>Yo,Learning:()=>Xo,LeftJoin:()=>Zo,LengthenText:()=>Qo,LessThan:()=>Jo,LessThanOrEqualTo:()=>ei,Lifesaver:()=>ti,Lightbulb:()=>ni,Lightning:()=>ri,Link:()=>oi,List:()=>ii,ListColumns:()=>ai,ListDetailView:()=>li,Locate:()=>si,Lock:()=>ci,Locomotive:()=>ui,LogIn:()=>di,LogOut:()=>hi,LowVoltagePole:()=>fi,Manual:()=>pi,ManuallyEnteredData:()=>vi,ManyToMany:()=>mi,ManyToOne:()=>gi,Map:()=>yi,MapCreate:()=>bi,MapMarker:()=>wi,Maximize:()=>_i,Media:()=>Ei,Menu:()=>xi,MenuClosed:()=>Si,MenuOpen:()=>Oi,MergeColumns:()=>Ci,MergeLinks:()=>Mi,Minimize:()=>zi,Minus:()=>Pi,MobilePhone:()=>Ti,MobileVideo:()=>Ai,Modal:()=>Li,ModalFilled:()=>ki,Model:()=>Ni,Moon:()=>Ii,More:()=>Ri,Mountain:()=>Hi,Move:()=>Vi,Mugshot:()=>Di,MultiSelect:()=>ji,Music:()=>Fi,Nest:()=>Bi,NewDrawing:()=>Ui,NewGridItem:()=>Gi,NewLayer:()=>qi,NewLayers:()=>Wi,NewLink:()=>Ki,NewObject:()=>$i,NewPerson:()=>Yi,NewPrescription:()=>Xi,NewTextBox:()=>Zi,Ninja:()=>Qi,NotEqualTo:()=>Ji,Notifications:()=>ea,NotificationsSnooze:()=>ta,NotificationsUpdated:()=>na,NumberedList:()=>ra,Numerical:()=>oa,Office:()=>ia,Offline:()=>aa,OilField:()=>la,OneColumn:()=>sa,OneToMany:()=>ca,OneToOne:()=>ua,OpenApplication:()=>da,Outdated:()=>ha,PageLayout:()=>fa,PanelStats:()=>pa,PanelTable:()=>va,Paperclip:()=>ma,Paragraph:()=>ga,Path:()=>ya,PathSearch:()=>ba,Pause:()=>wa,People:()=>_a,Percentage:()=>Ea,Person:()=>xa,Phone:()=>Sa,PieChart:()=>Oa,Pin:()=>Ca,Pivot:()=>Ma,PivotTable:()=>za,Play:()=>Pa,Playbook:()=>Ta,Plus:()=>Aa,PolygonFilter:()=>La,Power:()=>ka,PredictiveAnalysis:()=>Na,Prescription:()=>Ia,Presentation:()=>Ra,Print:()=>Ha,Projects:()=>Va,Properties:()=>Da,Property:()=>ja,PublishFunction:()=>Fa,Pulse:()=>Ba,Rain:()=>Ua,Random:()=>Ga,Record:()=>qa,RectHeight:()=>Wa,RectWidth:()=>Ka,Rectangle:()=>$a,Redo:()=>Ya,Refresh:()=>Xa,Regex:()=>Za,RegressionChart:()=>Qa,Remove:()=>Ja,RemoveColumn:()=>el,RemoveColumnLeft:()=>tl,RemoveColumnRight:()=>nl,RemoveRowBottom:()=>rl,RemoveRowTop:()=>ol,Repeat:()=>il,Reset:()=>al,Resolve:()=>ll,Rig:()=>sl,RightJoin:()=>cl,Ring:()=>ul,Rocket:()=>dl,RocketSlant:()=>hl,RotateDocument:()=>fl,RotatePage:()=>pl,Route:()=>vl,Satellite:()=>ml,Saved:()=>gl,ScatterPlot:()=>yl,Search:()=>bl,SearchAround:()=>wl,SearchTemplate:()=>_l,SearchText:()=>El,SegmentedControl:()=>xl,Select:()=>Sl,Selection:()=>Ol,SendMessage:()=>Cl,SendTo:()=>Ml,SendToGraph:()=>zl,SendToMap:()=>Pl,Sensor:()=>Tl,SeriesAdd:()=>Al,SeriesConfiguration:()=>Ll,SeriesDerived:()=>kl,SeriesFiltered:()=>Nl,SeriesSearch:()=>Il,Settings:()=>Rl,Shapes:()=>Hl,Share:()=>Vl,SharedFilter:()=>Dl,Shield:()=>jl,Ship:()=>Fl,Shop:()=>Bl,ShoppingCart:()=>Ul,ShortenText:()=>Gl,SignalSearch:()=>ql,SimCard:()=>Wl,Slash:()=>Kl,SmallCross:()=>$l,SmallInfoSign:()=>Yl,SmallMinus:()=>Xl,SmallPlus:()=>Zl,SmallSquare:()=>Ql,SmallTick:()=>Jl,Snowflake:()=>es,SocialMedia:()=>ts,Sort:()=>ns,SortAlphabetical:()=>rs,SortAlphabeticalDesc:()=>os,SortAsc:()=>is,SortDesc:()=>as,SortNumerical:()=>ls,SortNumericalDesc:()=>ss,SpellCheck:()=>cs,SplitColumns:()=>us,Square:()=>ds,StackedChart:()=>hs,StadiumGeometry:()=>fs,Star:()=>ps,StarEmpty:()=>vs,StepBackward:()=>ms,StepChart:()=>gs,StepForward:()=>ys,Stop:()=>bs,Stopwatch:()=>ws,Strikethrough:()=>_s,Style:()=>Es,Subscript:()=>xs,Superscript:()=>Ss,SwapHorizontal:()=>Os,SwapVertical:()=>Cs,Switch:()=>Ms,SymbolCircle:()=>zs,SymbolCross:()=>Ps,SymbolDiamond:()=>Ts,SymbolRectangle:()=>As,SymbolSquare:()=>Ls,SymbolTriangleDown:()=>ks,SymbolTriangleUp:()=>Ns,Syringe:()=>Is,Tag:()=>Rs,TakeAction:()=>Hs,Tank:()=>Vs,Target:()=>Ds,Taxi:()=>js,Temperature:()=>Fs,TextHighlight:()=>Bs,Th:()=>Us,ThDerived:()=>Gs,ThDisconnect:()=>qs,ThFiltered:()=>Ws,ThList:()=>Ks,ThirdParty:()=>$s,ThumbsDown:()=>Ys,ThumbsUp:()=>Xs,Tick:()=>Zs,TickCircle:()=>Qs,Time:()=>Js,TimelineAreaChart:()=>ec,TimelineBarChart:()=>tc,TimelineEvents:()=>nc,TimelineLineChart:()=>rc,Tint:()=>oc,Torch:()=>ic,Tractor:()=>ac,Train:()=>lc,Translate:()=>sc,Trash:()=>cc,Tree:()=>uc,TrendingDown:()=>dc,TrendingUp:()=>hc,Truck:()=>fc,TwoColumns:()=>pc,Unarchive:()=>vc,Underline:()=>mc,Undo:()=>gc,UngroupObjects:()=>yc,UnknownVehicle:()=>bc,Unlock:()=>wc,Unpin:()=>_c,Unresolve:()=>Ec,Updated:()=>xc,Upload:()=>Sc,User:()=>Oc,Variable:()=>Cc,VerticalBarChartAsc:()=>Mc,VerticalBarChartDesc:()=>zc,VerticalDistribution:()=>Pc,VerticalInbetween:()=>Tc,Video:()=>Ac,Virus:()=>Lc,VolumeDown:()=>kc,VolumeOff:()=>Nc,VolumeUp:()=>Ic,Walk:()=>Rc,WarningSign:()=>Hc,WaterfallChart:()=>Vc,Waves:()=>Dc,Widget:()=>jc,WidgetButton:()=>Fc,WidgetFooter:()=>Bc,WidgetHeader:()=>Uc,Wind:()=>Gc,Wrench:()=>qc,ZoomIn:()=>Wc,ZoomOut:()=>Kc,ZoomToFit:()=>$c});var o={};n.r(o),n.d(o,{Add:()=>Yc,AddClip:()=>Xc,AddColumnLeft:()=>Zc,AddColumnRight:()=>Qc,AddLocation:()=>Jc,AddRowBottom:()=>eu,AddRowTop:()=>tu,AddToArtifact:()=>nu,AddToFolder:()=>ru,AimpointsTarget:()=>ou,Airplane:()=>iu,AlignCenter:()=>au,AlignJustify:()=>lu,AlignLeft:()=>su,AlignRight:()=>cu,AlignmentBottom:()=>uu,AlignmentHorizontalCenter:()=>du,AlignmentLeft:()=>hu,AlignmentRight:()=>fu,AlignmentTop:()=>pu,AlignmentVerticalCenter:()=>vu,Ammunition:()=>mu,Anchor:()=>gu,Annotation:()=>yu,Antenna:()=>bu,AppHeader:()=>wu,Application:()=>_u,Applications:()=>Eu,Archive:()=>xu,AreaOfInterest:()=>Su,Array:()=>Ou,ArrayBoolean:()=>Cu,ArrayDate:()=>Mu,ArrayFloatingPoint:()=>zu,ArrayNumeric:()=>Pu,ArrayString:()=>Tu,ArrayTimestamp:()=>Au,ArrowBottomLeft:()=>Lu,ArrowBottomRight:()=>ku,ArrowDown:()=>Nu,ArrowLeft:()=>Iu,ArrowRight:()=>Ru,ArrowTopLeft:()=>Hu,ArrowTopRight:()=>Vu,ArrowUp:()=>Du,ArrowsHorizontal:()=>ju,ArrowsVertical:()=>Fu,Asterisk:()=>Bu,At:()=>Uu,AutomaticUpdates:()=>Gu,Axle:()=>qu,Backlink:()=>Wu,Badge:()=>Ku,BanCircle:()=>$u,BankAccount:()=>Yu,Barcode:()=>Xu,Blank:()=>Zu,BlockedPerson:()=>Qu,Bold:()=>Ju,Book:()=>ed,Bookmark:()=>td,Box:()=>nd,Briefcase:()=>rd,BringData:()=>od,Bug:()=>id,Buggy:()=>ad,Build:()=>ld,Calculator:()=>sd,Calendar:()=>cd,Camera:()=>ud,CaretDown:()=>dd,CaretLeft:()=>hd,CaretRight:()=>fd,CaretUp:()=>pd,CargoShip:()=>vd,CellTower:()=>md,Changes:()=>gd,Chart:()=>yd,Chat:()=>bd,ChevronBackward:()=>wd,ChevronDown:()=>_d,ChevronForward:()=>Ed,ChevronLeft:()=>xd,ChevronRight:()=>Sd,ChevronUp:()=>Od,Circle:()=>Cd,CircleArrowDown:()=>Md,CircleArrowLeft:()=>zd,CircleArrowRight:()=>Pd,CircleArrowUp:()=>Td,Citation:()=>Ad,Clean:()=>Ld,Clip:()=>kd,Clipboard:()=>Nd,Cloud:()=>Id,CloudDownload:()=>Rd,CloudUpload:()=>Hd,Code:()=>Vd,CodeBlock:()=>Dd,Cog:()=>jd,CollapseAll:()=>Fd,ColorFill:()=>Bd,ColumnLayout:()=>Ud,Comment:()=>Gd,Comparison:()=>qd,Compass:()=>Wd,Compressed:()=>Kd,Confirm:()=>$d,Console:()=>Yd,Contrast:()=>Xd,Control:()=>Zd,CreditCard:()=>Qd,Cross:()=>Jd,CrossCircle:()=>eh,Crown:()=>th,Cube:()=>nh,CubeAdd:()=>rh,CubeRemove:()=>oh,CurvedRangeChart:()=>ih,Cut:()=>ah,Cycle:()=>lh,Dashboard:()=>sh,DataConnection:()=>ch,DataLineage:()=>uh,Database:()=>dh,Delete:()=>hh,Delta:()=>fh,DeriveColumn:()=>ph,Desktop:()=>vh,Detection:()=>mh,Diagnosis:()=>gh,DiagramTree:()=>yh,DirectionLeft:()=>bh,DirectionRight:()=>wh,Disable:()=>_h,Divide:()=>Eh,Document:()=>xh,DocumentOpen:()=>Sh,DocumentShare:()=>Oh,Dollar:()=>Ch,Dot:()=>Mh,DoubleCaretHorizontal:()=>zh,DoubleCaretVertical:()=>Ph,DoubleChevronDown:()=>Th,DoubleChevronLeft:()=>Ah,DoubleChevronRight:()=>Lh,DoubleChevronUp:()=>kh,DoughnutChart:()=>Nh,Download:()=>Ih,DragHandleHorizontal:()=>Rh,DragHandleVertical:()=>Hh,Draw:()=>Vh,DrawerLeft:()=>Dh,DrawerLeftFilled:()=>jh,DrawerRight:()=>Fh,DrawerRightFilled:()=>Bh,DriveTime:()=>Uh,Duplicate:()=>Gh,Edit:()=>qh,Eject:()=>Wh,Emoji:()=>Kh,Endorsed:()=>$h,Envelope:()=>Yh,Equals:()=>Xh,Eraser:()=>Zh,Error:()=>Qh,Euro:()=>Jh,Exchange:()=>ef,ExcludeRow:()=>tf,ExpandAll:()=>nf,Export:()=>rf,EyeOff:()=>of,EyeOn:()=>af,EyeOpen:()=>lf,FastBackward:()=>sf,FastForward:()=>cf,Feed:()=>uf,FeedSubscribed:()=>df,Film:()=>hf,Filter:()=>ff,FilterKeep:()=>pf,FilterList:()=>vf,FilterOpen:()=>mf,FilterRemove:()=>gf,Flag:()=>yf,Flame:()=>bf,Flash:()=>wf,FloatingPoint:()=>_f,FloppyDisk:()=>Ef,FlowBranch:()=>xf,FlowEnd:()=>Sf,FlowLinear:()=>Of,FlowReview:()=>Cf,FlowReviewBranch:()=>Mf,Flows:()=>zf,FolderClose:()=>Pf,FolderNew:()=>Tf,FolderOpen:()=>Af,FolderShared:()=>Lf,FolderSharedOpen:()=>kf,Follower:()=>Nf,Following:()=>If,Font:()=>Rf,Fork:()=>Hf,Form:()=>Vf,Fuel:()=>Df,FullCircle:()=>jf,FullStackedChart:()=>Ff,Fullscreen:()=>Bf,Function:()=>Uf,GanttChart:()=>Gf,Geofence:()=>qf,Geolocation:()=>Wf,Geosearch:()=>Kf,GitBranch:()=>$f,GitCommit:()=>Yf,GitMerge:()=>Xf,GitNewBranch:()=>Zf,GitPull:()=>Qf,GitPush:()=>Jf,GitRepo:()=>ep,Glass:()=>tp,Globe:()=>np,GlobeNetwork:()=>rp,Graph:()=>op,GraphRemove:()=>ip,GreaterThan:()=>ap,GreaterThanOrEqualTo:()=>lp,Grid:()=>sp,GridView:()=>cp,GroupObjects:()=>up,GroupedBarChart:()=>dp,Hand:()=>hp,HandDown:()=>fp,HandLeft:()=>pp,HandRight:()=>vp,HandUp:()=>mp,Hat:()=>gp,Header:()=>yp,HeaderOne:()=>bp,HeaderThree:()=>wp,HeaderTwo:()=>_p,Headset:()=>Ep,Heart:()=>xp,HeartBroken:()=>Sp,HeatGrid:()=>Op,Heatmap:()=>Cp,Helicopter:()=>Mp,Help:()=>zp,HelperManagement:()=>Pp,HighPriority:()=>Tp,HighVoltagePole:()=>Ap,Highlight:()=>Lp,History:()=>kp,Home:()=>Np,HorizontalBarChart:()=>Ip,HorizontalBarChartAsc:()=>Rp,HorizontalBarChartDesc:()=>Hp,HorizontalDistribution:()=>Vp,HorizontalInbetween:()=>Dp,Hurricane:()=>jp,IdNumber:()=>Fp,ImageRotateLeft:()=>Bp,ImageRotateRight:()=>Up,Import:()=>Gp,Inbox:()=>qp,InboxFiltered:()=>Wp,InboxGeo:()=>Kp,InboxSearch:()=>$p,InboxUpdate:()=>Yp,InfoSign:()=>Xp,Inheritance:()=>Zp,InheritedGroup:()=>Qp,InnerJoin:()=>Jp,Insert:()=>ev,Intelligence:()=>tv,Intersection:()=>nv,IpAddress:()=>rv,Issue:()=>ov,IssueClosed:()=>iv,IssueNew:()=>av,Italic:()=>lv,JoinTable:()=>sv,Key:()=>cv,KeyBackspace:()=>uv,KeyCommand:()=>dv,KeyControl:()=>hv,KeyDelete:()=>fv,KeyEnter:()=>pv,KeyEscape:()=>vv,KeyOption:()=>mv,KeyShift:()=>gv,KeyTab:()=>yv,KnownVehicle:()=>bv,LabTest:()=>wv,Label:()=>_v,Layer:()=>Ev,LayerOutline:()=>xv,Layers:()=>Sv,Layout:()=>Ov,LayoutAuto:()=>Cv,LayoutBalloon:()=>Mv,LayoutCircle:()=>zv,LayoutGrid:()=>Pv,LayoutGroupBy:()=>Tv,LayoutHierarchy:()=>Av,LayoutLinear:()=>Lv,LayoutSkewGrid:()=>kv,LayoutSortedClusters:()=>Nv,Learning:()=>Iv,LeftJoin:()=>Rv,LengthenText:()=>Hv,LessThan:()=>Vv,LessThanOrEqualTo:()=>Dv,Lifesaver:()=>jv,Lightbulb:()=>Fv,Lightning:()=>Bv,Link:()=>Uv,List:()=>Gv,ListColumns:()=>qv,ListDetailView:()=>Wv,Locate:()=>Kv,Lock:()=>$v,Locomotive:()=>Yv,LogIn:()=>Xv,LogOut:()=>Zv,LowVoltagePole:()=>Qv,Manual:()=>Jv,ManuallyEnteredData:()=>em,ManyToMany:()=>tm,ManyToOne:()=>nm,Map:()=>rm,MapCreate:()=>om,MapMarker:()=>im,Maximize:()=>am,Media:()=>lm,Menu:()=>sm,MenuClosed:()=>cm,MenuOpen:()=>um,MergeColumns:()=>dm,MergeLinks:()=>hm,Minimize:()=>fm,Minus:()=>pm,MobilePhone:()=>vm,MobileVideo:()=>mm,Modal:()=>gm,ModalFilled:()=>ym,Model:()=>bm,Moon:()=>wm,More:()=>_m,Mountain:()=>Em,Move:()=>xm,Mugshot:()=>Sm,MultiSelect:()=>Om,Music:()=>Cm,Nest:()=>Mm,NewDrawing:()=>zm,NewGridItem:()=>Pm,NewLayer:()=>Tm,NewLayers:()=>Am,NewLink:()=>Lm,NewObject:()=>km,NewPerson:()=>Nm,NewPrescription:()=>Im,NewTextBox:()=>Rm,Ninja:()=>Hm,NotEqualTo:()=>Vm,Notifications:()=>Dm,NotificationsSnooze:()=>jm,NotificationsUpdated:()=>Fm,NumberedList:()=>Bm,Numerical:()=>Um,Office:()=>Gm,Offline:()=>qm,OilField:()=>Wm,OneColumn:()=>Km,OneToMany:()=>$m,OneToOne:()=>Ym,OpenApplication:()=>Xm,Outdated:()=>Zm,PageLayout:()=>Qm,PanelStats:()=>Jm,PanelTable:()=>eg,Paperclip:()=>tg,Paragraph:()=>ng,Path:()=>rg,PathSearch:()=>og,Pause:()=>ig,People:()=>ag,Percentage:()=>lg,Person:()=>sg,Phone:()=>cg,PieChart:()=>ug,Pin:()=>dg,Pivot:()=>hg,PivotTable:()=>fg,Play:()=>pg,Playbook:()=>vg,Plus:()=>mg,PolygonFilter:()=>gg,Power:()=>yg,PredictiveAnalysis:()=>bg,Prescription:()=>wg,Presentation:()=>_g,Print:()=>Eg,Projects:()=>xg,Properties:()=>Sg,Property:()=>Og,PublishFunction:()=>Cg,Pulse:()=>Mg,Rain:()=>zg,Random:()=>Pg,Record:()=>Tg,RectHeight:()=>Ag,RectWidth:()=>Lg,Rectangle:()=>kg,Redo:()=>Ng,Refresh:()=>Ig,Regex:()=>Rg,RegressionChart:()=>Hg,Remove:()=>Vg,RemoveColumn:()=>Dg,RemoveColumnLeft:()=>jg,RemoveColumnRight:()=>Fg,RemoveRowBottom:()=>Bg,RemoveRowTop:()=>Ug,Repeat:()=>Gg,Reset:()=>qg,Resolve:()=>Wg,Rig:()=>Kg,RightJoin:()=>$g,Ring:()=>Yg,Rocket:()=>Xg,RocketSlant:()=>Zg,RotateDocument:()=>Qg,RotatePage:()=>Jg,Route:()=>ey,Satellite:()=>ty,Saved:()=>ny,ScatterPlot:()=>ry,Search:()=>oy,SearchAround:()=>iy,SearchTemplate:()=>ay,SearchText:()=>ly,SegmentedControl:()=>sy,Select:()=>cy,Selection:()=>uy,SendMessage:()=>dy,SendTo:()=>hy,SendToGraph:()=>fy,SendToMap:()=>py,Sensor:()=>vy,SeriesAdd:()=>my,SeriesConfiguration:()=>gy,SeriesDerived:()=>yy,SeriesFiltered:()=>by,SeriesSearch:()=>wy,Settings:()=>_y,Shapes:()=>Ey,Share:()=>xy,SharedFilter:()=>Sy,Shield:()=>Oy,Ship:()=>Cy,Shop:()=>My,ShoppingCart:()=>zy,ShortenText:()=>Py,SignalSearch:()=>Ty,SimCard:()=>Ay,Slash:()=>Ly,SmallCross:()=>ky,SmallInfoSign:()=>Ny,SmallMinus:()=>Iy,SmallPlus:()=>Ry,SmallSquare:()=>Hy,SmallTick:()=>Vy,Snowflake:()=>Dy,SocialMedia:()=>jy,Sort:()=>Fy,SortAlphabetical:()=>By,SortAlphabeticalDesc:()=>Uy,SortAsc:()=>Gy,SortDesc:()=>qy,SortNumerical:()=>Wy,SortNumericalDesc:()=>Ky,SpellCheck:()=>$y,SplitColumns:()=>Yy,Square:()=>Xy,StackedChart:()=>Zy,StadiumGeometry:()=>Qy,Star:()=>Jy,StarEmpty:()=>eb,StepBackward:()=>tb,StepChart:()=>nb,StepForward:()=>rb,Stop:()=>ob,Stopwatch:()=>ib,Strikethrough:()=>ab,Style:()=>lb,Subscript:()=>sb,Superscript:()=>cb,SwapHorizontal:()=>ub,SwapVertical:()=>db,Switch:()=>hb,SymbolCircle:()=>fb,SymbolCross:()=>pb,SymbolDiamond:()=>vb,SymbolRectangle:()=>mb,SymbolSquare:()=>gb,SymbolTriangleDown:()=>yb,SymbolTriangleUp:()=>bb,Syringe:()=>wb,Tag:()=>_b,TakeAction:()=>Eb,Tank:()=>xb,Target:()=>Sb,Taxi:()=>Ob,Temperature:()=>Cb,TextHighlight:()=>Mb,Th:()=>zb,ThDerived:()=>Pb,ThDisconnect:()=>Tb,ThFiltered:()=>Ab,ThList:()=>Lb,ThirdParty:()=>kb,ThumbsDown:()=>Nb,ThumbsUp:()=>Ib,Tick:()=>Rb,TickCircle:()=>Hb,Time:()=>Vb,TimelineAreaChart:()=>Db,TimelineBarChart:()=>jb,TimelineEvents:()=>Fb,TimelineLineChart:()=>Bb,Tint:()=>Ub,Torch:()=>Gb,Tractor:()=>qb,Train:()=>Wb,Translate:()=>Kb,Trash:()=>$b,Tree:()=>Yb,TrendingDown:()=>Xb,TrendingUp:()=>Zb,Truck:()=>Qb,TwoColumns:()=>Jb,Unarchive:()=>ew,Underline:()=>tw,Undo:()=>nw,UngroupObjects:()=>rw,UnknownVehicle:()=>ow,Unlock:()=>iw,Unpin:()=>aw,Unresolve:()=>lw,Updated:()=>sw,Upload:()=>cw,User:()=>uw,Variable:()=>dw,VerticalBarChartAsc:()=>hw,VerticalBarChartDesc:()=>fw,VerticalDistribution:()=>pw,VerticalInbetween:()=>vw,Video:()=>mw,Virus:()=>gw,VolumeDown:()=>yw,VolumeOff:()=>bw,VolumeUp:()=>ww,Walk:()=>_w,WarningSign:()=>Ew,WaterfallChart:()=>xw,Waves:()=>Sw,Widget:()=>Ow,WidgetButton:()=>Cw,WidgetFooter:()=>Mw,WidgetHeader:()=>zw,Wind:()=>Pw,Wrench:()=>Tw,ZoomIn:()=>Aw,ZoomOut:()=>Lw,ZoomToFit:()=>kw});var i=n(18465),a=n(94184),l=n.n(a),s=n(67294);const c=["M10.99 6.99h-2v-2c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1zm-3-7c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.68 6-6 6z"],u=["M12 0a1 1 0 00-1 1v2H9a1 1 0 000 2h2v2a1 1 0 102 0V5h2a1 1 0 100-2h-2V1a1 1 0 00-1-1zM0 4a1 1 0 011-1h3.5a1 1 0 010 2H2v2a1 1 0 01-2 0V4zm1 12a1 1 0 01-1-1v-3a1 1 0 112 0v2h2.5a1 1 0 110 2H1zm11 0a1 1 0 001-1v-3a1 1 0 10-2 0v2H9a1 1 0 100 2h3zm-5.5-4a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"],d=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-5 14H2V2h8v12zm4 0h-3V2h3v12zM4 9h1v1c0 .55.45 1 1 1s1-.45 1-1V9h1c.55 0 1-.45 1-1s-.45-1-1-1H7V6c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-.55 0-1 .45-1 1s.45 1 1 1z"],h=["M8 9h1v1c0 .55.45 1 1 1s1-.45 1-1V9h1c.55 0 1-.45 1-1s-.45-1-1-1h-1V6c0-.55-.45-1-1-1s-1 .45-1 1v1H8c-.55 0-1 .45-1 1s.45 1 1 1zm7-9H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM5 14H2V2h3v12zm9 0H6V2h8v12z"],f=["M8 0a1 1 0 110 2 6 6 0 106 6 1 1 0 012 0 8 8 0 11-8-8zm0 5a3 3 0 110 6 3 3 0 010-6zm5-5a1 1 0 011 1v.999L15 2a1 1 0 010 2h-1v1a1 1 0 01-2 0V4h-1a1 1 0 010-2h1V1a1 1 0 011-1z"],p=["M6 11h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h1c.55 0 1-.45 1-1s-.45-1-1-1H9V8c0-.55-.45-1-1-1s-1 .45-1 1v1H6c-.55 0-1 .45-1 1s.45 1 1 1zm9-11H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2V6h12v8zm0-9H2V2h12v3z"],v=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2v-3h12v3zm0-4H2V2h12v8zM6 7h1v1c0 .55.45 1 1 1s1-.45 1-1V7h1c.55 0 1-.45 1-1s-.45-1-1-1H9V4c0-.55-.45-1-1-1s-1 .45-1 1v1H6c-.55 0-1 .45-1 1s.45 1 1 1z"],m=["M14 4.01h-1v-1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h1c.55 0 1-.45 1-1 0-.56-.45-1-1-1zm-13 2h6c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm8 6H1c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1 0-.56-.45-1-1-1zm0-4H1c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1 0-.56-.45-1-1-1z"],g=["M.01 7V5H16v7c0 .55-.45 1-1 1H9.005v-2.99C8.974 8.332 7.644 7 5.996 7H.01zM15 2H7.416L5.706.29a.996.996 0 00-.71-.29H1C.45 0 0 .45 0 1v3h15.99V3c.01-.55-.44-1-.99-1zM5.997 9H2c-.55 0-1 .45-1 1s.45 1 1 1h1.589L.3 14.29a1.003 1.003 0 001.42 1.42l3.287-3.29v1.59c0 .55.45 1 1 1 .549 0 .999-.45.999-1v-4A1.02 1.02 0 005.996 9z"],y=["M2.1 9.101a3.99 3.99 0 00-1.828.974A8 8 0 0110.075.272 3.99 3.99 0 009.1 2.1a6 6 0 00-7 7zM14 8a6.03 6.03 0 00-.1-1.101 3.99 3.99 0 001.828-.974 8 8 0 01-9.803 9.803A3.99 3.99 0 006.9 13.9 6 6 0 0014 8z","M8 3a1 1 0 00-1 1v2a1 1 0 002 0V4a1 1 0 00-1-1zM9 8a1 1 0 011-1h2a1 1 0 010 2h-2a1 1 0 01-1-1zM3 8a1 1 0 011-1h2a1 1 0 010 2H4a1 1 0 01-1-1zM7 10a1 1 0 012 0v2a1 1 0 01-2 0v-2zM5 13a2 2 0 11-4 0 2 2 0 014 0zM13 5a2 2 0 100-4 2 2 0 000 4z"],b=["M16 1.5A1.498 1.498 0 0013.44.44L9.91 3.97 2 1 1 3l5.93 3.95L3.88 10H1l-1 1 3 2 2 3 1-1v-2.88l3.05-3.05L13 15l2-1-2.97-7.91 3.53-3.53c.27-.27.44-.65.44-1.06z"],w=["M4 4c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H4zM1 3h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm13 10H2c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm1-6H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm-5 5c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1h4z"],_=["M15 12.98H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm-14-10h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1 0 .56.45 1 1 1zm14 4H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm0-3H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm0 6H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],E=["M13 13H1c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zM1 3h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm0 3h8c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 1H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM1 12h4c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1z"],x=["M15 12.98H3c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm-14-10h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1 0 .56.45 1 1 1zm14 1H7c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zm0 6h-4c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1zm0-3H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],S=["M10 12h3c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm5 2H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM3 12h3c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1z"],O=["M15 7h-1V6c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v1H7V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v4H1c-.55 0-1 .45-1 1s.45 1 1 1h1v4c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V9h2v1c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V9h1c.55 0 1-.45 1-1s-.45-1-1-1z"],C=["M9 9H5c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zM1 0C.45 0 0 .45 0 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm13 2H5c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],M=["M11 9H7c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm4-9c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm-4 2H2c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],z=["M15 0H1C.45 0 0 .45 0 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM6 4H3c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm7 0h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1z"],P=["M13 2H9V1c0-.55-.45-1-1-1S7 .45 7 1v1H3c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4v2H6c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h1c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1H9V7h4c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],T=["M2.126 1.1A4.994 4.994 0 014 5v8H0V5c0-1.517.69-2.952 1.874-3.9L2 1l.126.1zM8.126 1.1A4.994 4.994 0 0110 5v8H6V5c0-1.517.69-2.952 1.874-3.9L8 1l.126.1zM16 5c0-1.517-.69-2.952-1.874-3.9L14 1l-.126.1A4.994 4.994 0 0012 5v8h4V5zM4 15v-1H0v1h4zM10 14v1H6v-1h4zM16 15v-1h-4v1h4z"],A=["M10 2a2 2 0 01-1 1.732V5h2v2H9v6.874a4.004 4.004 0 002.976-3.436l-.269.27a1 1 0 01-1.414-1.415l2-2a1 1 0 011.414 0l2 2a1 1 0 01-1.414 1.414l-.306-.306a6 6 0 01-11.974 0l-.306.306A1 1 0 01.293 9.293l2-2a1 1 0 011.414 0l2 2a1 1 0 01-1.414 1.414l-.27-.27A4.003 4.003 0 007 13.875V7H5V5h2V3.732A2 2 0 1110 2z"],L=["M15.52 2.77c.3-.29.48-.7.48-1.15C16 .73 15.27 0 14.38 0c-.45 0-.85.18-1.15.48l-1.34 1.34 2.3 2.3 1.33-1.35zM7.4 10.9l6.21-6.21-2.3-2.3L5.1 8.6l2.3 2.3zM14 14H2V2h6.34l2-2H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V5.66l-2 2V14zM3 13l3.58-1.29-2.29-2.27L3 13z"],k=["M2.673 10.758a1.396 1.396 0 01.093.234c.127.442.012.932-.362 1.212-.441.332-1.075.246-1.349-.233a8 8 0 1114.014-.225c-.259.488-.889.594-1.341.277-.382-.269-.513-.755-.4-1.2a1.259 1.259 0 01.085-.238 6 6 0 10-10.74.173zm2.464-1.862a1.783 1.783 0 01.076.404c.03.415-.096.831-.43 1.078-.444.328-1.08.237-1.314-.264a5.003 5.003 0 01-.24-.62l-.004-.011a5 5 0 119.574-.08l-.003.011c-.063.213-.14.422-.23.625-.226.504-.861.606-1.31.285-.338-.241-.47-.654-.448-1.07a1.737 1.737 0 01.07-.405 2.99 2.99 0 00-.216-2.233 3 3 0 00-5.525 2.28zM8 7a1 1 0 011 1v3.586l2.707 2.707a1 1 0 01-1.414 1.414L8 13.414l-2.293 2.293a1 1 0 01-1.414-1.414L7 11.586V8a1 1 0 011-1z"],N=["M15 0a1 1 0 011 1v14a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h14zM6 4a1 1 0 00-1.993-.117L4 4v8a1 1 0 001.993.117L6 12V9h4v3a1 1 0 001.993.117L12 12V4a1 1 0 00-1.993-.117L10 4v3H6V4z"],I=["M3.5 7h7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-7c-.28 0-.5.22-.5.5s.22.5.5.5zM15 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm-1 12H2V5h12v8zM3.5 9h4c.28 0 .5-.22.5-.5S7.78 8 7.5 8h-4c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-5c-.28 0-.5.22-.5.5s.22.5.5.5z"],R=["M3.5 11h2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-2c-.28 0-.5.22-.5.5s.22.5.5.5zm0-2h5c.28 0 .5-.22.5-.5S8.78 8 8.5 8h-5c-.28 0-.5.22-.5.5s.22.5.5.5zM11 4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-1 10H2V7h8v7zm5-14H5c-.55 0-1 .45-1 1v2h2V2h8v7h-1v2h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM3.5 13h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5z"],H=["M13.382 0a1 1 0 01.894.553L16 4v11a1 1 0 01-1 1H1a1 1 0 01-1-1V4L1.724.553A1 1 0 012.618 0h10.764zM8 6c-.55 0-1 .45-1 1v2.59l-.29-.29-.081-.076A.97.97 0 006 9a1.003 1.003 0 00-.71 1.71l2 2 .096.084c.168.13.38.206.614.206.28 0 .53-.11.71-.29l2-2 .084-.096A1.003 1.003 0 009.29 9.29l-.29.3V7l-.007-.116A1.004 1.004 0 008 6zm5-4H3L2 4h12l-1-2z"],V=["M4 3.664C4 1.644 5.793 0 8 0s3.993 1.643 4 3.664C12 5.692 8 11 8 11S4 5.692 4 3.664zM6 4a2 2 0 104.001-.001A2 2 0 006 4zm7.504 6.269l-2.68-1.609.021-.033c.34-.538.688-1.115 1-1.687l3.67 2.202a1 1 0 01.266 1.482l-4 5A1 1 0 0111 16H5a1 1 0 01-.78-.376l-4-5a1 1 0 01.266-1.482l3.67-2.202a30.46 30.46 0 00.999 1.687l.021.033-2.68 1.609 2.985 3.73h5.038l2.985-3.73z"],D=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm4 7a1 1 0 110 2 1 1 0 010-2zM5 7a1 1 0 110 2 1 1 0 010-2zm6 0a1 1 0 110 2 1 1 0 010-2z"],j=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm7 6a1 1 0 01.993.883L12 7v2a1 1 0 01-.883.993L11 10H5a1 1 0 01-.993-.883L4 9V7a1 1 0 01.883-.993L5 6h6zm0 1H8v2h3V7z"],F=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm6.5 4a.5.5 0 01.5.5V5a1 1 0 01.993.883L12 6v5a1 1 0 01-.883.993L11 12H5a1 1 0 01-.993-.883L4 11V6a1 1 0 01.883-.993L5 5v-.5a.5.5 0 011 0V5h4v-.5a.5.5 0 01.5-.5zm.5 3H5v4h6V7z"],B=["M15.993.883A1 1 0 0015 0h-3l-.117.007A1 1 0 0011 1l.007.117A1 1 0 0012 2h2v12h-2l-.117.007A1 1 0 0012 16h3l.117-.007A1 1 0 0016 15V1l-.007-.117zM5 1a1 1 0 00-1-1H1L.883.007A1 1 0 000 1v14l.007.117A1 1 0 001 16h3l.117-.007A1 1 0 005 15l-.007-.117A1 1 0 004 14H2V2h2l.117-.007A1 1 0 005 1z","M4.347 5.86c-.177.03-.36.047-.547.047v.703h1.344v3.86h.977V5h-.727a.844.844 0 01-.203.422 1.17 1.17 0 01-.367.281c-.14.073-.3.125-.477.157z","M11.462 5.27c-.236-.176-.542-.264-.918-.264s-.685.088-.925.263a1.79 1.79 0 00-.557.662c-.13.266-.22.56-.27.88-.046.321-.068.632-.068.933 0 .3.022.612.067.933.05.32.14.617.271.887.135.266.321.487.557.662.24.17.549.256.925.256s.682-.085.918-.256c.24-.175.426-.396.556-.662a2.86 2.86 0 00.271-.887c.05-.321.075-.632.075-.933 0-.3-.025-.612-.075-.933a2.775 2.775 0 00-.27-.88 1.702 1.702 0 00-.557-.662zm-.452 4.34a.7.7 0 01-.466.157.711.711 0 01-.474-.158 1.214 1.214 0 01-.293-.436 2.791 2.791 0 01-.15-.647 6.443 6.443 0 01-.046-.782c0-.276.015-.534.045-.775.03-.246.08-.461.15-.647.076-.185.174-.33.294-.436a.69.69 0 01.474-.166.68.68 0 01.466.166c.126.105.223.25.294.436.075.186.128.401.158.647.03.24.045.5.045.775 0 .276-.015.537-.045.782-.03.246-.083.462-.158.647-.07.18-.168.326-.294.436z","M7.082 9.445H8.17V10.5H7.082V9.445z"],U=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm6.904 5c.256 0 .483.037.68.112a1.343 1.343 0 01.812.788c.072.184.108.385.108.604 0 .23-.05.441-.152.636a1.314 1.314 0 01-.456.492v.016l.08.04c.055.031.111.072.168.124.085.077.163.172.232.284a1.673 1.673 0 01.24.872c0 .25-.043.477-.128.68a1.518 1.518 0 01-.896.852 1.937 1.937 0 01-.68.116c-.427 0-.792-.101-1.096-.304a1.362 1.362 0 01-.584-.864c-.01-.053.01-.088.064-.104l.696-.16.033-.002c.03.002.051.022.063.058.059.16.155.296.288.408.133.112.312.168.536.168.256 0 .453-.076.592-.228a.827.827 0 00.208-.58c0-.277-.08-.495-.24-.652-.16-.157-.376-.236-.648-.236h-.232l-.035-.005c-.03-.01-.045-.035-.045-.075v-.632l.005-.035c.01-.03.035-.045.075-.045h.216l.138-.009a.734.734 0 00.438-.207c.144-.144.216-.336.216-.576a.745.745 0 00-.192-.532c-.128-.136-.307-.204-.536-.204-.203 0-.363.05-.48.152a.815.815 0 00-.248.408c-.016.048-.048.067-.096.056l-.68-.16-.034-.012c-.028-.016-.038-.044-.03-.084a1.347 1.347 0 01.516-.828c.136-.104.296-.185.48-.244A1.98 1.98 0 0110.904 5zm-6.152.088l.035.005c.03.01.045.035.045.075v5.28l-.005.035c-.01.03-.035.045-.075.045h-.736l-.035-.005c-.03-.01-.045-.035-.045-.075V6.16H3.92l-.832.584-.032.016C3.02 6.773 3 6.751 3 6.696V5.88l.006-.04a.157.157 0 01.05-.072l.872-.632.04-.027a.236.236 0 01.104-.021h.68zM7.344 5c.256 0 .483.04.68.12.197.08.364.188.5.324s.24.296.312.48c.072.184.108.383.108.596 0 .245-.045.47-.136.676-.09.205-.216.404-.376.596l-1.584 1.92v.016h2.016l.035.005c.03.01.045.035.045.075v.64l-.005.035c-.01.03-.035.045-.075.045H5.808l-.035-.005c-.03-.01-.045-.035-.045-.075v-.6l.004-.04a.132.132 0 01.036-.064l1.92-2.392.1-.133a1.95 1.95 0 00.156-.267.985.985 0 00.096-.432.736.736 0 00-.188-.512c-.125-.139-.303-.208-.532-.208-.219 0-.39.061-.512.184a.826.826 0 00-.224.496c-.01.053-.04.075-.088.064L5.792 6.4l-.034-.012c-.028-.016-.038-.044-.03-.084a1.425 1.425 0 01.94-1.192A1.88 1.88 0 017.344 5z"],G=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm1.61 5c.514 0 .962.212 1.343.637.382.425.573.997.573 1.716 0 .838-.258 1.588-.773 2.252-.514.663-1.327 1.2-2.437 1.609v-.465l.233-.095a3.09 3.09 0 001.274-1.017c.366-.505.55-1.03.55-1.577a.478.478 0 00-.057-.26c-.018-.037-.043-.056-.074-.056s-.08.025-.149.075c-.198.142-.446.214-.744.214-.36 0-.675-.145-.944-.433A1.453 1.453 0 014 6.572c0-.422.155-.79.465-1.102.31-.313.692-.47 1.144-.47zm4.474 0c.514 0 .963.212 1.344.637.381.425.572.997.572 1.716 0 .838-.257 1.588-.772 2.252-.515.663-1.327 1.2-2.437 1.609v-.465l.233-.095a3.09 3.09 0 001.274-1.017c.366-.505.549-1.03.549-1.577a.478.478 0 00-.056-.26c-.019-.037-.044-.056-.075-.056-.03 0-.08.025-.149.075-.198.142-.446.214-.744.214-.36 0-.674-.145-.944-.433a1.453 1.453 0 01-.405-1.028c0-.422.155-.79.466-1.102.31-.313.691-.47 1.144-.47z"],q=["M15 0a1 1 0 01.993.883L16 1v14a1 1 0 01-.883.993L15 16h-3a1 1 0 01-.117-1.993L12 14h2V2h-2a1 1 0 01-.993-.883L11 1a1 1 0 01.883-.993L12 0h3zM4 0a1 1 0 01.117 1.993L4 2H2v12h2a1 1 0 01.993.883L5 15a1 1 0 01-.883.993L4 16H1a1 1 0 01-.993-.883L0 15V1A1 1 0 01.883.007L1 0h3zm4 3a5 5 0 110 10A5 5 0 018 3zm0 1a4 4 0 100 8 4 4 0 000-8zm2.354 1.646a.5.5 0 01.057.638l-.057.07-2 2a.5.5 0 01-.638.057l-.07-.057-1-1a.5.5 0 01.638-.765l.07.057.646.647 1.646-1.647a.5.5 0 01.708 0z"],W=["M14 3a1.003 1.003 0 00-1.71-.71L4 10.59V6c0-.55-.45-1-1-1s-1 .45-1 1v7c0 .55.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1H5.41l8.29-8.29c.19-.18.3-.43.3-.71z"],K=["M13 5c-.55 0-1 .45-1 1v4.59l-8.29-8.3a1.003 1.003 0 00-1.42 1.42l8.3 8.29H6c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"],$=["M13 8c-.3 0-.5.1-.7.3L9 11.6V2c0-.5-.4-1-1-1s-1 .5-1 1v9.6L3.7 8.3C3.5 8.1 3.3 8 3 8c-.5 0-1 .5-1 1 0 .3.1.5.3.7l5 5c.2.2.4.3.7.3s.5-.1.7-.3l5-5c.2-.2.3-.4.3-.7 0-.6-.4-1-1-1z"],Y=["M13.99 6.99H4.41L7.7 3.7a1.003 1.003 0 00-1.42-1.42l-5 5a1.014 1.014 0 000 1.42l5 5a1.003 1.003 0 001.42-1.42L4.41 8.99H14c.55 0 1-.45 1-1s-.46-1-1.01-1z"],X=["M14.7 7.29l-5-5a.965.965 0 00-.71-.3 1.003 1.003 0 00-.71 1.71l3.29 3.29H1.99c-.55 0-1 .45-1 1s.45 1 1 1h9.59l-3.29 3.29a1.003 1.003 0 001.42 1.42l5-5c.18-.18.29-.43.29-.71s-.12-.52-.3-.7z"],Z=["M13.71 12.29L5.41 4H10c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1s1-.45 1-1V5.41l8.29 8.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],Q=["M13 2H6c-.55 0-1 .45-1 1s.45 1 1 1h4.59L2.3 12.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L12 5.41V10c0 .55.45 1 1 1s1-.45 1-1V3c0-.55-.45-1-1-1z"],J=["M13.7 6.3l-5-5C8.5 1.1 8.3 1 8 1s-.5.1-.7.3l-5 5c-.2.2-.3.4-.3.7 0 .6.5 1 1 1 .3 0 .5-.1.7-.3L7 4.4V14c0 .6.4 1 1 1s1-.4 1-1V4.4l3.3 3.3c.2.2.4.3.7.3.6 0 1-.4 1-1 0-.3-.1-.5-.3-.7z"],ee=["M15.7 7.3l-4-4c-.2-.2-.4-.3-.7-.3-.6 0-1 .5-1 1 0 .3.1.5.3.7L12.6 7H3.4l2.3-2.3c.2-.2.3-.4.3-.7 0-.5-.4-1-1-1-.3 0-.5.1-.7.3l-4 4c-.2.2-.3.4-.3.7s.1.5.3.7l4 4c.2.2.4.3.7.3.6 0 1-.4 1-1 0-.3-.1-.5-.3-.7L3.4 9h9.2l-2.3 2.3c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3l4-4c.2-.2.3-.4.3-.7s-.1-.5-.3-.7z"],te=["M12 10c-.3 0-.5.1-.7.3L9 12.6V3.4l2.3 2.3c.2.2.4.3.7.3.6 0 1-.4 1-1 0-.3-.1-.5-.3-.7l-4-4C8.5.1 8.3 0 8 0s-.5.1-.7.3l-4 4c-.2.2-.3.4-.3.7 0 .6.5 1 1 1 .3 0 .5-.1.7-.3L7 3.4v9.2l-2.3-2.3c-.2-.2-.4-.3-.7-.3-.5 0-1 .4-1 1 0 .3.1.5.3.7l4 4c.2.2.4.3.7.3s.5-.1.7-.3l4-4c.2-.2.3-.4.3-.7 0-.6-.4-1-1-1z"],ne=["M14.54 11.18l.01-.02L9.8 8l4.75-3.17-.01-.02c.27-.17.46-.46.46-.81 0-.55-.45-1-1-1-.21 0-.39.08-.54.18l-.01-.02L9 6.13V1c0-.55-.45-1-1-1S7 .45 7 1v5.13L2.55 3.17l-.01.01A.969.969 0 002 3c-.55 0-1 .45-1 1 0 .35.19.64.46.82l-.01.01L6.2 8l-4.75 3.17.01.02c-.27.17-.46.46-.46.81 0 .55.45 1 1 1 .21 0 .39-.08.54-.18l.01.02L7 9.87V15c0 .55.45 1 1 1s1-.45 1-1V9.87l4.45 2.96.01-.02c.15.11.33.19.54.19.55 0 1-.45 1-1 0-.35-.19-.64-.46-.82z"],re=["M5.816 8.371c0 1.515.603 2.274 1.814 2.274 1.273 0 1.971-.954 2.089-2.86l.12-2.331a5.298 5.298 0 00-1.337-.165c-.848 0-1.507.276-1.979.828-.472.554-.707 1.305-.707 2.254M16 7.133c0 .93-.149 1.78-.446 2.55-.297.77-.714 1.372-1.253 1.802a2.913 2.913 0 01-1.868.642c-.521 0-.975-.137-1.356-.41a1.989 1.989 0 01-.773-1.111h-.12c-.323.506-.723.887-1.198 1.14a3.35 3.35 0 01-1.605.38c-1.076 0-1.924-.34-2.541-1.023-.618-.682-.926-1.607-.926-2.77 0-1.341.41-2.428 1.229-3.264.818-.835 1.918-1.253 3.298-1.253.502 0 1.058.043 1.669.13.61.088 1.155.21 1.63.367l-.218 4.536v.234c0 1.04.344 1.562 1.031 1.562.521 0 .935-.332 1.241-.996.308-.664.463-1.508.463-2.537 0-1.112-.232-2.09-.695-2.931a4.762 4.762 0 00-1.97-1.947c-.851-.456-1.83-.682-2.934-.682-1.405 0-2.628.286-3.67.858a5.736 5.736 0 00-2.382 2.455c-.549 1.062-.822 2.296-.822 3.7 0 1.888.512 3.339 1.535 4.353 1.024 1.015 2.492 1.52 4.409 1.52 1.46 0 2.982-.29 4.567-.877v1.6c-1.386.56-2.896.839-4.527.839-2.446 0-4.35-.65-5.717-1.945C.685 12.757 0 10.947 0 8.625c0-1.698.37-3.209 1.11-4.532a7.556 7.556 0 013.076-3.038C5.497.35 6.982 0 8.64 0c1.433 0 2.71.294 3.827.878a6.294 6.294 0 012.607 2.504c.619 1.082.926 2.332.926 3.75"],oe=["M8 14c-3.31 0-6-2.69-6-6 0-1.77.78-3.36 2-4.46V5c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1s.45 1 1 1h1.74A7.95 7.95 0 000 8c0 4.42 3.58 8 8 8 .55 0 1-.45 1-1s-.45-1-1-1zM8 2a5.9 5.9 0 012.95.81l1.47-1.47A7.893 7.893 0 008 0c-.55 0-1 .45-1 1s.45 1 1 1zm2.71 6.71l5-5a1.003 1.003 0 00-1.42-1.42L10 6.59l-1.29-1.3a1.003 1.003 0 00-1.42 1.42l2 2c.18.18.43.29.71.29s.53-.11.71-.29zM16 8c0-.55-.06-1.08-.16-1.6l-1.87 1.87A5.966 5.966 0 0112 12.45V11c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1h-1.74A7.95 7.95 0 0016 8z"],ie=["M1 13h1v.5a.5.5 0 001 0v-11a.5.5 0 00-1 0V3H1v10zM15 3h-1v-.5a.5.5 0 00-1 0v11a.5.5 0 001 0V13h1V3zM3 6l1.789.894A1 1 0 005.236 7h5.528a1 1 0 00.447-.106L13 6v4l-1.789-.894A1 1 0 0010.764 9H5.236a1 1 0 00-.447.106L3 10V6z","M0 8a1 1 0 011-1h1v2H1a1 1 0 01-1-1zM16 8a1 1 0 01-1 1h-1V7h1a1 1 0 011 1z"],ae=["M14 10a1 1 0 110 2h-.585l2.292 2.293a1 1 0 01-1.32 1.497l-.094-.083L12 13.415V14a1 1 0 11-2 0l.003-3.075.012-.1.012-.059.033-.108.034-.081.052-.098.067-.096.08-.09a1.01 1.01 0 01.112-.097l.11-.071.143-.065.076-.024.091-.02.116-.014L14 10zM6.036 6.136l-3.45 3.45-.117.127a2 2 0 002.818 2.818l.127-.117 3.45-3.449a4 4 0 01-.885 3.704l-.15.16-1 1A4 4 0 011.02 8.33l.15-.16 1-1a3.998 3.998 0 013.865-1.035zm4.671-1.843a1 1 0 01.083 1.32l-.083.094-5 5a1 1 0 01-1.497-1.32l.083-.094 5-5a1 1 0 011.414 0zm3.121-3.121a4 4 0 01.151 5.497l-.15.16-1 1a3.998 3.998 0 01-3.864 1.036l3.45-3.45.116-.128a2 2 0 00-2.818-2.818l-.127.117-3.45 3.45A4 4 0 017.02 2.33l.15-.16 1-1a4 4 0 015.657 0z"],le=["M13.36 4.59c-.15-1.13.5-2.01 1.1-2.87L13.43.53c-1.72.88-4.12.65-5.63-.53-1.51 1.18-3.91 1.41-5.63.52l-1.03 1.2c.61.86 1.25 1.74 1.1 2.87-.3 2.29-2.45 4.17-1.32 6.68.45 1.14 1.44 1.9 2.72 2.2 1.56.36 3.52.72 4.16 2.53.64-1.81 2.6-2.16 4.16-2.54 1.28-.3 2.27-1.06 2.72-2.2 1.12-2.5-1.03-4.38-1.32-6.67z"],se=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3 9H5c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1z"],ce=["M15.36 6.46l-.62-.14c-.31-1.12-.98-2.15-1.87-2.99l.4-1.77a.438.438 0 00-.49-.56c-.85.09-1.6.42-2.14.98-.84-.32-1.87-.51-2.85-.51-2.49 0-4.63 1.17-5.92 2.89-.18-.04-.36-.09-.53-.09-.76 0-1.34.61-1.34 1.4 0 .56.31 1.03.76 1.26-.05.33-.09.7-.09 1.07 0 1.68.71 3.17 1.83 4.34l-.27 1.59c-.09.56.35 1.07.89 1.07h.58c.45 0 .8-.33.89-.79l.04-.37c.94.42 2 .7 3.16.7 1.11 0 2.23-.23 3.16-.7l.05.37c.09.47.45.79.89.79h.58c.53 0 .98-.51.89-1.07l-.27-1.54c.62-.61 1.07-1.35 1.38-2.15l.8-.19c.4-.09.71-.47.71-.93V7.4c.09-.47-.22-.84-.62-.94zM12 8c-.6 0-1-.7-1-1.5S11.4 5 12 5s1 .7 1 1.5S12.6 8 12 8zM6.21 4.92c-.41.2-.91.04-1.12-.36-.21-.4-.04-.88.37-1.07 1.35-.65 2.73-.65 4.08 0 .41.2.58.68.37 1.07-.21.4-.71.56-1.12.36-.87-.43-1.71-.43-2.58 0z"],ue=["M0 14h2V2H0v12zm6 0h1V2H6v12zm2 0h1V2H8v12zm-5 0h2V2H3v12zM15 2v12h1V2h-1zm-5 12h1V2h-1v12zm2 0h2V2h-2v12z"],de=[],he=["M9.39 12.69c-1.2-.53-1.04-.85-1.08-1.29-.01-.07-.01-.13-.02-.2.41-.37.75-.87.97-1.44 0 0 .01-.03.01-.04.05-.13.09-.26.13-.39.27-.06.43-.36.5-.63.01-.03.03-.08.05-.12C8.18 7.8 6.94 6.04 6.94 4c0-.32.04-.62.09-.92-.17-.03-.35-.08-.51-.08-.65 0-1.37.2-1.88.59-.5.38-.87.92-1.05 1.51-.04.14-.07.27-.09.41-.09.48-.14 1.23-.14 1.74v.06c-.19.08-.36.27-.4.68-.03.31.1.59.16.7.06.28.23.59.51.64.04.14.08.27.13.39 0 .01.01.02.01.02v.01c.22.59.57 1.1.99 1.46 0 .06-.01.12-.01.17-.04.44.08.76-1.12 1.29-1.2.53-3.01 1.1-3.38 1.95C-.12 15.5.03 16 .03 16h12.96s.15-.5-.22-1.36c-.37-.85-2.18-1.42-3.38-1.95zM11.97 0C9.75 0 7.94 1.79 7.94 4s1.8 4 4.03 4S16 6.21 16 4s-1.8-4-4.03-4zM9.96 4c0-1.1.9-2 2.01-2 .37 0 .72.11 1.02.28l-2.75 2.73c-.17-.3-.28-.64-.28-1.01zm2.01 2c-.37 0-.72-.11-1.02-.28l2.75-2.73c.18.3.28.64.28 1.01.01 1.1-.9 2-2.01 2z"],fe=["M11.7 7c.2-.4.3-1 .3-1.5v-.4V5c0-.1 0-.2-.1-.3v-.1C11.4 3.1 10.1 2 8.5 2H4c-.5 0-1 .4-1 1v10c0 .5.4 1 1 1h5c2.2 0 4-1.8 4-4 0-1.2-.5-2.3-1.3-3zM6 5h2c.6 0 1 .4 1 1s-.4 1-1 1H6V5zm3 6H6V9h3c.6 0 1 .4 1 1s-.4 1-1 1z"],pe=["M2 1v14c0 .55.45 1 1 1h1V0H3c-.55 0-1 .45-1 1zm11-1h-1v7l-2-2-2 2V0H5v16h8c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],ve=["M11.2.01h-.15C11.03.01 11.02 0 11 0H5c-.02 0-.03.01-.05.01H4.8c-.44 0-.8.37-.8.82v14.75c0 .45.25.56.57.24l2.87-2.94c.31-.32.82-.32 1.13 0l2.87 2.94c.31.32.57.21.57-.24V.83C12 .38 11.64.01 11.2.01z"],me=["M6 10h4c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1zm9.93-4.37v-.02L13.94.63C13.78.26 13.42 0 13 0H3c-.42 0-.78.26-.93.63L.08 5.61l-.01.02C.03 5.74 0 5.87 0 6v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V6c0-.13-.03-.26-.07-.37zM9 2h3.32l1.2 3H9V2zM3.68 2H7v3H2.48l1.2-3zM14 14H2V7h12v7z"],ge=["M15 3.98h-3v-2c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v2H1c-.55 0-1 .45-1 1v4h3v-1h2v1h6v-1h2v1h3v-4c0-.55-.45-1-1-1zm-5 0H6v-1h4v1zm3 7h-2v-1H5v1H3v-1H0v4c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-4h-3v1z"],ye=["M14 14a1 1 0 010 2H2a1 1 0 010-2h12zM7.995 3.005c.55 0 1 .45 1 .999v5.584l1.29-1.288a1.002 1.002 0 011.42 1.419l-3 2.996a1.015 1.015 0 01-1.42 0l-3-2.997A1.002 1.002 0 015.705 8.3l1.29 1.29V4.013c0-.55.45-1.009 1-1.009zM14 0a1 1 0 110 2 1 1 0 010-2zm-3 0a1 1 0 110 2 1 1 0 010-2zM8 0a1 1 0 110 2 1 1 0 010-2zM5 0a1 1 0 110 2 1 1 0 010-2zM2 0a1 1 0 110 2 1 1 0 010-2z"],be=["M5 3a3 3 0 016 0 5.022 5.022 0 011.425 1.67L13 4.382V3a1 1 0 112 0v2a1 1 0 01-.553.894l-1.46.731c.008.124.013.249.013.375v1h2a1 1 0 110 2h-2a5 5 0 01-.21 1.439l1.581.633A1 1 0 0115 13v2a1 1 0 11-2 0v-1.323l-1.167-.467A4.99 4.99 0 018 15a4.99 4.99 0 01-3.833-1.79L3 13.677V15a1 1 0 11-2 0v-2a1 1 0 01.629-.928l1.581-.633A5 5 0 013 10H1a1 1 0 110-2h2V7c0-.126.005-.251.014-.375l-1.461-.73A1 1 0 011 5V3a1 1 0 012 0v1.382l.575.288A5.023 5.023 0 015 3zm0 6v1a3 3 0 106 0V7a3 3 0 00-6 0v2z"],we=["M13.928.629A1 1 0 0012.89.006l-9 1a1 1 0 00-.747.48L.431 6.005A.5.5 0 000 6.5v3a.5.5 0 00.5.5h2.798c.341 0 .672.116.938.329l1.952 1.561A.5.5 0 006.5 12H10a.5.5 0 00.4-.2l.9-1.2a1.5 1.5 0 011.2-.6h3a.5.5 0 00.5-.5v-4a.5.5 0 00-.308-.462L13.928.628zM12.36 2.094l-.006-.016-3.166.352 1.121 3.083 2.052-3.419zm.467 1.166l-1.649 2.748 2.51-.594-.861-2.154zM9.603 6.496L8.166 2.543l-3.563.396L2.766 6H3.5a.5.5 0 01.367.16L6.218 8.7h1.914l1.452-2.177a.5.5 0 01.019-.027zM2.5 16a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm11 0a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"],_e=["M15.39 12.41L7.7 6l1.07-1.1c.34-.34-.12-.63.12-1.26.88-2.17 3.41-2.35 3.41-2.35s.36-.37.71-.72C9.74-.81 7.53.53 6.54 1.4L3.12 4.9l-.71.72c-.39.4-.39 1.05 0 1.45l-.7.72c-.39-.4-1.02-.4-1.41 0s-.39 1.05 0 1.45l1.41 1.45c.39.4 1.02.4 1.41 0s.39-1.05 0-1.45l.71-.72c.39.4 1.02.4 1.41 0l.8-.82 6.39 7.67c.82.82 2.14.82 2.96 0 .81-.82.81-2.15 0-2.96z"],Ee=["M13 0H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM6 14H4v-2h2v2zm0-3H4V9h2v2zm0-3H4V6h2v2zm3 6H7v-2h2v2zm0-3H7V9h2v2zm0-3H7V6h2v2zm3 6h-2V9h2v5zm0-6h-2V6h2v2zm0-3H4V2h8v3z"],xe=["M11 3c.6 0 1-.5 1-1V1c0-.6-.4-1-1-1s-1 .4-1 1v1c0 .5.4 1 1 1zm3-2h-1v1c0 1.1-.9 2-2 2s-2-.9-2-2V1H6v1c0 1.1-.9 2-2 2s-2-.9-2-2V1H1c-.6 0-1 .5-1 1v12c0 .6.4 1 1 1h13c.6 0 1-.4 1-1V2c0-.6-.5-1-1-1zM5 13H2v-3h3v3zm0-4H2V6h3v3zm4 4H6v-3h3v3zm0-4H6V6h3v3zm4 4h-3v-3h3v3zm0-4h-3V6h3v3zM4 3c.6 0 1-.5 1-1V1c0-.6-.4-1-1-1S3 .4 3 1v1c0 .5.4 1 1 1z"],Se=["M15 3h-2.59L10.7 1.29A.956.956 0 0010 1H6c-.28 0-.53.11-.71.29L3.59 3H1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h2.56c1.1 1.22 2.67 2 4.44 2s3.34-.78 4.44-2H15c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM3 6H1V5h2v1zm5 6c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Oe=["M12 6.5c0-.28-.22-.5-.5-.5h-7a.495.495 0 00-.37.83l3.5 4c.09.1.22.17.37.17s.28-.07.37-.17l3.5-4c.08-.09.13-.2.13-.33z"],Ce=["M9.5 4c-.13 0-.24.05-.33.13l-4 3.5c-.1.09-.17.22-.17.37s.07.28.17.37l4 3.5a.495.495 0 00.83-.37v-7c0-.28-.22-.5-.5-.5z"],Me=["M11 8c0-.15-.07-.28-.17-.37l-4-3.5A.495.495 0 006 4.5v7a.495.495 0 00.83.37l4-3.5c.1-.09.17-.22.17-.37z"],ze=["M11.87 9.17s.01 0 0 0l-3.5-4C8.28 5.07 8.15 5 8 5s-.28.07-.37.17l-3.5 4a.495.495 0 00.37.83h7a.495.495 0 00.37-.83z"],Pe=["M10 1h3a1 1 0 011 1v2h-4V1zM2.25 4a.25.25 0 00-.25.25V9H.883a.5.5 0 00-.429.757l1.072 1.787c.207.344.477.638.791.87A9.76 9.76 0 011 12.5a.5.5 0 000 1c2.067 0 3.414-.543 4.161-.917.55.373 1.505.917 2.839.917 1.32 0 2.27-.533 2.822-.905l.004.002c.196.105.48.24.856.374.75.268 1.857.529 3.318.529a.5.5 0 000-1c-.326 0-.63-.014-.916-.039.47-.328.848-.79 1.07-1.347l.572-1.428A.5.5 0 0015.26 9H4V4.25A.25.25 0 003.75 4h-1.5zm2.714 9.56a.5.5 0 01.527.033c.455.325 1.277.907 2.509.907s2.054-.582 2.51-.907a.5.5 0 01.579-.001l.006.004.036.023c.034.022.09.055.168.097.154.082.394.197.72.313.649.232 1.642.471 2.981.471a.5.5 0 010 1c-1.46 0-2.568-.261-3.318-.53a6.316 6.316 0 01-.856-.373l-.004-.002c-.552.372-1.502.905-2.822.905-1.334 0-2.289-.544-2.839-.917-.747.374-2.094.917-4.161.917a.5.5 0 010-1c2.129 0 3.384-.63 3.964-.94zM14 5h-4v3h3a1 1 0 001-1V5zM5 2a1 1 0 011-1h3v3H5V2zm4 3H5v2a1 1 0 001 1h3V5z"],Te=["M8.97 6.76c-.01-.05-.04-.08-.06-.13-.02-.05-.03-.1-.05-.15.08-.14.14-.3.14-.48 0-.55-.45-1-1-1s-1 .45-1 1c0 .18.06.34.14.48-.03.05-.03.1-.05.15-.02.05-.05.08-.06.13l-2 8c-.13.54.19 1.08.73 1.21a.995.995 0 001.21-.73L7.53 13h.94l.56 2.24a1 1 0 001.94-.48l-2-8zM3.72 1.7C4.1 1.3 4.09.67 3.7.28S2.67-.09 2.28.3c-3.05 3.12-3.05 8.28 0 11.4a.996.996 0 101.43-1.39c-2.28-2.35-2.28-6.27.01-8.61zM11.6 3.2c-.44-.33-1.07-.24-1.4.2-.33.44-.24 1.07.2 1.4.43.32.53 1.96-.04 2.43-.42.35-.48.98-.13 1.41.35.42.98.48 1.41.13 1.59-1.33 1.39-4.5-.04-5.57z","M13.72.3c-.39-.4-1.02-.4-1.41-.02s-.41 1.02-.03 1.42c2.29 2.34 2.29 6.26 0 8.6-.39.39-.38 1.03.02 1.41s1.03.38 1.41-.02c3.05-3.11 3.05-8.27.01-11.39zM5.4 7.23c-.57-.47-.47-2.11-.04-2.43.44-.33.53-.96.2-1.4s-.96-.53-1.4-.2c-1.44 1.07-1.63 4.24-.04 5.57.42.35 1.05.3 1.41-.13.35-.42.29-1.06-.13-1.41z"],Ae=["M8.29 7.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3a1.003 1.003 0 00-1.42-1.42L13 7.59V1c0-.55-.45-1-1-1s-1 .45-1 1v6.59l-1.29-1.3a1.003 1.003 0 00-1.42 1.42zM14.5 13h-13c-.83 0-1.5.67-1.5 1.5S.67 16 1.5 16h13c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5zM1 5c.28 0 .53-.11.71-.29L3 3.41V10c0 .55.45 1 1 1s1-.45 1-1V3.41L6.29 4.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3C4.53.11 4.28 0 4 0s-.53.11-.71.29l-3 3A1.003 1.003 0 001 5z"],Le=["M0 15c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V9.4L0 11v4zm6-5.5V15c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-5l-1 1-3-1.5zM13 7l-1 1v7c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V7.88c-.26.07-.58.12-1 .12-1.96 0-2-1-2-1zm2-6h-3c-.55 0-1 .45-1 1s.45 1 1 1h.59L8.8 6.78 5.45 5.11v.01C5.31 5.05 5.16 5 5 5s-.31.05-.44.11V5.1l-4 2v.01C.23 7.28 0 7.61 0 8c0 .55.45 1 1 1 .16 0 .31-.05.44-.11v.01L5 7.12 8.55 8.9v-.01c.14.06.29.11.45.11.28 0 .53-.11.71-.29L14 4.41V5c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1z"],ke=["M6 10c-1.1 0-2-.9-2-2V3H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1v2a1.003 1.003 0 001.71.71L5.41 13H10c.55 0 1-.45 1-1v-1.17l-.83-.83H6zm9-10H6c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h4.59l2.71 2.71c.17.18.42.29.7.29.55 0 1-.45 1-1V9c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],Ne=["M7.41 8l3.29-3.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L6 6.59V4c0-.55-.45-1-1-1s-1 .45-1 1v8c0 .55.45 1 1 1s1-.45 1-1V9.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L7.41 8z"],Ie=["M12 5c-.28 0-.53.11-.71.29L8 8.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4c.18.18.43.29.71.29s.53-.11.71-.29l4-4A1.003 1.003 0 0012 5z"],Re=["M10 3c-.55 0-1 .45-1 1v2.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42L7.59 8 4.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L9 9.41V12c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1z"],He=["M7.41 8l3.29-3.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C5.11 7.47 5 7.72 5 8c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L7.41 8z"],Ve=["M10.71 7.29l-4-4a1.003 1.003 0 00-1.42 1.42L8.59 8 5.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],De=["M12.71 9.29l-4-4C8.53 5.11 8.28 5 8 5s-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L8 7.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],je=["M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6z"],Fe=["M11 7c-.28 0-.53.11-.71.29L9 8.59V5c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-1.29-1.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 0011 7zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],Be=["M11 7H7.41L8.7 5.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C4.11 7.47 4 7.72 4 8c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L7.41 9H11c.55 0 1-.45 1-1s-.45-1-1-1zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],Ue=["M8.71 4.29a1.003 1.003 0 00-1.42 1.42L8.59 7H5c-.55 0-1 .45-1 1s.45 1 1 1h3.59L7.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],Ge=["M8.71 4.29C8.53 4.11 8.28 4 8 4s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L7 7.41V11c0 .55.45 1 1 1s1-.45 1-1V7.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],qe=["M15.02 5c0-1.66-1.34-3-3-3s-3 1.34-3 3a2.996 2.996 0 003.6 2.94C12.1 9.76 11.14 11 10.02 11c-.55 0-1 .45-1 1s.45 1 1 1c2.76 0 5-3.13 5-7 0-.2-.02-.39-.04-.58.01-.14.04-.28.04-.42zm-11-3c-1.66 0-3 1.34-3 3a2.996 2.996 0 003.6 2.94C4.1 9.76 3.14 11 2.02 11c-.55 0-1 .45-1 1s.45 1 1 1c2.76 0 5-3.13 5-7 0-.2-.02-.39-.04-.58.01-.14.04-.28.04-.42 0-1.66-1.35-3-3-3z"],We=["M12 8l-1.2 2.796-2.8 1.2 2.8 1.197L12 16l1.2-2.807L16 12l-2.8-1.204zM5 0L3.5 3.5 0 4.995 3.5 6.5 5 10l1.5-3.5L10 5 6.5 3.5z"],Ke=["M0 1a1 1 0 011-1h4a1 1 0 010 2H2v3a1 1 0 01-2 0V1zm1 15a1 1 0 01-1-1v-4a1 1 0 112 0v3h3a1 1 0 110 2H1zm14 0a1 1 0 001-1v-4a1 1 0 10-2 0v3h-3a1 1 0 100 2h4zm0-16a1 1 0 011 1v4a1 1 0 11-2 0V2h-3a1 1 0 110-2h4zM8 11a3 3 0 100-6 3 3 0 000 6z"],$e=["M11 2c0-.55-.45-1-1-1h.22C9.88.4 9.24 0 8.5 0S7.12.4 6.78 1H7c-.55 0-1 .45-1 1v1h5V2zm2 0h-1v2H5V2H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],Ye=["M12 6c-.03 0-.07 0-.1.01A5 5 0 002 7c0 .11.01.22.02.33A3.51 3.51 0 000 10.5C0 12.43 1.57 14 3.5 14H12c2.21 0 4-1.79 4-4s-1.79-4-4-4z"],Xe=["M11 11c-.28 0-.53.11-.71.29L9 12.59V8c0-.55-.45-1-1-1s-1 .45-1 1v4.59L5.71 11.3A.965.965 0 005 11a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 0011 11zm1-7c-.03 0-.07 0-.1.01A5 5 0 002 5c0 .11.01.22.02.33A3.51 3.51 0 000 8.5c0 1.41.84 2.61 2.03 3.17C2.2 10.17 3.46 9 5 9c.06 0 .13.02.19.02C5.07 8.7 5 8.36 5 8c0-1.66 1.34-3 3-3s3 1.34 3 3c0 .36-.07.7-.19 1.02.06 0 .13-.02.19-.02 1.48 0 2.7 1.07 2.95 2.47A3.964 3.964 0 0016 8c0-2.21-1.79-4-4-4z"],Ze=["M8.71 7.29C8.53 7.11 8.28 7 8 7s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L7 10.41V15c0 .55.45 1 1 1s1-.45 1-1v-4.59l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3zM12 4c-.03 0-.07 0-.1.01A5 5 0 002 5c0 .11.01.22.02.33a3.495 3.495 0 00.07 6.37c-.05-.23-.09-.46-.09-.7 0-.83.34-1.58.88-2.12l3-3a2.993 2.993 0 014.24 0l3 3c.54.54.88 1.29.88 2.12 0 .16-.02.32-.05.47C15.17 10.78 16 9.5 16 8c0-2.21-1.79-4-4-4z"],Qe=["M15.71 7.29l-3-3a1.003 1.003 0 00-1.42 1.42L13.59 8l-2.29 2.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM5 5a1.003 1.003 0 00-1.71-.71l-3 3C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L2.41 8 4.7 5.71c.19-.18.3-.43.3-.71zm4-3c-.48 0-.87.35-.96.81l-2 10c-.01.06-.04.12-.04.19 0 .55.45 1 1 1 .48 0 .87-.35.96-.81l2-10c.01-.06.04-.12.04-.19 0-.55-.45-1-1-1z"],Je=["M15 3h-2V2c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H7V2c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-8.29 8.29a1.003 1.003 0 01-1.42 1.42l-3-3C2.11 9.53 2 9.28 2 9s.11-.53.29-.71l3-3a1.003 1.003 0 011.42 1.42L4.41 9l2.3 2.29zm7-1.58l-3 3a1.003 1.003 0 01-1.42-1.42L11.59 9l-2.3-2.29a1.003 1.003 0 011.42-1.42l3 3c.18.18.29.43.29.71s-.11.53-.29.71z"],et=["M15.19 6.39h-1.85c-.11-.37-.27-.71-.45-1.04l1.36-1.36c.31-.31.31-.82 0-1.13l-1.13-1.13a.803.803 0 00-1.13 0l-1.36 1.36c-.33-.17-.67-.33-1.04-.44V.79c0-.44-.36-.8-.8-.8h-1.6c-.44 0-.8.36-.8.8v1.86c-.39.12-.75.28-1.1.47l-1.3-1.3c-.3-.3-.79-.3-1.09 0L1.82 2.91c-.3.3-.3.79 0 1.09l1.3 1.3c-.2.34-.36.7-.48 1.09H.79c-.44 0-.8.36-.8.8v1.6c0 .44.36.8.8.8h1.85c.11.37.27.71.45 1.04l-1.36 1.36c-.31.31-.31.82 0 1.13l1.13 1.13c.31.31.82.31 1.13 0l1.36-1.36c.33.18.67.33 1.04.44v1.86c0 .44.36.8.8.8h1.6c.44 0 .8-.36.8-.8v-1.86c.39-.12.75-.28 1.1-.47l1.3 1.3c.3.3.79.3 1.09 0l1.09-1.09c.3-.3.3-.79 0-1.09l-1.3-1.3c.19-.35.36-.71.48-1.1h1.85c.44 0 .8-.36.8-.8v-1.6a.816.816 0 00-.81-.79zm-7.2 4.6c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"],tt=["M7.29 6.71c.18.18.43.29.71.29s.53-.11.71-.29l4-4a1.003 1.003 0 00-1.42-1.42L8 4.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4zm1.42 2.58C8.53 9.11 8.28 9 8 9s-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L8 11.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4z"],nt=["M3.093 7c.017-.05.036-.1.058-.15.106-.248.225-.397.263-.436L7 2.828 11.172 7H3.093zM6.5 13c1 0 2.5-1 3-1.5l3.086-3.086L14 7l-1.414-1.414-4.172-4.172L7 0 5.586 1.414 2 5c-.5.5-1 1.5-1 2.5s.5 2 1 2.5l2 2c.5.5 1.5 1 2.5 1zm7-4l1.125 1.667c.238.353.375.666.375 1 0 .666-.375 1.333-1.5 1.333s-1.5-.667-1.5-1.333c0-.334.137-.647.375-1L13.5 9zM0 15a1 1 0 011-1h14a1 1 0 110 2H1a1 1 0 01-1-1z"],rt=["M15 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM4 13H2V3h2v10zm3 0H5V3h2v10zm7 0H8V3h6v10z"],ot=["M14 1H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h2v3a1.003 1.003 0 001.71.71L8.41 12H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM3.5 8C2.67 8 2 7.33 2 6.5S2.67 5 3.5 5 5 5.67 5 6.5 4.33 8 3.5 8zm4 0C6.67 8 6 7.33 6 6.5S6.67 5 7.5 5 9 5.67 9 6.5 8.33 8 7.5 8zm4 0c-.83 0-1.5-.67-1.5-1.5S10.67 5 11.5 5s1.5.67 1.5 1.5S12.33 8 11.5 8z"],it=["M7.99-.01c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1v-14c0-.55-.45-1-1-1zm-3 3h-4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm10 0h-4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm0 3h-4v-2h4v2zm0 3h-4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm0 3h-4v-2h4v2zm-10-3h-4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1z"],at=["M12 8c0 .14-.03.27-.08.39l-3 6.99c-.15.37-.51.62-.92.62s-.77-.25-.92-.61l-3-6.99a1.006 1.006 0 010-.79l3-6.99C7.23.25 7.59 0 8 0s.77.25.92.61l3 6.99c.05.13.08.26.08.4zM8 3.54L6.09 8h3.82L8 3.54z"],lt=["M15.93 5.63v-.02L13.94.63C13.78.26 13.42 0 13 0H3c-.42 0-.78.26-.93.63L.08 5.61l-.01.02C.03 5.74 0 5.87 0 6v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V6c0-.13-.03-.26-.07-.37zM9 2h3.32l1.2 3H9V2zM3.68 2H7v3H2.48l1.2-3zM14 14H2V7h5v2.59l-1.29-1.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3a1.003 1.003 0 00-1.42-1.42L9 9.59V7h5v7z"],st=["M8.7 4.29a.965.965 0 00-.71-.3 1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l5-5a1.003 1.003 0 00-1.42-1.42l-4.29 4.3L8.7 4.29zm5.22 3.01c.03.23.07.45.07.69 0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6c.81 0 1.59.17 2.3.46l1.5-1.5A7.998 7.998 0 00-.01 7.99c0 4.42 3.58 8 8 8s8-3.58 8-8c0-.83-.13-1.64-.36-2.39l-1.71 1.7z"],ct=["M15 15H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zM14 5H2v8h12V5zM4 6c.28 0 .53.11.71.29l2 2c.18.18.29.43.29.71s-.11.53-.29.71l-2 2a1.003 1.003 0 01-1.42-1.42L4.59 9l-1.3-1.29A1.003 1.003 0 014 6zm5 4h3c.55 0 1 .45 1 1s-.45 1-1 1H9c-.55 0-1-.45-1-1s.45-1 1-1z"],ut=["M15.2 6.4h-1.44c-.13-.47-.32-.92-.56-1.34L14.26 4c.31-.31.31-.82 0-1.13l-1.13-1.13a.803.803 0 00-1.13 0L10.94 2.8c-.42-.24-.86-.42-1.34-.56V.8c0-.44-.36-.8-.8-.8H7.2c-.44 0-.8.36-.8.8v1.44c-.5.14-.96.34-1.4.59l-1-1c-.3-.3-.79-.3-1.09 0L1.83 2.91c-.3.3-.3.79 0 1.09l1 1c-.25.44-.45.9-.59 1.4H.8c-.44 0-.8.36-.8.8v1.6c0 .44.36.8.8.8h1.44c.13.47.32.92.56 1.34L1.74 12c-.31.31-.31.82 0 1.13l1.13 1.13c.31.31.82.31 1.13 0l1.06-1.06c.42.24.86.42 1.34.56v1.44c0 .44.36.8.8.8h1.6c.44 0 .8-.36.8-.8v-1.44c.5-.14.96-.33 1.4-.59l1 1c.3.3.79.3 1.09 0l1.09-1.09c.3-.3.3-.79 0-1.09l-1-1c.25-.43.45-.9.59-1.4h1.44c.44 0 .8-.36.8-.8V7.2a.818.818 0 00-.81-.8zM8 12c-2.21 0-4-1.79-4-4s1.79-4 4-4v8z"],dt=["M13 8H8v5h5V8zm0-5H8v4h5V3zm2-3H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2V2h12v12zM7 3H3v10h4V3z"],ht=["M14.99 2.95h-14c-.55 0-1 .45-1 1v1h16v-1c0-.55-.45-1-1-1zm-15 10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-6h-16v6zm5.5-2h5c.28 0 .5.22.5.5s-.22.5-.5.5h-5c-.28 0-.5-.22-.5-.5s.23-.5.5-.5zm-3 0h1c.28 0 .5.22.5.5s-.22.5-.5.5h-1c-.28 0-.5-.22-.5-.5s.23-.5.5-.5z"],ft=["M9.41 8l3.29-3.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L8 6.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42L6.59 8 3.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L8 9.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L9.41 8z"],pt=["M8 16A8 8 0 108 0a8 8 0 000 16zm3.7-10.29L9.41 8l2.3 2.29A1.003 1.003 0 0111 12c-.28 0-.53-.11-.71-.3L8 9.41l-2.29 2.3A1.003 1.003 0 014 11c0-.28.11-.53.3-.71L6.59 8l-2.3-2.29a1.003 1.003 0 011.42-1.42L8 6.59l2.29-2.3A1.003 1.003 0 0112 5c0 .28-.11.53-.3.71z"],vt=["M2 6l3 2 3-4 3 4 3-2-1 6H3L2 6zm6-5a1 1 0 110 2 1 1 0 010-2zM1 3a1 1 0 110 2 1 1 0 010-2zm14 0a1 1 0 110 2 1 1 0 010-2zM3 13h10v2H3v-2z"],mt=["M14.194 3.54L8 7.41 1.806 3.54 7.504.283a1 1 0 01.992 0l5.698 3.255zm.75.71a1 1 0 01.056.33v6.84a1 1 0 01-.504.868L8.5 15.714V8.277l6.444-4.027zm-13.888 0L7.5 8.277v7.437l-5.996-3.426A1 1 0 011 11.42V4.58a1 1 0 01.056-.33z"],gt=["M14 2h1a1 1 0 010 2h-1v1a1 1 0 01-2 0V4h-1a1 1 0 010-2h1V1a1 1 0 012 0v1zM9.136.65a3.001 3.001 0 00.992 5.222c.018.058.038.115.059.172L8 7.41 1.806 3.54 7.504.283a1 1 0 01.992 0l.64.365zM15 7.235v4.184a1 1 0 01-.504.868L8.5 15.714V8.277l2.187-1.367A2.994 2.994 0 0013 8c.768 0 1.47-.289 2-.764zM1.056 4.25L7.5 8.277v7.437l-5.996-3.426A1 1 0 011 11.42V4.58a1 1 0 01.056-.33z"],yt=["M10.365 5.933L8 7.41 1.806 3.54 7.504.283a1 1 0 01.992 0l.64.365a3.001 3.001 0 001.228 5.283zM15 6v5.42a1 1 0 01-.504.868L8.5 15.714V8.277L12.143 6H15zM1.056 4.25L7.5 8.277v7.437l-5.996-3.426A1 1 0 011 11.42V4.58a1 1 0 01.056-.33zM11 2h4a1 1 0 010 2h-4a1 1 0 010-2z"],bt=["M15 12H3.12l1.81-1.39c1.73 1.01 5.53-.03 9.08-2.61l-1.22-1.5C10.3 8.3 7.86 9.37 6.65 9.29L14.3 3.4l-.6-.8-7.83 6.03c-.01-1.07 1.8-3.19 4.47-5.13L9.12 2C5.38 4.7 3.34 8.1 4.25 9.87L2 11.6V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],wt=["M13 2s.71-1.29 0-2L8.66 5.07l1.05 1.32L13 2zm.07 8c-.42 0-.82.09-1.18.26L3.31 0c-.69.71 0 2 0 2l3.68 5.02-2.77 3.24A2.996 2.996 0 000 13c0 1.66 1.34 3 3 3s3-1.34 3-3c0-.46-.11-.89-.29-1.27L8.1 8.54l2.33 3.19c-.18.39-.29.82-.29 1.27 0 1.66 1.31 3 2.93 3S16 14.66 16 13s-1.31-3-2.93-3zM3 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm10.07 0c-.54 0-.98-.45-.98-1s.44-1 .98-1 .98.45.98 1-.44 1-.98 1z"],_t=["M13 9a3 3 0 110 6 3 3 0 010-6zM3 9a3 3 0 110 6 3 3 0 010-6zm6.169-5.27l.087.09 1.51 1.746 1.589.549a1 1 0 01.65 1.16l-.032.112a1 1 0 01-1.159.65l-.112-.032-1.843-.636a1 1 0 01-.337-.198l-.092-.093-.959-1.109L7.041 7.5l1.691 1.819a1 1 0 01.26.556L9 10v3a1 1 0 01-1.993.117L7 13l-.001-2.608-2.056-2.211a1 1 0 01-.081-1.264l.082-.1 2.825-3.026a1 1 0 011.4-.061zM13 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm-10 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3zM11 1a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"],Et=["M5 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM4 7c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-2c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-2 6c0 1.1.9 2 2 2s2-.9 2-2c0-.53-2-5-2-5s-2 4.47-2 5zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm4-9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"],xt=["M1 9.52c.889.641 2.308 1.133 4.003 1.354L5 11a5.994 5.994 0 002.664 4.988c-.217.008-.44.012-.664.012-3.215 0-5.846-.85-5.993-1.906L1 14V9.52zM11 6c2.762 0 5 2.238 5 5s-2.238 5-5 5-5-2.238-5-5 2.238-5 5-5zm1 1l-4 5h2.5l-.5 3 4-5h-2.5l.5-3zm1-3.48v1.822a6.002 6.002 0 00-7.9 4.556l-.248-.03c-2.168-.28-3.733-.966-3.845-1.774L1 8V3.52C2.22 4.4 4.44 5 7 5s4.78-.6 6-1.48zM7 0c3.31 0 6 .9 6 2s-2.69 2-6 2c-3.32 0-6-.9-6-2s2.68-2 6-2z"],St=["M1.067 0C.477 0 0 .478 0 1.067V3.2c0 .59.478 1.067 1.067 1.067h2.24a5.342 5.342 0 002.9 3.734 5.337 5.337 0 00-2.9 3.733h-2.24C.477 11.733 0 12.21 0 12.8v2.133C0 15.523.478 16 1.067 16H6.4c.59 0 1.067-.478 1.067-1.067V12.8c0-.59-.478-1.067-1.067-1.067H4.401a4.27 4.27 0 013.92-3.194l.212-.006V9.6c0 .59.478 1.067 1.067 1.067h5.333c.59 0 1.067-.478 1.067-1.067V6.4c0-.59-.478-1.067-1.067-1.067H9.6c-.59 0-1.067.478-1.067 1.067v1.067a4.268 4.268 0 01-4.132-3.2H6.4c.59 0 1.067-.478 1.067-1.067V1.067C7.467.477 6.989 0 6.4 0H1.067z"],Ot=["M8 4c3.31 0 6-.9 6-2s-2.69-2-6-2C4.68 0 2 .9 2 2s2.68 2 6 2zm-6-.48V8c0 1.1 2.69 2 6 2s6-.9 6-2V3.52C12.78 4.4 10.56 5 8 5s-4.78-.6-6-1.48zm0 6V14c0 1.1 2.69 2 6 2s6-.9 6-2V9.52C12.78 10.4 10.56 11 8 11s-4.78-.6-6-1.48z"],Ct=["M11.99 4.99a1.003 1.003 0 00-1.71-.71l-2.29 2.3L5.7 4.29a.965.965 0 00-.71-.3 1.003 1.003 0 00-.71 1.71l2.29 2.29-2.29 2.29A1.003 1.003 0 005.7 11.7l2.29-2.29 2.29 2.29a1.003 1.003 0 001.42-1.42L9.41 7.99 11.7 5.7c.18-.18.29-.43.29-.71zm-4-5c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.68 6-6 6z"],Mt=["M8 0L0 16h16L8 0zM7 5l5 10H2L7 5z"],zt=["M6.08 6.67h-.84c.24-.92.56-1.6.96-2.03.24-.27.48-.4.71-.4.05 0 .08.01.11.04s.04.06.04.1c0 .04-.03.11-.1.21-.06.1-.1.2-.1.29 0 .13.05.24.15.33.1.09.23.14.39.14.17 0 .31-.06.42-.17A.58.58 0 008 4.73c0-.22-.09-.39-.26-.53-.17-.13-.44-.2-.81-.2-.59 0-1.12.16-1.59.48-.48.32-.93.85-1.36 1.59-.15.26-.29.42-.42.49s-.35.11-.64.1l-.19.65h.81l-1.19 4.37c-.2.72-.33 1.16-.4 1.33-.1.24-.26.45-.46.62-.08.07-.18.1-.3.1-.03 0-.06-.01-.08-.03l-.03-.04c0-.02.03-.06.09-.11.06-.06.09-.14.09-.26 0-.13-.05-.23-.14-.32a.6.6 0 00-.4-.13c-.21 0-.38.05-.51.16s-.21.25-.21.4c0 .16.08.3.23.42.16.12.4.18.74.18.53 0 .99-.13 1.4-.39.41-.26.76-.65 1.07-1.19.3-.54.62-1.4.94-2.59l.68-2.53h.82l.2-.63zM15 0H8c-.55 0-1 .45-1 1v2h2V2h5v12H9v-1H7v2c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM8.3 9.94c.18.52.33.89.46 1.13.13.24.28.4.44.51.17.1.37.16.62.16.24 0 .49-.08.74-.25.33-.21.66-.58 1.01-1.09l-.21-.11c-.23.31-.41.5-.52.57a.44.44 0 01-.26.07c-.12 0-.24-.07-.36-.21-.2-.24-.46-.91-.8-2 .3-.49.55-.81.75-.96.15-.11.3-.16.47-.16.06 0 .17.02.34.06.16.04.31.06.43.06.17 0 .31-.06.43-.17.1-.11.16-.25.16-.43 0-.19-.06-.33-.17-.44-.12-.11-.28-.16-.49-.16-.19 0-.37.04-.54.13-.17.09-.39.27-.65.56-.2.21-.48.58-.87 1.11-.15-.66-.41-1.26-.78-1.81l-2.05.33-.04.21c.15-.03.28-.04.39-.04.2 0 .37.08.5.25.21.26.5 1.03.88 2.33-.29.37-.49.61-.6.72-.18.18-.33.3-.44.36-.09.04-.19.07-.3.07-.09 0-.23-.04-.42-.13a.866.866 0 00-.36-.09c-.2 0-.36.06-.49.18a.59.59 0 00-.19.46c0 .17.06.32.18.43.12.11.28.16.48.16.2 0 .38-.04.55-.11.17-.08.39-.24.65-.49.24-.27.6-.66 1.06-1.21z"],Pt=["M15 0H1C.45 0 0 .45 0 1v10c0 .55.45 1 1 1h4.75l-.5 2H4c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1h-1.25l-.5-2H15c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 10H2V2h12v8z"],Tt=["M1 0a1 1 0 00-1 1v4a1 1 0 002 0V2h3a1 1 0 000-2H1zM0 15a1 1 0 001 1h4a1 1 0 100-2H2v-3a1 1 0 10-2 0v4zM15 16a1 1 0 001-1v-4a1 1 0 10-2 0v3h-3a1 1 0 100 2h4zM16 1a1 1 0 00-1-1h-4a1 1 0 100 2h3v3a1 1 0 102 0V1z","M4 5a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1V5zm2 5V6h4v4H6z"],At=["M3.2 1a1 1 0 01.117 1.993L3.2 3H3v3a2 2 0 001.85 1.995L5 8a2 2 0 001.995-1.85L7 6V3h-.2a1 1 0 01-.993-.883L5.8 2a1 1 0 01.883-.993L6.8 1H8a1 1 0 01.993.883L9 2v4a4.002 4.002 0 01-3.007 3.876v.007L6 10a3 3 0 005.995.176L12 10V7.792a2.5 2.5 0 112 0V10a5 5 0 01-10 0c0-.042.003-.084.008-.125A4 4 0 011.005 6.2L1 6V2a1 1 0 01.883-.993L2 1h1.2z"],Lt=["M15 8v3h-2V9H9v2H7V9H3v2H1V8a1 1 0 011-1h5V5h2v2h5a1 1 0 011 1zM1 12h2a1 1 0 011 1v2a1 1 0 01-1 1H1a1 1 0 01-1-1v-2a1 1 0 011-1zm12 0h2a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2a1 1 0 011-1zm-6 0h2a1 1 0 011 1v2a1 1 0 01-1 1H7a1 1 0 01-1-1v-2a1 1 0 011-1zM7 0h2a1 1 0 011 1v2a1 1 0 01-1 1H7a1 1 0 01-1-1V1a1 1 0 011-1z"],kt=["M16 1.99l-16 6 16 6-4-6z"],Nt=["M16 7.99l-16-6 4 6-4 6z"],It=["M7.99-.01c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-6 8c0-3.31 2.69-6 6-6 1.3 0 2.49.42 3.47 1.12l-8.35 8.35c-.7-.98-1.12-2.17-1.12-3.47zm6 6c-1.3 0-2.49-.42-3.47-1.12l8.35-8.35c.7.98 1.12 2.17 1.12 3.47 0 3.32-2.68 6-6 6z"],Rt=["M9 5a1 1 0 11-2 0 1 1 0 012 0zM5 7c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H5zm3 5a1 1 0 100-2 1 1 0 000 2z"],Ht=["M9 0H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5L9 0zm3 14H4V2h4v4h4v8z"],Vt=["M6 12c0 .55.45 1 1 1s1-.45 1-1V8c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1h1.59L1.3 12.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L6 10.41V12zm4-12H4c-.55 0-1 .45-1 1v4h2V2h4v4h4v8H5.24l-1.8 1.8c.16.12.35.2.56.2h10c.55 0 1-.45 1-1V5l-5-5z"],Dt=["M10 14H2V2h4v4h1c0-.83.36-1.55.91-2.09l-.03-.03.9-.9C8.3 2.45 8 1.77 8 1L7 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V8.22c-.53.48-1.23.78-2 .78v5zm5-14h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59l-3.3 3.29a1.003 1.003 0 001.42 1.42L14 3.41V5c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],jt=["M12.83 9.51c-.1-.3-.25-.58-.45-.84s-.45-.49-.75-.7c-.3-.2-.65-.36-1.05-.48-.16-.04-.43-.11-.8-.2-.35-.09-.73-.18-1.12-.28-.39-.1-.74-.19-1.06-.27-.31-.08-.49-.12-.54-.13-.43-.12-.78-.29-1.05-.52-.27-.23-.4-.55-.4-.95 0-.29.07-.53.21-.72.14-.19.32-.34.54-.46.22-.11.46-.19.72-.24.26-.05.52-.08.77-.08.74 0 1.35.15 1.83.46.48.3.75.83.81 1.56h2.14c0-.6-.13-1.13-.38-1.58-.25-.45-.59-.84-1.02-1.15-.43-.31-.93-.54-1.49-.7-.24-.06-.49-.1-.75-.14V1c0-.55-.45-1-1-1s-1 .45-1 1v1.08c-.23.03-.46.07-.68.13-.54.13-1.02.34-1.44.61-.42.28-.76.63-1.02 1.05-.26.43-.39.93-.39 1.5 0 .3.04.59.13.88.09.29.23.56.44.82.21.26.48.49.83.7.35.21.79.38 1.31.51.85.21 1.56.38 2.14.52.58.13 1.08.28 1.52.42.25.09.48.23.69.44.21.21.32.53.32.97 0 .21-.05.42-.14.63-.09.21-.24.39-.45.55-.21.16-.47.29-.81.39-.33.1-.73.15-1.2.15-.43 0-.84-.05-1.21-.14-.37-.09-.7-.24-.99-.43-.29-.2-.51-.45-.67-.76-.16-.31-.24-.68-.24-1.12H3c.01.71.15 1.32.43 1.84.27.52.64.94 1.1 1.27.46.33.99.58 1.61.74.27.07.56.12.85.16V15c0 .55.45 1 1 1s1-.45 1-1v-1.05c.3-.03.61-.08.9-.15.58-.13 1.1-.34 1.56-.63.46-.29.83-.66 1.11-1.11.28-.45.42-1 .42-1.64 0-.31-.05-.61-.15-.91z"],Ft=["M8 5a3 3 0 100 6 3 3 0 100-6z"],Bt=["M13.71 7.29l-3-3A1.003 1.003 0 009 5v6a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM6 4c-.28 0-.53.11-.71.29l-3 3C2.11 7.47 2 7.72 2 8c0 .28.11.53.29.71l3 3A1.003 1.003 0 007 11V5c0-.55-.45-1-1-1z"],Ut=["M5 7h6a1.003 1.003 0 00.71-1.71l-3-3C8.53 2.11 8.28 2 8 2s-.53.11-.71.29l-3 3A1.003 1.003 0 005 7zm6 2H5a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 0011 9z"],Gt=["M7.29 8.71c.18.18.43.29.71.29s.53-.11.71-.29l4-4a1.003 1.003 0 00-1.42-1.42L8 6.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4zM12 8c-.28 0-.53.11-.71.29L8 11.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4c.18.18.43.29.71.29s.53-.11.71-.29l4-4A1.003 1.003 0 0012 8z"],qt=["M4.41 8L7.7 4.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C2.11 7.47 2 7.72 2 8c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L4.41 8zm5 0l3.29-3.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C7.11 7.47 7 7.72 7 8c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L9.41 8z"],Wt=["M9 8c0-.28-.11-.53-.29-.71l-4-4a1.003 1.003 0 00-1.42 1.42L6.59 8 3.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4C8.89 8.53 9 8.28 9 8zm4.71-.71l-4-4a1.003 1.003 0 00-1.42 1.42L11.59 8 8.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Kt=["M4 8c.28 0 .53-.11.71-.29L8 4.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4C8.53 2.11 8.28 2 8 2s-.53.11-.71.29l-4 4A1.003 1.003 0 004 8zm4.71-.71C8.53 7.11 8.28 7 8 7s-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L8 9.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4z"],$t=["M11.86 7h4.05C15.45 3.39 12.61.52 9 .07v4.07A4 4 0 0111.86 7zM12 8c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4V0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8h-4z"],Yt=["M7.99-.01c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zM11.7 9.7l-3 3c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-3-3A1.003 1.003 0 015.7 8.28l1.29 1.29V3.99c0-.55.45-1 1-1s1 .45 1 1v5.59l1.29-1.29a1.003 1.003 0 011.71.71c0 .27-.11.52-.29.7z"],Xt=["M2 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm8-2c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-4-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"],Zt=["M6 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-6c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zM6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4 8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"],Qt=["M14.9 11c-.3 0-.5.1-.7.3l-3 3c-.2.2-.3.4-.3.7 0 .6.5 1 1 1 .3 0 .5-.1.7-.3l3-3c.2-.2.3-.4.3-.7 0-.5-.4-1-1-1zm-1-1v-.2l-1-5c-.1-.3-.3-.6-.6-.7l-11-4-.3.3 5.8 5.8c.2-.1.4-.2.6-.2.8 0 1.5.7 1.5 1.5S8.3 9 7.4 9s-1.5-.7-1.5-1.5c0-.2.1-.4.2-.6L.3 1.1l-.3.3 4 11c.1.3.4.6.7.6l5 1h.2c.3 0 .5-.1.7-.3l3-3c.2-.2.3-.4.3-.7z"],Jt=["M7 0a1 1 0 011 1v14a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h6zM6 2H2v12h4V2zm2 5h4.59L11.3 5.71A.965.965 0 0111 5a1.003 1.003 0 011.71-.71l3 3c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-3 3a1.003 1.003 0 01-1.42-1.42L12.59 9H8V7z"],en=["M1 0h6a1 1 0 011 1v14a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1zm7 7h4.59L11.3 5.71A.965.965 0 0111 5a1.003 1.003 0 011.71-.71l3 3c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-3 3a1.003 1.003 0 01-1.42-1.42L12.59 9H8V7z"],tn=["M15 0a1 1 0 011 1v14a1 1 0 01-1 1H9a1 1 0 01-1-1V1a1 1 0 011-1h6zm-1 2h-4v12h4V2zM8 7H3.41L4.7 5.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L3.41 9H8V7z"],nn=["M9 0h6a1 1 0 011 1v14a1 1 0 01-1 1H9a1 1 0 01-1-1V1a1 1 0 011-1zM8 7H3.41L4.7 5.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L3.41 9H8V7z"],rn=["M15.12 4.76h-1.05l-.76-2.12c-.19-.53-.76-1.08-1.27-1.24 0 0-1.32-.4-4.04-.4-2.72 0-4.04.4-4.04.4-.5.16-1.07.71-1.26 1.24l-.77 2.12H.88c-.48 0-.88.42-.88.94s.4.94.88.94h.38L1 7c-.03.69 0 1.44 0 2v5c0 .66.38 1 1 1s1-.34 1-1v-1h10v1c0 .66.38 1 1 1s1-.34 1-1V9c0-.56-.01-1.37 0-2l-.26-.37h.38c.48 0 .88-.42.88-.93 0-.52-.4-.94-.88-.94zM5 10H3V8h2v2zm8 0h-2V8h2v2zm0-4H3c-.18 0-.06-.82 0-1l.73-1.63C3.79 3.19 3.82 3 4 3h8c.18 0 .21.19.27.37L13 5c.06.18.18 1 0 1z"],on=["M15 0H5c-.55 0-1 .45-1 1v2h2V2h8v7h-1v2h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-4 4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-1 10H2V6h8v8z"],an=["M3.25 10.26l2.47 2.47 6.69-6.69-2.46-2.48-6.7 6.7zM.99 14.99l3.86-1.39-2.46-2.44-1.4 3.83zm12.25-14c-.48 0-.92.2-1.24.51l-1.44 1.44 2.47 2.47 1.44-1.44c.32-.32.51-.75.51-1.24.01-.95-.77-1.74-1.74-1.74z"],ln=["M4 9h8a1.003 1.003 0 00.71-1.71l-4-4C8.53 3.11 8.28 3 8 3s-.53.11-.71.29l-4 4A1.003 1.003 0 004 9zm8 1H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1z"],sn=["M8 0a8 8 0 110 16A8 8 0 018 0zm0 1a7 7 0 100 14A7 7 0 008 1zM4 8c.228 2.262 2 4 4 4 1.938 0 3.77-1.738 3.984-3.8L12 8h1c-.128 2.888-2.317 5-5 5a5 5 0 01-4.995-4.783L3 8h1zm2-3a1 1 0 110 2 1 1 0 010-2zm4 0a1 1 0 110 2 1 1 0 010-2z"],cn=["M15.86 7.5l-.81-1.42V4.5c0-.36-.19-.68-.49-.87l-1.37-.8-.81-1.41c-.19-.31-.51-.49-.86-.49H9.89L8.5.14a.948.948 0 00-1 0l-1.39.8H4.52a1 1 0 00-.86.49l-.8 1.37-1.44.83c-.3.19-.49.51-.49.87v1.65l-.8 1.37c-.08.15-.13.32-.13.49s.05.34.14.49l.8 1.37v1.65c0 .36.19.68.49.87l1.42.81.8 1.37c.19.31.51.49.86.49H6.1l1.39.8c.15.09.32.14.48.14s.34-.05.49-.14l1.39-.8h1.63a1 1 0 00.86-.49l.81-1.41 1.37-.8c.3-.19.49-.51.49-.87V9.93l.81-1.42a.89.89 0 00.04-1.01zm-4.12-.82l-4.01 4.01c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-2-2c-.18-.19-.3-.44-.3-.71a1.003 1.003 0 011.71-.71l1.3 1.3 3.3-3.3a1.003 1.003 0 011.71.71.95.95 0 01-.29.7z"],un=["M0 3.06v9.88L4.94 8 0 3.06zM14.94 2H1.06L8 8.94 14.94 2zm-6.41 8.53c-.14.14-.32.22-.53.22s-.39-.08-.53-.22L6 9.06 1.06 14h13.88L10 9.06l-1.47 1.47zM11.06 8L16 12.94V3.06L11.06 8z"],dn=["M3 5h10a1 1 0 010 2H3a1 1 0 110-2zm0 4h10a1 1 0 010 2H3a1 1 0 010-2z"],hn=["M8.06 13.91l7.63-7.44c.41-.4.41-1.05 0-1.45L10.86.3c-.41-.4-1.08-.4-1.49 0L.31 9.13c-.41.4-.41 1.05 0 1.45l5.58 5.44h8.12v-.01c.55 0 1-.45 1-1s-.45-1-1-1H7.96l.1-.1zm-2.17.06L1.67 9.85l4.22-4.11 4.22 4.11-4.22 4.12z"],fn=["M7.99-.01c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm1 13h-2v-2h2v2zm0-3h-2v-7h2v7z"],pn=["M6.52 3.18c.51-.27 1.12-.4 1.83-.4.48 0 .91.06 1.27.18.37.12.68.29.96.51.18.14.3.33.44.51l1.53-1.53c-.12-.11-.23-.22-.36-.32a5.61 5.61 0 00-1.74-.83c-.66-.2-1.36-.3-2.1-.3-.99 0-1.88.18-2.66.53-.79.35-1.45.82-2 1.41-.55.58-.96 1.27-1.26 2.06H2c-.55 0-1 .45-1 1s.45 1 1 1h.04c-.01.17-.04.33-.04.5 0 .17.03.33.04.5H2c-.55 0-1 .45-1 1s.45 1 1 1h.43c0 .01 0 .02.01.02a6.2 6.2 0 001.25 2.07 5.77 5.77 0 002 1.4c.78.34 1.67.51 2.66.51.81 0 1.54-.12 2.21-.36.67-.24 1.25-.59 1.75-1.03l.03-.03-1.55-1.33c-.01.01-.02.03-.03.04-.29.3-.63.53-1.02.69-.4.17-.85.25-1.37.25-.71 0-1.32-.13-1.83-.4s-.93-.62-1.25-1.07c-.19-.24-.34-.49-.46-.76H9c.55 0 1-.45 1-1s-.45-1-1-1H4.35c-.01-.17-.03-.33-.03-.5 0-.17.02-.34.03-.5H10c.55 0 1-.45 1-1s-.45-1-1-1H4.83c.13-.27.27-.52.44-.76.32-.44.74-.8 1.25-1.06zM14 8.98v0z"],vn=["M1.99 5.99c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.89-2-2-2zm4.15 1.86a.495.495 0 10.7-.7L5.7 5.99h5.79c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H5.7l1.15-1.15a.495.495 0 10-.7-.7l-2 2c-.1.09-.16.21-.16.35s.06.26.15.35l2 2.01zm7.85-1.86c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.89-2-2-2zM9.85 8.14a.533.533 0 00-.36-.15.495.495 0 00-.35.85l1.15 1.15h-5.8c-.28 0-.5.22-.5.5s.22.5.5.5h5.79l-1.15 1.15a.495.495 0 10.7.7l2-2c.09-.09.15-.22.15-.35s-.06-.26-.15-.35l-1.98-2z"],mn=["M0 10a1.003 1.003 0 001.71.71L3 9.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L4.41 8 5.7 6.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L3 6.59l-1.29-1.3A1.003 1.003 0 00.29 6.71L1.59 8 .29 9.29C.11 9.47 0 9.72 0 10zm1-7h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 10H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm-1-7H9c-1.1 0-2 .9-2 2s.9 2 2 2h5c1.1 0 2-.9 2-2s-.9-2-2-2z"],gn=["M4 7c.28 0 .53-.11.71-.29L8 3.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4C8.53 1.11 8.28 1 8 1s-.53.11-.71.29l-4 4A1.003 1.003 0 004 7zm8 2c-.28 0-.53.11-.71.29L8 12.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4c.18.18.43.29.71.29s.53-.11.71-.29l4-4A1.003 1.003 0 0012 9z"],yn=["M4 6c.28 0 .53-.11.71-.29L7 3.41V11c0 .55.45 1 1 1s1-.45 1-1V3.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4C8.53.11 8.28 0 8 0s-.53.11-.71.29l-4 4A1.003 1.003 0 004 6zm11 5c-.55 0-1 .45-1 1v2H2v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1z"],bn=["M16 7.97v-.02-.01-.02-.02a.672.672 0 00-.17-.36c-.49-.63-1.07-1.2-1.65-1.72l-3.16 2.26a2.978 2.978 0 01-2.98 2.9c-.31 0-.6-.06-.88-.15L5.09 12.3c.44.19.9.36 1.37.47.97.23 1.94.24 2.92.05.88-.17 1.74-.54 2.53-.98 1.25-.7 2.39-1.67 3.38-2.75.18-.2.37-.41.53-.62.09-.1.15-.22.17-.36v-.02-.02-.01-.02-.03c.01-.02.01-.03.01-.04zm-.43-4.17c.25-.18.43-.46.43-.8 0-.55-.45-1-1-1-.22 0-.41.08-.57.2l-.01-.01-2.67 1.91c-.69-.38-1.41-.69-2.17-.87a6.8 6.8 0 00-2.91-.05c-.88.18-1.74.54-2.53.99-1.25.7-2.39 1.67-3.38 2.75-.18.2-.37.41-.53.62-.23.29-.23.63-.01.92.51.66 1.11 1.25 1.73 1.79.18.16.38.29.56.44l-2.09 1.5.01.01c-.25.18-.43.46-.43.8 0 .55.45 1 1 1 .22 0 .41-.08.57-.2l.01.01 14-10-.01-.01zm-10.41 5a3.03 3.03 0 01-.11-.8 2.99 2.99 0 012.99-2.98c.62 0 1.19.21 1.66.53L5.16 8.8z"],wn=["M10.29 6.7c.18.18.43.29.71.29s.53-.11.71-.29l4-4c.17-.18.29-.43.29-.7a1.003 1.003 0 00-1.71-.71L11 4.58 9.71 3.29A.997.997 0 009 3c-.55 0-1 .44-1 1a1 1 0 00.3.7l1.99 2zM16 7.96v-.02-.01-.02-.02a.64.64 0 00-.17-.36c-.3-.4-.65-.76-1-1.12l-1.7 1.7c-.55.55-1.3.88-2.13.88-.06 0-.11-.01-.17-.02C10.42 10.15 9.32 11 8.01 11A3.005 3.005 0 016.4 5.46c-.24-.43-.39-.93-.39-1.46 0-.26.04-.5.1-.74-.7.2-1.37.5-2.01.86-1.26.7-2.4 1.68-3.4 2.77-.18.21-.36.41-.53.63-.22.29-.22.64 0 .93.51.67 1.12 1.27 1.73 1.81 1.33 1.17 2.85 2.15 4.53 2.55.97.23 1.95.24 2.92.05.89-.18 1.74-.54 2.54-.99 1.25-.71 2.4-1.69 3.39-2.78.18-.2.37-.41.54-.63.09-.1.15-.23.17-.37v-.02-.02-.01-.02-.03c.01-.01.01-.02.01-.03zM8.01 9c.48 0 .87-.35.96-.81a.55.55 0 01-.07-.09l-.02.01L7.8 7.03c-.45.1-.79.48-.79.96 0 .56.45 1.01 1 1.01z"],_n=["M8.002 7.003a1.003 1.003 0 000 2.005 1.003 1.003 0 000-2.005zm7.988.972v-.02-.01-.02-.02a.675.675 0 00-.17-.36c-.509-.673-1.118-1.264-1.737-1.806-1.328-1.173-2.846-2.155-4.523-2.546a6.702 6.702 0 00-2.925-.06c-.889.18-1.738.541-2.546.992C2.84 4.837 1.692 5.81.694 6.902c-.18.211-.36.411-.53.632a.742.742 0 000 .932c.51.672 1.119 1.264 1.738 1.805 1.328 1.173 2.846 2.156 4.523 2.547.968.23 1.947.24 2.925.04.889-.18 1.738-.542 2.546-.993 1.248-.712 2.397-1.684 3.395-2.777.18-.2.37-.411.54-.632.09-.1.149-.23.169-.36v-.02-.02-.01-.02-.03c0-.01-.01-.01-.01-.02zm-7.988 3.038a2.998 2.998 0 01-2.995-3.008 2.998 2.998 0 012.995-3.008 2.998 2.998 0 012.996 3.008 2.998 2.998 0 01-2.996 3.008z"],En=["M14 3c-.24 0-.44.09-.62.23l-.01-.01L9 6.72V4c0-.55-.45-1-1-1-.24 0-.44.09-.62.23v-.01l-5 4 .01.01C2.16 7.41 2 7.68 2 8s.16.59.38.77v.01l5 4 .01-.01c.17.14.37.23.61.23.55 0 1-.45 1-1V9.28l4.38 3.5.01-.01c.17.14.37.23.61.23.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],xn=["M15 8c0-.32-.16-.59-.38-.77l.01-.01-5-4-.01.01A.987.987 0 009 3c-.55 0-1 .45-1 1v2.72l-4.38-3.5v.01A.987.987 0 003 3c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1 .24 0 .44-.09.62-.23l.01.01L8 9.28V12c0 .55.45 1 1 1 .24 0 .44-.09.62-.23l.01.01 5-4-.01-.01c.22-.18.38-.45.38-.77z"],Sn=["M1.99 11.99c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.89-2-2-2zm1-4c-.55 0-1 .45-1 1s.45 1 1 1c1.66 0 3 1.34 3 3 0 .55.45 1 1 1s1-.45 1-1c0-2.76-2.24-5-5-5zm0-4c-.55 0-1 .45-1 1s.45 1 1 1c3.87 0 7 3.13 7 7 0 .55.45 1 1 1s1-.45 1-1a9 9 0 00-9-9zm0-4c-.55 0-1 .45-1 1s.45 1 1 1c6.08 0 11 4.92 11 11 0 .55.45 1 1 1s1-.45 1-1c0-7.18-5.82-13-13-13z"],On=["M3 2c1.06 0 2.08.16 3.06.45.13-.71.52-1.32 1.05-1.76C5.82.25 4.44 0 3 0c-.55 0-1 .45-1 1s.45 1 1 1zM2 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm8.32-6.33a.99.99 0 001.4 0l3.98-3.98c.19-.18.3-.42.3-.7 0-.55-.45-.99-1-.99-.28 0-.52.11-.7.29l-3.28 3.28-1.29-1.29a.99.99 0 00-.7-.29 1 1 0 00-1 .99c0 .27.11.52.29.7l2 1.99zm3.73.53l-.93.93-.02-.02c-.17.17-.35.33-.56.45C13.47 9.16 14 11.02 14 13c0 .55.45 1 1 1s1-.45 1-1c0-2.5-.73-4.82-1.95-6.8zM3 8c-.55 0-1 .45-1 1s.45 1 1 1c1.66 0 3 1.34 3 3 0 .55.45 1 1 1s1-.45 1-1c0-2.76-2.24-5-5-5zm5.91-.91l-.03.03-2-2 .03-.03c-.11-.11-.23-.2-.33-.33A8.9 8.9 0 003 4c-.55 0-1 .45-1 1s.45 1 1 1c3.87 0 7 3.13 7 7 0 .55.45 1 1 1s1-.45 1-1c0-1.87-.57-3.61-1.55-5.06-.61-.11-1.13-.42-1.54-.85z"],Cn=["M15 1h-5v2H6V1H1c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h5v-2h4v2h5c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM4 13H2v-2h2v2zm0-3H2V8h2v2zm0-3H2V5h2v2zm0-3H2V2h2v2zm6 6H6V5h4v5zm4 3h-2v-2h2v2zm0-3h-2V8h2v2zm0-3h-2V5h2v2zm0-3h-2V2h2v2z"],Mn=["M13.99.99h-12a1.003 1.003 0 00-.71 1.71l4.71 4.71V14a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71V7.41L14.7 2.7a1.003 1.003 0 00-.71-1.71z"],zn=["M15 10c-.28 0-.53.11-.71.29L12 12.59l-1.29-1.29A.965.965 0 0010 11a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 0015 10zm-3-8c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L4 6.41V12a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71V6.41l3.71-3.71c.18-.17.29-.42.29-.7z"],Pn=["M9 8c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1h-5c-.55 0-1 .45-1 1zm3-6c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L4 6.41V12a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71V6.41l3.71-3.71c.18-.17.29-.42.29-.7zm3 8h-5c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm0 3h-5c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1z"],Tn=["M15.707 10.293a1 1 0 010 1.414l-3 3c-.63.63-1.707.184-1.707-.707V8c0-.89 1.077-1.337 1.707-.707l3 3zM12 2c0 .28-.11.53-.29.7L8 6.41V10c0 .28-.11.53-.29.71l-2 2A1.003 1.003 0 014 12V6.41L.29 2.71A1.003 1.003 0 011 1h10c.55 0 1 .45 1 1z"],An=["M12 2c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L4 6.41V12a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71V6.41l3.71-3.71c.18-.17.29-.42.29-.7zm2.41 10l1.29-1.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L13 10.59 11.71 9.3A.965.965 0 0011 9a1.003 1.003 0 00-.71 1.71l1.3 1.29-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l1.29-1.3 1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L14.41 12z"],Ln=["M2.99 2.99c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1s1-.45 1-1v-11c0-.55-.45-1-1-1zm0-3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm2 3.03v7.23c2.07-2.11 5.92 1.75 9 0V3.02c-3 2.07-6.94-2.03-9 0z"],kn=["M9.217 0c0 1.368.368 2.462 1.104 3.282C12.774 5.197 14 7.385 14 9.846c0 2.735-1.472 4.786-4.415 6.154 2.165-2.4 1.84-3.385-.368-6.4-2.342 1.2-1.967 2-1.592 3.6-.786 0-1.5 0-1.875-.4 0 .547.898 2 1.464 3.2-2.943-.82-6.092-5.744-4.988-6.154.736-.273 1.594-.137 2.575.41C3.575 5.333 5.047 1.915 9.217 0z"],Nn=["M4 8c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1zm4-4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1S7 .45 7 1v2c0 .55.45 1 1 1zM3.79 5.21a1.003 1.003 0 001.42-1.42l-1.5-1.5a1.003 1.003 0 00-1.42 1.42l1.5 1.5zm.71 5.29c-.28 0-.53.11-.71.29l-1.5 1.5a1.003 1.003 0 001.42 1.42l1.5-1.5a1.003 1.003 0 00-.71-1.71zm7-5c.28 0 .53-.11.71-.29l1.5-1.5a1.003 1.003 0 00-1.42-1.42l-1.5 1.5a1.003 1.003 0 00.71 1.71zm.71 5.29a1.003 1.003 0 00-1.42 1.42l1.5 1.5a1.003 1.003 0 001.42-1.42l-1.5-1.5zM15 7h-2c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1s-.45-1-1-1zM8 5C6.34 5 5 6.34 5 8s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm0 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0 3c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1z"],In=["M1 5.326c.274 0 .541-.023.8-.069.259-.046.491-.122.697-.228a1.71 1.71 0 00.537-.412c.153-.167.252-.373.297-.617h1.063v8H2.966V6.354H1V5.326zM12.172 4.01c.55 0 .997.128 1.342.385.352.25.623.572.814.968.198.389.33.818.396 1.287.073.47.11.924.11 1.364 0 .44-.037.895-.11 1.364-.066.47-.198.902-.396 1.298-.19.389-.462.711-.814.968-.345.25-.792.374-1.342.374s-1.001-.125-1.353-.374a2.74 2.74 0 01-.814-.968 4.618 4.618 0 01-.396-1.298 9.795 9.795 0 01-.099-1.364c0-.44.033-.895.099-1.364.073-.47.205-.898.396-1.287.198-.396.47-.719.814-.968.352-.257.803-.385 1.353-.385zm0 6.963c.271 0 .499-.077.682-.231.183-.161.326-.374.429-.638.11-.271.187-.587.231-.946.044-.36.066-.74.066-1.144 0-.403-.022-.781-.066-1.133a3.724 3.724 0 00-.231-.946 1.51 1.51 0 00-.429-.638.995.995 0 00-.682-.242c-.279 0-.51.08-.693.242a1.656 1.656 0 00-.429.638 4.08 4.08 0 00-.22.946c-.044.352-.066.73-.066 1.133s.022.785.066 1.144c.044.36.117.675.22.946.11.264.253.477.429.638.183.154.414.231.693.231zM8.089 10.5H6.5v1.543h1.589V10.5z"],Rn=["M15.71 2.29l-2-2A.997.997 0 0013 0h-1v6H4V0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V3c0-.28-.11-.53-.29-.71zM14 15H2V9c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v6zM11 1H9v4h2V1z"],Hn=["M10.643 6.595c.22.418.344.894.344 1.399 0 .439-.094.855-.263 1.231l3.265 3.462-.002-1.75a.973.973 0 01.314-.68.99.99 0 011.388.048c.186.2.316.46.3.715l-.009 4.03a.959.959 0 01-.3.68.972.972 0 01-.698.266l-4.053.002a.97.97 0 01-.679-.314 1.031 1.031 0 01.05-1.42.972.972 0 01.698-.266l1.7-.001-3.305-3.35a2.998 2.998 0 01-4.228-1.653H.999a1 1 0 010-2h4.166a2.998 2.998 0 014.06-1.735l3.449-3.268-1.745.002a.979.979 0 01-.631-1.692c.199-.186.459-.316.713-.3l4.025.009c.247.008.493.1.679.3.186.2.274.451.265.7l.002 4.046a.972.972 0 01-.313.68 1.03 1.03 0 01-1.42-.05.973.973 0 01-.266-.7V3.295l-3.34 3.301z"],Vn=["M9.702 7.31c.176.176.293.41.293.684a.976.976 0 01-.283.695c-1.888 1.91-2.892 2.918-3.011 3.027-.179.164-.42.284-.693.284a.995.995 0 01-.997-.985c0-.274.112-.541.292-.72.12-.12.624-.551 1.514-1.293H.98c-.536 0-.975-.47-.975-1.008 0-.537.439-.996.975-.996h5.837c-.895-.752-1.4-1.187-1.514-1.304a1.03 1.03 0 01-.292-.705C5.01 4.45 5.464 4 6 4c.272 0 .52.108.695.294A535.7 535.7 0 009.702 7.31zM13 11.002c-1.657 0-3-1.347-3-3.008a3.004 3.004 0 013-3.007c1.657 0 3 1.346 3 3.007a3.004 3.004 0 01-3 3.008z"],Dn=["M4.16 9.002H.977C.44 9.002 0 8.532 0 7.994c0-.537.44-.99.978-.99h3.18A3.01 3.01 0 016.995 5a3.01 3.01 0 012.839 2.004h2.98c-.898-.756-1.404-1.193-1.518-1.31a1.03 1.03 0 01-.293-.705c0-.538.454-.989.992-.989.274 0 .521.108.697.294.118.124 1.122 1.13 3.014 3.016a.96.96 0 01.293.684.975.975 0 01-.284.695l-3.018 3.027a.974.974 0 01-.694.284c-.553 0-1-.447-1-.985 0-.274.117-.545.293-.72l1.518-1.293H9.833A3.01 3.01 0 016.996 11 3.01 3.01 0 014.16 9.002z"],jn=["M5.175 7.004a3.003 3.003 0 012.83-2.001c1.305 0 2.416.835 2.83 2.001h1.985c-.896-.756-1.401-1.193-1.515-1.31a1.03 1.03 0 01-.292-.705c0-.538.453-.989.99-.989a.95.95 0 01.696.294c.117.124 1.12 1.13 3.008 3.016.176.176.293.41.293.684a.976.976 0 01-.283.695l-3.013 3.027a.995.995 0 01-1.691-.702c0-.273.116-.544.292-.72l1.515-1.292h-1.98a3.003 3.003 0 01-2.835 2.016A3.003 3.003 0 015.17 9.002H3.18l1.515 1.292c.176.176.292.447.292.72a.995.995 0 01-1.69.702L.282 8.69A.976.976 0 010 7.994c0-.273.117-.508.293-.684A535.858 535.858 0 003.3 4.294.95.95 0 013.997 4c.537 0 .99.45.99.989 0 .273-.12.528-.292.705-.114.117-.62.554-1.515 1.31h1.995z"],Fn=["M10.392 10.647A3.002 3.002 0 016.16 8.995H3.37l1.338 1.318c.172.178.287.41.282.683-.01.536-.524.995-.99.995-.465 0-.63-.187-.747-.294L.281 8.682A.956.956 0 010 7.994a.971.971 0 01.294-.687l3.01-3.028a.973.973 0 01.697-.27c.536.01.998.485.989 1.021a.971.971 0 01-.295.687L3.37 6.997h2.79a3.002 3.002 0 014.106-1.716l2.416-2.277-1.732.004a.99.99 0 01-.679-.329.978.978 0 01.05-1.378c.199-.186.459-.315.714-.3l4.012.005c.248.009.493.1.68.3.185.2.273.45.264.699L15.99 6.05a.973.973 0 01-.314.679 1.03 1.03 0 01-1.421-.048.971.971 0 01-.265-.699V4.29L11.65 6.602c.219.416.343.89.343 1.394 0 .451-.1.88-.279 1.263L14 11.68l-.004-1.73a.982.982 0 01.323-.68.978.978 0 011.378.049c.187.2.316.46.3.714l-.004 4.011a.983.983 0 01-.3.691.972.972 0 01-.7.265l-4.046-.001a.987.987 0 01-.679-.326 1.017 1.017 0 01.048-1.41.972.972 0 01.699-.265h1.693l-2.315-2.35z"],Bn=["M13.5 6a2.5 2.5 0 00-2.45 2h-1.3L5.74 4l-.75.75L8.25 8h-3.3a2.5 2.5 0 100 1h3.3l-3.26 3.25.75.75 4.01-4h1.3a2.5 2.5 0 102.45-3z"],Un=["M-.01 14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V7h-16v7zm15-10H7.41L5.7 2.3a.965.965 0 00-.71-.3h-4c-.55 0-1 .45-1 1v3h16V5c0-.55-.45-1-1-1z"],Gn=["M10.165 7a3.003 3.003 0 002.827 2 3.003 3.003 0 002.827-2H16v7c0 .55-.45 1-1 1H1.01c-.55 0-1-.45-1-1V7h10.155zM8.76 6H0V3c0-.55.45-1 1-1h1.998c.28 0 .53.11.71.29L5.417 4h2.578c0 .768.29 1.469.765 2zm6.23-3c.55 0 1 .45 1 1s-.45 1-1 1h-.999v1c0 .55-.45 1-1 1-.549 0-.998-.45-.998-1V5h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V2c0-.55.45-1 .999-1 .55 0 1 .45 1 1v1h.999z"],qn=["M2.06 6.69c.14-.4.5-.69.94-.69h11V5c0-.55-.45-1-1-1H6.41l-1.7-1.71A.997.997 0 004 2H1c-.55 0-1 .45-1 1v9.84l2.05-6.15h.01zM16 8c0-.55-.45-1-1-1H4a.99.99 0 00-.94.69l-2 6c-.04.09-.06.2-.06.31 0 .55.45 1 1 1h11c.44 0 .81-.29.94-.69l2-6c.04-.09.06-.2.06-.31z"],Wn=["M8.76 5.98c-.47-.53-.77-1.22-.77-1.99h-.58L5.7 2.29a.965.965 0 00-.71-.3h-4c-.55 0-1 .45-1 1v3h8.76l.01-.01zm6.23-2.99h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59l-3.3 3.3a.99.99 0 00-.29.7 1.003 1.003 0 001.71.71l3.29-3.29V8c0 .55.45 1 1 1s1-.45 1-1V4c0-.56-.45-1.01-1-1.01zm-1.98 7.23l-.9.9-.01-.01c-.54.55-1.28.89-2.11.89-1.66 0-3-1.34-3-3 0-.77.3-1.47.78-2H-.01v7c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.18c-.31.11-.65.18-1 .18-.76-.01-1.45-.31-1.98-.78z"],Kn=["M13.02 10.22l-.9.9-.01-.01c-.54.55-1.28.89-2.11.89-1.66 0-3-1.34-3-3 0-.77.3-1.47.78-2H4a.99.99 0 00-.94.69l-2 6c-.04.09-.06.2-.06.31 0 .55.45 1 1 1h11c.44 0 .81-.29.94-.69l1.11-3.32c-.01 0-.03.01-.05.01-.77 0-1.45-.3-1.98-.78zM2.06 6.69c.14-.4.5-.69.94-.69h5.76l.01-.01C8.3 5.46 8 4.77 8 4H6.41l-1.7-1.71A.997.997 0 004 2H1c-.55 0-1 .45-1 1v9.84l2.05-6.15h.01zM15 3h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59l-3.3 3.29a1.003 1.003 0 001.42 1.42L14 6.41V8c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1z"],$n=["M9.37 12.69c-1.2-.53-1.04-.85-1.08-1.29-.01-.06-.01-.12-.01-.19.41-.37.75-.87.97-1.44 0 0 .01-.03.01-.04.05-.13.09-.26.12-.39.28-.06.44-.36.5-.63.06-.11.19-.39.16-.7-.04-.4-.2-.59-.38-.67v-.07c0-.52-.05-1.26-.14-1.74a2.72 2.72 0 00-.09-.43 3.02 3.02 0 00-1.04-1.51C7.87 3.2 7.15 3 6.5 3c-.64 0-1.36.2-1.87.59-.5.38-.87.92-1.05 1.51-.04.13-.07.27-.09.4-.09.49-.14 1.24-.14 1.75v.06c-.19.07-.36.26-.4.68-.03.31.1.59.16.7.06.28.23.59.51.64.04.14.08.27.13.39 0 .01.01.02.01.02v.01c.22.59.57 1.1.99 1.46 0 .06-.01.12-.01.17-.04.44.08.76-1.12 1.29-1.2.53-3.01 1.1-3.38 1.95C-.13 15.5.02 16 .02 16h12.96s.15-.5-.22-1.36c-.38-.85-2.19-1.42-3.39-1.95zm6.33-10.4l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H9.99c-.55 0-1 .45-1 1s.45 1 1 1h2.58l-.29.29a1.003 1.003 0 001.42 1.42l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Yn=["M9.37 12.69c-1.2-.53-1.04-.85-1.08-1.29-.01-.06-.01-.12-.01-.19.41-.37.75-.87.97-1.44 0 0 .01-.03.01-.04.05-.13.09-.26.12-.39.28-.06.44-.36.5-.63.06-.11.19-.39.16-.7-.04-.4-.2-.59-.38-.67v-.07c0-.52-.05-1.26-.14-1.74a2.72 2.72 0 00-.09-.43 3.02 3.02 0 00-1.04-1.51C7.87 3.2 7.15 3 6.5 3c-.64 0-1.36.2-1.87.59-.5.38-.87.92-1.05 1.51-.04.13-.07.27-.09.4-.09.49-.14 1.24-.14 1.75v.06c-.19.07-.36.26-.4.68-.03.31.1.59.16.7.06.28.23.59.51.64.04.14.08.27.13.39 0 .01.01.02.01.02v.01c.22.59.57 1.1.99 1.46 0 .06-.01.12-.01.17-.04.44.08.76-1.12 1.29-1.2.53-3.01 1.1-3.38 1.95C-.13 15.5.02 16 .02 16h12.96s.15-.5-.22-1.36c-.38-.85-2.19-1.42-3.39-1.95zM14.99 2h-2.58l.29-.29A1.003 1.003 0 0011.28.29l-2 2c-.17.18-.29.43-.29.71 0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L12.41 4h2.58c.55 0 1-.45 1-1s-.45-1-1-1z"],Xn=["M8 2a1 1 0 01.928.629l3.992 9.979a1 1 0 11-1.857.742l-.94-2.35H5.877l-.94 2.35a1 1 0 11-1.857-.742l3.992-9.98A1 1 0 018 2zM6.677 9h2.646L8 5.693 6.677 9z"],Zn=["M13.7 9.29a1.003 1.003 0 00-1.42 1.42l.29.29H11.4l-5-5h6.17l-.29.29a1.003 1.003 0 001.42 1.42l2-2c.18-.18.29-.43.29-.71s-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l.29.29H.99c-.55 0-1 .45-1 1s.45 1 1 1h2.59l6.71 6.71c.18.18.43.29.71.29h1.59l-.29.29a1.003 1.003 0 001.42 1.42l2-2c.18-.18.29-.43.29-.71s-.11-.53-.29-.71l-2.02-2z"],Qn=["M2 11v2h2v-2H2zM1 9h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1zm9-6h5c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1zM6 1a1.003 1.003 0 01.71 1.71l-3 4C3.53 6.89 3.28 7 3 7s-.53-.11-.71-.29l-2-2a1.003 1.003 0 011.42-1.42L3 4.59l2.29-3.3C5.47 1.11 5.72 1 6 1zm4 10h5c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1z"],Jn=["M1.949 1H0v2h2c.31 0 .6.161.762.426l1.965 3.193-1.352 1.08A1 1 0 003 8.482V13.9c0 .607.448 1.1 1 1.1h11c.552 0 1-.492 1-1.1V2s0-1-1-1H9c-.5 0-1 .5-1 1v2L6.388 5.29 4.455 2.35A3 3 0 001.95 1zM14 3v1h-4V3h4z"],er=["M8 0a8 8 0 100 16A8 8 0 108 0z"],tr=["M13 12h1c.55 0 1-.45 1-1V8h-3v3c0 .55.45 1 1 1zM10 2c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v3h3V2zm0 4H7v3h3V6zm5-4c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v2h3V2zm0 3h-3v2h3V5zM5 5H2v3h3V5zm-2 7h1c.55 0 1-.45 1-1V9H2v2c0 .55.45 1 1 1zm12 1H2c-.55 0-1 .45-1 1s.45 1 1 1h13c.55 0 1-.45 1-1s-.45-1-1-1zM5 2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v2h3V2zm3 10h1c.55 0 1-.45 1-1v-1H7v1c0 .55.45 1 1 1z"],nr=["M3.41 2H5c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v4c0 .55.45 1 1 1s1-.45 1-1V3.41L5.29 6.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L3.41 2zM6 9c-.28 0-.53.11-.71.29L2 12.59V11c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.41l3.29-3.29c.19-.18.3-.43.3-.71 0-.55-.45-1-1-1zm9 1c-.55 0-1 .45-1 1v1.59L10.71 9.3A.965.965 0 0010 9a1.003 1.003 0 00-.71 1.71l3.3 3.29H11c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1zm0-10h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59l-3.3 3.29a1.003 1.003 0 001.42 1.42L14 3.41V5c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],rr=["M8.12 4.74H6.98c.33-1.29.75-2.24 1.28-2.84.33-.37.64-.56.95-.56.06 0 .11.02.15.05.04.04.06.09.06.15 0 .05-.04.15-.13.29-.09.14-.13.28-.13.4 0 .18.07.33.2.46.14.13.31.19.52.19.22 0 .41-.08.56-.23.15-.16.23-.37.23-.63 0-.3-.11-.55-.34-.74C10.1 1.09 9.74 1 9.24 1c-.78 0-1.49.22-2.12.67-.64.45-1.24 1.2-1.81 2.23-.2.36-.38.59-.56.69-.18.1-.46.15-.85.15l-.26.9h1.08l-1.59 6.12c-.27 1.01-.44 1.63-.54 1.86-.14.34-.34.63-.62.87-.11.1-.24.15-.4.15a.15.15 0 01-.11-.04l-.04-.05c0-.03.04-.08.12-.16.08-.08.12-.2.12-.36 0-.18-.06-.33-.19-.44-.12-.12-.3-.18-.54-.18-.28 0-.51.08-.68.23-.16.14-.25.32-.25.53 0 .22.1.42.31.59.21.17.53.25.97.25.7 0 1.32-.18 1.87-.54.54-.36 1.02-.92 1.42-1.67.41-.75.82-1.96 1.25-3.63l.91-3.54h1.1l.29-.89zm5.43 1.52c.2-.15.41-.23.62-.23.08 0 .23.03.45.09s.41.09.57.09c.23 0 .42-.08.57-.23.16-.16.24-.36.24-.61 0-.26-.08-.47-.23-.62-.15-.15-.37-.23-.66-.23-.25 0-.5.06-.72.18-.23.12-.51.38-.86.78-.26.3-.64.81-1.15 1.55-.2-.91-.55-1.75-1.05-2.51l-2.72.46-.06.29c.2-.04.37-.06.51-.06.27 0 .49.11.67.34.28.36.67 1.45 1.17 3.26-.39.52-.66.85-.8 1.01-.24.26-.44.42-.59.5-.12.06-.25.09-.41.09-.11 0-.3-.06-.56-.18-.18-.08-.34-.12-.48-.12-.27 0-.48.08-.66.25-.17.17-.26.38-.26.64 0 .25.08.44.24.6.16.15.37.23.64.23.26 0 .5-.05.73-.16.23-.11.52-.34.86-.69.35-.35.82-.9 1.43-1.67.23.73.44 1.25.61 1.58s.37.57.59.71c.22.15.5.22.83.22.32 0 .65-.11.98-.34.44-.3.88-.81 1.34-1.53l-.26-.15c-.31.43-.54.7-.69.8-.1.07-.22.1-.35.1-.16 0-.32-.1-.48-.3-.27-.34-.62-1.27-1.06-2.8.4-.68.73-1.13 1-1.34z"],or=["M10 10c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1zM6 7c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1zm9 5H2V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM4 5h3c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1z"],ir=["M6 9c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1v-1.59l-3.29 3.3A1.003 1.003 0 010 15c0-.28.11-.53.3-.71L3.59 11H2c-.55 0-1-.45-1-1s.45-1 1-1zM9.088.004l.097.013.097.024.057.018.1.042.054.029.095.061.052.04 6 5 .05.046.076.08.053.07.06.095.051.11c.056.141.079.294.067.446l-.014.105-.037.143-.035.087-.043.083-4 7-.034.056-.059.08-.038.044-.096.092-.114.082-.116.062-.086.034-.109.03-.1.017-.069.006H8.83c.088-.25.144-.515.163-.79L9 13v-3a3 3 0 00-2.824-2.995L6 7H3c-.351 0-.689.06-1.002.171L2 5l.002-.07.013-.1.015-.073.025-.085.043-.104.056-.101.045-.066.079-.093.084-.078.083-.062 6-4 .07-.043.12-.056.111-.036.108-.022.083-.01h.031c.046-.002.083 0 .12.003z"],ar=["M-.01 6.66l7.34 2 2 7.33 6.66-16z"],lr=["M8.82 12.4h.66c.23 0 .36-.17.36-.4v-1.48l.19-.18c-.27.03-.55.06-.83.06-.28 0-.56-.03-.84-.07.02.04.05.08.07.13V12c0 .23.15.4.39.4zM6.4 15.1A5.51 5.51 0 01.9 9.6c0-.49.06-.98.18-1.43.03 0 .05-.01.08-.01h.08v.44c0 .19.17.34.36.34.03 0 .07-.01.1-.01l.71.7c.07.07.19.07.26 0s.07-.19 0-.26l-.7-.72c0-.02.03-.03.03-.05v-.11c0-.15.08-.2.23-.33h.42c.08 0 .15-.01.22-.04h.02c.02-.02.03-.02.04-.04.01-.01.01-.01.02-.01l.02-.01.9-.9c-.13-.26-.24-.52-.34-.8h-.5v-.43c0-.01.05.05.04-.08h.31c-.03-.13-.06-.26-.08-.39h-.57c.16-.12.34-.24.51-.36-.02-.23-.04-.46-.04-.7 0-.12.01-.23.02-.34A6.385 6.385 0 000 9.6C0 13.13 2.87 16 6.4 16c3.1 0 5.67-2.22 6.26-5.15l-.78-.88c-.21 2.85-2.58 5.13-5.48 5.13zm-1.7-2.93v-.28h.12c.23 0 .39-.19.39-.42v-.54s.01-.01 0-.01L3.77 9.45h-.62c-.23 0-.38.19-.38.42v1.6c0 .23.14.42.38.42h.26v1.61c0 .23.22.41.45.41s.45-.18.45-.41v-.97H4.3c.24 0 .4-.13.4-.36zm11.07-2.34l-2.94-2.94c.11-.17.21-.34.3-.52.01-.03.03-.06.04-.09.08-.18.16-.36.22-.55v-.01c.06-.19.1-.38.14-.58.01-.05.01-.09.02-.14.03-.2.05-.4.05-.61a4.4 4.4 0 00-4.4-4.4C6.77 0 4.8 1.97 4.8 4.4s1.97 4.4 4.4 4.4c.21 0 .41-.02.61-.05.04 0 .09-.01.14-.02.2-.03.39-.08.58-.14h.01c.19-.06.37-.14.55-.22.03-.01.06-.03.09-.04.18-.09.35-.19.52-.3l2.94 2.94a.8.8 0 00.57.23c.44 0 .8-.36.8-.8a.895.895 0 00-.24-.57zM9.2 7.6C7.43 7.6 6 6.17 6 4.4c0-1.77 1.43-3.2 3.2-3.2s3.2 1.43 3.2 3.2c0 1.77-1.43 3.2-3.2 3.2zm1.54 4.26v-.52c0-.09-.1-.17-.19-.17s-.19.07-.19.17v.52c0 .09.1.17.19.17s.19-.07.19-.17z"],sr=["M12 1c-1.66 0-3 1.34-3 3 0 1.25.76 2.32 1.85 2.77A2.02 2.02 0 019 8H7c-.73 0-1.41.2-2 .55V5.82C6.16 5.4 7 4.3 7 3c0-1.66-1.34-3-3-3S1 1.34 1 3c0 1.3.84 2.4 2 2.82v4.37c-1.16.4-2 1.51-2 2.81 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.04-.53-1.95-1.32-2.49.35-.31.81-.51 1.32-.51h2c1.92 0 3.52-1.35 3.91-3.15A2.996 2.996 0 0012 1zM4 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 12c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm8-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],cr=["M15 7h-3.14c-.45-1.72-2-3-3.86-3S4.59 5.28 4.14 7H1c-.55 0-1 .45-1 1s.45 1 1 1h3.14c.45 1.72 2 3 3.86 3s3.41-1.28 3.86-3H15c.55 0 1-.45 1-1s-.45-1-1-1zm-7 3c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"],ur=["M12 6c-1.3 0-2.4.84-2.82 2H9c-1.62 0-3-.96-3.63-2.34C6.33 5.16 7 4.16 7 3c0-1.66-1.34-3-3-3S1 1.34 1 3c0 1.3.84 2.4 2 2.81v4.37C1.84 10.6 1 11.7 1 13c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82V8.43A5.89 5.89 0 009 10h.18A2.996 2.996 0 0015 9c0-1.66-1.34-3-3-3zm-8 8c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zM4 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm8 6c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],dr=["M14 2h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1zm-3.18 4.8C10.51 7.51 9.82 8 9 8H7c-.73 0-1.41.2-2 .55V5.82C6.16 5.4 7 4.3 7 3c0-1.66-1.34-3-3-3S1 1.34 1 3c0 1.3.84 2.4 2 2.82v4.37c-1.16.4-2 1.51-2 2.81 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.04-.53-1.95-1.32-2.49.35-.31.81-.51 1.32-.51h2c1.9 0 3.49-1.33 3.89-3.11-.29.07-.58.11-.89.11-.41 0-.8-.08-1.18-.2zM4 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 12c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],hr=["M3 1C1.34 1 0 2.34 0 4c0 1.3.84 2.4 2 2.82v3.37C.84 10.6 0 11.7 0 13c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82V6.82C5.16 6.4 6 5.3 6 4c0-1.66-1.34-3-3-3zm0 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm11 5.18V6c0-1.66-1.34-3-3-3H9.41l1.29-1.29c.19-.18.3-.43.3-.71A1.003 1.003 0 009.29.29l-3 3C6.11 3.47 6 3.72 6 4c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L9.41 5H11c.55 0 1 .45 1 1v4.18A2.996 2.996 0 0013 16c1.66 0 3-1.34 3-3 0-1.3-.84-2.4-2-2.82zM13 14c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],fr=["M4 6h1V5H4v1zm9 3c0-.28-.11-.53-.29-.71l-3-3C9.53 5.11 9.28 5 9 5s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L8 8.41V15c0 .55.45 1 1 1s1-.45 1-1V8.41l1.29 1.29c.18.19.43.3.71.3.55 0 1-.45 1-1zM5 3H4v1h1V3zm10-3H1C.45 0 0 .45 0 1v13c0 .55.45 1 1 1h5v-2H2v-1h4v-1H3V2h11v9h-2v1h2v1h-2v2h3c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],pr=["M5 9H4v1h1V9zm10-9H1C.45 0 0 .45 0 1v13c0 .55.45 1 1 1h3v1l2-1 2 1v-1h7c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM4 13H2v-1h2v1zm10 0H8v-1h6v1zm0-2H3V2h11v9zM5 3H4v1h1V3zm0 4H4v1h1V7zm0-2H4v1h1V5z"],vr=["M2 0v4c0 2.97 2.16 5.43 5 5.91V14H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1H9V9.91c2.84-.48 5-2.94 5-5.91V0H2z"],mr=["M4.45 7.83c-.26 0-.41.21-.41.46v1.75c0 .26.16.46.41.46h.29v1.77c0 .25.24.45.49.45s.49-.2.49-.45V11.2h-.01c.26 0 .44-.14.44-.4v-.3h.14c.26 0 .43-.2.43-.46v-.59s.01-.01 0-.01l-1.58-1.6h-.69zM8.51 3.9h.22c.06 0 .12-.01.12-.07 0-.06-.05-.07-.12-.07h-.22c-.06 0-.12.01-.12.07.01.06.06.07.12.07zm-2.33-.05c.07-.07.07-.19 0-.26l-.5-.5a.187.187 0 00-.26 0c-.07.07-.07.19 0 .26l.5.5c.07.07.19.07.26 0zm3.06.89c.07 0 .14-.06.14-.12v-.31c0-.07-.07-.12-.14-.12s-.14.06-.14.12v.31c0 .07.07.12.14.12zM8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-.55.1-1.07.23-1.57h.11v.47c0 .2.18.37.39.37.03 0 .08-.01.11-.02l.78.77c.08.08.2.08.28 0 .08-.08.08-.2 0-.28l-.75-.78c0-.02.04-.04.04-.06v-.12c0-.16.09-.22.25-.36h.46c.09 0 .17-.01.24-.05h.02c.02-.01.03-.02.05-.03.01-.01.01-.01.02-.01l.02-.02 1.59-1.58c.18-.18.18-.46 0-.64s-.47-.15-.65.03l-.3.34h-.57v-.48c0-.01.05.05.05-.09h.64c.12 0 .22-.09.22-.21s-.1-.21-.22-.21H4.1c.18-.15.34-.31.54-.44l.01-.01c.21-.14.45-.25.68-.37.15-.07.29-.15.44-.21.17-.07.35-.11.53-.17.18-.05.35-.12.53-.16a6.05 6.05 0 013.47.35c.05.02.1.05.16.08.25.11.48.24.71.39.25.16.49.34.71.55H10.6s0-.03-.01-.03c-.04 0-.09 0-.13.03l-.51.51a.17.17 0 000 .23c.06.06.17.06.23 0l.42-.44.01-.02h.25c0 .14-.07.09-.07.12v.07c0 .22-.15.37-.36.37h-.38c-.19 0-.38.21-.38.4v.17h-.1c-.12 0-.2.06-.2.18v.25h-.23c-.17 0-.3.11-.3.28 0 .17.13.26.3.26.07 0 .14.03.19-.11l.04.01.49-.46h.17l.39.37c.03.03.08.02.12-.01.03-.03.03-.12 0-.15l-.32-.35h.23l.09.12c.18.18.48.17.66-.01l.09-.1h.4c.02 0 .08.05.08.05v.24l-.05-.01h-.36c-.11 0-.21.1-.21.21 0 .11.09.21.21.21h.41v.15c-.14.21-.24.42-.45.42h-.94v-.01l-.44-.44a.47.47 0 00-.66 0l-.42.43v.01H8.6c-.26 0-.49.21-.49.46v.92c0 .26.23.45.49.45h.9c.34.14.57.35.72.69v1.68c0 .26.17.44.42.44h.72c.26 0 .4-.18.4-.44V9l.89-.86.03-.02.02-.01h.03c.07-.08.15-.19.15-.31v-.91c0-.18-.16-.32-.31-.46H13c.01.28.21.42.46.42h.42c.08.37.12.76.12 1.15 0 3.31-2.69 6-6 6zm4.54-4.27c-.1 0-.21.08-.21.18v.57c0 .1.11.18.21.18.1 0 .21-.08.21-.18v-.57c0-.1-.11-.18-.21-.18zM8.37 3.19c0-.25-.2-.42-.46-.42h-.54c-.25 0-.42.18-.42.43 0 .03-.1.04.05.08v.47c0 .15.06.27.21.27s.21-.12.21-.27v-.14h.5c.24 0 .45-.16.45-.42z"],gr=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm5.17 5h-2.44c-.21-1.11-.51-2.03-.91-2.69 1.43.46 2.61 1.43 3.35 2.69zM10 8c0 .73-.05 1.39-.12 2H6.12C6.05 9.39 6 8.73 6 8s.05-1.39.12-2h3.76c.07.61.12 1.27.12 2zM8 2c.67 0 1.36 1.1 1.73 3H6.27C6.64 3.1 7.33 2 8 2zm-1.82.31c-.4.66-.71 1.58-.91 2.69H2.83a6.025 6.025 0 013.35-2.69zM2 8c0-.7.13-1.37.35-2h2.76C5.04 6.62 5 7.28 5 8s.04 1.38.11 2H2.35C2.13 9.37 2 8.7 2 8zm.83 3h2.44c.21 1.11.51 2.03.91 2.69A6.025 6.025 0 012.83 11zM8 14c-.67 0-1.36-1.1-1.73-3h3.46c-.37 1.9-1.06 3-1.73 3zm1.82-.31c.4-.66.7-1.58.91-2.69h2.44a6.025 6.025 0 01-3.35 2.69zM13.65 10h-2.76c.07-.62.11-1.28.11-2s-.04-1.38-.11-2h2.76c.22.63.35 1.3.35 2s-.13 1.37-.35 2z"],yr=["M14 3c-1.06 0-1.92.83-1.99 1.88l-1.93.97A2.95 2.95 0 008 5c-.56 0-1.08.16-1.52.43L3.97 3.34C3.98 3.23 4 3.12 4 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.24 0 .47-.05.68-.13l2.51 2.09C5.08 7.29 5 7.63 5 8c0 .96.46 1.81 1.16 2.35l-.56 1.69c-.91.19-1.6.99-1.6 1.96 0 1.1.9 2 2 2s2-.9 2-2c0-.51-.2-.97-.51-1.32l.56-1.69A2.99 2.99 0 0011 8c0-.12-.02-.24-.04-.36l1.94-.97c.32.21.69.33 1.1.33 1.1 0 2-.9 2-2s-.9-2-2-2z"],br=["M12.89 8.11l-.01.01-.38-.38-.38.38-.02-.02c-.54.55-1.27.9-2.1.9-1.66 0-3-1.34-3-3 0-.83.35-1.56.9-2.1l-.02-.02.38-.38-.38-.38.01-.01C7.35 2.57 7 1.83 7 1c0-.34.07-.65.17-.96A8.004 8.004 0 000 8c0 4.42 3.58 8 8 8 4.14 0 7.54-3.14 7.96-7.17-.31.1-.62.17-.96.17-.83 0-1.57-.35-2.11-.89zm1.02-4.61l1.79-1.79c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-1.79 1.8L10.71.3A.965.965 0 0010 0a1.003 1.003 0 00-.71 1.71l1.79 1.79-1.79 1.79a1.003 1.003 0 001.42 1.42l1.79-1.79 1.79 1.79a1.003 1.003 0 001.42-1.42l-1.8-1.79z"],wr=["M2.713 5.958a1 1 0 01.574-1.916l10 3c.95.285.95 1.63 0 1.916l-10 3a1 1 0 01-.574-1.916L9.52 8 2.713 5.958z"],_r=["M2.713 3.958a1 1 0 01.574-1.916l10 3c.95.285.95 1.63 0 1.916l-10 3a1 1 0 01-.574-1.916L9.52 6 2.713 3.958zM3 12h10a1 1 0 010 2H3a1 1 0 010-2z"],Er=["M15 9c.55 0 1-.45 1-1s-.45-1-1-1h-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1H9V1c0-.55-.45-1-1-1S7 .45 7 1v1H4V1c0-.55-.45-1-1-1S2 .45 2 1v1H1c-.55 0-1 .45-1 1s.45 1 1 1h1v3H1c-.55 0-1 .45-1 1s.45 1 1 1h1v3H1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h3v1c0 .55.45 1 1 1s1-.45 1-1v-1h3v1c0 .55.45 1 1 1s1-.45 1-1v-1h1c.55 0 1-.45 1-1s-.45-1-1-1h-1V9h1zm-8 3H4V9h3v3zm0-5H4V4h3v3zm5 5H9V9h3v3zm0-5H9V4h3v3z"],xr=["M0 1v6h7V0H1C.45 0 0 .45 0 1zm0 14c0 .55.45 1 1 1h6V9H0v6zM15 0H9v7h7V1c0-.55-.45-1-1-1zM9 16h6c.55 0 1-.45 1-1V9H9v7z"],Sr=["M5 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6-3H5C2.24 3 0 5.24 0 8s2.24 5 5 5h6c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 9H5c-2.21 0-4-1.79-4-4s1.79-4 4-4h6c2.21 0 4 1.79 4 4s-1.79 4-4 4zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Or=["M10 12c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1s-1 .45-1 1v8c0 .55.45 1 1 1zm3 0c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1zm2 1H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm-9-1c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1zm-3 0c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1v9c0 .55.45 1 1 1z"],Cr=["M15 5c0-.55-.45-1-1-1-.41 0-.76.24-.91.59v.01s0 .01-.01.01L11.57 8h-.36l.78-4.84C12 3.11 12 3.05 12 3a1 1 0 00-1.99-.16v.01L9.18 8H9V1c0-.55-.45-1-1-1S7 .45 7 1v7h-.09l-.93-5.18A1 1 0 005 2c-.55 0-1 .45-1 1 0 .05 0 .11.01.16L5.26 11h-.04L2.83 7.44C2.65 7.18 2.35 7 2 7c-.55 0-1 .45-1 1 0 .17.04.33.12.47l3 5.69h.01v.01A5.002 5.002 0 0013 11v-.59l1.93-5.05c.05-.11.07-.23.07-.36z"],Mr=["M14.72 7.87c-1.54-.67-2.99-2.68-3.7-3.95C10.11 1.95 9.93 0 6.14 0 4.05 0 2.71.61 1.92 2.12 1.27 3.36 1 5.21 1 7.83v.79c0 .65.6 1.18 1.35 1.18.34 0 .64-.11.88-.29.17.48.68.84 1.29.84.41 0 .78-.16 1.03-.42.23.37.67.63 1.19.63.57 0 1.05-.31 1.25-.74l.01.63v4.05c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V7.9c.58.41 1.55 1.21 2.47 1.29 1.57.14 1.82-1.07 1.25-1.32z"],zr=["M12.08 4.97c-1.26-.71-3.27-2.15-3.95-3.7C7.88.7 6.67.96 6.81 2.52c.09.93.89 1.9 1.3 2.48H1.5C.67 5 0 5.67 0 6.5S.67 8 1.5 8h4.05l.63.01c-.44.2-.75.69-.75 1.25 0 .52.26.96.63 1.19-.26.25-.42.61-.42 1.03 0 .61.35 1.12.84 1.29-.18.24-.29.54-.29.88 0 .75.54 1.35 1.19 1.35h.79c2.62 0 4.47-.28 5.71-.92 1.51-.79 2.12-2.14 2.12-4.22 0-3.79-1.95-3.97-3.92-4.89z"],Pr=["M14.5 5H7.89c.41-.58 1.21-1.55 1.3-2.47C9.34.97 8.12.71 7.87 1.28c-.67 1.54-2.68 2.99-3.95 3.7C1.95 5.89 0 6.07 0 9.86c0 2.09.61 3.43 2.12 4.22 1.24.65 3.09.92 5.71.92h.79c.65 0 1.18-.6 1.18-1.35 0-.34-.11-.64-.29-.88.48-.17.84-.68.84-1.29 0-.41-.16-.78-.42-1.03.37-.23.63-.67.63-1.19 0-.57-.31-1.05-.74-1.25l.63-.01h4.05c.83 0 1.5-.67 1.5-1.5S15.33 5 14.5 5z"],Tr=["M13.65 6.19c-.34 0-.64.11-.88.29-.17-.48-.68-.84-1.29-.84-.41 0-.78.16-1.03.42-.23-.37-.67-.63-1.19-.63-.57 0-1.05.31-1.25.74L8 5.55V1.5C8 .67 7.33 0 6.5 0S5 .67 5 1.5v6.61c-.58-.41-1.55-1.21-2.48-1.3C.96 6.67.7 7.88 1.28 8.13c1.54.67 2.99 2.68 3.7 3.95C5.89 14.05 6.07 16 9.86 16c2.09 0 3.43-.61 4.22-2.12.64-1.24.92-3.09.92-5.71v-.79c0-.65-.6-1.19-1.35-1.19z"],Ar=["M15 10c.495 0 .933.379.993.882L16 11v.505c0 1.461-3.524 2.45-7.707 2.493L8 14c-4.31 0-8-1-8-2.495V11c0-.561.466-1 1-1 .895 0 3 1 7 1l.381-.003C12.135 10.937 14.134 10 15 10zm-4-8c1.13 0 2.02 2.153 2.671 6.46-1.063.266-2.644.652-4.887.727l-.403.01L8 9.2c-2.664 0-4.488-.444-5.673-.74C2.98 4.153 3.87 2 5 2c2 0 1.329 2 3 2s1-2 3-2z"],Lr=["M12 2c-.55 0-1 .45-1 1v4H5V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1s1-.45 1-1V9h6v4c0 .55.45 1 1 1s1-.45 1-1V3c0-.55-.45-1-1-1z"],kr=["M14.06 8c-.04.23-.12.44-.25.61-.13.17-.29.3-.48.41-.18.11-.39.18-.62.23-.23.04-.46.07-.71.07v1.03h1.74V16H15V8h-.94zM7 2c-.56 0-1 .45-1 1v4H2V3c0-.55-.45-1-1-1-.56 0-1 .45-1 1v10c0 .55.45 1 1 1 .56 0 1-.45 1-1V9h4v4c0 .55.45 1 1 1 .56 0 1-.45 1-1V3c0-.54-.45-1-1-1z"],Nr=["M1 2c-.56 0-1 .45-1 1v10c0 .54.45 1 1 1 .56 0 1-.45 1-1V9h4v4c0 .54.45 1 1 1 .56 0 1-.45 1-1V3c0-.54-.45-1-1-1-.56 0-1 .45-1 1v4H2V3c0-.54-.45-1-1-1zm13.71 9.73c.41.08.72.3.95.651.23.35.34.772.34 1.273 0 .371-.07.702-.2.973-.14.29-.32.54-.55.741-.23.2-.5.361-.8.472-.3.11-.62.16-.96.16-.41 0-.77-.06-1.08-.19-.31-.12-.56-.311-.77-.542a2.43 2.43 0 01-.47-.852c-.11-.33-.16-.702-.17-1.103h1.14c-.01.471.09.862.32 1.173.23.311.57.471 1.02.471.39 0 .71-.12.97-.36.26-.241.39-.582.39-1.023 0-.3-.05-.531-.16-.712-.11-.17-.25-.31-.43-.4a1.56 1.56 0 00-.59-.171c-.22-.02-.44-.03-.67-.02v-.933c.19.01.38 0 .57-.04.19-.03.36-.1.51-.19.14-.09.26-.22.35-.381.09-.16.14-.361.14-.592 0-.33-.1-.591-.31-.792-.2-.2-.47-.3-.79-.3a.99.99 0 00-.53.13c-.15.09-.27.21-.37.36-.1.151-.17.322-.22.512-.05.19-.07.381-.06.582h-1.15c.01-.381.08-.722.19-1.043.11-.32.27-.602.47-.832.19-.23.44-.421.72-.552.28-.13.6-.2.96-.2.28 0 .55.04.82.13.27.08.51.21.72.381.21.17.38.381.51.642.13.26.19.561.19.902 0 .391-.08.732-.24 1.023-.16.29-.42.5-.76.631v.02z"],Ir=["M1 2c-.56 0-1 .45-1 1v10c0 .54.45 1 1 1 .56 0 1-.45 1-1V9h4v4c0 .54.45 1 1 1 .56 0 1-.45 1-1V3c0-.54-.45-1-1-1-.56 0-1 .45-1 1v4H2V3c0-.54-.45-1-1-1zm12.154 11.944l.016-.014c.18-.14.36-.28.57-.42l.63-.45c.21-.16.41-.33.61-.51s.37-.38.52-.59c.15-.21.28-.45.37-.7.09-.25.13-.54.13-.85 0-.25-.04-.51-.12-.79-.07-.29-.2-.55-.39-.79a2.18 2.18 0 00-.73-.6c-.29-.15-.66-.23-1.11-.23-.4 0-.76.08-1.07.23-.31.16-.58.37-.79.62-.22.27-.38.59-.49.96-.11.37-.16.77-.16 1.2h1.19c.01-.27.03-.53.08-.77.04-.24.11-.45.21-.62.09-.18.22-.32.38-.42.16-.1.35-.15.59-.15.26 0 .47.05.63.14.15.09.28.21.37.35.09.14.15.29.18.45.03.16.05.31.05.45-.01.31-.08.58-.22.82-.14.23-.32.45-.53.65-.22.21-.46.39-.71.57-.26.18-.51.36-.75.54-.5.36-.89.78-1.17 1.27-.28.49-.43 1.06-.44 1.71h4.99v-1.14h-3.55c.05-.17.14-.33.27-.49.126-.145.28-.281.444-.426z"],Rr=["M14.85 6.34C14.18 2.72 11.37 0 8 0S1.82 2.72 1.15 6.34C.47 6.9 0 8.1 0 9.5 0 11.43.9 13 2 13c0 1.1.9 2 2 2h2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1H4c-.55 0-1-.45-1-1 .55 0 1-.45 1-1V7c0-.45-.3-.81-.71-.94C3.97 3.7 5.81 2 8 2s4.03 1.7 4.71 4.06c-.41.13-.71.49-.71.94v5c0 .55.45 1 1 1h1c1.1 0 2-1.57 2-3.5 0-1.4-.47-2.6-1.15-3.16z"],Hr=["M16 5.095c0-2.255-1.88-4.083-4.2-4.083-1.682 0-3.13.964-3.8 2.352a4.206 4.206 0 00-3.8-2.352C1.88 1.012 0 2.84 0 5.095c0 .066.007.13.01.194H.004c.001.047.01.096.014.143l.013.142c.07.8.321 1.663.824 2.573C2.073 10.354 4.232 12.018 8 15c3.767-2.982 5.926-4.647 7.144-6.854.501-.905.752-1.766.823-2.562.007-.055.012-.11.016-.164.003-.043.012-.088.013-.13h-.006c.003-.066.01-.13.01-.195z"],Vr=["M7.71 8.87L6.17 6.55l.02-.01A.906.906 0 016 6c0-.07.03-.13.04-.19h-.02l.78-3.92C6.09 1.34 5.19 1 4.2 1 1.88 1 0 2.83 0 5.09c0 .07.01.13.01.19H0c0 .05.01.1.01.14 0 .05.01.1.01.14.07.8.32 1.66.82 2.57 1.07 1.94 2.88 3.47 5.86 5.84l-.68-2.74h.02C6.03 11.16 6 11.08 6 11c0-.28.11-.53.29-.71l1.42-1.42zM16 5.09C16 2.83 14.12 1 11.8 1c-1.2 0-2.27.5-3.04 1.28l-.7 3.51 1.77 2.66-.01.01c.1.15.18.33.18.54 0 .28-.11.53-.29.71l-1.6 1.6.75 3.01c3.23-2.56 5.16-4.15 6.28-6.18.5-.91.75-1.77.82-2.56.01-.05.01-.11.02-.16 0-.04.01-.09.01-.13h-.01c.01-.07.02-.14.02-.2z"],Dr=["M0 10h5V7H0v3zm1-2h3v1H1V8zm14-5h-4v3h5V4c0-.55-.45-1-1-1zm0 2h-3V4h3v1zM0 4v2h5V3H1c-.55 0-1 .45-1 1zm0 9c0 .55.45 1 1 1h4v-3H0v2zm6-7h4V3H6v3zm0 8h4v-3H6v3zm1-2h2v1H7v-1zm4 2h4c.55 0 1-.45 1-1v-2h-5v3zm0-4h5V7h-5v3zm-5 0h4V7H6v3z"],jr=["M2 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm11-7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm3 4.5A2.5 2.5 0 0013.5 6c-.98 0-1.82.57-2.23 1.39-.6-.78-1.51-1.3-2.56-1.36.18-.49.29-.99.29-1.53C9 2.01 6.99 0 4.5 0S0 2.01 0 4.5 2.01 9 4.5 9c.19 0 .37-.03.56-.06-.03.19-.06.37-.06.56C5 11.43 6.57 13 8.5 13c1.63 0 2.98-1.11 3.37-2.62.44.38 1 .62 1.63.62A2.5 2.5 0 0016 8.5zM14.5 13c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"],Fr=["M.5 2a.5.5 0 01.5.5V4h7V3H2.5a.5.5 0 010-1h13a.5.5 0 010 1H10v1h1c2.26 0 4 1.79 4 4 0 1.87-1.247 3.44-3 3.878V13h.382l1.894-.947a.5.5 0 11.448.894L12.618 14H4.5a.5.5 0 010-1H7v-2.306C5.749 9.736 5 8.368 5 7L1 6v1.5a.5.5 0 01-1 0v-5A.5.5 0 01.5 2zM8 11.316V13h3v-1a6.73 6.73 0 01-3-.684zM11 5v3h3a3 3 0 00-3-3z"],Br=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm1 13H7v-2h2v2zm1.93-6.52c-.14.32-.35.64-.62.97L9.25 8.83c-.12.15-.24.29-.28.42-.04.13-.09.3-.09.52V10H7.12V8.88s.05-.51.21-.71L8.4 6.73c.22-.26.35-.49.44-.68.09-.19.12-.38.12-.58 0-.3-.1-.55-.28-.75-.18-.19-.44-.28-.76-.28-.33 0-.59.1-.78.29-.19.19-.33.46-.4.81-.03.11-.1.15-.2.14l-1.7-.25c-.12-.01-.16-.08-.14-.19.12-.82.46-1.47 1.03-1.94.57-.48 1.32-.72 2.25-.72.47 0 .9.07 1.29.22s.72.34 1 .59c.28.25.49.55.65.89.15.35.22.72.22 1.12s-.07.75-.21 1.08z"],Ur=["M13 5h-2v2h2V5zm0 6h-2v2h2v-2zm0-3h-2v2h2V8zm2-8H1C.4 0 0 .4 0 1v14c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V1c0-.6-.4-1-1-1zm-1 14H2V2h12v12zm-7-3H5v2h2v-2zm3 0H8v2h2v-2z"],Gr=["M9 14v2H7v-2h2zm1-14L9 12H7L6 0h4z"],qr=["M6 0a1 1 0 00-1 1v3H3V3h.5a.5.5 0 000-1h-2a.5.5 0 000 1H2v1a1 1 0 000 2v1h-.5a.5.5 0 000 1h2a.5.5 0 000-1H3V6h2v9a1 1 0 102 0V6h2v9a1 1 0 102 0V6h2v1h-.5a.5.5 0 000 1h2a.5.5 0 000-1H14V6a1 1 0 100-2V3h.5a.5.5 0 000-1h-2a.5.5 0 000 1h.5v1h-2V1a1 1 0 00-1-1H6zm1 2v2h2V2H7z"],Wr=["M9.12 11.07l2-2.02.71.71 4-4.04L10.17 0l-4 4.04.71.71-2 2.02 4.24 4.3zM2 12.97h4c.28 0 .53-.11.71-.3l1-1.01-3.42-3.45-3 3.03c-.18.18-.29.44-.29.72 0 .55.45 1.01 1 1.01zm13 1.01H1c-.55 0-1 .45-1 1.01S.45 16 1 16h14c.55 0 1-.45 1-1.01s-.45-1.01-1-1.01z"],Kr=["M8 3c-.55 0-1 .45-1 1v4c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L9 7.59V4c0-.55-.45-1-1-1zm0-3a7.95 7.95 0 00-6 2.74V1c0-.55-.45-1-1-1S0 .45 0 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.54C4.64 2.78 6.23 2 8 2c3.31 0 6 2.69 6 6 0 2.61-1.67 4.81-4 5.63v-.01c-.63.23-1.29.38-2 .38-3.31 0-6-2.69-6-6 0-.55-.45-1-1-1s-1 .45-1 1c0 4.42 3.58 8 8 8 .34 0 .67-.03 1-.07.02 0 .04-.01.06-.01C12.98 15.4 16 12.06 16 8c0-4.42-3.58-8-8-8z"],$r=["M2 10v5c0 .55.45 1 1 1h3v-5h4v5h3c.55 0 1-.45 1-1v-5L8 4l-6 6zm13.71-2.71L14 5.59V2c0-.55-.45-1-1-1s-1 .45-1 1v1.59L8.71.29C8.53.11 8.28 0 8 0s-.53.11-.71.29l-7 7a1.003 1.003 0 001.42 1.42L8 2.41l6.29 6.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],Yr=["M4 5h7c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zM1 1c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1zm14 6H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h11c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-6 5H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1z"],Xr=["M1 3h5c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h7c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 6H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM1 11h10c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1z"],Zr=["M15 1H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM8 9H1c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1zm-2 4H1c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm5-8H1c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1z"],Qr=["M2 0c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm13 0c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm-5 2H7c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],Jr=["M0 16V0h1a1 1 0 011 1v14a1 1 0 01-1 1H0zM15 0h1v16h-1a1 1 0 01-1-1V1a1 1 0 011-1zM6.707 6.707a1 1 0 00-1.414-1.414l-2 2a1 1 0 000 1.414l2 2a1 1 0 001.414-1.414L5.414 8l1.293-1.293zm4-1.414a1 1 0 00-1.414 1.414L10.586 8 9.293 9.293a1 1 0 101.414 1.414l2-2a1 1 0 000-1.414l-2-2z"],eo=["M3.5 12c-.86 0-2.5-.5-3.5-1 1 3.5 4.506 4 7 4a7 7 0 007-7l-.006-.004a5.974 5.974 0 00-1.29-3.988c.896.066 2.37.53 3.296.992-1-3.5-4.506-4-7-4a6.998 6.998 0 00-6.14 3.635 5.972 5.972 0 00-.859 3.226L2 8l.006.005a5.98 5.98 0 001.771 3.99A7.469 7.469 0 013.5 12zM8 6a2 2 0 100 4 2 2 0 000-4z"],to=["M2 5v7h12V5H2zm0-2h12c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2z","M7.9 10.48c-.14-.33-.84-.55-1.3-.75-.46-.2-.4-.33-.42-.5v-.07c.16-.14.29-.33.37-.56 0 0 0-.01.01-.02.02-.05.03-.1.05-.15.1-.01.16-.13.19-.23.03-.04.07-.15.06-.27-.02-.16-.08-.24-.15-.26v-.03c0-.2-.02-.48-.05-.67-.01-.05-.02-.1-.03-.16-.07-.23-.21-.44-.4-.58-.2-.15-.48-.23-.73-.23s-.53.08-.72.23c-.19.14-.33.35-.4.58-.02.05-.03.1-.03.16-.05.18-.06.47-.06.67v.03c-.07.03-.14.1-.15.26-.02.12.03.22.06.27.02.1.09.22.2.24.01.05.03.1.05.15v.01c.08.23.22.42.38.56v.07c-.02.17.03.29-.43.5-.46.2-1.16.42-1.3.75s-.09.52-.09.52H8c-.01 0 .05-.19-.1-.52zM10 6h2c.55 0 1 .45 1 1s-.45 1-1 1h-2c-.55 0-1-.45-1-1s.45-1 1-1zM10 9h2c.55 0 1 .45 1 1s-.45 1-1 1h-2c-.55 0-1-.45-1-1s.45-1 1-1z"],no=["M13 2h-1.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C8.11 2.47 8 2.72 8 3c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H13c.55 0 1 .45 1 1v3c0 .55.45 1 1 1s1-.45 1-1V5c0-1.66-1.34-3-3-3zm-5.5 9c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7H1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-1 6.33L7 12l-1 1-2-3-2 2.67V9h7v4.33z"],ro=["M5.71 5.71l2-2C7.89 3.53 8 3.28 8 3c0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H3C1.34 2 0 3.34 0 5v3c0 .55.45 1 1 1s1-.45 1-1V5c0-.55.45-1 1-1h1.59l-.3.29a1.003 1.003 0 001.42 1.42zM12.5 11c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM15 7H6c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-1 6.33L12 12l-1 1-2-3-2 2.67V9h7v4.33z"],oo=["M7.29 11.71c.18.18.43.29.71.29s.53-.11.71-.29l4-4a1.003 1.003 0 00-1.42-1.42L9 8.59V1c0-.55-.45-1-1-1S7 .45 7 1v7.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l4 4zM15 11c-.55 0-1 .45-1 1v2H2v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1z"],io=["M13.91 2.6c-.16-.36-.51-.61-.92-.61h-10c-.41 0-.77.25-.92.61L-.01 7.45v5.54c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V7.45L13.91 2.6zm-1.92 5.39c-.55 0-1 .45-1 1v1h-6v-1c0-.55-.45-1-1-1H1.94l1.71-4h8.68l1.71 4h-2.05z"],ao=["M6.432 2c.094.14.202.273.324.394L8.42 4H3.66L1.95 8H4c.55 0 1 .45 1 1v1h6.557c.693 0 1.363-.262 1.837-.736l.103-.102.85-1.14a2.564 2.564 0 00.623-1.682V5.058L16 7.46V13c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V7.46l2.08-4.85C2.23 2.25 2.59 2 3 2h3.432zm9.048-2c.31 0 .52.26.52.57 0 .16-.06.3-.17.41l-2.86 2.73v2.63c0 .16-.06.3-.17.41l-.82 1.1c-.1.1-.25.17-.41.17-.31 0-.57-.26-.57-.57V3.71L8.17.98A.566.566 0 018 .57c0-.31.26-.57.57-.57h6.91z"],lo=["M6.341 2A5.99 5.99 0 006 4H3.66L1.95 8H4c.55 0 1 .45 1 1v1h7a5.978 5.978 0 004-1.528V13c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V7.46l2.08-4.85C2.23 2.25 2.59 2 3 2h3.341zm3.679 2.145c0-.125.075-.23.205-.225h.345l.79.8c.005 0 0 .005 0 .005v.295c0 .13-.085.23-.215.23h-.07v.15c0 .13-.09.2-.215.2v.535c0 .125-.12.225-.245.225s-.245-.1-.245-.225V5.25h-.145c-.125 0-.205-.1-.205-.23v-.875zm2.235-2.195c-.03 0-.055-.005-.06-.035 0-.03.03-.035.06-.035h.11c.035 0 .06.005.06.035 0 .03-.03.035-.06.035h-.11zm-1.165-.025a.094.094 0 01-.13 0l-.25-.25a.094.094 0 010-.13.094.094 0 01.13 0l.25.25a.094.094 0 010 .13zm1.53.445c-.035 0-.07-.025-.07-.06v-.155c0-.03.035-.06.07-.06s.07.025.07.06v.155c0 .03-.035.06-.07.06zM12 0c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4zm0 7c1.655 0 3-1.345 3-3 0-.195-.02-.39-.06-.575h-.21c-.125 0-.225-.07-.23-.21h-.215c.075.07.155.14.155.23V3.9c0 .06-.04.115-.075.155h-.015l-.01.005-.015.01-.445.43v.815c0 .13-.07.22-.2.22h-.36c-.125 0-.21-.09-.21-.22v-.84a.627.627 0 00-.36-.345h-.45c-.13 0-.245-.095-.245-.225v-.46c0-.125.115-.23.245-.23l.13-.005.21-.215c.09-.09.24-.09.33 0l.22.225h.47c.105 0 .155-.105.225-.21v-.075h-.205a.106.106 0 01-.105-.105.11.11 0 01.105-.105h.18l.025.005v-.12s-.03-.025-.04-.025h-.2l-.045.05a.235.235 0 01-.33.005l-.045-.06h-.115l.16.175c.015.015.015.06 0 .075-.02.015-.045.02-.06.005l-.195-.185h-.085l-.245.23-.02-.005c-.025.07-.06.055-.095.055-.085 0-.15-.045-.15-.13s.065-.14.15-.14h.115v-.125c0-.06.04-.09.1-.09h.05V2.36c0-.095.095-.2.19-.2h.19c.105 0 .18-.075.18-.185V1.94c0-.015.035.01.035-.06h-.125l-.005.01-.21.22a.085.085 0 01-.115 0 .085.085 0 010-.115l.255-.255c.02-.015.045-.015.065-.015.005 0 .005.015.005.015h.64a2.327 2.327 0 00-.355-.275 2.452 2.452 0 00-.355-.195c-.03-.015-.055-.03-.08-.04a3.025 3.025 0 00-1.735-.175c-.09.02-.175.055-.265.08-.09.03-.18.05-.265.085-.075.03-.145.07-.22.105-.115.06-.235.115-.34.185l-.005.005c-.1.065-.18.145-.27.22h.455c.06 0 .11.045.11.105s-.05.105-.11.105h-.32c0 .07-.025.04-.025.045v.24h.285l.15-.17c.09-.09.235-.105.325-.015.09.09.09.23 0 .32l-.795.79-.01.01c-.005 0-.005 0-.01.005l-.025.015h-.01a.235.235 0 01-.12.025h-.23c-.08.07-.125.1-.125.18v.06c0 .01-.02.02-.02.03l.375.39c.04.04.04.1 0 .14-.04.04-.1.04-.14 0l-.39-.385a.213.213 0 01-.055.01c-.105 0-.195-.085-.195-.185v-.235h-.055A3.1 3.1 0 009 4c0 1.655 1.345 3 3 3zm2.27-2.135c.05 0 .105.04.105.09v.285c0 .05-.055.09-.105.09-.05 0-.105-.04-.105-.09v-.285c0-.05.055-.09.105-.09zm-2.085-3.27c0 .13-.105.21-.225.21h-.25v.07c0 .075-.03.135-.105.135s-.105-.06-.105-.135V1.64c-.075-.02-.025-.025-.025-.04 0-.125.085-.215.21-.215h.27c.13 0 .23.085.23.21z"],so=["M5.639 2a5.391 5.391 0 00-.144 2H3.66L1.95 8H4c.55 0 1 .45 1 1v1h6V9c0-.088.012-.174.033-.255.12-.007.238-.019.39-.038.154-.008.252-.03.442-.077a5.34 5.34 0 00.24-.05h.05l.122-.04 1.266 1.271c.425.47 1.116.769 1.847.769.21 0 .414-.025.61-.071V13c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V7.46l2.08-4.85C2.23 2.25 2.59 2 3 2h2.639zM15.82 7.53c.1.12.17.27.18.44 0 .34-.27.61-.61.61a.57.57 0 01-.43-.18l-2.24-2.25c-.13.08-.26.16-.4.23-.02.01-.05.02-.07.03-.14.06-.27.12-.42.17h-.01c-.14.05-.29.08-.44.11-.04.01-.08.02-.11.02-.15.02-.3.04-.46.04-1.85 0-3.35-1.51-3.35-3.37S8.96.01 10.81 0c1.85 0 3.35 1.51 3.35 3.37 0 .16-.02.31-.04.47-.01.04-.01.07-.02.11-.02.15-.05.29-.1.44v.01c-.05.15-.11.28-.17.42-.01.02-.02.05-.03.07-.07.14-.14.27-.23.4l2.25 2.24zm-5.01-1.94c1.22 0 2.21-.99 2.21-2.22 0-1.23-.99-2.22-2.21-2.22S8.6 2.14 8.6 3.37c0 1.22.99 2.22 2.21 2.22z"],co=["M8.1 2a5.023 5.023 0 000 2H3.66L1.95 8H4c.55 0 1 .45 1 1v1h6V9c0-.55.45-1 1-1h2.05c.708 0 1.352-.241 1.905-.645L16 7.46V13c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V7.46l2.08-4.85C2.23 2.25 2.59 2 3 2h5.1zM13 6a3 3 0 110-6 3 3 0 010 6z"],uo=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zM7 3h2v2H7V3zm3 10H6v-1h1V7H6V6h3v6h1v1z"],ho=["M5 8c0 1.66 1.34 3 3 3h4.59L11.3 9.71A.965.965 0 0111 9a1.003 1.003 0 011.71-.71l3 3c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-3 3a1.003 1.003 0 01-1.42-1.42l1.3-1.29H8c-2.76 0-5-2.24-5-5H1a1 1 0 01-1-1V1a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5zM2 2v4h4V2H2z"],fo=["M1 7c.51 0 .935.388.993.884L2 8v3c0 .51.388.935.884.993L3 12h1.59l-.3-.29a1.003 1.003 0 011.324-1.504l.096.084 2 2c.18.18.29.43.29.71 0 .233-.076.446-.206.614l-.084.096-2 2A1.003 1.003 0 014 15c0-.24.08-.458.224-.629l.076-.081.29-.29H3a2.996 2.996 0 01-2.995-2.823L0 11V8c0-.55.45-1 1-1zm5.388-7c.629 0 1.338.21 1.838.6.48.38.85.91 1.019 1.52.04.13.07.27.09.4.09.48.14 1.22.14 1.73v.07c.18.08.34.27.37.67.03.32-.09.59-.16.71-.06.28-.21.58-.48.63-.03.13-.07.26-.12.39 0 .01-.01.04-.01.04-.22.58-.55 1.08-.949 1.45v.18c.04.45-.12.77 1.059 1.3 1.179.53 2.947 1.09 3.307 1.95.37.86.22 1.36.22 1.36H9c0-.539-.21-1.045-.583-1.417l-2-2A1.997 1.997 0 005 9c-.149 0-.296-.015-.442-.045.099-.19.082-.37.101-.575 0-.05.01-.11.01-.17-.41-.35-.75-.86-.969-1.45v-.01s-.01-.01-.01-.02c-.04-.12-.09-.26-.12-.39-.28-.05-.44-.36-.5-.64-.06-.12-.19-.39-.16-.71.04-.41.21-.6.39-.68v-.06c0-.51.05-1.26.14-1.74.02-.13.05-.27.09-.4.17-.6.54-1.13 1.02-1.51C5.048.21 5.757 0 6.387 0zm4.625 2.04c.49 0 1.05.16 1.439.46.38.29.67.7.8 1.17.03.1.05.21.07.31.07.37.11.94.11 1.33v.05c.139.06.269.21.289.51.02.25-.07.45-.13.54-.05.21-.16.44-.38.48a1.711 1.711 0 01-.1.33c-.17.44-.43.83-.749 1.11v.14c.03.35-.09.59.83 1 .929.41 2.317.84 2.597 1.5.29.66.17 1.04.17 1.04H13.66v.01c-.05-.24-.14-.5-.25-.76-.36-.86-1.119-1.33-2.687-2-.14-.06-.59-.25-.6-.25-.21-.09-.36-.15-.5-.22.02-.1.02-.2.03-.31 0-.04.01-.08.01-.13-.07-.06-.13-.12-.19-.19.22-.32.4-.67.54-1.05.02-.06.02-.06.03-.1.29-.23.48-.57.59-.96.16-.33.25-.73.21-1.16-.03-.4-.16-.76-.37-1.03-.02-.53-.07-1.13-.15-1.54-.01-.06-.02-.12-.03-.19.23-.06.48-.09.72-.09z"],po=["M6.6 3.3C5.3 4.4 4.5 6.1 4.5 8s.8 3.6 2.1 4.7c-.5.2-1 .3-1.6.3-2.8 0-5-2.2-5-5s2.2-5 5-5c.6 0 1.1.1 1.6.3zm-1.96 8.68C3.92 10.83 3.5 9.46 3.5 8s.42-2.83 1.14-3.98C2.6 4.2 1 5.91 1 8s1.6 3.8 3.64 3.98zM8 4c-1.2.9-2 2.4-2 4s.8 3.1 2 4c1.2-.9 2-2.3 2-4s-.8-3.1-2-4zm3-1c2.8 0 5 2.2 5 5s-2.2 5-5 5c-.6 0-1.1-.1-1.6-.3 1.3-1.1 2.1-2.9 2.1-4.7s-.8-3.5-2.1-4.7c.5-.2 1-.3 1.6-.3zm.35 1.02c.73 1.15 1.14 2.52 1.14 3.98s-.42 2.83-1.14 3.98c2.04-.18 3.64-1.9 3.64-3.98s-1.6-3.8-3.64-3.98z"],vo=["M5 9h2v2c0 .6.4 1 1 1s1-.4 1-1V9h2c.6 0 1-.4 1-1s-.4-1-1-1H9V5c0-.6-.4-1-1-1s-1 .4-1 1v2H5c-.6 0-1 .4-1 1s.4 1 1 1zm10-9H1C.4 0 0 .4 0 1v14c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V1c0-.6-.4-1-1-1zm-1 14H2V2h12v12z"],mo=["M8 7c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.46-1-1-1zm4.988.976v-.042a.398.398 0 00-.107-.216 7.57 7.57 0 00-1.087-1.082c-.83-.703-1.78-1.292-2.824-1.527a4.315 4.315 0 00-1.818-.024 5.578 5.578 0 00-1.593.595c-.781.427-1.5 1.01-2.125 1.665-.112.12-.225.246-.33.379a.43.43 0 000 .558c.318.403.699.758 1.086 1.082.831.703 1.78 1.292 2.824 1.527a4.37 4.37 0 001.831.024c.556-.108 1.087-.325 1.593-.595a8.695 8.695 0 002.118-1.665c.113-.12.232-.246.338-.379A.42.42 0 0013 8.06V8c-.012-.012-.012-.018-.012-.024zM8 10c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2-.893 2-2 2zM7 1a1 1 0 00-1-1H1a1 1 0 00-1 1v5a1 1 0 002 0V2h4a1 1 0 001-1zm2 0a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 11-2 0V2h-4a1 1 0 01-1-1zm0 14a1 1 0 001 1h5a1 1 0 001-1v-5a1 1 0 10-2 0v4h-4a1 1 0 00-1 1zm-2 0a1 1 0 01-1 1H1a1 1 0 01-1-1v-5a1 1 0 012 0v4h4a1 1 0 011 1z"],go=["M10 3c-.92 0-1.76.26-2.5.69C6.76 3.26 5.92 3 5 3 2.24 3 0 5.24 0 8s2.24 5 5 5c.92 0 1.76-.26 2.5-.69.74.43 1.58.69 2.5.69 2.76 0 5-2.24 5-5s-2.24-5-5-5zm-4.1 7.85c-.29.09-.59.15-.9.15-1.66 0-3-1.34-3-3s1.34-3 3-3c.31 0 .61.06.9.15C5.33 5.96 5 6.94 5 8s.33 2.04.9 2.85zM10 11c-.31 0-.61-.06-.9-.15.57-.81.9-1.79.9-2.85s-.33-2.04-.9-2.85c.29-.09.59-.15.9-.15 1.66 0 3 1.34 3 3s-1.34 3-3 3z"],yo=["M5 2.66C5 4.14 8 8 8 8s3-3.86 3-5.34C10.99 1.2 9.66 0 8 0S5 1.2 5 2.66zM7 3c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1zM10.5 10H8v5h1v-4h1v1H9v1h2v-3h-.5zM2 9h12c.55 0 1 .45 1 1v5c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1v-5c0-.55.45-1 1-1zm4 1v5h1v-5H6z"],bo=["M8 16A8 8 0 118 0a8 8 0 010 16zm0-2A6 6 0 108 2a6 6 0 000 12zm1-2H7v-2h2v2zm0-3H7V4h2v5z"],wo=["M9.296.104a2.99 2.99 0 00-1.003.664 2.987 2.987 0 00-.75 1.25 6 6 0 106.28 4.527c.043-.039.085-.079.127-.12l1.456-1.456A8 8 0 119.296.105zm2.532 5.2a.997.997 0 01-.707-.294L9.707 3.596a1 1 0 011.414-1.414l.707.707 1.768-1.768a1 1 0 111.414 1.415L12.536 5.01a.997.997 0 01-.708.293zM9 12H7v-2h2v2zm0-3H7V4h2v5z"],_o=["M10.568.421c-.01.04-.018.08-.026.121-.837.156-1.53.73-1.85 1.497a6 6 0 105.27 5.273 2.51 2.51 0 001.496-1.854c.04-.008.081-.016.121-.026A8 8 0 1110.568.421zM9 12H7v-2h2v2zm0-3H7V4h2v5zm1-6c0-.55.45-1 1-1h1V1c0-.55.45-1 1-1s1 .45 1 1v1h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v1.005c0 .55-.45 1-1 1s-1-.45-1-1V4h-1c-.55 0-1-.45-1-1z"],Eo=["M9.8 4H11c.5 0 1-.4 1-1s-.4-1-1-1H7c-.5 0-1 .4-1 1s.4 1 1 1h.8l-1.6 8H5c-.5 0-1 .4-1 1s.4 1 1 1h4c.5 0 1-.4 1-1s-.4-1-1-1h-.8l1.6-8z"],xo=["M15 5h-3V2c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h3v3c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-5-1v2H6V4h4zm0 6H6V7h4v3zM2 4h3v2H2V4zm0 5V7h3v2H2zm4 4v-2h4v2H6zm8 0h-3v-2h3v2zm0-3h-3V8h3v2z"],So=["M11 0C8.24 0 6 2.24 6 5c0 1.02.31 1.96.83 2.75L.29 14.29a1.003 1.003 0 001.42 1.42L3 14.41l1.29 1.29c.18.19.43.3.71.3s.53-.11.71-.29l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71L6.41 11l1.83-1.83c.8.52 1.74.83 2.76.83 2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-.23 0-.45-.03-.66-.08-.01 0-.02-.01-.03-.01-.21-.05-.41-.12-.6-.21a3.014 3.014 0 01-1.62-2c0-.01-.01-.02-.01-.03C8.03 5.45 8 5.23 8 5c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3z"],Oo=["M15 2H6c-.28 0-.53.11-.71.29l-5 5C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l5 5c.18.18.43.29.71.29h9c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-2.29 7.29a1.003 1.003 0 01-1.42 1.42L10 9.41 8.71 10.7c-.18.19-.43.3-.71.3a1.003 1.003 0 01-.71-1.71L8.59 8l-1.3-1.29a1.003 1.003 0 011.42-1.42L10 6.59l1.29-1.29c.18-.19.43-.3.71-.3a1.003 1.003 0 01.71 1.71L11.41 8l1.3 1.29z"],Co=["M12 9h-1V7h1c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3v1H7V4c0-1.66-1.34-3-3-3S1 2.34 1 4s1.34 3 3 3h1v2H4c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3v-1h2v1c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3zm0-6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM4 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm0-8c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5 4H7V7h2v2zm3 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Mo=["M12.71 5.29l-4-4C8.53 1.11 8.28 1 8 1s-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L8 3.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],zo=["M15.71 7.29l-5-5A.997.997 0 0010 2H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h9c.28 0 .53-.11.71-.29l5-5c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zm-7 2a1.003 1.003 0 01-1.42 1.42L6 9.41 4.71 10.7c-.18.19-.43.3-.71.3a1.003 1.003 0 01-.71-1.71L4.59 8l-1.3-1.29a1.003 1.003 0 011.42-1.42L6 6.59 7.29 5.3c.18-.19.43-.3.71-.3a1.003 1.003 0 01.71 1.71L7.41 8l1.3 1.29z"],Po=["M14 2c-.55 0-1 .45-1 1v3c0 1.66-1.34 3-3 3H4.41L5.7 7.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L4.41 11H10c2.76 0 5-2.24 5-5V3c0-.55-.45-1-1-1z"],To=["M2 7c.55 0 1-.45 1-1V4.41L7.29 8.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L4.41 3H6c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7-5.9v2A5 5 0 113.1 9h-2c.49 3.39 3.38 6 6.9 6 3.87 0 7-3.13 7-7 0-3.52-2.61-6.41-6-6.9z"],Ao=["M11 4h4c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1s.45 1 1 1zm4 8h-3.43L5.86 2.49h-.02A.975.975 0 005 2H1c-.55 0-1 .45-1 1s.45 1 1 1h3.43l5.71 9.51.01-.01c.18.3.49.5.85.5h4c.55 0 1-.45 1-1s-.45-1-1-1z"],Lo=["M13.71 7.29l-5-5C8.53 2.11 8.28 2 8 2s-.53.11-.71.29l-5 5A1.003 1.003 0 003 9h2v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V9h2a1.003 1.003 0 00.71-1.71z"],ko=["M15 10H4.41L5.7 8.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L2 9.59V8c0-.55-.45-1-1-1s-1 .45-1 1v6c0 .55.45 1 1 1s1-.45 1-1v-1.59l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L4.41 12H15c.55 0 1-.45 1-1s-.45-1-1-1zm0-9c-.55 0-1 .45-1 1v1.59L11.71 1.3A.965.965 0 0011 1a1.003 1.003 0 00-.71 1.71L11.59 4H1c-.55 0-1 .45-1 1s.45 1 1 1h10.59L10.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L14 6.41V8c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1z"],No=["M15 3a.997.997 0 00-.707.293L12 5.586l-1.293-1.293a1 1 0 10-1.414 1.414l2 2a.997.997 0 001.414 0l3-3A1 1 0 0015 3zm-.879 6.121l-.007-.007c-.313.309-.69.552-1.114.702V10h-.998H12h-1v-.184c-.424-.15-.8-.395-1.112-.704l-.01.01-2-2 .012-.012A2.978 2.978 0 017.184 6H3c-.176 0-.06-.824 0-1l.73-1.63C3.79 3.192 3.823 3 4 3H7.78C8.328 2.39 9.115 2 10 2c.768 0 1.461.293 1.987.77l.844-.844c-.238-.244-.524-.442-.794-.524C12.037 1.402 10.72 1 8 1c-2.72 0-4.037.402-4.037.402-.508.155-1.078.711-1.268 1.237l-.763 2.117H.88c-.484 0-.88.423-.88.939s.396.939.88.939h.375L1 7c-.034.685 0 1.436 0 2v5c0 .657.384 1 1 1s1-.343 1-1v-1h10v1c0 .657.384 1 1 1s1-.343 1-1V9l-.003-.754-.876.875zM5.001 10H3V8h2v2z"],Io=["M11 1a1 1 0 010 2v3l3 7v1.25a.75.75 0 01-.75.75H2.75a.75.75 0 01-.75-.75V13l3-7V3a1 1 0 110-2h6zM9 3H7v3l-1.714 4h5.428L9 6V3z"],Ro=["M11 2H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V7l-5-5zm3 10H2V4h8v2H3v1h7v1h4v4zm-3-5V4l3 3h-3zm-8 3h10V9H3v1z"],Ho=["M16 8c0-.37-.21-.68-.51-.85l.01-.01-7-4-.01.01C8.34 3.06 8.18 3 8 3s-.34.06-.49.15l-.01-.02-7 4 .01.01C.21 7.32 0 7.63 0 8s.21.68.51.85l-.01.01 7 4 .01-.01c.15.09.31.15.49.15s.34-.06.49-.15l.01.01 7-4-.01-.01c.3-.17.51-.48.51-.85z"],Vo=["M7.504 3.132l-7 4a1 1 0 000 1.736l7 4a1 1 0 00.992 0l7-4a1 1 0 000-1.736l-7-4a1 1 0 00-.992 0zM8 5.152L12.983 8 8 10.847 3.016 8 8 5.152z"],Do=["M.55 4.89l7 3c.14.07.29.11.45.11.16 0 .31-.04.45-.11l7-3a.998.998 0 00-.06-1.81L8.4.08a1.006 1.006 0 00-.79 0l-6.99 3a.992.992 0 00-.07 1.81zM15 11c-.16 0-.31.04-.45.11L8 14l-6.55-2.9c-.14-.06-.29-.1-.45-.1-.55 0-1 .45-1 1 0 .39.23.73.55.89l7 3c.14.07.29.11.45.11.16 0 .31-.04.45-.11l7-3c.32-.16.55-.5.55-.89 0-.55-.45-1-1-1zm0-4c-.16 0-.31.04-.45.11L8 10 1.45 7.11A.997.997 0 001 7c-.55 0-1 .45-1 1 0 .39.23.73.55.89l7 3c.14.07.29.11.45.11.16 0 .31-.04.45-.11l7-3c.32-.16.55-.5.55-.89 0-.55-.45-1-1-1z"],jo=["M14 4c-1.1 0-2 .9-2 2 0 .47.17.9.44 1.24l-.68.91A1.996 1.996 0 009.07 9.5H7.93C7.71 8.64 6.93 8 6 8c-.47 0-.9.17-1.24.44l-.91-.68c.1-.23.15-.49.15-.76 0-.37-.11-.71-.28-1.01l2.27-2.27c.3.17.64.28 1.01.28 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .37.11.71.28 1.01L3.01 5.28C2.71 5.11 2.37 5 2 5 .9 5 0 5.9 0 7s.9 2 2 2c.47 0 .9-.17 1.24-.44l.91.68c-.1.23-.15.49-.15.76 0 .37.11.71.28 1.01l-1.27 1.27C2.71 12.11 2.37 12 2 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2c0-.37-.11-.71-.28-1.01l1.27-1.27c.3.17.64.28 1.01.28.93 0 1.71-.64 1.93-1.5h1.14c.22.86 1 1.5 1.93 1.5 1.1 0 2-.9 2-2 0-.47-.17-.9-.44-1.24l.68-.91c.23.1.49.15.76.15 1.1 0 2-.9 2-2s-.9-2-2-2z"],Fo=["M14 9.5c-.56 0-1.06.23-1.42.59L8.99 8l3.59-2.09A2.002 2.002 0 0016 4.5c0-1.1-.9-2-2-2s-2 .9-2 2c0 .19.03.37.08.54L8.5 7.13v-3.2c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S6 .9 6 2c0 .93.64 1.71 1.5 1.93v3.2L3.92 5.04c.05-.17.08-.35.08-.54 0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.56 0 1.06-.23 1.42-.59L7.01 8l-3.59 2.09A2.002 2.002 0 000 11.5c0 1.1.9 2 2 2s2-.9 2-2c0-.19-.03-.37-.08-.54L7.5 8.87v3.2c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93v-3.2l3.58 2.09c-.05.17-.08.35-.08.54 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z"],Bo=["M14 11c-.2 0-.38.04-.56.09L12.42 9.4c.36-.36.58-.85.58-1.4 0-.55-.22-1.04-.58-1.4l1.01-1.69c.19.05.37.09.57.09 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .55.22 1.04.58 1.4l-1.01 1.69C11.38 6.04 11.2 6 11 6c-.93 0-1.71.64-1.93 1.5H6.93C6.71 6.64 5.93 6 5 6c-.2 0-.38.04-.56.09L3.42 4.4C3.78 4.04 4 3.55 4 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.2 0 .38-.04.56-.09L3.58 6.6C3.22 6.96 3 7.45 3 8c0 .55.22 1.04.58 1.4l-1.01 1.69C2.38 11.04 2.2 11 2 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2c0-.55-.22-1.04-.58-1.4l1.01-1.69c.19.05.37.09.57.09.93 0 1.71-.64 1.93-1.5h2.14c.22.86 1 1.5 1.93 1.5.2 0 .38-.04.56-.09l1.01 1.69c-.35.36-.57.85-.57 1.4 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z"],Uo=["M14.16 6.02c-.12-.36-.26-.7-.43-1.03.17-.29.27-.63.27-.99 0-1.1-.9-2-2-2-.36 0-.7.1-.99.27-.33-.17-.67-.31-1.03-.43A1.987 1.987 0 008 0C6.95 0 6.1.81 6.02 1.84c-.36.12-.7.26-1.03.43C4.7 2.1 4.36 2 4 2c-1.1 0-2 .9-2 2 0 .36.1.7.27.99-.17.33-.31.67-.43 1.03C.81 6.1 0 6.95 0 8c0 1.05.81 1.9 1.84 1.98.12.36.26.7.43 1.03-.17.29-.27.63-.27.99 0 1.1.9 2 2 2 .36 0 .7-.1.99-.27.33.17.67.32 1.03.43C6.1 15.19 6.95 16 8 16c1.05 0 1.9-.81 1.98-1.84.36-.12.7-.26 1.03-.43.29.17.63.27.99.27 1.1 0 2-.9 2-2 0-.36-.1-.7-.27-.99.17-.33.31-.67.43-1.03C15.19 9.9 16 9.05 16 8c0-1.05-.81-1.9-1.84-1.98zm-.99 3.79c-.05.16-.11.31-.17.46-.3-.17-.64-.27-1-.27-1.1 0-2 .9-2 2 0 .36.1.7.27 1-.15.07-.3.12-.46.17C9.5 12.48 8.81 12 8 12s-1.5.48-1.81 1.17c-.16-.06-.32-.11-.46-.17.17-.3.27-.64.27-1 0-1.1-.9-2-2-2-.36 0-.7.1-1 .27-.07-.15-.12-.3-.17-.46C3.52 9.5 4 8.81 4 8s-.48-1.5-1.17-1.81c.06-.16.11-.32.17-.46.3.17.64.27 1 .27 1.1 0 2-.9 2-2 0-.36-.1-.7-.27-1 .15-.07.3-.12.46-.17C6.5 3.52 7.19 4 8 4s1.5-.48 1.81-1.17c.16.06.32.11.46.17-.17.3-.27.64-.27 1 0 1.1.9 2 2 2 .36 0 .7-.1 1-.27.07.15.12.3.17.46C12.48 6.5 12 7.19 12 8s.48 1.5 1.17 1.81z"],Go=["M2 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6C.9 6 0 6.9 0 8s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM8 0C6.9 0 6 .9 6 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM8 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],qo=["M2 6C.9 6 0 6.9 0 8s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM2 1C.9 1 0 1.9 0 3s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm5 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Wo=["M14.5 12.07V9.93c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2-.93 0-1.71.64-1.93 1.5H9.93c-.18-.7-.73-1.25-1.43-1.43V3.93c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S6 .9 6 2c0 .93.64 1.71 1.5 1.93v2.14c-.7.18-1.25.73-1.43 1.43H3.93C3.71 6.64 2.93 6 2 6 .9 6 0 6.9 0 8c0 .93.64 1.71 1.5 1.93v2.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93V9.93c.7-.18 1.25-.73 1.43-1.43h2.14c.18.7.73 1.25 1.43 1.43v2.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93V9.93c.7-.18 1.25-.73 1.43-1.43h2.14c.18.7.73 1.25 1.43 1.43v2.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93z"],Ko=["M14 6c-.93 0-1.71.64-1.93 1.5H9.93C9.71 6.64 8.93 6 8 6s-1.71.64-1.93 1.5H3.93C3.71 6.64 2.93 6 2 6 .9 6 0 6.9 0 8s.9 2 2 2c.93 0 1.71-.64 1.93-1.5h2.13C6.29 9.36 7.07 10 8 10s1.71-.64 1.93-1.5h2.13c.22.86 1 1.5 1.93 1.5 1.1 0 2-.9 2-2C16 6.9 15.1 6 14 6z"],$o=["M2 6C.9 6 0 6.9 0 8s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM2 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6-3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM8 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Yo=["M2 6C.9 6 0 6.9 0 8s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM8 9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Xo=["M8.441 1.104a.985.985 0 00-.882 0L.365 5c-.487.253-.487.747 0 1L7.56 9.896a.985.985 0 00.882 0L15.635 6c.487-.253.487-.747 0-1L8.44 1.104z","M14 5.5l.016 4.514c.002.548.447.99.994.99a.99.99 0 00.99-.99V5.5h-2zM3.371 9.047l4.387 2.432a.5.5 0 00.485 0l4.39-2.432a.25.25 0 01.371.218v2.955a.25.25 0 01-.134.222l-4.635 2.436a.5.5 0 01-.466 0l-4.635-2.436A.25.25 0 013 12.22V9.265a.25.25 0 01.371-.218z"],Zo=["M6.6 3.3C6.1 3.1 5.6 3 5 3 2.2 3 0 5.2 0 8s2.2 5 5 5c.6 0 1.1-.1 1.6-.3C5.3 11.6 4.5 9.9 4.5 8s.8-3.6 2.1-4.7zM8 4c-1.2.9-2 2.4-2 4s.8 3.1 2 4c1.2-.9 2-2.3 2-4s-.8-3.1-2-4zm3-1c2.8 0 5 2.2 5 5s-2.2 5-5 5c-.6 0-1.1-.1-1.6-.3 1.3-1.1 2.1-2.9 2.1-4.7s-.8-3.5-2.1-4.7c.5-.2 1-.3 1.6-.3zm.35 1.02c.73 1.15 1.14 2.52 1.14 3.98s-.42 2.83-1.14 3.98c2.04-.18 3.64-1.9 3.64-3.98s-1.6-3.8-3.64-3.98z"],Qo=["M1 9h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm4 3H1c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1zm7-1c0 .28.11.53.29.71l.3.29H9c-.55 0-1 .45-1 1s.45 1 1 1h3.59l-.29.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2A1.003 1.003 0 0012 11zM1 4h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1z"],Jo=["M13.287 5.958a1 1 0 00-.574-1.916l-10 3c-.95.285-.95 1.631 0 1.916l10 3a1 1 0 00.574-1.916L6.48 8l6.807-2.042z"],ei=["M13.287 3.958a1 1 0 00-.575-1.916l-10 3c-.95.285-.95 1.63 0 1.916l10 3a1 1 0 00.575-1.916L6.48 6l6.807-2.042zM13 12H3a1 1 0 000 2h10a1 1 0 000-2z"],ti=["M9.405 11.746C8.968 11.91 8.495 12 8 12c-.494 0-.968-.09-1.405-.254l-.702 1.873C6.548 13.865 7.258 14 8 14c.742 0 1.452-.135 2.107-.38l-.702-1.874zm2.341-2.341l1.873.702C13.865 9.452 14 8.742 14 8c0-.742-.135-1.452-.38-2.107l-1.874.702c.164.437.254.91.254 1.405 0 .494-.09.968-.254 1.405zM9.405 4.254l.702-1.873A5.987 5.987 0 008 2c-.742 0-1.452.135-2.107.38l.702 1.874C7.032 4.09 7.505 4 8 4c.494 0 .968.09 1.405.254zM4.254 6.595L2.38 5.893A5.987 5.987 0 002 8c0 .742.135 1.452.38 2.107l1.874-.702A3.991 3.991 0 014 8c0-.494.09-.968.254-1.405zM8 16A8 8 0 118 0a8 8 0 010 16zm0-6a2 2 0 100-4 2 2 0 000 4z"],ni=["M9.01 14h-2c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1s-.44-1-1-1zm1-3h-4c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.44-1-1-1zm-2-11C5.26 0 3.03 1.95 3.03 4.35c0 2.37 1.63 2.64 1.94 5.22 0 .24.22.44.5.44h5.09c.28 0 .5-.19.5-.44C11.37 6.99 13 6.72 13 4.35 13 1.95 10.77 0 8.01 0z"],ri=["M7 9H5a1 1 0 01-1-1L4.89.876A1 1 0 015.884 0h4.27a.847.847 0 01.793 1.144L9.125 6h2.05a.825.825 0 01.754 1.16L8.16 15.64A.606.606 0 017 15.394V9z"],oi=["M4.99 11.99c.28 0 .53-.11.71-.29l6-6a1.003 1.003 0 00-1.42-1.42l-6 6a1.003 1.003 0 00.71 1.71zm3.85-2.02L6.4 12.41l-1 1-.01-.01c-.36.36-.85.6-1.4.6-1.1 0-2-.9-2-2 0-.55.24-1.04.6-1.4l-.01-.01 1-1 2.44-2.44c-.33-.1-.67-.16-1.03-.16-1.1 0-2.09.46-2.81 1.19l-.02-.02-1 1 .02.02c-.73.72-1.19 1.71-1.19 2.81 0 2.21 1.79 4 4 4 1.1 0 2.09-.46 2.81-1.19l.02.02 1-1-.02-.02c.73-.72 1.19-1.71 1.19-2.81 0-.35-.06-.69-.15-1.02zm7.15-5.98c0-2.21-1.79-4-4-4-1.1 0-2.09.46-2.81 1.19l-.02-.02-1 1 .02.02c-.72.72-1.19 1.71-1.19 2.81 0 .36.06.69.15 1.02l2.44-2.44 1-1 .01.01c.36-.36.85-.6 1.4-.6 1.1 0 2 .9 2 2 0 .55-.24 1.04-.6 1.4l.01.01-1 1-2.43 2.45c.33.09.67.15 1.02.15 1.1 0 2.09-.46 2.81-1.19l.02.02 1-1-.02-.02a3.92 3.92 0 001.19-2.81z"],ii=["M1 3h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 10H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],ai=["M6 1c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1h5zm9-12c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1h5zm0 4c.55 0 1 .45 1 1s-.45 1-1 1h-5c-.55 0-1-.45-1-1s.45-1 1-1h5z"],li=["M6 9H1c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm0 4H1c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm9-12h-5c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM6 5H1c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H1c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1z"],si=["M15 7h-.09A6.98 6.98 0 009 1.1V1c0-.55-.45-1-1-1S7 .45 7 1v.09A6.98 6.98 0 001.1 7H1c-.55 0-1 .45-1 1s.45 1 1 1h.1A6.969 6.969 0 007 14.91V15c0 .55.45 1 1 1s1-.45 1-1v-.09A6.98 6.98 0 0014.9 9h.1c.55 0 1-.45 1-1s-.45-1-1-1zm-6.02 5.9c-.05-.5-.46-.9-.98-.9s-.93.4-.98.9A5.017 5.017 0 013.1 8.98c.5-.05.9-.46.9-.98s-.4-.93-.9-.98A5.017 5.017 0 017.02 3.1c.05.5.46.9.98.9s.93-.4.98-.9c1.97.39 3.52 1.95 3.92 3.92-.5.05-.9.46-.9.98s.4.93.9.98a5.017 5.017 0 01-3.92 3.92zM8 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],ci=["M13.96 7H12V3.95C12 1.77 10.21 0 8 0S4 1.77 4 3.95V7H1.96c-.55 0-.96.35-.96.9v6.91c0 .54.41 1.19.96 1.19h12c.55 0 1.04-.65 1.04-1.19V7.9c0-.55-.49-.9-1.04-.9zM6 7V3.95c0-1.09.9-1.97 2-1.97s2 .88 2 1.97V7H6z"],ui=["M0 2v12h1.706a.523.523 0 00.443-.257c1.847-3.056 3.803-1.42 4.701.004a.529.529 0 00.444.253h.412a.523.523 0 00.443-.257c1.847-3.056 3.803-1.42 4.701.004a.529.529 0 00.444.253h.982a.3.3 0 00.212-.512L13 12c4.4-2.4 1.833-5 0-6V4l1.146-1.146A.5.5 0 0013.793 2h-3.586a.5.5 0 00-.353.854L11 4v2H8V2a1 1 0 00-1-1H1a1 1 0 00-1 1zm1 5h3V2H1v5zm6 0H5V2h2v5z","M4.5 16a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm0-1a.5.5 0 100-1 .5.5 0 000 1zM10.5 16a1.5 1.5 0 100-3 1.5 1.5 0 000 3zm0-1a.5.5 0 100-1 .5.5 0 000 1z"],di=["M11 8c0-.28-.11-.53-.29-.71l-3-3a1.003 1.003 0 00-1.42 1.42L7.59 7H1c-.55 0-1 .45-1 1s.45 1 1 1h6.59L6.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71zm4-8H9c-.55 0-1 .45-1 1s.45 1 1 1h5v12H9c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],hi=["M7 14H2V2h5c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zm8.71-6.71l-3-3a1.003 1.003 0 00-1.42 1.42L12.59 7H6c-.55 0-1 .45-1 1s.45 1 1 1h6.59l-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],fi=["M8 0a1 1 0 00-1 1v1H3v-.5a.5.5 0 00-1 0V2a1 1 0 000 2v1h-.5a.5.5 0 000 1h2a.5.5 0 000-1H3V4h4v11a1 1 0 102 0V4h4v1h-.5a.5.5 0 000 1h2a.5.5 0 000-1H14V4a1 1 0 100-2v-.5a.5.5 0 00-1 0V2H9V1a1 1 0 00-1-1z"],pi=["M15.99 1.13c-.02-.41-.33-.77-.78-.87C12.26-.36 9.84.13 8 1.7 6.16.13 3.74-.36.78.26.33.35.03.72.01 1.13H0v12c0 .08 0 .17.02.26.12.51.65.82 1.19.71 2.63-.55 4.59-.04 6.01 1.57.02.03.06.04.08.06.02.02.03.04.05.06.04.03.09.04.13.07.05.03.09.05.14.07.11.04.23.07.35.07h.04c.12 0 .24-.03.35-.07.05-.02.09-.05.14-.07.04-.02.09-.04.13-.07.02-.02.03-.04.05-.06.03-.02.06-.03.08-.06 1.42-1.6 3.39-2.12 6.01-1.57.54.11 1.07-.21 1.19-.71.04-.09.04-.18.04-.26l-.01-12zM7 12.99c-1.4-.83-3.07-1.14-5-.93V1.96c2.11-.28 3.75.2 5 1.46v9.57zm7-.92c-1.93-.21-3.6.1-5 .93V3.42c1.25-1.26 2.89-1.74 5-1.46v10.11z"],vi=["M1 8h3.76l2-2H1c-.55 0-1 .45-1 1s.45 1 1 1zm14.49-4.01c.31-.32.51-.76.51-1.24C16 1.78 15.22 1 14.25 1c-.48 0-.92.2-1.24.51l-1.44 1.44 2.47 2.47 1.45-1.43zM1 4h7.76l2-2H1c-.55 0-1 .45-1 1s.45 1 1 1zm0 6c-.55 0-1 .45-1 1 0 .48.35.86.8.96L2.76 10H1zm9.95-6.43l-6.69 6.69 2.47 2.47 6.69-6.69-2.47-2.47zm4.25 2.47L13.24 8H15c.55 0 1-.45 1-1 0-.48-.35-.86-.8-.96zM2 15l3.86-1.39-2.46-2.44L2 15zm13-5h-3.76l-2 2H15c.55 0 1-.45 1-1s-.45-1-1-1z"],mi=["M3 3a1 1 0 100 2 1 1 0 000-2zm3 1c0 .047-.001.094-.003.14.255.081.538.209.832.41.406.28.8.676 1.171 1.225.37-.549.765-.945 1.171-1.224a3.14 3.14 0 01.832-.411 3 3 0 11.77 1.87 1.038 1.038 0 00-.47.19c-.291.2-.752.672-1.227 1.8.475 1.128.936 1.6 1.227 1.8.183.126.336.173.47.19a3 3 0 11-.77 1.87 3.141 3.141 0 01-.832-.41c-.406-.28-.8-.676-1.171-1.225-.37.549-.765.945-1.171 1.224-.294.202-.577.33-.832.411a3 3 0 11-.77-1.87c.134-.017.287-.064.47-.19.291-.2.752-.672 1.227-1.8-.475-1.128-.936-1.6-1.227-1.8a1.038 1.038 0 00-.47-.19A3 3 0 116 4zm6 0a1 1 0 112 0 1 1 0 01-2 0zm-9 7a1 1 0 100 2 1 1 0 000-2zm9 1a1 1 0 112 0 1 1 0 01-2 0z"],gi=["M3 2a1 1 0 100 2 1 1 0 000-2zm0-2c1.385 0 2.551.94 2.896 2.215.168.044.34.096.51.158 1.076.394 2.237 1.242 2.575 2.93.161.809.664 1.211 1.293 1.443a3 3 0 110 2.508c-.629.232-1.132.634-1.293 1.442-.338 1.69-1.499 2.537-2.575 2.93a5.436 5.436 0 01-.51.159A3.001 3.001 0 010 13a3 3 0 015.726-1.254c.629-.232 1.132-.634 1.293-1.442.216-1.076.765-1.81 1.413-2.304-.648-.493-1.197-1.228-1.413-2.304-.161-.808-.664-1.21-1.293-1.442A3 3 0 113 0zm1 13a1 1 0 10-2 0 1 1 0 002 0zm8-5a1 1 0 102 0 1 1 0 00-2 0z"],yi=["M15.55 3.17l-4.49-3A.975.975 0 009.99.15L5.53 2.82 1.56.17A1.003 1.003 0 000 1v11c0 .35.18.65.45.83l4.49 3a.975.975 0 001.07.02l4.46-2.67 3.97 2.65A1.003 1.003 0 0016 15V4c0-.35-.18-.65-.45-.83zM5 13.46l-3-2v-8.6l2.94 1.96c.02.02.04.03.06.04v8.6zm5-2.32s-.01 0-.01.01L6 13.53V4.86s.01 0 .01-.01L10 2.47v8.67zm4 1.99l-2.94-1.96c-.02-.01-.04-.02-.05-.03v-8.6l3 2v8.59z"],bi=["M14 6.82v6.32l-2.94-1.96c-.02-.01-.04-.02-.05-.03V6.22c-.08-.07-.15-.16-.22-.24-.28-.02-.54-.08-.79-.16v5.32s-.01 0-.01.01L6 13.53V4.86s.01 0 .01-.01l2.05-1.23C8.02 3.42 8 3.21 8 3c0-.98.47-1.84 1.2-2.39l-3.67 2.2L1.56.17A1.003 1.003 0 000 1v11c0 .35.18.65.45.83l4.49 3a.975.975 0 001.07.02l4.46-2.67 3.97 2.65A1.003 1.003 0 0016 15V5.82c-.25.09-.52.14-.8.16-.33.36-.73.67-1.2.84zm-9 6.64l-3-2v-8.6l2.94 1.96c.02.02.04.03.06.04v8.6zM11 4h1v1c0 .55.45 1 1 1s1-.45 1-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1z"],wi=["M8.46 0C5.42 0 2.95 2.39 2.95 5.33 2.95 8.28 8.46 16 8.46 16s5.51-7.72 5.51-10.67C13.96 2.39 11.5 0 8.46 0zm0 8a2.5 2.5 0 010-5 2.5 2.5 0 010 5z"],_i=["M5.99 8.99c-.28 0-.53.11-.71.29l-3.29 3.29v-1.59c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.41L6.7 10.7a1.003 1.003 0 00-.71-1.71zm9-9h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59l-3.3 3.3a.99.99 0 00-.29.7 1.003 1.003 0 001.71.71l3.29-3.29V5c0 .55.45 1 1 1s1-.45 1-1V1c0-.56-.45-1.01-1-1.01z"],Ei=["M11.99 6.99c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-5h-14c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-10c0-.55-.45-1-1-1zm-1 9l-5-3-1 2-3-4-3 5v-7h12v7z"],xi=["M1 4h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 8H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm0-5H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],Si=["M14.99 6.99h-9c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zm-12-2c-.28 0-.53.11-.71.29l-2 2a1.014 1.014 0 000 1.42l2 2a1.003 1.003 0 001.71-.71v-4c0-.55-.45-1-1-1zm3-1h9c.55 0 1-.45 1-1s-.45-1-1-1h-9c-.55 0-1 .45-1 1s.45 1 1 1zm9 8h-9c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1z"],Oi=["M9.99 11.99h-9c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zm0-5h-9c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zm0-5h-9c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zm5.71 5.3l-2-2a1.003 1.003 0 00-1.71.71v4a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71s-.11-.53-.29-.71z"],Ci=["M5.71 5.29a1.003 1.003 0 00-1.42 1.42l.3.29H2V2h3v1.51c.52.06.99.29 1.34.65l.66.66V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-3.82l-.66.66c-.35.35-.82.59-1.34.65V14H2V9h2.59l-.3.29a1.003 1.003 0 001.42 1.42l2-2C7.89 8.53 8 8.28 8 8c0-.28-.11-.53-.29-.71l-2-2zM15 0h-5c-.55 0-1 .45-1 1v3.82l.66-.66c.35-.35.82-.59 1.34-.65V2h3v5h-2.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C8.11 7.47 8 7.72 8 8c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H14v5h-3v-1.51c-.52-.06-.99-.29-1.34-.65L9 11.18V15c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],Mi=["M8 7c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 3c-.93 0-1.71.64-1.93 1.5H11V3c0-1.66-1.34-3-3-3S5 1.34 5 3v4.5H3.93C3.71 6.64 2.93 6 2 6 .9 6 0 6.9 0 8s.9 2 2 2c.93 0 1.71-.64 1.93-1.5H5V13c0 1.66 1.34 3 3 3s3-1.34 3-3V8.5h1.07c.22.86 1 1.5 1.93 1.5 1.1 0 2-.9 2-2s-.9-2-2-2zm-4 7c0 1.1-.9 2-2 2s-2-.9-2-2V3c0-1.1.9-2 2-2s2 .9 2 2v10z"],zi=["M15.99.99a1.003 1.003 0 00-1.71-.71l-3.29 3.29V1.99c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H12.4l3.3-3.29c.18-.18.29-.43.29-.71zm-10 8h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59L.29 14.28a1.003 1.003 0 001.42 1.42L5 12.41V14c0 .55.45 1 1 1s1-.45 1-1v-4a1.02 1.02 0 00-1.01-1.01z"],Pi=["M13 7H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1z"],Ti=["M12 0H4c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM8 15c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm3-3H5V3h6v9z"],Ai=["M15 4c-.28 0-.53.11-.71.29L12 6.59V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V9.41l2.29 2.29c.18.19.43.3.71.3.55 0 1-.45 1-1V5c0-.55-.45-1-1-1z"],Li=["M15 1a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V2a1 1 0 011-1h14zm-1 4H2v8h12V5zm-3-3H9v2h2V2zm3 0h-2v2h2V2z"],ki=["M15 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm1 4H0V3h16v2zm-3-2h-2V1h2v2z"],Ni=["M14.745 14H1.255A1.251 1.251 0 010 12.704C.058 11.21.223 8.66.7 6.42c.255-1.196.599-2.303 1.063-3.111C2.24 2.48 2.823 2 3.53 2c.752 0 1.322.305 1.777.775.455.469.79 1.094 1.078 1.72.08.175.166.37.248.56l.003.006c.192.443.372.854.539 1.151.113.202.25.413.424.57.159.141.32.218.528.218.707 0 1.12-.436 1.505-.88l.003-.004.107-.122c.222-.249.461-.499.771-.685.308-.186.686-.309 1.19-.309.575 0 1.107.325 1.591.878.48.545.9 1.298 1.265 2.127.66 1.504 1.13 3.254 1.41 4.468A1.25 1.25 0 0114.744 14z"],Ii=["M15 11.38A7.835 7.835 0 017.85 16C3.51 16 0 12.49 0 8.15 0 4.97 1.89 2.23 4.62 1c-.45.99-.7 2.08-.7 3.23a7.85 7.85 0 007.85 7.85c1.15 0 2.24-.25 3.23-.7z"],Ri=["M2 6.03a2 2 0 100 4 2 2 0 100-4zM14 6.03a2 2 0 100 4 2 2 0 100-4zM8 6.03a2 2 0 100 4 2 2 0 100-4z"],Hi=["M16 13H3l6-9h1l2 2h1l3 7zm-2.5-3.5l-1-2.5h-1l-2-2-3 4.5L9 8l1 1 1-1 2.5 1.5zM5.94 7l-4.122 6H0l5-6h.94z"],Vi=["M15.71 7.29l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H9V3.41l.29.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2C8.53.11 8.28 0 8 0s-.53.11-.71.29l-2 2a1.003 1.003 0 001.42 1.42l.29-.3V7H3.41l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L3.41 9H7v3.59l-.29-.29A.965.965 0 006 12a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2a1.003 1.003 0 00-1.42-1.42l-.29.3V9h3.59l-.29.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Di=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14h-.15c-.03-.09-.04-.16-.08-.25-.34-.79-2.01-1.31-3.12-1.8-1.11-.49-.96-.79-1-1.2-.01-.06-.01-.12-.01-.18.38-.34.69-.8.89-1.33 0 0 .01-.03.01-.04.04-.12.08-.24.11-.36.25-.05.4-.33.46-.59.06-.1.18-.36.15-.65-.04-.37-.19-.55-.35-.62v-.06c0-.48-.04-1.16-.13-1.61-.02-.12-.05-.25-.08-.37-.16-.55-.51-1.05-.96-1.39C9.26 3.19 8.6 3 8 3c-.59 0-1.26.19-1.73.55-.45.35-.8.84-.96 1.39-.04.13-.06.25-.08.38-.09.45-.13 1.13-.13 1.61v.06c-.18.06-.33.24-.37.62-.03.29.09.54.15.65.06.26.21.54.47.59.03.12.07.25.11.36 0 .01.01.02.01.02v.01c.21.54.53 1.01.92 1.35 0 .05-.01.11-.01.16-.04.41.08.7-1.03 1.2-1.11.49-2.77 1.01-3.12 1.8-.04.09-.05.16-.08.25H2V2h12v12z"],ji=["M12 3.98H4c-.55 0-1 .45-1 1v1h8v5h1c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1zm3-3H7c-.55 0-1 .45-1 1v1h8v5h1c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1zm-6 6H1c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1zm-1 5H2v-3h6v3z"],Fi=["M15 0c-.07 0-.13.03-.19.04V.02l-10 2v.02C4.35 2.13 4 2.52 4 3v9.12c-.31-.07-.65-.12-1-.12-1.66 0-3 .9-3 2s1.34 2 3 2 3-.9 3-2V6.32l8-1.6v5.4c-.31-.07-.65-.12-1-.12-1.66 0-3 .9-3 2s1.34 2 3 2 3-.9 3-2V1c0-.55-.45-1-1-1z"],Bi=["M2 2c.55 0 1 .45 1 1v3c0 1.66 1.34 3 3 3h5.59L10.3 7.71A.965.965 0 0110 7a1.003 1.003 0 011.71-.71l3 3c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-3 3a1.003 1.003 0 01-1.42-1.42l1.3-1.29H6c-2.76 0-5-2.24-5-5V3c0-.55.45-1 1-1z"],Ui=["M14.9 11c.6 0 1 .5 1 1 0 .257-.073.44-.22.614l-.08.086-3 3c-.2.2-.4.3-.7.3-.5 0-1-.4-1-1 0-.257.073-.44.22-.614l.08-.086 3-3c.2-.2.4-.3.7-.3zM1.3.1l6.734 2.45a3.005 3.005 0 002.095 3.322 3.005 3.005 0 003.401 2.081L13.9 9.8v.2c0 .257-.073.44-.22.614l-.08.086-3 3c-.171.171-.343.27-.577.294L9.9 14h-.2l-5-1-.1-.01c-.231-.05-.45-.26-.56-.49L4 12.4l-4-11 .3-.3 5.8 5.8c-.1.2-.2.4-.2.6 0 .8.6 1.5 1.5 1.5s1.5-.7 1.5-1.5S8.2 6 7.4 6c-.16 0-.32.064-.48.14l-.12.06L1 .4l.3-.3zM13 0c.55 0 1 .45 1 1v1h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v1c0 .503-.376.922-.861.99l-.013.002A.999.999 0 0113 6l.097-.006-.027.004a1 1 0 01-.037.001L13 6c-.55 0-1-.45-1-1V4h-1a.993.993 0 01-.855-.482A1 1 0 0110 3c0-.55.45-1 1-1h1V1c0-.55.45-1 1-1z"],Gi=["M6 0H1C.45 0 0 .45 0 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm5 14c0-.55-.45-1-1-1s-1 .45-1 1v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1zM6 9H1c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1zm9 4c-.55 0-1 .45-1 1-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm-4-4h-1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1s1-.45 1-1c.55 0 1-.45 1-1s-.45-1-1-1zm4-9h-5c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm0 9h-1c-.55 0-1 .45-1 1s.45 1 1 1c0 .55.45 1 1 1s1-.45 1-1v-1c0-.55-.45-1-1-1z"],qi=["M13.982 6.272l1.518.868-.01.01c.3.17.51.48.51.85s-.21.68-.51.85l.01.01-7 4-.01-.01A.94.94 0 018 13a.94.94 0 01-.49-.15l-.01.01-7-4 .01-.01A.977.977 0 010 8c0-.37.21-.68.51-.86L.5 7.13l7-4 .01.02A.94.94 0 018 3c.086 0 .168.014.246.038a2 2 0 105.736 3.234zM14 3c.55 0 1 .45 1 1s-.45 1-1 1h-1v1c0 .55-.45 1-1 1s-1-.45-1-1V5h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V2c0-.55.45-1 1-1s1 .45 1 1v1h1z"],Wi=["M13 3h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V5H9a1 1 0 110-2h2V1a1 1 0 012 0v2zm-3-1.983V2H9a2 2 0 100 4h1v1c0 .279.057.544.16.785l-1.71.855c-.14.07-.29.11-.45.11-.16 0-.31-.04-.45-.11l-7-3.5a.992.992 0 01.07-1.81l6.99-3a1.006 1.006 0 01.79 0l1.6.687zm.91 7.66a2 2 0 003.085-1.54l.555-.277c.14-.07.29-.11.45-.11.55 0 1 .45 1 1 0 .39-.23.73-.55.89l-7 3.5c-.14.07-.29.11-.45.11-.16 0-.31-.04-.45-.11l-7-3.5C.23 8.48 0 8.14 0 7.75c0-.55.45-1 1-1 .16 0 .31.04.45.11L8 10.13l2.91-1.453zM15 10.25c.55 0 1 .45 1 1 0 .39-.23.73-.55.89l-7 3.5c-.14.07-.29.11-.45.11-.16 0-.31-.04-.45-.11l-7-3.5c-.32-.16-.55-.5-.55-.89 0-.55.45-1 1-1 .16 0 .31.04.45.1L8 13.63l6.55-3.27c.14-.07.29-.11.45-.11z"],Ki=["M15 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V5h1c.55 0 1-.45 1-1s-.45-1-1-1zm-3.5 6a2.5 2.5 0 00-2.45 2h-4.1a2.5 2.5 0 100 1h4.1a2.5 2.5 0 102.45-3z"],$i=["M8 4c0 .6.4 1 1 1h2v2c0 .6.4 1 1 1s1-.4 1-1V5h2c.6 0 1-.4 1-1s-.4-1-1-1h-2V1c0-.6-.4-1-1-1s-1 .4-1 1v2H9c-.6 0-1 .5-1 1zm6.5 2.5V7c0 1.4-1.1 2.5-2.5 2.5S9.5 8.4 9.5 7v-.5H9C7.6 6.5 6.5 5.4 6.5 4S7.6 1.5 9 1.5h.5V1c0-.3.1-.6.1-.8C9.1.1 8.6 0 8 0 3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8c0-.6-.1-1.3-.2-1.9-.4.3-.8.4-1.3.4z"],Yi=["M9.12 12.69c-1.17-.53-1.01-.85-1.05-1.29-.01-.06-.01-.12-.01-.19.4-.37.73-.87.94-1.44 0 0 .01-.03.01-.04.05-.14.09-.27.12-.4.27-.06.43-.36.49-.63.06-.11.19-.39.16-.7-.04-.41-.2-.6-.38-.68v-.07c0-.51-.05-1.25-.14-1.74-.02-.13-.05-.27-.09-.4-.17-.6-.53-1.14-1.01-1.52C7.66 3.2 6.96 3 6.33 3c-.62 0-1.33.2-1.82.59-.49.38-.85.92-1.02 1.52-.04.13-.07.26-.09.4-.09.49-.13 1.23-.13 1.74v.06c-.19.08-.35.27-.39.68-.03.31.1.59.16.7.06.28.22.59.5.64.03.14.07.27.11.4 0 .01.01.02.01.02v.01c.22.59.55 1.1.96 1.46 0 .06-.01.12-.01.17-.04.44.08.76-1.09 1.29-1.17.53-2.93 1.1-3.29 1.95-.35.87-.2 1.37-.2 1.37h12.6s.15-.5-.22-1.36c-.36-.85-2.12-1.42-3.29-1.95zM14.89 2h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1z"],Xi=["M9.82 11.66l2.48-2.87c.12-.2.13-.37.04-.53-.11-.19-.3-.26-.52-.26h-1.29c-.27 0-.49.13-.63.34L8.44 9.9 6.95 8a.482.482 0 00-.08-.1L5.82 6.55c.57-.24 1.04-.57 1.42-1.01.49-.57.74-1.27.74-2.08 0-.51-.1-.99-.32-1.42-.21-.43-.51-.8-.89-1.11A4.1 4.1 0 005.42.24C4.91.08 4.34 0 3.72 0H.61C.26 0 0 .23 0 .56v9.89c0 .33.26.55.61.55h.8c.36 0 .61-.23.61-.56V6.99H3.3l3.73 4.74-2.71 3.48c-.12.2-.13.37-.04.53.11.19.3.26.52.26h1.27c.27 0 .51-.12.64-.34l1.69-2.15 1.66 2.14c.12.21.34.35.62.35h1.43c.2 0 .39-.08.5-.25.12-.18.09-.38-.02-.55l-2.77-3.54zM4.18 5H1.99V2.02h2.19c.62 0 1.08.13 1.38.37.29.22.44.62.44 1.08 0 .45-.15.94-.44 1.17-.31.23-.76.36-1.38.36zM15 2h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1zM9.99 3.01c0 .02.01.04.01.06V2.95c0 .02-.01.04-.01.06z"],Zi=["M5 6.5c0 .28.22.5.5.5H7v3.5c0 .28.22.5.5.5s.5-.22.5-.5V7h1.5c.28 0 .5-.22.5-.5S9.78 6 9.5 6h-4c-.28 0-.5.22-.5.5zM15 2h-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V4h1c.55 0 1-.45 1-1s-.45-1-1-1zm-2 5c-.55 0-1 .45-1 1v5H3V4h5c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h11c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1z"],Qi=["M16 5s-2.52 2.11-4.96 1.99C11.03 4.89 10.39.23 5 0c0 0 2.11 2.54 1.96 4.99C4.86 5.01.23 5.65 0 11c0 0 2.56-2.12 5.02-1.95.02 2.11.67 6.72 5.98 6.95 0 0-2.09-2.54-1.94-4.99 2.11-.02 6.71-.68 6.94-6.01zM8 9.5c-.83 0-1.5-.67-1.5-1.5S7.17 6.5 8 6.5s1.5.67 1.5 1.5S8.83 9.5 8 9.5z"],Ji=["M7.58 5l.44-2.196a1 1 0 011.96.392L9.62 5H13a1 1 0 010 2H9.22l-.4 2H13a1 1 0 010 2H8.42l-.44 2.196a1 1 0 01-1.96-.392L6.38 11H3a1 1 0 010-2h3.78l.4-2H3a1 1 0 110-2h4.58z"],ea=["M8 16c1.1 0 2-.9 2-2H6c0 1.1.9 2 2 2zm6-5c-.55 0-1-.45-1-1V6c0-2.43-1.73-4.45-4.02-4.9 0-.04.02-.06.02-.1 0-.55-.45-1-1-1S7 .45 7 1c0 .04.02.06.02.1A4.992 4.992 0 003 6v4c0 .55-.45 1-1 1s-1 .45-1 1 .45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z"],ta=["M9 14c0 1.1-.9 2-2 2s-2-.9-2-2zM7 0c.404 0 .755.243.912.59L7.9.6c-.7.6-.9 1.36-.9 1.9 0 .8.267 1.433.8 1.9-.533.6-.795 1.222-.784 1.867l.004.358A2.8 2.8 0 009.82 9.4L12 9.399V10c0 .51.388.935.884.993L13 11c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1 1-.45 1-1V6c0-2.43 1.73-4.45 4.02-4.9L6 1c0-.55.45-1 1-1z","M13 6.702a.632.632 0 00-.632-.632h-1.743l2.208-2.734A.75.75 0 0013 2.864v-.3A.565.565 0 0012.435 2H9.561a.561.561 0 100 1.123h1.814L9.221 5.795A1 1 0 009 6.423v.279c0 .349.283.631.632.631h2.736A.632.632 0 0013 6.702z"],na=["M8 16c1.1 0 2-.9 2-2H6c0 1.1.9 2 2 2zm3.399-13.667l-.413.412A2.99 2.99 0 009 1.99a3 3 0 00-3 2.99c0 .8.32 1.558.876 2.114l2.002 1.992A2.99 2.99 0 0013 9.184V10c0 .55.45 1 1 1s1 .45 1 1-.45 1-1 1H2c-.55 0-1-.45-1-1s.45-1 1-1 1-.45 1-1V6c0-2.43 1.73-4.45 4.02-4.9 0-.04-.02-.06-.02-.1 0-.55.45-1 1-1s1 .45 1 1c0 .04-.02.06-.02.1a4.97 4.97 0 012.419 1.233zM10.29 7.67l-2-1.99a.99.99 0 01-.29-.7 1 1 0 011-.99c.27 0 .52.11.7.29l1.29 1.29 3.28-3.28c.18-.18.42-.29.7-.29.55 0 1 .44 1 .99 0 .28-.11.52-.3.7l-3.98 3.98a.99.99 0 01-1.4 0z"],ra=["M2.76 7h1.26V0h-.94c-.04.21-.12.39-.25.54-.13.15-.29.27-.48.36-.18.09-.39.16-.62.2-.23.04-.46.06-.71.06v.9h1.74V7zm-.59 7.17c.18-.12.37-.25.58-.37a10.763 10.763 0 001.24-.83c.2-.16.37-.33.52-.51.15-.19.28-.39.37-.61.09-.22.14-.47.14-.74 0-.22-.04-.45-.12-.7-.08-.26-.21-.49-.4-.69-.18-.21-.43-.39-.72-.52-.3-.14-.68-.21-1.12-.21-.41 0-.77.07-1.08.2-.32.14-.58.32-.8.56-.22.23-.38.51-.49.84-.11.32-.16.67-.16 1.05h1.19c.01-.24.03-.47.08-.67.05-.21.11-.39.21-.54.09-.15.22-.27.38-.36.16-.09.35-.13.59-.13.26 0 .47.04.63.12.16.08.29.18.38.3.09.12.15.25.18.39s.05.27.05.4c-.01.27-.08.5-.22.71-.14.21-.32.4-.53.57-.22.18-.45.34-.71.49-.26.15-.51.31-.74.47-.5.31-.89.68-1.17 1.11-.3.41-.44.91-.45 1.48h5v-1H1.43c.05-.15.14-.29.27-.43.14-.13.29-.26.47-.38zM15.01 1.99h-7c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-1c0-.55-.44-1-1-1zm0 9h-7c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-1c0-.55-.44-1-1-1z"],oa=["M2.79 4.61c-.13.17-.29.3-.48.41-.18.11-.39.18-.62.23-.23.04-.46.07-.71.07v1.03h1.74V12h1.26V4h-.94c-.04.23-.12.44-.25.61zm4.37 5.31c.18-.14.37-.28.58-.42l.63-.45c.21-.16.41-.33.61-.51s.37-.38.52-.59c.15-.21.28-.45.37-.7.09-.25.13-.54.13-.85 0-.25-.04-.52-.12-.8-.07-.29-.2-.55-.39-.79a2.18 2.18 0 00-.73-.6c-.29-.15-.66-.23-1.11-.23-.41 0-.77.08-1.08.23-.31.16-.58.37-.79.64-.22.27-.38.59-.49.96-.11.37-.16.77-.16 1.2h1.19c.01-.27.03-.53.08-.77.04-.24.11-.45.21-.62.09-.18.22-.32.38-.42.16-.1.35-.15.59-.15.26 0 .47.05.63.14.15.09.28.21.37.35.09.14.15.29.18.45.03.16.05.31.05.45-.01.31-.08.58-.22.82-.14.23-.32.45-.53.65-.22.21-.46.39-.71.57-.26.18-.51.36-.75.54-.5.36-.89.78-1.17 1.27-.28.49-.43 1.06-.44 1.71h5v-1.15H6.43c.05-.17.14-.33.27-.49.13-.15.29-.29.46-.44zm8.5-1.56c-.23-.35-.54-.57-.95-.65v-.02c.34-.13.6-.34.76-.63.16-.29.24-.63.24-1.02 0-.34-.06-.64-.19-.9s-.3-.47-.51-.64c-.21-.17-.45-.3-.72-.38-.27-.09-.54-.13-.82-.13-.36 0-.68.07-.96.2-.28.13-.53.32-.72.55-.2.23-.36.51-.47.83-.11.32-.18.66-.19 1.04h1.15c-.01-.2.01-.39.06-.58.05-.19.12-.36.22-.51.1-.15.22-.27.37-.36.15-.09.32-.13.53-.13.32 0 .59.1.79.3.21.2.31.46.31.79 0 .23-.05.43-.14.59-.09.16-.21.29-.35.38-.15.09-.32.16-.51.19-.19.04-.38.05-.57.04v.93c.23-.01.45 0 .67.02.22.02.42.08.59.17.18.09.32.23.43.4.11.18.16.41.16.71 0 .44-.13.78-.39 1.02s-.58.36-.97.36c-.45 0-.79-.16-1.02-.47-.23-.31-.33-.7-.32-1.17H11c.01.4.06.77.17 1.1.11.33.26.61.47.85.21.23.46.42.77.54.31.13.67.19 1.08.19.34 0 .66-.05.96-.16.3-.11.57-.27.8-.47.23-.2.41-.45.55-.74.13-.27.2-.6.2-.97 0-.5-.11-.92-.34-1.27z"],ia=["M15 5h-3V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h3v-4h4v4h7c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM5 10H2V7h3v3zm0-5H2V2h3v3zm5 5H7V7h3v3zm0-5H7V2h3v3zm4 9h-2v-2h2v2zm0-4h-2V7h2v3z"],aa=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zM6 14l1-5H4l6-7-1 5h3l-6 7z"],la=["M15 14h-1.35l-3.34-7.51 2.46-.95 1.45 3.21c.09.2.36.3.6.23.1-.03.18-.08.24-.15.05-.08 1.23-1.56.87-4.2-.11-.79-.52-4.62-3.26-4.62-.93 0-1.68.62-1.67 1.37 0 .14.03.28.09.42l.87 1.92L.64 8.07v.01A.98.98 0 000 9c0 .55.45 1 1 1 .13 0 .25-.03.36-.07v.01l1.04-.4L3.67 14H2c-.55 0-1 .45-1 1s.45 1 1 1h13c.55 0 1-.45 1-1s-.45-1-1-1zM4.27 8.81L7.14 7.7 5.2 12.08l-.93-3.27zM6.54 14L9 8.46 11.46 14H6.54z"],sa=["M11.99-.01h-3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-14c0-.55-.45-1-1-1zm-6 5c-.28 0-.53.11-.71.29l-2 2a1.014 1.014 0 000 1.42l2 2a1.003 1.003 0 001.71-.71v-4c0-.55-.45-1-1-1z"],ca=["M14 3a1 1 0 11-2 0 1 1 0 012 0zm-3.726 1.254a3 3 0 10-.17-2.039 5.467 5.467 0 00-.51.158c-1.076.394-2.237 1.242-2.575 2.93-.161.809-.664 1.211-1.293 1.443a3 3 0 100 2.508c.629.232 1.132.634 1.293 1.442.338 1.69 1.499 2.537 2.575 2.93.17.063.342.115.51.159a3.001 3.001 0 10.17-2.04c-.629-.231-1.132-.633-1.293-1.441C8.765 9.228 8.216 8.494 7.568 8c.648-.493 1.197-1.228 1.413-2.304.161-.808.664-1.21 1.293-1.442zM13 14a1 1 0 110-2 1 1 0 010 2zM4 8a1 1 0 10-2 0 1 1 0 002 0z"],ua=["M2 8a1 1 0 112 0 1 1 0 01-2 0zm3.83-1a3.001 3.001 0 100 2h4.34a3.001 3.001 0 100-2H5.83zM13 7a1 1 0 100 2 1 1 0 000-2z"],da=["M5 0h10c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1H8v-2h6V3H6v5H4V1c0-.55.45-1 1-1zm2.5 5h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-5c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h2c.28 0 .5-.22.5-.5S9.78 6 9.5 6h-2c-.28 0-.5.22-.5.5s.22.5.5.5zM11 8.5c0 .28-.165.5-.375.5h-2.25C8.165 9 8 8.78 8 8.5s.165-.5.375-.5h2.25c.21 0 .375.22.375.5zM5 14c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1h1.59L.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L5 12.41V14z"],ha=["M8 0c4.42 0 8 3.58 8 8 0 4.06-3.02 7.4-6.94 7.92-.02 0-.04.01-.06.01-.33.04-.66.07-1 .07-4.42 0-8-3.58-8-8 0-.55.45-1 1-1s1 .45 1 1c0 3.31 2.69 6 6 6 .71 0 1.37-.15 2-.38v.01c2.33-.82 4-3.02 4-5.63 0-3.31-2.69-6-6-6-1.78 0-3.36.78-4.46 2H5c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1s1 .45 1 1v1.74A7.95 7.95 0 018 0zm1 12H7v-2h2v2zm0-3H7V4h2v5z"],fa=["M15 .95H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-12c0-.55-.45-1-1-1zm-9 12H2v-6h4v6zm8 0H7v-6h7v6zm0-7H2v-3h12v3z"],pa=["M10 4h3v1h-3zM10 6h3v1h-3zM10 8h3v1h-3zM10 10h3v1h-3z","M15 1H1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zM8 12H2V3h6v9zm6 0H9V3h5v9z"],va=["M15 1H1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zM8 9H6V7h2v2zm0-3H6V4h2v2zm-6 6V3h3v9H2zm4 0v-2h2v2H6zm8 0H9v-2h5v2zm0-3H9V7h5v2zm0-3H9V4h5v2z"],ma=["M14.68 2.31A4.54 4.54 0 0011.46.99c-1.15 0-2.31.44-3.19 1.32L.95 9.63c-.63.63-.95 1.46-.95 2.28a3.21 3.21 0 003.23 3.22c.83 0 1.66-.31 2.3-.95l7.31-7.32c.76-.77.76-1.98.01-2.73s-1.99-.76-2.75 0l-6.07 6.08c-.24.25-.24.65.01.9s.65.25.91.01l6.07-6.08c.25-.25.67-.25.91-.01.25.25.25.67 0 .92l-7.31 7.32c-.75.75-2.04.74-2.76.01-.75-.75-.73-2.02.01-2.76L9.2 3.21c1.24-1.24 3.35-1.26 4.58-.03 1.24 1.24 1.24 3.36 0 4.6l-7.12 7.13c-.24.25-.24.64.01.88.24.24.63.24.88.01v.01l7.13-7.13A4.41 4.41 0 0016 5.51c0-1.16-.44-2.32-1.32-3.2z"],ga=["M13 1H6C3.8 1 2 2.8 2 5s1.8 4 4 4v5c0 .6.4 1 1 1s1-.5 1-1V3h2v11c0 .6.4 1 1 1s1-.5 1-1V3h1c.5 0 1-.4 1-1s-.4-1-1-1z"],ya=["M14.5 0h-13C.67 0 0 .67 0 1.5S.67 3 1.5 3H7v3H3.5C2.67 6 2 6.67 2 7.5S2.67 9 3.5 9H7v3H5.5c-.83 0-1.5.67-1.5 1.5S4.67 15 5.5 15h5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H9V9h3.5c.83 0 1.5-.67 1.5-1.5S13.33 6 12.5 6H9V3h5.5c.83 0 1.5-.67 1.5-1.5S15.33 0 14.5 0z"],ba=["M15 14.62l-4-2.4V9.77c-.32.09-.66.15-1 .18v2.27l-4 2.4V8.71c-.38-.31-.72-.66-1-1.06v6.97l-4-2.4V8c.55 0 1-.45 1-1s-.45-1-1-1V1.38l3.15 1.89c.08-.34.18-.66.32-.97L.76.07v.01A.496.496 0 00.5 0C.22 0 0 .22 0 .5v12c0 .18.1.33.25.42v.01l5 3v-.01c.07.05.16.08.25.08s.18-.03.25-.08v.01l4.74-2.85 4.74 2.85v-.01c.09.05.18.08.27.08.28 0 .5-.22.5-.5v-3.78c-.3.17-.63.28-1 .28v2.62zM2 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm6-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm7.75-.92l-1.19-.72c.18.43.29.9.36 1.38l.08.04v3.39l1 1V3.5c0-.18-.1-.33-.25-.42zM10 2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3.3 4.89c.44-.7.7-1.51.7-2.39C14 2.01 11.99 0 9.5 0S5 2.01 5 4.5 7.01 9 9.5 9c.88 0 1.69-.26 2.39-.7l2.41 2.41c.17.18.42.29.7.29a1.003 1.003 0 00.71-1.71l-2.41-2.4zM9.5 8C7.57 8 6 6.43 6 4.5S7.57 1 9.5 1 13 2.57 13 4.5 11.43 8 9.5 8z"],wa=["M6 3H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm6 0h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],_a=["M13.69 13.98c-.05-.24-.14-.5-.25-.76-.36-.86-1.12-1.33-2.69-2-.14-.06-.59-.25-.6-.25-.21-.09-.36-.15-.5-.22.02-.1.02-.2.03-.31 0-.04.01-.08.01-.13-.07-.06-.13-.12-.19-.19.22-.32.4-.67.54-1.05.02-.06.02-.06.03-.1.29-.23.48-.57.59-.96.16-.33.25-.73.21-1.16-.03-.4-.16-.76-.37-1.03-.02-.53-.07-1.13-.15-1.54-.01-.06-.02-.12-.03-.19.23-.06.48-.09.72-.09.49 0 1.05.16 1.44.46.38.29.67.7.8 1.17.03.1.05.21.07.31.07.37.11.94.11 1.33v.05c.14.06.27.21.29.51.02.25-.07.45-.13.54-.05.21-.16.44-.38.48-.02.1-.05.2-.09.3 0 .01-.01.03-.01.03-.17.44-.43.83-.75 1.11v.14c.03.35-.09.59.83 1 .93.41 2.32.84 2.6 1.5.29.66.17 1.04.17 1.04h-2.3zm-1.17-.38c.37.86.22 1.36.22 1.36H.06s-.14-.5.22-1.36 2.13-1.43 3.31-1.96c1.17-.54 1.05-.86 1.09-1.3 0-.05.01-.11.01-.17-.41-.35-.75-.86-.97-1.45v-.01s-.01-.01-.01-.02c-.04-.12-.09-.26-.12-.39-.28-.05-.44-.36-.5-.64-.06-.12-.19-.39-.16-.71.04-.41.21-.6.39-.68v-.06c0-.51.05-1.26.14-1.74.02-.13.05-.27.09-.4.17-.6.54-1.13 1.02-1.51.5-.39 1.21-.6 1.84-.6s1.34.21 1.84.6c.48.38.85.91 1.02 1.52.04.13.07.27.09.4.09.48.14 1.22.14 1.73v.07c.18.08.34.27.37.67.03.32-.09.59-.16.71-.06.28-.21.58-.48.63-.03.13-.07.26-.12.39 0 .01-.01.04-.01.04-.22.58-.55 1.08-.95 1.45v.18c.04.45-.12.77 1.06 1.3 1.18.53 2.95 1.09 3.31 1.95z"],Ea=["M6 6V4c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1c1.1 0 2-.9 2-2zM3.5 6c-.28 0-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5s.5.22.5.5v1c0 .28-.22.5-.5.5zM13 8h-1c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1c1.1 0 2-.9 2-2v-2c0-1.1-.9-2-2-2zm0 3.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5s.5.22.5.5v1zM12 3a1.003 1.003 0 00-1.87-.5l-5.99 9.98c-.09.15-.14.33-.14.52a1.003 1.003 0 001.87.5l5.99-9.98c.09-.15.14-.33.14-.52z"],xa=["M15.68 14.32c-.46-1.05-2.68-1.75-4.16-2.4-1.48-.65-1.28-1.05-1.33-1.59-.01-.07-.01-.15-.01-.23.51-.45.92-1.07 1.19-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.34-.07.54-.44.61-.78.08-.14.23-.48.2-.87-.05-.5-.25-.73-.47-.82v-.09c0-.63-.06-1.55-.17-2.15A3.671 3.671 0 0010.32.72C9.68.25 8.79-.01 8-.01c-.79 0-1.68.25-2.31.73-.61.47-1.06 1.13-1.28 1.86-.05.17-.09.33-.11.5-.12.6-.17 1.51-.17 2.15v.08c-.24.09-.45.32-.5.83-.03.38.13.72.2.86.08.35.28.72.63.78.04.17.09.33.15.49 0 .01.01.02.01.03l.01.01c.27.72.7 1.35 1.22 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.37 1.59-1.48.65-3.7 1.35-4.16 2.4-.46 1.05-.27 1.67-.27 1.67h15.92c-.01.01.18-.61-.28-1.66z"],Sa=["M15.9 12.41c-.06-.06-3.37-2-3.48-2.05a.794.794 0 00-.32-.08c-.15 0-.34.11-.57.32-.23.22-.94 1.19-1.15 1.4-.21.22-.38.32-.52.32-.07 0-.15-.02-.25-.06-.1-.04-1.16-.58-3.36-2.52-2.2-1.93-2.49-3.2-2.5-3.55 0-.14.11-.31.32-.52.22-.21.45-.41.7-.6.25-.19.49-.4.7-.62.22-.23.32-.42.32-.57 0-.11-.03-.21-.08-.32C5.66 3.46 3.66.15 3.59.08 3.44-.07 2.85 0 2.55.16.16 1.46-.03 3.2 0 3.89c.04.71.49 4.46 4.16 7.95C8.72 16.17 11.89 16 12.1 16c.69 0 2.82-.38 3.72-2.55.13-.32.25-.87.08-1.04z"],Oa=["M7 1.08c-3.37.5-5.97 3.4-5.97 6.92 0 3.87 3.13 7 6.98 7 3.52 0 6.42-2.61 6.91-6H7V1.08z","M8 0v8h8c0-4.42-3.58-8-8-8z"],Ca=["M9.41.92c-.51.51-.41 1.5.15 2.56L4.34 7.54C2.8 6.48 1.45 6.05.92 6.58l3.54 3.54-3.54 4.95 4.95-3.54 3.54 3.54c.53-.53.1-1.88-.96-3.42l4.06-5.22c1.06.56 2.04.66 2.55.15L9.41.92z"],Ma=["M4.57 7.02L.3 11.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.27-4.27c-.58-.35-1.07-.84-1.41-1.42zM15 8c-.55 0-1 .45-1 1v.59l-2.57-2.57c-.34.58-.83 1.07-1.41 1.41L12.59 11H12c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-4-3c0-1.66-1.34-3-3-3S5 3.34 5 5s1.34 3 3 3 3-1.34 3-3zM8 6c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],za=["M2 4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm0-4H1C.45 0 0 .45 0 1v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm11.71 4.29C13.53 4.11 13.28 4 13 4s-.53.11-.71.29l-2 2a1.003 1.003 0 001.42 1.42l.29-.3V9c0 1.66-1.34 3-3 3H7.41l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H9c2.76 0 5-2.24 5-5V7.41l.29.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2zM15 0H5c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],Pa=["M12 8c0-.35-.19-.64-.46-.82l.01-.02-6-4-.01.02A.969.969 0 005 3c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1 .21 0 .39-.08.54-.18l.01.02 6-4-.01-.02c.27-.18.46-.47.46-.82z"],Ta=["M4.293.293a1 1 0 011.414 1.414L4.414 3l1.293 1.293a1 1 0 01-1.414 1.414L3 4.414 1.707 5.707A1 1 0 01.293 4.293L1.586 3 .293 1.707A1 1 0 011.707.293L3 1.586 4.293.293z","M14.29 4.71L13 3.41V6a3 3 0 01-3 3H4a1 1 0 00-1 1v5a1 1 0 11-2 0v-5a3 3 0 013-3h6a1 1 0 001-1V3.41L9.71 4.7c-.18.19-.43.3-.71.3a1.003 1.003 0 01-.71-1.71l3-3c.18-.18.43-.29.71-.29.28 0 .53.11.71.29l3 3a1.003 1.003 0 01-1.42 1.42z","M16 13a3 3 0 11-6 0 3 3 0 016 0zm-2 0a1 1 0 11-2 0 1 1 0 012 0z"],Aa=["M13 7H9V3c0-.55-.45-1-1-1s-1 .45-1 1v4H3c-.55 0-1 .45-1 1s.45 1 1 1h4v4c0 .55.45 1 1 1s1-.45 1-1V9h4c.55 0 1-.45 1-1s-.45-1-1-1z"],La=["M14 5c-.24 0-.47.05-.68.13L9.97 2.34c.01-.11.03-.22.03-.34 0-1.1-.9-2-2-2S6 .9 6 2c0 .04.01.08.01.12L2.88 4.21C2.61 4.08 2.32 4 2 4 .9 4 0 4.9 0 6c0 .74.4 1.38 1 1.72v4.55c-.6.35-1 .99-1 1.73 0 1.1.9 2 2 2 .74 0 1.38-.4 1.72-1h4.55c.35.6.98 1 1.72 1 1.1 0 2-.9 2-2 0-.37-.11-.7-.28-1L14 9c1.11-.01 2-.9 2-2s-.9-2-2-2zm-4.01 7c-.73 0-1.37.41-1.71 1H3.73c-.18-.3-.43-.55-.73-.72V7.72c.6-.34 1-.98 1-1.72 0-.04-.01-.08-.01-.12l3.13-2.09c.27.13.56.21.88.21.24 0 .47-.05.68-.13l3.35 2.79c-.01.11-.03.22-.03.34 0 .37.11.7.28 1l-2.29 4z"],ka=["M8 8c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1S7 .45 7 1v6c0 .55.45 1 1 1zm3-5.32v2.34c1.21.91 2 2.35 2 3.98 0 2.76-2.24 5-5 5s-5-2.24-5-5c0-1.63.79-3.06 2-3.98V2.68C2.64 3.81 1 6.21 1 9c0 3.87 3.13 7 7 7s7-3.13 7-7c0-2.79-1.64-5.19-4-6.32z"],Na=["M16 6.41c0-1.01-.49-1.94-1.29-2.49-.43-1.92-2.07-3.28-4-3.28-.46 0-.92.08-1.35.24C8.83.31 8.11 0 7.34 0c-.9 0-1.74.44-2.28 1.16-.12-.01-.24-.02-.36-.02-1.31 0-2.42.89-2.77 2.17C.78 3.72 0 4.84 0 6.13c0 .38.07.76.21 1.12C.07 7.6 0 7.98 0 8.36c0 1.11.58 2.11 1.51 2.63.54.56 1.27.87 2.03.87.49 0 .95-.12 1.37-.36a2.85 2.85 0 002.18 1.04c.52 0 1.03-.14 1.47-.42.49.39 1.07.65 1.69.73 1.04 1.15 1.84 2.63 1.84 2.64 0 0 .28.49.26.49.77 0 1.41-.16 1.32-1.04 0 .02-.73-2.31-.73-2.31.41-.21.75-.55.97-.98.9-.52 1.47-1.53 1.47-2.61 0-.24-.03-.48-.08-.71.45-.52.7-1.21.7-1.92zm-1.23 1.02l-.15-.16-.61-.67c-.27-.29-.54-.94-.58-1.39l-.1-1.01c-.05-.59-.94-.58-.91.11 0 .02.1 1.01.1 1.01.03.29.12.62.24.93-.06-.01-.12-.02-.18-.02 0 0-2.06-.1-2.05-.11-.58-.02-.71.97-.04 1l2.05.11c.42.02 1.04.3 1.29.58l.49.54.02.05c.08.21.12.44.12.66 0 .74-.41 1.41-1.07 1.75l-.16.08-.07.18c-.15.38-.48.66-.88.74l-.54.11.7 2.2c-.38-.61-.95-1.43-1.62-2.14l-.12-.13-.17-.01c-.41-.03-.8-.17-1.14-.38l1.36-1.18c.35-.31.83-.44.99-.39 0 0 .63.17.62.18.63.16.83-.74.23-.97l-.62-.18c-.55-.16-1.33.18-1.79.58l-1.53 1.33-.31.26c-.35.29-.75.44-1.2.44-.64 0-1.23-.33-1.58-.86V9.15c0-.4.17-.79.27-.85 0 0 .52-.34.51-.35.71-.53.18-1.23-.49-.89 0-.01-.52.35-.52.35-.26.15-.45.44-.58.77-.11-.11-.22-.2-.34-.28 0 0-1.53-1.01-1.53-1.02-.65-.45-1.2.51-.49.89 0-.01 1.51 1.02 1.51 1.02.37.24.62.78.62 1.09v.67c-.34.19-.63.29-.99.29-.54 0-1.05-.23-1.41-.63l-.05-.06-.07-.04c-.65-.34-1.05-1-1.05-1.73 0-.3.07-.6.2-.87l.12-.25L1.15 7c-.13-.27-.2-.56-.2-.87 0-.9.61-1.68 1.48-1.89l.31-.08.05-.34a1.926 1.926 0 012.38-1.58l.32.08.18-.31c.35-.6.99-.97 1.67-.97.44 0 .86.15 1.2.42l-.36.36v-.01l-.25.26c-.33.27-.74.42-.89.4 0 0-.67-.1-.67-.11-.67-.13-.87.86-.14 1.02.01 0 .67.11.67.11.02 0 .05 0 .07.01-.11.37-.15.77-.1 1.12 0 0 .17.99.15.99.11.52 1.06.36.93-.18 0-.01-.15-.99-.15-.99-.05-.37.12-.94.36-1.19l.39-.4c.05-.05.1-.09.15-.14l.74-.76c.4-.18.83-.27 1.27-.27 1.55 0 2.86 1.12 3.11 2.67l.04.25.21.12c.61.35.98 1 .98 1.7 0 .36-.1.7-.28 1.01z"],Ia=["M10.91 8.34c.14-.21.36-.34.63-.34h1.29c.22 0 .41.07.52.26.09.16.08.33-.04.53l-2.49 2.87 2.77 3.54c.12.17.14.37.02.55-.11.17-.3.25-.5.25h-1.44a.69.69 0 01-.61-.35L9.4 13.51l-1.69 2.15c-.13.21-.36.34-.63.34H5.8c-.22 0-.41-.07-.52-.26-.09-.16-.08-.33.04-.53l2.71-3.48L4.3 6.99H3.03v3.47c0 .33-.26.56-.62.56h-.8c-.35-.01-.61-.23-.61-.56V.56c0-.33.26-.56.62-.56h3.11c.62 0 1.19.08 1.7.24.51.16.96.39 1.34.69a3.194 3.194 0 011.21 2.53c0 .81-.25 1.5-.74 2.08-.37.44-.84.77-1.42 1.01L7.88 7.9c.04.04.07.08.08.1l1.49 1.9 1.46-1.56zM5.18 5c.62 0 1.08-.13 1.39-.37.29-.23.44-.71.44-1.16s-.15-.87-.44-1.1C6.26 2.12 5.8 2 5.18 2H2.99v3h2.19z"],Ra=["M15 1H9c0-.55-.45-1-1-1S7 .45 7 1H1c-.55 0-1 .45-1 1s.45 1 1 1v8c0 .55.45 1 1 1h3.59L3.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L7 13.41V15c0 .55.45 1 1 1s1-.45 1-1v-1.59l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L10.41 12H14c.55 0 1-.45 1-1V3c.55 0 1-.45 1-1s-.45-1-1-1zm-2 9H3V3h10v7z"],Ha=["M12 2.02c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v1h8v-1zm3 2H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h1v-3h12v3h1c.55 0 1-.45 1-1v-6c0-.56-.45-1-1-1zm-1 3h-2v-1h2v1zm-3 6H5v-3H3v4c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-4h-2v3z"],Va=["M14 3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v1h12V3zm-2-3H4c-.55 0-1 .45-1 1h10c0-.55-.45-1-1-1zm3 5H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-3 6c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V9h1v2h6V9h1v2z"],Da=["M2 6C.9 6 0 6.9 0 8s.9 2 2 2 2-.9 2-2-.9-2-2-2zm4-3h9c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1zm-4 9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm13-5H6c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zm0 6H6c-.55 0-1 .45-1 1s.45 1 1 1h9c.55 0 1-.45 1-1s-.45-1-1-1zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],ja=["M3 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-.5-6.5a2.5 2.5 0 000 5 2.5 2.5 0 000-5zM7 3h8c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1zm8 10H7c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zM3 0C1.9 0 1 .9 1 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 6H7c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1z"],Fa=["M12.16 3.76c.15-.11.3-.16.47-.16.06 0 .17.02.34.06.16.04.31.06.43.06a.58.58 0 00.6-.6c0-.19-.06-.33-.17-.44-.11-.11-.28-.16-.49-.16-.19 0-.37.04-.54.13-.17.09-.39.27-.65.55-.2.21-.48.58-.87 1.11a5.22 5.22 0 00-.78-1.79l-2.05.32-.04.21c.15-.03.28-.04.39-.04.2 0 .37.08.5.25.21.26.5 1.03.88 2.33-.29.36-.49.6-.6.71-.18.19-.33.31-.45.36-.09.04-.19.07-.3.07-.09 0-.23-.04-.42-.13a.904.904 0 00-.36-.09c-.2 0-.36.06-.49.18a.59.59 0 00-.19.46c0 .18.06.32.18.43.12.11.28.16.48.16.2 0 .38-.04.55-.12.17-.08.39-.24.65-.49s.62-.65 1.07-1.19c.18.52.33.89.46 1.13.13.24.28.4.44.51.17.1.37.16.62.16.24 0 .49-.08.74-.25.33-.21.66-.58 1.01-1.09l-.21-.11c-.23.31-.41.5-.52.57a.44.44 0 01-.26.07c-.12 0-.24-.07-.36-.21-.2-.24-.46-.91-.8-2 .29-.49.54-.81.74-.96zM6.37 5.83l.68-2.53h.83l.2-.64h-.84c.24-.91.56-1.59.96-2.01.24-.27.48-.4.71-.4.05 0 .08.01.11.04s.04.06.04.1c0 .04-.03.11-.1.21-.06.1-.1.2-.1.29 0 .13.05.24.15.33.1.09.23.14.39.14.17 0 .31-.06.42-.17.12-.12.18-.27.18-.46 0-.21-.08-.39-.25-.52C9.57.07 9.3 0 8.93 0c-.59 0-1.12.16-1.59.48-.48.32-.93.85-1.36 1.59-.15.26-.29.42-.42.49s-.35.11-.64.1l-.19.65h.81L4.35 7.68c-.2.72-.33 1.16-.4 1.33-.1.24-.26.45-.46.62a.48.48 0 01-.31.1c-.03 0-.06-.01-.08-.03l-.03-.03c0-.02.03-.06.09-.11.06-.06.09-.15.09-.26 0-.13-.05-.23-.14-.32-.1-.09-.23-.13-.41-.13-.21 0-.38.05-.51.16A.52.52 0 002 9.4c0 .16.08.3.23.42.16.12.4.18.74.18.53 0 .99-.13 1.4-.39.41-.26.76-.65 1.07-1.19.3-.53.61-1.39.93-2.59zm2.34 3.46A.997.997 0 008 9c-.28 0-.53.11-.71.29l-2 2a1.003 1.003 0 001.42 1.42l.29-.3V15c0 .55.45 1 1 1s1-.45 1-1v-2.59l.29.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2z"],Ba=["M15 8h-1.46l-1.7-2.55-.02.01A.984.984 0 0011 5c-.43 0-.79.27-.93.65h-.01l-1.69 4.51-1.38-8.32h-.02A.989.989 0 006 1c-.41 0-.77.25-.92.61L2.34 8H1c-.55 0-1 .45-1 1s.45 1 1 1h2c.41 0 .77-.25.92-.61l1.65-3.86 1.44 8.63h.02c.08.47.47.84.97.84.43 0 .79-.27.93-.65h.01l2.31-6.17.92 1.38.02-.01c.17.26.46.45.81.45h2c.55 0 1-.45 1-1s-.45-1-1-1z"],Ua=["M3.5 8a2.5 2.5 0 11.608-4.926 4.002 4.002 0 017.381-1.03A3 3 0 1112 8H3.501zM3 10a1 1 0 012 0v4a1 1 0 11-2 0v-4zm7-1a1 1 0 00-1 1v5a1 1 0 102 0v-5a1 1 0 00-1-1zm2 1a1 1 0 112 0v2a1 1 0 11-2 0v-2zM7 9a1 1 0 00-1 1v2a1 1 0 102 0v-2a1 1 0 00-1-1z"],Ga=["M11.48 4h1.11l-.29.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H11c-.32 0-.59.16-.77.38l-.01-.01L8.28 4.8l1.28 1.6L11.48 4zm2.23 6.29a1.003 1.003 0 00-1.42 1.42l.3.29h-1.11l-7.7-9.62h-.01A.996.996 0 003 2H1c-.55 0-1 .45-1 1s.45 1 1 1h1.52l7.7 9.62.01-.01c.18.23.45.39.77.39h1.59l-.29.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2zM2.52 12H1c-.55 0-1 .45-1 1s.45 1 1 1h2c.32 0 .59-.16.77-.38l.01.01 1.94-2.42L4.44 9.6 2.52 12z"],qa=["M8 3a5 5 0 100 10A5 5 0 108 3z"],Wa=["M3 15V1h10v14H3zm0 1a1 1 0 01-1-1V1a1 1 0 011-1h10a1 1 0 011 1v14a1 1 0 01-1 1H3zM8.707 3.293a1 1 0 00-1.414 0l-2 2a1 1 0 001.414 1.414L8 5.414l1.293 1.293a1 1 0 001.414-1.414l-2-2zm-2 6a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L8 10.586 6.707 9.293z"],Ka=["M1 3h14v10H1V3zM0 3a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H1a1 1 0 01-1-1V3zm10.707 2.293a1 1 0 00-1.414 1.414L10.586 8 9.293 9.293a1 1 0 001.414 1.414l2-2a1 1 0 000-1.414l-2-2zm-4 1.414a1 1 0 00-1.414-1.414l-2 2a1 1 0 000 1.414l2 2a1 1 0 001.414-1.414L5.414 8l1.293-1.293z"],$a=["M1 3h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1zm1 2v6h12V5H2z"],Ya=["M12 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm3.71-6.71l-3-3a1.003 1.003 0 00-1.42 1.42L12.59 4H5C2.24 4 0 6.24 0 9s2.24 5 5 5h4v-2H5c-1.66 0-3-1.34-3-3s1.34-3 3-3h7.59L11.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Xa=["M14.99 6.99c-.55 0-1 .45-1 1 0 3.31-2.69 6-6 6-1.77 0-3.36-.78-4.46-2h1.46c.55 0 1-.45 1-1s-.45-1-1-1h-4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-1.74a7.95 7.95 0 006 2.74c4.42 0 8-3.58 8-8 0-.55-.45-1-1-1zm0-7c-.55 0-1 .45-1 1v1.74a7.95 7.95 0 00-6-2.74c-4.42 0-8 3.58-8 8 0 .55.45 1 1 1s1-.45 1-1c0-3.31 2.69-6 6-6 1.77 0 3.36.78 4.46 2h-1.46c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"],Za=["M0 14a2 2 0 114 0 2 2 0 01-4 0zM11 0a1 1 0 00-1 1v2.768L7.603 2.384a1 1 0 10-1 1.732L9 5.5 6.603 6.884a1 1 0 001 1.732L10 7.232V10a1 1 0 102 0V7.232l2.397 1.384a1 1 0 101-1.732L13 5.5l2.397-1.384a1 1 0 10-1-1.732L12 3.768V1a1 1 0 00-1-1z"],Qa=["M13 6.5c0 .83.67 1.5 1.5 1.5S16 7.33 16 6.5 15.33 5 14.5 5 13 5.67 13 6.5zM8.5 5c.83 0 1.5-.67 1.5-1.5S9.33 2 8.5 2 7 2.67 7 3.5 7.67 5 8.5 5zM9 9.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5S11.33 8 10.5 8 9 8.67 9 9.5zM4.5 8C5.33 8 6 7.33 6 6.5S5.33 5 4.5 5 3 5.67 3 6.5 3.67 8 4.5 8zM15 12H3.26l12.03-8.59-.58-.81L2 11.67V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],Ja=["M10.99 6.99h-6c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zm-3-7c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.68 6-6 6z"],el=["M14 0H4c-.55 0-1 .45-1 1v3h2V2h3v12H5v-2H3v3c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14h-3V2h3v12zm-8.71-3.29a1.003 1.003 0 001.42-1.42L4.41 8 5.7 6.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L3 6.59l-1.29-1.3A1.003 1.003 0 00.29 6.71L1.59 8 .29 9.29a1.003 1.003 0 001.42 1.42L3 9.41l1.29 1.3z"],tl=["M4 9h4c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm11-9H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-5 14H2V2h8v12zm4 0h-3V2h3v12z"],nl=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM5 14H2V2h3v12zm9 0H6V2h8v12zM8 9h4c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1z"],rl=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2V6h12v8zm0-9H2V2h12v3zm-8 6h4c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1z"],ol=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2v-3h12v3zm0-4H2V2h12v8zM6 7h4c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1z"],il=["M10 5c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1s-1 .45-1 1v1.74A7.95 7.95 0 008 0C3.58 0 0 3.58 0 8c0 4.06 3.02 7.4 6.94 7.92.02 0 .04.01.06.01.33.04.66.07 1 .07 4.42 0 8-3.58 8-8 0-.55-.45-1-1-1s-1 .45-1 1c0 3.31-2.69 6-6 6-.71 0-1.37-.15-2-.38v.01C3.67 12.81 2 10.61 2 8c0-3.31 2.69-6 6-6 1.77 0 3.36.78 4.46 2H11c-.55 0-1 .45-1 1z"],al=["M6 5c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1s1 .45 1 1v1.74A7.95 7.95 0 018 0c4.42 0 8 3.58 8 8 0 4.06-3.02 7.4-6.94 7.92-.02 0-.04.01-.06.01-.33.04-.66.07-1 .07-4.42 0-8-3.58-8-8 0-.55.45-1 1-1s1 .45 1 1c0 3.31 2.69 6 6 6 .71 0 1.37-.15 2-.38v.01c2.33-.82 4-3.02 4-5.63 0-3.31-2.69-6-6-6-1.77 0-3.36.78-4.46 2H5c.55 0 1 .45 1 1z"],ll=["M6.6 3.3C6.1 3.1 5.6 3 5 3 2.2 3 0 5.2 0 8s2.2 5 5 5c.6 0 1.1-.1 1.6-.3C5.3 11.6 4.5 9.9 4.5 8s.8-3.6 2.1-4.7zM8 4c-1.2.9-2 2.4-2 4s.8 3.1 2 4c1.2-.9 2-2.3 2-4s-.8-3.1-2-4zm3-1c-.6 0-1.1.1-1.6.3 1.3 1.2 2.1 2.9 2.1 4.7s-.8 3.6-2.1 4.7c.5.2 1 .3 1.6.3 2.8 0 5-2.2 5-5s-2.2-5-5-5z"],sl=["M5.71 3c0 1.1.96 2 2.14 2C9.04 5 10 3.96 10 3c0-1.96-1.47-3-2.14-3H5c0 1.96 2.68 1.4.71 3zm2.5 3l.01.01s0-.01-.01-.01zm6.5 8.29L10 9.59V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v2.58l-4.71 4.7c-.18.19-.29.44-.29.72a1.003 1.003 0 001.71.71L6 12.42V15c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.58l3.29 3.29a1.003 1.003 0 001.42-1.42z"],cl=["M6.6 3.3C5.3 4.4 4.5 6.1 4.5 8s.8 3.6 2.1 4.7c-.5.2-1 .3-1.6.3-2.8 0-5-2.2-5-5s2.2-5 5-5c.6 0 1.1.1 1.6.3zm-1.96 8.68C3.92 10.83 3.5 9.46 3.5 8s.42-2.83 1.14-3.98C2.6 4.2 1 5.91 1 8s1.6 3.8 3.64 3.98zM8 4c-1.2.9-2 2.4-2 4s.8 3.1 2 4c1.2-.9 2-2.3 2-4s-.8-3.1-2-4zm3-1c2.8 0 5 2.2 5 5s-2.2 5-5 5c-.6 0-1.1-.1-1.6-.3 1.3-1.1 2.1-2.9 2.1-4.7s-.8-3.5-2.1-4.7c.5-.2 1-.3 1.6-.3z"],ul=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 12c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"],dl=["M6 12C4.397 7.46 4.415 4.465 8 0c3.585 4.485 3.602 7.48 2 12H6zm3-7a1 1 0 11-2 0 1 1 0 012 0zm-7 8.022l3-1-.054-.158C4.636 10.954 4.076 9.317 4 8L3 9l-1 4.022zm9-1l3 1L13 9l-1-1c-.076 1.317-.635 2.954-.946 3.864l-.054.158zM7 13h2c0 1.5-.5 2.5-1 3-.5-.5-1-1.5-1-3z"],hl=["M3.992 10c2-5 5-9 11-9 0 6-4 9-9 11l-2-2zm7.714-4.285a1 1 0 11-1.414-1.414 1 1 0 011.414 1.414zm-6.555-.218L2.992 6l-3 2L3.24 9.195c.542-1.301 1.166-2.556 1.911-3.698zM7.992 16l-1.236-3.232c1.3-.539 2.552-1.158 3.694-1.898L9.992 13l-2 3zm-4.931-4.94L5 13c-.992.991-2.186 1.154-3.001 1-.154-.815.07-1.948 1.06-2.94z"],fl=["M12 2h-1.59l.29-.29c.19-.18.3-.43.3-.71A1.003 1.003 0 009.29.29l-2 2C7.11 2.47 7 2.72 7 3c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H12c.55 0 1 .45 1 1v3c0 .55.45 1 1 1s1-.45 1-1V5c0-1.66-1.34-3-3-3zM5.71 5.29A.997.997 0 005 5H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V9c0-.28-.11-.53-.29-.71l-3-3zM7 14H2V7h2v2c0 .55.45 1 1 1h2v4z"],pl=["M8 6H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zm-1 8H3V8h4v6zm5-12h-1.59l.29-.29c.19-.18.3-.43.3-.71A1.003 1.003 0 009.29.29l-2 2C7.11 2.47 7 2.72 7 3c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H12c.55 0 1 .45 1 1v3c0 .55.45 1 1 1s1-.45 1-1V5c0-1.66-1.34-3-3-3z"],vl=["M11.669 5.066l.099.189c.113.213.236.434.367.661.226.39.468.78.709 1.151l-.198-.004-.48-.004c-1.745.003-2.369.233-2.369.688 0 .053.226.19 1.038.436l.84.24C13.9 9.064 15 9.83 15 11.63c0 2.123-1.607 3.122-4.027 3.366-.651.065-1.266.075-2.043.05l-.958-.035H5.196l.268-.406c.336-.517.672-1.052.998-1.593h1.636l.572.023c.857.036 1.475.034 2.103-.03 1.526-.153 2.227-.59 2.227-1.375 0-.531-.402-.84-1.66-1.22l-.691-.198c-1.04-.293-1.764-.562-2.222-.946C8.8 8.366 9 7.612 9 6.997a5.03 5.03 0 00-.184-1.334c.645-.395 1.598-.562 2.853-.597zM4 3a4.007 4.007 0 014 3.997C8 9.21 4 15 4 15l-.416-.62C2.56 12.827 0 8.767 0 6.997A4.002 4.002 0 014 3zm0 2a2 2 0 10.001 4.001A2 2 0 004 5zm10-4c1.103 0 1.996.896 2 1.999C16 4.105 14 7 14 7l-.293-.44C13.15 5.707 12 3.838 12 2.999 12 1.896 12.897 1 14 1z"],ml=["M3 9c0-.6.4-1 1-1s1 .4 1 1c0 1.1.9 2 2 2 .6 0 1 .4 1 1s-.4 1-1 1c-2.2 0-4-1.8-4-4zM0 9c0-.6.4-1 1-1s1 .4 1 1c0 2.8 2.2 5 5 5 .6 0 1 .4 1 1s-.4 1-1 1c-3.9 0-7-3.1-7-7zm7 1c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1zm1.3-2.8c-.4-.4-.4-1 0-1.4l4.5-4.5c.4-.4 1-.4 1.4 0l.5.5c.4.4.4 1 0 1.4l-4.5 4.5c-.4.4-1 .4-1.4 0l-.5-.5zM5.2.3c.4-.4 1-.4 1.4 0l2.1 2.1c.4.4.4 1 0 1.4l-.9.9c-.4.4-1 .4-1.4 0L4.3 2.6c-.4-.4-.4-1 0-1.4l.9-.9zm7 7c.4-.4 1-.4 1.4 0l2.1 2.1c.4.4.4 1 0 1.4l-.9.9c-.4.4-1 .4-1.4 0l-2.1-2.1c-.4-.4-.4-1 0-1.4l.9-.9z"],gl=["M6.71 9.29a1.003 1.003 0 00-1.42 1.42l2 2a.997.997 0 001.6-.27h.01l2-4h-.01c.06-.13.11-.28.11-.44 0-.55-.45-1-1-1-.39 0-.72.23-.89.56H9.1l-1.38 2.76-1.01-1.03zM9 0H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5L9 0zm3 14H4V2h4v4h4v8z"],yl=["M15 12H2V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm-.5-7c.83 0 1.5-.67 1.5-1.5S15.33 2 14.5 2 13 2.67 13 3.5 13.67 5 14.5 5zm-3 4c.83 0 1.5-.67 1.5-1.5S12.33 6 11.5 6 10 6.67 10 7.5 10.67 9 11.5 9zm-4-2C8.33 7 9 6.33 9 5.5S8.33 4 7.5 4 6 4.67 6 5.5 6.67 7 7.5 7zm-3 4c.83 0 1.5-.67 1.5-1.5S5.33 8 4.5 8 3 8.67 3 9.5 3.67 11 4.5 11z"],bl=["M15.55 13.43l-2.67-2.68a6.94 6.94 0 001.11-3.76c0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.39 0 2.68-.42 3.76-1.11l2.68 2.67a1.498 1.498 0 102.12-2.12zm-8.56-1.44c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],wl=["M13.5 11c-.51 0-.98.15-1.38.42l-2.4-2.41c.17-.3.28-.64.28-1.01s-.11-.71-.28-1.01l2.41-2.41c.39.27.86.42 1.37.42a2.5 2.5 0 000-5A2.5 2.5 0 0011 2.5c0 .51.15.98.42 1.38l-2.41 2.4C8.71 6.11 8.37 6 8 6s-.71.11-1.01.28l-2.41-2.4c.27-.4.42-.87.42-1.38a2.5 2.5 0 00-5 0A2.5 2.5 0 002.5 5c.51 0 .98-.15 1.38-.42l2.41 2.41C6.11 7.29 6 7.63 6 8s.11.71.28 1.01l-2.41 2.41c-.39-.27-.86-.42-1.37-.42a2.5 2.5 0 000 5A2.5 2.5 0 005 13.5c0-.51-.15-.98-.42-1.38l2.41-2.41c.3.18.64.29 1.01.29s.71-.11 1.01-.28l2.41 2.41c-.27.39-.42.86-.42 1.37a2.5 2.5 0 005 0 2.5 2.5 0 00-2.5-2.5zm0-10c.83 0 1.5.67 1.5 1.5S14.33 4 13.5 4 12 3.33 12 2.5 12.67 1 13.5 1zm-11 3C1.67 4 1 3.33 1 2.5S1.67 1 2.5 1 4 1.67 4 2.5 3.33 4 2.5 4zm0 11c-.83 0-1.5-.67-1.5-1.5S1.67 12 2.5 12s1.5.67 1.5 1.5S3.33 15 2.5 15zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"],_l=["M15.55 13.43l-2.67-2.67c.7-1.09 1.11-2.38 1.11-3.77 0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.39 0 2.68-.41 3.77-1.11l2.67 2.67a1.498 1.498 0 102.12-2.12zm-8.56-1.44c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm2.5-6h-5c-.28 0-.5.22-.5.5s.22.5.5.5h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5zm0-2h-5c-.28 0-.5.22-.5.5s.22.5.5.5h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5zm0 4h-5c-.28 0-.5.22-.5.5s.22.5.5.5h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5z"],El=["M9 4H5c-.55 0-1 .45-1 1s.45 1 1 1h1v3c0 .55.45 1 1 1s1-.45 1-1V6h1c.55 0 1-.45 1-1s-.45-1-1-1zm6.56 9.44l-2.67-2.67C13.59 9.68 14 8.39 14 7c0-3.87-3.13-7-7-7S0 3.13 0 7s3.13 7 7 7c1.39 0 2.68-.41 3.77-1.11l2.67 2.67a1.498 1.498 0 102.12-2.12zM7 12c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],xl=["M15 4H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-1 6H8V6h6v4z"],Sl=["M16 15c0-.28-.12-.52-.31-.69l.02-.02-3.12-3.12 3.41-.84-8.05-2.86c.03-.09.05-.17.05-.27V2c0-.55-.45-1-1-1H3c0-.55-.45-1-1-1S1 .45 1 1c-.55 0-1 .45-1 1s.45 1 1 1v4c0 .55.45 1 1 1h5.2c.1 0 .18-.02.27-.05L10.33 16l.85-3.41 3.12 3.12.02-.02c.16.19.4.31.68.31.04 0 .07-.02.1-.02s.06.02.1.02c.44 0 .8-.36.8-.8 0-.04-.02-.07-.02-.1s.02-.06.02-.1zM6 6H3V3h3v3z"],Ol=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-9C6.34 5 5 6.34 5 8s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"],Cl=["M15.399 9.01L1.527 15.875c-.535.267-1.175.081-1.421-.427A.953.953 0 010 15V10l8-2-8-2V1c0-.528.407-1 1.004-1 .169 0 .416.04.567.116L15.403 7.07a1.084 1.084 0 01-.005 1.939z"],Ml=["M15 7.5c-.8 0-1.5-.4-2-1l-1.2 1.2c-.4.5-1.1.7-1.8.7-1.4.1-2.5-1-2.5-2.4 0-.7.3-1.3.7-1.8L9.5 3c-.6-.5-1-1.2-1-2 0-.3.1-.7.2-1H8C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8v-.7c-.3.1-.6.2-1 .2zM15 0h-4c-.6 0-1 .5-1 1s.4 1 1 1h1.6L9.3 5.3c-.2.2-.3.4-.3.7 0 .5.4 1 1 1 .3 0 .5-.1.7-.3L14 3.4V5c0 .6.4 1 1 1 .5 0 1-.4 1-1V1c0-.5-.4-1-1-1z"],zl=["M6 9H2c-.55 0-1 .45-1 1s.45 1 1 1h1.59L.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L5 12.41V14c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zm8 .5c-.56 0-1.06.23-1.42.59l-2.13-1.24L8.99 8l3.59-2.09A2.002 2.002 0 0016 4.5c0-1.1-.9-2-2-2s-2 .9-2 2c0 .19.03.37.08.54L8.5 7.13v-3.2c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S6 .9 6 2c0 .93.64 1.71 1.5 1.93v3.2l-.88-.52-2.7-1.57c.05-.17.08-.35.08-.54 0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.56 0 1.06-.23 1.42-.59l2.13 1.24 3.84 2.24 2.7 1.57c-.06.17-.09.35-.09.54 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z"],Pl=["M6 9H2c-.55 0-1 .45-1 1s.45 1 1 1h1.59L.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L5 12.41V14c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zm9.55-5.83l-4.49-3A.975.975 0 009.99.15L5.53 2.82 1.56.17A1.003 1.003 0 000 1v6h2V2.87l2.94 1.96.06.03V7h1V4.86s.01 0 .01-.01L10 2.47v8.67s-.01 0-.01.01l-.99.58v2.33l1.47-.88 3.97 2.65A1.003 1.003 0 0016 15V4c0-.35-.18-.65-.45-.83zM14 13.13l-2.94-1.96c-.02-.01-.04-.02-.05-.03v-8.6l3 2v8.59z"],Tl=["M15 15H1v-2h14zM13 13H3l1.707-1.707A1 1 0 015.414 11h5.172a1 1 0 01.707.293L13 13z","M5.199 6.154c-.33.44-.24 1.07.2 1.4.44.329 1.07.239 1.4-.2.32-.43 1.96-.53 2.43.04.35.419.98.479 1.409.13.42-.35.48-.98.13-1.41-1.33-1.59-4.5-1.39-5.57.04z","M2.303 4.278c-.4.39-.4 1.02-.02 1.409.38.39 1.02.41 1.42.03 2.339-2.289 6.258-2.289 8.598 0 .39.39 1.03.38 1.41-.02.38-.4.38-1.03-.02-1.41-3.11-3.048-8.269-3.048-11.389-.01z","M8 8a1 1 0 100 2 1 1 0 100-2z"],Al=["M10.68 7.9c.44.54 1.07.92 1.79 1.05l-2.76 2.76c-.18.18-.43.29-.71.29s-.53-.11-.71-.3L5 8.41l-3 3V13h13c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1s1 .45 1 1v4.59l2.29-2.3C4.47 6.11 4.72 6 5 6s.53.11.71.29L9 9.59l1.68-1.69zM15 3c.55 0 1 .45 1 1s-.45 1-1 1h-1v1c0 .55-.45 1-1 1s-1-.45-1-1V5h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V2c0-.55.45-1 1-1s1 .45 1 1v1h1z"],Ll=["M9.94 9.64c.65.23 1.34.36 2.06.36.14 0 .29-.01.43-.01L9.7 12.71c-.18.18-.43.29-.71.29-.28 0-.53-.11-.71-.3L5 9.41l-3 3V14h12.99c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1s1 .45 1 1v4.59l2.29-2.3C4.47 7.11 4.72 7 5 7c.28 0 .53.11.71.29L9 10.59l.94-.95zm4.73-6.44h.92c.22 0 .4.18.4.4v.8c0 .22-.18.4-.4.4h-.93c-.06.2-.14.38-.24.55l.66.65c.15.15.15.4 0 .55l-.54.55c-.15.15-.4.15-.55 0l-.65-.65c-.17.1-.36.18-.55.24v.91c0 .22-.18.4-.4.4h-.8c-.22 0-.4-.18-.4-.4v-.93c-.18-.06-.36-.13-.52-.22l-.68.68c-.15.16-.41.16-.57 0l-.56-.56a.417.417 0 010-.57l.68-.68c-.08-.16-.16-.33-.22-.52h-.93c-.22 0-.4-.18-.4-.4v-.8c0-.22.18-.4.4-.4h.93c.06-.2.14-.38.24-.55l-.65-.64a.392.392 0 010-.55l.54-.55a.38.38 0 01.54 0l.65.65c.18-.1.36-.18.55-.24V.4c0-.22.18-.4.4-.4h.8c.22 0 .4.18.4.4v.93c.18.06.35.14.52.22l.68-.68c.15-.16.41-.16.57 0l.57.57c.15.16.15.41 0 .57l-.68.68c.09.16.16.33.22.51zm-4.18.8c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5c-.82 0-1.5.67-1.5 1.5z"],kl=["M10.66 7.92c.44.54 1.07.91 1.8 1.03L9.71 11.7c-.18.19-.43.3-.71.3s-.53-.11-.71-.3L5 8.41l-3 3V13h13c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1s1 .45 1 1v4.59l2.29-2.3C4.47 6.11 4.72 6 5 6s.53.11.71.29L9 9.59l1.66-1.67zM12.3 5.3l.3-.3H8c-.6 0-1-.4-1-1s.4-1 1-1h4.6l-.3-.3c-.2-.2-.3-.4-.3-.7 0-.6.5-1 1-1 .3 0 .5.1.7.3l2 2c.2.2.3.4.3.7s-.1.5-.3.7l-2 2c-.2.2-.4.3-.7.3-.6 0-1-.4-1-1 0-.3.1-.5.3-.7z"],Nl=["M9.29 9.3c.3.62.8 1.12 1.42 1.41l-1 1c-.18.18-.43.29-.71.29s-.53-.11-.71-.3L5 8.41l-3 3V13h13c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1s1 .45 1 1v4.59l2.29-2.3C4.47 6.11 4.72 6 5 6s.53.11.71.29L9 9.59l.29-.29zM15.48 1c.31 0 .52.26.52.57 0 .16-.06.3-.17.41l-2.86 2.73v2.63c0 .16-.06.3-.17.41l-.82 1.1c-.1.1-.25.17-.41.17-.31 0-.57-.26-.57-.57V4.71L8.17 1.98A.566.566 0 018 1.57c0-.31.26-.57.57-.57h6.91z"],Il=["M9.6 8.94a4.937 4.937 0 001.82.01c.1-.01.22-.04.39-.08l.23-.07c.04-.01.08-.02.11-.04l.22.22-2.7 2.72c-.18.19-.43.3-.71.3s-.53-.11-.71-.3L4.98 8.41l-2.99 3V13h12.94c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V3.99c0-.55.45-1 1-1s1 .45 1 1v4.59l2.28-2.3c.17-.18.42-.29.7-.29s.53.11.7.29l3.28 3.3.64-.64zm6.22-.41c.1.12.17.27.18.44 0 .34-.27.61-.61.61a.57.57 0 01-.43-.18l-2.24-2.25c-.13.08-.26.16-.4.23-.02.01-.05.02-.07.03-.14.06-.27.12-.42.17h-.01c-.14.05-.29.08-.44.11-.04.01-.08.02-.11.02-.15.02-.3.04-.46.04-1.85 0-3.35-1.51-3.35-3.37S8.96 1.01 10.81 1c1.85 0 3.35 1.51 3.35 3.37 0 .16-.02.31-.04.47-.01.04-.01.07-.02.11-.02.15-.05.29-.1.44v.01c-.05.15-.11.28-.17.42-.01.02-.02.05-.03.07-.07.14-.14.27-.23.4l2.25 2.24zm-5.01-1.94c1.22 0 2.21-.99 2.21-2.22 0-1.23-.99-2.22-2.21-2.22S8.6 3.14 8.6 4.37c0 1.22.99 2.22 2.21 2.22z"],Rl=["M3 1c0-.55-.45-1-1-1S1 .45 1 1v3h2V1zm0 4H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm12-4c0-.55-.45-1-1-1s-1 .45-1 1v2h2V1zM9 1c0-.55-.45-1-1-1S7 .45 7 1v6h2V1zM1 15c0 .55.45 1 1 1s1-.45 1-1v-5H1v5zM15 4h-2c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-2 11c0 .55.45 1 1 1s1-.45 1-1V9h-2v6zM9 8H7c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-2 7c0 .55.45 1 1 1s1-.45 1-1v-2H7v2z"],Hl=["M5.92 8.139c.44-.282 1.006-.121 1.264.358l2.689 4.988c.083.155.127.33.127.51C10 14.55 9.587 15 9.077 15H3.924a.864.864 0 01-.438-.12c-.449-.263-.617-.873-.376-1.362l2.465-4.989c.08-.162.2-.297.346-.39zM12 4a3 3 0 110 6 3 3 0 010-6zM6 1a1 1 0 011 1v4a1 1 0 01-1 1H2a1 1 0 01-1-1V2a1 1 0 011-1h4z"],Vl=["M10.99 13.99h-9v-9h4.76l2-2H.99c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h11c.55 0 1-.45 1-1V7.24l-2 2v4.75zm4-14h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L7.29 7.28a1 1 0 00-.3.71 1.003 1.003 0 001.71.71l5.29-5.29V6c0 .55.45 1 1 1s1-.45 1-1V1c0-.56-.45-1.01-1-1.01z"],Dl=["M13.843 15.163c.232.53.138.837.138.837H6.017s-.088-.308.138-.837c.226-.53 1.338-.88 2.079-1.206.735-.332.66-.53.685-.8 0-.03.006-.068.006-.105a2.171 2.171 0 01-.61-.892v-.006s-.006-.006-.006-.012c-.025-.074-.056-.16-.075-.24-.176-.031-.276-.222-.314-.394a.8.8 0 01-.1-.437c.025-.253.131-.37.244-.419v-.037c0-.313.032-.775.088-1.07A1.835 1.835 0 018.85 8.37c.315-.24.76-.37 1.156-.37.396 0 .842.13 1.156.37.301.233.534.56.64.935.026.08.045.166.057.246.057.295.088.75.088 1.064v.043c.113.05.214.167.232.413a.75.75 0 01-.1.437c-.038.172-.132.357-.301.387a1.77 1.77 0 01-.076.24.136.136 0 01-.006.025 2.346 2.346 0 01-.597.892v.111c.025.277-.075.474.666.8.741.326 1.853.67 2.079 1.2z","M14.852 15h1.131s.083-.27-.12-.732c-.16-.373-.82-.641-1.411-.88a15.328 15.328 0 01-.409-.17c-.565-.25-.57-.412-.577-.61-.001-.03-.002-.06-.005-.09v-.097c.22-.2.401-.469.522-.781 0 0 .005-.016.005-.022.028-.07.05-.14.066-.21.149-.026.231-.188.264-.339a.655.655 0 00.088-.382c-.016-.215-.104-.318-.203-.36v-.039c0-.274-.028-.673-.077-.931a1.598 1.598 0 00-.61-1.034 1.736 1.736 0 00-1.285-.3c.236.285.42.622.529.996.038.124.065.248.083.36.048.257.079.578.093.867a1.736 1.736 0 01.08 1.624 1.65 1.65 0 01-.217.453 1.42 1.42 0 01-.176.209c-.08.204-.178.4-.292.585l.202.083c.285.117.64.261.9.387.226.11.475.245.698.414.213.161.476.408.63.764.034.08.065.159.091.235zM12.14 14.12l.09.037zM11 1c.55 0 1 .45 1 1 0 .28-.11.53-.29.7L8 6.41v1.374a2.813 2.813 0 00-.833 1.589 6.925 6.925 0 00-.092.86 1.64 1.64 0 00-.25.739l-.001.004c-.02.217.006.413.046.573L5.71 12.71A1.003 1.003 0 014 12V6.41L.29 2.71A1.003 1.003 0 011 1h10z"],jl=["M8 16c4.667-3.048 7-7.238 7-12.571-1.556 0-3.889-1.143-7-3.429-3.111 2.286-5.444 3.429-7 3.429C1 8.762 3.333 12.952 8 16zM8 2.121c2.005 1.388 3.715 2.304 5.186 2.735-.342 3.702-2.05 6.683-5.186 9.038V2.121z"],Fl=["M5.44.804L5.2 2H3a1 1 0 00-1 1v3.714l-1.08.309a.988.988 0 00-.69 1.192c.366 1.432.897 3.324 1.309 4.26a.644.644 0 00.005.01c-.175.01-.356.015-.544.015a.5.5 0 000 1c2.067 0 3.414-.543 4.161-.917.55.373 1.505.917 2.839.917 1.32 0 2.27-.533 2.822-.905l.004.002c.196.105.48.24.856.374.75.268 1.857.529 3.318.529a.5.5 0 000-1c-.295 0-.572-.012-.834-.032a.995.995 0 00.308-.458l1.208-3.74a1 1 0 00-.677-1.269L14 6.714V3a1 1 0 00-1-1h-2.2L10.56.804A1 1 0 009.58 0H6.42a1 1 0 00-.98.804zM4 6.143l3-.857V4H4v2.143zm5-.857l3 .857V4H9v1.286zm-4.036 8.273a.5.5 0 01.527.034c.455.325 1.277.907 2.509.907s2.054-.582 2.51-.907a.5.5 0 01.579-.001l.006.004.036.023c.034.022.09.055.168.097.154.082.394.197.72.313.649.232 1.642.471 2.981.471a.5.5 0 010 1c-1.46 0-2.568-.261-3.318-.53a6.316 6.316 0 01-.856-.373l-.004-.002c-.552.372-1.502.905-2.822.905-1.334 0-2.289-.544-2.839-.917-.747.374-2.094.917-4.161.917a.5.5 0 010-1c2.129 0 3.384-.63 3.964-.94z"],Bl=["M3 2h10c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1zm9 11H4v-3H2v5c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-5h-2v3zm4-6l-1.01-3.17C14.9 3.36 14.49 3 14 3H2c-.49 0-.9.36-.98.83L.01 7H0c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2z"],Ul=["M14 10H7.72l-.33-1H13c.39 0 .72-.23.89-.56h.01l2-4h-.01c.06-.13.11-.28.11-.44 0-.55-.45-1-1-1H5.39l-.44-1.32h-.01C4.8 1.29 4.44 1 4 1H1c-.55 0-1 .45-1 1s.45 1 1 1h2.28l2.33 7H4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2h6c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zM6.05 5h7.33l-1 2H6.72l-.67-2z"],Gl=["M1 6h14c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm4 3H1c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1zm7 3c0-.28-.11-.53-.29-.71l-.3-.29H15c.55 0 1-.45 1-1s-.45-1-1-1h-3.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2 2A1.003 1.003 0 0012 12z"],ql=["M5.474 7.971A5.31 5.31 0 006.66 8.9l.007.019.018.056c.015.038.038.06.045.098l1.5 5.999a.75.75 0 01-1.455.36l-.42-1.68h-.704l-.42 1.68a.746.746 0 01-.907.547.746.746 0 01-.547-.907l1.5-6c.007-.037.03-.06.044-.097.015-.037.015-.075.038-.112a.722.722 0 01-.105-.36c0-.207.084-.394.22-.53zM2.795 5.277a.763.763 0 00-.015-1.065.756.756 0 00-1.065.015c-2.286 2.34-2.286 6.21 0 8.549a.747.747 0 101.072-1.042c-1.709-1.763-1.709-4.702.008-6.457zM7.808 9.388a5.318 5.318 0 001.58.211 2.236 2.236 0 01-.656.98.756.756 0 01-1.057-.098.756.756 0 01.097-1.057l.036-.036zM11.544 9.105l.378.378a6.02 6.02 0 01-1.638 3.285c-.285.3-.757.3-1.057.015a.74.74 0 01-.015-1.057 4.52 4.52 0 001.185-2.24c.4-.083.785-.212 1.147-.381z","M4.054 9.424c-.427-.352-.352-1.582-.03-1.822a.752.752 0 00.15-1.05.752.752 0 00-1.05-.15c-1.079.802-1.221 3.18-.03 4.177a.75.75 0 10.96-1.155zM9.318 0a4.318 4.318 0 014.317 4.318c0 .206-.02.402-.049.598-.01.05-.01.088-.02.138-.039.196-.078.382-.137.569v.01c-.059.186-.137.363-.216.54l-.039.087a5.285 5.285 0 01-.294.51l2.884 2.886a.878.878 0 01.236.559.787.787 0 01-.785.785.785.785 0 01-.56-.226L11.772 7.89a5.285 5.285 0 01-.51.295l-.089.039c-.176.079-.353.157-.54.216h-.01a3.701 3.701 0 01-.568.137c-.05.01-.099.02-.138.02-.196.03-.392.049-.598.049A4.318 4.318 0 015 4.327 4.332 4.332 0 019.318 0zm-.02 1.1A3.195 3.195 0 006.1 4.298a3.195 3.195 0 003.198 3.198 3.195 3.195 0 003.198-3.198A3.195 3.195 0 009.298 1.1z"],Wl=["M13.71 4.29l-4-4A.997.997 0 009 0H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5c0-.28-.11-.53-.29-.71zM7 6h2v2H7V6zM4 6h2v2H4V6zm2 8H4v-2h2v2zm3 0H7v-2h2v2zm3 0h-2v-2h2v2zm0-3H4V9h8v2zm0-3h-2V6h2v2z"],Kl=["M10 2a.99.99 0 00-.96.73l-2.99 9.96A1.003 1.003 0 007 14c.46 0 .85-.31.96-.73l2.99-9.96A1.003 1.003 0 0010 2z"],$l=["M9.41 8l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L8 6.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42L6.59 8 4.3 10.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L8 9.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L9.41 8z"],Yl=["M14 8A6 6 0 112 8a6 6 0 0112 0zM9 4v2H7V4h2zm0 3v4h1v1H6v-1h1V8H6V7h3z"],Xl=["M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1z"],Zl=["M11 7H9V5c0-.55-.45-1-1-1s-1 .45-1 1v2H5c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V9h2c.55 0 1-.45 1-1s-.45-1-1-1z"],Ql=["M5 5v6h6V5H5zM4 3a1 1 0 00-1 1v8a1 1 0 001 1h8a1 1 0 001-1V4a1 1 0 00-1-1H4z"],Jl=["M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z"],es=["M13.364 9l.879.879a1 1 0 11-1.415 1.414l-2.12-2.121A1.003 1.003 0 0110.568 9H9v1.604c.042.03.083.065.121.103l2.122 2.121a1 1 0 01-1.415 1.415L9 13.414V15a1 1 0 01-2 0v-1.636l-.879.879a1 1 0 11-1.414-1.415l2.121-2.12c.054-.054.111-.1.172-.139V9H5.38c-.038.06-.084.118-.137.172l-2.122 2.12A1 1 0 111.707 9.88L2.586 9H1a1 1 0 110-2h1.536l-.829-.828a1 1 0 011.414-1.415L5.243 6.88c.038.038.072.079.103.121H7V5.38a1.003 1.003 0 01-.172-.137L4.708 3.12A1 1 0 016.12 1.707L7 2.586V1a1 1 0 112 0v1.536l.828-.829a1 1 0 011.415 1.414L9.12 5.243A1.007 1.007 0 019 5.346V7h1.604c.03-.042.065-.083.103-.121l2.121-2.122a1 1 0 011.415 1.415L13.414 7H15a1 1 0 010 2h-1.636z"],ts=["M9.5 4c.4 0 .8-.1 1.1-.3C12 4.5 12.9 6 13 7.6c0 .5.5.9 1 .9.6 0 1-.4 1-1v-.2c-.2-2.4-1.5-4.4-3.5-5.5-.1-1-.9-1.8-2-1.8s-2 .9-2 2 .9 2 2 2zM4 8.5c0-.7-.4-1.3-.9-1.7.3-1.4 1.2-2.6 2.5-3.3.3-.1.6-.4.6-.9s-.4-1-1-1c-.2 0-.3 0-.5.1-1.9 1-3.2 2.8-3.6 5C.4 7.1 0 7.8 0 8.5c0 1.1.9 2 2 2s2-.9 2-2zm8.8 1.2c-1.1 0-2 .9-2 2v.3c-.8.6-1.8.9-2.8.9-1.2 0-2.3-.4-3.2-1.1-.2-.2-.4-.3-.7-.3-.6 0-1 .4-1 1 0 .3.1.6.3.8C4.6 14.4 6.2 15 8 15c1.5 0 3-.5 4.1-1.3.2.1.5.1.7.1 1.1 0 2-.9 2-2s-.9-2.1-2-2.1z"],ns=["M5 12c-.28 0-.53.11-.71.29l-.29.3V9c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29A.965.965 0 001 12a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 005 12zm3-9h7c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm7 2H8c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1zm0 8H8c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H8c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1z"],rs=["M6 12c-.28 0-.53.11-.71.29l-.29.3V9c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29A.965.965 0 002 12a1.003 1.003 0 00-.71 1.71l2 2c.19.18.44.29.71.29.28 0 .53-.11.71-.29l2-2c.18-.18.29-.43.29-.71a.99.99 0 00-1-1zm7.93-.95v-1.04H9.25v1.11h2.94L9 14.96V16h5.02v-1.11h-3.27l3.18-3.84zm-1.42-4.84l.62 1.78H15L11.94.01H10.1L7 7.99h1.81l.64-1.78h3.06zm-1.52-4.24h.02l1.03 2.93H9.92l1.07-2.93z"],os=["M5.99 11.99c-.28 0-.53.11-.71.29l-.29.29V8.99c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29a1.003 1.003 0 00-1.42 1.42l2 2c.18.18.43.29.71.29.28 0 .53-.11.71-.29l2-2c.18-.18.29-.43.29-.71 0-.56-.45-1.01-1-1.01zM12.7 10h-1.38L9 15.99h1.36l.48-1.33h2.3l.46 1.33H15L12.7 10zm-1.51 3.67l.8-2.2h.02l.77 2.2h-1.59zm3.8-7.17h-4.57l4.45-5.12V0H8.34v1.48h4.1L7.99 6.59v1.39h7V6.5z"],is=["M8 7h3c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h1c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 8h5c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm-3 1c-.28 0-.53.11-.71.29l-.29.3V9c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29A.965.965 0 001 12a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 005 12zm10 1H8c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1z"],as=["M5 12c-.28 0-.53.11-.71.29l-.29.3V9c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29A.965.965 0 001 12a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 005 12zm4 1H8c-.55 0-1 .45-1 1s.45 1 1 1h1c.55 0 1-.45 1-1s-.45-1-1-1zm4-8H8c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm-2 4H8c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1zm4-8H8c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1z"],ls=["M6 11.99c-.28 0-.53.11-.71.29l-.29.3V8.99c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29c-.18-.18-.43-.3-.71-.3a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29.28 0 .53-.11.71-.29l2-2A1.003 1.003 0 006 11.99zm7.91-.08c-.06-.36-.17-.68-.33-.96-.16-.28-.37-.51-.64-.69-.27-.17-.61-.26-1.03-.26-.28 0-.54.06-.78.17-.23.11-.43.26-.6.45-.17.19-.3.41-.39.67a2.492 2.492 0 00-.04 1.52 1.623 1.623 0 00.89 1.03c.22.11.45.16.68.16.26 0 .5-.05.7-.15s.38-.26.53-.5l.02.02c-.01.16-.03.34-.07.54-.03.2-.09.4-.17.57-.08.18-.18.33-.31.45s-.29.19-.5.19a.63.63 0 01-.48-.21c-.13-.14-.21-.31-.25-.5H10.1c.03.25.1.48.19.68.1.2.22.37.38.5.16.14.33.24.54.31s.42.1.65.1c.39 0 .72-.09.99-.27.27-.18.49-.41.66-.7.17-.29.29-.61.37-.97.08-.36.12-.72.12-1.07 0-.36-.03-.72-.09-1.08zm-1.14.54c-.04.13-.09.24-.16.34a.78.78 0 01-.27.24c-.11.06-.24.09-.39.09a.75.75 0 01-.37-.09.777.777 0 01-.26-.25c-.07-.1-.12-.22-.15-.35-.03-.13-.05-.26-.05-.4 0-.13.02-.26.05-.39.04-.13.09-.24.16-.34.07-.1.16-.18.26-.24s.22-.09.35-.09c.14 0 .26.03.37.09.11.06.2.14.28.24a1.32 1.32 0 01.23.74c0 .15-.02.28-.05.41zm-1.56-4.47H13V0h-1.42c-.05.3-.16.56-.31.76-.16.21-.35.37-.58.5-.23.13-.49.21-.78.26-.3.05-.6.07-.91.06V2.8h2.21v5.18z"],ss=["M6 11.99c-.28 0-.53.11-.71.29l-.29.3V8.99c0-.55-.45-1-1-1s-1 .45-1 1v3.59l-.29-.29a.982.982 0 00-.71-.3 1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 006 11.99zm7.86-9.45c-.09-.48-.26-.9-.5-1.28S12.8.58 12.4.35C12 .12 11.49 0 10.86 0c-.43 0-.82.07-1.17.22s-.65.35-.9.6-.44.55-.58.89c-.14.34-.2.71-.2 1.11 0 .31.05.61.15.91.1.3.26.57.48.8.23.24.52.43.85.58.33.14.68.21 1.03.21.4 0 .75-.07 1.05-.2.3-.13.57-.35.79-.66l.02.02c-.02.21-.05.45-.1.73-.05.27-.13.53-.25.76-.12.24-.27.44-.47.6-.19.16-.44.25-.75.25a.98.98 0 01-.72-.29c-.19-.18-.31-.4-.37-.66H8.15c.05.34.14.64.29.9.15.26.34.49.57.67.23.18.5.32.8.41.31.1.63.15.98.15.58 0 1.08-.12 1.48-.36.4-.24.73-.55.99-.93.26-.39.44-.82.56-1.29.12-.48.18-.96.18-1.44s-.05-.96-.14-1.44zm-1.71.72c-.05.17-.14.32-.24.46-.11.13-.24.24-.41.31-.16.08-.36.12-.58.12-.21 0-.39-.04-.55-.13-.16-.08-.29-.19-.39-.33-.12-.14-.19-.29-.24-.46-.05-.17-.08-.35-.08-.54 0-.18.03-.35.08-.52.06-.16.14-.31.25-.44.11-.13.24-.24.4-.32.16-.08.33-.12.52-.12.21 0 .4.04.56.12.16.08.3.19.41.32.11.14.2.29.26.46.06.17.09.35.09.52 0 .2-.03.38-.08.55zm-.46 7.31c-.12.15-.26.28-.44.37-.17.09-.37.16-.58.2-.22.04-.44.05-.67.05v.92h1.65v3.88h1.33V10h-1.06c-.03.23-.11.42-.23.57z"],cs=["M6.89.56l4 8c.06.13.11.28.11.44 0 .55-.45 1-1 1-.39 0-.72-.23-.89-.55H9.1L8.38 8H3.62L2.9 9.44h-.01c-.17.33-.5.56-.89.56-.55 0-1-.45-1-1 0-.16.05-.31.12-.44L3.1 4.58 4 2.76 5.11.56C5.28.23 5.61 0 6 0s.72.23.89.56zM14 9c-.28 0-.53.11-.71.29L9 13.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l5-5A1.003 1.003 0 0014 9zM6 3.24L4.62 6h2.76L6 3.24z"],us=["M12 10a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H9V2h3v1.71c.31-.13.64-.21 1-.21s.69.08 1 .21V1c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v2.71c.31-.13.64-.21 1-.21s.69.08 1 .21V2h3v5H3.41l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C.11 7.47 0 7.72 0 8c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L3.41 9H7v5H4v-1.71c-.31.13-.64.21-1 .21s-.69-.08-1-.21V15c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-2.71c-.31.13-.64.21-1 .21s-.69-.08-1-.21V14H9V9h3.59l-.29.29c-.19.18-.3.43-.3.71z"],ds=["M15 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H2V2h12v12z"],hs=["M10 2c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v3h3V2zm3 10h1c.55 0 1-.45 1-1V8h-3v3c0 .55.45 1 1 1zm2-7c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v2h3V5zm-5 1H7v3h3V6zM5 7c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v1h3V7zm3 5h1c.55 0 1-.45 1-1v-1H7v1c0 .55.45 1 1 1zm7 1H2c-.55 0-1 .45-1 1s.45 1 1 1h13c.55 0 1-.45 1-1s-.45-1-1-1zM3 12h1c.55 0 1-.45 1-1V9H2v2c0 .55.45 1 1 1z"],fs=["M12 6H4a2 2 0 100 4h8a2 2 0 100-4zM4 4a4 4 0 100 8h8a4 4 0 000-8H4z"],ps=["M8 0l2.5 5.3 5.5.8-4 4.1.9 5.8L8 13.3 3.1 16l.9-5.8-4-4.1 5.5-.8z"],vs=["M16 6.11l-5.53-.84L8 0 5.53 5.27 0 6.11l4 4.1L3.06 16 8 13.27 12.94 16 12 10.21l4-4.1zM4.91 13.2l.59-3.62L3 7.02l3.45-.53L8 3.2l1.55 3.29 3.45.53-2.5 2.56.59 3.62L8 11.49 4.91 13.2z"],ms=["M12 3c-.24 0-.44.09-.62.23l-.01-.01L7 6.72V4c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V9.28l4.38 3.5.01-.01c.17.14.37.23.61.23.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],gs=["M15 12H2v-2h3c.55 0 1-.45 1-1V7h2v1c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V5h1c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1v3h-2V6c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v2H2V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],ys=["M12 3h-1c-.55 0-1 .45-1 1v2.72l-4.38-3.5v.01A.987.987 0 005 3c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1 .24 0 .44-.09.62-.23l.01.01L10 9.28V12c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],bs=["M12 3H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ws=["M9 2v1.083A6.002 6.002 0 018 15 6 6 0 017 3.083V2H6a1 1 0 110-2h4a1 1 0 010 2H9zM8 5a4 4 0 104 4H8V5z"],_s=["M14 7H8.65c-.38-.09-.73-.18-1.04-.26-.31-.08-.49-.13-.54-.14-.43-.11-.79-.29-1.05-.52-.27-.23-.4-.55-.4-.95 0-.29.07-.53.21-.72s.32-.34.54-.46c.22-.11.46-.19.72-.24.26-.05.52-.07.77-.07.74 0 1.36.15 1.84.46.32.2.55.5.68.9h2.22c-.06-.33-.17-.64-.32-.92-.25-.45-.59-.84-1.02-1.15-.43-.31-.93-.54-1.49-.7S8.59 2 7.95 2c-.55 0-1.1.07-1.63.2-.54.13-1.02.34-1.45.62-.42.28-.76.63-1.02 1.05-.26.42-.39.92-.39 1.5 0 .3.04.59.13.88.08.26.21.51.39.75H2c-.55 0-1 .45-1 1s.45 1 1 1h7.13c.25.07.49.14.71.22.25.09.48.23.7.44.21.21.32.53.32.97 0 .21-.05.43-.14.63-.09.21-.24.39-.45.55-.21.16-.48.29-.81.39-.33.1-.73.15-1.2.15-.44 0-.84-.05-1.21-.14-.37-.09-.7-.24-.99-.43-.29-.2-.51-.45-.67-.76-.01 0-.01-.01-.02-.02H3.14a3.68 3.68 0 001.39 2.03c.46.34 1 .58 1.62.74.61.15 1.27.23 1.97.23.61 0 1.2-.07 1.79-.2.58-.13 1.11-.34 1.56-.63.46-.29.83-.66 1.11-1.11.28-.45.42-1 .42-1.64 0-.3-.05-.6-.15-.9-.05-.19-.13-.36-.22-.52H14c.55 0 1-.45 1-1s-.45-1-1-1z"],Es=["M14 14H2V2h8.76l2-2H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V6.24l-2 2V14zm1.4-14L9.7 5.7l2.1 2.1L16 3.6V0h-.6zM4 11.92c2.33.15 4.42.15 6.15-1.5.82-.83.82-2.25 0-3.08-.45-.38-.98-.6-1.5-.6-.53 0-1.05.22-1.43.6-.82.91-1.27 3.38-3.22 4.58z"],xs=["M6.2 4.4a1 1 0 011.6 1.2L5.25 9l2.55 3.4a1 1 0 01-1.6 1.2L4 10.667 1.8 13.6a1 1 0 01-1.6-1.2L2.75 9 .2 5.6a1 1 0 011.6-1.2L4 7.333 6.2 4.4zm6.954 9.544l.016-.014c.18-.14.36-.28.57-.42l.63-.45c.21-.16.41-.33.61-.51s.37-.38.52-.59c.15-.21.28-.45.37-.7.09-.25.13-.54.13-.85 0-.25-.04-.51-.12-.79-.07-.29-.2-.55-.39-.79a2.18 2.18 0 00-.73-.6c-.29-.15-.66-.23-1.11-.23-.4 0-.76.08-1.07.23-.31.16-.58.37-.79.62-.22.27-.38.59-.49.96-.11.37-.16.77-.16 1.2h1.19c.01-.27.03-.53.08-.77.04-.24.11-.45.21-.62.09-.18.22-.32.38-.42.16-.1.35-.15.59-.15.26 0 .47.05.63.14.15.09.28.21.37.35.09.14.15.29.18.45.03.16.05.31.05.45-.01.31-.08.58-.22.82-.14.23-.32.45-.53.65-.22.21-.46.39-.71.57-.26.18-.51.36-.75.54-.5.36-.89.78-1.17 1.27-.28.49-.43 1.06-.44 1.71h4.99v-1.14h-3.55c.05-.17.14-.33.27-.49.126-.145.28-.281.444-.426z"],Ss=["M13.154 5.944l.016-.014c.18-.14.36-.28.57-.42l.63-.45c.21-.16.41-.33.61-.51s.37-.38.52-.59c.15-.21.28-.45.37-.7.09-.25.13-.54.13-.85 0-.25-.04-.51-.12-.79-.07-.29-.2-.55-.39-.79a2.18 2.18 0 00-.73-.6C14.47.08 14.1 0 13.65 0c-.4 0-.76.08-1.07.23-.31.16-.58.37-.79.62-.22.27-.38.59-.49.96-.11.37-.16.77-.16 1.2h1.19c.01-.27.03-.53.08-.77.04-.24.11-.45.21-.62.09-.18.22-.32.38-.42.16-.1.35-.15.59-.15.26 0 .47.05.63.14.15.09.28.21.37.35.09.14.15.29.18.45.03.16.05.31.05.45-.01.31-.08.58-.22.82-.14.23-.32.45-.53.65-.22.21-.46.39-.71.57-.26.18-.51.36-.75.54-.5.36-.89.78-1.17 1.27-.28.49-.43 1.06-.44 1.71h4.99V6.86h-3.55c.05-.17.14-.33.27-.49.126-.145.28-.281.444-.426zM6.2 4.4a1 1 0 011.6 1.2L5.25 9l2.55 3.4a1 1 0 01-1.6 1.2L4 10.667 1.8 13.6a1 1 0 01-1.6-1.2L2.75 9 .2 5.6a1 1 0 011.6-1.2L4 7.333 6.2 4.4z"],Os=["M0 7.02L.05 7H0v.02zm2-2.03h9.57l-1.29 1.29A1.003 1.003 0 0011.7 7.7l2.99-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2.99-3a1.07 1.07 0 00-.71-.28 1.003 1.003 0 00-.71 1.71L11.57 3H2c-.55 0-1 .45-1 1a1 1 0 001 .99zM15.96 9H16v-.02l-.04.02zM14 11.01H4.43l1.29-1.29A1.003 1.003 0 004.3 8.3l-2.99 3a.99.99 0 00-.29.7c0 .28.11.53.29.71l2.99 3a1.003 1.003 0 001.42-1.42L4.43 13H14c.55 0 1-.45 1-1s-.45-.99-1-.99z"],Cs=["M9 0h-.02L9 .04V0zM7 16h.02L7 15.95V16zM4.7 1.31c-.18-.18-.43-.29-.7-.29s-.53.11-.71.29l-3 2.99a1.003 1.003 0 001.42 1.42L3 4.43V14c0 .55.45 1 1 1s1-.45 1-1V4.43l1.29 1.29c.18.18.43.29.7.29A1.003 1.003 0 007.7 4.3l-3-2.99zM15 9.99c-.28 0-.53.11-.71.29L13 11.57V2c0-.55-.45-1-1-1s-1 .45-1 1v9.57l-1.29-1.29a.99.99 0 00-.7-.29 1.003 1.003 0 00-.71 1.71l3 2.99c.18.18.43.29.71.29.28 0 .53-.11.71-.29l3-2.99c.18-.18.29-.43.29-.71-.01-.55-.46-1-1.01-1z"],Ms=["M9.293 2.293l1.414 1.414-4.999 5a3 3 0 11-1.415-1.415l5-5zM13 7a3 3 0 110 6 3 3 0 010-6zM3 9a1 1 0 100 2 1 1 0 000-2zm10 0a1 1 0 100 2 1 1 0 000-2z"],zs=["M8 3.01a5 5 0 100 10 5 5 0 100-10z"],Ps=["M12 6.01h-2v-2c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v2H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2h2c.55 0 1-.45 1-1v-2c0-.56-.45-1-1-1z"],Ts=["M12 8.01c0-.19-.07-.36-.16-.51l.01-.01-3-5-.01.01c-.17-.29-.48-.49-.84-.49s-.67.2-.84.49l-.02-.01-3 5 .02.01c-.09.15-.16.32-.16.51s.07.36.16.51h-.02l3 5 .01-.01c.18.29.49.5.85.5s.67-.2.84-.49l.01.01 3-5-.01-.01c.09-.16.16-.32.16-.51z"],As=["M13 4H3c-.5 0-1 .5-1 1v6c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1z"],Ls=["M12 3.01H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-8c0-.56-.45-1-1-1z"],ks=["M13 4.01c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 .16.05.31.11.44H3.1l4 8h.01c.16.33.49.56.89.56s.72-.23.89-.56h.01l4-8h-.01c.06-.14.11-.28.11-.44z"],Ns=["M12.89 11.56l-3.99-8h-.01c-.17-.32-.5-.55-.89-.55s-.72.23-.89.55H7.1l-4 8h.01c-.06.14-.11.29-.11.45 0 .55.45 1 1 1h8c.55 0 1-.45 1-1 0-.16-.05-.31-.11-.45z"],Is=["M11.146.146a.5.5 0 000 .708l.647.646L10.5 2.793 8.854 1.146a.5.5 0 10-.708.708l.647.646-1.146 1.146-5.5 5.5a.5.5 0 000 .708l.646.646-1.647 1.646a.5.5 0 000 .708l.647.646-1.647 1.646a.5.5 0 00.708.708L2.5 14.207l.646.647a.5.5 0 00.708 0L5.5 13.207l.646.647a.5.5 0 00.708 0l5.5-5.5L13.5 7.207l.646.647a.5.5 0 00.708-.708L13.207 5.5 14.5 4.207l.646.647a.5.5 0 00.708-.708l-4-4a.5.5 0 00-.708 0zM11.293 8l-.793.793-1.646-1.647a.5.5 0 10-.708.708L9.793 9.5 8.5 10.793 6.854 9.146a.5.5 0 10-.708.708L7.793 11.5 6.5 12.793 3.207 9.5 8 4.707 11.293 8zM8.707 4L12 7.293l.793-.793L9.5 3.207 8.707 4zm-6.5 8.5L3.5 13.793 4.793 12.5 3.5 11.207 2.207 12.5zm11.586-9L12.5 2.207 11.207 3.5 12.5 4.793 13.793 3.5z"],Rs=["M1 3a2 2 0 012-2h4.584a2 2 0 011.414.586l5.413 5.412a2 2 0 010 2.829L9.827 14.41a2 2 0 01-2.829 0L1.586 8.998A2 2 0 011 7.584V3zm3.487-.007a1.494 1.494 0 100 2.988 1.494 1.494 0 000-2.988z"],Hs=["M9 11a1.003 1.003 0 001.71.71l4-4a1.003 1.003 0 00-1.42-1.42l-4 4c-.18.18-.29.43-.29.71zM4 6c.28 0 .53-.11.71-.29l4-4A1.003 1.003 0 007.29.29l-4 4A1.003 1.003 0 004 6zm4 4l5-5-.79-.79.5-.5a1.003 1.003 0 00-1.42-1.42l-.5.5L10 2 5 7l.79.79-5.5 5.5a1.003 1.003 0 001.42 1.42l5.5-5.5L8 10zm7 4H7c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1z"],Vs=["M3.7 3.4a1 1 0 01.8-.4h5.086a1 1 0 01.707.293L11 4h3a1 1 0 110 2h-3v1h2.5a2.5 2.5 0 010 5h-11a2.5 2.5 0 010-5H3V4.667a1 1 0 01.2-.6l.5-.667zM2.5 9h11a.5.5 0 010 1h-11a.5.5 0 110-1z"],Ds=["M7 4a1 1 0 012 0v2a1 1 0 01-2 0V4zM10 7a1 1 0 000 2h2a1 1 0 000-2h-2zM3 8a1 1 0 011-1h2a1 1 0 010 2H4a1 1 0 01-1-1zM8 9a1 1 0 00-1 1v2a1 1 0 002 0v-2a1 1 0 00-1-1z","M8 16A8 8 0 108 0a8 8 0 000 16zm0-2A6 6 0 108 2a6 6 0 000 12z"],js=["M15.12 6.63h-.38L15 7c-.01.3-.01.64 0 .98V8c0 .07-.03.13-.04.19h.02L14 13.1v.9c0 .55-.45 1-1 1s-1-.45-1-1v-1H4v1c0 .55-.45 1-1 1s-1-.45-1-1v-.9l-.98-4.9h.02C1.03 8.13 1 8.07 1 8H.99c0-.33 0-.67.01-1l.26-.37H.88C.4 6.63 0 6.21 0 5.69s.4-.94.88-.94h1.05l.77-2.11c.19-.53.76-1.08 1.26-1.24 0 0 .68-.2 2.05-.32C6.01 1.05 6 1.03 6 1c0-.55.45-1 1-1h2c.55 0 1 .45 1 1 0 .03-.01.05-.02.08 1.37.12 2.05.32 2.05.32.51.15 1.08.71 1.27 1.24l.76 2.12h1.05c.49 0 .89.42.89.93 0 .52-.4.94-.88.94zM11 10h2V8h-2v2zm-8 0h2V8H3v2zm10-5l-.73-1.63C12.21 3.19 12.18 3 12 3H4c-.18 0-.21.19-.27.37L3 5c-.06.18-.18 1 0 1h10c.18 0 .06-.82 0-1z"],Fs=["M8.5 0A1.5 1.5 0 007 1.5v7.837a3.5 3.5 0 103 0V1.5A1.5 1.5 0 008.5 0zM2 5.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5zM2.5 1a.5.5 0 000 1h3a.5.5 0 000-1h-3zM4 3.5a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM4.5 7a.5.5 0 000 1h1a.5.5 0 000-1h-1z"],Bs=["M9 10H2V6h7V4H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8v-2zm4 3h-1V3h1c.55 0 1-.45 1-1s-.45-1-1-1h-1c-.37 0-.7.11-1 .28-.3-.17-.63-.28-1-.28H9c-.55 0-1 .45-1 1s.45 1 1 1h1v10H9c-.55 0-1 .45-1 1s.45 1 1 1h1c.37 0 .7-.11 1-.28.3.17.63.28 1 .28h1c.55 0 1-.45 1-1s-.45-1-1-1zm2-9h-2v2h1v4h-1v2h2c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1z"],Us=["M15 1H1c-.6 0-1 .5-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1zM6 13H2v-2h4v2zm0-3H2V8h4v2zm0-3H2V5h4v2zm8 6H7v-2h7v2zm0-3H7V8h7v2zm0-3H7V5h7v2z"],Gs=["M5.6 10l-.3.3c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3l2-2c.2-.2.3-.4.3-.7s-.1-.5-.3-.7l-2-2C6.5 6.1 6.3 6 6 6c-.5 0-1 .4-1 1 0 .3.1.5.3.7l.3.3H1c-.6 0-1 .4-1 1s.4 1 1 1h4.6zM15 1H2c-.5 0-1 .5-1 1v5h2V5h11v2H8.8l.6.6c.1.1.2.3.3.4H14v2H9.7c-.1.1-.2.3-.3.4l-.6.6H14v2H3v-2H1v3c0 .5.5 1 1 1h13c.6 0 1-.5 1-1V2c0-.5-.4-1-1-1z"],qs=["M12 1h3c.6 0 1 .5 1 1v12c0 .6-.4 1-1 1h-4.97l.286-2H14v-2h-3.398l.143-1H14V8h-2.97l.143-1H14V5h-2.541l.51-3.576C11.99 1.282 12 1.14 12 1zM5.97 1l-.572 4H2v2h3.112L4.97 8H2v2h2.684l-.143 1H2v2h2.255l-.225 1.576c-.02.142-.03.284-.03.424H1c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1h4.97zM8.01.859a1 1 0 111.98.282l-2 14a1 1 0 11-1.98-.282l2-14z"],Ws=["M10 10h3l1.78-2.226a1 1 0 00.22-.625V4.3l1-.9V14c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V2c0-.5.4-1 1-1h4.333L9 4.3V5H7v2h2v1H7v2h3zm-4 3v-2H2v2h4zm0-3V8H2v2h4zm0-3V5H2v2h4zm8 6v-2H7v2h7z","M15.48 0c.31 0 .52.26.52.57 0 .16-.06.3-.17.41l-2.86 2.73v2.63c0 .16-.06.3-.17.41l-.82 1.1c-.1.1-.25.17-.41.17-.31 0-.57-.26-.57-.57V3.71L8.17.98A.566.566 0 018 .57c0-.31.26-.57.57-.57h6.91z"],Ks=["M15 1H1c-.6 0-1 .5-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1zm-1 12H2v-2h12v2zm0-3H2V8h12v2zm0-3H2V5h12v2z"],$s=["M4.448 9h.573c.025-.044.051-.088.079-.13A9.43 9.43 0 015.183 8h-.995A10.424 10.424 0 014 6c0-.717.068-1.391.188-2h3.624c.065.33.114.678.146 1.042A3.42 3.42 0 018.46 5c.168 0 .336.013.502.037A11.089 11.089 0 008.829 4h1.755c.148.338.26.696.33 1.068l.176-.028a2.74 2.74 0 01.5 0c.113 0 .225.006.336.018A6.001 6.001 0 000 6a6 6 0 005.672 5.991 4 4 0 01-.202-.441 1.842 1.842 0 01-.24-.26 1.82 1.82 0 01-.26-.55 2 2 0 01-.185-.92l-.012-.025A6.036 6.036 0 014.448 9zM3.171 8H1.416A4.983 4.983 0 011 6c0-.711.148-1.388.416-2h1.755C3.06 4.626 3 5.299 3 6c0 .701.06 1.374.17 2zM2 9H3.4c.18.618.412 1.167.685 1.62A5.015 5.015 0 012 9zm2.448-6h3.104a6.036 6.036 0 00-.325-.795C6.737 1.225 6.246 1 6 1c-.246 0-.737.225-1.227 1.205-.119.238-.228.504-.325.795zm4.15 0H10a5.016 5.016 0 00-2.086-1.62c.273.453.506 1.002.685 1.62zM4.087 1.38A6.834 6.834 0 003.401 3H2a5.015 5.015 0 012.086-1.62zM13.476 16s.118-.385-.172-1.046c-.228-.533-1.172-.915-2.015-1.257a22.113 22.113 0 01-.584-.243c-.808-.356-.816-.588-.825-.872-.002-.041-.003-.084-.007-.128v-.139c.314-.284.573-.669.745-1.115 0 0 .008-.023.008-.03.04-.1.071-.2.095-.3.212-.04.33-.27.377-.485.054-.093.149-.3.125-.547-.024-.307-.15-.453-.29-.515v-.054c0-.392-.04-.961-.11-1.33a2.16 2.16 0 00-.071-.308 2.283 2.283 0 00-.8-1.17C9.558 6.162 9.001 6 8.506 6c-.495 0-1.052.162-1.445.462A2.294 2.294 0 006.19 7.93c-.07.369-.11.946-.11 1.338v.046c-.14.062-.274.208-.306.523a1 1 0 00.126.547c.047.215.173.453.393.492.02.083.05.172.078.253l.016.047c0 .008.008.015.008.015v.008c.172.454.44.846.761 1.115a.804.804 0 01-.004.072c-.002.02-.004.04-.004.06l-.007.105c-.016.287-.028.523-.848.894-.176.078-.37.156-.568.237-.847.345-1.802.735-2.031 1.27C3.41 15.616 3.52 16 3.52 16h9.955zm2.503-1.25h-1.413a4.05 4.05 0 00-.116-.294c-.192-.445-.52-.753-.787-.955-.278-.21-.59-.38-.873-.517a21.373 21.373 0 00-1.122-.483l-.02-.008-.235-.097c.144-.23.266-.476.366-.731.089-.087.162-.177.22-.26.132-.192.217-.391.271-.568.117-.251.24-.64.199-1.105a2.025 2.025 0 00-.299-.925 8.626 8.626 0 00-.116-1.083 3.426 3.426 0 00-.104-.45 3.476 3.476 0 00-.661-1.246A2.18 2.18 0 0111.63 6c.432 0 .92.141 1.264.404.33.256.584.612.7 1.023.028.087.049.182.062.27.062.322.097.82.097 1.163v.048c.123.053.233.181.254.45a.82.82 0 01-.11.478c-.041.189-.144.391-.33.425a1.92 1.92 0 01-.082.262c0 .007-.007.027-.007.027-.151.39-.378.727-.653.976v.121c.004.038.005.075.006.111v.002c.008.247.015.451.722.762.158.07.332.14.51.213.739.299 1.565.634 1.764 1.1.254.579.151.915.151.915z"],Ys=["M2 2H0v7h2c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm13.99 4.38c.08-.58-.44-1.02-1.15-1.05-.25-.01-.52-.03-.81-.05.02 0 .05-.01.07-.01.7-.1 1.34-.49 1.41-1.07.06-.58-.46-.97-1.17-1.04-.25-.02-.52-.04-.79-.06.47-.15.84-.42.87-.93.04-.58-.79-1.03-1.5-1.09-.27-.02-.51-.04-.73-.05h-.09c-.23-.02-.43-.02-.62-.03C8.35.95 5.66 1.47 4 2.51v6c2.14 1.29 4.76 3.59 4.21 5.51-.18.59.31 1.05.98.98.81-.09 1.37-.91 1.4-1.78.04-1-.15-2.01-.5-2.91-.04-.25.01-.5.37-.53.49-.03 1.11-.06 1.59-.08.26 0 .51-.01.75-.02h.01c.41-.02.8-.05 1.13-.09.7-.09 1.35-.47 1.43-1.05.08-.58-.44-.97-1.15-1.05-.05-.01-.11-.01-.16-.02.17-.01.33-.03.49-.05.72-.08 1.37-.46 1.44-1.04z"],Xs=["M15.99 9.62c-.08-.58-.73-.96-1.43-1.05-.15-.02-.32-.04-.49-.05.06-.01.11-.01.16-.02.71-.08 1.23-.47 1.15-1.05-.08-.58-.73-.96-1.43-1.05-.34-.04-.72-.07-1.13-.09h-.01c-.24-.01-.49-.02-.75-.02-.48-.02-1.11-.04-1.59-.08-.36-.03-.41-.28-.37-.53.35-.9.54-1.91.5-2.91-.04-.85-.6-1.68-1.41-1.77-.67-.07-1.16.39-.99.98C8.76 3.91 6.13 6.2 4 7.49v6c1.66 1.03 4.35 1.56 7.48 1.5.19 0 .39-.01.62-.02h.09c.22-.01.46-.03.73-.05.71-.06 1.54-.51 1.5-1.09-.03-.51-.4-.79-.87-.93.27-.02.54-.04.79-.06.71-.06 1.24-.45 1.17-1.04-.06-.58-.7-.97-1.41-1.07-.02 0-.05-.01-.07-.01.29-.02.57-.03.81-.05.71-.03 1.23-.47 1.15-1.05zM2 7H0v7h2c.55 0 1-.45 1-1V8c0-.56-.45-1-1-1z"],Zs=["M14 3c-.28 0-.53.11-.71.29L6 10.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l4 4c.18.18.43.29.71.29s.53-.11.71-.29l8-8A1.003 1.003 0 0014 3z"],Qs=["M8 16c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm4-11c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z"],Js=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm1-6.41V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L9 7.59z"],ec=["M15 2.59L9.91 7.68 6.6 5.2l-.01.01C6.42 5.09 6.23 5 6 5c-.24 0-.44.09-.62.23v-.01L3 7.12V11h12V2.59zM15 12H2V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],tc=["M8 12h1c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1zm5 0h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1zm2 1H2c-.55 0-1 .45-1 1s.45 1 1 1h13c.55 0 1-.45 1-1s-.45-1-1-1zM3 12h1c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"],nc=["M8 11H7v1h1v-1zm-4 0H3v1h1v-1zm7-8c.6 0 1-.5 1-1V1c0-.5-.4-1-1-1s-1 .5-1 1v1c0 .5.5 1 1 1zM4 3c.5 0 1-.5 1-1V1c0-.5-.5-1-1-1S3 .5 3 1v1c0 .5.5 1 1 1zm10-2h-1v1c0 1.1-.9 2-2 2s-2-.9-2-2V1H6v1c0 1.1-.9 2-2 2s-2-.9-2-2V1H1c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h13c.6 0 1-.5 1-1V2c0-.5-.4-1-1-1zM5 13H2v-3h3v3zm0-4H2V6h3v3zm4 4H6v-3h3v3zm0-4H6V6h3v3zm4 4h-3v-3h3v3zm0-4h-3V6h3v3zm-1-2h-1v1h1V7z"],rc=["M15 12H2V9.41l3-3L8.29 9.7c.18.19.43.3.71.3s.53-.11.71-.29l6-6a1.003 1.003 0 00-1.42-1.42L9 7.59l-3.29-3.3C5.53 4.11 5.28 4 5 4s-.53.11-.71.29L2 6.59V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],oc=["M7.88 1s-4.9 6.28-4.9 8.9c.01 2.82 2.34 5.1 4.99 5.1 2.65-.01 5.03-2.3 5.03-5.13C12.99 7.17 7.88 1 7.88 1z"],ic=["M5 15c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H5v1zm7-15H4c-.55 0-1 .45-1 1v1h10V1c0-.55-.45-1-1-1zM5 7v6h6V7l2-4H3l2 4zm2 0c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1s-1-.45-1-1V7z"],ac=["M3.5 9a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm9.5 1a3 3 0 110 6 3 3 0 010-6zm-9.5 1a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm9.5 1a1 1 0 100 2 1 1 0 000-2zM5 0c1.46 0 2.527.668 3 2l.815 3.255a78.9 78.9 0 012.186.195L11 2h2l.001 3.688c.698.095 1.37.198 2.013.312.623.11.986.479.986 1v3.354a4.001 4.001 0 00-6.873 1.645H7.999l-.026-.002A4.5 4.5 0 00.659 9.01l-.654.001v-.829C.003 7.386.002 6.423 0 6.022 0 5.5.376 4.99 1 4.99V1a1 1 0 011-1h3zm1 2H3v2.99c1.29.024 2.554.069 3.781.135L6 2z"],lc=["M13 14h-1l1 2H3l1-2H3c-1.1 0-2-.9-2-2V2C1 .9 4.13 0 8 0s7 .9 7 2v10c0 1.1-.9 2-2 2zm-2-2h2v-2h-2v2zM9 7h4V3H9v4zm-6 5h2v-2H3v2zm0-5h4V3H3v4z"],sc=["M15.89 14.56l-3.99-8h-.01c-.17-.33-.5-.56-.89-.56s-.72.23-.89.56h-.01L9 8.76 7.17 7.38l.23-.18C8.37 6.47 9 5.31 9 4V3h1c.55 0 1-.45 1-1s-.45-1-1-1H7c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H1c-.55 0-1 .45-1 1s.45 1 1 1h6v1c0 .66-.32 1.25-.82 1.61l-.68.51-.68-.5C4.32 5.25 4 4.66 4 4H2c0 1.31.63 2.47 1.6 3.2l.23.17L1.4 9.2l.01.01C1.17 9.4 1 9.67 1 10c0 .55.45 1 1 1 .23 0 .42-.09.59-.21l.01.01 2.9-2.17 2.6 1.95-1.99 3.98h.01c-.07.13-.12.28-.12.44 0 .55.45 1 1 1 .39 0 .72-.23.89-.56h.01L8.62 14h4.76l.72 1.45h.01c.17.32.5.55.89.55.55 0 1-.45 1-1 0-.16-.05-.31-.11-.44zM9.62 12L11 9.24 12.38 12H9.62z"],cc=["M14.49 3.99h-13c-.28 0-.5.22-.5.5s.22.5.5.5h.5v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-10h.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5zm-8.5 9c0 .55-.45 1-1 1s-1-.45-1-1v-6c0-.55.45-1 1-1s1 .45 1 1v6zm3 0c0 .55-.45 1-1 1s-1-.45-1-1v-6c0-.55.45-1 1-1s1 .45 1 1v6zm3 0c0 .55-.45 1-1 1s-1-.45-1-1v-6c0-.55.45-1 1-1s1 .45 1 1v6zm2-12h-4c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1h-4c-.55 0-1 .45-1 1v1h14v-1c0-.55-.45-1-1-1z"],uc=["M9 11.857V16H7v-4.143L1 13l3.885-4.44L3 9l3.07-4.297L5 5l3-5 3 5-1.07-.297L13 9l-1.885-.44L15 13l-6-1.143z"],dc=["M15 7c-.55 0-1 .45-1 1v.59l-4.29-4.3A.997.997 0 009 4c-.16 0-.31.05-.44.11V4.1L5 5.88 1.45 4.11v.01C1.31 4.05 1.16 4 1 4c-.55 0-1 .45-1 1 0 .39.23.72.56.89v.01l4 2v-.01c.13.06.28.11.44.11s.31-.05.44-.11v.01L8.8 6.22 12.59 10H12c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1z"],hc=["M15 4h-3c-.55 0-1 .45-1 1s.45 1 1 1h.59L8.8 9.78 5.45 8.11v.01C5.31 8.05 5.16 8 5 8s-.31.05-.44.11V8.1l-4 2v.01c-.33.17-.56.5-.56.89 0 .55.45 1 1 1 .16 0 .31-.05.44-.11v.01L5 10.12l3.55 1.78v-.01c.14.06.29.11.45.11.28 0 .53-.11.71-.29L14 7.41V8c0 .55.45 1 1 1s1-.45 1-1V5c0-.55-.45-1-1-1z"],fc=["M12.5 0a.5.5 0 01.5.5V9a1 1 0 011 1v2h.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5H13v1a1 1 0 01-2 0v-1H5v1a1 1 0 01-2 0v-1H1.5a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5H2v-2a1 1 0 011-1V.5a.5.5 0 011 0V3a2 2 0 012-2h4a2 2 0 012 2V.5a.5.5 0 01.5-.5zM9 8H7a1 1 0 00-1 1v2a1 1 0 001 1h2a1 1 0 001-1V9a1 1 0 00-1-1zm3.5 3h-1a.5.5 0 100 1h1a.5.5 0 100-1zm-8 0h-1a.5.5 0 100 1h1a.5.5 0 100-1zM9 9a.5.5 0 01.5.5v1l-.008.09A.5.5 0 019 11H7l-.09-.008a.5.5 0 01-.41-.492v-1l.008-.09A.5.5 0 017 9zm2-5H5v2h6V4z"],pc=["M3.99-.01h-3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-14c0-.55-.45-1-1-1zm11.71 7.3l-2-2a1.003 1.003 0 00-1.71.71v4a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71s-.11-.53-.29-.71zM9.99-.01h-3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-14c0-.55-.45-1-1-1z"],vc=["M13.382 0a1 1 0 01.894.553L16 4v11a1 1 0 01-1 1H1a1 1 0 01-1-1V4L1.724.553A1 1 0 012.618 0h10.764zM8 6c-.28 0-.53.11-.71.29l-2 2-.084.096A1.003 1.003 0 006.71 9.71l.29-.3V12l.007.116c.058.496.482.884.993.884.55 0 1-.45 1-1V9.41l.29.29.081.076A.97.97 0 0010 10a1.003 1.003 0 00.71-1.71l-2-2-.096-.084A1.002 1.002 0 008 6zm5-4H3L2 4h12l-1-2z"],mc=["M8 14c2.8 0 5-2.2 5-5V3c0-.6-.4-1-1-1s-1 .4-1 1v6c0 1.7-1.3 3-3 3s-3-1.3-3-3V3c0-.6-.4-1-1-1s-1 .4-1 1v6c0 2.8 2.2 5 5 5zM13.5 15h-11c-.3 0-.5.2-.5.5s.2.5.5.5h11c.3 0 .5-.2.5-.5s-.2-.5-.5-.5z"],gc=["M4 11c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H3.41L4.7 2.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C.11 4.47 0 4.72 0 5c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L3.41 6H11c1.66 0 3 1.34 3 3s-1.34 3-3 3H7v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"],yc=["M3.5 5C1.57 5 0 6.57 0 8.5S1.57 12 3.5 12 7 10.43 7 8.5 5.43 5 3.5 5zm9 0C10.57 5 9 6.57 9 8.5s1.57 3.5 3.5 3.5S16 10.43 16 8.5 14.43 5 12.5 5z"],bc=["M10.507 9.75v-3.5c0-.089.023-.171.051-.25h-7.55c-.176 0-.061-.824 0-1l.729-1.63c.06-.177.095-.37.27-.37h4.5V1.01c-.166-.003-.32-.01-.5-.01-2.72 0-4.036.402-4.036.402-.508.155-1.079.711-1.268 1.237L1.94 4.756H.887c-.483 0-.88.423-.88.939s.397.939.88.939h.376L1.008 7c-.034.685 0 1.436 0 2v5c0 .657.384 1 1 1s1-.343 1-1v-1h10v1c0 .657.383 1 1 1s1-.343 1-1v-3.5h-3.75a.75.75 0 01-.75-.75zm-5.5.25h-2V8h2v2zm11-4.305zM15.34.826a2.807 2.807 0 00-.932-.598c-.386-.16-.868-.241-1.445-.241-.447 0-.851.076-1.213.228-.362.153-.67.364-.926.636s-.456.592-.598.963a3.535 3.535 0 00-.218 1.144V3h1.789c.003-.208.023-.405.069-.588.049-.193.124-.362.225-.506.102-.144.232-.259.39-.345.159-.087.348-.13.567-.13.325 0 .58.09.762.272.183.18.275.46.275.839.008.222-.031.407-.116.555a1.654 1.654 0 01-.335.408 7.4 7.4 0 01-.452.37c-.162.123-.316.27-.463.438a2.556 2.556 0 00-.384.611c-.11.239-.177.535-.2.889V6h1.645v-.1c.032-.248.111-.453.237-.618.126-.164.27-.31.433-.438.163-.128.335-.255.518-.383a2.413 2.413 0 00.878-1.117c.102-.255.152-.58.152-.975A2.241 2.241 0 0015.34.826zM12.007 7v2h2V7h-2z"],wc=["M11.99-.01c-2.21 0-4 1.79-4 4v3h-7c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-7c0-.55-.45-1-1-1h-3v-3c0-1.1.9-2 2-2s2 .9 2 2v1c0 .55.45 1 1 1s1-.45 1-1v-1c0-2.21-1.79-4-4-4z"],_c=["M9.39 1c-.5.5-.4 1.48.15 2.53L4.38 7.54C2.85 6.5 1.52 6.07 1 6.59l3.5 3.5c-.02.02-1.4 2.8-1.4 2.8l2.8-1.4 3.5 3.5c.53-.53.1-1.86-.95-3.38l4.02-5.16c1.04.55 2.01.65 2.51.14L9.39 1z"],Ec=["M11 3c-.55 0-1.07.09-1.57.26a6.46 6.46 0 010 9.48c.5.17 1.02.26 1.57.26 2.76 0 5-2.24 5-5s-2.24-5-5-5zM9.78 9.38l.09-.27c.08-.36.13-.73.13-1.11s-.05-.75-.13-1.11l-.09-.27a5.32 5.32 0 00-.29-.79l-.12-.21c-.14-.27-.31-.52-.51-.76a.7.7 0 00-.08-.1c-.24-.27-.49-.52-.78-.74-.43-.32-.92-.58-1.45-.75l.01-.01c-.1-.03-.2-.05-.3-.08-.12-.03-.23-.07-.36-.09A5.28 5.28 0 005 3C2.24 3 0 5.24 0 8s2.24 5 5 5c.31 0 .61-.04.9-.09.12-.02.24-.06.36-.09.1-.03.21-.04.3-.08l-.01-.01c.88-.29 1.64-.8 2.22-1.49.03-.03.06-.07.09-.1.19-.24.36-.49.51-.76.04-.07.08-.14.11-.21.13-.25.23-.52.3-.79z"],xc=["M8 0a7.95 7.95 0 00-6 2.74V1c0-.55-.45-1-1-1S0 .45 0 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.54C4.64 2.78 6.22 2 8 2c3.31 0 6 2.69 6 6 0 2.61-1.67 4.81-4 5.63-.63.22-1.29.37-2 .37-3.31 0-6-2.69-6-6 0-.55-.45-1-1-1s-1 .45-1 1c0 4.42 3.58 8 8 8 .34 0 .67-.03 1-.07.02 0 .04-.01.06-.01C12.98 15.4 16 12.06 16 8c0-4.42-3.58-8-8-8zm3 5c-.28 0-.53.11-.71.29L7 8.58 5.71 7.29a1.003 1.003 0 00-1.42 1.42l2 2c.18.18.43.29.71.29.28 0 .53-.11.71-.29l4-4A1.003 1.003 0 0011 5z"],Sc=["M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3 8c-.28 0-.53-.11-.71-.29L9 6.41V12c0 .55-.45 1-1 1s-1-.45-1-1V6.41l-1.29 1.3a1.003 1.003 0 01-1.42-1.42l3-3C7.47 3.11 7.72 3 8 3s.53.11.71.29l3 3A1.003 1.003 0 0111 8z"],Oc=["M7.99-.01A7.998 7.998 0 00.03 8.77c.01.09.03.18.04.28.02.15.04.31.07.47.02.11.05.22.08.34.03.13.06.26.1.38.04.12.08.25.12.37.04.11.08.21.12.32a6.583 6.583 0 00.3.65c.07.14.14.27.22.4.04.07.08.13.12.2l.27.42.1.13a7.973 7.973 0 003.83 2.82c.03.01.05.02.07.03.37.12.75.22 1.14.29l.2.03c.39.06.79.1 1.2.1s.81-.04 1.2-.1l.2-.03c.39-.07.77-.16 1.14-.29.03-.01.05-.02.07-.03a8.037 8.037 0 003.83-2.82c.03-.04.06-.08.09-.13.1-.14.19-.28.28-.42.04-.07.08-.13.12-.2.08-.13.15-.27.22-.41.04-.08.08-.17.12-.26.06-.13.11-.26.17-.39.04-.1.08-.21.12-.32.04-.12.08-.24.12-.37.04-.13.07-.25.1-.38.03-.11.06-.22.08-.34.03-.16.05-.31.07-.47.01-.09.03-.18.04-.28.02-.26.04-.51.04-.78-.03-4.41-3.61-7.99-8.03-7.99zm0 14.4c-1.98 0-3.75-.9-4.92-2.31.67-.36 1.49-.66 2.14-.95 1.16-.52 1.04-.84 1.08-1.27.01-.06.01-.11.01-.17-.41-.36-.74-.86-.96-1.44v-.01c0-.01-.01-.02-.01-.02-.05-.13-.09-.26-.12-.39-.28-.05-.44-.35-.5-.63-.06-.11-.18-.38-.15-.69.04-.41.2-.59.38-.67v-.06c0-.51.05-1.24.14-1.72.02-.13.05-.26.09-.39.17-.59.53-1.12 1.01-1.49.49-.38 1.19-.59 1.82-.59.62 0 1.32.2 1.82.59.48.37.84.9 1.01 1.49.04.13.07.26.09.4.09.48.14 1.21.14 1.72v.07c.18.08.33.26.37.66.03.31-.1.58-.16.69-.06.27-.21.57-.48.62-.03.13-.07.26-.12.38 0 .01-.01.04-.01.04-.21.57-.54 1.06-.94 1.42 0 .06.01.13.01.19.04.43-.12.75 1.05 1.27.65.29 1.47.6 2.14.95a6.415 6.415 0 01-4.93 2.31z"],Cc=["M3.94 3.15c.47-.66 1.05-1.24 1.76-1.73l.13-.4c-1.11.45-2.05 1.01-2.84 1.7-1.02.88-1.8 1.9-2.32 3.05C.22 6.76 0 7.75 0 8.75c0 1.75.66 3.5 1.99 5.25l.13-.42c-.39-.94-.59-1.82-.59-2.63 0-1.28.22-2.64.67-4.1.45-1.45 1.03-2.69 1.74-3.7zm7.51 6.41l-.27-.15c-.3.41-.52.66-.66.77-.09.06-.21.1-.33.1-.15 0-.3-.1-.45-.28-.25-.33-.59-1.22-1.01-2.69.38-.65.69-1.08.95-1.28.19-.15.39-.22.59-.22.08 0 .22.03.43.08.2.06.39.08.54.08.22 0 .4-.07.54-.22.15-.15.22-.34.22-.57 0-.25-.07-.45-.22-.59-.15-.15-.35-.22-.63-.22-.24 0-.47.06-.69.17-.21.11-.49.36-.82.74-.25.28-.61.78-1.1 1.48a6.72 6.72 0 00-.97-2.38l-2.59.44-.05.27c.19-.04.36-.06.49-.06.26 0 .47.11.64.33.26.34.63 1.38 1.11 3.12-.37.49-.63.81-.77.96-.23.24-.41.4-.56.47-.11.06-.24.09-.39.09-.11 0-.29-.06-.53-.18-.17-.07-.32-.11-.45-.11-.25 0-.46.08-.62.24-.16.16-.24.37-.24.61 0 .23.08.42.23.57.15.15.35.22.61.22.25 0 .48-.05.7-.15.22-.1.49-.32.82-.65.33-.33.78-.86 1.36-1.59.22.69.42 1.19.58 1.51.16.31.35.54.56.68.21.14.47.21.79.21.31 0 .62-.11.93-.33.4-.29.82-.77 1.26-1.47zm2.56-8.54l-.12.42c.39.95.59 1.82.59 2.64 0 1.09-.17 2.26-.5 3.51-.26.96-.6 1.87-1.02 2.71-.42.85-.82 1.51-1.21 1.98-.39.48-.87.92-1.44 1.32l-.14.4c1.11-.45 2.05-1.02 2.84-1.7 1.03-.89 1.81-1.91 2.33-3.05.44-.99.66-1.99.66-3 0-1.73-.66-3.48-1.99-5.23z"],Mc=["M6 7c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1s1-.45 1-1V8c0-.55-.45-1-1-1zM2 9c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1zm8-5c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1s1-.45 1-1V5c0-.55-.45-1-1-1zm4-4c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],zc=["M6 4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1s1-.45 1-1V5c0-.55-.45-1-1-1zM2 0c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm8 7c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1s1-.45 1-1V8c0-.55-.45-1-1-1zm4 2c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1z"],Pc=["M1 2h14c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1s.45 1 1 1zm14 11H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM3 5c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1H3z"],Tc=["M16 0H0v1a1 1 0 001 1h14a1 1 0 001-1V0zM0 15v1h16v-1a1 1 0 00-1-1H1a1 1 0 00-1 1zM8.707 3.293a1 1 0 00-1.414 0l-2 2a1 1 0 001.414 1.414L8 5.414l1.293 1.293a1 1 0 001.414-1.414l-2-2zm-2 6a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L8 10.586 6.707 9.293z"],Ac=["M15 2H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zM5 11V5l6 3-6 3z"],Lc=["M11.918 11.107l.737.737.052-.051A1 1 0 0114.2 13.12l-.078.087-1.414 1.414a1 1 0 01-1.492-1.327l.029-.033-.863-.863c-.426.231-.89.402-1.38.502L9 14l.117.007A1 1 0 019 16H7l-.117-.007A1 1 0 017 14v-1.1a4.967 4.967 0 01-1.447-.539l-.846.846.078.087a1 1 0 01-1.492 1.327l-1.414-1.414-.078-.087a1 1 0 011.492-1.327l.744-.744A4.986 4.986 0 013.23 9.5H2a1 1 0 01-1.993.117L0 9.5v-2a1 1 0 011.993-.117L2 7.5h1.025a4.973 4.973 0 01.905-2.405l-.512-.513-.125.125A1 1 0 011.8 3.38l.078-.087 1.414-1.414a1 1 0 011.529 1.277l.573.575a4.969 4.969 0 011.604-.63V2l-.116-.007a1 1 0 010-1.986L7 0h2a1 1 0 01.117 1.993L9 2l.001 1.1c.639.13 1.233.381 1.757.73l.535-.537-.078-.087a1 1 0 011.492-1.327l1.414 1.414.078.087a1 1 0 01-1.492 1.327l-.535.536a4.97 4.97 0 01.803 2.257H14l.007-.117A1 1 0 0116 7.5v2l-.007.117A1 1 0 0114 9.5h-1.229a4.987 4.987 0 01-.853 1.607zM10 9a1 1 0 100 2 1 1 0 000-2zM6.5 5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"],kc=["M9 2c-.28 0-.53.11-.71.29L5.59 5H3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h2.59l2.71 2.71c.17.18.42.29.7.29.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm3.57 1.44l-1.59 1.22C11.62 5.61 12 6.76 12 8s-.38 2.39-1.02 3.34l1.59 1.22C13.47 11.27 14 9.7 14 8c0-1.7-.53-3.27-1.43-4.56z"],Nc=["M11 2c-.28 0-.53.11-.71.29L7.59 5H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h2.59l2.71 2.71c.17.18.42.29.7.29.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],Ic=["M7 1.86c-.28 0-.53.11-.71.29l-2.7 2.71H1c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h2.59l2.71 2.71a1.003 1.003 0 001.71-.71v-10c-.01-.55-.46-1-1.01-1zm6.74-.99l-1.58 1.22A9.985 9.985 0 0114 7.86c0 2.16-.69 4.15-1.85 5.78l1.58 1.22c1.42-1.97 2.26-4.38 2.26-7 .01-2.61-.84-5.02-2.25-6.99zM8.98 4.52C9.62 5.48 10 6.63 10 7.86s-.38 2.39-1.02 3.34l1.59 1.22c.9-1.29 1.43-2.86 1.43-4.56 0-1.7-.53-3.27-1.43-4.56L8.98 4.52z"],Rc=["M13 8h-2c-.16 0-.31-.05-.44-.11v.01l-1.02-.51-.37 1.86 1.38.92-.01.02c.27.17.46.46.46.81v4c0 .55-.45 1-1 1s-1-.45-1-1v-3.46l-1.27-.85-1.8 4.67h-.01A.98.98 0 015 16c-.55 0-1-.45-1-1 0-.13.03-.25.07-.36h-.01L7.39 6H5.62l-.73 1.45h-.01C4.72 7.77 4.39 8 4 8c-.55 0-1-.45-1-1 0-.16.05-.31.11-.44H3.1l1-2h.01c.17-.33.5-.56.89-.56h3.16l.29-.75C8.17 2.9 8 2.47 8 2c0-1.1.9-2 2-2s2 .9 2 2c0 1-.73 1.82-1.69 1.97l-.5 1.32 1.43.71H13c.55 0 1 .45 1 1s-.45 1-1 1z"],Hc=["M15.84 13.5l.01-.01-7-12-.01.01c-.17-.3-.48-.5-.85-.5s-.67.2-.85.5l-.01-.01-7 12 .01.01c-.09.15-.15.31-.15.5 0 .55.45 1 1 1h14c.55 0 1-.45 1-1 0-.19-.06-.35-.15-.5zm-6.85-.51h-2v-2h2v2zm0-3h-2v-5h2v5z"],Vc=["M8 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm-4 4h1c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1zm7-6c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1c0 .55.45 1 1 1zm4-3h-1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 10H2V3c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],Dc=["M3 1a1 1 0 01.894.553c.102.202.393.607.779.957.419.381.72.49.827.49.108 0 .408-.109.827-.49.386-.35.677-.755.779-.957a1 1 0 011.788 0c.102.202.393.607.779.957.419.381.72.49.827.49.108 0 .408-.109.827-.49.386-.35.677-.755.779-.957a1 1 0 011.788 0c.173.344.38.75.637 1.072.277.347.437.375.469.375a1 1 0 110 2c-.968 0-1.642-.64-2.03-1.125a4.755 4.755 0 01-.076-.097 6.093 6.093 0 01-.221.212C12.175 4.442 11.393 5 10.5 5c-.892 0-1.675-.558-2.173-1.01A6.243 6.243 0 018 3.67c-.105.11-.214.217-.327.32C7.175 4.442 6.393 5 5.5 5c-.892 0-1.675-.558-2.173-1.01a6.119 6.119 0 01-.221-.212l-.075.097C2.64 4.36 1.968 5 1 5a1 1 0 010-2c.032 0 .191-.028.47-.375.256-.321.463-.728.636-1.072A1 1 0 013 1zm0 5a1 1 0 01.894.553c.102.202.393.607.779.957.419.381.72.49.827.49.108 0 .408-.109.827-.49.386-.35.677-.755.779-.957a1 1 0 011.788 0c.102.202.393.607.779.957.419.381.72.49.827.49.108 0 .408-.109.827-.49.386-.35.677-.755.779-.957a1 1 0 011.788 0c.173.344.38.75.637 1.072.277.347.437.375.469.375a1 1 0 110 2c-.968 0-1.642-.639-2.03-1.125a4.726 4.726 0 01-.076-.097 6.093 6.093 0 01-.221.212c-.498.452-1.28 1.01-2.173 1.01-.892 0-1.675-.558-2.173-1.01A6.243 6.243 0 018 8.67c-.105.11-.214.217-.327.32C7.175 9.442 6.393 10 5.5 10c-.892 0-1.675-.558-2.173-1.01a6.119 6.119 0 01-.221-.212l-.075.097C2.64 9.36 1.968 10 1 10a1 1 0 010-2c.032 0 .191-.028.47-.375.256-.321.463-.728.636-1.072A1 1 0 013 6zm.894 5.553a1 1 0 00-1.788 0c-.173.344-.38.75-.637 1.072-.278.347-.437.375-.469.375a1 1 0 100 2c.968 0 1.642-.639 2.03-1.125a4.9 4.9 0 00.076-.097c.072.073.146.143.221.212.498.452 1.28 1.01 2.173 1.01.892 0 1.675-.558 2.173-1.01.113-.103.222-.21.327-.32.105.11.214.217.327.32.498.452 1.28 1.01 2.173 1.01.892 0 1.675-.558 2.173-1.01.075-.069.149-.14.221-.212a4.9 4.9 0 00.075.097C13.36 14.36 14.032 15 15 15a1 1 0 100-2c-.032 0-.191-.028-.47-.375-.256-.321-.463-.728-.636-1.072a1 1 0 00-1.788 0c-.102.202-.393.607-.779.957-.419.381-.72.49-.827.49-.108 0-.408-.109-.827-.49-.386-.35-.677-.755-.779-.957a1 1 0 00-1.788 0c-.102.202-.393.607-.779.957-.419.381-.72.49-.827.49-.108 0-.408-.109-.827-.49-.386-.35-.677-.755-.779-.957z"],jc=["M13 11h2V5h-2v6zM3 5H1v6h2V5zm11-1c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM2 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM5 3h6V1H5v2zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm3 15h6v-2H5v2z"],Fc=["M1 3h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1zm1 2v6h12V5H2zm3 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm3 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm3 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Bc=["M14 0H2c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H3v-3h10v3zm0-4H3V2h10v8z"],Uc=["M14 0H2c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 14H3V6h10v8zm0-9H3V2h10v3z"],Gc=["M10 4a2 2 0 112 2H4a1 1 0 000 2h8a4 4 0 10-4-4 1 1 0 002 0zM1 9a1 1 0 100 2h7.5a1.5 1.5 0 010 3c-.749 0-1.386-.538-1.52-1.199a1 1 0 10-1.96.398C5.35 14.82 6.83 16 8.5 16a3.5 3.5 0 100-7H1z"],qc=["M15.83 3.7l-3.06 3.05-2.84-.7-.7-2.83L12.29.17a5.004 5.004 0 00-4.83 1.29 4.967 4.967 0 00-1.12 5.36L.58 12.58c-.36.36-.58.86-.58 1.41 0 1.1.9 2 2 2 .55 0 1.05-.22 1.41-.59l5.77-5.77c1.79.69 3.91.33 5.35-1.12 1.32-1.3 1.74-3.15 1.3-4.81z"],Wc=["M7.99 5.99v-2c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1h-2zm7.56 7.44l-2.67-2.68a6.94 6.94 0 001.11-3.76c0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.39 0 2.68-.42 3.76-1.11l2.68 2.67a1.498 1.498 0 102.12-2.12zm-8.56-1.44c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],Kc=["M3.99 5.99c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1h-6zm11.56 7.44l-2.67-2.68a6.94 6.94 0 001.11-3.76c0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.39 0 2.68-.42 3.76-1.11l2.68 2.67a1.498 1.498 0 102.12-2.12zm-8.56-1.44c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],$c=["M11 10a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42L12.59 8 11.3 9.29c-.19.18-.3.43-.3.71zM1 5c.55 0 1-.45 1-1V2h2c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v3c0 .55.45 1 1 1zm4 1a1.003 1.003 0 00-1.71-.71l-2 2C1.11 7.47 1 7.72 1 8c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L3.41 8 4.7 6.71c.19-.18.3-.43.3-.71zm1-1c.28 0 .53-.11.71-.29L8 3.41 9.29 4.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2C8.53 1.11 8.28 1 8 1s-.53.11-.71.29l-2 2A1.003 1.003 0 006 5zm9 6c-.55 0-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm0-11h-3c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zM4 14H2v-2c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1zm6-3c-.28 0-.53.11-.71.29L8 12.59 6.71 11.3A.965.965 0 006 11a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 0010 11z"],Yc=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm5-9h-4V5c0-.55-.45-1-1-1s-1 .45-1 1v4H5c-.55 0-1 .45-1 1s.45 1 1 1h4v4c0 .55.45 1 1 1s1-.45 1-1v-4h4c.55 0 1-.45 1-1s-.45-1-1-1z"],Xc=["M15 0a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0V6h-3a1 1 0 110-2h3V1a1 1 0 011-1zM1 4a1 1 0 00-1 1v4a1 1 0 002 0V6h3a1 1 0 000-2H1zM0 19a1 1 0 001 1h4a1 1 0 100-2H2v-3a1 1 0 10-2 0v4zm15 1h-4a1 1 0 110-2h3v-3a1 1 0 112 0v4a1 1 0 01-1 1zm-7-5a3 3 0 100-6 3 3 0 000 6z"],Zc=["M4 11h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1H8V7c0-.55-.45-1-1-1s-1 .45-1 1v2H4c-.55 0-1 .45-1 1s.45 1 1 1zM19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-7 18H2V2h10v16zm6 0h-5V2h5v16z"],Qc=["M10 11h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1h-2V7c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1zm9-11H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM7 18H2V2h5v16zm11 0H8V2h10v16z"],Jc=["M10 0a1 1 0 010 2 8 8 0 108 8 1 1 0 012 0c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0zm0 6a4 4 0 110 8 4 4 0 010-8zm6-6c.6 0 1 .4 1 1v2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1s-1-.4-1-1V5h-2c-.6 0-1-.4-1-1 0-.5.4-1 1-1h2V1c0-.6.4-1 1-1z"],eu=["M19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2V8h16v10zm0-11H2V2h16v5zM7 14h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1h-2v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H7c-.55 0-1 .45-1 1s.45 1 1 1z"],tu=["M7 8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h2c.55 0 1-.45 1-1s-.45-1-1-1h-2V4c0-.55-.45-1-1-1s-1 .45-1 1v2H7c-.55 0-1 .45-1 1s.45 1 1 1zm12-8H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2v-5h16v5zm0-6H2V2h16v10z"],nu=["M13 12H1c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0 4H1c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zM1 6h9c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm12 2H1c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm6-4h-2V2c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V6h2c.55 0 1-.45 1-1s-.45-1-1-1z"],ru=["M.01 10V6H20v10c0 .55-.45 1-1 1H9.995v-3.99C9.965 11.332 8.635 10 6.987 10H.01zM19 3c.55 0 1 .45.99 1v1H0V2c0-.55.45-1 1-1h5.997c.28 0 .53.11.71.29L9.414 3H19zM6.987 12c.55 0 .999.45 1.009 1.01v5c0 .55-.45 1-1 1s-.999-.45-.999-1v-2.59l-4.288 4.29a1.003 1.003 0 01-1.42-1.42L4.579 14H1.989c-.55 0-1-.45-1-1s.45-1 1-1h4.998z"],ou=["M2.296 12.163a4.492 4.492 0 00-1.792.98A9.99 9.99 0 010 10C0 4.477 4.477 0 10 0a9.99 9.99 0 013.143.504 4.492 4.492 0 00-.98 1.792 8 8 0 00-9.867 9.867zM18 10c0-.75-.103-1.475-.296-2.163a4.491 4.491 0 001.792-.98C19.823 7.847 20 8.903 20 10c0 5.523-4.477 10-10 10a9.992 9.992 0 01-3.142-.504 4.491 4.491 0 00.98-1.792A8 8 0 0018 10zM19 3.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zM6 16.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z","M10 4a1 1 0 00-1 1v3a1 1 0 002 0V5a1 1 0 00-1-1zM11 10a1 1 0 011-1h3a1 1 0 010 2h-3a1 1 0 01-1-1zM4 10a1 1 0 011-1h3a1 1 0 010 2H5a1 1 0 01-1-1zM9 12a1 1 0 012 0v3a1 1 0 01-2 0v-3z"],iu=["M20 2c0-1.1-.9-2-2-2-.55 0-1.05.22-1.41.59l-4.84 4.84L2 1 1 3l7.53 5.64L4.17 13H1l-1 1 4 2 2 4 1-1v-3.17l4.36-4.36L17 19l2-1-4.43-9.74 4.84-4.84c.37-.37.59-.87.59-1.42z"],au=["M5 5c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1H5zM1 3h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm12 12c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h6zm4 2H3c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm2-8H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],lu=["M1 3h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm18 14H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0-12H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0 4H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0 4H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],su=["M1 7h10c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm0-4h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm14 14H1c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zm4-8H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM1 15h6c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1z"],cu=["M19 17H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM1 3h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm18 10h-6c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H9c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1z"],uu=["M12 16h4c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1zm7 2H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM4 16h4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1z"],du=["M19 9h-2V7c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v2H9V3c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6H1c-.55 0-1 .45-1 1s.45 1 1 1h2v6c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-6h2v2c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1z"],hu=["M1 0C.45 0 0 .45 0 1v18c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm11 11H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1zm7-8H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],fu=["M19 0c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm-4 11H8c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1zm0-8H1c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],pu=["M8 4H4c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm11-4H1C.45 0 0 .45 0 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm-3 4h-4c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1z"],vu=["M17 3h-6V1c0-.55-.45-1-1-1S9 .45 9 1v2H3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h6v2H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1h-2V9h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],mu=["M6 6v-.172C6 4.018 5.28 2.281 4 1a6.828 6.828 0 00-2 4.828V6h4zM6 18v1H2v-1h4zM6 17V7H2v10h4zM8 19v-1h4v1H8zM12 5.828V6H8v-.172c0-1.81.72-3.547 2-4.828 1.28 1.28 2 3.017 2 4.828zM12 7v10H8V7h4zM14 18v1h4v-1h-4zM18 6v-.172c0-1.81-.72-3.547-2-4.828a6.828 6.828 0 00-2 4.828V6h4zM18 17V7h-4v10h4z"],gu=["M11 5.83a3.001 3.001 0 10-2 0V7H6v2h3v8.917a6.003 6.003 0 01-4.985-5.488l.278.278a1 1 0 001.414-1.414l-2-2a1 1 0 00-1.414 0l-2 2a1 1 0 101.414 1.414l.303-.303a8 8 0 0015.98 0l.303.303a1 1 0 001.414-1.414l-2-2a1 1 0 00-1.414 0l-2 2a1 1 0 001.414 1.414l.278-.278A6.003 6.003 0 0111 17.917V9h3V7h-3V5.83zM11 3a1 1 0 11-2 0 1 1 0 012 0z"],yu=["M9.41 13.41l7.65-7.65-2.83-2.83-7.65 7.65 2.83 2.83zm10-10c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2-.55 0-1.05.22-1.41.59l-1.65 1.65 2.83 2.83 1.64-1.66zM18 18H2V2h8.93l2-2H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V7.07l-2 2V18zM4 16l4.41-1.59-2.81-2.79L4 16z"],bu=["M2.01 10.758a8.025 8.025 0 001.01 3.204l.02.035c.034.058.061.117.084.178.163.44.054.951-.33 1.239-.435.328-1.059.242-1.342-.224a9.797 9.797 0 01-.221-.383 10 10 0 1117.48.106c-.269.474-.89.58-1.335.267-.392-.275-.518-.783-.37-1.228a1.19 1.19 0 01.078-.18l.019-.036A8.026 8.026 0 102.01 10.758zm4.272.772a1.464 1.464 0 01.091.32c.07.425-.052.87-.402 1.128-.44.325-1.068.235-1.316-.252a6 6 0 1110.734-.09c-.24.492-.867.593-1.312.275-.354-.253-.483-.695-.42-1.122a1.462 1.462 0 01.085-.321 4.021 4.021 0 00-5.87-4.878 4.02 4.02 0 00-1.59 4.94zm4.712 2.583A.999.999 0 0011 14v-4a1 1 0 10-2 0v4c0 .038.002.076.006.113l-3.753 4.223a1 1 0 001.494 1.328L10 16.005l3.252 3.66a1 1 0 101.495-1.33l-3.753-4.222z"],wu=["M19 0a1 1 0 011 1v18a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h18zM8 6a1 1 0 00-1.993-.117L6 6v8a1 1 0 001.993.117L8 14v-3h4v3a1 1 0 001.993.117L14 14V6a1 1 0 00-1.993-.117L12 6v3H8V6z"],_u=["M3.5 9h9c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-5c-.28 0-.5.22-.5.5s.22.5.5.5zM19 1H1c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm-1 16H2V6h16v11zM3.5 13h7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-7c-.28 0-.5.22-.5.5s.22.5.5.5z"],Eu=["M15 5H1c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-1 13H2V8h12v10zM3.5 10h7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-7c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-5c-.28 0-.5.22-.5.5s.22.5.5.5zM19 0H5c-.55 0-1 .45-1 1v3h2V3h12v10h-1v2h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],xu=["M16.434 0a1 1 0 01.857.486L20 5v14a1 1 0 01-1 1H1a1 1 0 01-1-1V5L2.709.486A1 1 0 013.566 0h12.868zM10 8c-.55 0-1 .45-1 1v4.58l-1.29-1.29-.081-.073A.996.996 0 007 11.99a1.003 1.003 0 00-.71 1.71l3 3 .096.084c.168.13.38.206.614.206.28 0 .53-.11.71-.29l3-3 .084-.096a1.003 1.003 0 00-1.504-1.324L11 13.58V9l-.007-.116A1.004 1.004 0 0010 8zm6-6H4L2 5.002h16L16 2z"],Su=["M5 4.664C5 2.09 7.241 0 10 0s4.99 2.091 5 4.664C15 7.245 10 14 10 14S5 7.245 5 4.664zM8 5a2 2 0 104.001-.001A2 2 0 008 5zM.504 12.132l4.302-2.458c.322.576.662 1.145.995 1.681l.025.04-3.294 1.881L6.468 18h7.064l3.936-4.724-3.293-1.882.024-.039c.333-.536.673-1.105.995-1.681l4.302 2.458a1 1 0 01.272 1.508l-5 6A1 1 0 0114 20H6a1 1 0 01-.768-.36l-5-6a1 1 0 01.272-1.508z"],Ou=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm5 9a1 1 0 110 2 1 1 0 010-2zM6 9a1 1 0 110 2 1 1 0 010-2zm8 0a1 1 0 110 2 1 1 0 010-2z"],Cu=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm10 7a1 1 0 01.993.883L16 8v4a1 1 0 01-.883.993L15 13H5a1 1 0 01-.993-.883L4 12V8a1 1 0 01.883-.993L5 7h10zm0 1h-5v4h5V8z"],Mu=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm2.5 5a.5.5 0 01.5.5V6h4v-.5a.5.5 0 01.5-.5h1a.5.5 0 01.5.5V6h1a1 1 0 01.993.883L16 7v7a1 1 0 01-.883.993L15 15H5a1 1 0 01-.993-.883L4 14V7a1 1 0 01.883-.993L5 6h1v-.5a.5.5 0 01.5-.5h1zM15 9H5v5h10V9z"],zu=["M19.992 1.104A1.25 1.25 0 0018.75 0H15c-.47 0-1 .359-1 1s.5 1 1.023 1h3L18 18h-3c-.5 0-1 .359-1 1 0 .69.5 1 1 1h3.75l.146-.008A1.25 1.25 0 0020 18.75V1.25l-.008-.146zM6 1c0-.69-.5-1-1-1H1.25l-.146.008A1.25 1.25 0 000 1.25v17.5l.008.146A1.25 1.25 0 001.25 20H5c.5 0 1-.359 1-1s-.5-1-1-1H2V2h3c.5 0 1-.359 1-1z","M5.434 7.325c-.222.039-.45.058-.684.058v.88h1.68v4.825h1.221V6.25h-.908c-.04.208-.124.384-.254.528-.124.143-.277.26-.46.351a2.067 2.067 0 01-.595.196z","M14.327 6.586c-.294-.219-.677-.329-1.147-.329s-.856.11-1.157.33a2.24 2.24 0 00-.695.827 3.822 3.822 0 00-.339 1.1c-.056.401-.085.79-.085 1.166 0 .376.029.765.085 1.166.063.401.176.77.339 1.11.169.332.4.607.695.827.301.213.687.32 1.157.32s.853-.107 1.147-.32c.301-.22.533-.495.696-.828.17-.338.282-.708.338-1.11a7.55 7.55 0 00.094-1.165 7.55 7.55 0 00-.094-1.166 3.47 3.47 0 00-.338-1.1 2.127 2.127 0 00-.696-.828zm-.564 5.426a.876.876 0 01-.583.197.89.89 0 01-.592-.197 1.516 1.516 0 01-.367-.546 3.485 3.485 0 01-.188-.808 8.056 8.056 0 01-.057-.978c0-.345.02-.668.057-.969.037-.307.1-.576.188-.808.094-.232.216-.414.367-.546a.864.864 0 01.592-.206.85.85 0 01.583.206c.157.132.279.314.367.546.094.232.16.501.197.808.038.301.056.624.056.969s-.018.67-.056.978a3.179 3.179 0 01-.197.808c-.088.226-.21.408-.367.546z","M8.853 11.807h1.358v1.319H8.853v-1.32z"],Pu=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm8.995 6.09c.32 0 .603.047.85.14a1.679 1.679 0 011.015.985c.09.23.135.482.135.755 0 .287-.063.552-.19.795a1.642 1.642 0 01-.57.615v.02l.101.05c.068.039.138.09.209.155.107.097.203.215.29.355a2.09 2.09 0 01.3 1.09c0 .313-.053.597-.16.85a1.898 1.898 0 01-1.12 1.065 2.42 2.42 0 01-.85.145c-.533 0-.99-.127-1.37-.38a1.702 1.702 0 01-.73-1.08c-.013-.067.013-.11.08-.13l.87-.2.041-.003c.038.004.064.028.079.073.073.2.193.37.36.51.167.14.39.21.67.21.32 0 .567-.095.74-.285.173-.19.26-.432.26-.725 0-.347-.1-.618-.3-.815-.2-.197-.47-.295-.81-.295h-.29l-.044-.006c-.037-.013-.056-.044-.056-.094V9.1l.006-.044c.013-.037.044-.056.094-.056h.27l.145-.008a.925.925 0 00.575-.262c.18-.18.27-.42.27-.72 0-.273-.08-.495-.24-.665-.16-.17-.383-.255-.67-.255-.253 0-.453.063-.6.19-.147.127-.25.297-.31.51-.02.06-.06.083-.12.07l-.85-.2-.042-.015c-.035-.02-.048-.055-.038-.105a1.684 1.684 0 01.645-1.035c.17-.13.37-.232.6-.305.23-.073.482-.11.755-.11zm-7.99.11l.044.006c.037.013.056.044.056.094v6.6l-.006.044c-.013.037-.044.056-.094.056h-.92l-.044-.006c-.037-.013-.056-.044-.056-.094V7.54h-.02l-1.04.73-.04.02c-.047.016-.07-.01-.07-.08V7.19l.008-.051a.196.196 0 01.062-.089l1.09-.79.051-.033a.295.295 0 01.129-.027h.85zm3.34-.11c.32 0 .603.05.85.15.247.1.455.235.625.405.17.17.3.37.39.6.09.23.135.478.135.745 0 .307-.057.588-.17.845a3.16 3.16 0 01-.47.745l-1.98 2.4V12h2.52l.044.006c.037.013.056.044.056.094v.8l-.006.044c-.013.037-.044.056-.094.056h-3.82l-.044-.006c-.037-.013-.056-.044-.056-.094v-.75l.006-.05a.165.165 0 01.044-.08l2.4-2.99.124-.167c.077-.11.143-.222.196-.333.08-.167.12-.347.12-.54a.92.92 0 00-.235-.64c-.157-.173-.378-.26-.665-.26-.273 0-.487.077-.64.23-.153.153-.247.36-.28.62-.013.067-.05.093-.11.08l-.88-.18-.043-.015c-.035-.02-.047-.055-.037-.105a1.78 1.78 0 01.56-1.115c.167-.157.372-.282.615-.375a2.35 2.35 0 01.845-.14z"],Tu=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm2.012 6c.643 0 1.203.266 1.68.797.477.53.715 1.246.715 2.145a4.472 4.472 0 01-.965 2.814c-.644.83-1.66 1.5-3.047 2.011v-.581l.26-.104a3.87 3.87 0 001.624-1.285c.457-.632.686-1.29.686-1.971 0-.148-.023-.256-.07-.326-.023-.047-.054-.07-.093-.07-.038 0-.1.031-.186.093-.248.179-.558.268-.93.268-.45 0-.843-.18-1.18-.541A1.817 1.817 0 015 7.965c0-.527.194-.986.581-1.378A1.934 1.934 0 017.011 6zm5.593 0c.643 0 1.203.266 1.68.797.477.53.715 1.246.715 2.145a4.472 4.472 0 01-.965 2.814c-.644.83-1.659 1.5-3.047 2.011v-.581l.26-.104a3.87 3.87 0 001.624-1.285c.457-.632.686-1.29.686-1.971 0-.148-.023-.256-.07-.326-.023-.047-.054-.07-.093-.07-.038 0-.1.031-.186.093-.248.179-.558.268-.93.268-.45 0-.843-.18-1.18-.541a1.817 1.817 0 01-.506-1.285c0-.527.194-.986.581-1.378A1.934 1.934 0 0112.604 6z"],Au=["M19 0a1 1 0 01.993.883L20 1v18a1 1 0 01-.883.993L19 20h-4a1 1 0 01-.117-1.993L15 18h3V2h-3a1 1 0 01-.993-.883L14 1a1 1 0 01.883-.993L15 0h4zM5 0a1 1 0 01.117 1.993L5 2H2v16h3a1 1 0 01.993.883L6 19a1 1 0 01-.883.993L5 20H1a1 1 0 01-.993-.883L0 19V1A1 1 0 01.883.007L1 0h4zm5 4a6 6 0 110 12 6 6 0 010-12zm0 1a5 5 0 100 10 5 5 0 000-10zm2.854 2.146a.5.5 0 01.057.638l-.057.07-2.5 2.5a.5.5 0 01-.638.057l-.07-.057-1.5-1.5a.5.5 0 01.638-.765l.07.057L10 9.293l2.146-2.147a.5.5 0 01.708 0z"],Lu=["M18 3a1.003 1.003 0 00-1.71-.71L4 14.59V7c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1H5.41l12.3-12.29c.18-.18.29-.43.29-.71z"],ku=["M17 6c-.55 0-1 .45-1 1v7.59L3.71 2.29a1.003 1.003 0 00-1.42 1.42L14.59 16H7c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1z"],Nu=["M16 11c-.3 0-.5.1-.7.3L11 15.6V2c0-.5-.4-1-1-1s-1 .5-1 1v13.6l-4.3-4.3c-.2-.2-.4-.3-.7-.3-.5 0-1 .4-1 1 0 .3.1.5.3.7l6 6c.2.2.4.3.7.3s.5-.1.7-.3l6-6c.2-.2.3-.4.3-.7 0-.6-.5-1-1-1z"],Iu=["M18 9H4.41L8.7 4.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-6 6c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l6 6a1.003 1.003 0 001.42-1.42L4.41 11H18c.55 0 1-.45 1-1s-.45-1-1-1z"],Ru=["M18.71 9.29l-6-6a1.003 1.003 0 00-1.42 1.42L15.59 9H2c-.55 0-1 .45-1 1s.45 1 1 1h13.59l-4.29 4.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l6-6c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Hu=["M17.71 16.29L5.41 4H13c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1s1-.45 1-1V5.41L16.29 17.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],Vu=["M17 2H7c-.55 0-1 .45-1 1s.45 1 1 1h7.59L2.29 16.29a1.003 1.003 0 001.42 1.42L16 5.41V13c0 .55.45 1 1 1s1-.45 1-1V3c0-.55-.45-1-1-1z"],Du=["M16.7 7.3l-6-6c-.2-.2-.4-.3-.7-.3s-.5.1-.7.3l-6 6c-.2.2-.3.4-.3.7 0 .6.5 1 1 1 .3 0 .5-.1.7-.3L9 4.4V18c0 .5.4 1 1 1s1-.5 1-1V4.4l4.3 4.3c.2.2.4.3.7.3.5 0 1-.4 1-1 0-.3-.1-.5-.3-.7z"],ju=["M19.7 9.3l-5-5c-.2-.2-.4-.3-.7-.3-.6 0-1 .4-1 1 0 .3.1.5.3.7L16.6 9H3.4l3.3-3.3c.2-.2.3-.4.3-.7 0-.6-.4-1-1-1-.3 0-.5.1-.7.3l-5 5c-.2.2-.3.4-.3.7s.1.5.3.7l5 5c.2.2.4.3.7.3.6 0 1-.4 1-1 0-.3-.1-.5-.3-.7L3.4 11h13.2l-3.3 3.3c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3l5-5c.2-.2.3-.4.3-.7s-.1-.5-.3-.7z"],Fu=["M15 13c-.3 0-.5.1-.7.3L11 16.6V3.4l3.3 3.3c.2.2.4.3.7.3.6 0 1-.4 1-1 0-.3-.1-.5-.3-.7l-5-5c-.2-.2-.4-.3-.7-.3s-.5.1-.7.3l-5 5c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3L9 3.4v13.2l-3.3-3.3c-.2-.2-.4-.3-.7-.3-.6 0-1 .4-1 1 0 .3.1.5.3.7l5 5c.2.2.4.3.7.3s.5-.1.7-.3l5-5c.2-.2.3-.4.3-.7 0-.5-.4-1-1-1z"],Bu=["M18.52 14.17l.01-.02L11.89 10l6.64-4.15-.01-.02A.97.97 0 0019 5c0-.55-.45-1-1-1-.2 0-.37.07-.52.17l-.01-.02L11 8.2V1c0-.55-.45-1-1-1S9 .45 9 1v7.2L2.53 4.15l-.01.02A.922.922 0 002 4c-.55 0-1 .45-1 1 0 .36.2.66.48.83l-.01.02L8.11 10l-6.64 4.15.01.02A.97.97 0 001 15c0 .55.45 1 1 1 .2 0 .37-.07.52-.17l.01.02L9 11.8V19c0 .55.45 1 1 1s1-.45 1-1v-7.2l6.47 4.04.01-.02c.15.11.32.18.52.18.55 0 1-.45 1-1 0-.36-.2-.66-.48-.83z"],Uu=["M12.298 6.818a6.507 6.507 0 00-1.672-.207c-1.057 0-1.881.345-2.472 1.036-.589.691-.884 1.63-.884 2.817 0 1.894.755 2.842 2.266 2.842 1.593 0 2.464-1.192 2.614-3.574l.148-2.914zm6.544-2.592C19.614 5.58 20 7.142 20 8.916c0 1.163-.186 2.224-.556 3.189-.374.963-.894 1.713-1.569 2.25a3.64 3.64 0 01-2.333.803c-.651 0-1.218-.17-1.696-.512a2.486 2.486 0 01-.967-1.39h-.148c-.405.635-.904 1.11-1.498 1.427-.596.318-1.264.475-2.007.475-1.345 0-2.405-.425-3.175-1.279-.774-.854-1.159-2.008-1.159-3.463 0-1.676.512-3.036 1.537-4.08 1.021-1.043 2.396-1.567 4.122-1.567.628 0 1.322.055 2.086.164.764.11 1.443.262 2.037.458l-.272 5.67v.294c0 1.3.43 1.951 1.289 1.951.652 0 1.169-.414 1.553-1.245.384-.829.577-1.886.577-3.171 0-1.39-.291-2.611-.868-3.664a5.948 5.948 0 00-2.463-2.433c-1.065-.569-2.287-.853-3.667-.853-1.757 0-3.287.357-4.588 1.072a7.19 7.19 0 00-2.978 3.069C2.571 7.408 2.23 8.953 2.23 10.708c0 2.358.639 4.172 1.92 5.438 1.279 1.27 3.115 1.902 5.509 1.902 1.826 0 3.729-.365 5.71-1.096v2.001c-1.734.698-3.62 1.047-5.66 1.047-3.056 0-5.437-.811-7.144-2.432C.855 15.945 0 13.683 0 10.781 0 8.659.462 6.77 1.388 5.116c.923-1.653 2.206-2.919 3.845-3.798C6.871.44 8.727 0 10.799 0c1.791 0 3.388.367 4.786 1.098a7.865 7.865 0 013.257 3.128z"],Gu=["M10 18c-4.42 0-8-3.58-8-8 0-2.52 1.18-4.76 3-6.22V5c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1h2.06C1.61 3.82 0 6.71 0 10c0 5.52 4.48 10 10 10 .55 0 1-.45 1-1s-.45-1-1-1zm0-16c1.64 0 3.15.49 4.42 1.34l1.43-1.43A9.869 9.869 0 0010 0c-.55 0-1 .45-1 1s.45 1 1 1zm10 8c0-1.13-.2-2.21-.54-3.22L17.84 8.4A7.962 7.962 0 0115 16.22V15c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1h-2.06c2.45-1.82 4.06-4.71 4.06-8zm0-7a1.003 1.003 0 00-1.71-.71L12 8.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l7-7c.18-.18.29-.43.29-.71z"],qu=["M2 15h2v.5a.5.5 0 001 0v-11a.5.5 0 00-1 0V5H2v10zM18 5h-2v-.5a.5.5 0 00-1 0v11a.5.5 0 001 0V15h2V5zM5 8l1.789.894A1 1 0 007.236 9h5.528a1 1 0 00.447-.106L15 8v4l-1.789-.894a.999.999 0 00-.447-.106H7.236a1 1 0 00-.447.106L5 12V8zM0 9h2v2H0V9z","M0 8h1v4H0V8zM19 8h1v4h-1V8z","M20 11h-2V9h2v2zM8 9a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1H9a1 1 0 01-1-1V9z"],Wu=["M18.387 19.79l-.094-.083L14 15.415V18a1 1 0 01-2 0l.003-5.075.017-.126.03-.111.044-.111.052-.098.067-.096.08-.09a1.01 1.01 0 01.112-.097l.11-.071.114-.054.105-.035.15-.03L13 12h5a1 1 0 110 2h-2.585l4.292 4.293a1 1 0 01-1.32 1.497zM7.036 9.136l-4.45 4.45-.117.127a2 2 0 002.818 2.818l.127-.117 4.45-4.449a4 4 0 01-.885 3.704l-.15.16-2 2A4 4 0 011.02 12.33l.15-.16 2-2a3.998 3.998 0 013.865-1.035zm6.671-3.843a1 1 0 01.083 1.32l-.083.094-7 7a1 1 0 01-1.497-1.32l.083-.094 7-7a1 1 0 011.414 0zm4.121-4.121a4 4 0 01.151 5.497l-.15.16-2 2a3.998 3.998 0 01-3.864 1.036l4.45-4.45.116-.128a2 2 0 00-2.818-2.818l-.127.117-4.45 4.45a4 4 0 01.885-3.705l.15-.16 2-2a4 4 0 015.657 0z"],Ku=["M16.94 5.73c-.19-1.41.62-2.52 1.38-3.59L17.03.65C14.89 1.76 11.88 1.48 10 0 8.12 1.48 5.11 1.76 2.97.65L1.68 2.14c.76 1.07 1.57 2.18 1.38 3.59C2.68 8.59 0 10.94 1.4 14.08c.56 1.43 1.81 2.37 3.4 2.75 1.95.46 4.4.91 5.2 3.17.8-2.26 3.25-2.71 5.2-3.17 1.6-.38 2.84-1.32 3.4-2.75 1.4-3.14-1.28-5.49-1.66-8.35z"],$u=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm5 11H5c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z"],Yu=["M19.2 8.02l-.78-.18C18.03 6.4 17.2 5.08 16.08 4l.5-2.28c.11-.42-.22-.78-.61-.72-1.06.12-2 .54-2.67 1.26-1.06-.42-2.34-.66-3.56-.66-3.12 0-5.79 1.5-7.4 3.72-.23-.05-.45-.11-.67-.11C.72 5.21 0 5.98 0 7c0 .72.39 1.32.95 1.62-.06.42-.12.9-.12 1.38 0 2.16.89 4.08 2.28 5.58l-.33 2.04c-.11.72.45 1.38 1.12 1.38h.72c.56 0 1-.42 1.11-1.02l.06-.48c1.17.54 2.5.9 3.95.9 1.39 0 2.78-.3 3.95-.9l.06.48c.11.6.56 1.02 1.11 1.02h.72c.67 0 1.22-.66 1.11-1.38l-.33-1.98c.78-.78 1.34-1.74 1.73-2.76l1-.24c.5-.12.89-.6.89-1.2V9.22c.11-.6-.28-1.08-.78-1.2zM15 10c-.6 0-1-.7-1-1.5S14.4 7 15 7s1 .7 1 1.5-.4 1.5-1 1.5zM7.55 5.83a.99.99 0 01-1.38-.28.99.99 0 01.28-1.38c2.34-1.56 4.77-1.56 7.11 0 .46.31.58.93.28 1.39-.31.46-.93.58-1.39.28-1.67-1.12-3.23-1.12-4.9-.01z"],Xu=["M6 16.98h2v-14H6v14zm3 0h1v-14H9v14zm-6 0h2v-14H3v14zm-3 0h2v-14H0v14zm16 0h2v-14h-2v14zm-4 0h1v-14h-1v14zm7-14v14h1v-14h-1zm-5 14h1v-14h-1v14z"],Zu=[],Qu=["M11.55 15.92c-1.48-.65-1.28-1.05-1.33-1.59-.01-.07-.01-.15-.01-.23.51-.45.92-1.07 1.19-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.34-.07.54-.44.61-.78.06-.11.14-.35.17-.62C10.33 9.42 8.92 7.38 8.92 5c0-.3.05-.58.09-.87-.33-.08-.67-.13-.99-.13-.79 0-1.68.25-2.31.73-.61.47-1.07 1.13-1.29 1.86-.05.16-.09.33-.11.5-.12.6-.17 1.51-.17 2.14v.08c-.24.09-.45.32-.49.83-.04.39.12.73.2.87.08.35.28.72.63.78.04.17.09.33.15.48 0 .01.01.02.01.03l.01.01c.27.72.7 1.35 1.22 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.38 1.59C3 16.56.77 17.26.32 18.31-.15 19.38.04 20 .04 20h15.95s.18-.62-.27-1.67c-.46-1.06-2.69-1.75-4.17-2.41zM14.97 0c-2.78 0-5.03 2.24-5.03 5s2.25 5 5.03 5S20 7.76 20 5s-2.25-5-5.03-5zm-3.03 5c0-1.66 1.35-3 3.02-3 .47 0 .9.11 1.29.3l-4.01 3.99c-.18-.4-.3-.83-.3-1.29zm3.03 3c-.47 0-.9-.11-1.29-.3l4.01-3.99c.19.39.3.82.3 1.29 0 1.66-1.36 3-3.02 3z"],Ju=["M14.3 9c.4-.8.7-1.6.7-2.5C15 4 13 2 10.5 2H5c-.6 0-1 .4-1 1v13c0 .6.4 1 1 1h6.5c2.5 0 4.5-2 4.5-4.5 0-1.4-.7-2.7-1.7-3.5zM7 5h3.5c.8 0 1.5.7 1.5 1.5S11.3 8 10.5 8H7V5zm4.5 9H7v-3h4.5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5z"],ed=["M3 1v18c0 .55.45 1 1 1h2V0H4c-.55 0-1 .45-1 1zm14-1h-2v8l-2-2-2 2V0H7v20h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],td=["M6 0c-.55 0-1 .45-1 1v18c0 .55.32.68.71.29L9.3 15.7a.996.996 0 011.41 0l3.59 3.59c.38.39.7.26.7-.29v-8-4.5V1c0-.55-.45-1-1-1H6z"],nd=["M19.89 6.56l-2.99-6h-.01C16.72.23 16.39 0 16 0H4c-.39 0-.72.23-.89.56H3.1l-3 6h.01C.05 6.69 0 6.84 0 7v12c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V7c0-.16-.05-.31-.11-.44zM11 2h4.38l2 4H11V2zM4.62 2H9v4H2.62l2-4zM18 18H2V8h16v10zM8 12h4c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1z"],rd=["M19 5h-4V2c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v3H1c-.55 0-1 .45-1 1v5h4v-1h2v1h8v-1h2v1h4V6c0-.55-.45-1-1-1zm-6 0H7V3h6v2zm3 8h-2v-1H6v1H4v-1H0v6c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-6h-4v1z"],od=["M18 18a1 1 0 010 2H2a1 1 0 010-2h16zM9.995 3.005c.55 0 1 .45 1 .999v9.584l1.29-1.288a1.002 1.002 0 011.42 1.419l-3 2.996a1.015 1.015 0 01-1.42 0l-3-2.997a1.002 1.002 0 011.42-1.419l1.29 1.29V4.013c0-.55.45-1.009 1-1.009zM16 0a1 1 0 110 2 1 1 0 010-2zm-3 0a1 1 0 110 2 1 1 0 010-2zm-3 0a1 1 0 110 2 1 1 0 010-2zM7 0a1 1 0 110 2 1 1 0 010-2zM4 0a1 1 0 110 2 1 1 0 010-2z"],id=["M6.006 4.272C6.124 2.136 7.866 0 10 0c2.133 0 3.877 2.136 3.994 4.272.49.438.909.956 1.234 1.532L17 5.017V3a1 1 0 112 0v2.667a1 1 0 01-.594.913l-2.5 1.111c.062.344.094.698.094 1.059V10h3a1 1 0 110 2h-3v.5c0 .604-.09 1.187-.255 1.737l2.661 1.182a1 1 0 01.594.914V19a1 1 0 11-2 0v-2.017l-2.147-.954A5.992 5.992 0 0110 18.5a5.992 5.992 0 01-4.853-2.471L3 16.983V19a1 1 0 11-2 0v-2.667a1 1 0 01.594-.913l2.661-1.183A6 6 0 014 12.5V12H1a1 1 0 110-2h3V8.75c0-.361.032-.715.093-1.059l-2.5-1.11A1 1 0 011 5.666V3a1 1 0 012 0v2.017l1.772.787a6.026 6.026 0 011.234-1.532zM6 11v1.5a4 4 0 008 0V8.75a4 4 0 00-8 0V11z"],ad=["M15.836 1.014a1 1 0 011.058.539l2.482 4.962.02-.004a.5.5 0 01.604.49v4.5a.5.5 0 01-.5.5h-3.93a1.5 1.5 0 00-1.248.667l-1.406 2.11A.5.5 0 0112.5 15H8a.5.5 0 01-.354-.146l-2.414-2.415A1.5 1.5 0 004.172 12H.5a.5.5 0 01-.5-.5v-3A.5.5 0 01.5 8h.823L3.072 3.63a1 1 0 01.764-.615l12-2zm.289 3.472l1.231 2.462-2.758.591 1.527-3.053zM14.5 3.264l-1.56 3.12-.252-.638-.825-2.043 2.637-.44zm-9.78 1.63l5.122-.854.988 2.445.899 2.27L10.232 11H7.707L4.854 8.147A.5.5 0 004.5 8H3.477l1.242-3.106zM3 19a3 3 0 100-6 3 3 0 000 6zm14 0a3 3 0 100-6 3 3 0 000 6z"],ld=["M19.43 16.67L9.31 7.81l1.47-1.56c.41-.44-.15-.8.15-1.6 1.08-2.76 4.19-2.99 4.19-2.99s.45-.47.87-.92C11.98-1 9.26.7 8.04 1.8L3.83 6.25l-.86.92c-.48.51-.48 1.33 0 1.84l-.87.92c-.48-.51-1.26-.51-1.74 0s-.48 1.33 0 1.84l1.74 1.84c.48.51 1.26.51 1.74 0s.48-1.33 0-1.84l.87-.92c.48.51 1.26.51 1.74 0l1.41-1.49 8.81 10.07c.76.76 2 .76 2.76 0 .76-.76.76-2 0-2.76z"],sd=["M16 0H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM7 18H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V8h2v2zm4 8H9v-2h2v2zm0-4H9v-2h2v2zm0-4H9V8h2v2zm4 8h-2v-6h2v6zm0-8h-2V8h2v2zm0-4H5V2h10v4z"],cd=["M15 5c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1s-1 .5-1 1v2c0 .6.4 1 1 1zM5 5c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1s-1 .5-1 1v2c0 .6.4 1 1 1zm13-2h-1v1c0 1.1-.9 2-2 2s-2-.9-2-2V3H7v1c0 1.1-.9 2-2 2s-2-.9-2-2V3H2c-.5 0-1 .5-1 1v14c0 .5.5 1 1 1h16c.5 0 1-.5 1-1V4c0-.5-.5-1-1-1zM7 17H3v-4h4v4zm0-5H3V8h4v4zm5 5H8v-4h4v4zm0-5H8V8h4v4zm5 5h-4v-4h4v4zm0-5h-4V8h4v4z"],ud=["M10 8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm9-4h-3.59L13.7 2.29A.956.956 0 0013 2H7c-.28 0-.53.11-.71.29L4.59 4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h4.11c1.26 1.24 2.99 2 4.89 2s3.63-.76 4.89-2H19c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM4 8H2V6h2v2zm6 8c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],dd=["M16 7c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1 0 .24.1.46.24.63l-.01.01 5 6 .01-.01c.19.22.45.37.76.37s.57-.15.76-.37l.01.01 5-6-.01-.01c.14-.17.24-.39.24-.63z"],hd=["M13 4c-.24 0-.46.1-.63.24l-.01-.01-6 5 .01.01c-.22.19-.37.45-.37.76s.15.57.37.76l-.01.01 6 5 .01-.01c.17.14.39.24.63.24.55 0 1-.45 1-1V5c0-.55-.45-1-1-1z"],fd=["M14 10c0-.31-.15-.57-.37-.76l.01-.01-6-5-.01.01C7.46 4.1 7.24 4 7 4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1 .24 0 .46-.1.63-.24l.01.01 6-5-.01-.01c.22-.19.37-.45.37-.76z"],pd=["M15.76 12.37l.01-.01-5-6-.01.01C10.57 6.15 10.31 6 10 6s-.57.15-.76.37l-.01-.01-5 6 .01.01c-.14.17-.24.39-.24.63 0 .55.45 1 1 1h10c.55 0 1-.45 1-1 0-.24-.1-.46-.24-.63z"],vd=["M12.5 1.25h4a1 1 0 011 1V5h-5V1.25zM2.75 5a.25.25 0 00-.25.25v6H.883a.5.5 0 00-.429.757l1.672 2.787c.17.284.384.533.63.741-.458.057-.959.09-1.506.09a.625.625 0 100 1.25c2.583 0 4.268-.68 5.202-1.146.687.466 1.88 1.146 3.548 1.146 1.65 0 2.837-.666 3.528-1.132l.005.003c.244.131.6.3 1.07.468.938.335 2.321.661 4.147.661a.625.625 0 100-1.25c-.319 0-.622-.01-.91-.03.398-.318.717-.738.914-1.23l.972-2.43a.5.5 0 00-.464-.685H5v-6A.25.25 0 004.75 5h-2zm3.455 11.95a.625.625 0 01.658.041c.569.407 1.597 1.134 3.137 1.134s2.568-.727 3.137-1.134a.625.625 0 01.724-.001l.007.005.045.029c.044.027.114.069.21.12.194.104.493.247.9.392.812.29 2.053.589 3.727.589a.625.625 0 110 1.25c-1.826 0-3.21-.326-4.148-.661a7.894 7.894 0 01-1.069-.468l-.005-.003c-.691.466-1.878 1.132-3.528 1.132-1.667 0-2.861-.68-3.548-1.146-.934.467-2.619 1.146-5.202 1.146a.625.625 0 110-1.25c2.66 0 4.23-.787 4.955-1.176zM17.5 6.25h-5V10h4a1 1 0 001-1V6.25zm-11.25-4a1 1 0 011-1h4V5h-5V2.25zm5 4h-5V9a1 1 0 001 1h4V6.25z"],md=["M11.5 8.32c.31-.35.51-.81.51-1.32 0-1.1-.9-2-2-2s-2 .9-2 2c0 .51.2.97.51 1.32L5.06 18.69c-.17.52.11 1.09.63 1.26s1.09-.11 1.26-.63L8.39 15h3.23l1.44 4.32c.17.52.74.81 1.26.63s.81-.74.63-1.26L11.5 8.32zM10.95 13H9.06l.95-2.84.94 2.84zM5.31 10.73a.996.996 0 101.37-1.45c-1.4-1.33-1.28-3.35-.01-4.54.4-.38.43-1.01.05-1.41-.36-.41-1-.43-1.4-.06-2.09 1.95-2.28 5.3-.01 7.46z","M4.6 12.2C3 11.1 2 9 2 7c0-2.1.9-3.9 2.6-5.2.5-.3.5-1 .2-1.4-.3-.5-1-.5-1.4-.2C1.2 1.9-.1 4.2 0 7c.1 2.7 1.4 5.3 3.4 6.8.2.1.4.2.6.2.3 0 .6-.1.8-.4.4-.5.3-1.1-.2-1.4zM13.27 10.69c.38.4 1.01.42 1.41.04 2.27-2.16 2.08-5.51-.01-7.46a.996.996 0 10-1.36 1.46c1.28 1.19 1.39 3.21-.01 4.54-.39.39-.41 1.02-.03 1.42z","M16.6.2c-.4-.3-1.1-.3-1.4.2-.3.4-.3 1.1.2 1.4C17.1 3.1 18 4.9 18 7c0 2-1 4.1-2.6 5.2-.5.3-.6.9-.2 1.4.2.3.5.4.8.4.2 0 .4-.1.6-.2C18.7 12.3 20 9.7 20 7c.09-2.8-1.2-5.1-3.4-6.8z"],gd=["M18 16H2c-1.1 0-2 .9-2 2s.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2zM3 5c.28 0 .53-.11.71-.29L5 3.41V13c0 .55.45 1 1 1s1-.45 1-1V3.41L8.29 4.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3C6.53.11 6.28 0 6 0s-.53.11-.71.29l-3 3A1.003 1.003 0 003 5zm7.29 5.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3a1.003 1.003 0 00-1.42-1.42L15 10.59V1c0-.55-.45-1-1-1s-1 .45-1 1v9.59L11.71 9.3A.965.965 0 0011 9a1.003 1.003 0 00-.71 1.71z"],yd=["M7 11v8c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-8l-2 2-4-2zm-7 8c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-8l-6 3v5zM17 7l-3 3v9c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V8.74c-.26.15-.58.26-1 .26-1.92 0-2-2-2-2zm2-6h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.59L10.8 8.78 7.45 7.11v.01C7.31 7.05 7.16 7 7 7s-.31.05-.44.11V7.1l-6 3v.01c-.33.17-.56.5-.56.89 0 .55.45 1 1 1 .16 0 .31-.05.44-.11v.01L7 9.12l3.55 1.78v-.01c.14.06.29.11.45.11.28 0 .53-.11.71-.29L18 4.41V6c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1z"],bd=["M19 0H7c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h5.59l3.71 3.71c.17.18.42.29.7.29.55 0 1-.45 1-1v-3h1c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM7 13c-1.1 0-2-.9-2-2V4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h1v3a1.003 1.003 0 001.71.71L7.41 16H13c.55 0 1-.45 1-1v-.17L12.17 13H7z"],wd=["M8.41 10l5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L7 8.59V4c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55.45 1 1 1s1-.45 1-1v-4.59l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L8.41 10z"],_d=["M16 6c-.28 0-.53.11-.71.29L10 11.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l6 6c.18.18.43.29.71.29s.53-.11.71-.29l6-6A1.003 1.003 0 0016 6z"],Ed=["M13 3c-.55 0-1 .45-1 1v4.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l5.3 5.29-5.29 5.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l5.29-5.3V16c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1z"],xd=["M8.41 10l5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-6 6c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l6 6a1.003 1.003 0 001.42-1.42L8.41 10z"],Sd=["M13.71 9.29l-6-6a1.003 1.003 0 00-1.42 1.42l5.3 5.29-5.29 5.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l6-6c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Od=["M16.71 12.29l-6-6C10.53 6.11 10.28 6 10 6s-.53.11-.71.29l-6 6a1.003 1.003 0 001.42 1.42L10 8.41l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],Cd=["M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"],Md=["M14 10c-.28 0-.53.11-.71.29L11 12.59V5c0-.55-.45-1-1-1s-1 .45-1 1v7.59L6.71 10.3A.965.965 0 006 10a1.003 1.003 0 00-.71 1.71l4 4c.18.18.43.29.71.29s.53-.11.71-.29l4-4A1.003 1.003 0 0014 10zM10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"],zd=["M15 9H7.41L9.7 6.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L7.41 11H15c.55 0 1-.45 1-1s-.45-1-1-1zm-5-9C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"],Pd=["M15.71 9.29l-4-4a1.003 1.003 0 00-1.42 1.42L12.59 9H5c-.55 0-1 .45-1 1s.45 1 1 1h7.59l-2.29 2.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"],Td=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.71-13.71C10.53 4.11 10.28 4 10 4s-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L9 7.41V15c0 .55.45 1 1 1s1-.45 1-1V7.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-4-4z"],Ad=["M4 1C1.79 1 0 2.79 0 5s1.79 4 4 4c.1 0 .2-.01.3-.02C3.82 11.32 2.53 13 1 13c-.55 0-1 .45-1 1s.45 1 1 1c3.87 0 7-4.48 7-10 0-2.21-1.79-4-4-4zM16 1c-2.21 0-4 1.79-4 4s1.79 4 4 4c.1 0 .2-.01.3-.02C15.82 11.32 14.53 13 13 13c-.55 0-1 .45-1 1s.45 1 1 1c3.87 0 7-4.48 7-10 0-2.21-1.79-4-4-4z"],Ld=["M7 0L5 5 0 6.998 5 9l2 5 2-5 5-1.995L9 5zM15 10l-1.5 3.496-3.5 1.499 3.5 1.498L15 20l1.5-3.507L20 15l-3.5-1.504z"],kd=["M0 1a1 1 0 011-1h5a1 1 0 010 2H2v4a1 1 0 01-2 0V1zm1 19a1 1 0 01-1-1v-5a1 1 0 112 0v4h4a1 1 0 110 2H1zm18 0a1 1 0 001-1v-5a1 1 0 10-2 0v4h-4a1 1 0 100 2h5zm0-20a1 1 0 011 1v5a1 1 0 11-2 0V2h-4a1 1 0 110-2h5zm-9 14a4 4 0 100-8 4 4 0 000 8z"],Nd=["M13 2c0-.55-.45-1-1-1h-.78a1.98 1.98 0 00-3.44 0H7c-.55 0-1 .45-1 1v2h7V2z","M16 2h-2v3H5V2H3c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z"],Id=["M15 7c-.12 0-.24.03-.36.04C13.83 4.69 11.62 3 9 3 5.69 3 3 5.69 3 9c0 .05.01.09.01.14A3.98 3.98 0 000 13c0 2.21 1.79 4 4 4h11c2.76 0 5-2.24 5-5s-2.24-5-5-5z"],Rd=["M15 4c-.12 0-.24.03-.36.04C13.83 1.69 11.62 0 9 0 5.69 0 3 2.69 3 6c0 .05.01.09.01.14A3.98 3.98 0 000 10c0 2.21 1.79 4 4 4h.78c.55-.61 1.34-1 2.22-1v-2c0-1.66 1.34-3 3-3s3 1.34 3 3v2c.88 0 1.66.38 2.2.98C17.87 13.87 20 11.69 20 9c0-2.76-2.24-5-5-5zm-2 11c-.28 0-.53.11-.71.29L11 16.59V11c0-.55-.45-1-1-1s-1 .45-1 1v5.59L7.71 15.3A.965.965 0 007 15a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 0013 15z"],Hd=["M10.71 10.29c-.18-.18-.43-.29-.71-.29s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L9 13.41V19c0 .55.45 1 1 1s1-.45 1-1v-5.59l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3zM15 4c-.12 0-.24.03-.36.04C13.83 1.69 11.62 0 9 0 5.69 0 3 2.69 3 6c0 .05.01.09.01.14A3.98 3.98 0 000 10c0 2.21 1.79 4 4 4 0-.83.34-1.58.88-2.12l3-3a2.993 2.993 0 014.24 0l3 3-.01.01c.52.52.85 1.23.87 2.02C18.28 13.44 20 11.42 20 9c0-2.76-2.24-5-5-5z"],Vd=["M6 6a1.003 1.003 0 00-1.71-.71l-4 4C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L2.41 10 5.7 6.71c.19-.18.3-.43.3-.71zm6-4c-.46 0-.83.31-.95.73l-4 14c-.02.09-.05.17-.05.27 0 .55.45 1 1 1 .46 0 .83-.31.95-.73l4-14c.02-.09.05-.17.05-.27 0-.55-.45-1-1-1zm7.71 7.29l-4-4a1.003 1.003 0 00-1.42 1.42l3.3 3.29-3.29 3.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Dd=["M19 5h-2V3c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v2H9V3c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v2H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8.71 15.29a1.003 1.003 0 01-1.42 1.42l-4-4C3.11 12.53 3 12.28 3 12s.11-.53.29-.71l4-4a1.003 1.003 0 011.42 1.42L5.41 12l3.3 3.29zm8-2.58l-4 4a1.003 1.003 0 01-1.42-1.42l3.3-3.29-3.29-3.29A.965.965 0 0111 8a1.003 1.003 0 011.71-.71l4 4c.18.18.29.43.29.71s-.11.53-.29.71z"],jd=["M19 8h-2.31c-.14-.46-.33-.89-.56-1.3l1.7-1.7a.996.996 0 000-1.41l-1.41-1.41a.996.996 0 00-1.41 0l-1.7 1.7c-.41-.22-.84-.41-1.3-.55V1c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v2.33c-.48.14-.94.34-1.37.58L5 2.28a.972.972 0 00-1.36 0L2.28 3.64c-.37.38-.37.99 0 1.36L3.9 6.62c-.24.44-.44.89-.59 1.38H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2.31c.14.46.33.89.56 1.3L2.17 15a.996.996 0 000 1.41l1.41 1.41c.39.39 1.02.39 1.41 0l1.7-1.7c.41.22.84.41 1.3.55V19c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.33c.48-.14.94-.35 1.37-.59L15 17.72c.37.37.98.37 1.36 0l1.36-1.36c.37-.37.37-.98 0-1.36l-1.62-1.62c.24-.43.45-.89.6-1.38H19c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-9 6c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"],Fd=["M9.29 8.71c.18.18.43.29.71.29s.53-.11.71-.29l6-6a1.003 1.003 0 00-1.42-1.42L10 6.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l6 6zm1.42 2.58c-.18-.18-.43-.29-.71-.29s-.53.11-.71.29l-6 6a1.003 1.003 0 001.42 1.42l5.29-5.3 5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-6-6z"],Bd=["M2.188 9h11.984L8 2.828 3.414 7.414C2.811 8.017 2.405 8.48 2.188 9zM8 0L6.586 1.414 2 6c-1 1-2 2.11-2 4 0 2 1 3 2 4l1 1c1 1 2 2 4 2 2.009 0 2.918-.913 3.868-1.867L11 15l4.586-4.586L17 9l-1.414-1.414-6.172-6.172L8 0zm10.5 13.5L17 11l-1.5 2.5c-.318.53-.5 1-.5 1.5 0 1 .5 2 2 2s2-1 2-2c0-.5-.182-.97-.5-1.5zM1 18a1 1 0 100 2h18a1 1 0 100-2H1z"],Ud=["M19 1H1c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM5 17H2V3h3v14zm4 0H6V3h3v14zm9 0h-8V3h8v14z"],Gd=["M19 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3v4a1.003 1.003 0 001.71.71l4.7-4.71H19c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM4 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"],qd=["M6 8H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm13-6h-5c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 3h-5V3h5v2zM6 14H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zM6 2H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm4-2c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm9 14h-5c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm0 3h-5v-2h5v2zm0-9h-5c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm0 3h-5V9h5v2z"],Wd=["M15 10c0 .14-.03.28-.09.4l-3.99 8.98-.01.02a.991.991 0 01-1.82 0l-.01-.02-3.99-8.98c-.06-.12-.09-.26-.09-.4s.03-.28.09-.4L9.08.62 9.09.6a.991.991 0 011.82 0l.01.02 3.99 8.98c.06.12.09.26.09.4zm-5-6.54L7.09 10h5.81L10 3.46z"],Kd=["M19.89 6.56l-2.99-6h-.01C16.72.23 16.39 0 16 0H4c-.39 0-.72.23-.89.56H3.1l-3 6h.01C.05 6.69 0 6.84 0 7v12c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V7c0-.16-.05-.31-.11-.44zM11 2h4.38l2 4H11V2zM4.62 2H9v4H2.62l2-4zM18 18H2V8h7v4.59L6.71 10.3A.965.965 0 006 10a1.003 1.003 0 00-.71 1.71l4 4c.18.18.43.29.71.29s.53-.11.71-.29l4-4a1.003 1.003 0 00-1.42-1.42L11 12.59V8h7v10z"],$d=["M9.71 5.29a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l7-7a1.003 1.003 0 00-1.42-1.42L12 7.59l-2.29-2.3zm7.93 2.32c.23.75.36 1.56.36 2.39 0 4.42-3.58 8-8 8s-8-3.58-8-8a7.998 7.998 0 0111.8-7.04l1.46-1.46C13.73.56 11.93 0 10 0 4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10c0-1.4-.29-2.73-.81-3.95l-1.55 1.56z"],Yd=["M19 19H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h18c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1zM18 6H2v11h16V6zM4 8c.28 0 .53.11.71.29l2 2c.18.18.29.43.29.71s-.11.53-.29.71l-2 2a1.003 1.003 0 01-1.42-1.42L4.59 11l-1.3-1.29A1.003 1.003 0 014 8zm5 4h3c.55 0 1 .45 1 1s-.45 1-1 1H9c-.55 0-1-.45-1-1s.45-1 1-1z"],Xd=["M19 8h-1.26c-.19-.73-.48-1.42-.85-2.06l.94-.94a.996.996 0 000-1.41l-1.41-1.41a.996.996 0 00-1.41 0l-.94.94c-.65-.38-1.34-.67-2.07-.86V1c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v1.26c-.76.2-1.47.5-2.13.89L5 2.28a.972.972 0 00-1.36 0L2.28 3.64c-.37.38-.37.98 0 1.36l.87.87c-.39.66-.69 1.37-.89 2.13H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h1.26c.19.73.48 1.42.85 2.06l-.94.94a.996.996 0 000 1.41l1.41 1.41c.39.39 1.02.39 1.41 0l.94-.94c.64.38 1.33.66 2.06.85V19c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-1.26c.76-.2 1.47-.5 2.13-.89l.88.87c.37.37.98.37 1.36 0l1.36-1.36c.37-.38.37-.98 0-1.36l-.87-.87c.4-.65.7-1.37.89-2.13H19c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-9 7c-2.76 0-5-2.24-5-5s2.24-5 5-5v10z"],Zd=["M17 10h-7v7h7v-7zm0-7h-7v6h7V3zM9 3H3v14h6V3zm10-3H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2V2h16v16z"],Qd=["M19 3H1c-.55 0-1 .45-1 1v2h20V4c0-.55-.45-1-1-1zM0 16c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V8H0v8zm6.5-2h7c.28 0 .5.22.5.5s-.22.5-.5.5h-7c-.28 0-.5-.22-.5-.5s.22-.5.5-.5zm-4 0h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2c-.28 0-.5-.22-.5-.5s.22-.5.5-.5z"],Jd=["M11.41 10l4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10z"],eh=["M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10zm4.7-13.29L11.41 10l3.3 3.29A1.003 1.003 0 0114 15c-.28 0-.53-.11-.71-.3L10 11.41l-3.29 3.3A1.003 1.003 0 015 14c0-.28.11-.53.3-.71L8.59 10l-3.3-3.29a1.003 1.003 0 011.42-1.42L10 8.59l3.29-3.3A1.003 1.003 0 0115 6c0 .28-.11.53-.3.71z"],th=["M2 8l4 2 4-5 4 5 4-2-1 7H3L2 8zm8-6a1 1 0 110 2 1 1 0 010-2zM1 5a1 1 0 110 2 1 1 0 010-2zm18 0a1 1 0 110 2 1 1 0 010-2zM3 16h14v2H3v-2z"],nh=["M1.953 4.481l7.41-4.02c.394-.215.88-.215 1.275 0l7.409 4.02L10 9.22 1.953 4.48zm-.817.68L9.5 10.085v9.281a1.316 1.316 0 01-.138-.064l-7.714-4.186A1.211 1.211 0 011 14.057v-8.35c0-.193.048-.38.136-.547zm17.728 0c.088.166.136.353.136.546v8.35c0 .438-.247.842-.648 1.06l-7.714 4.186c-.045.024-.091.046-.138.064v-9.281l8.364-4.926z"],rh=["M17 3h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V5h-2a1 1 0 010-2h2V1a1 1 0 012 0v2zm-3.969 4.435L10 9.22 1.953 4.48l7.41-4.02c.394-.215.88-.215 1.275 0l1.33.721A3.001 3.001 0 0013 7c0 .148.01.293.031.435zm.319.972A3 3 0 0019 7v7.057c0 .438-.247.842-.648 1.06l-7.714 4.186c-.045.024-.091.046-.138.064v-9.281l2.85-1.679zM1.136 5.16L9.5 10.086v9.281a1.316 1.316 0 01-.138-.064l-7.714-4.186A1.211 1.211 0 011 14.057v-8.35c0-.193.048-.38.136-.547z"],oh=["M11.968 1.182A3.001 3.001 0 0013 7h.77L10 9.22 1.953 4.48l7.41-4.02c.394-.215.88-.215 1.275 0l1.33.721zM19 7v7.057c0 .438-.247.842-.648 1.06l-7.714 4.186c-.045.024-.091.046-.138.064v-9.281L15.74 7H19zM1.136 5.16L9.5 10.086v9.281a1.316 1.316 0 01-.138-.064l-7.714-4.186A1.211 1.211 0 011 14.057v-8.35c0-.193.048-.38.136-.547zM13 3h6a1 1 0 010 2h-6a1 1 0 010-2z"],ih=["M19 16H3.02l2.14-1.74c2.25 1.7 7.33.46 11.83-2.99l-1.29-1.5c-3.56 2.74-7.31 4.03-8.93 3.19l10.55-8.57-.63-.78-10.59 8.6c-.64-1.64 1.46-4.91 5.09-7.7L9.9 3.01c-4.6 3.54-6.91 8.12-5.41 10.51L2 15.54V3c0-.55-.45-1-1-1s-1 .45-1 1v14a.998.998 0 001 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],ah=["M16 2s.72-1.28 0-2l-5.29 6.25 1.28 1.54L16 2zm.08 10c-.55 0-1.07.12-1.54.32L4.31 0c-.7.72 0 2 0 2l4.45 6.56-3.19 3.77C5.09 12.12 4.56 12 4 12c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.65-.17-1.26-.45-1.8l2.54-3.67 2.49 3.67c-.27.54-.44 1.15-.44 1.8 0 2.21 1.76 4 3.92 4 2.17 0 3.92-1.79 3.92-4 .02-2.21-1.74-4-3.9-4zM4 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm12.08 0c-1.08 0-1.96-.9-1.96-2s.88-2 1.96-2 1.96.9 1.96 2-.88 2-1.96 2z"],lh=["M16 10a4 4 0 110 8 4 4 0 010-8zM4 10a4 4 0 110 8 4 4 0 010-8zm7.299-5.543l.087.089 1.93 2.232 2.048.708a1 1 0 01.65 1.16l-.031.112a1 1 0 01-1.16.65l-.112-.031-2.302-.796a1 1 0 01-.337-.197l-.092-.094-1.387-1.603-1.891 1.982 2.046 2.274a1 1 0 01.25.547l.007.122v4.24a1 1 0 01-1.993.117l-.007-.117-.001-3.857-2.408-2.676a1 1 0 01-.063-1.26l.082-.099 3.29-3.45a1 1 0 011.394-.053zM16 12a2 2 0 100 4 2 2 0 000-4zM4 12a2 2 0 100 4 2 2 0 000-4zm9.5-10a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"],sh=["M6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM4 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6-4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-5C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm6-9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-8 5c0 1.1.9 2 2 2s2-.9 2-2c0-.33-2-8-2-8s-2 7.67-2 8zm6-9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"],ch=["M2 11.9c.935.674 2.339 1.217 4.023 1.536A6.996 6.996 0 009.393 20c-3.988-.019-7.231-1.083-7.387-2.4L2 17.5v-5.6zM13 8c3.315 0 6 2.685 6 6s-2.685 6-6 6-6-2.685-6-6 2.685-6 6-6zm1 1l-4 6h2.5l-.5 4 4-6h-2.5l.5-4zm3-4.6v3.855a7.003 7.003 0 00-10.779 3.992c-2.408-.391-4.097-1.202-4.214-2.142L2 10V4.4c1.525 1.1 4.3 1.85 7.5 1.85S15.475 5.5 17 4.4zM9.5 0C13.637 0 17 1.125 17 2.5S13.637 5 9.5 5C5.35 5 2 3.875 2 2.5S5.35 0 9.5 0z"],uh=["M1.053 0C.47 0 0 .471 0 1.053V4.21c0 .58.471 1.052 1.053 1.052h3.275a6.332 6.332 0 003.728 4.738 6.33 6.33 0 00-3.728 4.737l-3.275-.001C.47 14.737 0 15.208 0 15.789v3.158C0 19.53.471 20 1.053 20h7.435c.581 0 1.053-.471 1.053-1.053V15.79c0-.58-.472-1.052-1.053-1.052H5.406a5.293 5.293 0 015.195-4.21v2.105c0 .58.471 1.052 1.052 1.052h7.294c.582 0 1.053-.471 1.053-1.052V7.368c0-.58-.471-1.052-1.053-1.052h-7.294c-.581 0-1.052.471-1.052 1.052v2.106a5.293 5.293 0 01-5.194-4.21h3.081c.581 0 1.053-.472 1.053-1.053V1.053C9.54.47 9.069 0 8.488 0H1.053z"],dh=["M2.01 5.1v5.4c0 1.38 3.58 2.5 8 2.5s8-1.12 8-2.5V5.1c-1.49 1.13-4.51 1.9-8 1.9-3.48 0-6.5-.77-8-1.9zm8 .9c4.42 0 8-1.12 8-2.5s-3.58-2.5-8-2.5-8 1.12-8 2.5S5.6 6 10.01 6zm-8 6.1v5.4c0 1.38 3.58 2.5 8 2.5s8-1.12 8-2.5v-5.4c-1.49 1.13-4.51 1.9-8 1.9-3.48 0-6.5-.77-8-1.9z"],hh=["M15 6a1.003 1.003 0 00-1.71-.71L10 8.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42L8.59 10 5.3 13.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3.29-3.3 3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10l3.29-3.29c.19-.18.3-.43.3-.71zm-5-6C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"],fh=["M10 0L0 20h20L10 0zM9 6l6 12H3L9 6z"],ph=["M7.1 8.2h-.99c.28-1.11.66-1.92 1.12-2.43.28-.32.56-.48.83-.48.05 0 .1.02.13.05.03.03.05.07.05.12 0 .04-.04.13-.11.25a.64.64 0 00-.12.35c0 .15.06.28.18.39.12.11.27.16.45.16.2 0 .36-.07.49-.2s.2-.31.2-.54c0-.26-.1-.47-.3-.63-.19-.16-.51-.24-.95-.24-.68 0-1.3.19-1.85.58-.56.38-1.09 1.02-1.59 1.91-.17.3-.34.5-.49.59-.15.08-.4.13-.74.12l-.23.77h.95l-1.39 5.24c-.23.86-.39 1.39-.47 1.59-.12.29-.3.54-.54.75-.1.08-.21.12-.35.12-.04 0-.07-.01-.1-.03l-.03-.04c0-.02.03-.07.1-.13.07-.07.1-.17.1-.31 0-.15-.05-.28-.16-.38-.11-.1-.27-.15-.47-.15-.25 0-.44.07-.59.2-.15.12-.23.28-.23.46 0 .19.09.36.27.5.19.14.47.21.86.21.61 0 1.16-.15 1.63-.46.48-.31.89-.78 1.25-1.43.35-.64.72-1.68 1.09-3.11l.8-3.03h.96l.24-.77zM19 0h-9c-.55 0-1 .45-1 1v3h2V2h7v16h-7v-2H9v3c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-8.79 13.49c.15.28.32.49.52.61.19.12.44.19.73.19.28 0 .57-.1.86-.3.38-.25.77-.69 1.17-1.31l-.25-.14c-.27.37-.48.6-.61.69-.09.06-.19.09-.31.09-.14 0-.28-.09-.42-.26-.23-.29-.54-1.09-.93-2.4.35-.59.64-.97.87-1.15.17-.13.35-.2.55-.2.07 0 .2.03.39.08s.36.08.5.08c.2 0 .37-.07.5-.2.15-.14.22-.31.22-.52 0-.22-.07-.4-.2-.53s-.33-.2-.58-.2c-.22 0-.43.05-.63.15-.2.1-.45.32-.75.67-.23.25-.56.7-1.01 1.33a6.52 6.52 0 00-.91-2.15l-2.39.39-.05.25c.18-.03.33-.05.45-.05.24 0 .43.1.59.3.25.31.59 1.24 1.02 2.8-.34.44-.58.73-.7.87-.21.22-.38.36-.52.43-.1.05-.22.08-.35.08-.1 0-.26-.05-.49-.16a1.01 1.01 0 00-.42-.11c-.23 0-.42.07-.57.22-.15.14-.23.33-.23.55 0 .21.07.38.21.51.14.13.33.2.56.2.23 0 .44-.05.64-.14.2-.09.45-.29.75-.59s.72-.78 1.25-1.43c.21.61.39 1.06.54 1.35z"],vh=["M19 0H1C.45 0 0 .45 0 1v13c0 .55.45 1 1 1h5.67l-.5 3H5c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1h-1.17l-.5-3H19c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 13H2V2h16v11z"],mh=["M1 0a1 1 0 00-1 1v5a1 1 0 002 0V2h4a1 1 0 000-2H1zM0 19a1 1 0 001 1h5a1 1 0 100-2H2v-4a1 1 0 10-2 0v5zM19 20a1 1 0 001-1v-5a1 1 0 10-2 0v4h-4a1 1 0 100 2h5zM20 1a1 1 0 00-1-1h-5a1 1 0 100 2h4v4a1 1 0 102 0V1z","M5 6a1 1 0 011-1h8a1 1 0 011 1v8a1 1 0 01-1 1H6a1 1 0 01-1-1V6zm2 7V7h6v6H7z"],gh=["M4 2a1 1 0 01.117 1.993L4 4v5a2 2 0 001.85 1.995L6 11a2 2 0 001.995-1.85L8 9V4a1 1 0 01-.117-1.993L8 2h1a1 1 0 01.993.883L10 3v6a4.002 4.002 0 01-3 3.874V13a3 3 0 003 3 4 4 0 003.995-3.8L14 12V8.792a2.5 2.5 0 112 0V12a6 6 0 01-6 6 5 5 0 01-4.995-4.783L5 13v-.126A4.002 4.002 0 012.005 9.2L2 9V3a1 1 0 01.883-.993L3 2h1z"],yh=["M19 10v5h-2v-4h-6v4H9v-4H3v4H1v-5a1 1 0 011-1h7V5h2v4h7a1 1 0 011 1zM1 16h2a1 1 0 011 1v2a1 1 0 01-1 1H1a1 1 0 01-1-1v-2a1 1 0 011-1zm16 0h2a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2a1 1 0 011-1zm-8 0h2a1 1 0 011 1v2a1 1 0 01-1 1H9a1 1 0 01-1-1v-2a1 1 0 011-1zM9 0h2a1 1 0 011 1v2a1 1 0 01-1 1H9a1 1 0 01-1-1V1a1 1 0 011-1z"],bh=["M20 3.02l-20 7 20 7-5-7z"],wh=["M20 10.02l-20-7 5 7-5 7z"],_h=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM2 10c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L3.69 14.9A7.902 7.902 0 012 10zm8 8c-1.85 0-3.55-.63-4.9-1.69L16.31 5.1A7.902 7.902 0 0118 10c0 4.42-3.58 8-8 8z"],Eh=["M11.25 6.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zM6 9c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1H6zm4 6a1.25 1.25 0 100-2.5 1.25 1.25 0 000 2.5z"],xh=["M11.98 0h-8c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V6l-6-6zm4 18h-11V2h6v5h5v11z"],Sh=["M8 15c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1h2.59L1.3 16.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L8 12.41V15zm5-15H5c-.55 0-1 .45-1 1v6h2V2h6v5h5v11H6v-.76L4.04 19.2c.1.45.48.8.96.8h13c.55 0 1-.45 1-1V6l-6-6z"],Oh=["M14.09 10.09c-.31.31-.67.57-1.09.72V18H2V2h6v5h1.18c.15-.42.39-.8.7-1.11v-.01l2.45-2.45c-.42-.29-.78-.65-1.01-1.11L9 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V9.24l-.88.88-.03-.03zM19 0h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L11.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 3.41V6c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],Ch=["M15.57 11.19c-.27-.51-.63-.93-1.07-1.26-.44-.33-.95-.6-1.51-.79-.56-.2-1.14-.36-1.72-.5-.6-.14-1.19-.26-1.75-.38-.57-.13-1.07-.27-1.51-.44-.44-.17-.8-.38-1.07-.63s-.41-.59-.41-1c0-.33.09-.6.28-.81.19-.21.42-.36.69-.47.27-.11.57-.18.88-.22.31-.04.58-.06.8-.06.71 0 1.35.14 1.9.41.55.27.91.81 1.06 1.62h3.36c-.09-.84-.32-1.56-.69-2.16-.37-.6-.83-1.08-1.38-1.45-.56-.37-1.18-.64-1.86-.81-.19-.05-.38-.07-.57-.1V1c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v1.1c-.22.03-.43.05-.66.1-.73.13-1.39.37-1.98.71-.6.34-1.09.8-1.47 1.35-.39.56-.58 1.25-.58 2.08 0 .76.13 1.41.4 1.93.26.52.62.95 1.06 1.28.44.33.94.6 1.5.79.55.2 1.13.36 1.74.5.58.14 1.16.26 1.72.38s1.07.26 1.51.43c.44.17.8.39 1.09.66.28.27.43.63.45 1.06.02.43-.08.78-.3 1.04-.22.26-.49.47-.83.6-.34.14-.7.23-1.09.28-.39.05-.73.07-1.03.07-.87 0-1.61-.2-2.23-.59-.62-.39-.98-1.08-1.07-2.06H3c.02.9.19 1.68.52 2.34.33.66.78 1.21 1.35 1.65.57.44 1.25.77 2.03.98.35.1.71.16 1.08.21V19c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.13c.25-.04.5-.07.76-.13.77-.18 1.47-.46 2.1-.85.63-.39 1.14-.9 1.54-1.53.4-.63.59-1.39.59-2.29.01-.75-.13-1.37-.4-1.88z"],Mh=["M10 6a4 4 0 100 8 4 4 0 100-8z"],zh=["M8 4c-.24 0-.46.1-.63.24l-.01-.01-6 5 .01.01c-.22.19-.37.45-.37.76s.15.57.37.76l-.01.01 6 5 .01-.01c.17.14.39.24.63.24.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm11 6c0-.31-.15-.57-.37-.76l.01-.01-6-5-.01.01C12.46 4.1 12.24 4 12 4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1 .24 0 .46-.1.63-.24l.01.01 6-5-.01-.01c.22-.19.37-.45.37-.76z"],Ph=["M5 9h10c.55 0 1-.45 1-1 0-.24-.1-.46-.24-.63l.01-.01-5-6-.01.01C10.57 1.15 10.31 1 10 1s-.57.15-.76.37l-.01-.01-5 6 .01.01C4.1 7.54 4 7.76 4 8c0 .55.45 1 1 1zm10 2H5c-.55 0-1 .45-1 1 0 .24.1.46.24.63l-.01.01 5 6 .01-.01c.19.22.45.37.76.37s.57-.15.76-.37l.01.01 5-6-.01-.01c.14-.17.24-.39.24-.63 0-.55-.45-1-1-1z"],Th=["M9.29 10.71c.18.18.43.29.71.29s.53-.11.71-.29l6-6a1.003 1.003 0 00-1.42-1.42L10 8.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l6 6zM16 9c-.28 0-.53.11-.71.29L10 14.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l6 6c.18.18.43.29.71.29s.53-.11.71-.29l6-6A1.003 1.003 0 0016 9z"],Ah=["M5.41 10l5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-6 6c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l6 6a1.003 1.003 0 001.42-1.42L5.41 10zm6 0l5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-6 6c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l6 6a1.003 1.003 0 001.42-1.42L11.41 10z"],Lh=["M11 10c0-.28-.11-.53-.29-.71l-6-6a1.003 1.003 0 00-1.42 1.42L8.59 10 3.3 15.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l6-6c.18-.18.29-.43.29-.71zm5.71-.71l-6-6a1.003 1.003 0 00-1.42 1.42l5.3 5.29-5.29 5.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l6-6c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],kh=["M4 11c.28 0 .53-.11.71-.29L10 5.41l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-6-6A.997.997 0 0010 3c-.28 0-.53.11-.71.29l-6 6A1.003 1.003 0 004 11zm6.71-1.71A.997.997 0 0010 9c-.28 0-.53.11-.71.29l-6 6a1.003 1.003 0 001.42 1.42l5.29-5.3 5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-6-6z"],Nh=["M16 10c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6V0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10h-4zm-.09-1h4.04C19.48 4.28 15.72.52 11 .05V4.1A5.98 5.98 0 0115.91 9z"],Ih=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm4.71 11.71l-4 4c-.18.18-.43.29-.71.29s-.53-.11-.71-.29l-4-4a1.003 1.003 0 011.42-1.42L9 12.59V5c0-.55.45-1 1-1s1 .45 1 1v7.59l2.29-2.29c.18-.19.43-.3.71-.3a1.003 1.003 0 01.71 1.71z"],Rh=["M7.5 11c-.83 0-1.5.67-1.5 1.5S6.67 14 7.5 14 9 13.33 9 12.5 8.33 11 7.5 11zm-5-5C1.67 6 1 6.67 1 7.5S1.67 9 2.5 9 4 8.33 4 7.5 3.33 6 2.5 6zm0 5c-.83 0-1.5.67-1.5 1.5S1.67 14 2.5 14 4 13.33 4 12.5 3.33 11 2.5 11zm15-2c.83 0 1.5-.67 1.5-1.5S18.33 6 17.5 6 16 6.67 16 7.5 16.67 9 17.5 9zm-5 2c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm5 0c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-10-5C6.67 6 6 6.67 6 7.5S6.67 9 7.5 9 9 8.33 9 7.5 8.33 6 7.5 6zm5 0c-.83 0-1.5.67-1.5 1.5S11.67 9 12.5 9 14 8.33 14 7.5 13.33 6 12.5 6z"],Hh=["M7.5 6C6.67 6 6 6.67 6 7.5S6.67 9 7.5 9 9 8.33 9 7.5 8.33 6 7.5 6zm0 5c-.83 0-1.5.67-1.5 1.5S6.67 14 7.5 14 9 13.33 9 12.5 8.33 11 7.5 11zm0 5c-.83 0-1.5.67-1.5 1.5S6.67 19 7.5 19 9 18.33 9 17.5 8.33 16 7.5 16zm5-12c.83 0 1.5-.67 1.5-1.5S13.33 1 12.5 1 11 1.67 11 2.5 11.67 4 12.5 4zm-5-3C6.67 1 6 1.67 6 2.5S6.67 4 7.5 4 9 3.33 9 2.5 8.33 1 7.5 1zm5 10c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-10c-.83 0-1.5.67-1.5 1.5S11.67 9 12.5 9 14 8.33 14 7.5 13.33 6 12.5 6z"],Vh=["M17.7 12.7c0-.1 0-.2-.1-.3l-2-7c-.1-.3-.3-.6-.6-.7L1.8 0l-.6.5L7.7 7c.3-.2.6-.3 1-.3 1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2c0-.4.1-.7.3-1L.5 1.2l-.5.6L4.7 15c.1.3.4.5.7.6l7 2c.1 0 .2.1.3.1.3 0 .5-.1.7-.3l4-4c.2-.2.3-.5.3-.7zm1 1c-.3 0-.5.1-.7.3l-4 4c-.2.2-.3.4-.3.7 0 .5.4 1 1 1 .3 0 .5-.1.7-.3l4-4c.2-.2.3-.4.3-.7 0-.6-.5-1-1-1z"],Dh=["M9 0a1 1 0 011 1v18a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h8zM8 2H2v16h6V2zm2 7h6.59L14.3 6.71A.965.965 0 0114 6a1.003 1.003 0 011.71-.71l4 4c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-4 4a1.003 1.003 0 01-1.42-1.42l2.3-2.29H10V9z"],jh=["M1 0h8a1 1 0 011 1v18a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1zm9 9h6.59L14.3 6.71A.965.965 0 0114 6a1.003 1.003 0 011.71-.71l4 4c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-4 4a1.003 1.003 0 01-1.42-1.42l2.3-2.29H10V9z"],Fh=["M19 0a1 1 0 011 1v18a1 1 0 01-1 1h-8a1 1 0 01-1-1V1a1 1 0 011-1h8zm-1 2h-6v16h6V2zm-8 7H3.41L5.7 6.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L3.41 11H10V9z"],Bh=["M11 0h8a1 1 0 011 1v18a1 1 0 01-1 1h-8a1 1 0 01-1-1V1a1 1 0 011-1zm-1 9H3.41L5.7 6.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L3.41 11H10V9z"],Uh=["M20.01 7.7c0-.63-.5-1.14-1.1-1.14h-1.32l-.95-2.57c-.24-.64-.95-1.31-1.59-1.5 0 0-1.65-.49-5.05-.49s-5.04.49-5.04.49c-.63.19-1.35.86-1.59 1.5l-.95 2.57H1.1C.5 6.56 0 7.07 0 7.7c0 .63.5 1.14 1.1 1.14h.47l-.34.91c-.24.64-.43 1.72-.43 2.4v5.39c0 .8.63 1.45 1.4 1.45.77 0 1.4-.65 1.4-1.45v-.83h12.8v.83c0 .8.63 1.45 1.4 1.45s1.4-.65 1.4-1.45v-5.39c0-.68-.19-1.77-.43-2.4l-.34-.91h.47c.61 0 1.11-.51 1.11-1.14zm-16.47.34l1.12-3.16c.08-.22.32-.39.54-.39h9.6c.22 0 .46.17.54.39l1.12 3.16c.08.21-.04.39-.26.39H3.8c-.22-.01-.34-.18-.26-.39zm.96 4.94c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.68 1.5 1.5c0 .83-.67 1.5-1.5 1.5zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"],Gh=["M15 4H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-1 14H2V6h12v12zm5-18H5c-.55 0-1 .45-1 1v2h2V2h12v12h-1v2h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],qh=["M4.59 12.59l2.83 2.83 7.65-7.65-2.83-2.83-7.65 7.65zM2 18l4.41-1.59-2.81-2.79L2 18zM16 2c-.55 0-1.05.22-1.41.59l-1.65 1.65 2.83 2.83 1.65-1.65A2.006 2.006 0 0016 2z"],Wh=["M4 12h12c.55 0 1-.45 1-1 0-.25-.1-.47-.25-.64l.01-.01-6-7-.01.01C10.57 3.14 10.3 3 10 3s-.57.14-.75.36l-.01-.01-6 7 .01.01c-.15.17-.25.39-.25.64 0 .55.45 1 1 1zm12 1H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1z"],Kh=["M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0zm0 2a8 8 0 100 16 8 8 0 000-16zm-4 8l.015.215C6.219 12.42 7.925 14 10 14a4 4 0 003.995-3.8L14 10h2l-.013.238C15.754 13.552 13.163 16 10 16a6 6 0 01-5.996-5.775L4 10h2zm1.5-4a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"],$h=["M19.83 9.38L18.81 7.6V5.62c0-.45-.23-.85-.61-1.08l-1.71-1-1.02-1.76a1.25 1.25 0 00-1.08-.61h-2.03l-1.74-1c-.38-.23-.87-.23-1.25 0l-1.74 1H5.65c-.44 0-.85.23-1.08.61L3.58 3.5l-1.8 1.04c-.38.24-.62.64-.62 1.08v2.06L.17 9.4c-.11.19-.17.4-.17.61s.06.42.17.61l.99 1.72v2.06c0 .45.23.85.61 1.08l1.78 1.02.99 1.72c.23.38.63.61 1.08.61h1.99l1.74 1c.19.11.41.17.62.17.21 0 .42-.06.61-.17l1.74-1h2.03c.44 0 .85-.23 1.08-.61l1.02-1.76 1.71-1c.38-.23.61-.64.61-1.08v-1.97l1.02-1.78c.27-.38.27-.85.04-1.25zm-5.08-.71l-5.01 5.01c-.18.18-.43.29-.71.29-.28 0-.53-.11-.71-.29l-3.01-3.01a1.003 1.003 0 011.42-1.42l2.3 2.3 4.31-4.3a1.003 1.003 0 011.71.71c0 .28-.12.53-.3.71z"],Yh=["M0 4.01v11.91l6.27-6.27L0 4.01zm18.91-1.03H1.09L10 10.97l8.91-7.99zm-5.18 6.66L20 15.92V4.01l-6.27 5.63zm-3.23 2.9c-.13.12-.31.19-.5.19s-.37-.07-.5-.19l-2.11-1.89-6.33 6.33h17.88l-6.33-6.33-2.11 1.89z"],Xh=["M4 7h12a1 1 0 010 2H4a1 1 0 110-2zm0 4h12a1 1 0 010 2H4a1 1 0 010-2z"],Zh=["M18.71 8.43c.39-.4.39-1.05 0-1.45l-5.53-5.72a.967.967 0 00-1.4 0L1.29 12.1c-.39.4-.39 1.05 0 1.45l4.25 4.39 2.13 2.05h9.27c.02 0 .03.01.05.01.55 0 1-.45 1-1s-.45-1-1-1H9.46l.05-.05h.01l.81-.84 8.38-8.68zM7.52 17.94l-4.95-5.12 4.46-4.61 4.95 5.12-4.46 4.61z"],Qh=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 16H9v-2h2v2zm0-3H9V4h2v9z"],Jh=["M8.89 4.47c.56-.31 1.23-.47 2.03-.47.44 0 .85.07 1.25.22.4.14.76.35 1.07.6.17.14.33.3.47.47l2.32-2.32c-.16-.15-.3-.32-.47-.46-.62-.49-1.33-.87-2.12-1.13-.8-.25-1.64-.38-2.52-.38-1.24 0-2.35.22-3.33.66-.99.44-1.82 1.05-2.49 1.82-.68.78-1.2 1.68-1.56 2.72-.09.26-.13.54-.2.8H2c-.55 0-1 .45-1 1s.45 1 1 1h1.04c-.01.2-.04.38-.04.58 0 .15.03.28.03.42H2c-.55 0-1 .45-1 1s.45 1 1 1h1.31c.07.3.13.6.23.89.36 1.02.88 1.92 1.56 2.67.68.76 1.51 1.35 2.49 1.79.98.43 2.09.65 3.33.65.99 0 1.9-.15 2.73-.46.83-.3 1.55-.74 2.17-1.32.03-.03.05-.06.08-.09l-2.41-2.15c-.01.01-.02.02-.02.03-.61.67-1.46 1-2.54 1-.8 0-1.47-.16-2.03-.47-.56-.31-1.01-.72-1.35-1.24-.28-.38-.47-.83-.63-1.3H12c.55 0 1-.45 1-1s-.45-1-1-1H6.56c0-.14-.02-.28-.02-.42 0-.2.02-.39.03-.58H13c.55 0 1-.45 1-1s-.45-1-1-1H6.94c.15-.46.34-.9.59-1.28.35-.52.8-.94 1.36-1.25zM18 11.38v0z"],ef=["M2.5 8a2.5 2.5 0 000 5 2.5 2.5 0 000-5zm10.35 3.15a.495.495 0 10-.7.7L13.3 13H5.5c-.28 0-.5.22-.5.5s.22.5.5.5h7.79l-1.15 1.15c-.08.09-.14.21-.14.35a.495.495 0 00.85.35l2-2c.09-.09.15-.21.15-.35s-.06-.26-.15-.35l-2-2zM17.5 8a2.5 2.5 0 000 5 2.5 2.5 0 000-5zM7.15 9.85a.495.495 0 10.7-.7L6.71 8h7.79c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H6.71l1.15-1.15c.08-.09.14-.21.14-.35a.495.495 0 00-.85-.35l-2 2c-.09.09-.15.21-.15.35s.06.26.15.35l2 2z"],tf=["M1 3h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zM0 13a1.003 1.003 0 001.71.71L4 11.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L5.41 10 7.7 7.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L4 8.59l-2.29-2.3A1.003 1.003 0 00.29 7.71L2.59 10 .3 12.29c-.19.18-.3.43-.3.71zm18-5h-7c-1.1 0-2 .9-2 2s.9 2 2 2h7c1.1 0 2-.9 2-2s-.9-2-2-2zm1 9H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],nf=["M4 9c.28 0 .53-.11.71-.29L10 3.41l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-6-6C10.53 1.11 10.28 1 10 1s-.53.11-.71.29l-6 6A1.003 1.003 0 004 9zm12 2c-.28 0-.53.11-.71.29L10 16.59 4.71 11.3A.965.965 0 004 11a1.003 1.003 0 00-.71 1.71l6 6c.18.18.43.29.71.29s.53-.11.71-.29l6-6A1.003 1.003 0 0016 11z"],rf=["M5 7c.28 0 .53-.11.71-.29L9 3.41V15c0 .55.45 1 1 1s1-.45 1-1V3.41l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-5-5C10.53.11 10.28 0 10 0s-.53.11-.71.29l-5 5A1.003 1.003 0 005 7zm14 7c-.55 0-1 .45-1 1v3H2v-3c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"],of=["M20 9.96v-.03-.01-.02-.02a.794.794 0 00-.21-.43c-.55-.69-1.19-1.3-1.85-1.87l-3.93 2.62a3.966 3.966 0 01-3.96 3.77c-.47 0-.91-.1-1.33-.24l-2.24 1.49c.52.21 1.05.39 1.6.51 1.21.27 2.43.28 3.64.05 1.11-.21 2.17-.64 3.17-1.18 1.56-.84 2.99-2 4.23-3.3.23-.24.46-.49.67-.75a.87.87 0 00.21-.43v-.02-.02-.01-.03V10v-.04zm-.46-5.14c.27-.18.46-.47.46-.82 0-.55-.45-1-1-1-.21 0-.39.08-.54.18l-.01-.02L15 5.46c-.95-.53-1.95-.96-3.01-1.2a9.158 9.158 0 00-3.65-.04c-1.11.21-2.17.64-3.17 1.18-1.56.84-2.99 2-4.23 3.3-.23.24-.46.48-.67.75-.27.34-.27.76 0 1.1.64.79 1.39 1.5 2.16 2.15.26.21.52.41.79.61L.44 15.16l.01.02A1 1 0 000 16c0 .55.45 1 1 1 .21 0 .39-.08.54-.18l.01.02 18-12-.01-.02zm-8.67 3.4c-.25-.12-.53-.2-.83-.2-1.1 0-1.99.89-1.99 1.99 0 .03.02.06.02.09l-1.78 1.19c-.14-.4-.22-.83-.22-1.28 0-2.19 1.78-3.97 3.98-3.97 1.01 0 1.91.38 2.61 1l-1.79 1.18z"],af=["M13.3 8.71c.18.18.43.29.71.29s.53-.11.71-.29l4.99-5a1.003 1.003 0 00-1.42-1.42L14 6.58l-2.29-2.29a.956.956 0 00-.7-.29 1.003 1.003 0 00-.71 1.71l3 3zM20 9.96v-.03-.01-.02-.02a.823.823 0 00-.21-.44c-.44-.55-.94-1.05-1.46-1.52l-2.2 2.2c-.55.54-1.3.88-2.12.88-.05 0-.09-.01-.14-.01a3.978 3.978 0 01-3.86 3.02 4.007 4.007 0 01-1.66-7.65A2.97 2.97 0 018.02 5c0-.28.05-.54.12-.8-1.05.22-2.07.64-3.02 1.15-1.57.85-3 2.02-4.24 3.33-.23.25-.46.5-.67.76-.28.35-.28.77 0 1.12.64.8 1.4 1.52 2.17 2.17 1.66 1.41 3.56 2.58 5.66 3.06 1.21.27 2.43.29 3.65.05 1.11-.21 2.18-.65 3.18-1.19 1.57-.85 3-2.02 4.24-3.33.23-.24.46-.49.67-.76.11-.12.18-.27.21-.44v-.02-.02-.01-.03V10c.01-.01.01-.03.01-.04zm-9.99 2.05c1.03 0 1.87-.79 1.98-1.8l-.09-.09-.01.01-2.1-2.11c-1 .11-1.77.95-1.77 1.98-.01 1.11.89 2.01 1.99 2.01z"],lf=["M10.01 7.984A2.008 2.008 0 008.012 9.99c0 1.103.9 2.006 1.998 2.006a2.008 2.008 0 001.998-2.006c0-1.103-.9-2.006-1.998-2.006zM20 9.96v-.03-.01-.02-.02a.827.827 0 00-.21-.442c-.64-.802-1.398-1.514-2.168-2.166-1.658-1.404-3.566-2.587-5.664-3.058a8.982 8.982 0 00-3.656-.05c-1.11.2-2.178.641-3.177 1.183-1.569.852-2.997 2.016-4.246 3.33-.23.25-.46.49-.67.761-.279.351-.279.773 0 1.124.64.802 1.4 1.514 2.169 2.166 1.658 1.404 3.566 2.577 5.664 3.058 1.209.271 2.438.281 3.656.05 1.11-.21 2.178-.651 3.177-1.193 1.569-.852 2.997-2.016 4.246-3.33.23-.24.46-.49.67-.751.11-.12.179-.271.209-.442v-.02-.02-.01-.03V10v-.04zM10.01 14A4.003 4.003 0 016.014 9.99a4.003 4.003 0 013.996-4.011 4.003 4.003 0 013.996 4.011 4.003 4.003 0 01-3.996 4.011z"],sf=["M18 3c-.23 0-.42.09-.59.21l-.01-.01L11 8V4c0-.55-.45-1-1-1-.23 0-.42.09-.59.21L9.4 3.2l-8 6 .01.01C1.17 9.4 1 9.67 1 10s.17.6.41.79l-.01.01 8 6 .01-.01c.17.12.36.21.59.21.55 0 1-.45 1-1v-4l6.4 4.8.01-.01c.17.12.36.21.59.21.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],cf=["M19 10c0-.33-.17-.6-.41-.79l.01-.01-8-6-.01.01C10.42 3.09 10.23 3 10 3c-.55 0-1 .45-1 1v4L2.6 3.2l-.01.01C2.42 3.09 2.23 3 2 3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1 .23 0 .42-.09.59-.21l.01.01L9 12v4c0 .55.45 1 1 1 .23 0 .42-.09.59-.21l.01.01 8-6-.01-.01c.24-.19.41-.46.41-.79z"],uf=["M2.5 15a2.5 2.5 0 000 5 2.5 2.5 0 000-5zm.5-5c-.55 0-1 .45-1 1s.45 1 1 1c2.76 0 5 2.24 5 5 0 .55.45 1 1 1s1-.45 1-1c0-3.87-3.13-7-7-7zM3 0c-.55 0-1 .45-1 1s.45 1 1 1c8.28 0 15 6.72 15 15 0 .55.45 1 1 1s1-.45 1-1C20 7.61 12.39 0 3 0zm0 5c-.55 0-1 .45-1 1s.45 1 1 1c5.52 0 10 4.48 10 10 0 .55.45 1 1 1s1-.45 1-1C15 10.37 9.63 5 3 5z"],df=["M2.5 15a2.5 2.5 0 000 5 2.5 2.5 0 000-5zM3 2c1.76 0 3.44.31 5.01.87.03-.71.31-1.35.75-1.85C6.96.37 5.03 0 3 0c-.55 0-1 .45-1 1s.45 1 1 1zm10.32 4.67a.99.99 0 001.4 0l4.98-4.98c.19-.17.3-.42.3-.7 0-.55-.45-1-1-1a.99.99 0 00-.7.29l-4.27 4.27-2.28-2.28a.99.99 0 00-.7-.29c-.55 0-.99.45-.99 1 0 .28.11.52.29.7l2.97 2.99zM3 10c-.55 0-1 .45-1 1s.45 1 1 1c2.76 0 5 2.24 5 5 0 .55.45 1 1 1s1-.45 1-1c0-3.87-3.13-7-7-7zm13.94-2.69l-.82.82-.02-.02c-.2.2-.42.37-.67.51A14.8 14.8 0 0118 17c0 .55.45 1 1 1s1-.45 1-1c0-3.61-1.14-6.94-3.06-9.69zM3 5c-.55 0-1 .45-1 1s.45 1 1 1c5.52 0 10 4.48 10 10 0 .55.45 1 1 1s1-.45 1-1C15 10.37 9.63 5 3 5z"],hf=["M19 2h-5v3H6V2H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h5v-3h8v3h5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zM4 17H2v-2h2v2zm0-3H2v-2h2v2zm0-3H2V9h2v2zm0-3H2V6h2v2zm0-3H2V3h2v2zm10 8H6V7h8v6zm4 4h-2v-2h2v2zm0-3h-2v-2h2v2zm0-3h-2V9h2v2zm0-3h-2V6h2v2zm0-3h-2V3h2v2z"],ff=["M18 1H2a1.003 1.003 0 00-.71 1.71L7 8.41V18a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71V8.41l5.71-5.71c.18-.17.29-.42.29-.7 0-.55-.45-1-1-1z"],pf=["M15 2c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L5 7.41V16a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71V7.41l4.71-4.71c.18-.17.29-.42.29-.7zm4 11c-.28 0-.53.11-.71.29L15 16.59l-1.29-1.29A.965.965 0 0013 15a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l4-4A1.003 1.003 0 0019 13z"],vf=["M15 2c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L5 7.41V16a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71V7.41l4.71-4.71c.18-.17.29-.42.29-.7zm-4 8c0 .55.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7c-.55 0-1 .45-1 1zm8 7h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1zm0-4h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c.55 0 1-.45 1-1s-.45-1-1-1z"],mf=["M15 2c0 .28-.11.53-.29.7L10 7.41V13c0 .28-.11.53-.29.71l-3 3A1.003 1.003 0 015 16V7.41L.29 2.71A1.003 1.003 0 011 1h13c.55 0 1 .45 1 1zm4.707 11.293a1 1 0 010 1.414l-4 4c-.63.63-1.707.184-1.707-.707v-8c0-.89 1.077-1.337 1.707-.707l4 4z"],gf=["M15 2c0-.55-.45-1-1-1H1a1.003 1.003 0 00-.71 1.71L5 7.41V16a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71V7.41l4.71-4.71c.18-.17.29-.42.29-.7zm2.91 13.5l1.79-1.79c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-1.79 1.79-1.79-1.79a1.003 1.003 0 00-1.42 1.42l1.79 1.79-1.79 1.79a1.003 1.003 0 001.42 1.42l1.79-1.79 1.79 1.79a1.003 1.003 0 001.42-1.42l-1.8-1.79z"],yf=["M3 3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1zm0-3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm2 4.08v8.28c3.01-2.41 8.67 2.64 13 0V4.08C13.61 7.14 8.01 1 5 4.08z"],bf=["M11.622 0c0 1.71.49 3.077 1.472 4.103C16.364 6.496 18 9.23 18 12.308c0 3.418-1.962 5.983-5.887 7.692 2.887-3 2.453-4.23-.49-8C8.5 13.5 9 14.5 9.5 16.5c-1.048 0-2 0-2.5-.5 0 .684 1.197 2.5 1.952 4-3.924-1.026-8.123-7.18-6.651-7.692.981-.342 2.126-.171 3.434.513C4.1 6.667 6.062 2.393 11.622 0z"],wf=["M4.96 6.37a1.003 1.003 0 001.42-1.42l-2-2a1.07 1.07 0 00-.71-.28 1.003 1.003 0 00-.71 1.71l2 1.99zm9.37.3c.28 0 .53-.11.71-.29l2-2a1.003 1.003 0 00-1.42-1.42l-2 2a1.003 1.003 0 00.71 1.71zM10 5c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1S9 .45 9 1v3c0 .55.45 1 1 1zm-5 5c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1zm14-1h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1zm-9-3c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.04 1.63a1.003 1.003 0 00-1.42 1.42l2 2a1.003 1.003 0 001.42-1.42l-2-2zM10 15c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1s1-.45 1-1v-3c0-.55-.45-1-1-1zm-4.33-1.67c-.28 0-.53.11-.71.29l-2 2a1.003 1.003 0 001.42 1.42l2-2a1.003 1.003 0 00-.71-1.71z"],_f=["M1 6.648c.343 0 .676-.028 1-.085.324-.057.614-.152.871-.284.267-.133.49-.303.672-.512.19-.208.314-.464.371-.767h1.329v9.947H3.457v-7.02H1V6.648zm13.965-1.635c.688 0 1.247.16 1.677.478.44.31.78.711 1.018 1.204.247.483.413 1.016.495 1.6.092.583.137 1.149.137 1.696 0 .547-.045 1.112-.137 1.696a5.182 5.182 0 01-.495 1.614 3.234 3.234 0 01-1.018 1.203c-.43.31-.99.465-1.677.465-.688 0-1.251-.155-1.691-.465-.431-.319-.77-.72-1.018-1.203a5.714 5.714 0 01-.495-1.614 12.116 12.116 0 01-.123-1.696c0-.547.04-1.113.123-1.696a5.534 5.534 0 01.495-1.6 3.26 3.26 0 011.018-1.204c.44-.319 1.004-.478 1.691-.478zm0 8.657c.34 0 .623-.096.853-.287.229-.2.407-.465.536-.794a4.61 4.61 0 00.288-1.176c.056-.447.083-.92.083-1.422 0-.502-.027-.971-.083-1.409a4.61 4.61 0 00-.288-1.176c-.129-.337-.307-.602-.536-.793-.23-.2-.514-.301-.853-.301-.348 0-.637.1-.866.3-.22.192-.399.457-.537.794-.128.337-.22.73-.274 1.176-.056.438-.083.907-.083 1.409 0 .501.027.975.082 1.422.055.447.147.84.275 1.176.138.329.317.593.537.794.229.191.518.287.866.287zm-5.104-.588H7.875V15h1.986v-1.918z"],Ef=["M14 1h-3v5h3V1zm5.71 2.29l-3-3A.997.997 0 0016 0h-1v7H5V0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V4c0-.28-.11-.53-.29-.71zM17 19H3v-8c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v8z"],xf=["M14.425 7.953a3.98 3.98 0 01.562 2.045 3.98 3.98 0 01-.583 2.08L18 15.671V12.98c0-.248.097-.496.29-.689.379-.379 1.047-.38 1.426 0a.94.94 0 01.283.696l-.001 5.049a.957.957 0 01-.276.69.955.955 0 01-.69.273h-5.059a.971.971 0 01-.689-.289 1.026 1.026 0 010-1.417.972.972 0 01.69-.29h2.702l-3.634-3.573a3.998 3.998 0 01-5.924-2.431H1a1 1 0 010-2h6.12a3.998 3.998 0 015.96-2.409L16.665 3l-2.694-.001a.972.972 0 01-.689-.29 1.035 1.035 0 010-1.425.94.94 0 01.696-.283l5.05.001c.248 0 .497.083.69.276a.954.954 0 01.272.69l.001 5.052a.971.971 0 01-.29.689 1.028 1.028 0 01-1.419 0 .972.972 0 01-.29-.69V4.323l-3.567 3.63z"],Sf=["M12 9.919a3.998 3.998 0 014-3.92c2.21 0 4 1.79 4 3.997a3.998 3.998 0 01-4 3.996 3.998 3.998 0 01-4-3.916.967.967 0 01-.28.612L7.685 14.71a.958.958 0 01-.686.285c-.536 0-.994-.461-.994-.997 0-.273.107-.528.283-.704l2.379-2.302H.98c-.537 0-.976-.46-.976-.996s.44-.992.976-.992h7.676L6.287 6.687a.957.957 0 01-.283-.686c0-.536.458-.996.994-.996.274 0 .51.1.686.285l4.027 4.024c.159.158.27.365.29.605z"],Of=["M5.125 10.997H.976C.439 10.997 0 10.537 0 10c0-.536.44-.993.976-.993h4.148a4.002 4.002 0 017.752 0h3.776L14.293 6.69a.962.962 0 01-.285-.687c0-.537.46-1.001.996-1.001a.96.96 0 01.698.3l4.005 4.015c.176.176.293.41.293.683a.972.972 0 01-.283.693L15.702 14.7a.997.997 0 01-.698.297c-.537 0-.996-.453-.996-.99 0-.273.107-.517.283-.692l2.371-2.318h-3.787a4.002 4.002 0 01-7.75 0z"],Cf=["M6.13 9.004A4.005 4.005 0 0110.012 6c1.87 0 3.44 1.278 3.881 3.005h2.768l-2.354-2.317a.97.97 0 01-.283-.691c0-.536.462-.995 1-.995.273 0 .517.107.693.283l4 4.041a.97.97 0 01.284.692.956.956 0 01-.293.682l-3.991 3.997a.944.944 0 01-.694.292c-.537 0-1-.46-1-.997a.97.97 0 01.284-.692l2.345-2.29h-2.765a4.005 4.005 0 01-3.875 2.981 4.005 4.005 0 01-3.874-2.981H3.349l2.376 2.308a.97.97 0 01.283.691 1 1 0 01-.994.983.989.989 0 01-.713-.291L.293 10.699A.956.956 0 010 10.017a.97.97 0 01.283-.692l4.03-4.037a.996.996 0 01.701-.283c.537 0 .994.464.994 1a.97.97 0 01-.283.691L3.34 9.004h2.79z"],Mf=["M13.04 13.424c-.6.36-1.302.568-2.052.568a4 4 0 01-3.868-2.999H3.342l2.372 2.31c.176.176.283.42.283.694 0 .537-.452.998-.988.998a.935.935 0 01-.691-.289L.292 10.683A.96.96 0 010 9.999c0-.274.107-.518.283-.694l4.035-4.04a.973.973 0 01.691-.288c.536 0 .988.47.988 1.007a.975.975 0 01-.283.694L3.332 8.984h3.786a4 4 0 013.87-3.006c.771 0 1.492.22 2.102.599l3.565-3.57-2.538-.003a.974.974 0 01-.69-.29c-.38-.38-.38-1.052-.002-1.431A.94.94 0 0114.122 1l4.896.005a.96.96 0 01.69.277c.193.193.27.442.27.69l.005 4.9a.971.971 0 01-.289.69 1.023 1.023 0 01-1.416 0 .975.975 0 01-.29-.691l-.003-2.54-3.554 3.62c.351.596.553 1.291.553 2.034 0 .763-.213 1.477-.583 2.084l3.595 3.595.003-2.54c0-.249.097-.497.29-.69.38-.38 1.05-.381 1.429-.002a.94.94 0 01.282.697l-.005 4.9a.927.927 0 01-.277.675.974.974 0 01-.69.291L13.974 19a.97.97 0 01-.69-.29 1.03 1.03 0 01.002-1.42.974.974 0 01.69-.29l2.696-.003-3.632-3.573z"],zf=["M17.5 7.93a2.5 2.5 0 00-2.45 2h-2.3l-4.01-4-.75.75 3.26 3.25h-6.3a2.5 2.5 0 100 1h6.3l-3.26 3.25.75.75 4.01-4h2.3a2.5 2.5 0 102.45-3z"],Pf=["M0 17c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V7H0v10zM19 4H9.41l-1.7-1.71A.997.997 0 007 2H1c-.55 0-1 .45-1 1v3h20V5c0-.55-.45-1-1-1z"],Tf=["M12.994 7c0 1.655 1.344 3 2.998 3a3.002 3.002 0 002.999-3H20v10c0 .55-.45 1-1 1H1.01c-.55 0-1-.45-1-1V7h12.984zM10.76 6H0V3c0-.55.45-1 1-1h3.998c.28 0 .53.11.71.29L7.415 4h2.579c0 .768.29 1.469.765 2zm8.23-3c.55 0 1 .45 1 1s-.45 1-1 1h-1.998v2c0 .55-.45 1-1 1s-1-.45-1-1V5h-1.998c-.55 0-1-.45-1-1s.45-1 1-1h1.999V1c0-.55.45-1 .999-1 .55 0 1 .45 1 1v2h1.999z"],Af=["M20 9c0-.55-.45-1-1-1H5c-.43 0-.79.27-.93.65h-.01l-3 8h.01c-.04.11-.07.23-.07.35 0 .55.45 1 1 1h14c.43 0 .79-.27.93-.65h.01l3-8h-.01c.04-.11.07-.23.07-.35zM3.07 7.63C3.22 7.26 3.58 7 4 7h14V5c0-.55-.45-1-1-1H8.41l-1.7-1.71A.997.997 0 006 2H1c-.55 0-1 .45-1 1v12.31l3.07-7.68z"],Lf=["M11 4H9.41l-1.7-1.71A.997.997 0 007 2H1c-.55 0-1 .45-1 1v3h11.78C11.3 5.47 11 4.77 11 4zm8-1h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L12.3 9.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1zm-2.46 7.7l-1.42 1.42a2.996 2.996 0 11-4.24-4.24l.88-.88H0v10c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-5.18c-.31.11-.65.18-1 .18-1.02 0-1.92-.52-2.46-1.3z"],kf=["M3.07 7.63C3.22 7.26 3.58 7 4 7h7.76l.54-.54A2.97 2.97 0 0111 4H8.41l-1.7-1.71A.997.997 0 006 2H1c-.55 0-1 .45-1 1v12.31l3.07-7.68zm13.47 3.07l-1.42 1.42A2.996 2.996 0 0110 10c0-.77.3-1.47.78-2H5c-.43 0-.79.27-.93.65h-.01l-3 8h.01c-.04.11-.07.23-.07.35 0 .55.45 1 1 1h14c.43 0 .79-.27.93-.65h.01l2.01-5.36c-1-.01-1.88-.52-2.41-1.29zM19 3h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L12.3 9.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1z"],Nf=["M11.54 15.92c-1.48-.65-1.28-1.05-1.33-1.59-.01-.07-.01-.15-.01-.23.51-.45.92-1.07 1.19-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.34-.07.54-.44.61-.78.08-.14.23-.48.2-.87-.05-.5-.25-.73-.47-.82v-.09c0-.63-.06-1.55-.17-2.15-.02-.17-.06-.33-.11-.5a3.69 3.69 0 00-1.29-1.86C9.69 4.25 8.8 4 8.01 4c-.8 0-1.69.25-2.32.73-.61.47-1.06 1.13-1.28 1.86-.05.17-.09.33-.11.5-.12.6-.18 1.51-.18 2.14v.08c-.23.09-.44.32-.49.83-.04.39.12.73.2.87.08.35.28.72.63.78.04.17.09.33.15.48 0 .01.01.02.01.03l.01.01c.27.72.7 1.35 1.22 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.38 1.59-1.48.65-3.71 1.35-4.16 2.4C-.16 19.38.02 20 .02 20h15.95s.18-.62-.27-1.67c-.46-1.06-2.68-1.75-4.16-2.41zm8.15-12.63l-3-3a.956.956 0 00-.7-.29 1.003 1.003 0 00-.71 1.71L16.58 3H13c-.55 0-1 .45-1 1s.45 1 1 1h3.58l-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.3-.71z"],If=["M11.55 15.92c-1.48-.65-1.28-1.05-1.33-1.59-.01-.07-.01-.15-.01-.23.51-.45.92-1.07 1.19-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.34-.07.54-.44.61-.78.08-.14.23-.48.2-.87-.05-.5-.25-.73-.47-.82v-.09c0-.63-.06-1.55-.17-2.15-.02-.17-.06-.33-.11-.5a3.69 3.69 0 00-1.29-1.86C9.7 4.25 8.81 4 8.02 4c-.79 0-1.68.25-2.31.73-.61.47-1.07 1.13-1.29 1.86-.05.16-.09.33-.11.5-.12.6-.18 1.51-.18 2.14v.08c-.23.09-.44.32-.48.83-.04.39.12.73.2.87.08.35.28.72.63.78.04.17.09.33.15.48 0 .01.01.02.01.03l.01.01c.27.72.7 1.35 1.22 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.38 1.59C3 16.56.77 17.26.32 18.31-.15 19.38.04 20 .04 20h15.95s.18-.62-.27-1.67c-.46-1.06-2.69-1.75-4.17-2.41zM19 3h-3.58l1.29-1.29A1.003 1.003 0 0015.29.29l-3 3c-.17.18-.28.43-.28.71 0 .28.11.53.29.71l3 3c.18.18.43.29.7.29a1.003 1.003 0 00.71-1.71L15.42 5H19c.55 0 1-.45 1-1s-.45-1-1-1z"],Rf=["M10.933 2.641a1 1 0 00-1.866 0L4.075 15.62a1 1 0 101.867.717L7.225 13h5.55l1.283 3.337a1 1 0 101.867-.717L10.933 2.64zM12.005 11L10 5.786 7.994 11h4.011z"],Hf=["M16.71 11.29a1.003 1.003 0 00-1.42 1.42l1.3 1.29h-2.17l-8-8h10.17L15.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3a1.003 1.003 0 00-1.42 1.42L16.59 4H1c-.55 0-1 .45-1 1s.45 1 1 1h2.59l9.71 9.71c.17.18.42.29.7.29h2.59l-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3z"],Vf=["M2 13v4h4v-4H2zm-1-2h6c.55 0 1 .45 1 1v6c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1v-6c0-.55.45-1 1-1zm11-7h7c.55 0 1 .45 1 1s-.45 1-1 1h-7c-.55 0-1-.45-1-1s.45-1 1-1zM8 1a1.003 1.003 0 01.71 1.71l-5 6C3.53 8.89 3.28 9 3 9s-.53-.11-.71-.29l-2-2a1.003 1.003 0 011.42-1.42L3 6.59l4.29-5.3C7.47 1.11 7.72 1 8 1zm4 13h7c.55 0 1 .45 1 1s-.45 1-1 1h-7c-.55 0-1-.45-1-1s.45-1 1-1z"],Df=["M2.196 2H0v2h2c.317 0 .619.139.825.38l3.493 4.075-1.873 1.248a1 1 0 00-.445.832V18c0 .5.5 1 1 1h14c.5 0 1-.5 1-1V7.1c0-.034-.001-.067-.004-.1H20V3s0-1-1-1h-8c-.5 0-1 .5-1 1v3L8.12 7.254 4.463 3.035A3 3 0 002.196 2zM18 4v2h-6V4h6z"],jf=["M9.96 0a10 10 0 100 20 10 10 0 100-20z"],Ff=["M15 16h2c.55 0 1-.45 1-1v-5h-4v5c0 .55.45 1 1 1zM12 2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v4h4V2zm6 4h-4v3h4V6zm0-4c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v3h4V2zm-6 5H8v5h4V7zm-9 9h2c.55 0 1-.45 1-1v-3H2v3c0 .55.45 1 1 1zm6 0h2c.55 0 1-.45 1-1v-2H8v2c0 .55.45 1 1 1zm10 1H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM6 2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v3h4V2zm0 4H2v5h4V6z"],Bf=["M3.41 2H6c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v5c0 .55.45 1 1 1s1-.45 1-1V3.41L7.29 8.7c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L3.41 2zM8 11c-.28 0-.53.11-.71.29L2 16.59V14c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1H3.41l5.29-5.29c.19-.18.3-.43.3-.71 0-.55-.45-1-1-1zM19 0h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L11.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 3.41V6c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm0 13c-.55 0-1 .45-1 1v2.59l-5.29-5.29A.965.965 0 0012 11a1.003 1.003 0 00-.71 1.71l5.3 5.29H14c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1z"],Uf=["M10.14 5.82H8.73c.4-1.66.94-2.87 1.6-3.64.4-.48.8-.72 1.18-.72.08 0 .14.02.19.07.05.05.07.1.07.18 0 .07-.05.19-.16.37s-.16.36-.16.52c0 .23.08.43.25.59a.9.9 0 00.64.25c.28 0 .51-.1.7-.3.19-.2.28-.47.28-.81 0-.39-.14-.7-.42-.94-.28-.24-.74-.36-1.36-.36-.97 0-1.86.29-2.65.87-.79.56-1.54 1.52-2.26 2.85-.24.46-.48.75-.7.88-.22.13-.57.19-1.06.19l-.32 1.15H5.9l-1.99 7.85c-.33 1.29-.56 2.09-.67 2.39-.17.44-.43.81-.77 1.12a.74.74 0 01-.5.19c-.05 0-.1-.02-.14-.05l-.04-.07c0-.03.05-.1.15-.2.1-.1.15-.26.15-.47 0-.23-.08-.42-.23-.57-.16-.15-.38-.23-.67-.23-.35 0-.63.1-.85.29-.21.2-.32.43-.32.7 0 .29.13.54.39.75.25.22.65.33 1.2.33.88 0 1.66-.23 2.33-.69.68-.46 1.27-1.17 1.78-2.14.51-.96 1.03-2.52 1.56-4.66l1.14-4.54H9.8l.34-1.15zm6.8 1.95c.25-.2.51-.29.78-.29.1 0 .29.04.56.11.27.08.51.11.72.11.29 0 .52-.1.72-.3.18-.19.28-.45.28-.77 0-.33-.1-.6-.29-.8-.19-.2-.47-.29-.82-.29-.32 0-.62.08-.9.23-.28.15-.64.49-1.08 1-.33.38-.81 1.05-1.44 2a9.712 9.712 0 00-1.31-3.22l-3.4.59-.07.37c.25-.05.47-.08.64-.08.34 0 .62.15.84.44.35.46.84 1.85 1.46 4.19-.49.66-.82 1.09-1 1.3-.3.33-.55.54-.74.64-.15.08-.32.12-.51.12-.14 0-.38-.08-.7-.24-.22-.1-.42-.16-.59-.16-.33 0-.6.11-.82.32-.21.22-.32.49-.32.83 0 .31.1.57.3.77.2.2.47.29.8.29.32 0 .63-.07.92-.21.29-.14.64-.43 1.08-.88.43-.45 1.03-1.16 1.79-2.14.29.93.55 1.61.76 2.03.21.42.46.73.74.91.28.19.62.28 1.04.28.4 0 .81-.15 1.23-.44.55-.38 1.1-1.04 1.68-1.97l-.35-.21c-.39.55-.68.89-.87 1.03-.12.09-.27.13-.44.13-.2 0-.4-.13-.59-.38-.33-.43-.77-1.63-1.33-3.6.47-.86.89-1.44 1.23-1.71z"],Gf=["M4 7h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm3 2v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1zm12 3h-6c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm0 4H2V3c0-.55-.45-1-1-1s-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],qf=["M8 11l.075.003.126.017.111.03.111.044.098.052.096.067.09.08c.036.035.068.073.097.112l.071.11.054.114.035.105.03.148L9 12V18a1 1 0 01-1.993.117L7 18v-3.586l-5.293 5.293a1 1 0 01-1.497-1.32l.083-.094L5.584 13h-3.58a1 1 0 01-.117-1.993L2.004 11H8zm3.018-11a1.003 1.003 0 01.39.087l.12.063.031.02.1.078 8.027 7.026.062.064.068.086.044.068.064.128.04.117.024.113.011.108v.1l-.007.073-.019.103-.037.121-.039.09-.05.087-4.996 7.994c-.06.097-.137.183-.226.254l-.093.067-.095.053-.087.037-.125.037a1.018 1.018 0 01-.218.026H11v-5a3 3 0 00-2.824-2.995L8 9H3V6a1 1 0 01.321-.734l.098-.08 7-5a1.01 1.01 0 01.45-.178L11.018 0z"],Wf=["M0 8.33l9.17 2.5 2.5 9.17L20 0z"],Kf=["M8 18.88c-3.79 0-6.88-3.09-6.88-6.88 0-.61.08-1.22.23-1.79.03.01.06-.01.1-.01h.09v.55c0 .23.21.42.44.42.04 0 .09-.01.12-.02l.9.88c.09.09.23.09.32 0s.09-.23 0-.32l-.86-.9c0-.02.05-.04.05-.07v-.13c0-.18.1-.25.29-.41h.53c.1 0 .19-.01.27-.05.01-.01.02 0 .03-.01.02-.01.03-.02.05-.04.01-.01.02-.01.02-.02l.02-.02 1.13-1.13c-.16-.32-.3-.65-.42-.99h-.64v-.53c0-.01.06.06.06-.1h.38c-.04-.16-.08-.32-.1-.48h-.71c.2-.16.42-.31.64-.45C4.02 6.09 4 5.8 4 5.5c0-.14.01-.28.02-.43C1.62 6.46 0 9.04 0 12c0 4.41 3.59 8 8 8 3.87 0 7.09-2.77 7.82-6.44l-.97-1.1c-.26 3.57-3.23 6.42-6.85 6.42zm-2.12-3.67v-.35h.15c.29 0 .49-.23.49-.53v-.68c0-.01.01-.01 0-.02L4.71 11.8h-.77c-.29 0-.47.24-.47.53v2c0 .29.18.53.47.53h.33v2.02c0 .28.28.51.56.51s.56-.23.56-.51v-1.22h-.01c.29 0 .5-.16.5-.45zm13.83-2.92l-3.68-3.68c.14-.21.27-.42.38-.65.02-.04.04-.07.05-.11.11-.22.2-.45.28-.69v-.01c.07-.24.13-.48.17-.73l.03-.17c.04-.24.06-.49.06-.75C17 2.46 14.54 0 11.5 0S6 2.46 6 5.5 8.46 11 11.5 11c.26 0 .51-.02.76-.06l.17-.03c.25-.04.49-.1.73-.17h.01c.24-.08.47-.17.69-.28.04-.02.07-.04.11-.05.23-.11.44-.24.65-.38l3.68 3.68c.17.18.42.29.7.29a1.003 1.003 0 00.71-1.71zM11.5 9.5c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm1.93 5.33v-.65c0-.11-.13-.21-.24-.21-.11 0-.24.09-.24.21v.65c0 .11.13.21.24.21.11 0 .24-.1.24-.21zm-2.41.67h.83c.29 0 .46-.21.46-.5v-1.86l.23-.22c-.34.05-.69.08-1.04.08-.36 0-.7-.03-1.05-.08.03.05.06.1.08.16V15c.01.29.2.5.49.5z"],$f=["M15 2c-1.66 0-3 1.34-3 3 0 1.3.84 2.4 2 2.82V9c0 1.1-.9 2-2 2H8c-.73 0-1.41.21-2 .55V5.82C7.16 5.4 8 4.3 8 3c0-1.66-1.34-3-3-3S2 1.34 2 3c0 1.3.84 2.4 2 2.82v8.37C2.84 14.6 2 15.7 2 17c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.25-.77-2.3-1.85-2.75C6.45 13.52 7.16 13 8 13h4c2.21 0 4-1.79 4-4V7.82C17.16 7.4 18 6.3 18 5c0-1.66-1.34-3-3-3zM5 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 16c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zM15 6c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Yf=["M19 9h-4.1a5 5 0 00-9.8 0H1c-.55 0-1 .45-1 1s.45 1 1 1h4.1a5 5 0 009.8 0H19c.55 0 1-.45 1-1s-.45-1-1-1zm-9 4c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"],Xf=["M15 8c-1.3 0-2.4.84-2.82 2H11c-2.49 0-4.54-1.83-4.92-4.21A2.995 2.995 0 005 0C3.34 0 2 1.34 2 3c0 1.3.84 2.4 2 2.81v8.37C2.84 14.6 2 15.7 2 17c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82V9.86C7.27 11.17 9.03 12 11 12h1.18A2.996 2.996 0 0018 11c0-1.66-1.34-3-3-3zM5 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zM5 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm10 8c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Zf=["M17 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1V5h1c.55 0 1-.45 1-1s-.45-1-1-1zm-3 4.86V9c0 1.1-.9 2-2 2H8c-.73 0-1.41.21-2 .55V5.82C7.16 5.4 8 4.3 8 3c0-1.66-1.34-3-3-3S2 1.34 2 3c0 1.3.84 2.4 2 2.82v8.37C2.84 14.6 2 15.7 2 17c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.25-.77-2.3-1.85-2.75C6.45 13.52 7.16 13 8 13h4c2.21 0 4-1.79 4-4V7.86c-.32.08-.65.14-1 .14s-.68-.06-1-.14zM5 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 16c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Qf=["M17 14.18V7c0-2.21-1.79-4-4-4h-2.59l1.29-1.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C7.11 3.47 7 3.72 7 4c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L10.41 5H13c1.1 0 2 .9 2 2v7.18A2.996 2.996 0 0016 20c1.66 0 3-1.34 3-3 0-1.3-.84-2.4-2-2.82zM16 18c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zM4 1C2.34 1 1 2.34 1 4c0 1.3.84 2.4 2 2.82v7.37C1.84 14.6 1 15.7 1 17c0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82V6.82C6.16 6.4 7 5.3 7 4c0-1.66-1.34-3-3-3zm0 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zM4 5c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Jf=["M15 11c0-.28-.11-.53-.29-.71l-3-3C11.53 7.11 11.28 7 11 7s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42l1.29-1.3V19c0 .55.45 1 1 1s1-.45 1-1v-8.59l1.29 1.29c.18.19.43.3.71.3.55 0 1-.45 1-1zm4-11H1C.45 0 0 .45 0 1v16c0 .55.45 1 1 1h7v-2H2v-2h6v-1H4V2h14v11h-4v1h4v2h-4v2h5c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM5 8h2V6H5v2zm2-5H5v2h2V3z"],ep=["M7 3H5v2h2V3zm0 6H5v2h2V9zm0-3H5v2h2V6zm12-6H1C.45 0 0 .45 0 1v16c0 .55.45 1 1 1h4v2l2-1 2 1v-2h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 16H9v-1H5v1H2v-2h16v2zm0-3H4V2h14v11z"],tp=["M17 6V0H3v6c0 3.53 2.61 6.43 6 6.92V18H6c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1h-3v-5.08c3.39-.49 6-3.39 6-6.92z"],np=["M7.53 4.37c.1-.1.1-.26 0-.35l-.68-.68c-.1-.1-.25-.1-.35 0-.1.1-.1.26 0 .35l.68.68c.1.1.25.1.35 0zm3.17.06h.3c.09 0 .16-.01.16-.1 0-.09-.07-.1-.16-.1h-.3c-.09 0-.16.01-.16.1s.07.1.16.1zm.98 1.15c.09 0 .19-.08.19-.17v-.42c0-.09-.1-.17-.19-.17s-.19.08-.19.17v.42c0 .09.1.17.19.17zm-6.5 4.19c-.35 0-.56.28-.56.63v2.37c0 .35.21.62.56.62h.39v2.4c0 .34.33.61.67.61s.67-.27.67-.61v-1.44h-.02c.35 0 .6-.19.6-.54v-.41h.18c.35 0 .58-.28.58-.62v-.81c0-.01.01-.01 0-.02L6.1 9.77h-.92zM10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8 0-.74.11-1.46.3-2.14h.03v.65c0 .28.25.5.53.5.05 0 .1-.01.15-.02l1.05 1.05c.1.11.28.11.38 0 .1-.1.11-.27 0-.38L3.42 8.59c0-.03.05-.05.05-.08v-.16c0-.22.12-.3.34-.49h.63c.12 0 .23-.01.32-.07.01-.01.02 0 .03-.01.02-.02.04-.03.06-.04.01-.01.02-.01.03-.02l.02-.02 2.15-2.15c.24-.24.24-.63 0-.86-.23-.24-.62-.19-.86.04l-.41.46H5v-.64c0-.01.07.07.07-.12h.87c.17 0 .3-.12.3-.29 0-.17-.13-.29-.3-.29H4.88C6.27 2.7 8.05 2 10 2s3.73.7 5.12 1.86h-1.58l-.01-.04c-.06 0-.12 0-.17.04l-.71.7c-.09.09-.09.23 0 .31.09.09.23.09.32 0l.56-.6.01-.03h.34c0 .19-.1.13-.1.16v.1c0 .29-.2.5-.49.5h-.51c-.25 0-.52.28-.52.54v.23h-.12c-.16 0-.27.08-.27.24v.33h-.32c-.23 0-.41.15-.41.38 0 .22.18.35.41.35.1 0 .19.04.26-.16l.06.01.66-.59h.23l.53.5c.04.04.11.03.16-.01.04-.04.04-.16 0-.2L13 6.15h.32l.12.16c.25.25.65.23.89-.02l.12-.14H15c.02 0 .11.07.11.07v.33s-.06-.01-.07-.01h-.49c-.16 0-.28.13-.28.29 0 .16.13.29.28.29h.49c.01 0 .07-.01.07-.01v.2c-.19.28-.33.57-.62.57h-1.28s0-.01-.01-.01l-.58-.58a.622.622 0 00-.89 0l-.58.58s0 .01-.01.01h-.34c-.35 0-.67.28-.67.63v1.25c0 .35.32.61.67.61h1.22c.46.19.78.48.97.94v2.28c0 .35.23.6.58.6h.98c.35 0 .54-.25.54-.6v-2.2l1.21-1.17.04-.02.02-.01h.04c.1-.11.2-.26.2-.42V8.49c0-.25-.22-.44-.42-.63h.58c.02.38.29.57.63.57h.43c.13.51.18 1.03.18 1.57 0 4.42-3.58 8-8 8zm6.16-5.65c-.14 0-.29.11-.29.25v.77c0 .14.15.25.29.25.14 0 .29-.11.29-.25v-.77c0-.14-.15-.25-.29-.25zM10.5 3.48c0-.34-.28-.57-.62-.57h-.74c-.34 0-.57.25-.57.59 0 .05-.13.06.06.1v.64c0 .2.09.36.29.36.2 0 .29-.16.29-.36v-.19h.68c.33 0 .61-.23.61-.57z"],rp=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm7.39 7h-3.63c-.31-1.99-.92-3.66-1.72-4.73 2.45.65 4.41 2.42 5.35 4.73zM13 10c0 .69-.04 1.36-.11 2H7.11a18.419 18.419 0 010-4h5.77c.08.64.12 1.31.12 2zm-3-8c1.07 0 2.25 2.05 2.75 5h-5.5c.5-2.95 1.68-5 2.75-5zm-2.04.27C7.16 3.34 6.55 5.01 6.24 7H2.61c.94-2.31 2.9-4.08 5.35-4.73zM2 10c0-.69.11-1.36.28-2h3.83a18.419 18.419 0 000 4H2.28c-.17-.64-.28-1.31-.28-2zm.61 3h3.63c.31 1.99.92 3.66 1.72 4.73A7.996 7.996 0 012.61 13zM10 18c-1.07 0-2.25-2.05-2.75-5h5.5c-.5 2.95-1.68 5-2.75 5zm2.04-.27c.79-1.07 1.4-2.74 1.72-4.73h3.63a7.996 7.996 0 01-5.35 4.73zM13.89 12a18.419 18.419 0 000-4h3.83c.17.64.28 1.31.28 2s-.11 1.36-.28 2h-3.83z"],op=["M17.5 4A2.5 2.5 0 0015 6.5c0 .06.01.12.02.18l-1.9.84C12.38 6.6 11.27 6 10 6c-.83 0-1.59.25-2.23.68L4.91 4.14c.05-.21.09-.42.09-.64a2.5 2.5 0 00-5 0A2.5 2.5 0 002.5 6c.42 0 .81-.11 1.16-.3l2.79 2.48C6.17 8.73 6 9.34 6 10c0 1.41.73 2.64 1.83 3.35l-.56 1.67A2.498 2.498 0 005 17.5a2.5 2.5 0 005 0c0-.74-.32-1.39-.83-1.85l.56-1.68c.09.01.18.03.27.03 2.21 0 4-1.79 4-4 0-.22-.03-.44-.07-.65l2.02-.9c.43.34.96.55 1.55.55a2.5 2.5 0 000-5z"],ip=["M17.41 4l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L16 2.59 13.71.3A.965.965 0 0013 0a1.003 1.003 0 00-.71 1.71L14.59 4 12.3 6.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L16 5.41l2.29 2.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L17.41 4zM19 10c-.83 0-1.55-.36-2.09-.91l-.03.03-.88-.88-.88.88a2.996 2.996 0 11-4.24-4.24l.88-.88-.88-.88.03-.03C10.36 2.55 10 1.83 10 1c0-.35.07-.68.18-.99-.06 0-.12-.01-.18-.01C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10c0-.06-.01-.12-.01-.18-.31.11-.64.18-.99.18z"],ap=["M12.838 10l-9.154 3.051a1 1 0 00.632 1.898l12-4c.912-.304.912-1.594 0-1.898l-12-4a1 1 0 00-.632 1.898L12.838 10z"],lp=["M3.684 11.051a1 1 0 00.632 1.898l12-4c.912-.304.912-1.594 0-1.898l-12-4a1 1 0 00-.632 1.898L12.838 8l-9.154 3.051zM4 15h12a1 1 0 110 2H4a1 1 0 010-2z"],sp=["M19 11c.55 0 1-.45 1-1s-.45-1-1-1h-2V5h2c.55 0 1-.45 1-1s-.45-1-1-1h-2V1c0-.55-.45-1-1-1s-1 .45-1 1v2h-4V1c0-.55-.45-1-1-1S9 .45 9 1v2H5V1c0-.55-.45-1-1-1S3 .45 3 1v2H1c-.55 0-1 .45-1 1s.45 1 1 1h2v4H1c-.55 0-1 .45-1 1s.45 1 1 1h2v4H1c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h4v2c0 .55.45 1 1 1s1-.45 1-1v-2h4v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1h-2v-4h2zM9 15H5v-4h4v4zm0-6H5V5h4v4zm6 6h-4v-4h4v4zm0-6h-4V5h4v4z"],cp=["M0 19c0 .55.45 1 1 1h8v-9H0v8zM0 1v8h9V0H1C.45 0 0 .45 0 1zm19-1h-8v9h9V1c0-.55-.45-1-1-1zm-8 20h8c.55 0 1-.45 1-1v-8h-9v9z"],up=["M6 7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm8-3H6c-3.31 0-6 2.69-6 6s2.69 6 6 6h8c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 11H6c-2.76 0-5-2.24-5-5s2.24-5 5-5h8c2.76 0 5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"],dp=["M12 16h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1zm7 1H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm-3-1h1c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1h-1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1zm-9 0h1c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1zm-4 0h1c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1z"],hp=["M17 5c-.42 0-.79.27-.93.64L14.38 10h-.77l1.34-6.67c.03-.1.05-.21.05-.33a.998.998 0 00-1.98-.19h-.01L11.57 10H11V1c0-.55-.45-1-1-1S9 .45 9 1v9h-.2L6.97 2.76a.997.997 0 00-1.73-.41l-.03.03c-.01.02-.02.03-.03.04-.01.02-.01.03-.02.04v.01c-.01.01-.02.02-.02.03v.01c-.02.01-.02.02-.03.03 0 0 0 .01-.01.01 0 .01 0 .02-.01.03 0 0 0 .01-.01.01 0 .01-.01.02-.01.03 0 0 0 .01-.01.01 0 .01-.01.02-.01.03 0 .01 0 .01-.01.02 0 .01-.01.02-.01.03 0 .01 0 .01-.01.02 0 .01-.01.02-.01.03v.02c0 .01 0 .02-.01.03V3c0 .05 0 .09.01.14l1.45 10.25L6 12.7v.01L3.84 9.45h-.01A.98.98 0 003 9c-.55 0-1 .45-1 1 0 .2.06.39.17.55L6 18.44C7.06 19.4 8.46 20 10 20c3.31 0 6-2.69 6-6v-1.84l.01-.03v-.06l1.94-5.75A1.003 1.003 0 0017 5z"],fp=["M17.68 9.84C15.91 9 14.27 6.49 13.45 4.9 12.41 2.43 12.21 0 7.87 0 5.49 0 3.95.76 3.05 2.65 2.31 4.2 2 5.48 2 9.79v.99c0 .82.69 1.48 1.54 1.48.38 0 .73-.14 1-.36.19.6.78 1.05 1.47 1.05.47 0 .89-.2 1.17-.52.26.47.77.79 1.36.79.65 0 1.2-.39 1.43-.93l.03.77v5.44c0 .48.23.91.59 1.18.21.19.5.32.85.32h.06c.83 0 1.5-.67 1.5-1.5v-8.24l.01-.67c.85.98 1.92 1.76 3.24 1.89 1.79.19 2.09-1.33 1.43-1.64z"],pp=["M15.1 6.54c-1.58-.81-4.09-2.46-4.94-4.23-.31-.65-1.82-.35-1.64 1.43.13 1.33.91 2.4 1.89 3.24L9.74 7H1.5C.67 7 0 7.67 0 8.5v.06c0 .36.13.64.32.85.27.36.7.59 1.18.59h5.44l.78.01c-.54.23-.93.78-.93 1.43 0 .59.32 1.1.79 1.36-.32.28-.52.7-.52 1.17 0 .69.44 1.28 1.05 1.47-.22.27-.36.62-.36 1 0 .85.66 1.54 1.48 1.54h.99c4.31 0 5.59-.31 7.14-1.05 1.89-.9 2.65-2.44 2.65-4.82-.01-4.32-2.44-4.52-4.91-5.57z"],vp=["M20 8.5c0-.83-.67-1.5-1.5-1.5h-8.24l-.67-.01c.98-.85 1.76-1.92 1.89-3.24.18-1.79-1.33-2.08-1.65-1.43-.84 1.76-3.35 3.41-4.93 4.23C2.43 7.59 0 7.79 0 12.13c0 2.38.76 3.92 2.65 4.82C4.2 17.69 5.48 18 9.79 18h.99c.82 0 1.48-.69 1.48-1.54 0-.38-.14-.73-.36-1 .6-.19 1.05-.78 1.05-1.47 0-.47-.2-.89-.52-1.17.47-.26.79-.77.79-1.36 0-.65-.39-1.2-.93-1.43l.77-.03h5.44c.48 0 .91-.23 1.18-.59.19-.21.32-.49.32-.85v-.03-.03z"],mp=["M16.46 7.74c-.38 0-.73.14-1 .36-.19-.6-.78-1.05-1.47-1.05-.47 0-.89.2-1.17.52-.26-.47-.77-.79-1.36-.79-.65 0-1.2.39-1.43.93L10 6.94V1.5c0-.48-.23-.91-.59-1.18C9.2.13 8.92 0 8.56 0H8.5C7.67 0 7 .67 7 1.5v8.24l-.01.67c-.84-.98-1.92-1.76-3.24-1.89-1.79-.18-2.08 1.33-1.43 1.65 1.77.84 3.41 3.35 4.23 4.94 1.05 2.47 1.25 4.9 5.58 4.9 2.38 0 3.92-.76 4.82-2.65.74-1.56 1.05-2.84 1.05-7.15v-.99c0-.81-.69-1.48-1.54-1.48z"],gp=["M18.5 13c1.118 0 1.466.534 1.498 1.366L20 14.5v.5c0 1.945-5.69 3-10 3S0 16.945 0 15v-.5c0-.908.323-1.5 1.5-1.5.895 0 3.5 1.2 8.5 1.2l.411-.003C15.143 14.134 17.631 13 18.5 13zm-5-10c1.725 0 2.954 2.729 3.688 8.186-1.455.263-3.805.72-6.392.801l-.434.01L10 12c-2.896 0-5.585-.524-7.189-.814C3.546 5.73 4.775 3 6.5 3 8.6 3 8.329 5.5 10 5.5S11.5 3 13.5 3z"],yp=["M6 11v5a1 1 0 11-2 0V3a1 1 0 012 0v6h8V3a1 1 0 112 0v13a1 1 0 11-2 0v-5H6z"],bp=["M2 11v5a1 1 0 11-2 0V3a1 1 0 012 0v6h7V3a1 1 0 112 0v13a1 1 0 11-2 0v-5H2zm15.74-1c-.05.31-.17.57-.34.77-.17.21-.38.39-.64.51-.25.13-.52.23-.83.29-.3.05-.61.08-.93.08v1.24h2.5V20H19V10h-1.26z"],wp=["M2 11v5a1 1 0 11-2 0V3a1 1 0 012 0v6h7V3a1 1 0 112 0v13a1 1 0 11-2 0v-5H2zm16.458 3.64c.487.11.865.38 1.134.82.269.439.408.968.408 1.608 0 .46-.08.869-.239 1.229-.159.36-.378.669-.656.919-.27.25-.588.44-.956.58-.368.139-.746.209-1.154.209-.498 0-.925-.08-1.294-.24a2.537 2.537 0 01-.925-.68 2.999 2.999 0 01-.567-1.058c-.13-.42-.199-.88-.209-1.379h1.383c-.02.58.11 1.07.378 1.459.279.39.677.58 1.224.58.468 0 .856-.15 1.164-.45.309-.3.468-.72.468-1.27 0-.369-.07-.668-.2-.888-.128-.22-.298-.39-.507-.5a2.01 2.01 0 00-.706-.21 5.345 5.345 0 00-.806-.03v-1.168c.219.01.448 0 .677-.05.229-.05.428-.13.607-.24.179-.11.318-.27.428-.47.109-.2.159-.45.159-.739 0-.41-.12-.739-.368-.989-.25-.25-.568-.37-.956-.37-.239 0-.448.06-.627.17-.179.11-.328.26-.447.45-.12.19-.2.4-.26.63-.049.23-.079.469-.069.719H14.16c.01-.47.09-.9.23-1.3.138-.399.327-.748.566-1.038.239-.3.528-.53.866-.69.338-.17.726-.25 1.154-.25.328 0 .657.05.975.16.319.11.607.27.866.48.259.21.468.47.617.8.15.32.229.699.229 1.118 0 .48-.09.91-.289 1.27a1.71 1.71 0 01-.915.788v.02z"],_p=["M2 11v5a1 1 0 11-2 0V3a1 1 0 012 0v6h7V3a1 1 0 112 0v13a1 1 0 11-2 0v-5H2zm14.033 6.96c.16-.19.34-.38.558-.55.21-.18.449-.36.708-.53.25-.18.498-.36.748-.56.249-.2.488-.41.727-.63.23-.22.439-.47.628-.74.18-.27.329-.56.438-.88.11-.32.16-.67.16-1.07 0-.32-.05-.65-.14-1-.09-.35-.249-.68-.468-.97-.22-.3-.508-.55-.867-.74-.359-.2-.807-.29-1.346-.29-.488 0-.926.1-1.295.29-.37.18-.688.44-.947.78-.26.33-.449.73-.578 1.2-.13.46-.2.96-.2 1.5h1.426c.01-.35.04-.67.09-.97.05-.3.139-.56.249-.78.11-.22.259-.39.448-.52.19-.13.429-.19.708-.19.309 0 .558.06.747.18.19.12.34.26.449.43.11.17.18.36.219.56.04.2.06.39.06.57-.01.38-.1.72-.26 1.02-.149.3-.368.57-.627.83-.26.25-.538.49-.847.71-.31.22-.608.45-.887.68-.598.45-1.057.98-1.406 1.58-.349.61-.518 1.32-.528 2.13h5.97v-1.43h-4.266c.06-.21.17-.42.33-.61z"],Ep=["M18.97 9H19A9 9 0 001 9h.03C.41 9.73 0 10.8 0 12c0 1.74.84 3.2 2 3.76V16c0 1.66 1.34 3 3 3h3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1H5c-.55 0-1-.45-1-1 .55 0 1-.45 1-1V9c0-.55-.45-1-1-1h-.92C3.57 4.61 6.47 2 10 2s6.43 2.61 6.92 6H16c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h1c1.66 0 3-1.79 3-4 0-1.2-.41-2.27-1.03-3z"],xp=["M20 6.25C20 3.35 17.65 1 14.75 1c-1.02 0-1.95.31-2.75.82v-.04c-.09.06-.17.12-.26.19-.04.03-.09.06-.14.1-.68.51-1.24 1.18-1.6 1.96-.4-.86-1.04-1.57-1.8-2.1-.04-.02-.07-.05-.1-.08a7 7 0 00-.6-.33c-.13-.04-.23-.1-.35-.15-.05-.02-.1-.05-.15-.07v.02C6.45 1.13 5.87 1 5.25 1A5.25 5.25 0 000 6.25c0 .09.01.17.01.25H0c0 .06.01.12.02.18s.01.12.02.18C.13 7.89.44 9 1.07 10.17 2.23 12.33 4.1 14.11 7 16.53v.01c.9.75 1.89 1.55 3 2.46.71-.58 1.38-1.12 2-1.63 3.48-2.86 5.64-4.78 6.93-7.18.63-1.17.94-2.27 1.03-3.3.01-.07.01-.14.02-.21 0-.06.01-.11.02-.17h-.01c0-.09.01-.17.01-.26z"],Sp=["M8.11 7.45C8.05 7.31 8 7.16 8 7c0-.07.03-.13.04-.19h-.02l.86-4.32A5.159 5.159 0 005.25 1 5.25 5.25 0 000 6.25c0 .09.01.17.01.25H0c0 .06.01.12.02.18s.01.12.02.18C.13 7.89.44 9 1.07 10.17c1.38 2.58 3.76 4.6 7.71 7.83l-.76-3.8h.02c-.01-.07-.04-.13-.04-.2 0-.21.08-.39.18-.54l-.02-.01 1.68-2.52-1.73-3.48zM20 6.25C20 3.35 17.65 1 14.75 1c-1.54 0-2.92.67-3.88 1.73l-.83 4.13 1.85 3.69h-.01c.07.14.12.29.12.45 0 .21-.08.39-.18.54l.02.01-1.77 2.66.81 4.07c4.16-3.39 6.63-5.45 8.05-8.1.63-1.17.94-2.27 1.03-3.3.01-.07.01-.14.02-.21 0-.06.01-.11.02-.17h-.01c0-.08.01-.16.01-.25z"],Op=["M14 12h6V8h-6v4zM0 12h6V8H0v4zm1-3h4v2H1V9zm-1 7c0 .55.45 1 1 1h5v-4H0v3zM19 3h-5v4h6V4c0-.55-.45-1-1-1zm0 3h-4V4h4v2zM0 4v3h6V3H1c-.55 0-1 .45-1 1zm7 3h6V3H7v4zm7 10h5c.55 0 1-.45 1-1v-3h-6v4zm-7 0h6v-4H7v4zm1-3h4v2H8v-2zm-1-2h6V8H7v4z"],Cp=["M6 0a6 6 0 100 12A6 6 0 106 0z","M10.5 8a4.5 4.5 0 100 9 4.5 4.5 0 100-9z","M16.5 7a3.5 3.5 0 100 7 3.5 3.5 0 100-7zM18 16a2 2 0 100 4 2 2 0 100-4zM2.5 14a2.5 2.5 0 100 5 2.5 2.5 0 100-5zM16.5 0a2.5 2.5 0 100 5 2.5 2.5 0 100-5z"],Mp=["M10 3v2H1V3.5a.5.5 0 00-1 0v5a.5.5 0 001 0V7l5 2c0 1.54.824 3.575 3 4.835V16H5.5a.5.5 0 100 1H16.5a.5.5 0 00.224-.053l2-1a.5.5 0 10-.448-.894L16.382 16H15v-1.1A5.002 5.002 0 0014 5h-1V3h6.5a.5.5 0 000-1h-16a.5.5 0 000 1H10zm4 13v-1c-1.608 0-2.928-.258-4-.683V16h4zm0-6V6a4 4 0 014 4h-4z"],zp=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM7.41 4.62c.65-.54 1.51-.82 2.56-.82.54 0 1.03.08 1.48.25.44.17.83.39 1.14.68.32.29.56.63.74 1.02.17.39.26.82.26 1.27s-.08.87-.24 1.23c-.16.37-.4.73-.71 1.11l-1.21 1.58c-.14.17-.28.33-.32.48-.05.15-.11.35-.11.6v.97H9v-2s.06-.58.24-.81l1.21-1.64c.25-.3.41-.56.51-.77s.14-.44.14-.67c0-.35-.11-.63-.32-.85s-.5-.33-.88-.33c-.37 0-.67.11-.89.33-.22.23-.37.54-.46.94-.03.12-.11.17-.23.16l-1.95-.29c-.12-.01-.16-.08-.14-.22.13-.93.52-1.67 1.18-2.22zM9 14h2.02L11 16H9v-2z"],Pp=["M17 10h-3v3h3v-3zm0 4h-3v3h3v-3zm0-8h-3v3h3V6zm2-6H1C.4 0 0 .4 0 1v18c0 .5.4 1 1 1h18c.5 0 1-.5 1-1V1c0-.6-.5-1-1-1zm-1 18H2V2h16v16zm-9-4H6v3h3v-3zm4 0h-3v3h3v-3z"],Tp=["M12 16v4H8v-4h4zm1-16l-1 14H8L7 0h6z"],Ap=["M7 0a1 1 0 00-1 1v3H4V2a1 1 0 000-2H1a1 1 0 100 2h1v2H1a1 1 0 000 2h1v2H1a1 1 0 100 2h3a1 1 0 000-2V6h2v13a1 1 0 001.928.374L10 14.54l2.073 4.836A1 1 0 0014 19V6h2v2a1 1 0 100 2h3a1 1 0 100-2h-1V6h1a1 1 0 100-2h-1V2h1a1 1 0 100-2h-3a1 1 0 100 2v2h-2V1a1 1 0 00-1-1H7zm1 2v2h4V2H8zm4 12.128L11.088 12 12 9.872v4.256zM8.516 6L10 9.462 11.483 6H8.516zm.396 6L8 9.872v4.256L8.912 12z"],Lp=["M11.22 14.09l3.03-3.03.71.71L20 6.73l-5.71-5.71-5.04 5.04.71.71-3.02 3.04 4.28 4.28zm6.8 3.91h-16c-.55 0-1 .45-1 1s.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1zm-15-1h4.04c.28 0 .53-.11.71-.3l2.02-2.02-3.44-3.45-4.04 4.04c-.18.18-.3.44-.3.71.01.57.46 1.02 1.01 1.02z"],kp=["M10 0C6.71 0 3.82 1.6 2 4.05V2c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.76C5.23 3.17 7.47 2 10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8c0-.55-.45-1-1-1s-1 .45-1 1c0 5.52 4.48 10 10 10s10-4.48 10-10S15.52 0 10 0zm0 3c-.55 0-1 .45-1 1v6c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L11 9.59V4c0-.55-.45-1-1-1z"],Np=["M2 12v7c0 .55.45 1 1 1h5v-7h4v7h5c.55 0 1-.45 1-1v-7l-8-8-8 8zm17.71-2.71L17 6.59V3c0-.55-.45-1-1-1s-1 .45-1 1v1.59L10.71.3C10.53.11 10.28 0 10 0s-.53.11-.71.29l-9 9a1.003 1.003 0 001.42 1.42L10 2.41l8.29 8.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],Ip=["M1 1c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1zm3 5h11c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1zm8 8H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm7-6H4c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h15c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1z"],Rp=["M1 9h11c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm0-5h9c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm18 12H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zM1 14h14c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1z"],Hp=["M10 16H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm2-5H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h11c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm3-5H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zm4-5H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1z"],Vp=["M12 2H8c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zM1 0C.45 0 0 .45 0 1v18c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm18 0c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],Dp=["M11.293 13.707a.999.999 0 001.412 0l2.963-2.962a1 1 0 000-1.49l-2.963-2.962a.999.999 0 10-1.412 1.412L13.587 10l-2.294 2.295a.999.999 0 000 1.412zM7.295 13.707a.999.999 0 001.412-1.412L6.413 10l2.294-2.295a.999.999 0 10-1.412-1.412L4.332 9.255A.996.996 0 004 10a.996.996 0 00.332.745l2.963 2.962zM0 20V0h1a1 1 0 011 1v18a1 1 0 01-1 1H0zM20 20V0h-1a1 1 0 00-1 1v18a1 1 0 001 1h1z"],jp=["M0 14c1.648.775 3 1 4 1-1-1-2-3.112-2-5a5.098 5.098 0 000-.045C2 5.17 6.201 1 11.172 1c3.206 0 6.9.667 8.828 5-1.648-.775-3-1-4-1 1 1 2 3.112 2 5v.045C18 14.83 13.799 19 8.828 19c-3.206 0-6.9-.667-8.828-5zm10-7a3 3 0 100 6 3 3 0 000-6z"],Fp=["M2 5v10h16V5H2zm0-2h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2z","M8.88 12.38c-.17-.39-1.01-.66-1.56-.9-.56-.24-.48-.39-.5-.6v-.09c.19-.17.35-.4.45-.67 0 0 0-.02.01-.02l.06-.18c.13-.03.2-.17.23-.29.03-.05.09-.18.08-.33-.04-.18-.11-.27-.2-.3v-.03c0-.24-.02-.58-.06-.81-.01-.06-.02-.12-.04-.19-.08-.27-.25-.52-.48-.7C6.63 7.09 6.3 7 6 7s-.63.09-.87.27c-.23.17-.4.42-.48.7-.02.06-.03.13-.04.19-.04.22-.06.57-.06.81V9c-.09.03-.17.12-.19.31-.01.14.05.27.08.32.03.14.1.27.23.3.02.06.03.12.06.18v.01c.11.27.27.51.47.68v.08c-.02.2.04.35-.51.6-.56.24-1.39.51-1.56.9-.19.39-.12.62-.12.62h5.98c-.01 0 .06-.23-.11-.62zM12 7h4c.55 0 1 .45 1 1s-.45 1-1 1h-4c-.55 0-1-.45-1-1s.45-1 1-1zM12 11h4c.55 0 1 .45 1 1s-.45 1-1 1h-4c-.55 0-1-.45-1-1s.45-1 1-1z"],Bp=["M10.5 13c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM14 7H1c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-1 10l-5-3-1 2-2-4-3 4.5V9h11v8zm3-15h-1.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H16c1.1 0 2 .9 2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-2.21-1.79-4-4-4z"],Up=["M5.29 4.29a1.003 1.003 0 001.42 1.42l2-2C8.89 3.53 9 3.28 9 3c0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l.3.29H4C1.79 2 0 3.79 0 6v3c0 .55.45 1 1 1s1-.45 1-1V6c0-1.1.9-2 2-2h1.59l-.3.29zM15.5 13c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM19 7H6c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-1 10l-5-3-1 2-2-4-3 4.5V9h11v8z"],Gp=["M9.29 15.71c.18.18.43.29.71.29s.53-.11.71-.29l5-5a1.003 1.003 0 00-1.42-1.42L11 12.59V1c0-.55-.45-1-1-1S9 .45 9 1v11.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42l5 5zM19 14c-.55 0-1 .45-1 1v3H2v-3c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"],qp=["M16.92 3.56l-.01-.02c-.16-.35-.5-.6-.91-.6H4c-.41 0-.76.25-.91.6l-.01.02L0 10.49v6.46c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-6.46l-3.08-6.93zM15 10.95c-.55 0-1 .45-1 1v1H6v-1c0-.55-.45-1-1-1H1.98l2.67-6h10.7l2.67 6H15z"],Wp=["M10.262 3l1.958 1.958v.05H4.65l-2.67 5.997H5c.55 0 1 .45 1 .999v1h8v-1c0-.55.45-1 1-1h3.02l-.635-1.426.625-.63c.354-.353.598-.8.707-1.289L20 10.545v6.456c0 .55-.45.999-1 .999H1c-.55 0-1-.45-1-1v-6.455L3.08 3.62l.01-.02c.15-.35.5-.6.91-.6h6.262zm9.088-3a.642.642 0 01.46 1.1l-3.03 3.03v2.95c0 .18-.07.34-.19.46l-1.28 1.29c-.11.1-.27.17-.45.17-.35 0-.64-.29-.64-.64V4.13L11.19 1.1a.642.642 0 01.45-1.1h7.71z"],Kp=["M7.427 3a7.467 7.467 0 00-.411 2.009H4.65l-2.67 5.996H5c.55 0 1 .45 1 .999v1h8V13c.165.01.332 0 .5 0a7.48 7.48 0 005.5-2.4V17c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1v-6.455L3.08 3.62l.01-.02c.15-.35.5-.6.91-.6h3.427zm5.715-.596a.133.133 0 01-.193 0l-.374-.374a.133.133 0 010-.193.133.133 0 01.193 0l.373.374a.133.133 0 010 .193zm1.743.033c-.05 0-.088-.006-.088-.055 0-.05.038-.056.088-.056h.165c.05 0 .088.006.088.055 0 .05-.038.056-.088.056h-.165zm.539.632c-.05 0-.104-.044-.104-.094v-.23c0-.05.054-.094.104-.094.05 0 .104.044.104.094v.23c0 .05-.055.094-.104.094zm-3.575 2.304h.506l1.182 1.2c.006.005 0 .005 0 .01v.446c0 .187-.126.341-.319.341h-.098v.226c0 .192-.138.296-.33.296h.01v.792c0 .188-.181.336-.368.336s-.369-.149-.369-.335v-1.32h-.214c-.193 0-.308-.149-.308-.341V5.72c0-.192.115-.346.308-.346zM14.5 0C17.536 0 20 2.464 20 5.5S17.536 11 14.5 11A5.502 5.502 0 019 5.5C9 2.464 11.464 0 14.5 0zm0 9.9c2.431 0 4.4-1.969 4.4-4.4 0-.297-.027-.583-.099-.864h-.236c-.188 0-.336-.104-.347-.313h-.319c.11.104.231.209.231.346v.705c0 .088-.055.17-.11.23h-.022l-.011.006-.022.011-.666.643v1.21c0 .193-.104.33-.296.33h-.54c-.192 0-.319-.137-.319-.33V6.221a.915.915 0 00-.533-.518h-.671c-.192 0-.368-.143-.368-.335V4.68c0-.192.176-.346.368-.346l.193-.005.319-.32a.342.342 0 01.489 0l.319.32c.005 0 .005.005.005.005h.704c.16 0 .237-.16.341-.313v-.11l-.038.005h-.27a.159.159 0 01-.153-.16c0-.087.066-.159.154-.159h.269l.039.006V3.42s-.05-.038-.061-.038h-.302l-.067.076a.342.342 0 01-.489.011l-.066-.088h-.176l.248.259c.021.022.021.088 0 .11-.028.022-.067.028-.088.006l-.292-.276h-.127l-.363.325-.033-.006c-.038.11-.087.089-.143.089-.126 0-.225-.072-.225-.193 0-.127.099-.209.225-.209h.176v-.182c0-.088.061-.131.149-.131h.066v-.127c0-.143.149-.297.286-.297h.28c.16 0 .27-.115.27-.275V2.42c0-.016.055.017.055-.088h-.187l-.005.017-.308.33a.123.123 0 01-.177 0c-.049-.044-.049-.121 0-.171l.391-.385c.027-.022.06-.022.094-.022l.005.022h.869A4.376 4.376 0 0014.5 1.1a4.402 4.402 0 00-2.816 1.018h.583c.094 0 .165.066.165.159s-.072.16-.165.16h-.478c0 .104-.039.06-.039.066v.351h.429l.226-.252c.132-.127.346-.155.473-.022a.332.332 0 010 .473l-1.183 1.182-.011.011c-.005.005-.011.005-.016.011a.115.115 0 00-.034.022c-.005.006-.01 0-.016.006a.309.309 0 01-.176.038h-.347c-.12.104-.187.148-.187.27v.088c0 .016-.027.027-.027.043l.561.589c.06.06.055.154 0 .209a.143.143 0 01-.209 0l-.578-.578a.425.425 0 01-.082.011c-.154 0-.292-.12-.292-.274v-.358h-.016c-.104.374-.165.77-.165 1.177 0 2.431 1.969 4.4 4.4 4.4zm3.388-3.107c.077 0 .16.06.16.137v.424c0 .077-.083.137-.16.137s-.16-.06-.16-.137V6.93c0-.077.083-.137.16-.137zm-3.113-4.879c0 .187-.154.314-.335.314h-.374v.104c0 .11-.05.198-.16.198s-.16-.088-.16-.198V1.98c-.104-.022-.033-.028-.033-.055 0-.187.127-.325.314-.325h.407c.187 0 .341.127.341.314z"],$p=["M7.136 3a6.327 6.327 0 00-.098 2.009H4.65l-2.67 5.996H5c.55 0 1 .45 1 .999v1h8v-1c0-.55.45-1 1-1h1.076l1.14 1.14a2.767 2.767 0 001.974.806c.282 0 .554-.042.81-.12V17c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1v-6.455L3.08 3.62l.01-.02c.15-.35.5-.6.91-.6h3.136zm3.244 1.33c0 1.62 1.31 2.93 2.93 2.93s2.93-1.31 2.93-2.93-1.31-2.93-2.93-2.93-2.93 1.31-2.93 2.93zm6.47 2.43l2.89 2.85c.13.15.22.35.23.56 0 .43-.35.78-.78.78-.23 0-.42-.08-.56-.22l-2.87-2.87c-.17.1-.33.2-.51.29-.03.01-.06.03-.09.04-.18.07-.35.15-.55.21-.19.06-.37.11-.57.14-.05.01-.1.02-.14.02-.2.03-.39.05-.6.05A4.3 4.3 0 019 4.31C9 1.93 10.93.01 13.3 0c2.37 0 4.3 1.93 4.3 4.3 0 .21-.02.4-.05.6-.01.05-.01.09-.02.14-.04.2-.08.38-.14.58-.05.19-.13.36-.21.54-.01.03-.03.06-.04.09-.08.18-.18.34-.29.51z"],Yp=["M10.083 3a6.04 6.04 0 00.001 2.009H4.65l-2.67 5.996H5c.55 0 1 .45 1 .999v1h8v-1c0-.55.45-1 1-1h3.02l-.53-1.19a5.97 5.97 0 001.824-.811L20 10.545v6.456c0 .55-.45.999-1 .999H1c-.55 0-1-.45-1-1v-6.455L3.08 3.62l.01-.02c.15-.35.5-.6.91-.6h6.083zM16 8a4 4 0 110-8 4 4 0 010 8z"],Xp=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM9 4h2v2H9V4zm4 12H7v-1h2V8H8V7h3v8h2v1z"],Zp=["M6 10c0 2.21 1.79 4 4 4h6.59l-2.29-2.29A.965.965 0 0114 11a1.003 1.003 0 011.71-.71l4 4c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-4 4a1.003 1.003 0 01-1.42-1.42l2.3-2.29H10c-3.31 0-6-2.69-6-6H1a1 1 0 01-1-1V1a1 1 0 011-1h8a1 1 0 011 1v8a1 1 0 01-1 1H6zM2 2v6h6V2H2z"],Qp=["M1 9c.55 0 1 .45 1 1v4c0 1.1.9 2 2 2h2.59l-.3-.29a1.003 1.003 0 011.42-1.42l2 2c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-2 2A1.003 1.003 0 016 19c0-.28.11-.53.3-.71l.29-.29H4c-2.21 0-4-1.79-4-4v-4c0-.55.45-1 1-1zm6.996-9c.79 0 1.68.25 2.309.73a3.63 3.63 0 011.4 2.36c.11.6.17 1.52.17 2.15v.09c.22.09.42.32.47.82.03.39-.12.73-.2.87-.07.34-.27.71-.61.78-.04.16-.09.33-.15.48-.01.01-.02.05-.02.05-.27.71-.68 1.33-1.19 1.78 0 .08 0 .16.01.23.05.55-.15.95 1.33 1.6 1.469.66 3.698 1.35 4.178 2.39.45 1.05.27 1.67.27 1.67h-5.227a1.982 1.982 0 00-.319-.417l-2-2A2.003 2.003 0 005 15H4c-.548 0-1-.452-1-1v-1.462c.511-.213 1.023-.413 1.468-.608 1.479-.65 1.329-1.05 1.379-1.59l.01-.21c-.52-.45-.95-1.08-1.22-1.8l-.01-.01-.01-.03c-.07-.15-.12-.32-.16-.49-.34-.06-.54-.43-.62-.78-.08-.14-.24-.48-.2-.87.05-.51.26-.74.49-.83v-.08c0-.64.05-1.55.17-2.15a3.648 3.648 0 011.4-2.36C6.317.25 7.207 0 7.996 0zm5.997 3c.59 0 1.26.19 1.73.55.46.35.8.85.97 1.4.04.13.07.25.08.38.08.45.13 1.14.13 1.61v.07c.16.07.31.24.35.62.02.29-.09.55-.15.65-.05.26-.2.53-.46.59-.03.12-.07.25-.11.36-.01.01-.01.04-.01.04-.2.53-.51 1-.89 1.34 0 .06 0 .12.01.17.04.41-.11.71 1 1.19 1.099.5 2.768 1.01 3.128 1.79.34.79.2 1.25.2 1.25h-3.039V15c-.06-.33-.17-.69-.33-1.06-.45-.97-1.37-1.52-3.238-2.3-.17-.07-.76-.31-.77-.32-.1-.04-.2-.08-.28-.12.05-.14.04-.29.06-.45l.01-.16c-.25-.21-.47-.48-.65-.79.22-.34.41-.71.56-1.12l.028-.078-.002.013-.006.035.06-.15c.36-.26.6-.67.72-1.13.18-.37.29-.82.25-1.3-.05-.5-.21-.92-.47-1.22-.02-.53-.06-1.11-.12-1.59.38-.17.83-.26 1.24-.26z"],Jp=["M8.7 4.7C7.4 6 6.5 7.9 6.5 10s.8 4 2.2 5.3c-.8.5-1.7.7-2.7.7-3.3 0-6-2.7-6-6s2.7-6 6-6c1 0 1.9.2 2.7.7zm-3.34 9.25c-.55-1.2-.86-2.54-.86-3.95s.31-2.75.86-3.95a4.001 4.001 0 000 7.9zM14 4c3.3 0 6 2.7 6 6s-2.7 6-6 6c-1 0-1.9-.2-2.7-.7 1.3-1.3 2.2-3.2 2.2-5.3s-.8-3.9-2.2-5.3C12.1 4.2 13 4 14 4zm.6 2.05c.55 1.2.86 2.54.86 3.95s-.31 2.75-.86 3.95c1.9-.31 3.36-1.96 3.36-3.95S16.5 6.36 14.6 6.05zM10 5.5C8.8 6.7 8 8.2 8 10s.8 3.3 2 4.4c1.2-1.1 2-2.7 2-4.5s-.8-3.3-2-4.4z"],ev=["M19 0H1C.4 0 0 .4 0 1v18c0 .5.4 1 1 1h18c.5 0 1-.5 1-1V1c0-.6-.5-1-1-1zm-1 18H2V2h16v16zM5 11h4v4c0 .6.4 1 1 1s1-.4 1-1v-4h4c.6 0 1-.4 1-1s-.4-1-1-1h-4V5c0-.6-.4-1-1-1s-1 .4-1 1v4H5c-.6 0-1 .4-1 1s.4 1 1 1z"],tv=["M10 9c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.46-1-1-1zm4.992.975v-.044a.42.42 0 00-.106-.225 7.726 7.726 0 00-1.087-1.125c-.831-.731-1.78-1.343-2.824-1.587a4.153 4.153 0 00-1.819-.025c-.562.112-1.093.337-1.593.619-.78.443-1.5 1.05-2.124 1.73a6.88 6.88 0 00-.331.395.461.461 0 000 .58c.318.42.7.788 1.087 1.126.83.731 1.78 1.343 2.824 1.587.606.144 1.218.15 1.83.025.557-.112 1.088-.337 1.594-.619.78-.443 1.5-1.05 2.118-1.73.113-.126.231-.257.337-.395a.442.442 0 00.107-.225V10c-.013-.012-.013-.019-.013-.025zM10 12c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2-.893 2-2 2zM7 1a1 1 0 00-1-1H1a1 1 0 00-1 1v5a1 1 0 002 0V2h4a1 1 0 001-1zm6 0a1 1 0 011-1h5a1 1 0 011 1v5a1 1 0 11-2 0V2h-4a1 1 0 01-1-1zm0 18a1 1 0 001 1h5a1 1 0 001-1v-5a1 1 0 10-2 0v4h-4a1 1 0 00-1 1zm-6 0a1 1 0 01-1 1H1a1 1 0 01-1-1v-5a1 1 0 112 0v4h4a1 1 0 011 1z"],nv=["M13 4c-1.31 0-2.51.43-3.5 1.14A5.977 5.977 0 006 4c-3.31 0-6 2.69-6 6s2.69 6 6 6c1.31 0 2.51-.43 3.5-1.14.99.71 2.19 1.14 3.5 1.14 3.31 0 6-2.69 6-6s-2.69-6-6-6zm-4.93 9.41c-.61.37-1.31.59-2.07.59-2.21 0-4-1.79-4-4s1.79-4 4-4c.76 0 1.46.22 2.07.59C7.4 7.56 7 8.73 7 10s.4 2.44 1.07 3.41zM13 14c-.76 0-1.46-.22-2.07-.59C11.6 12.44 12 11.27 12 10s-.4-2.44-1.07-3.41C11.54 6.22 12.24 6 13 6c2.21 0 4 1.79 4 4s-1.79 4-4 4z"],rv=["M6 3.66C6 5.69 10 11 10 11s4-5.31 4-7.34C13.99 1.64 12.21 0 10 0S6 1.64 6 3.66zM8 4c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zM14 13.5V13h-4v1h3v2h-2v1h3v-3.5zM3 12h14c.55 0 1 .45 1 1v6c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1v-6c0-.55.45-1 1-1zm4 1v6h1v-6H7zm3 1v5h1v-5h-1z"],ov=["M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16zm1-2H9v-2h2v2zm0-3H9V4h2v9z"],iv=["M15.364 5.9a.997.997 0 01-.707-.293l-2.121-2.122a1 1 0 111.414-1.414l1.414 1.414L18.192.657a1 1 0 011.414 1.414l-3.535 3.536a.997.997 0 01-.707.292zM11.78.157a3.002 3.002 0 00-1.437 1.85 8 8 0 107.1 5.055l.042-.042 1.472-1.472A9.959 9.959 0 0120 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0c.608 0 1.202.054 1.78.158zM11 16H9v-2h2v2zm0-3H9V4h2v9z"],av=["M13.167.512a2.98 2.98 0 00-.131.524c-.74.115-1.39.5-1.848 1.052a8 8 0 106.724 6.724 2.997 2.997 0 001.052-1.848 2.98 2.98 0 00.524-.13A9.99 9.99 0 0120 10c0 5.523-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0a9.99 9.99 0 013.167.512zM11 16H9v-2h2v2zm0-3H9V4h2v9zm6-10h1.5a1 1 0 010 2H17v1.5a1 1 0 01-2 0V5h-1.5a1 1 0 010-2H15V1.5a1 1 0 012 0V3z"],lv=["M11.7 4H14c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .4-1 1s.4 1 1 1h2.2L7.3 15H5c-.6 0-1 .4-1 1s.4 1 1 1h7c.6 0 1-.4 1-1s-.4-1-1-1H9.8l1.9-11z"],sv=["M19 6h-4V2c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h4v4c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zM6 12H2V9h4v3zm0-4H2V5h4v3zm7 9H7v-3h6v3zm0-4H7V9h6v4zm0-5H7V5h6v3zm5 9h-4v-3h4v3zm0-4h-4v-3h4v3z"],cv=["M14 0c-3.31 0-6 2.69-6 6 0 1.11.32 2.14.85 3.03L.44 17.44a1.498 1.498 0 102.12 2.12l.79-.79.94.94c.18.18.43.29.71.29s.53-.11.71-.29l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-.94-.94 3.2-3.2A5.9 5.9 0 0014 12c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 9c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"],uv=["M19 3H7c-.28 0-.53.11-.71.29l-6 6C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l6 6c.18.18.43.29.71.29h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-2.29 9.29a1.003 1.003 0 01-1.42 1.42L13 11.41l-2.29 2.29c-.18.19-.43.3-.71.3a1.003 1.003 0 01-.71-1.71l2.3-2.29-2.3-2.29a1.003 1.003 0 011.42-1.42L13 8.59l2.29-2.29c.18-.19.43-.3.71-.3a1.003 1.003 0 01.71 1.71L14.41 10l2.3 2.29z"],dv=["M15.5 12H14V8h1.5C17.43 8 19 6.43 19 4.5S17.43 1 15.5 1 12 2.57 12 4.5V6H8V4.5C8 2.57 6.43 1 4.5 1S1 2.57 1 4.5 2.57 8 4.5 8H6v4H4.5C2.57 12 1 13.57 1 15.5S2.57 19 4.5 19 8 17.43 8 15.5V14h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5zm0-9c.83 0 1.5.67 1.5 1.5S16.33 6 15.5 6 14 5.33 14 4.5 14.67 3 15.5 3zm-11 14c-.83 0-1.5-.67-1.5-1.5S3.67 14 4.5 14s1.5.67 1.5 1.5S5.33 17 4.5 17zm0-11C3.67 6 3 5.33 3 4.5S3.67 3 4.5 3 6 3.67 6 4.5 5.33 6 4.5 6zm7.5 6H8V8h4v4zm3.5 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"],hv=["M16.71 7.29l-6-6C10.53 1.11 10.28 1 10 1s-.53.11-.71.29l-6 6a1.003 1.003 0 001.42 1.42L10 3.41l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71z"],fv=["M19.71 9.29l-6-6A.997.997 0 0013 3H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.28 0 .53-.11.71-.29l6-6c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zm-9 3a1.003 1.003 0 01-1.42 1.42L7 11.41 4.71 13.7c-.18.19-.43.3-.71.3a1.003 1.003 0 01-.71-1.71L5.59 10l-2.3-2.29a1.003 1.003 0 011.42-1.42L7 8.59 9.29 6.3c.18-.19.43-.3.71-.3a1.003 1.003 0 01.71 1.71L8.41 10l2.3 2.29z"],pv=["M18 2c-.55 0-1 .45-1 1v5c0 2.21-1.79 4-4 4H4.41L6.7 9.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L4.41 14H13c3.31 0 6-2.69 6-6V3c0-.55-.45-1-1-1z"],vv=["M2 8c.55 0 1-.45 1-1V4.41l6.29 6.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L4.41 3H7c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1zm9-6.94V3.1c3.39.49 6 3.38 6 6.9 0 3.87-3.13 7-7 7-3.52 0-6.41-2.61-6.9-6H1.06c.5 4.5 4.31 8 8.94 8a9 9 0 009-9c0-4.63-3.5-8.44-8-8.94z"],mv=["M13 4h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-.55 0-1 .45-1 1s.45 1 1 1zm6 12h-4.42L6.87 2.5l-.02.01A.977.977 0 006 2H1c-.55 0-1 .45-1 1s.45 1 1 1h4.42l7.71 13.5.01-.01c.18.3.49.51.86.51h5c.55 0 1-.45 1-1s-.45-1-1-1z"],gv=["M17.74 10.35l-6.99-8.01-.01.01C10.56 2.14 10.3 2 10 2s-.56.14-.74.35l-.01-.01-7 8 .01.01A.95.95 0 002 11c0 .55.45 1 1 1h3v5c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-5h3c.55 0 1-.45 1-1 0-.25-.1-.48-.26-.65z"],yv=["M19 13H4.41l2.29-2.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L2 12.59V10c0-.55-.45-1-1-1s-1 .45-1 1v8c0 .55.45 1 1 1s1-.45 1-1v-2.59l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L4.41 15H19c.55 0 1-.45 1-1s-.45-1-1-1zm0-12c-.55 0-1 .45-1 1v2.59L14.71 1.3A.965.965 0 0014 1a1.003 1.003 0 00-.71 1.71L15.59 5H1c-.55 0-1 .45-1 1s.45 1 1 1h14.59L13.3 9.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 7.41V10c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1z"],bv=["M19 4a.997.997 0 00-.707.293L14 8.586l-2.293-2.293a1 1 0 00-1.414 1.414l3 3a.997.997 0 001.414 0l5-5A1 1 0 0019 4zm-2.048 7.291c.011.072.048.134.048.209a1.5 1.5 0 01-1.5 1.5c-.225 0-.433-.057-.624-.145-.279.085-.57.145-.876.145a2.99 2.99 0 01-2.121-.879l-3-3 .007-.007A3.027 3.027 0 018.184 8H4V7l1-3h10l.19.568 1.307-1.308c-.336-.356-.758-.658-1.165-.772 0 0-1.74-.488-5.332-.488s-5.332.488-5.332.488c-.67.188-1.424.864-1.674 1.502L2.99 4H3L2 7H1a1 1 0 000 2h.333l-.28.84L1 10v7.5a1.5 1.5 0 103 0V17h12v.5a1.5 1.5 0 003 0V10l-.19-.568-1.858 1.86zM4.5 13a1.5 1.5 0 110-3 1.5 1.5 0 010 3z"],wv=["M13 2a1 1 0 010 2v4l4 8v1a1 1 0 01-1 1H4a1 1 0 01-1-1v-1l4-8V4a1 1 0 110-2h6zm-2 2H9v4l-2 4h6l-2-4V4z"],_v=["M3 12h14v-1H3v1zm11-9H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V9l-6-6zm4 12H2V5h11v3H3v1h10v1h5v5zm-4-6V5l4 4h-4z"],Ev=["M19.5 9.1l-9-5c-.2-.1-.3-.1-.5-.1s-.3 0-.5.1l-9 5c-.3.2-.5.5-.5.9s.2.7.5.9l9 5c.2.1.3.1.5.1s.3 0 .5-.1l9-5c.3-.2.5-.5.5-.9s-.2-.7-.5-.9z"],xv=["M9.514 4.126l-9 5a1 1 0 000 1.748l9 5a1 1 0 00.972 0l9-5a1 1 0 000-1.748l-9-5a1 1 0 00-.972 0zM10 6.144l6.94 3.855L10 13.855 3.059 9.999 10 6.144z"],Sv=["M.5 6.9l9 5c.2.1.3.1.5.1s.3 0 .5-.1l9-5c.3-.2.5-.5.5-.9s-.2-.7-.5-.9l-9-5c-.2-.1-.3-.1-.5-.1s-.3 0-.5.1l-9 5c-.3.2-.5.5-.5.9s.2.7.5.9z","M19 9c-.2 0-.3 0-.5.1L10 13.9 1.5 9.1C1.3 9 1.2 9 1 9c-.6 0-1 .4-1 1 0 .4.2.7.5.9l9 5c.2.1.3.1.5.1s.3 0 .5-.1l9-5c.3-.2.5-.5.5-.9 0-.6-.4-1-1-1z","M19 13c-.2 0-.3 0-.5.1L10 17.9l-8.5-4.7c-.2-.2-.3-.2-.5-.2-.6 0-1 .4-1 1 0 .4.2.7.5.9l9 5c.2.1.3.1.5.1s.3 0 .5-.1l9-5c.3-.2.5-.5.5-.9 0-.6-.4-1-1-1z"],Ov=["M18 6c-1.1 0-2 .9-2 2 0 .37.11.71.28 1.01l-2.27 2.27c-.3-.17-.64-.28-1.01-.28-.93 0-1.71.64-1.93 1.5H8.93c-.22-.86-1-1.5-1.93-1.5-.37 0-.71.11-1.01.28L3.72 9.01C3.89 8.71 4 8.37 4 8c0-.34-.09-.66-.24-.94l3.66-3.38c.31.2.68.32 1.08.32 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .34.09.66.24.94L3.08 6.32C2.77 6.12 2.4 6 2 6 .9 6 0 6.9 0 8s.9 2 2 2c.37 0 .71-.11 1.01-.28l2.27 2.27c-.17.3-.28.64-.28 1.01s.11.71.28 1.01l-2.27 2.27C2.71 16.11 2.37 16 2 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2c0-.37-.11-.71-.28-1.01l2.27-2.27c.3.17.64.28 1.01.28.93 0 1.71-.64 1.93-1.5h2.14c.22.86 1 1.5 1.93 1.5 1.1 0 2-.9 2-2 0-.37-.11-.71-.28-1.01l2.27-2.27c.3.17.64.28 1.01.28 1.1 0 2-.9 2-2s-.9-2-2-2z"],Cv=["M18 13c-.53 0-1.01.21-1.37.55L11.9 10.6c.06-.19.1-.39.1-.6s-.04-.41-.1-.6l4.72-2.95c.37.34.85.55 1.38.55 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .21.04.41.1.6l-4.73 2.96c-.24-.23-.54-.4-.87-.48V3.93c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S8 .9 8 2c0 .93.64 1.71 1.5 1.93v4.14c-.33.09-.63.26-.87.48L3.9 5.6c.06-.19.1-.39.1-.6 0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.53 0 1.01-.21 1.37-.55L8.1 9.4c-.06.19-.1.39-.1.6s.04.41.1.6l-4.72 2.95C3.01 13.21 2.53 13 2 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2c0-.21-.04-.41-.1-.6l4.73-2.96c.24.23.54.4.87.48v4.14C8.64 16.29 8 17.07 8 18c0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93v-4.14c.33-.09.63-.26.87-.48l4.73 2.96c-.06.18-.1.38-.1.59 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z"],Mv=["M18 16c-.14 0-.28.02-.42.05l-1.73-3.45c.69-.45 1.14-1.22 1.14-2.1s-.46-1.65-1.14-2.1l1.73-3.45c.14.03.28.05.42.05 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .6.27 1.13.69 1.5l-1.77 3.54c-.14-.02-.28-.04-.42-.04a2.5 2.5 0 00-2.45 2h-4.1A2.5 2.5 0 005.5 8c-.14 0-.28.02-.42.04L3.31 4.5C3.73 4.13 4 3.6 4 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.14 0 .28-.02.42-.05L4.14 8.4C3.46 8.85 3 9.62 3 10.5s.46 1.65 1.14 2.1l-1.73 3.45A1.84 1.84 0 002 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2c0-.6-.27-1.13-.69-1.5l1.77-3.54c.14.02.28.04.42.04a2.5 2.5 0 002.45-2h4.1a2.5 2.5 0 002.45 2c.14 0 .28-.02.42-.04l1.77 3.54c-.42.37-.69.9-.69 1.5 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z"],zv=["M18.3 8c-.2-.9-.6-1.7-1.1-2.5.2-.3.3-.7.3-1 0-1.1-.9-2-2-2-.4 0-.7.1-1 .3-.8-.5-1.6-.8-2.5-1.1-.1-1-1-1.7-2-1.7S8.2.8 8 1.7c-.9.3-1.7.6-2.5 1.1-.3-.2-.7-.3-1-.3-1.1 0-2 .9-2 2 0 .4.1.7.3 1-.5.8-.8 1.6-1.1 2.5C.8 8.2 0 9 0 10s.8 1.8 1.7 2c.2.9.6 1.7 1.1 2.5-.2.3-.3.7-.3 1 0 1.1.9 2 2 2 .4 0 .7-.1 1-.3.8.5 1.6.8 2.5 1.1.1 1 1 1.7 2 1.7s1.8-.8 2-1.7c.9-.2 1.7-.6 2.5-1.1.3.2.7.3 1 .3 1.1 0 2-.9 2-2 0-.4-.1-.7-.3-1 .5-.8.8-1.6 1.1-2.5 1-.1 1.7-1 1.7-2s-.8-1.8-1.7-2zm-1.8 5.8c-.3-.2-.6-.3-1-.3-1.1 0-2 .9-2 2 0 .4.1.7.3 1-.6.3-1.2.6-1.9.8-.3-.7-1-1.3-1.9-1.3-.8 0-1.6.5-1.9 1.3-.7-.2-1.3-.4-1.9-.8.2-.3.3-.6.3-1 0-1.1-.9-2-2-2-.4 0-.7.1-1 .3-.3-.6-.6-1.2-.8-1.9.8-.3 1.3-1.1 1.3-1.9s-.5-1.6-1.2-1.8c.2-.7.4-1.3.8-1.9.3.2.6.3 1 .3 1.1 0 2-.9 2-2 0-.4-.1-.7-.3-1 .6-.3 1.2-.6 1.9-.8.2.7 1 1.2 1.8 1.2s1.6-.5 1.9-1.3c.7.2 1.3.4 1.9.8-.2.3-.3.6-.3 1 0 1.1.9 2 2 2 .4 0 .7-.1 1-.3.3.6.6 1.2.8 1.9-.8.3-1.3 1.1-1.3 1.9s.5 1.6 1.2 1.8c-.1.7-.4 1.4-.7 2z"],Pv=["M2 0a2 2 0 100 4 2 2 0 100-4zM10 0a2 2 0 100 4 2 2 0 100-4zM18 0a2 2 0 100 4 2 2 0 100-4zM18 8a2 2 0 100 4 2 2 0 100-4zM18 16a2 2 0 100 4 2 2 0 100-4zM10 16a2 2 0 100 4 2 2 0 100-4zM2 16a2 2 0 100 4 2 2 0 100-4zM2 8a2 2 0 100 4 2 2 0 100-4zM10 8a2 2 0 100 4 2 2 0 100-4z"],Tv=["M2 2a2 2 0 100 4 2 2 0 100-4zM18 0a2 2 0 100 4 2 2 0 100-4zM18 8a2 2 0 100 4 2 2 0 100-4zM18 16a2 2 0 100 4 2 2 0 100-4zM2 14a2 2 0 100 4 2 2 0 100-4zM2 8a2 2 0 100 4 2 2 0 100-4zM13 12a2 2 0 100 4 2 2 0 100-4zM13 4a2 2 0 100 4 2 2 0 100-4z"],Av=["M18.5 16.07v-4.14c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2-.93 0-1.71.64-1.93 1.5h-4.14c-.18-.7-.73-1.25-1.43-1.43V3.93c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S8 .9 8 2c0 .93.64 1.71 1.5 1.93v4.14c-.7.18-1.25.73-1.43 1.43H3.93C3.71 8.64 2.93 8 2 8c-1.1 0-2 .9-2 2 0 .93.64 1.71 1.5 1.93v4.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93v-4.14c.7-.18 1.25-.73 1.43-1.43h4.14c.18.7.73 1.25 1.43 1.43v4.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93v-4.14c.7-.18 1.25-.73 1.43-1.43h4.14c.18.7.73 1.25 1.43 1.43v4.14c-.86.22-1.5 1-1.5 1.93 0 1.1.9 2 2 2s2-.9 2-2c0-.93-.64-1.71-1.5-1.93z"],Lv=["M16.5 7a2.5 2.5 0 00-2.45 2h-2.1a2.5 2.5 0 00-4.9 0h-2.1a2.5 2.5 0 100 1h2.1a2.5 2.5 0 004.9 0h2.1a2.5 2.5 0 102.45-3z"],kv=["M2 0a2 2 0 100 4 2 2 0 100-4zM18 0a2 2 0 100 4 2 2 0 100-4zM18 8a2 2 0 100 4 2 2 0 100-4zM18 16a2 2 0 100 4 2 2 0 100-4zM2 16a2 2 0 100 4 2 2 0 100-4zM2 8a2 2 0 100 4 2 2 0 100-4zM10 12a2 2 0 100 4 2 2 0 100-4zM10 4a2 2 0 100 4 2 2 0 100-4z"],Nv=["M2 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm16 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-8 4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Iv=["M10.551 1.127a1.256 1.256 0 00-1.102 0L.456 5.89c-.608.309-.608.913 0 1.222l8.993 4.762c.334.17.767.17 1.102 0l8.992-4.762c.61-.309.61-.913 0-1.222l-8.992-4.762z","M18 6.5l.016 4.514c.002.548.447.99.994.99a.99.99 0 00.99-.99V6.5h-2zM3.366 10.033l6.401 3.358a.5.5 0 00.465 0l6.406-3.358a.25.25 0 01.366.221v5.109a.25.25 0 01-.139.224l-6.64 3.302a.5.5 0 01-.446 0l-6.64-3.302A.25.25 0 013 15.363v-5.108a.25.25 0 01.366-.222z"],Rv=["M8.7 4.7C7.4 6 6.5 7.9 6.5 10s.8 4 2.2 5.3c-.8.5-1.7.7-2.7.7-3.3 0-6-2.7-6-6s2.7-6 6-6c1 0 1.9.2 2.7.7zM14 4c3.3 0 6 2.7 6 6s-2.7 6-6 6c-1 0-1.9-.2-2.7-.7 1.3-1.3 2.2-3.2 2.2-5.3s-.8-3.9-2.2-5.3C12.1 4.2 13 4 14 4zm.6 2.05c.55 1.2.86 2.54.86 3.95s-.31 2.75-.86 3.95c1.9-.31 3.36-1.96 3.36-3.95S16.5 6.36 14.6 6.05zM10 5.5C8.8 6.7 8 8.2 8 10s.8 3.3 2 4.4c1.2-1.1 2-2.7 2-4.5s-.8-3.3-2-4.4z"],Hv=["M.833 16h8.334c.458 0 .833-.45.833-1s-.375-1-.833-1H.833C.375 14 0 14.45 0 15s.375 1 .833 1zM1 11h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm15 2c0 .28.11.53.29.71l.3.29H13c-.55 0-1 .45-1 1s.45 1 1 1h3.59l-.29.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l2-2c.18-.19.29-.44.29-.71 0-.28-.11-.53-.29-.71l-2-2A.997.997 0 0017 12a.99.99 0 00-1 1zM1 6h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1z"],Vv=["M7.162 10l9.154 3.052a1 1 0 01-.632 1.897l-12-4c-.912-.304-.912-1.594 0-1.897l12-4a1 1 0 01.632 1.897L7.162 10z"],Dv=["M16.316 11.051L7.162 8l9.154-3.051a1 1 0 10-.632-1.898l-12 4c-.912.304-.912 1.594 0 1.898l12 4a1 1 0 10.632-1.898zM16 15H4a1 1 0 100 2h12a1 1 0 100-2z"],jv=["M8.143 14.644L7.028 17.43c.919.368 1.922.57 2.972.57s2.053-.202 2.972-.57l-1.115-2.786A4.986 4.986 0 0110 15a4.986 4.986 0 01-1.857-.356zm-2.787-2.787A4.986 4.986 0 015 10c0-.656.126-1.283.356-1.857L2.57 7.028A7.978 7.978 0 002 10c0 1.05.202 2.053.57 2.972l2.786-1.115zm2.787-6.5A4.986 4.986 0 0110 5c.656 0 1.283.126 1.857.356l1.115-2.786A7.978 7.978 0 0010 2c-1.05 0-2.053.202-2.972.57l1.115 2.786zm6.5 2.786c.23.574.357 1.2.357 1.857 0 .656-.126 1.283-.356 1.857l2.786 1.115c.368-.919.57-1.922.57-2.972s-.202-2.053-.57-2.972l-2.786 1.115zM10 13a3 3 0 100-6 3 3 0 000 6zm0 7C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10z"],Fv=["M6.33 13.39c0 .34.27.61.6.61h6.13c.33 0 .6-.27.6-.61C14.03 9.78 16 9.4 16 6.09 16 2.72 13.31 0 10 0S4 2.72 4 6.09c0 3.31 1.97 3.69 2.33 7.3zM13 15H7c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zm-1 3H8c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1z"],Bv=["M9 11H6a1 1 0 01-1-1L5.91.9a1 1 0 01.995-.9h6.256a.839.839 0 01.779 1.15L11.2 8h2.978a.822.822 0 01.748 1.162l-4.764 10.481A.608.608 0 019 19.392V11z"],Uv=["M10.85 11.98l-4.44 4.44-1 1c-.36.36-.86.58-1.41.58-1.1 0-2-.9-2-2 0-.55.22-1.05.59-1.41l5.44-5.44C7.69 9.06 7.36 9 7 9c-1.11 0-2.09.46-2.82 1.18l-.01-.01-3 3 .01.01C.46 13.91 0 14.89 0 16c0 2.21 1.79 4 4 4 1.11 0 2.09-.46 2.82-1.18l.01.01 3-3-.01-.01C10.54 15.09 11 14.11 11 13c0-.36-.06-.69-.15-1.02zM20 4c0-2.21-1.79-4-4-4-1.11 0-2.09.46-2.82 1.18l-.01-.01-3 3 .01.01C9.46 4.91 9 5.89 9 7c0 .36.06.69.15 1.02l4.44-4.44 1-1c.36-.36.86-.58 1.41-.58 1.1 0 2 .9 2 2 0 .55-.22 1.05-.59 1.41l-5.44 5.44c.34.09.67.15 1.03.15 1.11 0 2.09-.46 2.82-1.18l.01.01 3-3-.01-.01C19.54 6.09 20 5.11 20 4zM5 14a1.003 1.003 0 001.71.71l8-8a1.003 1.003 0 00-1.42-1.42l-2 2-2 2-2 2-2 2c-.18.18-.29.43-.29.71z"],Gv=["M1.03 1C.46 1 0 1.46 0 2.03v.95C0 3.54.46 4 1.03 4h17.95C19.54 4 20 3.54 20 2.97v-.94C20 1.46 19.54 1 18.97 1H1.03zM0 17.97C0 18.54.46 19 1.03 19h17.95c.56 0 1.03-.46 1.03-1.03v-.95c0-.56-.46-1.03-1.03-1.03H1.03C.46 16 0 16.46 0 17.03v.94zM0 12.97C0 13.54.46 14 1.03 14h17.95c.56 0 1.03-.46 1.03-1.03v-.95c0-.56-.46-1.03-1.03-1.03H1.03C.46 11 0 11.46 0 12.03v.94zM0 7.97C0 8.54.46 9 1.03 9h17.95C19.54 9 20 8.54 20 7.97v-.94C20 6.46 19.54 6 18.97 6H1.03C.46 6 0 6.46 0 7.03v.94z"],qv=["M0 2.973v-.936C0 1.468.46 1.01 1.029 1H7.97C8.541 1 9 1.468 9 2.027v.946C9 3.542 8.53 4 7.971 4H1.03C.459 4 0 3.542 0 2.973zm0 5v-.936C0 6.468.46 6.01 1.029 6H7.97C8.541 6 9 6.468 9 7.027v.946C9 8.542 8.53 9 7.971 9H1.03C.459 9 0 8.542 0 7.973zm0 5v-.936C0 11.468.46 11.01 1.029 11H7.97C8.541 11 9 11.468 9 12.027v.946C9 13.542 8.53 14 7.971 14H1.03C.459 14 0 13.542 0 12.973zm0 5v-.936C0 16.468.46 16.01 1.029 16H7.97C8.541 16 9 16.468 9 17.027v.946C9 18.542 8.53 19 7.971 19H1.03C.459 19 0 18.542 0 17.973zm11-15v-.936c0-.569.46-1.027 1.029-1.037h6.942C19.541 1 20 1.468 20 2.027v.946C20 3.542 19.53 4 18.971 4H12.03C11.459 4 11 3.542 11 2.973zm0 5v-.936c0-.569.46-1.027 1.029-1.037h6.942C19.541 6 20 6.468 20 7.027v.946C20 8.542 19.53 9 18.971 9H12.03C11.459 9 11 8.542 11 7.973zm0 5v-.936c0-.569.46-1.027 1.029-1.037h6.942c.57 0 1.029.468 1.029 1.027v.946c0 .569-.47 1.027-1.029 1.027H12.03c-.57 0-1.029-.458-1.029-1.027zm0 5v-.936c0-.569.46-1.027 1.029-1.037h6.942c.57 0 1.029.468 1.029 1.027v.946c0 .569-.47 1.027-1.029 1.027H12.03c-.57 0-1.029-.458-1.029-1.027z"],Wv=["M8 6H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zm0 5H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm0 5H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zM8 1H1c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm11 0h-7c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1z"],Kv=["M10 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm9 1h-1.07c-.45-3.61-3.32-6.45-6.93-6.91V1c0-.55-.45-1-1-1S9 .45 9 1v1.09C5.39 2.55 2.52 5.39 2.07 9H1c-.55 0-1 .45-1 1s.45 1 1 1h1.07c.45 3.61 3.32 6.45 6.93 6.91V19c0 .55.45 1 1 1s1-.45 1-1v-1.09c3.61-.46 6.48-3.29 6.93-6.91H19c.55 0 1-.45 1-1s-.45-1-1-1zm-4 2h.9a5.98 5.98 0 01-4.9 4.91V15c0-.55-.45-1-1-1s-1 .45-1 1v.91A5.98 5.98 0 014.1 11H5c.55 0 1-.45 1-1s-.45-1-1-1h-.9A5.98 5.98 0 019 4.09V5c0 .55.45 1 1 1s1-.45 1-1v-.91A5.98 5.98 0 0115.9 9H15c-.55 0-1 .45-1 1s.45 1 1 1z"],$v=["M15.93 9H14V4.99c0-2.21-1.79-4-4-4s-4 1.79-4 4V9H3.93c-.55 0-.93.44-.93.99v8c0 .55.38 1.01.93 1.01h12c.55 0 1.07-.46 1.07-1.01v-8c0-.55-.52-.99-1.07-.99zM8 9V4.99c0-1.1.9-2 2-2s2 .9 2 2V9H8z"],Yv=["M9.988 2h-7.99A1 1 0 001 3v13h1.74a.523.523 0 00.412-.21c2.325-3.051 4.623-1.437 5.684-.008.1.134.254.218.42.218h.488c.154 0 .301-.074.399-.194 2.576-3.142 4.762-1.491 5.687-.058a.534.534 0 00.444.252h2.496a.5.5 0 00.353-.854L17.978 14c3.495-3 1.997-5.667-.999-7V5l1.145-1.146A.5.5 0 0017.771 3H14.19a.5.5 0 00-.353.854L14.982 5v2h-3.995V3a1 1 0 00-.999-1zm-6.99 2h2.995v5H2.997V4zM8.99 4H6.992v5H8.99V4z","M5.993 19a1.999 1.999 0 001.998-2 1.999 1.999 0 10-3.995 0c0 1.105.894 2 1.997 2zm0-1a1 1 0 100-1.999 1 1 0 000 1.999zM12.984 19a1.999 1.999 0 001.998-2 1.999 1.999 0 10-3.995 0c0 1.105.894 2 1.997 2zm0-1a1 1 0 100-1.999 1 1 0 000 1.999z"],Xv=["M19 0h-8c-.55 0-1 .45-1 1s.45 1 1 1h7v16h-7c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-4 10c0-.28-.11-.53-.29-.71l-5-5a1.003 1.003 0 00-1.42 1.42L11.59 9H1c-.55 0-1 .45-1 1s.45 1 1 1h10.59L8.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l5-5c.18-.18.29-.43.29-.71z"],Zv=["M19.71 9.29l-5-5a1.003 1.003 0 00-1.42 1.42L16.59 9H6c-.55 0-1 .45-1 1s.45 1 1 1h10.59l-3.29 3.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l5-5c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM9 18H2V2h7c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1z"],Qv=["M10 0a1 1 0 00-1 1v2H5V2a1 1 0 00-2 0v1H2a1 1 0 000 2h1v2H2a1 1 0 000 2h4a1 1 0 000-2H5V5h4v14a1 1 0 102 0V5h4v2h-1a1 1 0 100 2h4a1 1 0 100-2h-1V5h1a1 1 0 100-2h-1V2a1 1 0 10-2 0v1h-4V1a1 1 0 00-1-1z"],Jv=["M20 1.1a.976.976 0 00-.83-.88C15.15-.43 12.07.34 10 2.5 7.93.34 4.85-.43.84.22.37.3.03.67 0 1.1v15.01c0 .07 0 .14.01.21.09.52.61.88 1.15.79 3.85-.62 6.4.16 8 2.46.02.02.03.04.05.07.02.02.04.04.06.07l.01.01a1.07 1.07 0 00.28.19c.01 0 .01.01.02.01.03.01.07.03.1.04.01 0 .02.01.04.01.03.01.07.02.1.02.01 0 .02 0 .04.01H10c.04 0 .09 0 .13-.01.01 0 .03 0 .04-.01.03-.01.06-.01.1-.02.01 0 .03-.01.04-.01.03-.01.07-.02.1-.04.01 0 .02-.01.03-.01.07-.03.13-.07.19-.11.01 0 .01-.01.02-.01.02-.02.04-.03.06-.05.01-.01.02-.02.03-.02l.05-.05c.01-.01.02-.02.02-.03.01-.02.02-.03.04-.05 1.61-2.3 4.15-3.09 8-2.46.54.09 1.06-.26 1.15-.79-.01-.05 0-.09 0-.13V1.1zM9 16.63c-1.78-1.31-4.12-1.83-7-1.55V2c3.26-.37 5.51.39 7 2.35v12.28zm9-1.56c-2.88-.28-5.22.24-7 1.55V4.34c1.49-1.96 3.74-2.71 7-2.35v13.08z"],em=["M1 12h4.34l2-2H1c-.55 0-1 .45-1 1s.45 1 1 1zm16.77-3.94l1.65-1.65c.36-.36.58-.86.58-1.41 0-1.1-.9-2-2-2-.55 0-1.05.22-1.41.59l-1.65 1.65 2.83 2.82zM1 4h12.34l2-2H1c-.55 0-1 .45-1 1s.45 1 1 1zM0 15c0 .55.45 1 1 1h.34l2-2H1c-.55 0-1 .45-1 1zm1-7h8.34l2-2H1c-.55 0-1 .45-1 1s.45 1 1 1zm18 2h-.34l-2 2H19c.55 0 1-.45 1-1s-.45-1-1-1zm0 4h-4.34l-2 2H19c.55 0 1-.45 1-1s-.45-1-1-1zM4 19l4.41-1.59-2.81-2.79L4 19zM14.23 5.94l-7.65 7.65 2.83 2.83 7.65-7.65-2.83-2.83z"],tm=["M17 6a1 1 0 100-2 1 1 0 000 2zm0 2a3 3 0 01-2.73-1.754c-.2.068-.408.154-.617.264-.884.465-1.92 1.418-2.605 3.49.685 2.072 1.721 3.025 2.605 3.49.21.11.416.196.617.264a3 3 0 11-.165 2.034 6.262 6.262 0 01-1.383-.528c-.983-.518-1.948-1.364-2.722-2.705-.774 1.34-1.739 2.187-2.722 2.705-.48.252-.95.419-1.383.528A3.001 3.001 0 010 15a3 3 0 015.73-1.246c.2-.068.408-.154.617-.264.884-.465 1.92-1.418 2.605-3.49-.685-2.072-1.721-3.025-2.605-3.49a4.21 4.21 0 00-.617-.264 3 3 0 11.165-2.034c.433.11.904.276 1.383.528.983.518 1.948 1.364 2.722 2.705.774-1.34 1.739-2.187 2.722-2.705.48-.252.95-.419 1.383-.528A3.001 3.001 0 0120 5a3 3 0 01-3 3zM4 5a1 1 0 10-2 0 1 1 0 002 0zm12 10a1 1 0 102 0 1 1 0 00-2 0zM3 14a1 1 0 110 2 1 1 0 010-2z"],nm=["M3 2a1 1 0 100 2 1 1 0 000-2zm0 4c1.296 0 2.4-.821 2.82-1.972.487.039 1.086.13 1.667.347.947.352 1.773 1 2.032 2.318.323 1.644 1.234 2.675 2.264 3.307-1.03.632-1.941 1.663-2.264 3.307-.259 1.318-1.085 1.966-2.032 2.318a6.244 6.244 0 01-1.668.347 3.001 3.001 0 10.019 2.004c.633-.042 1.491-.158 2.347-.476 1.402-.523 2.867-1.625 3.296-3.807.259-1.318 1.085-1.966 2.032-2.318.24-.09.484-.158.722-.21a3 3 0 100-2.33 5.329 5.329 0 01-.722-.21c-.947-.352-1.773-1-2.032-2.318-.428-2.182-1.894-3.284-3.296-3.807-.856-.318-1.714-.434-2.347-.476A3.001 3.001 0 000 3a3 3 0 003 3zm13 4a1 1 0 102 0 1 1 0 00-2 0zM2 17a1 1 0 112 0 1 1 0 01-2 0z"],rm=["M19.54 4.18l.01-.02-6-4-.01.02C13.39.08 13.21 0 13 0s-.39.08-.54.18l-.01-.02L7 3.8 1.55.17l-.01.01A.969.969 0 001 0C.45 0 0 .45 0 1v14c0 .35.19.64.46.82l-.01.02 6 4 .01-.02c.15.1.33.18.54.18s.39-.08.54-.18l.01.02L13 16.2l5.45 3.63.01-.02c.15.11.33.19.54.19.55 0 1-.45 1-1V5c0-.35-.19-.64-.46-.82zM6 17.13l-4-2.67V2.87l4 2.67v11.59zm6-2.67l-4 2.67V5.54l4-2.67v11.59zm6 2.67l-4-2.67V2.87l4 2.67v11.59z"],om=["M18 9.22v7.91l-4-2.67V9.22c-.61-.55-1-1.33-1-2.22-.35 0-.69-.07-1-.18v7.65l-4 2.67V5.54l2.02-1.35c0-.06-.02-.13-.02-.19 0-1.66 1.34-3 3-3 0-.34.07-.66.17-.97C13.12.02 13.06 0 13 0c-.21 0-.39.08-.54.18l-.01-.02L7 3.8 1.55.17l-.01.01A.969.969 0 001 0C.45 0 0 .45 0 1v14c0 .35.19.64.46.82l-.01.02 6 4 .01-.02c.15.1.33.18.54.18s.39-.08.54-.18l.01.02L13 16.2l5.45 3.63.01-.02c.15.11.33.19.54.19.55 0 1-.45 1-1V6.82c-.31.11-.65.18-1 .18 0 .89-.39 1.67-1 2.22zM6 17.13l-4-2.67V2.87l4 2.67v11.59zM12 4c0 .55.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V5h2c.55 0 1-.45 1-1s-.45-1-1-1h-2V1c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1z"],im=["M9.98 0c-3.87 0-7 2.98-7 6.67 0 3.68 7 13.33 7 13.33s7-9.65 7-13.33c0-3.68-3.14-6.67-7-6.67zm0 10c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"],am=["M19 0h-5c-.55 0-1 .45-1 1s.45 1 1 1h2.59L11.3 7.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L18 3.41V6c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zM8 11c-.28 0-.53.11-.71.29L2 16.59V14c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1H3.41l5.29-5.29c.19-.18.3-.43.3-.71 0-.55-.45-1-1-1z"],lm=["M15 9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4-7H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 13l-6-5-2 2-4-5-4 8V4h16v11z"],sm=["M1 6h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm18 3H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0 5H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],cm=["M8 6h11c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM4 6c-.28 0-.53.11-.71.29l-3 3C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l3 3A1.003 1.003 0 005 13V7c0-.55-.45-1-1-1zm15 8H8c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm0-5H8c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1z"],um=["M12 9H1c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm0 5H1c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm0-10H1c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm7.71 5.29l-3-3A1.003 1.003 0 0015 7v6a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],dm=["M6.71 6.29a1.003 1.003 0 00-1.42 1.42L6.59 9H2V2h5v2.18c.42.15.8.39 1.11.7l.01-.01.88.89V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-4.76l-.88.88-.01-.01c-.31.31-.69.56-1.11.71V18H2v-7h4.59L5.3 12.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3zM19 0h-7c-.55 0-1 .45-1 1v4.76l.88-.88.01.01c.31-.31.69-.55 1.11-.7V2h5v7h-4.59l1.29-1.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L13.41 11H18v7h-5v-2.18c-.42-.15-.8-.39-1.11-.7l-.01.01-.88-.89V19c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],hm=["M10 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm8-5c-.93 0-1.71.64-1.93 1.5H14V4c0-2.21-1.79-4-4-4S6 1.79 6 4v5.5H3.93C3.71 8.64 2.93 8 2 8c-1.1 0-2 .9-2 2s.9 2 2 2c.93 0 1.71-.64 1.93-1.5H6V16c0 2.21 1.79 4 4 4s4-1.79 4-4v-5.5h2.07c.22.86 1 1.5 1.93 1.5 1.1 0 2-.9 2-2s-.9-2-2-2zm-5 8c0 1.66-1.34 3-3 3s-3-1.34-3-3V4c0-1.66 1.34-3 3-3s3 1.34 3 3v12zM10 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],fm=["M8 11H3c-.55 0-1 .45-1 1s.45 1 1 1h2.59L.3 18.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L7 14.41V17c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1zM20 1a1.003 1.003 0 00-1.71-.71L13 5.59V3c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1h-2.59l5.29-5.29c.19-.18.3-.43.3-.71z"],pm=["M16 9H4c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z"],vm=["M15 0H5c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-5 19c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm4-3H6V3h8v13z"],mm=["M19 5c-.28 0-.53.11-.71.29L15 8.59V5c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h13c.55 0 1-.45 1-1v-3.59l3.29 3.29c.18.19.43.3.71.3.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"],gm=["M19 1a1 1 0 011 1v16a1 1 0 01-1 1H1a1 1 0 01-1-1V2a1 1 0 011-1h18zm-1 4H2v12h16V5zm-3-3h-2v2h2V2zm3 0h-2v2h2V2z"],ym=["M20 5v13a1 1 0 01-1 1H1a1 1 0 01-1-1V5h20zm-3-4h2a1 1 0 011 1v1h-3V1zm-2 2H0V2a1 1 0 011-1h14v2z"],bm=["M18.746 17H1.254A1.25 1.25 0 010 15.707c.07-1.927.278-5.273.894-8.196.325-1.544.76-2.947 1.333-3.957C2.815 2.52 3.488 2 4.249 2c.88 0 1.541.357 2.081.92.547.571.961 1.345 1.327 2.151.103.226.21.477.317.726l.003.006c.245.57.482 1.12.706 1.524.338.609.785 1.173 1.471 1.173 1.046 0 1.653-.667 2.147-1.245l.003-.003.135-.157c.283-.32.566-.616.925-.835.35-.213.785-.36 1.383-.36.628 0 1.239.358 1.832 1.042.587.676 1.114 1.623 1.576 2.688.853 1.967 1.458 4.272 1.814 5.848A1.25 1.25 0 0118.746 17z"],wm=["M19 14.15A9.94 9.94 0 019.94 20C4.45 20 0 15.55 0 10.06 0 6.03 2.4 2.56 5.85 1a9.811 9.811 0 00-.88 4.09c0 5.49 4.45 9.94 9.94 9.94 1.46 0 2.84-.31 4.09-.88z"],_m=["M3.5 8a2.5 2.5 0 100 5 2.5 2.5 0 100-5zM17.5 8a2.5 2.5 0 100 5 2.5 2.5 0 100-5zM10.5 8a2.5 2.5 0 100 5 2.5 2.5 0 100-5z"],Em=["M20 16H4l7-11h1l2 2h1l5 9zm-4-5l-1.5-3h-1l-1-1-1-1L8 11.5l3-1.5 1 1 1-1 3 1zM8.055 8L2.79 16H0l7-8h1.055z"],xm=["M19.71 9.29l-3-3a1.003 1.003 0 00-1.42 1.42L16.59 9H11V3.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3C10.53.11 10.28 0 10 0s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L9 3.41V9H3.41L4.7 7.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L3.41 11H9v5.59L7.71 15.3A.965.965 0 007 15a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3a1.003 1.003 0 00-1.42-1.42L11 16.59V11h5.59l-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71z"],Sm=["M19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18h-.07c-.05-.2-.12-.42-.22-.67-.46-1.05-2.68-1.75-4.16-2.4-1.48-.65-1.28-1.05-1.33-1.59-.01-.07-.01-.15-.01-.23.51-.45.92-1.07 1.19-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.34-.07.54-.44.61-.78.08-.14.23-.48.2-.87-.05-.5-.25-.73-.47-.82v-.09c0-.63-.06-1.55-.17-2.15-.02-.17-.06-.33-.11-.5a3.67 3.67 0 00-1.29-1.86C11.7 3.25 10.81 3 10.02 3s-1.68.25-2.31.73c-.61.47-1.07 1.13-1.29 1.86-.05.16-.09.33-.11.5-.12.6-.17 1.51-.17 2.14v.08c-.24.09-.44.32-.49.83-.04.39.12.73.2.87.08.35.28.72.63.78.04.17.09.33.15.48 0 .01.01.02.01.03l.01.01c.27.72.7 1.35 1.22 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.38 1.59-1.48.65-3.7 1.35-4.16 2.4-.12.27-.18.49-.23.69H2V2h16v16z"],Om=["M19 3H7c-.55 0-1 .45-1 1v1h12v6h1c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-6 6H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm-1 6H2v-4h10v4zm4-9H4c-.55 0-1 .45-1 1v1h12v6h1c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1z"],Cm=["M19 0c-.08 0-.16.03-.24.05V.03l-12 3v.02C6.33 3.16 6 3.53 6 4v11.35c-.59-.22-1.27-.35-2-.35-2.21 0-4 1.12-4 2.5S1.79 20 4 20c1.94 0 3.55-.86 3.92-2H8V7.78l10-2.5v7.07c-.59-.22-1.27-.35-2-.35-2.21 0-4 1.12-4 2.5s1.79 2.5 4 2.5c1.94 0 3.55-.86 3.92-2H20V1c0-.55-.45-1-1-1z"],Mm=["M2 2c.55 0 1 .45 1 1v5c0 2.21 1.79 4 4 4h8.59L13.3 9.71A.965.965 0 0113 9a1.003 1.003 0 011.71-.71l4 4c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-4 4a1.003 1.003 0 01-1.42-1.42l2.3-2.29H7c-3.31 0-6-2.69-6-6V3c0-.55.45-1 1-1z"],zm=["M18.7 13.7c.5 0 1 .4 1 1 0 .257-.073.44-.22.614l-.08.086-4 4c-.2.2-.4.3-.7.3-.6 0-1-.5-1-1 0-.257.073-.44.22-.614L14 18l4-4c.2-.2.4-.3.7-.3zM1.8 0l8.378 2.982A3.003 3.003 0 0013 7a3.003 3.003 0 003.877 2.87l.723 2.53.049.06a.41.41 0 01.051.24c0 .167-.07.403-.208.593l-.092.107-4 4c-.2.2-.4.3-.7.3-.075 0-.15-.056-.225-.084L12.4 17.6l-7-2-.112-.042c-.223-.094-.431-.244-.542-.45L4.7 15 0 1.8l.5-.6L7 7.7c-.2.3-.3.6-.3 1 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2a1.68 1.68 0 00-.871.22L7.7 7 1.2.5l.6-.5zM16 0c.55 0 1 .45 1 1v2h2c.55 0 1 .45 1 1s-.45 1-1 1h-2v2c0 .432-.278.803-.664.941l-.01.004A.989.989 0 0116 8c-.55 0-1-.45-1-1V5h-2c-.55 0-1-.45-1-1l.007-.116C12.065 3.388 12.489 3 13 3h2V1c0-.55.45-1 1-1z"],Pm=["M8 0H1C.45 0 0 .45 0 1v7c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm0 11H1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h7c.55 0 1-.45 1-1v-7c0-.55-.45-1-1-1zm6 7h-1v-1c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1s-.45-1-1-1zm5-7h-2c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1zm0-11h-7c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-5 11h-2c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1s1-.45 1-1v-1h1c.55 0 1-.45 1-1s-.45-1-1-1zm5 5c-.55 0-1 .45-1 1v1h-1c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1z"],Tm=["M11.513 2.663A2 2 0 0013 6h1v1a2 2 0 104 0v-.733l1.5.833c.3.2.5.5.5.9s-.2.7-.5.9l-9 5c-.2.1-.3.1-.5.1s-.3 0-.5-.1l-9-5C.2 8.7 0 8.4 0 8s.2-.7.5-.9l9-5c.2-.1.3-.1.5-.1s.3 0 .5.1l1.013.563zM17 3h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V5h-2a1 1 0 010-2h2V1a1 1 0 012 0v2z"],Am=["M17 3h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V5h-2a1 1 0 010-2h2V1a1 1 0 012 0v2zm-1.252 5.984L10.5 11.9c-.2.1-.3.1-.5.1s-.3 0-.5-.1l-9-5C.2 6.7 0 6.4 0 6s.2-.7.5-.9l9-5c.2-.1.3-.1.5-.1s.3 0 .5.1L13.92 2H13a2 2 0 100 4h1v1a2 2 0 001.748 1.984zm2.07-1.15C17.935 7.58 18 7.298 18 7V6h1c.353 0 .684-.091.972-.251.018.078.028.162.028.251 0 .4-.2.7-.5.9l-1.682.934zM19 9c.6 0 1 .4 1 1 0 .4-.2.7-.5.9l-9 5c-.2.1-.3.1-.5.1s-.3 0-.5-.1l-9-5c-.3-.2-.5-.5-.5-.9 0-.6.4-1 1-1 .2 0 .3 0 .5.1l8.5 4.8 8.5-4.8c.2-.1.3-.1.5-.1zm0 4c.6 0 1 .4 1 1 0 .4-.2.7-.5.9l-9 5c-.2.1-.3.1-.5.1s-.3 0-.5-.1l-9-5c-.3-.2-.5-.5-.5-.9 0-.6.4-1 1-1 .2 0 .3 0 .5.2l8.5 4.7 8.5-4.8c.2-.1.3-.1.5-.1z"],Lm=["M14.5 12a2.5 2.5 0 00-2.45 2h-7.1a2.5 2.5 0 100 1h7.1a2.5 2.5 0 102.45-3zM19 5h-2V3c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V7h2c.55 0 1-.45 1-1s-.45-1-1-1z"],km=["M12 4c0 .6.4 1 1 1h2v2c0 .6.4 1 1 1 .5 0 1-.4 1-1V5h2c.5 0 1-.4 1-1s-.5-1-1-1h-2V1c0-.6-.5-1-1-1-.6 0-1 .4-1 1v2h-2c-.6 0-1 .5-1 1zm7 3c0 1.7-1.3 3-3 3s-3-1.3-3-3c-1.7 0-3-1.3-3-3s1.3-3 3-3c0-.2 0-.4.1-.5-1-.3-2-.5-3.1-.5C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10c0-1.1-.2-2.1-.5-3H19z"],Nm=["M11.41 15.92c-1.46-.65-1.26-1.05-1.31-1.59-.01-.07-.01-.15-.01-.23.5-.45.91-1.07 1.18-1.78 0 0 .01-.04.02-.05.06-.15.11-.32.15-.48.33-.07.53-.44.6-.78.08-.14.23-.48.2-.87-.05-.5-.24-.73-.47-.82v-.09c0-.63-.06-1.55-.17-2.15-.02-.17-.06-.33-.11-.5-.22-.73-.67-1.4-1.27-1.86C9.58 4.25 8.7 4 7.92 4c-.78 0-1.66.25-2.28.73-.61.47-1.06 1.13-1.27 1.86-.05.16-.08.33-.11.5-.12.6-.18 1.51-.18 2.14v.08c-.23.09-.43.32-.48.83-.04.39.12.73.2.87.08.35.28.72.62.78.04.17.09.33.15.48 0 .01.01.02.01.03l.01.01c.27.72.69 1.35 1.21 1.8 0 .07-.01.14-.01.21-.05.54.1.94-1.36 1.59-1.46.65-3.66 1.35-4.11 2.4C-.14 19.38.04 20 .04 20h15.75s.18-.62-.27-1.67c-.45-1.06-2.65-1.75-4.11-2.41zM18.87 3h-2V1c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V5h2c.55 0 1-.45 1-1s-.45-1-1-1z"],Im=["M11.95 10.23c.16-.18.22-.22.46-.22h1.48c.25 0 .47.08.59.33.1.2.09.41-.05.66l-2.71 3.58L14.88 19c.13.21.16.46.03.69-.12.21-.34.31-.57.31H12.7c-.31 0-.56-.17-.7-.44l-1.9-2.67-1.93 2.68c-.15.27-.42.43-.73.43H5.98c-.25 0-.47-.08-.59-.33-.1-.2-.09-.41.05-.66l3.09-4.35L4.26 9H3v4.32c0 .41-.3.69-.7.69H.7c-.41 0-.7-.28-.7-.69V.69C0 .28.3 0 .7 0h4.42c.71 0 1.36.1 1.94.3.59.2 1.11.49 1.54.87.44.38.78.84 1.02 1.39.25.54.37 1.13.37 1.77 0 1.01-.28 1.88-.84 2.6-.43.54-1.35 1.29-2 1.59l3.09 3.94 1.71-2.23zM4.71 6.04c.71 0 1.45-.16 1.81-.46.33-.28.5-.69.5-1.25s-.17-.97-.5-1.25c-.35-.3-1.1-.46-1.81-.46h-1.7v3.42h1.7zM19 3c.55 0 1 .45 1 1s-.45 1-1 1h-2v2c0 .55-.45 1-1 1s-1-.45-1-1V5h-2c-.55 0-1-.45-1-1s.45-1 1-1h2V1c0-.55.45-1 1-1s1 .45 1 1v2h2z"],Rm=["M19 3h-2V1c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V5h2c.55 0 1-.45 1-1s-.45-1-1-1zM5 7.5v1c0 .28.22.5.5.5s.5-.22.5-.5V8h2v7h-.5c-.28 0-.5.22-.5.5s.22.5.5.5h2c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H9V8h2v.5c0 .28.22.5.5.5s.5-.22.5-.5v-1c0-.28-.22-.5-.5-.5h-6c-.28 0-.5.22-.5.5zM16 9c-.55 0-1 .45-1 1v8H2V5h8c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1z"],Hm=["M20 6s-2.98 2.43-6.12 2.19C13.52 5.31 12.05 0 6 0c0 0 2.41 2.99 2.16 6.12C5.27 6.49 0 7.97 0 14c0 0 2.98-2.43 6.11-2.19C6.47 14.69 7.94 20 14 20c0 0-2.42-2.99-2.16-6.13C14.73 13.51 20 12.02 20 6zm-10 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"],Vm=["M9.487 7l.532-3.196a1 1 0 011.962.392L11.513 7H16a1 1 0 010 2h-4.82l-.333 2H16a1 1 0 010 2h-5.487l-.532 3.196a1 1 0 01-1.962-.392L8.487 13H4a1 1 0 010-2h4.82l.333-2H4a1 1 0 110-2h5.487z"],Dm=["M10 20c1.1 0 2-.9 2-2H8c0 1.1.9 2 2 2zm7-5c-.55 0-1-.45-1-1V8c0-2.61-1.67-4.81-4-5.63V2c0-1.1-.9-2-2-2S8 .9 8 2v.37C5.67 3.19 4 5.39 4 8v6c0 .55-.45 1-1 1s-1 .45-1 1 .45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"],jm=["M10 18c0 1.1-.9 2-2 2s-2-.9-2-2zM8 0c.476 0 .914.168 1.258.448C8.508.878 8.09 1.562 8 2.5c-.133 1.4.4 2.367 1.6 2.9C8.533 6.6 8 7.467 8 8v1.2a2.8 2.8 0 002.8 2.8H14v2c0 .51.388.935.884.993L15 15c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1s.45-1 1-1 1-.45 1-1V8c0-2.61 1.67-4.81 4-5.63V2c0-1.1.9-2 2-2z","M16 9.25v-.395a.75.75 0 00-.75-.75h-2.813L15.834 3.9A.75.75 0 0016 3.43v-.68a.75.75 0 00-.75-.75h-4.5a.75.75 0 00-.75.75v.184c0 .414.336.75.75.75h2.813L10.22 7.831a1 1 0 00-.221.627v.792c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75z"],Fm=["M10 20c1.1 0 2-.9 2-2H8c0 1.1.9 2 2 2zm2-17.834A2.994 2.994 0 008 4.99c0 .808.319 1.557.876 2.114l2.97 2.99a2.99 2.99 0 004.154.072V14c0 .55.45 1 1 1s1 .45 1 1-.45 1-1 1H3c-.55 0-1-.45-1-1s.45-1 1-1 1-.45 1-1V8c0-2.61 1.67-4.81 4-5.63V2c0-1.1.9-2 2-2s2 .9 2 2v.166zm1.26 6.514l-2.97-2.99a.973.973 0 01-.29-.7c0-.55.44-1 .99-1 .27 0 .52.11.7.29l2.28 2.28 4.27-4.27a.99.99 0 01.7-.29c.55 0 1 .45 1 1 0 .28-.11.53-.3.7l-4.98 4.98a.99.99 0 01-1.4 0z"],Bm=["M1.74 9.01h1.27V1h-.95c-.04.24-.12.45-.26.62-.13.17-.29.3-.47.41-.19.11-.4.18-.63.23-.23.04-.46.07-.71.07v1.03h1.75v5.65zm.43 7.93c.18-.14.37-.28.58-.43.21-.14.42-.29.63-.45.21-.16.41-.33.61-.5.2-.18.37-.38.52-.59.15-.21.28-.45.37-.7.09-.25.14-.54.14-.85 0-.25-.04-.52-.12-.8-.08-.28-.21-.54-.39-.78-.19-.24-.43-.44-.73-.59-.3-.17-.68-.25-1.12-.25-.41 0-.77.08-1.08.23-.32.16-.58.37-.8.64-.22.27-.38.59-.49.96-.11.37-.16.77-.16 1.21h1.19c.01-.28.03-.53.08-.77s.12-.45.21-.62c.09-.18.22-.31.38-.42.16-.1.35-.15.59-.15.26 0 .47.05.63.14.16.09.29.21.38.35.09.14.15.29.18.45.03.16.05.31.05.45-.01.31-.08.58-.22.81-.14.24-.32.45-.53.66-.22.2-.45.39-.71.57-.26.18-.51.36-.74.54-.5.36-.89.78-1.17 1.27-.3.47-.45 1.04-.46 1.69H5v-1.14H1.43c.05-.17.14-.33.27-.49.13-.15.29-.3.47-.44zM18 4.02H8c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-1c0-.56-.45-1-1-1zm0 9H8c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-1c0-.56-.45-1-1-1z"],Um=["M2.39 5.75c-.17.21-.38.39-.63.52s-.52.23-.83.29c-.3.05-.61.08-.93.08v1.24h2.49V15h1.49V4.98H2.73c-.05.31-.17.57-.34.77zm17.2 4.71c-.27-.44-.65-.71-1.14-.82v-.02c.42-.16.72-.43.92-.79.2-.36.29-.79.29-1.27 0-.42-.08-.8-.23-1.12-.15-.33-.36-.59-.62-.8-.26-.21-.55-.37-.87-.48-.32-.11-.65-.16-.98-.16-.43 0-.82.08-1.16.25-.34.16-.63.39-.87.69-.24.29-.43.64-.57 1.04-.14.4-.22.83-.23 1.3h1.39c-.01-.25.02-.49.07-.72.06-.23.14-.44.26-.63s.27-.34.45-.45c.18-.11.39-.17.63-.17.39 0 .71.12.96.37s.37.58.37.99c0 .29-.05.54-.16.74-.11.2-.25.36-.43.47-.18.11-.38.19-.61.24-.23.05-.46.06-.68.05v1.17c.28-.01.55 0 .81.03s.5.1.71.21c.21.11.38.28.51.5.13.22.2.52.2.89 0 .55-.16.97-.47 1.27-.31.3-.7.45-1.17.45-.55 0-.95-.19-1.23-.58-.27-.39-.4-.88-.38-1.46h-1.39c.01.5.08.96.21 1.38.13.41.32.77.57 1.06.25.29.56.52.93.68.37.16.8.24 1.3.24.41 0 .79-.07 1.16-.21.37-.14.69-.33.96-.58.28-.25.5-.56.66-.92a3 3 0 00.24-1.23c0-.64-.14-1.17-.41-1.61zM8.58 12.41c.21-.18.45-.36.7-.53.25-.18.5-.36.75-.56.25-.2.49-.41.73-.63.23-.22.44-.47.63-.74.18-.27.33-.56.44-.88.11-.32.16-.67.16-1.07 0-.32-.05-.65-.14-1-.09-.35-.25-.68-.47-.97-.22-.3-.51-.55-.87-.74-.36-.2-.81-.29-1.35-.29-.49 0-.93.1-1.3.29-.37.18-.69.44-.95.78-.26.33-.45.73-.58 1.2-.13.46-.2.96-.2 1.5h1.43c.01-.35.04-.67.09-.97.05-.3.14-.56.25-.78.11-.22.26-.39.45-.52s.43-.19.71-.19c.31 0 .56.06.75.18.19.12.34.26.45.43.11.17.18.36.22.56.04.2.06.39.06.57-.01.38-.1.72-.26 1.02-.15.3-.37.57-.63.83-.26.25-.54.49-.85.71-.31.22-.61.45-.89.68-.6.45-1.06.98-1.41 1.58-.35.61-.52 1.32-.53 2.13h6.01v-1.43H7.69c.06-.21.17-.42.33-.61s.34-.38.56-.55z"],Gm=["M19 6h-5V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h4v-6h4v6h10c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zM6 12H2V8h4v4zm0-6H2V2h4v4zm6 6H8V8h4v4zm0-6H8V2h4v4zm6 11h-4v-3h4v3zm0-5h-4V8h4v4z"],qm=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zM7 18l2-7H5l8-9-2 7h4l-8 9z"],Wm=["M19 17.99h-1.36l-4.35-9.57 2.91-.86 1.66 4.1c.11.27.43.4.72.31.12-.04.22-.11.28-.2.06-.11 1.47-2.08 1.05-5.6C19.79 5.12 19.3 0 16.01 0 14.89.01 13.99.83 14 1.84c0 .19.04.38.1.56l1.34 3.31L.72 10.03v.02c-.41.12-.72.49-.72.94 0 .55.45 1 1 1 .1 0 .19-.03.28-.06v.02l2-.59 1.47 6.63H3c-.55 0-1 .45-1 1s.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1zM5.2 10.8l3.95-1.16-2.83 6.22L5.2 10.8zm2.35 7.19l3.95-8.68 3.95 8.68h-7.9z"],Km=["M14.94 0h-4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-8 6c-.28 0-.53.11-.71.29l-3 3c-.18.18-.29.43-.29.71s.11.53.29.71l3 3A1.003 1.003 0 007.94 13V7c0-.55-.45-1-1-1z"],$m=["M18 3a1 1 0 11-2 0 1 1 0 012 0zm-3.82 1.028a6.243 6.243 0 00-1.667.347c-.947.352-1.773 1-2.032 2.318C10.158 8.337 9.247 9.368 8.217 10c1.03.632 1.941 1.663 2.264 3.307.259 1.318 1.085 1.966 2.032 2.318.581.217 1.18.308 1.668.347a3.001 3.001 0 11-.019 2.004c-.633-.042-1.491-.158-2.347-.476-1.402-.523-2.868-1.625-3.296-3.807-.259-1.318-1.085-1.966-2.032-2.318a5.314 5.314 0 00-.722-.21 3 3 0 110-2.33c.238-.052.481-.12.722-.21.947-.352 1.773-1 2.032-2.318.428-2.182 1.894-3.284 3.296-3.807.856-.318 1.714-.434 2.347-.476A3.001 3.001 0 0120 3a3 3 0 01-5.82 1.028zM4 10a1 1 0 100 .002v-.002zM17 18a1 1 0 100-2 1 1 0 000 2z"],Ym=["M2 10a1 1 0 112 0 1 1 0 01-2 0zm3.83-1a3.001 3.001 0 100 2h8.34a3.001 3.001 0 100-2H5.83zM17 9a1 1 0 100 2 1 1 0 000-2z"],Xm=["M4 1h14c.55 0 1 .45 1 1v13c0 .55-.45 1-1 1h-8v-2h7V4H5v6H3V2c0-.55.45-1 1-1zm2.5 5h7c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-7c-.28 0-.5.22-.5.5s.22.5.5.5zm0 2h3c.28 0 .5-.22.5-.5S9.78 7 9.5 7h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm5 2h-5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h5c.28 0 .5.22.5.5s-.22.5-.5.5zM7 17c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1h2.59L.3 18.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L7 14.41V17z"],Zm=["M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10c0-.55.45-1 1-1s1 .45 1 1c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8C7.47 2 5.22 3.17 3.76 5H5c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1s1 .45 1 1v2.05C3.82 1.6 6.71 0 10 0zm1 16H9v-2h2v2zm0-3H9V4h2v9z"],Qm=["M19 1H1c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM7 17H2V8h5v9zm11 0H8V8h10v9zm0-10H2V3h16v4z"],Jm=["M1 1h18a1 1 0 011 1v15a1 1 0 01-1 1H1a1 1 0 01-1-1V2a1 1 0 011-1zm1 2v13h16V3H2zm9 0h1v13h-1V3zm2 7h3.952v1H13v-1zm0 2h3.952v1H13v-1zm0 2h3.952v1H13v-1zm0-6h3.952v1H13V8zm0-2h3.952v1H13V6zm0-2h3.952v1H13V4z"],eg=["M19 1H1c-.6 0-1 .4-1 1v15c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zm-9 11H7V9h3v3zm0-4H7V5h3v3zm-8 8V3h4v13H2zm5 0v-3h3v3H7zm11 0h-7v-3h7v3zm0-4h-7V9h7v3zm0-4h-7V5h7v3z"],tg=["M18.35 2.67A5.664 5.664 0 0014.33 1c-1.44 0-2.89.56-3.99 1.67l-9.16 9.27C.4 12.73 0 13.78 0 14.83s.39 2.1 1.18 2.9c.78.79 1.82 1.18 2.85 1.18 1.04 0 2.07-.39 2.87-1.2l9.14-9.27c.96-.96.96-2.5.02-3.45-.94-.95-2.49-.96-3.44 0l-7.59 7.69c-.31.32-.3.83.01 1.14.31.31.81.31 1.13.02l7.59-7.69c.31-.31.84-.31 1.13-.02.31.31.31.85 0 1.16l-9.14 9.27c-.93.95-2.54.93-3.45.02-.94-.95-.92-2.55.02-3.49l9.16-9.25c1.55-1.56 4.18-1.59 5.72-.03 1.56 1.57 1.55 4.26 0 5.82l-8.89 9.02c-.3.31-.3.81.01 1.11.3.3.79.31 1.1.01v.01l8.91-9.02A5.645 5.645 0 0020 6.73c0-1.48-.55-2.94-1.65-4.06z"],ng=["M16.5 1H7C4.2 1 2 3.2 2 6s2.2 5 5 5v6.5c0 .8.7 1.5 1.5 1.5s1.5-.7 1.5-1.5V4h2v13.5c0 .8.7 1.5 1.5 1.5s1.5-.7 1.5-1.5V4h1.5c.8 0 1.5-.7 1.5-1.5S17.3 1 16.5 1z"],rg=["M18 0H2C.9 0 0 .9 0 2s.9 2 2 2h7v4H4c-1.1 0-2 .9-2 2s.9 2 2 2h5v4H6c-1.1 0-2 .9-2 2s.9 2 2 2h8c1.1 0 2-.9 2-2s-.9-2-2-2h-3v-4h5c1.1 0 2-.9 2-2s-.9-2-2-2h-5V4h7c1.1 0 2-.9 2-2s-.9-2-2-2z"],og=["M4 7c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 11.69l-5-2.5v-3.63c-.32.11-.66.22-1 .29v3.32l-6 2.57v-7.25c-.36-.27-.69-.57-1-.9v8.1l-5-2.5V10c.55 0 1-.45 1-1s-.45-1-1-1V1.31l3.43 1.71c.11-.31.24-.62.39-.92L.72.05A.545.545 0 00.5 0C.22 0 0 .22 0 .5v16c0 .2.12.36.28.44l6 3c.07.04.14.06.22.06.07 0 .14-.01.2-.04l6.79-2.91 5.79 2.9c.07.03.14.05.22.05.28 0 .5-.22.5-.5v-4.21c-.31.13-.64.21-1 .21v3.19zM10 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3-1c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6.72-.94l-1.43-.72c.2.43.36.89.48 1.36l.23.11V5.5c-.55 0-1 .45-1 1s.45 1 1 1v1.96l1 1V3.5c0-.2-.12-.36-.28-.44zm-3.69 5.56c.14-.21.27-.42.38-.65.02-.04.04-.07.05-.11.11-.22.2-.45.28-.69v-.01c.07-.24.13-.48.17-.73l.03-.17c.04-.25.06-.5.06-.76C17 2.46 14.54 0 11.5 0S6 2.46 6 5.5 8.46 11 11.5 11c.26 0 .51-.02.76-.06l.17-.03c.25-.04.49-.1.73-.17h.01c.24-.08.47-.17.69-.28.04-.02.07-.03.11-.05.23-.11.44-.24.65-.38l.18.18 3.5 3.5c.17.18.42.29.7.29a1.003 1.003 0 00.71-1.71l-3.68-3.67zm-4.53.88c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"],ig=["M7 3H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm9 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ag=["M16.94 17a4.92 4.92 0 00-.33-1.06c-.45-.97-1.37-1.52-3.24-2.3-.17-.07-.76-.31-.77-.32-.1-.04-.2-.08-.28-.12.05-.14.04-.29.06-.45 0-.05.01-.11.01-.16-.25-.21-.47-.48-.65-.79.22-.34.41-.71.56-1.12l.04-.11c-.01.02-.01.02-.02.08l.06-.15c.36-.26.6-.67.72-1.13.18-.37.29-.82.25-1.3-.05-.5-.21-.92-.47-1.22-.02-.53-.06-1.11-.12-1.59.38-.17.83-.26 1.24-.26.59 0 1.26.19 1.73.55.46.35.8.85.97 1.4.04.13.07.25.08.38.08.45.13 1.14.13 1.61v.07c.16.07.31.24.35.62.02.29-.09.55-.15.65-.05.26-.2.53-.46.59-.03.12-.07.25-.11.36-.01.01-.01.04-.01.04-.2.53-.51 1-.89 1.34 0 .06 0 .12.01.17.04.41-.11.71 1 1.19 1.1.5 2.77 1.01 3.13 1.79.34.79.2 1.25.2 1.25h-3.04zm-5.42-3.06c1.47.66 3.7 1.35 4.18 2.39.45 1.05.27 1.67.27 1.67H.04s-.19-.62.27-1.67c.46-1.05 2.68-1.75 4.16-2.4 1.48-.65 1.33-1.05 1.38-1.59 0-.07.01-.14.01-.21-.52-.45-.95-1.08-1.22-1.8l-.01-.01c0-.01-.01-.02-.01-.03-.07-.15-.12-.32-.16-.49-.34-.06-.54-.43-.62-.78-.08-.14-.24-.48-.2-.87.05-.51.26-.74.49-.83v-.08c0-.64.05-1.55.17-2.15a3.648 3.648 0 011.4-2.36C6.32 2.25 7.21 2 8 2s1.68.25 2.31.73a3.63 3.63 0 011.4 2.36c.11.6.17 1.52.17 2.15v.09c.22.09.42.32.47.82.03.39-.12.73-.2.87-.07.34-.27.71-.61.78-.04.16-.09.33-.15.48-.01.01-.02.05-.02.05-.27.71-.68 1.33-1.19 1.78 0 .08 0 .16.01.23.05.55-.15.95 1.33 1.6z"],lg=["M15 10c-1.66 0-3 1.34-3 3v2c0 1.66 1.34 3 3 3s3-1.34 3-3v-2c0-1.66-1.34-3-3-3zm1 5c0 .55-.45 1-1 1s-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2zM8 7V5c0-1.66-1.34-3-3-3S2 3.34 2 5v2c0 1.66 1.34 3 3 3s3-1.34 3-3zM4 7V5c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1s-1-.45-1-1zm11-4a1.003 1.003 0 00-1.88-.48L5.14 16.49a1.003 1.003 0 101.74.99l7.99-13.97c.08-.15.13-.32.13-.51z"],sg=["M19.61 17.91c-.57-1.32-3.35-2.19-5.19-3.01-1.85-.82-1.59-1.31-1.66-1.99-.01-.09-.01-.19-.02-.29.63-.56 1.15-1.33 1.49-2.22 0 0 .02-.05.02-.06.07-.19.13-.39.19-.6.42-.09.67-.55.76-.98.1-.17.29-.6.25-1.08-.06-.62-.31-.91-.59-1.03v-.11c0-.79-.07-1.93-.22-2.68A4.55 4.55 0 0012.9.92C12.11.32 11 0 10.01 0s-2.1.32-2.89.92a4.55 4.55 0 00-1.74 2.94c-.14.75-.22 1.89-.22 2.68v.1c-.29.11-.55.4-.61 1.04-.04.48.15.91.25 1.08.1.44.35.91.79.98.05.21.12.41.19.6 0 .01.01.03.01.04l.01.02c.34.91.87 1.69 1.52 2.25 0 .09-.01.18-.02.26-.07.68.13 1.17-1.72 1.99S.96 16.59.39 17.91C-.18 19.23.05 20 .05 20h19.9s.23-.77-.34-2.09z"],cg=["M19.91 15.51c-.08-.08-4.21-2.5-4.35-2.57a.876.876 0 00-.4-.1c-.19 0-.42.13-.71.4-.28.27-1.17 1.49-1.43 1.76s-.48.4-.65.4c-.08 0-.19-.02-.32-.07s-1.45-.73-4.2-3.15-3.11-4-3.13-4.44c0-.17.13-.39.4-.65.28-.25.57-.51.89-.74.32-.24.61-.5.88-.78s.4-.52.4-.71c0-.13-.03-.27-.1-.4C7.12 4.32 4.62.19 4.53.1c-.19-.18-.92-.1-1.29.1C.25 1.82 0 4 .05 4.86c.05.89.61 5.58 5.2 9.93 5.7 5.41 9.66 5.2 9.92 5.2.87 0 3.52-.48 4.65-3.19.16-.38.31-1.07.09-1.29z"],ug=["M9 .98c-4.5.5-8 4.31-8 8.94 0 4.97 4.03 9.04 9 9.04 4.63 0 8.44-3.96 8.94-7.96H9V.98z","M10-.08V10h10C20 4 15.52-.08 10-.08z"],dg=["M11.77 1.16c-.81.81-.74 2.28.02 3.76L6.1 8.71c-2.17-1.46-4.12-2-4.94-1.18l4.95 4.95-4.95 6.36 6.36-4.95 4.95 4.95c.82-.82.27-2.77-1.19-4.94l3.8-5.69c1.47.76 2.94.84 3.76.02l-7.07-7.07z"],hg=["M5.83 9.75L.29 15.29a1.003 1.003 0 001.42 1.42l5.54-5.54c-.57-.37-1.05-.85-1.42-1.42zM19 11c-.55 0-1 .45-1 1v1.59l-3.83-3.83c-.37.56-.85 1.04-1.41 1.41L16.59 15H15c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1zm-5-4c0-2.21-1.79-4-4-4S6 4.79 6 7s1.79 4 4 4 4-1.79 4-4zm-4 2c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"],fg=["M3 5H1c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm0-5H1C.45 0 0 .45 0 1v2c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm13.71 5.29C16.53 5.11 16.28 5 16 5s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L15 8.41V11c0 2.21-1.79 4-4 4H8.41l1.29-1.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L8.41 17H11c3.31 0 6-2.69 6-6V8.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3zM19 0H6c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],pg=["M16 10c0-.36-.2-.67-.49-.84l.01-.01-10-6-.01.01A.991.991 0 005 3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1 .19 0 .36-.07.51-.16l.01.01 10-6-.01-.01c.29-.17.49-.48.49-.84z"],vg=["M1.707.293A1 1 0 00.293 1.707L2.086 3.5.293 5.293a1 1 0 001.414 1.414L3.5 4.914l1.793 1.793a1 1 0 001.414-1.414L4.914 3.5l1.793-1.793A1 1 0 005.293.293L3.5 2.086 1.707.293z","M16 20a4 4 0 100-8 4 4 0 000 8zm0-2a2 2 0 100-4 2 2 0 000 4z","M18.29 5.7L16 3.41V8a3 3 0 01-3 3H4a1 1 0 00-1 1v7a1 1 0 11-2 0v-7a3 3 0 013-3h9a1 1 0 001-1V3.41l-2.29 2.3a1.003 1.003 0 01-1.42-1.42l4-4c.18-.18.43-.29.71-.29.28 0 .53.11.71.29l4 4A1.003 1.003 0 0119 6c-.28 0-.53-.11-.71-.3z"],mg=["M16 9h-5V4c0-.55-.45-1-1-1s-1 .45-1 1v5H4c-.55 0-1 .45-1 1s.45 1 1 1h5v5c0 .55.45 1 1 1s1-.45 1-1v-5h5c.55 0 1-.45 1-1s-.45-1-1-1z"],gg=["M18 7c-.27 0-.52.05-.75.15l-6.28-4.88c.01-.09.03-.18.03-.27 0-1.1-.9-2-2-2S7 .9 7 2c0 .06.01.12.02.19l-4.19 3C2.57 5.07 2.29 5 2 5 .9 5 0 5.9 0 7c0 .74.4 1.38 1 1.72v7.55c-.6.35-1 .99-1 1.73 0 1.1.9 2 2 2 .74 0 1.38-.4 1.72-1h7.55c.35.6.98 1 1.72 1 1.1 0 2-.9 2-2 0-.37-.11-.72-.29-1.02L18.03 11A2 2 0 0018 7zm-5.03 9c-.72.01-1.35.41-1.69 1H3.72c-.17-.3-.42-.55-.72-.72V8.72c.6-.34 1-.98 1-1.72 0-.06-.01-.12-.02-.19l4.19-3c.26.12.54.19.83.19.27 0 .52-.05.75-.15l6.28 4.88c-.01.09-.03.18-.03.27 0 .37.11.72.29 1.02L12.97 16z"],yg=["M10 10c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1S9 .45 9 1v8c0 .55.45 1 1 1zm3-7.45v2.16c2.36 1.12 4 3.5 4 6.29 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.79 1.64-5.17 4-6.29V2.55C3.51 3.79 1 7.09 1 11a9 9 0 0018 0c0-3.91-2.51-7.21-6-8.45z"],bg=["M20 8.01c0-1.26-.61-2.43-1.61-3.12C17.86 2.5 15.8.79 13.4.79c-.58 0-1.14.1-1.69.29A3.533 3.533 0 009.17 0C8.05 0 7 .55 6.32 1.45c-.15-.02-.3-.03-.45-.03-1.63 0-3.03 1.12-3.46 2.71C.97 4.65 0 6.05 0 7.66c0 .48.09.95.26 1.4-.17.44-.26.91-.26 1.39 0 1.38.72 2.64 1.89 3.29.67.7 1.59 1.09 2.54 1.09.61 0 1.19-.15 1.71-.45.68.82 1.68 1.3 2.73 1.3.66 0 1.28-.18 1.83-.52.61.49 1.34.81 2.11.91 1.3 1.43 2.3 3.28 2.31 3.3 0 0 .35.61.33.61.96-.01 1.77-.2 1.64-1.3.01.02-.92-2.89-.92-2.89.52-.26.94-.69 1.21-1.23 1.12-.66 1.84-1.91 1.84-3.26 0-.3-.03-.6-.1-.89.57-.64.88-1.51.88-2.4zm-1.54 1.28l-.18-.2-.77-.84c-.33-.37-.67-1.17-.73-1.73 0 0-.13-1.25-.13-1.26-.06-.74-1.17-.73-1.13.14 0 .02.13 1.26.13 1.26.04.36.15.77.3 1.17-.08-.01-.15-.02-.22-.02 0 0-2.57-.12-2.57-.13-.73-.03-.89 1.22-.05 1.25l2.57.13c.53.03 1.29.37 1.61.72l.61.67.02.06c.1.27.14.55.14.83 0 .93-.51 1.77-1.34 2.18l-.2.1-.09.23c-.19.48-.6.82-1.1.93l-.67.14.87 2.75c-.48-.76-1.19-1.79-2.02-2.67l-.15-.16-.21-.02c-.51-.04-.99-.21-1.42-.48l1.7-1.48c.44-.39 1.04-.55 1.24-.49 0 0 .78.22.78.23.78.2 1.03-.92.29-1.21l-.78-.23c-.69-.2-1.67.22-2.24.72l-1.91 1.66-.39.32c-.44.36-.93.55-1.5.55-.8 0-1.54-.41-1.97-1.07v-1.88c0-.5.21-.98.34-1.07 0 0 .65-.43.64-.43.87-.69.21-1.57-.64-1.14 0-.01-.65.43-.65.43-.31.2-.54.56-.7.97-.13-.13-.28-.25-.43-.35 0 0-1.91-1.26-1.91-1.28-.81-.56-1.5.63-.61 1.11 0-.02 1.89 1.28 1.89 1.28.46.31.77.97.77 1.36v.84c-.43.24-.78.36-1.24.36-.67 0-1.31-.29-1.77-.79l-.07-.08-.09-.05a2.425 2.425 0 01-1.31-2.16c0-.38.09-.74.25-1.08l.15-.31-.14-.33c-.17-.34-.25-.7-.25-1.08 0-1.13.76-2.1 1.85-2.37l.39-.09.07-.43a2.41 2.41 0 012.39-2.05c.19 0 .39.02.58.07l.4.1.22-.38A2.41 2.41 0 019.17 1.3c.55 0 1.08.19 1.5.53l-.44.45-.01-.01-.31.31c-.41.35-.92.53-1.11.5 0 0-.84-.13-.84-.14-.83-.15-1.09 1.08-.18 1.29.01 0 .84.14.84.14.03 0 .06 0 .09.01-.14.46-.18.96-.12 1.4 0 0 .21 1.24.19 1.23.13.65 1.32.44 1.16-.22 0-.01-.19-1.23-.19-1.23-.07-.48.15-1.19.45-1.5l.48-.5c.07-.06.13-.12.19-.18l.93-.95c.5-.23 1.04-.34 1.59-.34 1.93 0 3.57 1.4 3.89 3.34l.05.31.26.15a2.445 2.445 0 01.87 3.4z"],wg=["M13.95 10.23c.16-.18.22-.22.46-.22h1.48c.25 0 .47.08.59.33.1.2.09.41-.05.66l-2.71 3.58L16.88 19c.13.21.16.46.03.69-.12.21-.34.31-.57.31H14.7c-.31 0-.56-.17-.7-.44l-1.9-2.67-1.93 2.68c-.15.27-.42.43-.73.43H7.98c-.25 0-.47-.08-.59-.33-.1-.2-.09-.41.05-.66l3.09-4.35L6.26 9H5v4.32c0 .41-.3.69-.7.69H2.7c-.41 0-.7-.28-.7-.69V.69c0-.41.3-.69.7-.69h4.42c.71 0 1.36.1 1.94.3.59.2 1.11.49 1.54.87.44.38.78.84 1.02 1.39.24.54.36 1.14.36 1.78 0 1.01-.28 1.88-.84 2.6-.43.54-1.35 1.29-2 1.59l3.09 3.94 1.72-2.24zM6.71 6.04c.71 0 1.45-.16 1.81-.46.33-.28.5-.69.5-1.25s-.17-.97-.5-1.25c-.35-.3-1.1-.46-1.81-.46h-1.7v3.42h1.7z"],_g=["M19 1h-8c0-.55-.45-1-1-1S9 .45 9 1H1c-.55 0-1 .45-1 1s.45 1 1 1h1v11c0 .55.45 1 1 1h4.59L4.3 18.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L9 16.41V19c0 .55.45 1 1 1s1-.45 1-1v-2.59l3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L12.41 15H17c.55 0 1-.45 1-1V3h1c.55 0 1-.45 1-1s-.45-1-1-1zm-3 12H4V3h12v10z"],Eg=["M14 16H6v-4H4v5c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-5h-2v4zm2-13c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v1h12V3zm3 2H1c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h2v-3h14v3h2c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-1 4h-2V7h2v2z"],xg=["M18 4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v2h16V4zm-2-3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v1h12V1zm3 6H1c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-5 7c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-2h1v2h6v-2h1v2z"],Sg=["M2 15c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm5-4h12c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1zM2 1C.9 1 0 1.9 0 3s.9 2 2 2 2-.9 2-2-.9-2-2-2zm17 8H7c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1zm0 7H7c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z"],Og=["M3 5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm5-1h11c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM3 15c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm16 1H8c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm-1-8H9c-1.1 0-2 .9-2 2s.9 2 2 2h9c1.1 0 2-.9 2-2s-.9-2-2-2zM3 7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"],Cg=["M7.01 10.11c.35-.64.72-1.68 1.09-3.11l.8-3.03h.96l.24-.77h-.99c.28-1.11.66-1.92 1.12-2.43.28-.32.56-.48.83-.48.05 0 .1.02.13.05.03.03.05.07.05.12 0 .04-.04.13-.11.25-.08.12-.11.24-.11.35 0 .15.06.28.18.39.12.11.27.16.45.16.2 0 .36-.07.49-.2s.2-.31.2-.54c0-.26-.1-.47-.3-.63-.2-.16-.52-.24-.96-.24-.68 0-1.3.19-1.86.58-.55.38-1.08 1.02-1.58 1.91-.17.3-.34.5-.49.59-.15.08-.4.13-.74.12l-.23.77h.95L5.74 9.21c-.23.86-.39 1.39-.47 1.59-.12.29-.3.54-.54.75-.1.08-.21.12-.35.12-.04 0-.07-.01-.1-.03l-.03-.04c0-.02.03-.07.1-.13.07-.07.1-.17.1-.31 0-.15-.05-.28-.16-.38-.11-.1-.27-.15-.47-.15-.25 0-.44.07-.59.2-.15.12-.23.28-.23.46 0 .19.09.36.27.5.19.14.47.21.86.21.61 0 1.16-.15 1.63-.46.48-.31.89-.79 1.25-1.43zm3.7 1.18c-.18-.18-.43-.29-.71-.29s-.53.11-.71.29l-3 3a1.003 1.003 0 001.42 1.42L9 14.41V19c0 .55.45 1 1 1s1-.45 1-1v-4.59l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-3-3zm4.15-6.78c.17-.13.36-.2.55-.2.07 0 .2.03.39.08s.36.08.5.08c.2 0 .37-.07.5-.2.13-.14.2-.31.2-.52 0-.22-.07-.4-.2-.53s-.33-.2-.58-.2c-.22 0-.43.05-.63.15-.2.1-.45.32-.75.67-.23.25-.56.7-1.01 1.33a6.52 6.52 0 00-.91-2.15l-2.38.39-.05.25c.18-.03.33-.05.45-.05.24 0 .43.1.59.3.25.31.59 1.24 1.02 2.79-.34.44-.58.73-.7.87-.21.22-.38.36-.52.43-.1.05-.22.08-.35.08-.1 0-.26-.05-.49-.16a1.01 1.01 0 00-.42-.11c-.23 0-.42.07-.57.22-.17.14-.24.32-.24.55 0 .21.07.38.21.51.14.13.33.2.56.2.23 0 .44-.05.64-.14.2-.09.45-.29.75-.59s.72-.78 1.25-1.43c.2.62.38 1.07.53 1.35.15.28.32.49.52.61.19.12.44.19.73.19.28 0 .57-.1.86-.3.38-.25.77-.69 1.17-1.31l-.25-.14c-.27.37-.48.6-.61.69-.09.06-.19.09-.31.09-.14 0-.28-.09-.42-.26-.23-.29-.54-1.09-.93-2.4.37-.58.66-.96.9-1.14z"],Mg=["M19 10h-2.38L14.9 6.55h-.01c-.17-.32-.5-.55-.89-.55-.43 0-.79.28-.93.66h-.01l-2.75 7.57L7.98 1.82h-.02A.978.978 0 007 1c-.44 0-.8.29-.94.69h-.01L3.28 10H1c-.55 0-1 .45-1 1s.45 1 1 1h3c.44 0 .8-.29.94-.69h.01l1.78-5.34 2.29 12.21h.02c.08.46.47.82.96.82.43 0 .79-.28.93-.66h.01l3.21-8.82.96 1.92h.01c.16.33.49.56.88.56h3c.55 0 1-.45 1-1s-.45-1-1-1z"],zg=["M4 10a3 3 0 111.065-5.806A5.001 5.001 0 0114.63 3.11 3.5 3.5 0 1115.5 10H4zm0 2a1 1 0 011 1v5a1 1 0 11-2 0v-5a1 1 0 011-1zm9 1a1 1 0 10-2 0v6a1 1 0 102 0v-6zm3-1a1 1 0 011 1v3a1 1 0 11-2 0v-3a1 1 0 011-1zm-7 1a1 1 0 10-2 0v3a1 1 0 102 0v-3z"],Pg=["M14.47 5h2.12L15.3 6.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3a1.003 1.003 0 00-1.42 1.42L16.59 3H14c-.31 0-.57.15-.76.37l-.01-.01-2.93 3.52 1.3 1.56L14.47 5zm2.24 7.29a1.003 1.003 0 00-1.42 1.42l1.3 1.29h-2.12L4.77 3.36l-.01.01A.998.998 0 004 3H1c-.55 0-1 .45-1 1s.45 1 1 1h2.53l9.7 11.64.01-.01c.19.22.45.37.76.37h2.59l-1.29 1.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3zM3.53 15H1c-.55 0-1 .45-1 1s.45 1 1 1h3c.31 0 .57-.15.76-.37l.01.01 2.93-3.52-1.3-1.56L3.53 15z"],Tg=["M10 3a7 7 0 100 14 7 7 0 100-14z"],Ag=["M4 18V2h12v16H4zM2 1a1 1 0 011-1h14a1 1 0 011 1v18a1 1 0 01-1 1H3a1 1 0 01-1-1V1zm4.293 11.705a.999.999 0 111.412-1.412L10 13.587l2.295-2.294a.999.999 0 011.412 1.412l-2.962 2.963a1 1 0 01-1.49 0l-2.962-2.963zm0-3.998a.999.999 0 010-1.412l2.962-2.963A1.008 1.008 0 0110 4a.996.996 0 01.745.332l2.962 2.963a.999.999 0 01-1.412 1.412L10 6.413 7.705 8.707a.999.999 0 01-1.412 0z"],Lg=["M18 16H2V4h16v12zM1 18a1 1 0 01-1-1V3a1 1 0 011-1h18a1 1 0 011 1v14a1 1 0 01-1 1H1zM7.295 6.293a.999.999 0 111.412 1.412L6.413 10l2.294 2.295a.999.999 0 11-1.412 1.412l-2.963-2.962A.992.992 0 014 10a.996.996 0 01.332-.745l2.963-2.962zm3.998 0a.999.999 0 011.412 0l2.963 2.962.04.038A.996.996 0 0116 10a.996.996 0 01-.332.745l-2.963 2.962a.999.999 0 01-1.412-1.412L13.587 10l-2.294-2.295a.999.999 0 010-1.412z"],kg=["M1 4h18c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zm1 2v8h16V6H2z"],Ng=["M19.71 5.29l-4-4a1.003 1.003 0 00-1.42 1.42L16.59 5H6c-3.31 0-6 2.69-6 6s2.69 6 6 6h5v-2H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h10.59L14.3 9.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM15 14c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"],Ig=["M19 1c-.55 0-1 .45-1 1v2.06C16.18 1.61 13.29 0 10 0 4.48 0 0 4.48 0 10c0 .55.45 1 1 1s1-.45 1-1c0-4.42 3.58-8 8-8 2.52 0 4.76 1.18 6.22 3H15c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 8c-.55 0-1 .45-1 1 0 4.42-3.58 8-8 8-2.52 0-4.76-1.18-6.22-3H5c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-2.06C3.82 18.39 6.71 20 10 20c5.52 0 10-4.48 10-10 0-.55-.45-1-1-1z"],Rg=["M0 17.5a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0zM14 0a1 1 0 00-1 1v3.768L9.737 2.884a1 1 0 10-1 1.732L12 6.5 8.737 8.384a1 1 0 001 1.732L13 8.232V12a1 1 0 102 0V8.232l3.263 1.884a1 1 0 001-1.732L16 6.5l3.263-1.884a1 1 0 10-1-1.732L15 4.768V1a1 1 0 00-1-1z"],Hg=["M19 16H3.1L19.31 3.39l-.61-.79L2 15.59V3c0-.55-.45-1-1-1s-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm-9-9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-5 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm10-2c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2-2 .9-2 2zm-5 4c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2-2 .9-2 2z"],Vg=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm5-9H5c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1z"],Dg=["M19 0H5c-.55 0-1 .45-1 1v4h2V2h5v16H6v-3H4v4c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18h-5V2h5v16zM6.29 13.71a1.003 1.003 0 001.42-1.42L5.41 10 7.7 7.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L4 8.59l-2.29-2.3A1.003 1.003 0 00.29 7.71L2.59 10 .3 12.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L4 11.41l2.29 2.3z"],jg=["M4 11h6c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-7 18H2V2h10v16zm6 0h-5V2h5v16z"],Fg=["M19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM7 18H2V2h5v16zm11 0H8V2h10v16zm-8-7h6c.55 0 1-.45 1-1s-.45-1-1-1h-6c-.55 0-1 .45-1 1s.45 1 1 1z"],Bg=["M7 14h6c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1zM19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2V8h16v10zm0-11H2V2h16v5z"],Ug=["M7 8h6c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1zm12-8H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2v-5h16v5zm0-6H2V2h16v10z"],Gg=["M14 6c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1v2.05C16.18 1.6 13.29 0 10 0 4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10c0-.55-.45-1-1-1s-1 .45-1 1c0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c2.53 0 4.77 1.17 6.24 3H15c-.55 0-1 .45-1 1z"],qg=["M6 6c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1s1 .45 1 1v2.05C3.82 1.6 6.71 0 10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10c0-.55.45-1 1-1s1 .45 1 1c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8C7.47 2 5.23 3.17 3.76 5H5c.55 0 1 .45 1 1z"],Wg=["M8.7 4.7C7.9 4.2 7 4 6 4c-3.3 0-6 2.7-6 6s2.7 6 6 6c1 0 1.9-.2 2.7-.7C7.3 14 6.5 12.1 6.5 10s.9-4 2.2-5.3zM14 4c-1 0-1.9.2-2.7.7 1.4 1.4 2.2 3.2 2.2 5.3s-.9 4-2.2 5.3c.8.5 1.7.7 2.7.7 3.3 0 6-2.7 6-6s-2.7-6-6-6zm-4 1.5C8.8 6.7 8 8.2 8 10s.8 3.3 2 4.4c1.2-1.1 2-2.7 2-4.5s-.8-3.3-2-4.4z"],Kg=["M7 4.2C7 5.75 8.34 7 10 7s3-1.46 3-2.8C13 1.45 10.94 0 10 0H6c0 2.74 3.76 1.96 1 4.2zm11.71 14.09L13 12.59V9.01c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v3.58l-5.71 5.7a1.003 1.003 0 001.42 1.42L7 15.42V19c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3.58l4.29 4.29a1.003 1.003 0 001.42-1.42zM10.21 8c.01 0 .01.01 0 0 .01.01.01 0 0 0z"],$g=["M8.7 4.7C7.4 6 6.5 7.9 6.5 10s.8 4 2.2 5.3c-.8.5-1.7.7-2.7.7-3.3 0-6-2.7-6-6s2.7-6 6-6c1 0 1.9.2 2.7.7zm-3.34 9.25c-.55-1.2-.86-2.54-.86-3.95s.31-2.75.86-3.95a4.001 4.001 0 000 7.9zM14 4c3.3 0 6 2.7 6 6s-2.7 6-6 6c-1 0-1.9-.2-2.7-.7 1.3-1.3 2.2-3.2 2.2-5.3s-.8-3.9-2.2-5.3C12.1 4.2 13 4 14 4zm-4 1.5C8.8 6.7 8 8.2 8 10s.8 3.3 2 4.4c1.2-1.1 2-2.7 2-4.5s-.8-3.3-2-4.4z"],Yg=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"],Xg=["M7 7.5c0-3 1.857-6.25 3-7.5 1.143 1.25 3 4.5 3 7.5s-.714 6.25-1 7.5H8c-.286-1.25-1-4.5-1-7.5zm6.84 2.5c-.139 1.62-.47 3.405-.84 5.01l4 .99-1-4-2.16-2zm-4.832 6C9 16.139 9 16.284 9 16.429 9 17.143 9 17.5 10 20c1-2.5 1-2.857 1-3.571 0-.145 0-.29-.008-.429H9.008zM7 15.011c-.37-1.605-.701-3.39-.84-5.011L4 12l-1 4 4-.989zM10 5a1 1 0 100 2 1 1 0 000-2z"],Zg=["M10 5c2.121-2.121 6.308-2.924 8-3-.076 1.692-.879 5.879-3 8-1.192 1.192-2.543 1.823-3.748 2.384-.442.207-.865.404-1.252.616-.203.111-.597.302-.986.49-.444.215-.88.426-1.014.51l-2-2c.158-.252 1-2 1-2s1.37-3.37 3-5zm5 1a1 1 0 11-2 0 1 1 0 012 0zM3 17s0-2 2-4l2 2c-2 2-4 2-4 2zm11-2l-4 4-1.298-4.233c1.033-.56 1.881-.962 2.643-1.322 1.275-.604 2.307-1.092 3.554-2.015L14 15zM1 10l4-4 3.557-.899c-.923 1.247-1.412 2.28-2.015 3.554-.36.762-.762 1.61-1.322 2.643L1 10z"],Qg=["M8.71 6.29A.997.997 0 008 6H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h9c.55 0 1-.45 1-1v-8c0-.28-.11-.53-.29-.71l-4-4zM11 18H4V8h3v3c0 .55.45 1 1 1h3v6zm3-16h-1.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C9.11 2.47 9 2.72 9 3c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H14c1.1 0 2 .9 2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-2.21-1.79-4-4-4z"],Jg=["M14 2h-1.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2C9.11 2.47 9 2.72 9 3c0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42l-.3-.29H14c1.1 0 2 .9 2 2v3c0 .55.45 1 1 1s1-.45 1-1V6c0-2.21-1.79-4-4-4zm-2 5H3c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm-1 11H4V9h7v9z"],ey=["M14.028 6.016c.146.275.31.57.485.872.304.524.628 1.047.952 1.545l.118.178-.208-.006-.577-.005c-2.093.004-2.841.303-2.841.895 0 .069.271.248 1.245.567l1.008.313c2.671.831 3.99 1.827 3.99 4.167 0 2.76-1.928 4.059-4.832 4.376-.782.085-1.52.098-2.452.066l-1.15-.046H6.221l.535-.811a67.46 67.46 0 001.122-1.787h2.04l.686.03c1.028.046 1.77.043 2.523-.039 1.832-.2 2.673-.767 2.673-1.789 0-.69-.483-1.09-1.992-1.585l-.83-.257c-1.192-.364-2.037-.7-2.59-1.165.399-1 .612-1.844.612-2.538a6.018 6.018 0 00-.382-2.098c.745-.573 1.884-.822 3.41-.883zM5 4.2c2.648 0 4.791 2.151 4.8 4.797C9.8 11.652 5 18.6 5 18.6l-.5-.744C3.273 15.993.2 11.121.2 8.997A4.802 4.802 0 015 4.2zm0 2.4a2.4 2.4 0 10.002 4.802A2.4 2.4 0 005 6.6zM17 .333a2.671 2.671 0 012.667 2.665C19.667 4.473 17 8.333 17 8.333l-.391-.587c-.741-1.137-2.276-3.629-2.276-4.748A2.668 2.668 0 0117 .333z"],ty=["M9 18c.6 0 1 .4 1 1s-.4 1-1 1c-5 0-9-4-9-9 0-.6.4-1 1-1s1 .4 1 1c0 3.9 3.1 7 7 7zm0-4c.6 0 1 .4 1 1s-.4 1-1 1c-2.8 0-5-2.2-5-5 0-.6.4-1 1-1s1 .4 1 1c0 1.7 1.3 3 3 3zm5.7-3.7c.4-.4 1-.4 1.4 0l3.6 3.6c.4.4.4 1 0 1.4l-1.4 1.4c-.4.4-1 .4-1.4 0l-3.6-3.6c-.4-.4-.4-1 0-1.4l1.4-1.4zM4.7.3c.4-.4 1-.4 1.4 0l3.6 3.6c.4.4.4 1 0 1.4L8.3 6.7c-.4.4-1 .4-1.4 0L3.3 3.1c-.4-.4-.4-1 0-1.4L4.7.3zm11.1 1c.4-.4 1-.4 1.4 0l1.6 1.6c.4.4.4 1 0 1.4l-6.5 6.5c-.4.4-1 .4-1.4 0L9.3 9.2c-.4-.4-.4-1 0-1.4l6.5-6.5zM9 12c-.6 0-1-.4-1-1s.4-1 1-1 1 .4 1 1-.4 1-1 1z"],ny=["M12 0H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h13c.55 0 1-.45 1-1V6l-6-6zm4 18H5V2h6v5h5v11zm-8.29-6.71a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29.32 0 .59-.16.77-.38l.01.01 4-5-.01-.01c.14-.18.23-.38.23-.62 0-.55-.45-1-1-1-.32 0-.59.16-.77.38l-.01-.01-3.3 4.13-2.21-2.21z"],ry=["M9 9c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm5 2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4-5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm1 10H2V3c0-.55-.45-1-1-1s-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM5 15c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"],oy=["M19.56 17.44l-4.94-4.94A8.004 8.004 0 0016 8c0-4.42-3.58-8-8-8S0 3.58 0 8s3.58 8 8 8c1.67 0 3.21-.51 4.5-1.38l4.94 4.94a1.498 1.498 0 102.12-2.12zM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],iy=["M9.9 6.9a3 3 0 100 6 3 3 0 100-6zM3 14c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM17 14c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM17 0c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM10 10L5 5","M5.379 4.671l5.02 5.02-.707.708-5.02-5.02zM10 10l5-5","M14.621 4.671l.707.708-5.02 5.02-.707-.707z","M10 10l5 5M10.379 9.671l5.02 5.02-.707.708-5.02-5.02z","M10 10l-5 5M9.621 9.671l.707.708-5.02 5.02-.707-.707z"],ay=["M13 8H5c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zm0 3H5c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zm0-6H5c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zm6.56 12.44l-3.23-3.23A8.939 8.939 0 0018 9a9 9 0 10-9 9c1.94 0 3.74-.62 5.21-1.67l3.23 3.23a1.498 1.498 0 102.12-2.12zM9 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"],ly=["M19.56 17.44l-3.23-3.23A8.939 8.939 0 0018 9a9 9 0 10-9 9c1.94 0 3.74-.62 5.21-1.67l3.23 3.23a1.498 1.498 0 102.12-2.12zM9 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm3.5-11h-7c-.28 0-.5.22-.5.5v2c0 .28.22.5.5.5s.5-.22.5-.5V7h2v6h-.5c-.28 0-.5.22-.5.5s.22.5.5.5h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5H10V7h2v.5c0 .28.22.5.5.5s.5-.22.5-.5v-2c0-.28-.22-.5-.5-.5z"],sy=["M19 5H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-1 8h-8V7h8v6z"],cy=["M19.71 18.29l-4.25-4.25L20 12.91 9.93 9.33c.04-.1.07-.21.07-.33V3c0-.55-.45-1-1-1H4V1c0-.55-.45-1-1-1S2 .45 2 1v1H1c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 .55.45 1 1 1h6c.12 0 .23-.03.34-.07L12.91 20l1.14-4.54 4.25 4.25c.17.18.42.29.7.29a1.003 1.003 0 00.71-1.71zM8 8H4V4h4v4z"],uy=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z","M10 6a4 4 0 100 8 4 4 0 100-8z"],dy=["M1.754.135L19.393 9.06c.57.288.775.943.458 1.462-.107.176-.266.32-.458.418l-17.64 8.925c-.57.288-1.288.1-1.604-.418C.05 19.287 0 19.183 0 19v-7l11-2L0 8V1.075C0 .481.529 0 1.18 0c.201 0 .399.047.574.135z"],hy=["M19 0h-5c-.6 0-1 .4-1 1s.4 1 1 1h2.6l-4.3 4.3c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3L18 3.4V6c0 .5.5 1 1 1s1-.5 1-1V1c0-.6-.5-1-1-1zm0 9c-1 0-1.9-.5-2.5-1.3l-1.4 1.4c-.5.6-1.3.9-2.1.9-1.7 0-3-1.3-3-3 0-.8.3-1.6.9-2.1l1.4-1.4C11.5 2.9 11 2 11 1c0-.3.1-.6.2-.9-.4-.1-.8-.1-1.2-.1C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10c0-.4 0-.8-.1-1.2-.3.1-.6.2-.9.2z"],fy=["M8 11H3c-.55 0-1 .45-1 1s.45 1 1 1h2.59L.3 18.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L7 14.41V17c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1zm10 2c-.53 0-1.01.21-1.37.55L11.9 10.6c.06-.19.1-.39.1-.6 0-.21-.04-.41-.1-.6l4.72-2.95c.37.34.85.55 1.38.55 1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2c0 .21.04.41.1.6l-4.73 2.96c-.24-.23-.54-.4-.87-.48V3.93c.86-.22 1.5-1 1.5-1.93 0-1.1-.9-2-2-2S8 .9 8 2c0 .93.64 1.71 1.5 1.93v4.14c-.33.09-.63.26-.87.48L7.6 7.91 5.42 6.55 3.9 5.6c.06-.19.1-.39.1-.6 0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2c.53 0 1.01-.21 1.37-.55L9 9.96V10h.06L12 11.84l.4.25 1.51.94 2.19 1.37c-.06.19-.1.39-.1.6 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-7-2.96l-.06-.04H11v.04z"],py=["M8 11H3c-.55 0-1 .45-1 1s.45 1 1 1h2.59L.3 18.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71L7 14.41V17c0 .55.45 1 1 1s1-.45 1-1v-5c0-.55-.45-1-1-1zm11.54-6.82l.01-.02-6-4-.01.02C13.39.08 13.21 0 13 0s-.39.08-.54.18l-.01-.02L7 3.8 1.55.17l-.01.01A.969.969 0 001 0C.45 0 0 .45 0 1v9c0-.55.45-1 1-1h1V2.87l4 2.67V9h2V5.54l4-2.67v11.6l-1 .67v2.4l2-1.33 5.45 3.63.01-.02c.15.1.33.18.54.18.55 0 1-.45 1-1V5c0-.35-.19-.64-.46-.82zM18 17.13l-4-2.67V2.87l4 2.67v11.59z"],vy=["M18 18H2v-2h16zM16 16H4l2.122-1.768a1 1 0 01.64-.232h6.476a1 1 0 01.64.232L16 16zM10 11a1 1 0 100 2 1 1 0 100-2z","M13.685 10.04c.4-.38.42-1.01.04-1.41-2.159-2.27-5.508-2.08-7.457.01A.996.996 0 107.728 10c1.19-1.28 3.208-1.39 4.538.01.39.39 1.02.41 1.42.03z","M3.205 6.403c-.3.4-.3 1.1.2 1.4.4.3 1.1.3 1.399-.2 1.3-1.7 3.099-2.6 5.198-2.6 1.999 0 4.098 1 5.198 2.6.3.5.9.6 1.4.2.299-.2.399-.5.399-.8 0-.2-.1-.4-.2-.6-1.5-2.099-4.098-3.399-6.797-3.399-2.799-.09-5.098 1.2-6.797 3.4z"],my=["M13.29 9.29c.3.62.8 1.12 1.42 1.42l-3 3c-.18.18-.43.29-.71.29s-.53-.11-.71-.3L7 10.41l-5 5V17h17c.55 0 1 .45 1 1s-.45 1-1 1H1a.998.998 0 01-1-1V4c0-.55.45-1 1-1s1 .45 1 1v8.59l4.29-4.3C6.47 8.11 6.72 8 7 8s.53.11.71.29l3.29 3.3 2.29-2.3zM12 5c0-.5.4-1 1-1h2V2c0-.6.4-1 1-1 .5 0 1 .4 1 1v2h2c.5 0 1 .4 1 1s-.5 1-1 1h-2v2c0 .6-.5 1-1 1-.6 0-1-.4-1-1V6h-2c-.6 0-1-.4-1-1z"],gy=["M11.91 10.67c.52.45 1.13.8 1.8 1.03l-2.01 2.01c-.18.18-.43.29-.71.29-.28 0-.53-.11-.71-.3L7 10.41l-5 5V17h16.99c.55 0 1 .45 1 1s-.45 1-1 1H1a.998.998 0 01-1-1V4c0-.55.45-1 1-1s1 .45 1 1v8.59l4.29-4.3C6.47 8.11 6.72 8 7 8c.28 0 .53.11.71.29l3.29 3.3.91-.92zM18.5 4.6h1.04c.25 0 .45.2.46.44v.9c0 .25-.2.45-.45.45h-1.04c-.07.22-.16.42-.27.62l.73.73c.17.17.17.44 0 .61l-.61.61c-.17.17-.44.17-.61 0l-.73-.73c-.2.11-.4.2-.62.26v1.05c0 .25-.2.45-.45.45h-.9c-.25 0-.45-.2-.45-.45V8.51c-.21-.06-.4-.15-.58-.25l-.76.77c-.17.17-.46.17-.64 0l-.64-.64a.465.465 0 010-.64l.76-.77c-.1-.19-.19-.38-.25-.59h-1.04c-.25 0-.45-.2-.45-.45v-.9c0-.25.2-.45.45-.45h1.04c.07-.22.16-.42.27-.61l-.73-.73a.429.429 0 010-.61l.61-.61c.17-.17.44-.17.61 0l.73.73c.2-.11.4-.2.62-.26V1.45a.44.44 0 01.44-.45h.9c.25 0 .45.2.45.45V2.5c.21.06.4.15.58.25l.76-.77c.17-.17.46-.17.64 0l.64.64c.17.17.17.46 0 .64l-.76.77c.1.17.19.36.25.57zm-4.69.9c0 .93.75 1.69 1.69 1.69.93 0 1.69-.75 1.69-1.69s-.75-1.69-1.69-1.69-1.69.76-1.69 1.69z"],yy=["M18.82 6.58c-.03.05-.07.09-.11.13 0 0 0-.01-.01-.01l-2 2c-.2.2-.4.3-.7.3-.6 0-1-.4-1-1 0-.3.1-.5.3-.7L16.6 6H11c-.6 0-1-.4-1-1s.4-1 1-1h5.6l-1.3-1.3c-.2-.2-.3-.4-.3-.7 0-.6.4-1 1-1 .3 0 .5.1.7.3l3 3c.2.2.3.4.3.7s-.1.5-.3.7l-.88.88zm-5.53 2.71c.3.62.8 1.12 1.42 1.42l-3 3c-.18.18-.43.29-.71.29s-.53-.11-.71-.3L7 10.41l-5 5V17h17c.55 0 1 .45 1 1s-.45 1-1 1H1a.998.998 0 01-1-1V4c0-.55.45-1 1-1s1 .45 1 1v8.59l4.29-4.3C6.47 8.11 6.72 8 7 8s.53.11.71.29l3.29 3.3 2.29-2.3z"],by=["M12.14 10.45c.21.67.65 1.23 1.22 1.61l-1.65 1.65c-.18.18-.43.29-.71.29s-.53-.11-.71-.3L7 10.41l-5 5V17h17c.55 0 1 .45 1 1s-.45 1-1 1H1a.998.998 0 01-1-1V4c0-.55.45-1 1-1s1 .45 1 1v8.59l4.29-4.3C6.47 8.11 6.72 8 7 8s.53.11.71.29l3.29 3.3 1.14-1.14zM19.35 1a.642.642 0 01.46 1.1l-3.03 3.03v2.95c0 .18-.07.34-.19.46l-1.28 1.29c-.11.1-.27.17-.45.17-.35 0-.64-.29-.64-.64V5.13L11.19 2.1a.642.642 0 01.45-1.1h7.71z"],wy=["M11.28 11.31l-.28.28-3.29-3.3C7.53 8.11 7.28 8 7 8s-.53.11-.71.29L2 12.59V4c0-.55-.45-1-1-1s-1 .45-1 1v14a.998.998 0 001 1h18c.55 0 1-.45 1-1s-.45-1-1-1H2v-1.59l5-5 3.29 3.29c.18.19.43.3.71.3s.53-.11.71-.29l2.09-2.09c-.17.02-.34.02-.51.02-.7 0-1.38-.12-2.01-.33zm-.93-6c0-1.62 1.31-2.93 2.93-2.93s2.93 1.31 2.93 2.93-1.31 2.93-2.93 2.93-2.93-1.31-2.93-2.93zm6.47 2.43c.11-.17.21-.33.29-.51.01-.03.03-.06.04-.09.08-.18.16-.35.21-.54.06-.2.1-.38.14-.58.01-.05.01-.09.02-.14.03-.2.05-.39.05-.6 0-2.37-1.93-4.3-4.3-4.3-2.37.01-4.3 1.93-4.3 4.31s1.93 4.3 4.3 4.3c.21 0 .4-.02.6-.05.04 0 .09-.01.14-.02.2-.03.38-.08.57-.14.2-.06.37-.14.55-.21.03-.01.06-.03.09-.04.18-.09.34-.19.51-.29l2.87 2.87c.14.14.33.22.56.22.43 0 .78-.35.78-.78a.938.938 0 00-.23-.56l-2.89-2.85z"],_y=["M4 1c0-.55-.45-1-1-1S2 .45 2 1v5h2V1zM2 19c0 .55.45 1 1 1s1-.45 1-1v-6H2v6zm9-18c0-.55-.45-1-1-1S9 .45 9 1v8h2V1zm7 0c0-.55-.45-1-1-1s-1 .45-1 1v3h2V1zM9 19c0 .55.45 1 1 1s1-.45 1-1v-3H9v3zm9-14h-2c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-2 14c0 .55.45 1 1 1s1-.45 1-1v-8h-2v8zM4 7H2c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm7 3H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1z"],Ey=["M7.88 11.12a.958.958 0 011.277.33l3.719 6.207c.081.136.124.29.124.447 0 .495-.419.896-.936.896H4.936a.969.969 0 01-.436-.103.878.878 0 01-.392-1.21l3.409-6.208a.915.915 0 01.362-.36zM15 5a4 4 0 110 8 4 4 0 010-8zM8 1a1 1 0 011 1v6a1 1 0 01-1 1H2a1 1 0 01-1-1V2a1 1 0 011-1h6z"],xy=["M15 18H2V5h8.76l2-2H1c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1V7.24l-2 2V18zm4-18h-7c-.55 0-1 .45-1 1s.45 1 1 1h4.59l-7.3 7.29a1.003 1.003 0 001.42 1.42L18 3.41V8c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1z"],Sy=["M13.917 17.209c1.01.454 2.543.928 2.873 1.643.31.722.186 1.148.186 1.148H6.026s-.13-.426.186-1.148 1.842-1.203 2.86-1.65c1.017-.447.914-.722.948-1.093 0-.048.007-.097.007-.145a3.067 3.067 0 01-.839-1.237l-.007-.007c0-.007-.006-.014-.006-.02a1.757 1.757 0 01-.11-.337c-.234-.042-.372-.296-.426-.537a1.045 1.045 0 01-.138-.598c.034-.35.179-.509.337-.57v-.056c0-.44.034-1.065.117-1.478a2.508 2.508 0 01.962-1.623c.426-.33 1.038-.501 1.58-.501.544 0 1.155.172 1.588.502a2.496 2.496 0 01.963 1.622c.075.413.117 1.045.117 1.478v.062c.15.062.288.22.323.564.02.268-.083.502-.138.598-.048.234-.185.488-.42.537a2.635 2.635 0 01-.116.364 3.094 3.094 0 01-.818 1.224c0 .055 0 .11.007.158.034.378-.103.653.914 1.1z","M14.976 16.57c-.24-.099-.455-.186-.65-.273l-.007-.004a3.801 3.801 0 01-.194-.091c.224-.288.41-.609.554-.946l.001-.002.013-.033c.018-.043.036-.087.052-.13l.011-.027.016-.04c.105-.092.19-.19.256-.284.129-.184.213-.38.265-.563.105-.226.225-.592.192-1.026l-.001-.011-.002-.011a1.854 1.854 0 00-.325-.91 9.924 9.924 0 00-.12-1.246 3.09 3.09 0 00-.106-.475l-.001-.006a3.543 3.543 0 00-.763-1.353c.27-.092.56-.139.83-.139.495 0 1.05.156 1.444.456a2.269 2.269 0 01.875 1.475c.069.375.106.95.106 1.344v.056c.138.056.263.2.294.513.019.244-.075.456-.125.543-.044.213-.169.444-.381.488-.025.1-.056.206-.094.3a2.815 2.815 0 01-.756 1.144c0 .05 0 .1.006.144.004.043.006.086.007.127.01.283.018.518.824.872.192.087.404.173.623.263.83.34 1.752.717 1.99 1.231.28.657.168 1.044.168 1.044h-2.081a3.864 3.864 0 00-.188-.542l-.005-.013-.006-.012c-.183-.397-.491-.681-.76-.88a5.614 5.614 0 00-.896-.522 17.36 17.36 0 00-.916-.4l-.15-.061zM14 1c.55 0 1 .45 1 1 0 .28-.11.53-.29.7L10 7.41v.897a3.182 3.182 0 00-.69.4 3.508 3.508 0 00-1.343 2.259c-.07.37-.107.836-.122 1.237a1.836 1.836 0 00-.339.926c-.046.458.09.84.195 1.06.053.178.138.376.27.56.055.08.125.162.21.242v.143l.053.052L6.71 16.71A1.003 1.003 0 015 16V7.41L.29 2.71A1.003 1.003 0 011 1h13z","M9.059 14.361c-.23-.044-.366-.296-.42-.535a1.045 1.045 0 01-.138-.598c.034-.35.179-.509.337-.57v-.056c0-.44.034-1.065.117-1.478A2.508 2.508 0 0110 9.441V13c0 .28-.11.53-.29.71l-.651.651z"],Oy=["M10 20c6-3.81 9-9.048 9-15.714-2 0-5-1.429-9-4.286-4 2.857-7 4.286-9 4.286C1 10.952 4 16.19 10 20zm0-17.348c2.577 1.734 4.776 2.88 6.667 3.419-.44 4.627-2.636 8.353-6.667 11.297V2.652z"],Cy=["M6.84.804L6.5 2.5h-3a1 1 0 00-1 1v4.893l-1.58.451a.99.99 0 00-.691 1.192c.46 1.82 1.163 4.356 1.701 5.571-.218.012-.445.018-.68.018a.625.625 0 100 1.25c2.583 0 4.268-.68 5.202-1.146.687.466 1.88 1.146 3.548 1.146 1.65 0 2.837-.666 3.528-1.132l.005.003c.244.131.6.3 1.07.468.938.335 2.321.661 4.147.661a.625.625 0 100-1.25c-.323 0-.63-.011-.922-.031a.996.996 0 00.184-.334l1.67-5.168a1 1 0 00-.677-1.27l-1.505-.43V3.5a1 1 0 00-1-1h-3L13.16.804A1 1 0 0012.18 0H7.82a1 1 0 00-.98.804zM5 7.679l3.75-1.072V5H5v2.679zm6.25-1.072L15 7.68V5h-3.75v1.607zM6.205 16.95a.625.625 0 01.658.042c.569.407 1.597 1.134 3.137 1.134s2.568-.727 3.137-1.134a.625.625 0 01.724-.001l.007.005.045.029c.044.027.114.069.21.12.194.104.493.247.9.392.811.29 2.053.589 3.727.589a.625.625 0 110 1.25c-1.826 0-3.21-.326-4.148-.661a7.894 7.894 0 01-1.069-.468l-.005-.003c-.691.466-1.878 1.132-3.528 1.132-1.667 0-2.861-.68-3.548-1.146-.934.467-2.619 1.146-5.202 1.146a.625.625 0 110-1.25c2.66 0 4.23-.787 4.955-1.176z"],My=["M17.94 3.63c-.01-.02-.01-.03-.02-.04l-.03-.09h-.01c-.18-.3-.49-.5-.86-.5h-14c-.42 0-.77.25-.92.61L0 8.5h.02a2.5 2.5 0 005 0 2.5 2.5 0 005 0 2.5 2.5 0 005 0 2.5 2.5 0 005 0l-2.08-4.87zM3.02 2h14c.55 0 1-.45 1-1s-.45-1-1-1h-14c-.55 0-1 .45-1 1s.44 1 1 1zm13 14h-12v-4h-2v7c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-7h-2v4z"],zy=["M18 14H8.72l-.67-2H17c.44 0 .8-.29.94-.69h.01l2-6h-.01c.03-.1.06-.2.06-.31 0-.55-.45-1-1-1H5.39l-.44-1.32h-.01C4.8 2.29 4.44 2 4 2H1c-.55 0-1 .45-1 1s.45 1 1 1h2.28l3.33 10H5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2h9c0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zM6.05 6h11.56l-1.33 4H7.39L6.05 6z"],Py=["M.833 13h8.334c.458 0 .833-.45.833-1s-.375-1-.833-1H.833C.375 11 0 11.45 0 12s.375 1 .833 1zM1 8h18c.55 0 1-.45 1-1s-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1zm15 6c0-.28-.11-.53-.29-.71l-.3-.29H19c.55 0 1-.45 1-1s-.45-1-1-1h-3.59l.29-.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-2 2c-.18.19-.29.44-.29.71 0 .28.11.53.29.71l2 2c.18.18.43.29.71.29.55.01 1-.44 1-1z"],Ty=["M7.15 10.33c.888.8 1.999 1.36 3.228 1.574l2.326 6.98a.846.846 0 01-.535 1.07.844.844 0 01-1.072-.535l-1.225-3.671H7.125L5.9 19.419a.85.85 0 01-1.072.536.85.85 0 01-.536-1.071l2.857-8.555zm1.353 1.305l-.808 2.413h1.607l-.8-2.413zM5 5.5c0 .76.13 1.49.37 2.17-.496 1.056-.313 2.356.704 3.29.385.353.404.94.038 1.311a.982.982 0 01-1.356.038c-2.183-2.01-2-5.125.01-6.94a.95.95 0 01.24-.156A6.421 6.421 0 005 5.5z","M3.874 13.185c-1.346-.918-2.187-2.67-2.187-4.34 0-1.752.757-3.254 2.187-4.339.42-.25.42-.834.168-1.168-.252-.418-.84-.418-1.177-.167C1.014 4.59-.08 6.509.005 8.846c.084 2.253 1.177 4.423 2.86 5.675.168.083.336.166.504.166.253 0 .505-.083.673-.333.337-.418.253-.918-.168-1.169zM12.246 12.309a.98.98 0 01-1.354-.037.917.917 0 01-.206-.324 6.54 6.54 0 001.959-.049 5.125 5.125 0 01-.399.41zM14.631 11.476l1.228 1.229a6.6 6.6 0 01-1.723 1.816c-.169.083-.337.166-.505.166-.253 0-.505-.083-.673-.333-.337-.418-.253-.918.168-1.169.62-.422 1.133-1.022 1.505-1.709z","M11.5 0C14.54 0 17 2.46 17 5.5c0 .26-.02.51-.06.75l-.03.17c-.04.25-.1.49-.17.73v.01c-.08.24-.17.47-.28.69-.01.04-.03.07-.05.11-.11.23-.24.44-.38.65l3.68 3.68A1.003 1.003 0 0119 14c-.28 0-.53-.11-.7-.29l-3.68-3.68c-.21.14-.42.27-.65.38-.04.01-.07.03-.11.05-.22.11-.45.2-.69.28h-.01c-.24.07-.48.13-.73.17l-.17.03c-.25.04-.5.06-.76.06C8.46 11 6 8.54 6 5.5S8.46 0 11.5 0zm0 1.5c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"],Ay=["M16.71 5.29l-5-5A.997.997 0 0011 0H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.28-.11-.53-.29-.71zM9 7h2v3H9V7zM6 7h2v3H6V7zm2 11H6v-3h2v3zm3 0H9v-3h2v3zm3 0h-2v-3h2v3zm0-4H6v-3h8v3zm0-4h-2V7h2v3z"],Ly=["M12 2c-.46 0-.85.32-.97.74L7.04 16.7c-.02.1-.04.2-.04.3 0 .55.45 1 1 1 .46 0 .85-.32.97-.74L12.96 3.3c.02-.1.04-.2.04-.3 0-.55-.45-1-1-1z"],ky=["M11.41 10l3.29-3.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-3.29-3.3a1.003 1.003 0 00-1.42 1.42L8.59 10 5.3 13.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l3.29-3.3 3.29 3.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10z"],Ny=["M17 10a7 7 0 11-14 0 7 7 0 0114 0zm-6-5v2H9V5h2zm0 3v6h1v1H8v-1h1V9H8V8h3z"],Iy=["M14 9H6c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1z"],Ry=["M14 9h-3V6c0-.55-.45-1-1-1s-1 .45-1 1v3H6c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1z"],Hy=["M5 5v10h10V5H5zM4 3a1 1 0 00-1 1v12a1 1 0 001 1h12a1 1 0 001-1V4a1 1 0 00-1-1H4z"],Vy=["M15 5c-.28 0-.53.11-.71.29L8 11.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l7-7A1.003 1.003 0 0015 5z"],Dy=["M11 11.776v2.81l2.31 2.242a.987.987 0 010 1.415c-.399.39-1.044.39-1.442 0L11 17.414V19a.99.99 0 01-.996 1A.996.996 0 019 19v-1.636l-.912.879c-.398.39-1.043.39-1.441 0a.987.987 0 010-1.415L9 14.536v-2.79l-2.548 1.435-.837 3.063c-.146.534-.705.85-1.248.707a.998.998 0 01-.721-1.224l.309-1.132-1.4.793a1.03 1.03 0 01-1.393-.366.99.99 0 01.373-1.366l1.445-.818-1.224-.322a.998.998 0 01-.72-1.225c.145-.533.704-.85 1.248-.707l3.193.84 2.462-1.395-2.532-1.434-3.123.82a1.022 1.022 0 01-1.249-.706.998.998 0 01.721-1.225L2.91 7.18l-1.4-.793a.99.99 0 01-.373-1.366 1.03 1.03 0 011.392-.366l1.445.818-.328-1.2a.998.998 0 01.72-1.225 1.022 1.022 0 011.25.707l.855 3.132L9 8.311V5.414L6.647 3.121a.987.987 0 010-1.414 1.033 1.033 0 011.441 0L9 2.586V1c0-.552.44-1 1.004-1A.99.99 0 0111 1l-.007 1.536.875-.829a1.033 1.033 0 011.441 0 .987.987 0 010 1.414L11 5.364v2.918l2.53-1.42.855-3.131c.146-.534.705-.85 1.249-.707a.998.998 0 01.72 1.224l-.327 1.2 1.4-.792a1.03 1.03 0 011.392.366.99.99 0 01-.373 1.366l-1.355.768 1.153.303a.998.998 0 01.721 1.225c-.146.533-.705.85-1.249.707l-3.123-.821-2.576 1.459 2.506 1.42 3.193-.84a1.022 1.022 0 011.249.707.998.998 0 01-.72 1.225l-1.224.322 1.4.793a.99.99 0 01.373 1.366 1.03 1.03 0 01-1.393.366l-1.356-.768.31 1.132a.998.998 0 01-.721 1.224 1.022 1.022 0 01-1.249-.707l-.837-3.063L11 11.776z"],jy=["M11.5 5c.8 0 1.6-.4 2-1 2 1.2 3.3 3.3 3.5 5.7 0 .5.5.9 1 .9.6 0 1-.5 1-1v-.1c-.2-3.3-2.2-6.2-5.1-7.6C13.7.8 12.7 0 11.5 0 10.1 0 9 1.1 9 2.5S10.1 5 11.5 5zm5 7c-1.4 0-2.5 1.1-2.5 2.5 0 .4.1.7.2 1.1-1.1.9-2.6 1.4-4.2 1.4-1.9 0-3.6-.8-4.9-2-.2-.2-.5-.4-.8-.4-.5 0-1 .5-1 1 0 .3.1.5.3.7C5.3 18 7.5 19 10 19c2.2 0 4.2-.8 5.8-2.1.2.1.5.1.7.1 1.4 0 2.5-1.1 2.5-2.5S17.9 12 16.5 12zM5 10.5c0-1.1-.7-2.1-1.7-2.4.5-1.9 1.9-3.5 3.6-4.4.3-.2.6-.5.6-.9 0-.5-.4-1-1-1-.2 0-.4.1-.6.2-2.4 1.2-4.2 3.6-4.7 6.4C.5 8.9 0 9.6 0 10.5 0 11.9 1.1 13 2.5 13S5 11.9 5 10.5z"],Fy=["M19 16h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm0-5h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zM7 15c-.28 0-.53.11-.71.29L5 16.59V11c0-.55-.45-1-1-1s-1 .45-1 1v5.59L1.71 15.3A.965.965 0 001 15a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 007 15zM19 1h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 5h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1z"],By=["M8 15c-.28 0-.53.11-.71.29L6 16.59v-5.58c0-.55-.45-1-1-1s-1 .45-1 1v5.58L2.71 15.3c-.18-.18-.43-.3-.71-.3a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 008 15zm8.89-.79v-1.22H11.3v1.3h3.51L11 18.78V20h5.99v-1.3h-3.91l3.81-4.49zM14.97 0h-1.95L9.01 11.01h1.89l.98-2.92h4.17l.98 2.92h1.96L14.97 0zm-2.59 6.63l1.58-4.74H14l1.57 4.74h-3.19z"],Uy=["M8.01 15c-.28 0-.53.11-.71.29L6 16.59v-5.58c0-.55-.45-1-1-1s-1 .45-1 1v5.58L2.71 15.3c-.18-.18-.43-.3-.71-.3a1.003 1.003 0 00-.71 1.71l3 3a1.014 1.014 0 001.42 0l3-3c.18-.18.29-.43.29-.71.01-.55-.44-1-.99-1zm4.44-5.65l6.4-7.88V0H10.5v1.67h5.91L10 9.44v1.57h9V9.35h-6.55zm1.27 3.64L11 20h1.59l.56-1.56h2.68l.55 1.56h1.64l-2.68-7.01h-1.62zm-.16 4.3l.93-2.57h.02l.9 2.57h-1.85z"],Gy=["M10 8h5c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm0 5h7c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1h-7c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm0-10h3c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm9 12h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zM7 14c-.28 0-.53.11-.71.29L5 15.59V10c0-.55-.45-1-1-1s-1 .45-1 1v5.59L1.71 14.3A.965.965 0 001 14a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 007 14z"],qy=["M13 15h-3c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm-6-1c-.28 0-.53.11-.71.29L5 15.59V10c0-.55-.45-1-1-1s-1 .45-1 1v5.59L1.71 14.3A.965.965 0 001 14a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29s.53-.11.71-.29l3-3A1.003 1.003 0 007 14zM19 0h-9c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-4 10h-5c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-1c0-.55-.45-1-1-1zm2-5h-7c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"],Wy=["M9 14.99c-.28 0-.53.11-.71.29L7 16.58v-5.59c0-.55-.45-1-1-1s-1 .45-1 1v5.59l-1.29-1.29a.965.965 0 00-.71-.3 1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l3-3c.18-.18.29-.43.29-.71a.99.99 0 00-1-1zm8.88.23c-.08-.42-.22-.79-.42-1.12-.2-.33-.47-.6-.8-.8-.33-.2-.76-.3-1.28-.3a2.333 2.333 0 00-1.72.71c-.21.22-.37.48-.49.78-.11.3-.17.62-.17.97 0 .27.04.54.13.8.08.26.22.5.4.7.19.21.43.38.71.5a2.142 2.142 0 001.72.02c.25-.12.47-.31.66-.58l.02.02c-.01.19-.04.4-.08.63-.04.24-.11.46-.21.67-.1.21-.23.38-.39.53a.92.92 0 01-.62.22c-.24 0-.44-.08-.6-.25-.16-.17-.27-.36-.31-.59h-1.31c.04.29.12.56.24.79.12.23.28.43.48.59.19.16.42.28.67.36.25.08.52.12.82.12.49 0 .9-.1 1.23-.31.34-.21.61-.48.82-.82.21-.34.37-.71.47-1.13.1-.42.15-.83.15-1.25 0-.43-.04-.85-.12-1.26zm-1.42.63c-.05.15-.11.28-.2.4-.09.12-.2.21-.34.27s-.3.1-.49.1c-.17 0-.33-.04-.46-.11s-.24-.17-.33-.29c-.08-.12-.15-.25-.19-.4-.04-.15-.06-.31-.06-.47 0-.15.02-.3.07-.45.05-.15.11-.28.2-.39.09-.12.2-.21.33-.28.13-.07.27-.11.44-.11.17 0 .33.04.47.11.14.07.25.17.34.28a1.387 1.387 0 01.28.86c.01.17-.02.33-.06.48zM15.32 11H17V0h-1.25c-.05.34-.17.62-.34.85-.17.23-.39.42-.63.57-.25.15-.52.25-.83.31-.3.06-.62.09-.94.09v1.41h2.31V11z"],Ky=["M9 15c-.28 0-.53.11-.71.29L7 16.59v-5.58c0-.55-.45-1-1-1s-1 .45-1 1v5.58L3.71 15.3c-.18-.18-.43-.3-.71-.3a1.003 1.003 0 00-.71 1.71l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l3-3A1.003 1.003 0 009 15zm6.7-1.33a1.5 1.5 0 01-.44.43c-.17.11-.37.19-.58.23-.22.04-.44.06-.67.05v1.07h1.66V20H17v-6.99h-1.06c-.04.26-.12.48-.24.66zm3.15-10.3c-.11-.68-.29-1.26-.55-1.76-.26-.5-.62-.89-1.08-1.18C16.75.14 16.17 0 15.46 0c-.54 0-1.03.09-1.46.27-.43.18-.79.44-1.09.76-.3.33-.52.71-.67 1.15-.16.44-.24.92-.24 1.43 0 .54.08 1.04.23 1.47.15.44.37.81.65 1.12.28.31.61.55 1 .72.39.17.82.26 1.3.26.46 0 .88-.11 1.26-.33.38-.22.68-.53.9-.94l.03.03c-.03.35-.07.74-.12 1.16-.05.42-.15.81-.29 1.18-.14.37-.35.68-.61.92-.26.25-.62.37-1.06.37-.43 0-.77-.13-1.03-.4-.25-.27-.4-.62-.44-1.05h-1.64c.02.43.11.83.29 1.18.17.35.39.66.67.91a3.027 3.027 0 002.07.8c.71 0 1.3-.17 1.79-.5.48-.33.87-.76 1.17-1.29.3-.53.51-1.12.64-1.76.13-.64.19-1.28.19-1.92.01-.77-.05-1.49-.15-2.17zM17.1 4.44c-.08.27-.19.5-.34.71-.15.21-.34.37-.57.49-.23.12-.5.18-.8.18-.3 0-.56-.06-.78-.19-.22-.13-.4-.29-.55-.49-.14-.2-.25-.44-.32-.7-.07-.27-.11-.55-.11-.84 0-.28.04-.55.11-.82.07-.26.18-.49.32-.7.14-.2.33-.36.55-.48.22-.12.48-.17.78-.17.31 0 .57.06.8.18.23.12.42.28.57.48.15.2.26.43.34.69.08.26.11.53.11.82 0 .29-.04.57-.11.84z"],$y=["M8.89.56l5 10c.06.13.11.28.11.44 0 .55-.45 1-1 1-.39 0-.72-.23-.89-.55L10.88 9H5.12l-1.23 2.44c-.17.33-.5.56-.89.56-.55 0-1-.45-1-1 0-.16.05-.31.12-.44l2.35-4.73.9-1.81L7.11.56C7.28.23 7.61 0 8 0s.72.23.89.56zM6.12 7L8 3.24 9.88 7H6.12zm11.17 4.29a1.003 1.003 0 011.42 1.42l-7 7c-.18.18-.43.29-.71.29-.28 0-.53-.11-.71-.29l-3-3a1.003 1.003 0 011.42-1.42l2.29 2.3 6.29-6.3z"],Yy=["M15 13a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-3-3a1.003 1.003 0 00-1.42 1.42L16.59 9H11V2h5v2c.77 0 1.47.3 2 .78V1c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v3.78C2.53 4.3 3.23 4 4 4V2h5v7H3.41L4.7 7.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-3 3C.11 9.47 0 9.72 0 10c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L3.41 11H9v7H4v-2c-.77 0-1.47-.3-2-.78V19c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-3.78c-.53.48-1.23.78-2 .78v2h-5v-7h5.59l-1.29 1.29c-.19.18-.3.43-.3.71z"],Xy=["M19 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H2V2h16v16z"],Zy=["M12 2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v4h4V2zm3 14h2c.55 0 1-.45 1-1v-5h-4v5c0 .55.45 1 1 1zm3-10c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v3h4V6zm-6 1H8v5h4V7zm-9 9h2c.55 0 1-.45 1-1v-3H2v3c0 .55.45 1 1 1zm16 1H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM6 9c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v2h4V9zm3 7h2c.55 0 1-.45 1-1v-2H8v2c0 .55.45 1 1 1z"],Qy=["M15 7H5a3 3 0 000 6h10a3 3 0 100-6zM5 5a5 5 0 000 10h10a5 5 0 000-10H5z"],Jy=["M10 0l3.1 6.6 6.9 1-5 5.1 1.2 7.3-6.2-3.4L3.8 20 5 12.7 0 7.6l6.9-1z"],eb=["M20 7.6l-6.9-1.1L10 0 6.9 6.6 0 7.6l5 5.1L3.8 20l6.2-3.4 6.2 3.4-1.2-7.2 5-5.2zM10 15l-4.5 2.4.9-5.2-3.6-3.6 5-.8L10 3.1l2.2 4.7 5 .8-3.6 3.7.9 5.2L10 15z"],tb=["M15 3c-.23 0-.42.09-.59.21l-.01-.01L8 8V4c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-4l6.4 4.8.01-.01c.17.12.36.21.59.21.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],nb=["M19 16H2v-3h4c.55 0 1-.45 1-1V8h3v2c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V6h2c.55 0 1-.45 1-1s-.45-1-1-1h-3c-.55 0-1 .45-1 1v4h-3V7c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v4H2V3c0-.55-.45-1-1-1s-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],rb=["M15 3h-2c-.55 0-1 .45-1 1v4L5.6 3.2l-.01.01C5.42 3.09 5.23 3 5 3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1 .23 0 .42-.09.59-.21l.01.01L12 12v4c0 .55.45 1 1 1h2c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ob=["M16 3H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ib=["M10 6a6 6 0 106 6h-6V6zm-.998-1.938A1.015 1.015 0 019 4V2H7a1 1 0 110-2h6a1 1 0 010 2h-2v2c0 .02 0 .041-.002.062A8.001 8.001 0 0110 20a8 8 0 01-.998-15.938z"],ab=["M18 9h-4.46a4.7 4.7 0 00-.4-.14c-.19-.05-.51-.14-.96-.25-.45-.11-.9-.23-1.37-.35-.47-.12-.89-.23-1.27-.33s-.6-.16-.65-.17c-.53-.15-.95-.37-1.27-.66-.32-.28-.49-.68-.49-1.19 0-.36.09-.66.26-.9s.39-.43.65-.57c.26-.14.55-.24.87-.3s.63-.09.93-.09c.89 0 1.63.19 2.21.57.45.3.75.76.89 1.38h2.63c-.06-.52-.2-.98-.42-1.4-.3-.57-.71-1.05-1.23-1.43a5.33 5.33 0 00-1.79-.87c-.7-.2-1.42-.3-2.19-.3-.66 0-1.31.08-1.96.25s-1.22.43-1.73.77-.92.79-1.23 1.32c-.31.52-.46 1.15-.46 1.87 0 .37.05.74.15 1.1.1.36.28.7.53 1.02.18.24.41.47.69.67H2c-.55 0-1 .45-1 1s.45 1 1 1h10.14c.02.01.05.02.07.02.3.11.58.29.84.55.25.26.38.67.38 1.21 0 .27-.06.53-.17.79-.11.26-.29.49-.54.69-.25.2-.57.36-.97.49s-.88.19-1.44.19c-.52 0-1.01-.06-1.45-.17-.45-.11-.84-.29-1.19-.54s-.61-.56-.8-.95c-.05-.08-.09-.18-.12-.28H4.11c.09.43.22.82.4 1.18.33.65.77 1.18 1.32 1.59.55.41 1.2.72 1.94.92.74.2 1.53.3 2.37.3.73 0 1.44-.08 2.14-.25.7-.17 1.33-.43 1.88-.79.55-.36.99-.83 1.33-1.39.34-.56.51-1.25.51-2.05 0-.37-.06-.75-.18-1.12a3.12 3.12 0 00-.15-.39H18c.55 0 1-.45 1-1s-.45-1-1-1z"],lb=["M18 18H2V2h12.3l2-2H1C.4 0 0 .4 0 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V7.7l-2 2V18zm1.2-18l-7.6 7.6 2.8 2.8L20 4.8V0h-.8zM4 15.9c3.1.2 5.9.2 8.2-2 1.1-1.1 1.1-3 0-4.1-.6-.5-1.3-.8-2-.8s-1.4.3-1.9.8C7.2 11 6.6 14.3 4 15.9z"],sb=["M.224 6.63a1 1 0 111.563-1.248L5 9.4l3.213-4.017A1 1 0 119.776 6.63L6.28 11l3.495 4.369a1 1 0 11-1.563 1.248L5 12.601l-3.213 4.016A1 1 0 11.224 15.37L3.72 11 .224 6.63zm15.8 11.33c.16-.19.34-.38.56-.55.21-.18.449-.36.709-.53.25-.18.5-.36.749-.56.25-.2.49-.41.73-.63.229-.22.439-.47.629-.74.18-.27.33-.56.44-.88.11-.32.159-.67.159-1.07 0-.32-.05-.65-.14-1-.09-.35-.25-.68-.47-.97-.22-.3-.509-.55-.869-.74-.36-.2-.809-.29-1.348-.29-.49 0-.93.1-1.299.29-.37.18-.69.44-.949.78-.26.33-.45.73-.58 1.2-.13.46-.2.96-.2 1.5h1.43c.01-.35.04-.67.09-.97.05-.3.14-.56.25-.78.109-.22.259-.39.449-.52s.43-.19.709-.19c.31 0 .56.06.75.18.189.12.339.26.449.43.11.17.18.36.22.56.04.2.06.39.06.57-.01.38-.1.72-.26 1.02-.15.3-.37.57-.63.83-.26.25-.54.49-.849.71-.31.22-.61.45-.889.68-.6.45-1.059.98-1.409 1.58-.35.61-.519 1.32-.529 2.13h5.984v-1.43h-4.276c.06-.21.17-.42.33-.61z"],cb=["M16.024 7.96c.16-.19.34-.38.56-.55.21-.18.449-.36.709-.53.25-.18.5-.36.749-.56.25-.2.49-.41.73-.63.229-.22.439-.47.629-.74.18-.27.33-.56.44-.88C19.95 3.75 20 3.4 20 3c0-.32-.05-.65-.14-1-.09-.35-.25-.68-.47-.97-.22-.3-.509-.55-.869-.74-.36-.2-.809-.29-1.348-.29-.49 0-.93.1-1.299.29-.37.18-.69.44-.949.78-.26.33-.45.73-.58 1.2-.13.46-.2.96-.2 1.5h1.43c.01-.35.04-.67.09-.97.05-.3.14-.56.25-.78.109-.22.259-.39.449-.52s.43-.19.709-.19c.31 0 .56.06.75.18.189.12.339.26.449.43.11.17.18.36.22.56.04.2.06.39.06.57-.01.38-.1.72-.26 1.02-.15.3-.37.57-.63.83-.26.25-.54.49-.849.71-.31.22-.61.45-.889.68-.6.45-1.059.98-1.409 1.58-.35.61-.519 1.32-.529 2.13h5.984V8.57h-4.276c.06-.21.17-.42.33-.61zM.224 6.63a1 1 0 111.563-1.248L5 9.4l3.213-4.017A1 1 0 119.776 6.63L6.28 11l3.495 4.369a1 1 0 11-1.563 1.248L5 12.601l-3.213 4.016A1 1 0 11.224 15.37L3.72 11 .224 6.63z"],ub=["M16.02 10c-.01 0-.01 0 0 0H16h.02zM2 6h13.58l-2.29 2.29a1 1 0 00-.3.71 1.003 1.003 0 001.71.71l4-4c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-4-4a1.003 1.003 0 00-1.42 1.42L15.58 4H2c-.55 0-1 .45-1 1s.45 1 1 1zm2 4h-.02H4zm14 4H4.42l2.29-2.29a1 1 0 00.3-.71 1.003 1.003 0 00-1.71-.71l-4 4c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L4.42 16H18c.55 0 1-.45 1-1s-.45-1-1-1z"],db=["M9.71 5.3l-4-4A.997.997 0 005 1.01c-.28 0-.53.11-.71.29l-4 4a1.003 1.003 0 001.42 1.42L4 4.42V18c0 .55.45 1 1 1s1-.45 1-1V4.42l2.29 2.29a1 1 0 00.71.3 1.003 1.003 0 00.71-1.71zM10 3.98c0 .01 0 .01 0 0V4v-.02zm0 12.04c0-.01 0-.01 0 0V16v.02zm9-3.03c-.28 0-.53.11-.71.29L16 15.58V2c0-.55-.45-1-1-1s-1 .45-1 1v13.58l-2.29-2.29a1.003 1.003 0 00-1.42 1.42l4 4c.18.18.43.29.71.29.28 0 .53-.11.71-.29l4-4c.18-.18.29-.43.29-.71 0-.56-.45-1.01-1-1.01z"],hb=["M12.293 2.293l1.414 1.414-7.127 7.129a3.5 3.5 0 11-1.415-1.415l7.128-7.128zM16.5 9a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm-13 2a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm13 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"],fb=["M10 4.01a6 6 0 100 12 6 6 0 100-12z"],pb=["M15 8.01h-3v-3c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3H5c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h3v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-3h3c.55 0 1-.45 1-1v-2c0-.56-.45-1-1-1z"],vb=["M15 10.01c0-.21-.08-.39-.18-.54l.02-.01-4-6-.02.01c-.18-.28-.47-.46-.82-.46s-.64.18-.82.45l-.01-.01-4 6 .02.01c-.11.16-.19.34-.19.55s.08.39.18.54l-.02.01 4 6 .02-.01c.18.27.47.46.82.46s.64-.19.82-.46l.02.01 4-6-.02-.01c.1-.16.18-.34.18-.54z"],mb=["M16 5H4c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V6c0-.5-.5-1-1-1z"],gb=["M15 4.01H5c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-10c0-.56-.45-1-1-1z"],yb=["M16 5c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1 0 .16.05.31.11.44H4.1l5 10h.01c.17.33.5.56.89.56s.72-.23.89-.56h.01l5-10h-.01c.06-.13.11-.28.11-.44z"],bb=["M15.89 14.56l-4.99-10h-.01c-.17-.33-.5-.56-.89-.56s-.72.23-.89.56H9.1l-5 10h.01c-.06.13-.11.28-.11.44 0 .55.45 1 1 1h10c.55 0 1-.45 1-1 0-.16-.05-.31-.11-.44z"],wb=["M15.146.854a.5.5 0 01.708-.708l4 4a.5.5 0 01-.708.708l-.646-.647L17.207 5.5l1.647 1.646a.5.5 0 01-.708.708l-.646-.647-1.146 1.146-7.5 7.5a.5.5 0 01-.708 0l-.646-.646-2.646 2.647a.5.5 0 01-.708 0l-.646-.647-2.646 2.647a.5.5 0 01-.708-.708L2.793 16.5l-.647-.646a.5.5 0 010-.708L4.793 12.5l-.647-.646a.5.5 0 010-.708l7.5-7.5L12.794 2.5l-.647-.646a.5.5 0 01.708-.708L14.5 2.793 15.793 1.5l-.647-.646zM12.707 4l.793-.793L16.793 6.5 16 7.293 12.707 4zm2.586 4l-.793.793-1.646-1.647a.5.5 0 00-.708.708L13.793 9.5 12.5 10.793l-1.646-1.647a.5.5 0 00-.708.708l1.647 1.646-1.293 1.293-1.646-1.647a.5.5 0 00-.708.708L9.793 13.5 8.5 14.793 5.207 11.5 12 4.707 15.293 8zM3.207 15.5L5.5 13.207 6.793 14.5 4.5 16.793 3.207 15.5zM16.5 2.207L17.793 3.5 16.5 4.793 15.207 3.5 16.5 2.207z"],_b=["M2 4a2 2 0 012-2h4.588a2 2 0 011.414.586l7.41 7.41a2 2 0 010 2.828l-4.588 4.588a2 2 0 01-2.829 0l-7.41-7.41A2 2 0 012 8.588V4zm3.489-.006a1.495 1.495 0 100 2.99 1.495 1.495 0 000-2.99z"],Eb=["M5 7c.28 0 .53-.11.71-.29l5-5A1.003 1.003 0 009.29.29l-5 5A1.003 1.003 0 005 7zm6 6a1.003 1.003 0 001.71.71l5-5a1.003 1.003 0 00-1.42-1.42l-5 5c-.18.18-.29.43-.29.71zm8 5h-1c0-.55-.45-1-1-1h-7c-.55 0-1 .45-1 1H8c-.55 0-1 .45-1 1s.45 1 1 1h11c.55 0 1-.45 1-1s-.45-1-1-1zm-9-6l6-6-1.29-1.29a1.003 1.003 0 00-1.42-1.42L12 2 6 8l1.29 1.29-7 7a1.003 1.003 0 001.42 1.42l7-7L10 12z"],xb=["M3.956 4.47A1 1 0 014.804 4h6.392a1 1 0 01.848.47L13 6h5a1 1 0 010 2h-5v1h4a3 3 0 110 6H3a3 3 0 010-6V6.287a1 1 0 01.152-.53l.804-1.287zM3 11h14a1 1 0 110 2H3a1 1 0 110-2z"],Sb=["M9 5a1 1 0 012 0v3a1 1 0 01-2 0V5zM12 9a1 1 0 000 2h3a1 1 0 000-2h-3zM4 10a1 1 0 011-1h3a1 1 0 010 2H5a1 1 0 01-1-1zM10 11a1 1 0 00-1 1v3a1 1 0 002 0v-3a1 1 0 00-1-1z","M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10zm0-2a8 8 0 100-16 8 8 0 000 16z"],Ob=["M19 9h-.33l.33 1v.5c0 .15-.03.3-.07.44h.01L17 17.23v.27c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V17H6v.5c0 .83-.67 1.5-1.5 1.5S3 18.33 3 17.5v-.27l-1.93-6.28h.01c-.05-.15-.08-.3-.08-.45V10s.02-.06.05-.16c.06-.17.16-.47.28-.84H1c-.55 0-1-.45-1-1s.45-1 1-1h1l1-3h-.01v-.01c.25-.64 1-1.31 1.67-1.5 0 0 .78-.21 2.33-.36V1c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v1.13c1.55.14 2.33.36 2.33.36.67.19 1.42.86 1.67 1.5V4H17l1 3h1c.55 0 1 .45 1 1s-.45 1-1 1zM3 11.5c0 .83.67 1.5 1.5 1.5S6 12.33 6 11.5 5.33 10 4.5 10 3 10.67 3 11.5zM16 7l-1-3H5L4 7v1h12V7zm-.5 3c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"],Cb=["M11 0a2 2 0 00-2 2v10.535a4 4 0 104 0V2a2 2 0 00-2-2zM3 2.5a.5.5 0 01.5-.5h4a.5.5 0 010 1h-4a.5.5 0 01-.5-.5zM3.5 8a.5.5 0 000 1h4a.5.5 0 000-1h-4zM5 5.5a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2a.5.5 0 01-.5-.5zm.5 5.5a.5.5 0 000 1h2a.5.5 0 000-1h-2z"],Mb=["M16 17c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1s1-.45 1-1-.45-1-1-1c-.77 0-1.47.3-2 .78-.53-.48-1.23-.78-2-.78-.55 0-1 .45-1 1s.45 1 1 1 1 .45 1 1v12c0 .55-.45 1-1 1s-1 .45-1 1 .45 1 1 1c.77 0 1.47-.3 2-.78.53.48 1.23.78 2 .78.55 0 1-.45 1-1s-.45-1-1-1zm-4-4H2V7h10V5H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h11v-2zm7-8h-3v2h2v6h-2v2h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"],zb=["M19 1H1c-.6 0-1 .5-1 1v16c0 .5.4 1 1 1h18c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zM7 17H2v-3h5v3zm0-4H2v-3h5v3zm0-4H2V6h5v3zm11 8H8v-3h10v3zm0-4H8v-3h10v3zm0-4H8V6h10v3z"],Pb=["M5.3 13.3c-.2.2-.3.4-.3.7 0 .6.4 1 1 1 .3 0 .5-.1.7-.3l3-3c.2-.2.3-.4.3-.7s-.1-.5-.3-.7l-3-3C6.5 7.1 6.3 7 6 7c-.6 0-1 .4-1 1 0 .3.1.5.3.7L6.6 10H1c-.6 0-1 .4-1 1s.4 1 1 1h5.6l-1.3 1.3zM19 1H3c-.5 0-1 .5-1 1v6h1c0-1.7 1.3-3 3-3 .8 0 1.6.3 2.1.9l.1.1H9v.8l1 1V6h8v3h-6.8c.3.3.5.6.6 1H18v3h-6.8l-.1.1-.9.9H18v3h-8v-2.8l-1 1V17H4v-.8c-.6-.5-1-1.3-1-2.2H2v4c0 .5.5 1 1 1h16c.6 0 1-.5 1-1V2c0-.5-.5-1-1-1z"],Tb=["M14.25 1H19c.5 0 1 .5 1 1v16c0 .5-.5 1-1 1h-7.221l.278-2H18v-3h-5.527l.14-1H18v-3h-4.971l.139-1H18V6h-4.416l.637-4.587c.02-.139.03-.277.03-.413zM8.221 1l-.694 5H2v3h5.11l-.139 1H2v3h4.555l-.14 1H2v3h3.999l-.22 1.587c-.02.139-.03.277-.03.413H1c-.6 0-1-.5-1-1V2c0-.5.4-1 1-1h7.221zM10.26.862a1 1 0 011.98.276l-2.5 18a1 1 0 01-1.98-.276l2.5-18z"],Ab=["M17.333 10l1.435-1.722a1 1 0 00.232-.64V4.85l1-.9V18c0 .5-.5 1-1 1H1c-.6 0-1-.5-1-1V2c0-.5.4-1 1-1h6.722L12 4.85V6H8v3h4v1H8v3h10v-3h-.667zM7 17v-3H2v3h5zm0-4v-3H2v3h5zm0-4V6H2v3h5zm11 8v-3H8v3h10z","M19.35 0a.642.642 0 01.46 1.1l-3.03 3.03v2.95c0 .18-.07.34-.19.46l-1.28 1.29c-.11.1-.27.17-.45.17-.35 0-.64-.29-.64-.64V4.13L11.19 1.1a.642.642 0 01.45-1.1h7.71z"],Lb=["M19 1H1c-.6 0-1 .5-1 1v16c0 .5.4 1 1 1h18c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zm-1 16H2v-3h16v3zm0-4H2v-3h16v3zm0-4H2V6h16v3z"],kb=["M8 0C3.58 0 0 3.58 0 8a8 8 0 005.856 7.71c.064-.057.129-.109.19-.156.278-.209.595-.383.896-.53.358-.174.81-.358 1.193-.515.206-.084.393-.16.534-.223a3.93 3.93 0 00.203-.095 4.1 4.1 0 01-.305-.45C8.382 13.911 8.19 14 8 14c-.67 0-1.36-1.1-1.73-3h1.252c.047-.296.153-.571.323-.797l.01-.203H6.12C6.05 9.39 6 8.73 6 8s.05-1.39.12-2h3.76l.037.344c.315-.145.65-.242.979-.295L10.89 6h2.76c.027.077.052.155.076.233l.118-.04A3.62 3.62 0 0114.998 6c.247 0 .51.028.772.086A8 8 0 008 0zm5.17 5h-2.44c-.21-1.11-.51-2.03-.91-2.69 1.43.46 2.61 1.43 3.35 2.69zM8 2c.67 0 1.36 1.1 1.73 3H6.27C6.64 3.1 7.33 2 8 2zm-1.82.31c-.4.66-.71 1.58-.91 2.69H2.83a6.025 6.025 0 013.35-2.69zM2 8c0-.7.13-1.37.35-2h2.76C5.04 6.62 5 7.28 5 8s.04 1.38.11 2H2.35C2.13 9.37 2 8.7 2 8zm.83 3h2.44c.21 1.11.51 2.03.91 2.69A6.025 6.025 0 012.83 11z","M13.917 15.209c.21.094.444.19.685.288.912.374 1.927.789 2.188 1.355.31.722.186 1.148.186 1.148H6.026s-.13-.426.186-1.148c.256-.584 1.305-1.011 2.234-1.39.22-.088.432-.175.626-.26.909-.4.923-.662.94-.978.002-.037.004-.076.008-.115l.003-.072c.002-.025.004-.049.004-.073a3.067 3.067 0 01-.839-1.237l-.007-.007a.024.024 0 00-.003-.01 1.757 1.757 0 01-.113-.347c-.234-.042-.372-.296-.427-.537a1.045 1.045 0 01-.137-.598c.034-.35.179-.509.337-.57v-.056c0-.44.034-1.065.117-1.478a2.508 2.508 0 01.962-1.623c.426-.33 1.038-.501 1.58-.501.544 0 1.155.172 1.588.502a2.496 2.496 0 01.963 1.622c.075.413.117 1.045.117 1.478v.062c.15.062.288.22.323.564.02.268-.083.502-.138.598-.048.234-.185.488-.42.537a2.635 2.635 0 01-.116.364 3.094 3.094 0 01-.818 1.224c0 .055 0 .11.007.158.004.048.006.095.007.14.011.311.02.57.907.96z","M14.976 14.57c-.24-.098-.455-.186-.65-.274l-.007-.003a3.801 3.801 0 01-.194-.091c.224-.288.41-.609.554-.946l.001-.002.013-.033c.018-.043.036-.087.052-.13l.011-.027.016-.04c.105-.092.19-.19.256-.284.129-.184.213-.38.265-.563.105-.226.225-.592.192-1.026l-.001-.011-.002-.011a1.855 1.855 0 00-.325-.91 9.924 9.924 0 00-.12-1.246 3.088 3.088 0 00-.106-.474l-.001-.007a3.543 3.543 0 00-.763-1.353c.27-.092.56-.139.83-.139.495 0 1.05.156 1.444.456a2.269 2.269 0 01.875 1.475c.069.375.106.95.106 1.344v.056c.138.056.263.2.294.513.019.244-.075.456-.125.543-.044.213-.169.444-.381.488-.025.1-.056.206-.094.3a2.815 2.815 0 01-.756 1.144c0 .05 0 .1.006.144.004.043.006.086.007.127.01.283.018.518.824.873.192.086.404.172.623.262.83.34 1.752.717 1.99 1.231.28.657.168 1.044.168 1.044h-2.081a3.864 3.864 0 00-.188-.542l-.005-.013-.006-.012c-.183-.397-.491-.681-.76-.88a5.614 5.614 0 00-.896-.522 17.36 17.36 0 00-.916-.4l-.15-.061z"],Nb=["M18.55 6.56c-.31-.01-.65-.03-1.02-.06.03 0 .06-.01.09-.01.88-.12 1.68-.63 1.76-1.37.08-.75-.58-1.25-1.46-1.33-.32-.03-.65-.05-.99-.08.59-.19 1.05-.54 1.09-1.2.05-.75-.99-1.32-1.87-1.41-.34-.03-.64-.05-.91-.07h-.11c-.28-.02-.54-.02-.77-.02-3.92-.08-7.29.6-9.36 1.93v7.72c2.67 1.66 5.95 4.61 5.26 7.08-.21.76.39 1.35 1.23 1.26 1.01-.11 1.71-1.18 1.75-2.28.05-1.29-.19-2.59-.62-3.74-.05-.32.01-.65.47-.68.61-.04 1.39-.08 1.99-.1.32 0 .64-.01.94-.03h.01c.52-.03 1-.07 1.42-.12.88-.11 1.69-.6 1.79-1.35.1-.75-.55-1.25-1.44-1.35-.07-.01-.13-.02-.2-.02.21-.02.42-.04.61-.06.88-.11 1.69-.6 1.79-1.35.09-.75-.56-1.31-1.45-1.36zM3 3H0v8h3c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],Ib=["M3 9H0v8h3c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm16.99 3.09c-.1-.75-.91-1.24-1.79-1.35-.19-.02-.4-.05-.61-.06.07-.01.14-.01.2-.02.88-.1 1.53-.61 1.44-1.35-.1-.74-.91-1.24-1.79-1.35-.42-.05-.9-.09-1.42-.12h-.01l-.94-.03c-.6-.02-1.39-.05-1.99-.1-.45-.03-.51-.36-.47-.68.43-1.15.67-2.45.62-3.74-.04-1.11-.74-2.17-1.75-2.28-.84-.09-1.45.5-1.23 1.26.7 2.47-2.58 5.43-5.25 7.08v7.72c2.08 1.33 5.44 2.01 9.35 1.93.24 0 .49-.01.77-.02h.11c.27-.02.57-.04.91-.07.88-.08 1.92-.66 1.87-1.41-.04-.65-.5-1.01-1.09-1.2.34-.03.67-.05.99-.08.89-.08 1.55-.58 1.46-1.33-.08-.75-.88-1.25-1.76-1.37-.03 0-.06-.01-.09-.01.37-.02.71-.04 1.02-.06.91-.05 1.55-.61 1.45-1.36z"],Rb=["M17 4c-.28 0-.53.11-.71.29L7 13.59 3.71 10.3A.965.965 0 003 10a1.003 1.003 0 00-.71 1.71l4 4c.18.18.43.29.71.29s.53-.11.71-.29l10-10A1.003 1.003 0 0017 4z"],Hb=["M10 20C4.48 20 0 15.52 0 10S4.48 0 10 0s10 4.48 10 10-4.48 10-10 10zm5-14c-.28 0-.53.11-.71.29L8 12.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l7-7A1.003 1.003 0 0015 6z"],Vb=["M11 9.59V4c0-.55-.45-1-1-1s-1 .45-1 1v6c0 .28.11.53.29.71l3 3a1.003 1.003 0 001.42-1.42L11 9.59zM10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"],Db=["M19 16H2V3c0-.55-.45-1-1-1s-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zm0-13.41l-7.07 7.07-4.3-3.44-.01.01A.987.987 0 007 6c-.24 0-.46.1-.63.24l-.01-.01L3 9.03V15h16V2.59z"],jb=["M19 17H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM9 16h2c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1zm6 0h2c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1zM3 16h2c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1z"],Fb=["M5 5c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1s-1 .5-1 1v2c0 .6.4 1 1 1zm10 0c.6 0 1-.4 1-1V2c0-.5-.4-1-1-1s-1 .5-1 1v2c0 .6.4 1 1 1zm-9 9H4v2h2v-2zM17 3v1c0 1.1-.9 2-2 2s-2-.9-2-2V3H7v1c0 1.1-.9 2-2 2s-2-.9-2-2V3H2c-.5 0-1 .5-1 1v14c0 .5.5 1 1 1h16c.5 0 1-.5 1-1V4c0-.5-.5-1-1-1h-1zM7 17H3v-4h4v4zm0-5H3V8h4v4zm5 5H8v-4h4v4zm0-5H8V8h4v4zm5 5h-4v-4h4v4zm0-5h-4V8h4v4zm-6 2H9v2h2v-2zm5-5h-2v2h2V9z"],Bb=["M19 16H2v-1.59l5-5 3.29 3.29c.18.19.43.3.71.3s.53-.11.71-.29l7-7a1.003 1.003 0 00-1.42-1.42L11 10.59l-3.29-3.3C7.53 7.11 7.28 7 7 7s-.53.11-.71.29L2 11.59V3c0-.55-.45-1-1-1s-1 .45-1 1v14a.998.998 0 001 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],Ub=["M9.86 2S3.98 9.18 3.98 12.17C3.99 15.4 6.78 18 9.96 18c3.18-.01 6.04-2.63 6.03-5.86C15.99 9.05 9.86 2 9.86 2z"],Gb=["M6.97 19c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-2h-6v2zm-3-15l3 4v8h6V8l3-4h-12zm5 5c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1s-1-.45-1-1V9zm6-9h-10c-.55 0-1 .45-1 1v2h12V1c0-.55-.45-1-1-1z"],qb=["M4.5 11a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm11.499 1a4 4 0 110 8 4 4 0 010-8zm-11.5 1.571a1.928 1.928 0 100 3.857 1.928 1.928 0 000-3.857zM16 14.667a1.333 1.333 0 100 2.666 1.333 1.333 0 000-2.666zM5.999 0C7.46 0 8.527.668 9 2l.851 4.256c1.433.096 2.82.217 4.147.362V2h2L16 6.862c.962.13 1.886.275 2.767.435.779.141 1.232.614 1.232 1.284L20 13a4.995 4.995 0 00-4-1.997A5.001 5.001 0 0011.099 15h-1.12a5.499 5.499 0 00-5.478-4.994 5.482 5.482 0 00-3.377 1.157H.004v-1.18L0 7.327c-.002-.597.37-1.18.999-1.302V1a1 1 0 011-1h4zm1 2H3v4h.75c1.386.027 2.749.073 4.079.139L6.999 2z"],Wb=["M16 18h-2l2 2H4l.12-.12L6 18H4c-1.1 0-2-.9-2-2V2c0-1.1 3.58-2 8-2s8 .9 8 2v14c0 1.1-.9 2-2 2zM5.5 15c.83 0 1.5-.67 1.5-1.5S6.33 12 5.5 12 4 12.67 4 13.5 4.67 15 5.5 15zM9 3H4v6h5V3zm7 0h-5v6h5V3zm-1.5 9c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"],Kb=["M19.89 18.56l-4.99-10h-.01c-.17-.33-.5-.56-.89-.56s-.72.23-.89.56h-.01l-1.73 3.46-2.8-2.3 1.99-1.64C11.44 7.34 12 6.23 12 5V4h1c.55 0 1-.45 1-1s-.45-1-1-1H8V1c0-.55-.45-1-1-1S6 .45 6 1v1H1c-.55 0-1 .45-1 1s.45 1 1 1h9v1c0 .62-.28 1.18-.73 1.54L7 8.42 4.73 6.54C4.28 6.18 4 5.62 4 5H2c0 1.23.56 2.34 1.44 3.07l1.99 1.64-3.06 2.52.01.01c-.23.18-.38.45-.38.76 0 .55.45 1 1 1 .24 0 .45-.1.63-.24l.01.01L7 11l3.36 2.77.01-.01c.02.02.05.03.08.05.01 0 .01.01.02.02l-2.36 4.73h.01c-.07.13-.12.28-.12.44 0 .55.45 1 1 1 .39 0 .72-.23.89-.56h.01L11.12 17h5.76l1.22 2.45h.01c.17.32.5.55.89.55.55 0 1-.45 1-1 0-.16-.05-.31-.11-.44zM12.12 15L14 11.24 15.88 15h-3.76z"],$b=["M17 1h-5c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1H3c-.55 0-1 .45-1 1v1h16V2c0-.55-.45-1-1-1zm.5 3h-15c-.28 0-.5.22-.5.5s.22.5.5.5H3v14c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5h.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5zM7 16c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1v8zm4 0c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1v8zm4 0c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1v8z"],Yb=["M11 15.542V20H9v-4.458L2 17l4.5-5.625L4 12l3.655-5.483L6 7l4-7 4 7-1.655-.483L16 12l-2.5-.625L18 17l-7-1.458z"],Xb=["M19 10c-.55 0-1 .45-1 1v1.37l-6.25-7.03-.01.01A.971.971 0 0011 5c-.23 0-.42.09-.59.21l-.01-.01-3.43 2.58-5.42-3.61-.01.01A.969.969 0 001 4c-.55 0-1 .45-1 1 0 .35.19.64.46.82l-.01.01 6 4 .01-.02c.15.11.33.19.54.19.23 0 .42-.09.59-.21l.01.01 3.26-2.45L16.77 14H15c-.55 0-1 .45-1 1s.45 1 1 1h4c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1z"],Zb=["M19 4h-4c-.55 0-1 .45-1 1s.45 1 1 1h1.77l-5.91 6.65L7.6 10.2l-.01.01C7.42 10.09 7.23 10 7 10c-.21 0-.39.08-.54.18l-.01-.02-6 4 .01.02c-.27.18-.46.47-.46.82 0 .55.45 1 1 1 .21 0 .39-.08.54-.18l.01.02 5.41-3.61 3.43 2.58.01-.01c.18.11.37.2.6.2.3 0 .56-.14.74-.34l.01.01L18 7.63V9c0 .55.45 1 1 1s1-.45 1-1V5c0-.55-.45-1-1-1z"],Qb=["M16 0a1 1 0 011 1v11a1 1 0 011 1v3h.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5H17v1a1 1 0 01-1 1h-1a1 1 0 01-1-1v-1H6v1a1 1 0 01-1 1H4a1 1 0 01-1-1v-1H1.5a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5H2v-3a1 1 0 011-1V1a1 1 0 112 0v3a2 2 0 012-2h6a2 2 0 012 2V1a1 1 0 011-1zm-4 10H8a1 1 0 00-1 1v4a1 1 0 001 1h4a1 1 0 001-1v-4a1 1 0 00-1-1zm-7 4H4a1 1 0 000 2h1a1 1 0 000-2zm11 0h-1a1 1 0 000 2h1a1 1 0 000-2zm-4.5 0a.5.5 0 110 1h-3l-.09-.008A.5.5 0 018.5 14zm0-1.5a.5.5 0 110 1h-3l-.09-.008a.5.5 0 01.09-.992zm0-1.5a.5.5 0 110 1h-3l-.09-.008A.5.5 0 018.5 11zM14 5H6v3h8V5z"],Jb=["M5 0H1C.45 0 0 .45 0 1v18c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm14.71 9.29l-3-3A1.003 1.003 0 0015 7v6a1.003 1.003 0 001.71.71l3-3c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71zM12 0H8c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],ew=["M16.434 0a1 1 0 01.857.486L20 5v14a1 1 0 01-1 1H1a1 1 0 01-1-1V5L2.709.486A1 1 0 013.566 0h12.868zM10 8c-.28 0-.53.11-.71.29l-3 3-.084.096A1.003 1.003 0 007.71 12.71L9 11.41v4.58l.007.116c.058.496.482.884.993.884.55 0 1-.45 1-1v-4.58l1.29 1.29.081.073c.171.139.389.227.629.227a1.003 1.003 0 00.71-1.71l-3-3-.096-.084A1.002 1.002 0 0010 8zm6-6H4L2 5.002h16L16 2z"],tw=["M10 17c3.3 0 6-2.7 6-6V3.5c0-.8-.7-1.5-1.5-1.5S13 2.7 13 3.5V11c0 1.7-1.3 3-3 3s-3-1.3-3-3V3.5C7 2.7 6.3 2 5.5 2S4 2.7 4 3.5V11c0 3.3 2.7 6 6 6zM16.5 19h-13c-.3 0-.5.2-.5.5s.2.5.5.5h13c.3 0 .5-.2.5-.5s-.2-.5-.5-.5z"],nw=["M5 14c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm9-9H3.41L5.7 2.71c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71l-4 4C.11 5.47 0 5.72 0 6c0 .28.11.53.29.71l4 4a1.003 1.003 0 001.42-1.42L3.41 7H14c2.21 0 4 1.79 4 4s-1.79 4-4 4H9v2h5c3.31 0 6-2.69 6-6s-2.69-6-6-6z"],rw=["M4.5 6C2.01 6 0 8.01 0 10.5S2.01 15 4.5 15 9 12.99 9 10.5 6.99 6 4.5 6zm11 0C13.01 6 11 8.01 11 10.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5S17.99 6 15.5 6z"],ow=["M13 11.988v-4H4v-1l1-3h6V2.003a35.867 35.867 0 00-1-.015c-3.593 0-5.332.488-5.332.488-.67.188-1.424.864-1.674 1.503l-.004.009H3l-1 3H1a1 1 0 100 2h.333l-.28.84-.053.16v7.5a1.5 1.5 0 103 0v-.5h12v.5a1.5 1.5 0 103 0v-4.5h-5a1 1 0 01-1-1zm-8.5 1a1.5 1.5 0 110-3 1.5 1.5 0 010 3zM19.83 2.782a2.392 2.392 0 00-.592-.853c-.276-.264-.64-.485-1.09-.663C17.695 1.09 17.132 1 16.457 1c-.523 0-.996.084-1.418.253a3.157 3.157 0 00-1.084.703c-.299.3-.532.656-.698 1.065-.166.41-.254.861-.264 1.353h2.096c0-.246.028-.476.085-.69.057-.214.145-.4.264-.56.119-.16.27-.287.456-.383.185-.095.406-.143.663-.143.38 0 .677.1.89.3.215.2.321.51.321.93.01.245-.035.45-.135.614-.1.164-.23.314-.392.45a8.598 8.598 0 01-.527.41 3.53 3.53 0 00-.542.485c-.171.187-.32.412-.45.676-.127.265-.206.592-.234.984v.614h1.924v-.519c.038-.273.13-.5.278-.683.147-.182.316-.343.506-.484a13.5 13.5 0 01.606-.424c.214-.14.408-.312.584-.512s.323-.442.442-.724.178-.642.178-1.079c0-.264-.059-.548-.178-.854zm-4.54 6.099v2.103h2.237V8.881H15.29z"],iw=["M14 1c-2.21 0-4 1.79-4 4v4H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-8c0-.55-.45-1-1-1h-2V5c0-1.1.9-2 2-2s2 .9 2 2v2c0 .55.45 1 1 1s1-.45 1-1V5c0-2.21-1.79-4-4-4z"],aw=["M11.77 1.16c-.81.81-.74 2.28.02 3.76L6.1 8.71c-2.17-1.46-4.12-2-4.94-1.18l4.95 4.95-2.12 3.54 3.54-2.12 4.95 4.95c.82-.82.27-2.77-1.19-4.94l3.8-5.69c1.47.76 2.94.84 3.76.02l-7.08-7.08z"],lw=["M11.47 12.46c.16-.36.29-.74.38-1.14 0-.02.01-.04.01-.06.09-.4.14-.82.14-1.26 0-.44-.05-.86-.14-1.27 0-.02-.01-.04-.01-.06-.09-.4-.22-.78-.38-1.14-.01-.02-.02-.03-.02-.05a5.94 5.94 0 00-.61-1.03c0-.01-.01-.01-.01-.02a6.308 6.308 0 00-2.1-1.77c-.19-.1-.39-.18-.59-.26-.03-.01-.06-.02-.1-.03-.17-.07-.34-.12-.52-.17-.05-.01-.1-.03-.15-.04a4.34 4.34 0 00-.52-.09c-.05-.01-.11-.02-.17-.03C6.46 4.02 6.23 4 6 4c-3.31 0-6 2.69-6 6s2.69 6 6 6c.23 0 .46-.02.68-.04l.17-.03c.17-.02.34-.06.51-.09.05-.01.1-.03.15-.04.18-.05.36-.1.53-.17l.09-.03a5.973 5.973 0 002.68-2.04c0-.01.01-.01.01-.02.24-.32.44-.66.61-1.03.02-.01.03-.03.04-.05zM14 4c-.99 0-1.91.24-2.73.66a7.51 7.51 0 010 10.68c.82.42 1.74.66 2.73.66 3.31 0 6-2.69 6-6s-2.69-6-6-6z"],sw=["M10 0C6.71 0 3.82 1.6 2 4.05V2c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1h4c.55 0 1-.45 1-1s-.45-1-1-1H3.76C5.22 3.17 7.47 2 10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8c0-.55-.45-1-1-1s-1 .45-1 1c0 5.52 4.48 10 10 10s10-4.48 10-10S15.52 0 10 0zm4 7c-.28 0-.53.11-.71.29L9 11.58 6.71 9.29a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l5-5A1.003 1.003 0 0014 7z"],cw=["M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm4 10c-.28 0-.53-.11-.71-.29L11 7.41V15c0 .55-.45 1-1 1s-1-.45-1-1V7.41l-2.29 2.3a1.003 1.003 0 01-1.42-1.42l4-4c.18-.18.43-.29.71-.29s.53.11.71.29l4 4A1.003 1.003 0 0114 10z"],uw=["M10 0C4.48 0 0 4.48 0 10c0 .33.02.65.05.97.01.12.03.23.05.35.03.2.05.4.09.59.03.14.06.28.1.42l.12.48c.05.16.1.31.15.46.05.13.09.27.15.4.06.16.13.32.21.48.05.11.1.22.16.33.09.17.17.34.27.5.05.09.1.17.15.25.11.18.22.35.34.52.04.06.08.11.12.17 1.19 1.62 2.85 2.86 4.78 3.53l.09.03c.46.15.93.27 1.42.36.08.01.17.03.25.04.49.07.99.12 1.5.12s1.01-.05 1.5-.12c.08-.01.17-.02.25-.04.49-.09.96-.21 1.42-.36l.09-.03c1.93-.67 3.59-1.91 4.78-3.53.04-.05.08-.1.12-.16.12-.17.23-.35.34-.53.05-.08.1-.16.15-.25.1-.17.19-.34.27-.51.05-.11.1-.21.15-.32.07-.16.14-.32.21-.49.05-.13.1-.26.14-.39.05-.15.11-.31.15-.46.05-.16.08-.32.12-.48.03-.14.07-.28.1-.42.04-.19.06-.39.09-.59.02-.12.04-.23.05-.35.05-.32.07-.64.07-.97 0-5.52-4.48-10-10-10zm0 18a7.94 7.94 0 01-6.15-2.89c.84-.44 1.86-.82 2.67-1.19 1.45-.65 1.3-1.05 1.35-1.59.01-.07.01-.14.01-.21-.51-.45-.93-1.08-1.2-1.8l-.01-.01c0-.01-.01-.02-.01-.03a4.42 4.42 0 01-.15-.48c-.33-.07-.53-.44-.61-.79-.08-.14-.23-.48-.2-.87.05-.51.26-.74.49-.83v-.08c0-.63.06-1.55.17-2.15.02-.17.06-.33.11-.5.21-.73.66-1.4 1.26-1.86.62-.47 1.5-.72 2.28-.72.78 0 1.65.25 2.27.73.6.46 1.05 1.12 1.26 1.86.05.16.08.33.11.5.11.6.17 1.51.17 2.15v.09c.22.1.42.33.46.82.04.39-.12.73-.2.87-.07.34-.27.71-.6.78-.04.16-.09.33-.15.48 0 .01-.02.05-.02.05-.26.71-.67 1.33-1.17 1.78 0 .08.01.16.01.23.05.54-.15.94 1.31 1.59.81.36 1.84.74 2.68 1.19A7.958 7.958 0 0110 18z"],dw=["M4.93 3.79a9.1 9.1 0 012.2-2.27L7.29 1c-1.38.59-2.57 1.33-3.55 2.22C2.46 4.39 1.49 5.72.83 7.23.28 8.51 0 9.81 0 11.12c0 2.28.83 4.57 2.49 6.86l.16-.55c-.49-1.23-.73-2.38-.73-3.44 0-1.67.28-3.46.84-5.36.55-1.9 1.28-3.51 2.17-4.84zm9.38 8.39l-.33-.2c-.37.54-.65.87-.82 1a.74.74 0 01-.42.12c-.19 0-.38-.12-.57-.37-.31-.42-.73-1.59-1.26-3.5.47-.85.86-1.41 1.19-1.67.23-.19.48-.29.74-.29.1 0 .28.04.53.11.26.07.48.11.68.11.27 0 .5-.1.68-.29.18-.19.27-.44.27-.75 0-.33-.09-.58-.27-.77-.18-.19-.44-.29-.78-.29-.3 0-.59.07-.86.22s-.61.47-1.02.97c-.31.37-.77 1.02-1.37 1.94a9.683 9.683 0 00-1.24-3.14l-3.24.59-.06.36c.24-.05.44-.07.61-.07.32 0 .59.14.8.43.33.45.8 1.8 1.39 4.07-.47.64-.78 1.06-.96 1.26-.28.32-.52.53-.7.62-.14.08-.3.11-.48.11-.14 0-.36-.08-.67-.23-.21-.1-.4-.15-.57-.15-.31 0-.57.11-.78.32s-.31.48-.31.8c0 .31.09.55.28.75.19.19.44.29.76.29.31 0 .6-.07.87-.2s.61-.42 1.02-.86c.41-.44.98-1.13 1.7-2.08.28.9.52 1.56.72 1.97.2.41.44.71.7.89.26.18.59.27.99.27.38 0 .77-.14 1.17-.43.54-.36 1.07-1 1.61-1.91zM17.51 1l-.15.54c.49 1.24.73 2.39.73 3.45 0 1.43-.21 2.96-.63 4.6-.33 1.26-.75 2.45-1.27 3.55-.52 1.11-1.02 1.97-1.51 2.6-.49.62-1.09 1.2-1.8 1.72l-.17.53c1.38-.59 2.57-1.34 3.55-2.23 1.29-1.17 2.26-2.5 2.91-4 .55-1.28.83-2.59.83-3.91 0-2.27-.83-4.56-2.49-6.85z"],hw=["M8 7H7c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zM3 9H2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1zm10-5h-1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm5-4h-1c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"],fw=["M3 0H2c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm5 4H7c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm5 3h-1c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1zm5 2h-1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1z"],pw=["M1 2h18c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1s.45 1 1 1zm2 5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1H3zm16 11H1c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],vw=["M0 0h20v1a1 1 0 01-1 1H1a1 1 0 01-1-1V0zm6.293 11.293a.999.999 0 000 1.412l2.962 2.963.038.04A.996.996 0 0010 16a.996.996 0 00.745-.332l2.962-2.963a.999.999 0 00-1.412-1.412L10 13.587l-2.295-2.294a.999.999 0 00-1.412 0zm0-3.998a.999.999 0 101.412 1.412L10 6.413l2.295 2.294a.999.999 0 101.412-1.412l-2.962-2.963A.996.996 0 0010 4a.996.996 0 00-.745.332L6.293 7.295zM20 19v1H0v-1a1 1 0 011-1h18a1 1 0 011 1z"],mw=["M19 2H1c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h18c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zM7 14V6l6 4-6 4z"],gw=["M15.249 13.835l1.251 1.251.354-.354.087-.077a1 1 0 011.327 1.491l-2.122 2.122-.087.077a1 1 0 01-1.327-1.491l.354-.354-1.251-1.251A6.466 6.466 0 0111 16.424L10.999 18h.501a1 1 0 01.117 1.993L11.5 20h-3a1 1 0 01-.117-1.993L8.5 18h.499v-1.577a6.46 6.46 0 01-2.538-.97L5.414 16.5l.354.354a1 1 0 01-1.327 1.491l-.087-.077-2.122-2.122a1 1 0 011.327-1.491l.087.077.354.354.97-.97a6.472 6.472 0 01-1.384-3.057l-.025.002L2 11.06v.44a1 1 0 01-1.993.117L0 11.5v-3a1 1 0 011.993-.117L2 8.5v.56h1.567A6.471 6.471 0 014.97 5.883l-.971-.969-.353.354-.087.077a1 1 0 01-1.327-1.491l2.122-2.122.087-.077a1 1 0 011.327 1.491l-.354.353 1.047 1.048A6.46 6.46 0 019 3.577L9 2h-.5A1 1 0 018.383.007L8.5 0h3a1 1 0 01.117 1.993L11.5 2H11v1.577a6.466 6.466 0 012.838 1.176l.04-.046L15.086 3.5l-.353-.353a1 1 0 011.327-1.491l.087.077 2.122 2.122a1 1 0 01-1.327 1.491l-.087-.077-.354-.354-1.207 1.207-.046.041a6.467 6.467 0 011.16 2.733H18V8.5a1 1 0 011.993-.117L20 8.5v3a1 1 0 01-1.993.117L18 11.5v-.605h-1.561a6.466 6.466 0 01-1.19 2.94zM12.5 11a1.5 1.5 0 100 3 1.5 1.5 0 000-3zM8 6a2 2 0 100 4 2 2 0 000-4z"],yw=["M15.92 3.93l-1.6 1.18A7.948 7.948 0 0116 10c0 1.84-.63 3.54-1.68 4.89l1.6 1.18A9.878 9.878 0 0018 10c0-2.29-.78-4.39-2.08-6.07zM11 3c-.28 0-.53.11-.71.29L7.59 6H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h4.59l2.71 2.71c.17.18.42.29.7.29.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],bw=["M14 3c-.28 0-.53.11-.71.29L10.59 6H6c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h4.59l2.71 2.71c.17.18.42.29.7.29.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ww=["M9 3.43c-.28 0-.53.11-.71.29l-2.7 2.71H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h4.59l2.71 2.71a1.003 1.003 0 001.71-.71v-12c-.01-.55-.46-1-1.01-1zm8.31-1.56l-1.62 1.2C17.14 5.16 18 7.69 18 10.43s-.86 5.27-2.31 7.37l1.62 1.2C19 16.57 20 13.62 20 10.43c0-3.18-1-6.13-2.69-8.56zm-3.39 2.49l-1.6 1.18A7.948 7.948 0 0114 10.43c0 1.84-.63 3.54-1.68 4.89l1.6 1.18A9.94 9.94 0 0016 10.43c0-2.28-.78-4.38-2.08-6.07z"],_w=["M16 10h-2c-.23 0-.42-.09-.59-.21l-.01.01-1.69-1.27-.63 3.14 2.62 2.62c.19.18.3.43.3.71v4c0 .55-.45 1-1 1s-1-.45-1-1v-3.59L9.39 12.8l-2.45 6.55h-.01c-.14.38-.5.65-.93.65-.55 0-1-.45-1-1 0-.12.03-.24.07-.35h-.01L9.43 7h-2.9l-1.7 2.55-.01-.01c-.18.27-.47.46-.82.46-.55 0-1-.45-1-1 0-.21.08-.39.18-.54l-.01-.01 2-3 .02.01C5.36 5.19 5.65 5 6 5h4.18l.36-.96c-.33-.43-.54-.96-.54-1.54a2.5 2.5 0 015 0A2.5 2.5 0 0112.5 5c-.06 0-.12-.01-.18-.02l-.44 1.18L14.33 8H16c.55 0 1 .45 1 1s-.45 1-1 1z"],Ew=["M19.86 17.52l.01-.01-9-16-.01.01C10.69 1.21 10.37 1 10 1s-.69.21-.86.52l-.01-.01-9 16 .01.01c-.08.14-.14.3-.14.48 0 .55.45 1 1 1h18c.55 0 1-.45 1-1 0-.18-.06-.34-.14-.48zM11 17H9v-2h2v2zm0-3H9V6h2v8z"],xw=["M13 7h2c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1zm-9 8h1c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm4-6h2c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm11-5h-1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h1c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm0 12H2V3c0-.55-.45-1-1-1s-1 .45-1 1v14a.998.998 0 001 1h18c.55 0 1-.45 1-1s-.45-1-1-1z"],Sw=["M4.948 2.682a1 1 0 00-1.897.001l-.005.016-.027.074a6.05 6.05 0 01-.6 1.172C1.958 4.635 1.468 5 .999 5a1 1 0 000 2c1.457 0 2.442-1.027 3-1.825C4.558 5.973 5.543 7 7 7s2.442-1.027 3-1.825C10.558 5.973 11.543 7 13 7s2.442-1.027 3-1.825C16.558 5.973 17.544 7 19 7a1 1 0 100-2c-.47 0-.958-.365-1.418-1.055a6.048 6.048 0 01-.628-1.246l-.006-.016a1 1 0 00-1.896 0l-.006.016a5.868 5.868 0 01-.147.364c-.11.246-.272.568-.481.882C13.958 4.635 13.469 5 13 5c-.47 0-.958-.365-1.418-1.055a6.048 6.048 0 01-.628-1.246l-.006-.016a1 1 0 00-1.897 0l-.005.016-.027.074a6.05 6.05 0 01-.6 1.172C7.958 4.635 7.468 5 6.999 5c-.47 0-.958-.365-1.418-1.055A6.05 6.05 0 014.954 2.7l-.006-.016v-.001zm0 6a1 1 0 00-1.897.001l-.005.016-.027.074a6.05 6.05 0 01-.6 1.172c-.46.69-.95 1.055-1.419 1.055a1 1 0 100 2c1.457 0 2.442-1.027 3-1.825C4.558 11.973 5.543 13 7 13s2.442-1.027 3-1.825c.558.798 1.543 1.825 3 1.825s2.442-1.027 3-1.825c.558.798 1.544 1.825 3 1.825a1 1 0 100-2c-.47 0-.958-.365-1.418-1.055a6.048 6.048 0 01-.628-1.246l-.006-.016a1 1 0 00-1.896 0l-.006.016a5.868 5.868 0 01-.147.364c-.11.246-.272.568-.481.882-.46.69-.949 1.055-1.418 1.055-.47 0-.958-.365-1.418-1.055a6.048 6.048 0 01-.628-1.246l-.006-.016a1 1 0 00-1.897 0l-.005.016-.027.074a6.05 6.05 0 01-.6 1.172c-.46.69-.95 1.055-1.419 1.055-.47 0-.958-.365-1.418-1.055A6.05 6.05 0 014.954 8.7l-.006-.016zm-1.896-6zm1.896 12l.006.017.027.074a6.053 6.053 0 00.6 1.172c.46.69.95 1.055 1.419 1.055.47 0 .958-.365 1.418-1.055a6.053 6.053 0 00.628-1.246l.005-.016a1 1 0 011.897 0l.006.016.027.074a6.051 6.051 0 00.6 1.172c.46.69.95 1.055 1.419 1.055.47 0 .958-.365 1.418-1.055a6.051 6.051 0 00.628-1.246l.006-.016a1 1 0 011.896 0l.006.016.027.074a6.051 6.051 0 00.6 1.172c.46.69.95 1.055 1.419 1.055a1 1 0 110 2c-1.456 0-2.442-1.027-3-1.825-.558.798-1.543 1.825-3 1.825s-2.442-1.027-3-1.825C9.442 17.973 8.457 19 7 19s-2.442-1.027-3-1.825C3.442 17.973 2.457 19 1 19a1 1 0 110-2c.47 0 .958-.365 1.418-1.055a6.053 6.053 0 00.628-1.246l.005-.016a1 1 0 011.897-.001z"],Ow=["M18 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM2 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm15-1h2V5h-2v10zM3 5H1v10h2V5zM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm3 3h10V1H5v2zm13 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM5 19h10v-2H5v2z"],Cw=["M1 4h18c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zm1 2v8h16V6H2zm4 5c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm4 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm4 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"],Mw=["M17 0H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H4v-4h12v4zm0-5H4V2h12v11z"],zw=["M17 0H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-1 18H4V7h12v11zm0-12H4V2h12v4z"],Pw=["M12 6a3 3 0 113 3H4a1 1 0 000 2h11a5 5 0 10-5-5 1 1 0 102 0zM1 12a1 1 0 100 2h10a2 2 0 110 4c-.934 0-1.803-.614-2.057-1.333a1 1 0 10-1.886.666C7.627 18.944 9.321 20 11 20a4 4 0 000-8H1z"],Tw=["M19.8 4.44L16.13 8.1l-3.55-.71-.71-3.53L15.54.21c-2.01-.53-4.23-.03-5.8 1.53-1.86 1.85-2.23 4.6-1.14 6.83L.59 16.59C.22 16.95 0 17.45 0 18a2 2 0 002 2c.55 0 1.05-.22 1.41-.59l8.03-8.04c2.23 1.05 4.97.67 6.82-1.16 1.57-1.56 2.07-3.77 1.54-5.77z"],Aw=["M19.56 17.44l-4.94-4.94A8.004 8.004 0 0016 8c0-4.42-3.58-8-8-8S0 3.58 0 8s3.58 8 8 8c1.67 0 3.21-.51 4.5-1.38l4.94 4.94a1.498 1.498 0 102.12-2.12zM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm3-7H9V5c0-.55-.45-1-1-1s-1 .45-1 1v2H5c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V9h2c.55 0 1-.45 1-1s-.45-1-1-1z"],Lw=["M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zm8.56 10.44l-4.94-4.94A8.004 8.004 0 0016 8c0-4.42-3.58-8-8-8S0 3.58 0 8s3.58 8 8 8c1.67 0 3.21-.51 4.5-1.38l4.94 4.94a1.498 1.498 0 102.12-2.12zM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"],kw=["M1 7c.55 0 1-.45 1-1V2h4c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v5c0 .55.45 1 1 1zm5 1a1.003 1.003 0 00-1.71-.71l-2 2c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L4.41 10 5.7 8.71c.19-.18.3-.43.3-.71zm2-2c.28 0 .53-.11.71-.29L10 4.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2C10.53 2.11 10.28 2 10 2s-.53.11-.71.29l-2 2A1.003 1.003 0 008 6zM6 18H2v-4c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1zm8-6a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l1.3 1.29-1.29 1.29c-.19.18-.3.43-.3.71zm5-12h-5c-.55 0-1 .45-1 1s.45 1 1 1h4v4c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1zm-7 14c-.28 0-.53.11-.71.29L10 15.59 8.71 14.3A.965.965 0 008 14a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29s.53-.11.71-.29l2-2A1.003 1.003 0 0012 14zm7-1c-.55 0-1 .45-1 1v4h-4c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1z"];var Nw=function(){return Nw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Nw.apply(this,arguments)};function Iw(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Rw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Hw=/[^A-Z0-9]+/gi;function Vw(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}function Dw(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}var jw,Fw=n(40451),Bw=n(72778),Uw=n(35307),Gw=n(90322);!function(e){e[e.STANDARD=16]="STANDARD",e[e.LARGE=20]="LARGE"}(jw||(jw={}));var qw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.prototype.render=function(){var e=this.props.icon;if(null==e||"boolean"==typeof e)return null;if("string"!=typeof e)return e;var t=this.props,n=t.className,r=t.color,o=t.htmlTitle,a=t.iconSize,c=t.intent,u=t.size,d=void 0===u?null!=a?a:jw.STANDARD:u,h=t.svgProps,f=t.title,p=t.tagName,v=void 0===p?"span":p,m=(0,i._T)(t,["className","color","htmlTitle","iconSize","intent","size","svgProps","title","tagName"]),g=d>=jw.LARGE?jw.LARGE:jw.STANDARD,y=this.renderSvgPaths(g,e),b=l()(Fw.ICON,Fw.iconClass(e),Fw.intentClass(c),n),w="0 0 ".concat(g," ").concat(g),_=(0,Gw.EL)("iconTitle");return s.createElement(v,(0,i.pi)((0,i.pi)({"aria-hidden":!f||void 0},m),{className:b,title:o}),s.createElement("svg",(0,i.pi)({fill:r,"data-icon":e,width:d,height:d,viewBox:w,"aria-labelledby":f?_:void 0,role:"img"},h),f&&s.createElement("title",{id:_},f),y))},t.prototype.renderSvgPaths=function(e,t){var n,i,a,l=(e===jw.STANDARD?r:o)[(n=t,i=n,void 0===a&&(a={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?Rw:n,o=t.stripRegexp,i=void 0===o?Hw:o,a=t.transform,l=void 0===a?Iw:a,s=t.delimiter,c=void 0===s?" ":s,u=Vw(Vw(e,r,"$1\0$2"),i,"\0"),d=0,h=u.length;"\0"===u.charAt(d);)d++;for(;"\0"===u.charAt(h-1);)h--;return u.slice(d,h).split("\0").map(l).join(c)}(i,Nw({delimiter:"",transform:Dw},a)))];return null==l?null:l.map((function(e,t){return s.createElement("path",{key:t,d:e,fillRule:"evenodd"})}))},t.displayName="".concat(Bw.g,".Icon"),t}(Uw.U)},69702:(e,t,n)=>{"use strict";n.d(t,{bZ:()=>pt,AN:()=>dt.A,sy:()=>Ct,V6:()=>Tt.V6,aG:()=>vt,Oo:()=>Mt,zx:()=>dt.z,hE:()=>zt,UW:()=>At,Zb:()=>kt,XZ:()=>on,EK:()=>Tt.EK,UO:()=>Nt,iT:()=>It,xV:()=>kr,Tb:()=>Vt,eQ:()=>en,Vq:()=>ht.V,a7:()=>Dt.a,cN:()=>jt,yd:()=>Ft,iz:()=>Wt,dy:()=>Kt,mC:()=>qt,sL:()=>Zt,xH:()=>wr,S2:()=>an,cw:()=>ln,H1:()=>Tt.H1,H2:()=>Tt.H2,H3:()=>Tt.H3,H4:()=>Tt.H4,H5:()=>Tt.H5,H6:()=>Tt.H6,Lu:()=>En,vl:()=>xn,qB:()=>tr,gZ:()=>er,qm:()=>On.q,SV:()=>Sn.S,m:()=>In.m,No:()=>kn,hj:()=>Hn,JO:()=>ft.I,Jh:()=>ft.J,BZ:()=>cn,M2:()=>Cn.M,Qs:()=>Cn.Q,__:()=>Tt.__,v2:()=>gt,R:()=>Vn,sN:()=>bt,Zz:()=>sr,E:()=>Ut,wp:()=>Un,ox:()=>Dn,fT:()=>Fn,ym:()=>Bn,tR:()=>Gn,jZ:()=>Nn,Af:()=>mn,OL:()=>Tt.OL,Dj:()=>xt,aV:()=>Be.a,qA:()=>Pr,lc:()=>$n,hg:()=>Xn,J2:()=>ot,V3:()=>rt,I2:()=>Zn,h_:()=>Qn.h,SU:()=>Tt.SU,ko:()=>Jn,Y8:()=>rn,Ee:()=>wn,U2:()=>hr,z_:()=>Ge,iR:()=>fr,$j:()=>pr.$,Ey:()=>pr.E,rs:()=>nn,OK:()=>vr,mQ:()=>Er,Vp:()=>mr,EG:()=>Mr,xv:()=>yt,Kx:()=>_n,FN:()=>zr,x7:()=>Tr,u:()=>qe,mp:()=>Lr,OF:()=>Ar,UL:()=>Tt.UL,A6:()=>Mn.A6,q1:()=>Mn.q1,$w:()=>Mn.$w,dX:()=>An,SG:()=>Mn.SG,wq:()=>Tn});var r={};n.r(r),n.d(r,{hide:()=>st,isOpen:()=>ct,show:()=>lt}),n(62435);var o=n(18465),i=n(94184),a=n.n(i),l=n(67294),s=n(73935),c=n(40451),u=n(53766),d=n(35307),h=n(87462),f=n(51721),p=n(97326);function v(e){return v="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},v(e)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===v(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=n(42473),y=n.n(g),b=n(88740),w=n.n(b),_=w()(),E=w()(),x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,m((0,p.Z)((0,p.Z)(t)),"referenceNode",void 0),m((0,p.Z)((0,p.Z)(t)),"setReferenceNode",(function(e){e&&t.referenceNode!==e&&(t.referenceNode=e,t.forceUpdate())})),t}(0,f.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.referenceNode=null},n.render=function(){return l.createElement(_.Provider,{value:this.referenceNode},l.createElement(E.Provider,{value:this.setReferenceNode},this.props.children))},t}(l.Component),S=function(e){return Array.isArray(e)?e[0]:e},O=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},C=function(e,t){if("function"==typeof e)return O(e,t);null!=e&&(e.current=t)},M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,m((0,p.Z)((0,p.Z)(t)),"refHandler",(function(e){C(t.props.innerRef,e),O(t.props.setReferenceNode,e)})),t}(0,f.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){C(this.props.innerRef,null)},n.render=function(){return y()(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),S(this.props.children)({ref:this.refHandler})},t}(l.Component);function z(e){return l.createElement(E.Consumer,null,(function(t){return l.createElement(M,(0,h.Z)({setReferenceNode:t},e))}))}var P=n(63366),T=n(10251),A=n.n(T),L="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,k=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(L&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),N=L&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),k))}};function I(e){return e&&"[object Function]"==={}.toString.call(e)}function R(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function H(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function V(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=R(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:V(H(e))}function D(e){return e&&e.referenceNode?e.referenceNode:e}var j=L&&!(!window.MSInputMethodContext||!document.documentMode),F=L&&/MSIE 10/.test(navigator.userAgent);function B(e){return 11===e?j:10===e?F:j||F}function U(e){if(!e)return document.documentElement;for(var t=B(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===R(n,"position")?U(n):n:e?e.ownerDocument.documentElement:document.documentElement}function G(e){return null!==e.parentNode?G(e.parentNode):e}function q(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&U(a.firstElementChild)!==a?U(s):s;var c=G(e);return c.host?q(c.host,t):q(e,G(t).host)}function W(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function K(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function $(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],B(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Y(e){var t=e.body,n=e.documentElement,r=B(10)&&getComputedStyle(n);return{height:$("Height",t,n,r),width:$("Width",t,n,r)}}var X=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Z=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function J(e){return Q({},e,{right:e.left+e.width,bottom:e.top+e.height})}function ee(e){var t={};try{if(B(10)){t=e.getBoundingClientRect();var n=W(e,"top"),r=W(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?Y(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,s=e.offsetWidth-a,c=e.offsetHeight-l;if(s||c){var u=R(e);s-=K(u,"x"),c-=K(u,"y"),o.width-=s,o.height-=c}return J(o)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=B(10),o="HTML"===t.nodeName,i=ee(e),a=ee(t),l=V(e),s=R(t),c=parseFloat(s.borderTopWidth),u=parseFloat(s.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=J({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var h=parseFloat(s.marginTop),f=parseFloat(s.marginLeft);d.top-=c-h,d.bottom-=c-h,d.left-=u-f,d.right-=u-f,d.marginTop=h,d.marginLeft=f}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=W(t,"top"),o=W(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(d,t)),d}function ne(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===R(e,"position"))return!0;var n=H(e);return!!n&&ne(n)}function re(e){if(!e||!e.parentElement||B())return document.documentElement;for(var t=e.parentElement;t&&"none"===R(t,"transform");)t=t.parentElement;return t||document.documentElement}function oe(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?re(e):q(e,D(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=te(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:W(n),l=t?0:W(n,"left");return J({top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=V(H(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var s=te(l,a,o);if("HTML"!==l.nodeName||ne(a))i=s;else{var c=Y(e.ownerDocument),u=c.height,d=c.width;i.top+=s.top-s.marginTop,i.bottom=u+s.top,i.left+=s.left-s.marginLeft,i.right=d+s.left}}var h="number"==typeof(n=n||0);return i.left+=h?n:n.left||0,i.top+=h?n:n.top||0,i.right-=h?n:n.right||0,i.bottom-=h?n:n.bottom||0,i}function ie(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=oe(n,r,i,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map((function(e){return Q({key:e},l[e],{area:(t=l[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=s.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:s[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function ae(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return te(n,r?re(t):q(t,D(n)),r)}function le(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function se(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function ce(e,t,n){n=n.split("-")[0];var r=le(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",l=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[s]/2-r[s]/2,o[l]=n===l?t[l]-r[c]:t[se(l)],o}function ue(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function de(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=ue(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&I(n)&&(t.offsets.popper=J(t.offsets.popper),t.offsets.reference=J(t.offsets.reference),t=n(t,e))})),t}function he(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ae(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ie(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=ce(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=de(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function fe(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function pe(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function ve(){return this.state.isDestroyed=!0,fe(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[pe("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function me(e){var t=e.ownerDocument;return t?t.defaultView:window}function ge(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||ge(V(i.parentNode),t,n,r),r.push(i)}function ye(e,t,n,r){n.updateBound=r,me(e).addEventListener("resize",n.updateBound,{passive:!0});var o=V(e);return ge(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function be(){this.state.eventsEnabled||(this.state=ye(this.reference,this.options,this.state,this.scheduleUpdate))}function we(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,me(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function _e(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Ee(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&_e(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var xe=L&&/Firefox/i.test(navigator.userAgent);function Se(e,t,n){var r=ue(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ce=Oe.slice(3);function Me(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Ce.indexOf(e),r=Ce.slice(n+1).concat(Ce.slice(0,n));return t?r.reverse():r}var ze={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",c=l?"width":"height",u={start:Z({},s,i[s]),end:Z({},s,i[s]+i[c]-a[c])};e.offsets.popper=Q({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r=t.offset,o=e.placement,i=e.offsets,a=i.popper,l=i.reference,s=o.split("-")[0];return n=_e(+r)?[+r,0]:function(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=a.indexOf(ue(a,(function(e){return-1!==e.search(/,|\s/)})));a[l]&&-1===a[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];return i?0===a.indexOf("%")?J("%p"===a?n:r)[t]/100*i:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){_e(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}(r,a,l,s),"left"===s?(a.top+=n[0],a.left-=n[1]):"right"===s?(a.top+=n[0],a.left+=n[1]):"top"===s?(a.left+=n[0],a.top-=n[1]):"bottom"===s&&(a.left+=n[0],a.top+=n[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||U(e.instance.popper);e.instance.reference===n&&(n=U(n));var r=pe("transform"),o=e.instance.popper.style,i=o.top,a=o.left,l=o[r];o.top="",o.left="",o[r]="";var s=oe(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=l,t.boundaries=s;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(u[e],s[e])),Z({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>s[e]&&!t.escapeWithReference&&(r=Math.min(u[n],s[e]-("right"===e?u.width:u.height))),Z({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Q({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),l=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[l]<i(r[s])&&(e.offsets.popper[s]=i(r[s])-n[c]),n[s]>i(r[l])&&(e.offsets.popper[s]=i(r[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Se(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",u=s?"Top":"Left",d=u.toLowerCase(),h=s?"left":"top",f=s?"bottom":"right",p=le(r)[c];l[f]-p<a[d]&&(e.offsets.popper[d]-=a[d]-(l[f]-p)),l[d]+p>a[f]&&(e.offsets.popper[d]+=l[d]+p-a[f]),e.offsets.popper=J(e.offsets.popper);var v=l[d]+l[c]/2-p/2,m=R(e.instance.popper),g=parseFloat(m["margin"+u]),y=parseFloat(m["border"+u+"Width"]),b=v-e.offsets.popper[d]-g-y;return b=Math.max(Math.min(a[c]-p,b),0),e.arrowElement=r,e.offsets.arrow=(Z(n={},d,Math.round(b)),Z(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(fe(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=oe(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=se(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[r,o];break;case"clockwise":a=Me(r);break;case"counterclockwise":a=Me(r,!0);break;default:a=t.behavior}return a.forEach((function(l,s){if(r!==l||a.length===s+1)return e;r=e.placement.split("-")[0],o=se(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),v=d(c.top)<d(n.top),m=d(c.bottom)>d(n.bottom),g="left"===r&&f||"right"===r&&p||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&p||!y&&"start"===i&&v||!y&&"end"===i&&m),w=!!t.flipVariationsByContent&&(y&&"start"===i&&p||y&&"end"===i&&f||!y&&"start"===i&&m||!y&&"end"===i&&v),_=b||w;(h||g||_)&&(e.flipped=!0,(h||g)&&(r=a[s+1]),_&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=Q({},e.offsets.popper,ce(e.instance.popper,e.offsets.reference,e.placement)),e=de(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(l?o[a?"width":"height"]:0),e.placement=se(t),e.offsets.popper=J(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Se(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=ue(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=ue(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,s=void 0!==i?i:t.gpuAcceleration,c=U(e.instance.popper),u=ee(c),d={position:o.position},h=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,l=function(e){return e},s=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),h=t?u||d||s%2==c%2?i:a:l,f=t?i:l;return{left:h(s%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}(e,window.devicePixelRatio<2||!xe),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",v=pe("transform");if(l="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+h.bottom:-u.height+h.bottom:h.top,a="right"===p?"HTML"===c.nodeName?-c.clientWidth+h.right:-u.width+h.right:h.left,s&&v)d[v]="translate3d("+a+"px, "+l+"px, 0)",d[f]=0,d[p]=0,d.willChange="transform";else{var m="bottom"===f?-1:1,g="right"===p?-1:1;d[f]=l*m,d[p]=a*g,d.willChange=f+", "+p}var y={"x-placement":e.placement};return e.attributes=Q({},y,e.attributes),e.styles=Q({},d,e.styles),e.arrowStyles=Q({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Ee(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=ae(o,t,e,n.positionFixed),a=ie(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Ee(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},Pe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:ze},Te=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=N(this.update.bind(this)),this.options=Q({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Q({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Q({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Q({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&I(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return X(e,[{key:"update",value:function(){return he.call(this)}},{key:"destroy",value:function(){return ve.call(this)}},{key:"enableEventListeners",value:function(){return be.call(this)}},{key:"disableEventListeners",value:function(){return we.call(this)}}]),e}();Te.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Te.placements=Oe,Te.Defaults=Pe;const Ae=Te;var Le={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},ke={},Ne=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,m((0,p.Z)((0,p.Z)(t)),"state",{data:void 0,placement:void 0}),m((0,p.Z)((0,p.Z)(t)),"popperInstance",void 0),m((0,p.Z)((0,p.Z)(t)),"popperNode",null),m((0,p.Z)((0,p.Z)(t)),"arrowNode",null),m((0,p.Z)((0,p.Z)(t)),"setPopperNode",(function(e){e&&t.popperNode!==e&&(C(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())})),m((0,p.Z)((0,p.Z)(t)),"setArrowNode",(function(e){t.arrowNode=e})),m((0,p.Z)((0,p.Z)(t)),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var n=e.placement;return t.setState({data:e,placement:n}),e}}),m((0,p.Z)((0,p.Z)(t)),"getOptions",(function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:(0,h.Z)({},t.props.modifiers,{arrow:(0,h.Z)({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}})),m((0,p.Z)((0,p.Z)(t)),"getPopperStyle",(function(){return t.popperNode&&t.state.data?(0,h.Z)({position:t.state.data.offsets.popper.position},t.state.data.styles):Le})),m((0,p.Z)((0,p.Z)(t)),"getPopperPlacement",(function(){return t.state.data?t.state.placement:void 0})),m((0,p.Z)((0,p.Z)(t)),"getArrowStyle",(function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:ke})),m((0,p.Z)((0,p.Z)(t)),"getOutOfBoundariesState",(function(){return t.state.data?t.state.data.hide:void 0})),m((0,p.Z)((0,p.Z)(t)),"destroyPopperInstance",(function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)})),m((0,p.Z)((0,p.Z)(t)),"updatePopperInstance",(function(){t.destroyPopperInstance();var e=(0,p.Z)((0,p.Z)(t)).popperNode,n=t.props.referenceElement;n&&e&&(t.popperInstance=new Ae(n,e,t.getOptions()))})),m((0,p.Z)((0,p.Z)(t)),"scheduleUpdate",(function(){t.popperInstance&&t.popperInstance.scheduleUpdate()})),t}(0,f.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.placement===e.placement&&this.props.referenceElement===e.referenceElement&&this.props.positionFixed===e.positionFixed&&A()(this.props.modifiers,e.modifiers,{strict:!0})?this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()):this.updatePopperInstance(),t.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){C(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return S(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(l.Component);function Ie(e){var t=e.referenceElement,n=(0,P.Z)(e,["referenceElement"]);return l.createElement(_.Consumer,null,(function(e){return l.createElement(Ne,(0,h.Z)({referenceElement:void 0!==t?t:e},n))}))}m(Ne,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1}),Ae.placements;var Re=n(4408),He=n(90836),Ve=n(72778),De=n(57755),je=n(93835),Fe=n(90322),Be=n(61624),Ue=n(86254),Ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.observer=new Ue.do((function(e){var n,r;return null===(r=(n=t.props).onResize)||void 0===r?void 0:r.call(n,e)})),t}return(0,o.ZT)(t,e),t.prototype.render=function(){return l.Children.only(this.props.children)},t.prototype.componentDidMount=function(){this.observeElement()},t.prototype.componentDidUpdate=function(e){this.observeElement(this.props.observeParents!==e.observeParents)},t.prototype.componentWillUnmount=function(){this.observer.disconnect(),this.element=null},t.prototype.observeElement=function(e){void 0===e&&(e=!1);var t=this.getElement();if(t instanceof Element){if((t!==this.element||e)&&(this.observer.disconnect(),this.element=t,this.observer.observe(t),this.props.observeParents))for(var n=t.parentElement;null!=n;)this.observer.observe(n),n=n.parentElement}else this.observer.disconnect()},t.prototype.getElement=function(){try{return(0,s.findDOMNode)(this)}catch(e){return null}},t.displayName="".concat(Ve.g,".ResizeSensor"),t}(d.U),qe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popover=null,t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this,n=this.props,r=n.children,i=n.intent,s=n.popoverClassName,u=(0,o._T)(n,["children","intent","popoverClassName"]),d=a()(c.TOOLTIP,((e={})[c.MINIMAL]=this.props.minimal,e),c.intentClass(i),s);return l.createElement(ot,(0,o.pi)({interactionKind:rt.HOVER_TARGET_ONLY,modifiers:{arrow:{enabled:!this.props.minimal}}},u,{autoFocus:!1,canEscapeKeyClose:!1,enforceFocus:!1,lazy:!0,popoverClassName:d,portalContainer:this.props.portalContainer,ref:function(e){return t.popover=e}}),r)},t.prototype.reposition=function(){null!=this.popover&&this.popover.reposition()},t.displayName="".concat(Ve.g,".Tooltip"),t.defaultProps={hoverCloseDelay:0,hoverOpenDelay:100,minimal:!1,transitionDuration:100},t}(d.U);function We(e){return e.split("-")[0]}function Ke(e){return-1!==["left","right"].indexOf(e)}function $e(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function Ye(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function Xe(e){var t=We(e.placement);if(null==e.arrowElement)return Ke(t)?"".concat($e(t)," ").concat(Ye(t)):"".concat(Ye(t)," ").concat($e(t));var n=e.arrowElement.clientHeight/2,r=e.offsets.arrow;return Ke(t)?"".concat($e(t)," ").concat(r.top+n,"px"):"".concat(r.left+n,"px ").concat($e(t))}var Ze=function(e){if(null==e.arrowElement)return e;var t=e.arrowElement.clientWidth,n=We(e.placement),r=Ke(n),o=r?"width":"height",i=r?"left":"top",a=Math.round(t/2/Math.sqrt(2));return"top"===n||"left"===n?(e.offsets.popper[i]-=a+4,e.offsets.arrow[i]=e.offsets.popper[o]-t+a):(e.offsets.popper[i]+=a+4,e.offsets.arrow[i]=-a),e};function Qe(e){if(null==e)return 0;switch(We(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}var Je=function(e){var t=e.arrowProps,n=t.ref,r=t.style,o=e.placement;return l.createElement("div",{className:c.POPOVER_ARROW,ref:n,style:null==r.left||isNaN(+r.left)?{}:r},l.createElement("svg",{viewBox:"0 0 30 30",style:{transform:"rotate(".concat(Qe(o),"deg)")}},l.createElement("path",{className:c.POPOVER_ARROW+"-border",d:"M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"}),l.createElement("path",{className:c.POPOVER_ARROW+"-fill",d:"M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005c0-1.654-.983-3.9-2.21-5.03l-7.183-6.616c-.81-.746-.802-1.96 0-2.7l7.183-6.614z"})))};function et(e){switch(e){case u.Ly.TOP_LEFT:return"top-start";case u.Ly.TOP:return"top";case u.Ly.TOP_RIGHT:return"top-end";case u.Ly.RIGHT_TOP:return"right-start";case u.Ly.RIGHT:return"right";case u.Ly.RIGHT_BOTTOM:return"right-end";case u.Ly.BOTTOM_RIGHT:return"bottom-end";case u.Ly.BOTTOM:return"bottom";case u.Ly.BOTTOM_LEFT:return"bottom-start";case u.Ly.LEFT_BOTTOM:return"left-end";case u.Ly.LEFT:return"left";case u.Ly.LEFT_TOP:return"left-start";case"auto":case"auto-start":case"auto-end":return e;default:return function(e){throw new Error("Unexpected position: "+e)}(e)}}Je.displayName="".concat(Ve.g,".PopoverArrow");var tt,nt,rt={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=l.createRef(),t.popoverElement=null,t.targetElement=null,t.state={hasDarkParent:!1,isOpen:t.getIsOpen(t.props),transformOrigin:""},t.isMouseInTargetOrPopover=!1,t.lostFocusOnSamePage=!0,t.handlePopoverRef=(0,Re.Km)(t,"popoverElement",t.props.popoverRef),t.handleTargetRef=function(e){return t.targetElement=e},t.reposition=function(){var e;return null===(e=t.popperScheduleUpdate)||void 0===e?void 0:e.call(t)},t.renderPopover=function(e){var n,r=t.props,i=r.interactionKind,s=r.usePortal,u=t.state.transformOrigin;t.popperScheduleUpdate=e.scheduleUpdate;var d={onClick:t.handlePopoverClick};(i===rt.HOVER||!s&&i===rt.HOVER_TARGET_ONLY)&&(d.onMouseEnter=t.handleMouseEnter,d.onMouseLeave=t.handleMouseLeave);var h=a()(c.POPOVER,((n={})[c.DARK]=t.props.inheritDarkTheme&&t.state.hasDarkParent,n[c.MINIMAL]=t.props.minimal,n[c.POPOVER_CAPTURING_DISMISS]=t.props.captureDismiss,n[c.POPOVER_OUT_OF_BOUNDARIES]=!0===e.outOfBoundaries,n),t.props.popoverClassName);return l.createElement("div",{className:c.TRANSITION_CONTAINER,ref:e.ref,style:e.style},l.createElement(Ge,{onResize:t.reposition},l.createElement("div",(0,o.pi)({className:h,style:{transformOrigin:u},ref:t.popoverRef},d),t.isArrowEnabled()&&l.createElement(Je,{arrowProps:e.arrowProps,placement:e.placement}),l.createElement("div",{className:c.POPOVER_CONTENT},t.understandChildren().content))))},t.renderTarget=function(e){var n,r,i=t.props,s=i.fill,u=i.openOnTargetFocus,d=i.targetClassName,h=i.targetProps,f=void 0===h?{}:h,p=t.state.isOpen,v=t.isControlled(),m=t.isHoverInteractionKind(),g=t.props.targetTagName;s&&(g="div");var y=m?{onBlur:t.handleTargetBlur,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick};y["aria-haspopup"]="true",y.className=a()(c.POPOVER_TARGET,((n={})[c.POPOVER_OPEN]=p,n),f.className,d),y.ref=e.ref;var b=De.h7(t.understandChildren().target);if(void 0===b)return null;var w=b.props.tabIndex,_=null==w&&u&&m?0:w,E=l.cloneElement(b,{className:a()(b.props.className,(r={},r[c.ACTIVE]=p&&!v&&!m,r)),disabled:!(!p||!De.Mc(b,qe))||b.props.disabled,tabIndex:_}),x=l.createElement(g,(0,o.pi)((0,o.pi)({},f),y),E);return l.createElement(Ge,{onResize:t.reposition},x)},t.isControlled=function(){return void 0!==t.props.isOpen},t.handleTargetFocus=function(e){var n,r;if(t.props.openOnTargetFocus&&t.isHoverInteractionKind()){if(null==e.relatedTarget&&!t.lostFocusOnSamePage)return;t.handleMouseEnter(e)}null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onFocus)||void 0===r||r.call(n,e)},t.handleTargetBlur=function(e){var n,r;t.props.openOnTargetFocus&&t.isHoverInteractionKind()&&(null==e.relatedTarget||t.isElementInPopover(e.relatedTarget)||t.handleMouseLeave(e)),t.lostFocusOnSamePage=null!=e.relatedTarget,null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onBlur)||void 0===r||r.call(n,e)},t.handleMouseEnter=function(e){var n,r;t.isMouseInTargetOrPopover=!0,t.props.usePortal||!t.isElementInPopover(e.target)||t.props.interactionKind!==rt.HOVER_TARGET_ONLY||t.props.openOnTargetFocus?t.props.disabled||t.setOpenState(!0,e,t.props.hoverOpenDelay):t.handleMouseLeave(e),null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onMouseEnter)||void 0===r||r.call(n,e)},t.handleMouseLeave=function(e){var n,r;t.isMouseInTargetOrPopover=!1,t.setTimeout((function(){t.isMouseInTargetOrPopover||t.setOpenState(!1,e,t.props.hoverCloseDelay)})),null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onMouseLeave)||void 0===r||r.call(n,e)},t.handlePopoverClick=function(e){var n=e.target,r=n.closest(".".concat(c.POPOVER)),o=r===t.popoverRef.current,i=null==r?void 0:r.classList.contains(c.POPOVER_CAPTURING_DISMISS),a=n.closest(".".concat(c.POPOVER_DISMISS,", .").concat(c.POPOVER_DISMISS_OVERRIDE)),l=null!=a&&a.classList.contains(c.POPOVER_DISMISS),s=null!=n.closest(":disabled, .".concat(c.DISABLED));!l||s||i&&!o||t.setOpenState(!1,e)},t.handleOverlayClose=function(e){if(null!==t.targetElement&&void 0!==e){var n=e.target;(!je.C2(t.targetElement,n)||e.nativeEvent instanceof KeyboardEvent)&&t.setOpenState(!1,e)}},t.handleTargetClick=function(e){var n,r;t.props.disabled||t.isElementInPopover(e.target)||(null==t.props.isOpen?t.setState((function(e){return{isOpen:!e.isOpen}})):t.setOpenState(!t.props.isOpen,e)),null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onClick)||void 0===r||r.call(n,e)},t.updatePopoverState=function(e){return t.setState({transformOrigin:Xe(e)}),e},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.className,o=n.disabled,i=n.fill,s=n.placement,u=n.position,d=void 0===u?"auto":u,h=n.shouldReturnFocusOnClose,f=this.state.isOpen,p=this.props.wrapperTagName;i&&(p="div");var v=null==De.h7(this.understandChildren().content);!v||o||!1===f||Fe.KV("production")||console.warn(He.Zc);var m=a()(c.POPOVER_WRAPPER,r,((e={})[c.FILL]=i,e)),g=!this.isHoverInteractionKind()&&void 0,y=l.createElement(p,{className:m},l.createElement(z,{innerRef:this.handleTargetRef},this.renderTarget),l.createElement(Be.a,{autoFocus:null!==(t=this.props.autoFocus)&&void 0!==t?t:g,backdropClassName:c.POPOVER_BACKDROP,backdropProps:this.props.backdropProps,canEscapeKeyClose:this.props.canEscapeKeyClose,canOutsideClickClose:this.props.interactionKind===rt.CLICK,className:this.props.portalClassName,enforceFocus:this.props.enforceFocus,hasBackdrop:this.props.hasBackdrop,isOpen:f&&!v,onClose:this.handleOverlayClose,onClosed:this.props.onClosed,onClosing:this.props.onClosing,onOpened:this.props.onOpened,onOpening:this.props.onOpening,transitionDuration:this.props.transitionDuration,transitionName:c.POPOVER,usePortal:this.props.usePortal,portalContainer:this.props.portalContainer,shouldReturnFocusOnClose:!this.isHoverInteractionKind()&&h},l.createElement(Ie,{innerRef:this.handlePopoverRef,placement:null!=s?s:et(d),modifiers:this.getPopperModifiers()},this.renderPopover)));return l.createElement(x,null,y)},t.prototype.componentDidMount=function(){this.updateDarkParent()},t.prototype.componentDidUpdate=function(t,n){e.prototype.componentDidUpdate.call(this,t,n),t.popoverRef!==this.props.popoverRef&&((0,Re.k$)(t.popoverRef,null),this.handlePopoverRef=(0,Re.Km)(this,"popoverElement",this.props.popoverRef),(0,Re.k$)(this.props.popoverRef,this.popoverElement)),this.updateDarkParent();var r=this.getIsOpen(this.props);null!=this.props.isOpen&&r!==this.state.isOpen?(this.setOpenState(r),this.setState({isOpen:r})):this.props.disabled&&this.state.isOpen&&null==this.props.isOpen&&this.setOpenState(!1)},t.prototype.validateProps=function(e){null==e.isOpen&&null!=e.onInteraction&&console.warn(He.Ig),e.hasBackdrop&&!e.usePortal&&console.warn(He.WQ),e.hasBackdrop&&e.interactionKind!==rt.CLICK&&console.error(He.Q2),void 0!==e.placement&&void 0!==e.position&&console.warn(He.xl);var t=l.Children.count(e.children),n=void 0!==e.content,r=void 0!==e.target;0!==t||r||console.error(He.zZ),t>2&&console.warn(He.fq),t>0&&r&&console.warn(He.GO),2===t&&n&&console.warn(He.oo)},t.prototype.updateDarkParent=function(){if(this.props.usePortal&&this.state.isOpen){var e=null!=this.targetElement&&null!=this.targetElement.closest(".".concat(c.DARK));this.setState({hasDarkParent:e})}},t.prototype.understandChildren=function(){var e=this.props,t=e.children,n=e.content,r=e.target,o=l.Children.toArray(t),i=o[0],a=o[1];return{content:null==a?n:a,target:null==i?r:i}},t.prototype.getIsOpen=function(e){return!e.disabled&&(null!=e.isOpen?e.isOpen:e.defaultIsOpen)},t.prototype.getPopperModifiers=function(){var e=this.props,t=e.boundary,n=e.modifiers,r=n,i=r.flip,a=void 0===i?{}:i,l=r.preventOverflow,s=void 0===l?{}:l;return(0,o.pi)((0,o.pi)({},n),{arrowOffset:{enabled:this.isArrowEnabled(),fn:Ze,order:510},flip:(0,o.pi)({boundariesElement:t},a),preventOverflow:(0,o.pi)({boundariesElement:t},s),updatePopoverState:{enabled:!0,fn:this.updatePopoverState,order:900}})},t.prototype.setOpenState=function(e,t,n){var r,o,i,a,l,s=this;null===(r=this.cancelOpenTimeout)||void 0===r||r.call(this),void 0!==n&&n>0?this.cancelOpenTimeout=this.setTimeout((function(){return s.setOpenState(e,t)}),n):(null==this.props.isOpen?this.setState({isOpen:e}):null===(i=(o=this.props).onInteraction)||void 0===i||i.call(o,e,t),e||null===(l=(a=this.props).onClose)||void 0===l||l.call(a,t))},t.prototype.isArrowEnabled=function(){var e=this.props,t=e.minimal,n=e.modifiers;return!t&&(null==(null==n?void 0:n.arrow)||n.arrow.enabled)},t.prototype.isElementInPopover=function(e){var t;return null===(t=this.popoverElement)||void 0===t?void 0:t.contains(e)},t.prototype.isHoverInteractionKind=function(){return this.props.interactionKind===rt.HOVER||this.props.interactionKind===rt.HOVER_TARGET_ONLY},t.displayName="".concat(Ve.g,".Popover"),t.defaultProps={boundary:"scrollParent",captureDismiss:!1,defaultIsOpen:!1,disabled:!1,fill:!1,hasBackdrop:!1,hoverCloseDelay:300,hoverOpenDelay:150,inheritDarkTheme:!0,interactionKind:rt.CLICK,minimal:!1,modifiers:{},openOnTargetFocus:!0,shouldReturnFocusOnClose:!1,targetTagName:"span",transitionDuration:300,usePortal:!0,wrapperTagName:"span"},t}(d.U),it={preventOverflow:{boundariesElement:"viewport"}},at=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isDarkTheme:!1,isOpen:!1},t.cancelContextMenu=function(e){return e.preventDefault()},t.handleBackdropContextMenu=function(e){e.persist(),e.preventDefault(),t.setTimeout((function(){var t=document.elementFromPoint(e.clientX,e.clientY),n=(e.view,(0,o._T)(e,["view"]));null==t||t.dispatchEvent(new MouseEvent("contextmenu",n))}),100)},t.handlePopoverInteraction=function(e){e||t.requestAnimationFrame((function(){return t.hide()}))},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=l.createElement("div",{onContextMenu:this.cancelContextMenu},this.state.menu),n=a()(((e={})[c.DARK]=this.state.isDarkTheme,e)),r=void 0===this.state.offset?"":"".concat(this.state.offset.left,"x").concat(this.state.offset.top);return l.createElement("div",{className:c.CONTEXT_MENU_POPOVER_TARGET,style:this.state.offset},l.createElement(ot,(0,o.pi)({},this.props,{backdropProps:{onContextMenu:this.handleBackdropContextMenu},content:t,enforceFocus:!1,key:r,hasBackdrop:!0,isOpen:this.state.isOpen,minimal:!0,modifiers:it,onInteraction:this.handlePopoverInteraction,position:u.Ly.RIGHT_TOP,popoverClassName:n,target:l.createElement("div",null),transitionDuration:100})))},t.prototype.show=function(e,t,n,r){void 0===r&&(r=!1),this.setState({isOpen:!0,menu:e,offset:t,onClose:n,isDarkTheme:r})},t.prototype.hide=function(){var e,t;null===(t=(e=this.state).onClose)||void 0===t||t.call(e),this.setState({isOpen:!1,onClose:void 0})},t}(d.U);function lt(e,t,n,r){void 0===tt&&((tt=document.createElement("div")).classList.add(c.CONTEXT_MENU),document.body.appendChild(tt),nt=s.render(l.createElement(at,{onClosed:ut}),tt)),nt.show(e,t,n,r)}function st(){null==nt||nt.hide()}function ct(){return null!=nt&&nt.state.isOpen}function ut(){null!=tt&&(s.unmountComponentAtNode(tt),tt.remove(),tt=void 0,nt=void 0)}var dt=n(4366),ht=n(99685),ft=n(40457),pt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleCancel=function(e){return t.internalHandleCallbacks(!1,e)},t.handleConfirm=function(e){return t.internalHandleCallbacks(!0,e)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.canEscapeKeyCancel,n=e.canOutsideClickCancel,r=e.children,i=e.className,s=e.icon,u=e.intent,d=e.loading,h=e.cancelButtonText,f=e.confirmButtonText,p=(e.onClose,(0,o._T)(e,["canEscapeKeyCancel","canOutsideClickCancel","children","className","icon","intent","loading","cancelButtonText","confirmButtonText","onClose"]));return l.createElement(ht.V,(0,o.pi)({},p,{className:a()(c.ALERT,i),canEscapeKeyClose:t,canOutsideClickClose:n,onClose:this.handleCancel,portalContainer:this.props.portalContainer}),l.createElement("div",{className:c.ALERT_BODY},l.createElement(ft.I,{icon:s,size:40,intent:u}),l.createElement("div",{className:c.ALERT_CONTENTS},r)),l.createElement("div",{className:c.ALERT_FOOTER},l.createElement(dt.z,{loading:d,intent:u,text:f,onClick:this.handleConfirm}),h&&l.createElement(dt.z,{text:h,disabled:d,onClick:this.handleCancel})))},t.prototype.validateProps=function(e){null==e.onClose&&null==e.cancelButtonText!=(null==e.onCancel)&&console.warn(He.rV);var t=null!=e.onCancel||null!=e.onClose;e.canEscapeKeyCancel&&!t&&console.warn(He.SE),e.canOutsideClickCancel&&!t&&console.warn(He.l3)},t.prototype.internalHandleCallbacks=function(e,t){var n,r=this.props,o=r.onCancel,i=r.onClose,a=r.onConfirm;null===(n=e?a:o)||void 0===n||n(t),null==i||i(e,t)},t.defaultProps={canEscapeKeyCancel:!1,canOutsideClickCancel:!1,confirmButtonText:"OK",isOpen:!1,loading:!1},t.displayName="".concat(Ve.g,".Alert"),t}(d.U),vt=function(e){var t,n=a()(c.BREADCRUMB,((t={})[c.BREADCRUMB_CURRENT]=e.current,t[c.DISABLED]=e.disabled,t),e.className),r=null!=e.icon?l.createElement(ft.I,{title:e.iconTitle,icon:e.icon}):void 0;return null==e.href&&null==e.onClick?l.createElement("span",{className:n},r,e.text,e.children):l.createElement("a",{className:n,href:e.href,onClick:e.disabled?void 0:e.onClick,onFocus:e.disabled?void 0:e.onFocus,tabIndex:e.disabled?void 0:0,target:e.target},r,e.text,e.children)},mt=n(44958),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.children,i=t.large,s=t.ulRef,u=(0,o._T)(t,["className","children","large","ulRef"]),d=a()(c.MENU,((e={})[c.LARGE]=i,e),n);return l.createElement("ul",(0,o.pi)({role:"menu"},u,{className:d,ref:s}),r)},t.displayName="".concat(Ve.g,".Menu"),t}(d.U),yt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isContentOverflowing:!1,textContent:""},t.textRef=null,t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){this.update()},t.prototype.componentDidUpdate=function(){this.update()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.children,i=n.className,s=n.ellipsize,u=n.tagName,d=void 0===u?"div":u,h=n.title,f=(0,o._T)(n,["children","className","ellipsize","tagName","title"]),p=a()(i,((e={})[c.TEXT_OVERFLOW_ELLIPSIS]=s,e));return l.createElement(d,(0,o.pi)((0,o.pi)({},f),{className:p,ref:function(e){return t.textRef=e},title:null!=h?h:this.state.isContentOverflowing?this.state.textContent:void 0}),r)},t.prototype.update=function(){var e;if(null!=(null===(e=this.textRef)||void 0===e?void 0:e.textContent)){var t={isContentOverflowing:this.props.ellipsize&&this.textRef.scrollWidth>this.textRef.clientWidth,textContent:this.textRef.textContent};this.setState(t)}},t.displayName="".concat(Ve.g,".Text"),t.defaultProps={ellipsize:!1},t}(d.U),bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.active,i=n.className,s=n.children,u=n.disabled,d=n.elementRef,h=n.icon,f=n.intent,p=(n.labelClassName,n.labelElement),v=n.multiline,m=(n.popoverProps,n.roleStructure),g=void 0===m?"menuitem":m,y=n.selected,b=n.shouldDismissPopover,w=(n.submenuProps,n.text),_=n.textClassName,E=n.tagName,x=void 0===E?"a":E,S=n.htmlTitle,O=(0,o._T)(n,["active","className","children","disabled","elementRef","icon","intent","labelClassName","labelElement","multiline","popoverProps","roleStructure","selected","shouldDismissPopover","submenuProps","text","textClassName","tagName","htmlTitle"]),C=null!=h,M=null!=s,z=c.intentClass(f),P=a()(c.MENU_ITEM,z,((e={})[c.ACTIVE]=r,e[c.DISABLED]=u,e[c.POPOVER_DISMISS]=b&&!u&&!M,e[c.SELECTED]=y||r&&void 0===z,e),i),T="listoption"===g?["option",void 0,r||y]:"menuitem"===g?["none","menuitem",void 0]:"none"===g?["none",void 0,void 0]:[void 0,void 0,void 0],A=T[0],L=T[1],k=T[2],N=l.createElement(x,(0,o.pi)((0,o.pi)((0,o.pi)({onKeyDown:(0,je.dS)(["Enter"," "]),role:M?"none":L,tabIndex:M?-1:0},O),u?_t:{}),{className:P}),C?l.createElement("span",{className:c.MENU_ITEM_ICON},l.createElement(ft.I,{icon:h,"aria-hidden":!0,tabIndex:-1})):void 0,l.createElement(yt,{className:a()(c.FILL,_),ellipsize:!v,title:S},w),this.maybeRenderLabel(p),M?l.createElement(ft.I,{className:c.MENU_SUBMENU_ICON,icon:"caret-right"}):void 0),I=a()(((t={})[c.MENU_SUBMENU]=M,t));return l.createElement("li",{className:I,ref:d,role:A,"aria-selected":k},this.maybeRenderPopover(N,{role:L,tabIndex:0},s))},t.prototype.maybeRenderLabel=function(e){var t=this.props,n=t.label,r=t.labelClassName;return null==n&&null==e?null:l.createElement("span",{className:a()(c.MENU_ITEM_LABEL,r)},n,e)},t.prototype.maybeRenderPopover=function(e,t,n){if(null==n)return e;var r=this.props,i=r.disabled,s=r.popoverProps,d=r.submenuProps;return l.createElement(ot,(0,o.pi)({autoFocus:!1,captureDismiss:!1,disabled:i,enforceFocus:!1,hoverCloseDelay:0,interactionKind:rt.HOVER,modifiers:wt,targetProps:t,position:u.Ly.RIGHT_TOP,usePortal:!1},s,{content:l.createElement(gt,(0,o.pi)({},d),n),minimal:!0,popoverClassName:a()(c.MENU_SUBMENU,null==s?void 0:s.popoverClassName),target:e}))},t.defaultProps={active:!1,disabled:!1,multiline:!1,popoverProps:{},selected:!1,shouldDismissPopover:!0,text:""},t.displayName="".concat(Ve.g,".MenuItem"),t}(d.U),wt={flip:{boundariesElement:"viewport",padding:20},offset:{offset:-5},preventOverflow:{boundariesElement:"viewport",padding:20}},_t={href:void 0,onClick:void 0,onMouseDown:void 0,onMouseEnter:void 0,onMouseLeave:void 0,tabIndex:-1},Et=n(48261),xt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={chopSize:t.defaultChopSize(),lastChopSize:null,lastOverflowCount:0,overflow:[],repartitioning:!1,visible:t.props.items},t.spacer=null,t.resize=function(){t.repartition()},t}return(0,o.ZT)(t,e),t.ofType=function(){return t},t.prototype.componentDidMount=function(){this.repartition()},t.prototype.shouldComponentUpdate=function(e,t){return this.props!==e||!(this.state!==t&&(0,Et.ms)(this.state,t))},t.prototype.componentDidUpdate=function(e,t){var n,r;e.observeParents!==this.props.observeParents&&console.warn(He.wT),e.collapseFrom===this.props.collapseFrom&&e.items===this.props.items&&e.minVisibleItems===this.props.minVisibleItems&&e.overflowRenderer===this.props.overflowRenderer&&e.alwaysRenderOverflow===this.props.alwaysRenderOverflow&&e.visibleItemRenderer===this.props.visibleItemRenderer||this.setState({chopSize:this.defaultChopSize(),lastChopSize:null,lastOverflowCount:0,overflow:[],repartitioning:!0,visible:this.props.items});var o=this.state,i=o.repartitioning,a=o.overflow,l=o.lastOverflowCount;!1===i&&!0===t.repartitioning?a.length!==l&&(null===(r=(n=this.props).onOverflow)||void 0===r||r.call(n,a.slice())):(0,Et.ms)(t,this.state)||this.repartition()},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.collapseFrom,o=t.observeParents,i=t.style,s=t.tagName,u=void 0===s?"div":s,d=t.visibleItemRenderer,h=this.maybeRenderOverflow(),f=l.createElement(u,{className:a()(c.OVERFLOW_LIST,n),style:i},r===mt.E.START?h:null,this.state.visible.map(d),r===mt.E.END?h:null,l.createElement("div",{className:c.OVERFLOW_LIST_SPACER,ref:function(t){return e.spacer=t}}));return l.createElement(Ge,{onResize:this.resize,observeParents:o},f)},t.prototype.maybeRenderOverflow=function(){var e=this.state.overflow;return 0!==e.length||this.props.alwaysRenderOverflow?this.props.overflowRenderer(e.slice()):null},t.prototype.repartition=function(){var e,t=this;if(null!=this.spacer){var n=1===this.state.lastChopSize,r=null!==(e=this.props.minVisibleItems)&&void 0!==e?e:0,o=this.spacer.offsetWidth<.9&&this.state.visible.length>r,i=(this.spacer.offsetWidth>=1||this.state.visible.length<r)&&this.state.overflow.length>0&&!n;o||i?this.setState((function(e){var n,r,i;return t.props.collapseFrom===mt.E.END?(n=(i=Ot(e.visible,e.overflow,t.state.chopSize*(o?1:-1)))[0],r=i[1]):(r=(i=Ot(e.overflow,e.visible,t.state.chopSize*(o?-1:1)))[0],n=i[1]),{chopSize:St(e.chopSize),lastChopSize:e.chopSize,lastOverflowCount:t.isFirstPartitionCycle(e.chopSize)?e.overflow.length:e.lastOverflowCount,overflow:r,repartitioning:!0,visible:n}})):this.setState({chopSize:this.defaultChopSize(),lastChopSize:null,repartitioning:!1})}},t.prototype.defaultChopSize=function(){return St(this.props.items.length)},t.prototype.isFirstPartitionCycle=function(e){return e===this.defaultChopSize()},t.displayName="".concat(Ve.g,".OverflowList"),t.defaultProps={alwaysRenderOverflow:!1,collapseFrom:mt.E.START,minVisibleItems:0},t}(l.Component);function St(e){return Math.ceil(e/2)}function Ot(e,t,n){var r=e.concat(t),o=e.length-n;if(o<=0)return[[],r];if(o>=r.length)return[r,[]];var i=r.length-o;return[r.slice(0,-i),r.slice(-i)]}var Ct,Mt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderOverflow=function(e){var n=t.props.collapseFrom,r=n===mt.E.END?u.Ly.BOTTOM_RIGHT:u.Ly.BOTTOM_LEFT,i=e;return n===mt.E.START&&(i=e.slice().reverse()),l.createElement("li",null,l.createElement(ot,(0,o.pi)({position:r,disabled:0===i.length,content:l.createElement(gt,null,i.map(t.renderOverflowBreadcrumb))},t.props.popoverProps),l.createElement("span",{className:c.BREADCRUMBS_COLLAPSED})))},t.renderOverflowBreadcrumb=function(e,t){var n=null!=e.href||null!=e.onClick,r=(0,Ve.B)(e);return l.createElement(bt,(0,o.pi)({disabled:!n},r,{text:e.text,key:t}))},t.renderBreadcrumbWrapper=function(e,n){var r=t.props.items[t.props.items.length-1]===e;return l.createElement("li",{key:n},t.renderBreadcrumb(e,r))},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.collapseFrom,r=e.items,i=e.minVisibleItems,s=e.overflowListProps,u=void 0===s?{}:s;return l.createElement(xt,(0,o.pi)({collapseFrom:n,minVisibleItems:i,tagName:"ul"},u,{className:a()(c.BREADCRUMBS,u.className,t),items:r,overflowRenderer:this.renderOverflow,visibleItemRenderer:this.renderBreadcrumbWrapper}))},t.prototype.renderBreadcrumb=function(e,t){return t&&null!=this.props.currentBreadcrumbRenderer?this.props.currentBreadcrumbRenderer(e):null!=this.props.breadcrumbRenderer?this.props.breadcrumbRenderer(e):l.createElement(vt,(0,o.pi)({current:t},e))},t.defaultProps={collapseFrom:mt.E.START},t}(d.U),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.alignText,r=t.className,i=t.elementRef,s=t.fill,u=t.minimal,d=t.large,h=t.vertical,f=(0,o._T)(t,["alignText","className","elementRef","fill","minimal","large","vertical"]),p=a()(c.BUTTON_GROUP,((e={})[c.FILL]=s,e[c.LARGE]=d,e[c.MINIMAL]=u,e[c.VERTICAL]=h,e),c.alignmentClass(n),r);return l.createElement("div",(0,o.pi)({},f,{className:p,ref:i}),this.props.children)},t.displayName="".concat(Ve.g,".ButtonGroup"),t}(d.U),Pt=n(2609),Tt=n(18587),At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.children,i=t.icon,s=t.intent,u=t.title,d=(0,o._T)(t,["className","children","icon","intent","title"]),h=this.getIconName(i,s),f=a()(c.CALLOUT,c.intentClass(s),((e={})[c.CALLOUT_ICON]=null!=h,e),n);return l.createElement("div",(0,o.pi)({className:f},d),h&&l.createElement(ft.I,{icon:h,"aria-hidden":!0,tabIndex:-1}),u&&l.createElement(Tt.H5,null,u),r)},t.prototype.getIconName=function(e,t){if(null!==e){if(void 0!==e)return e;switch(t){case Pt.S.DANGER:return"error";case Pt.S.PRIMARY:return"info-sign";case Pt.S.WARNING:return"warning-sign";case Pt.S.SUCCESS:return"tick";default:return}}},t.displayName="".concat(Ve.g,".Callout"),t}(d.U),Lt=n(10762),kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.elevation,i=t.interactive,s=(0,o._T)(t,["className","elevation","interactive"]),u=a()(c.CARD,((e={})[c.INTERACTIVE]=i,e),c.elevationClass(r),n);return l.createElement("div",(0,o.pi)({className:u},s))},t.displayName="".concat(Ve.g,".Card"),t.defaultProps={elevation:Lt.u.ZERO,interactive:!1},t}(d.U);!function(e){e[e.OPEN_START=0]="OPEN_START",e[e.OPENING=1]="OPENING",e[e.OPEN=2]="OPEN",e[e.CLOSING_START=3]="CLOSING_START",e[e.CLOSING=4]="CLOSING",e[e.CLOSED=5]="CLOSED"}(Ct||(Ct={}));var Nt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={animationState:t.props.isOpen?Ct.OPEN:Ct.CLOSED,height:void 0,heightWhenOpen:void 0},t.contents=null,t.contentsRefHandler=function(e){if(t.contents=e,null!=t.contents){var n=t.contents.clientHeight;t.setState({animationState:t.props.isOpen?Ct.OPEN:Ct.CLOSED,height:0===n?void 0:"".concat(n,"px"),heightWhenOpen:0===n?void 0:n})}},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.isOpen,r=t.animationState;if(n)switch(r){case Ct.OPEN:case Ct.OPENING:break;default:return{animationState:Ct.OPEN_START}}else switch(r){case Ct.CLOSED:case Ct.CLOSING:break;default:return{animationState:Ct.CLOSING_START,height:"".concat(t.heightWhenOpen,"px")}}return null},t.prototype.render=function(){var e=this.state.animationState!==Ct.CLOSED,t=e||this.props.keepChildrenMounted,n=e&&this.state.animationState!==Ct.CLOSING,r="auto"===this.state.height,o={height:e?this.state.height:void 0,overflowY:r?"visible":void 0,transition:r?"none":void 0},i={transform:n?"translateY(0)":"translateY(-".concat(this.state.heightWhenOpen,"px)"),transition:r?"none":void 0};return l.createElement(this.props.component,{className:a()(c.COLLAPSE,this.props.className),style:o},l.createElement("div",{className:c.COLLAPSE_BODY,ref:this.contentsRefHandler,style:i,"aria-hidden":!e},t?this.props.children:null))},t.prototype.componentDidMount=function(){this.forceUpdate(),this.props.isOpen?this.setState({animationState:Ct.OPEN,height:"auto"}):this.setState({animationState:Ct.CLOSED,height:"0px"})},t.prototype.componentDidUpdate=function(){var e=this;if(null!=this.contents){var t=this.props.transitionDuration,n=this.state.animationState;if(n===Ct.OPEN_START){var r=this.contents.clientHeight;this.setState({animationState:Ct.OPENING,height:"".concat(r,"px"),heightWhenOpen:r}),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}else if(n===Ct.CLOSING_START){var o=this.contents.clientHeight;this.setTimeout((function(){return e.setState({animationState:Ct.CLOSING,height:"0px",heightWhenOpen:o})})),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}}},t.prototype.onDelayedStateChange=function(){switch(this.state.animationState){case Ct.OPENING:this.setState({animationState:Ct.OPEN,height:"auto"});break;case Ct.CLOSING:this.setState({animationState:Ct.CLOSED})}},t.displayName="".concat(Ve.g,".Collapse"),t.defaultProps={component:"div",isOpen:!1,keepChildrenMounted:!1,transitionDuration:200},t}(d.U),It=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this,n=this.props.collapseFrom,r=l.Children.count(this.props.children),i=this.partitionChildren(),s=i[0],d=i[1],h=s.map((function(e,o){var i=n===mt.E.START?r-1-o:o;return l.createElement("li",{className:t.props.visibleItemClassName,key:i},t.props.visibleItemRenderer(e.props,i))}));if(n===mt.E.START&&h.reverse(),d.length>0){var f=n===mt.E.END?u.Ly.BOTTOM_RIGHT:u.Ly.BOTTOM_LEFT;e=l.createElement("li",{className:this.props.visibleItemClassName},l.createElement(ot,(0,o.pi)({content:l.createElement(gt,null,d),position:f},this.props.dropdownProps),this.props.dropdownTarget))}return l.createElement("ul",{className:a()(c.COLLAPSIBLE_LIST,this.props.className)},n===mt.E.START?e:null,h,n===mt.E.END?e:null)},t.prototype.partitionChildren=function(){var e=l.Children.map(this.props.children,(function(e,t){if(!(0,De.Mc)(e,bt))throw new Error(He.DJ);return l.cloneElement(e,{key:"visible-".concat(t)})}));if(null==e)return[[],[]];this.props.collapseFrom===mt.E.START&&e.reverse();var t=this.props.visibleItemCount;return[e.slice(0,t),e.slice(t)]},t.displayName="".concat(Ve.g,".CollapsibleList"),t.defaultProps={collapseFrom:mt.E.START,visibleItemCount:3},t}(l.Component),Rt=n(23251),Ht=n(4908);function Vt(e){var t;return(0,Rt.m)(e.prototype.renderContextMenu)||console.warn(He.RH),t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var t=this,n=e.prototype.render.call(this);if(null==n)return n;if(!l.isValidElement(n))return console.warn(He.hq),n;var r=n.props.onContextMenu;return l.cloneElement(n,{onContextMenu:function(e){if(!e.defaultPrevented){if((0,Rt.m)(t.renderContextMenu)){var n=t.renderContextMenu(e);if(null!=n){var o=(0,Ht.$)(s.findDOMNode(t));e.preventDefault(),lt(n,{left:e.clientX,top:e.clientY},t.onContextMenuClose,o)}}null==r||r(e)}}})},t}(e),t.displayName="ContextMenuTarget(".concat((0,De.Gf)(e),")"),t}var Dt=n(33640),jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e;return l.createElement("div",{className:a()(c.DIALOG_FOOTER,this.props.className,(e={},e[c.DIALOG_FOOTER_FIXED]=!this.props.minimal,e))},this.renderMainSection(),this.maybeRenderActionsSection())},t.prototype.renderMainSection=function(){return l.createElement("div",{className:c.DIALOG_FOOTER_MAIN_SECTION},this.props.children)},t.prototype.maybeRenderActionsSection=function(){var e=this.props.actions;if(null!=e)return l.createElement("div",{className:c.DIALOG_FOOTER_ACTIONS},e)},t.defaultProps={minimal:!1},t}(d.U),Ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props.className;return l.createElement("div",{className:c.DIALOG_STEP_CONTAINER,role:"tab"},l.createElement("div",{className:a()(c.DIALOG_STEP,e)}))},t.displayName="".concat(Ve.g,".DialogStep"),t}(d.U);function Bt(e){var t=e.tooltipContent,n=(0,o._T)(e,["tooltipContent"]),r=l.createElement(dt.A,(0,o.pi)({},n));return void 0!==t?l.createElement(qe,{content:t},r):r}var Ut=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state=t.getInitialIndexFromProps(t.props),t.renderDialogStep=function(e,n){var r,o=n+1,i=t.state.lastViewedIndex>=n,s=t.state.selectedIndex===n,u=n>t.state.lastViewedIndex?void 0:t.getDialogStepChangeHandler(n);return l.createElement("div",{className:a()(c.DIALOG_STEP_CONTAINER,(r={},r[c.ACTIVE]=s,r[c.DIALOG_STEP_VIEWED]=i,r)),key:n,"aria-selected":s,role:"tab"},l.createElement("div",{className:c.DIALOG_STEP,onClick:u,tabIndex:u?0:-1,onKeyDown:(0,je.dS)(["Enter"," "])},l.createElement("div",{className:c.DIALOG_STEP_ICON},o),l.createElement("div",{className:c.DIALOG_STEP_TITLE},e.props.title)))},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.navigationPosition,i=(t.showCloseButtonInFooter,t.isCloseButtonShown),s=(0,o._T)(t,["className","navigationPosition","showCloseButtonInFooter","isCloseButtonShown"]);return l.createElement(ht.V,(0,o.pi)({isCloseButtonShown:i},s,{className:a()((e={},e[c.MULTISTEP_DIALOG_NAV_RIGHT]="right"===r,e[c.MULTISTEP_DIALOG_NAV_TOP]="top"===r,e),n),style:this.getDialogStyle()}),l.createElement("div",{className:c.MULTISTEP_DIALOG_PANELS},this.renderLeftPanel(),this.maybeRenderRightPanel()))},t.prototype.componentDidUpdate=function(e){!e.resetOnClose&&e.initialStepIndex===this.props.initialStepIndex||e.isOpen||!this.props.isOpen||this.setState(this.getInitialIndexFromProps(this.props))},t.prototype.getDialogStyle=function(){return(0,o.pi)({minWidth:800,paddingBottom:0},this.props.style)},t.prototype.renderLeftPanel=function(){return l.createElement("div",{className:c.MULTISTEP_DIALOG_LEFT_PANEL,role:"tablist","aria-label":"steps"},this.getDialogStepChildren().filter(Gt).map(this.renderDialogStep))},t.prototype.maybeRenderRightPanel=function(){var e=this.getDialogStepChildren();if(e.length<=this.state.selectedIndex)return null;var t=e[this.state.selectedIndex].props,n=t.className,r=t.panel,o=t.panelClassName;return l.createElement("div",{className:a()(c.MULTISTEP_DIALOG_RIGHT_PANEL,n,o)},r,this.renderFooter())},t.prototype.renderFooter=function(){var e=this.props,t=e.closeButtonProps,n=e.showCloseButtonInFooter,r=e.onClose,i=n?l.createElement(Bt,(0,o.pi)({text:"Close",onClick:r},t)):void 0;return l.createElement(jt,{className:c.MULTISTEP_DIALOG_FOOTER,actions:this.renderButtons()},i)},t.prototype.renderButtons=function(){var e,t,n=this.state.selectedIndex,r=this.getDialogStepChildren(),i=[];if(this.state.selectedIndex>0){var a=null!==(e=r[n].props.backButtonProps)&&void 0!==e?e:this.props.backButtonProps;i.push(l.createElement(Bt,(0,o.pi)({key:"back",onClick:this.getDialogStepChangeHandler(n-1),text:"Back"},a)))}if(n===this.getDialogStepChildren().length-1)i.push(l.createElement(Bt,(0,o.pi)({intent:"primary",key:"final",text:"Submit"},this.props.finalButtonProps)));else{var s=null!==(t=r[n].props.nextButtonProps)&&void 0!==t?t:this.props.nextButtonProps;i.push(l.createElement(Bt,(0,o.pi)({intent:"primary",key:"next",onClick:this.getDialogStepChangeHandler(n+1),text:"Next"},s)))}return i},t.prototype.getDialogStepChangeHandler=function(e){var t=this;return function(n){if(void 0!==t.props.onChange){var r=t.getDialogStepChildren(),o=r[t.state.selectedIndex].props.id,i=r[e].props.id;t.props.onChange(i,o,n)}t.setState({lastViewedIndex:Math.max(t.state.lastViewedIndex,e),selectedIndex:e})}},t.prototype.getDialogStepChildren=function(e){return void 0===e&&(e=this.props),l.Children.toArray(e.children).filter(Gt)},t.prototype.getInitialIndexFromProps=function(e){if(void 0!==e.initialStepIndex){var t=Math.max(0,Math.min(e.initialStepIndex,this.getDialogStepChildren(e).length-1));return{lastViewedIndex:t,selectedIndex:t}}return{lastViewedIndex:0,selectedIndex:0}},t.displayName="".concat(Ve.g,".MultistepDialog"),t.defaultProps={canOutsideClickClose:!0,isOpen:!1,navigationPosition:"left",resetOnClose:!0,showCloseButtonInFooter:!1},t}(d.U);function Gt(e){return De.Mc(e,Ft)}var qt,Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.tagName,r=void 0===n?"div":n,i=(0,o._T)(e,["className","tagName"]),s=a()(c.DIVIDER,t);return l.createElement(r,(0,o.pi)((0,o.pi)({},i),{className:s}))},t.displayName="".concat(Ve.g,".Divider"),t}(d.U);!function(e){e.SMALL="360px",e.STANDARD="50%",e.LARGE="90%"}(qt||(qt={}));var Kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n,r=this.props,i=r.size,s=r.style,d=r.position,h=(0,u.L3)(d),f=a()(c.DRAWER,((e={})[null!==(n=c.positionClass(h))&&void 0!==n?n:""]=!0,e),this.props.className),p=null==i?s:(0,o.pi)((0,o.pi)({},s),((t={})[(0,u.lM)(h)?"height":"width"]=i,t));return l.createElement(Be.a,(0,o.pi)({},this.props,{className:c.OVERLAY_CONTAINER}),l.createElement("div",{className:f,style:p},this.maybeRenderHeader(),this.props.children))},t.prototype.validateProps=function(e){null==e.title&&(null!=e.icon&&console.warn(He.J$),null!=e.isCloseButtonShown&&console.warn(He.C0)),null!=e.position&&e.position!==(0,u.L3)(e.position)&&console.warn(He.Am)},t.prototype.maybeRenderCloseButton=function(){return!1!==this.props.isCloseButtonShown?l.createElement(dt.z,{"aria-label":"Close",className:c.DIALOG_CLOSE_BUTTON,icon:l.createElement(ft.I,{icon:"small-cross",size:ft.J.LARGE}),minimal:!0,onClick:this.props.onClose}):null},t.prototype.maybeRenderHeader=function(){var e=this.props,t=e.icon,n=e.title;return null==n?null:l.createElement("div",{className:c.DRAWER_HEADER},l.createElement(ft.I,{icon:t,size:ft.J.LARGE}),l.createElement(Tt.H4,null,n),this.maybeRenderCloseButton())},t.displayName="".concat(Ve.g,".Drawer"),t.defaultProps={canOutsideClickClose:!0,isOpen:!1,position:"right",style:{}},t}(d.U),$t=n(9421),Yt="undefined"!=typeof navigator?navigator.userAgent:"",Xt={isEdge:/Edge/.test(Yt),isInternetExplorer:/Trident|rv:11/.test(Yt),isWebkit:/AppleWebKit/.test(Yt)},Zt=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.inputElement=null,r.valueElement=null,r.refHandlers={content:function(e){r.valueElement=e},input:function(e){if(null!=e&&(r.inputElement=e,r.props.alwaysRenderInput||r.inputElement.focus(),null!=r.state&&r.state.isEditing)){var t=function(e){switch(e.type){case"textarea":case"text":case"search":case"tel":case"url":case"password":return!0;default:return!1}}(e);if(t){var n=e.value.length;e.setSelectionRange(r.props.selectAllOnFocus?0:n,n)}t&&r.props.selectAllOnFocus||(e.scrollLeft=e.scrollWidth)}}},r.cancelEditing=function(){var e,t,n,o,i=r.state,a=i.lastValue,l=i.value;r.setState({isEditing:!1,value:a}),l!==a&&(null===(t=(e=r.props).onChange)||void 0===t||t.call(e,a)),null===(o=(n=r.props).onCancel)||void 0===o||o.call(n,a)},r.toggleEditing=function(){var e,t;if(r.state.isEditing){var n=r.state.value;r.setState({isEditing:!1,lastValue:n}),null===(t=(e=r.props).onConfirm)||void 0===t||t.call(e,n)}else r.props.disabled||r.setState({isEditing:!0})},r.handleFocus=function(){var e=r.props,t=e.alwaysRenderInput,n=e.disabled,o=e.selectAllOnFocus;if(n||r.setState({isEditing:!0}),t&&o&&null!=r.inputElement){var i=r.inputElement.value.length;r.inputElement.setSelectionRange(0,i)}},r.handleTextChange=function(e){var t,n,o=e.target.value;null==r.props.value&&r.setState({value:o}),null===(n=(t=r.props).onChange)||void 0===n||n.call(t,o)},r.handleKeyEvent=function(e){var t=e.altKey,n=e.ctrlKey,o=e.metaKey,i=e.shiftKey,a=e.which;if(a!==$t.ESCAPE){var l=t||n||o||i;a===$t.ENTER&&((t||i)&&e.preventDefault(),r.props.confirmOnEnterKey&&r.props.multiline?null!=e.target&&l?(function(e,t){var n=e.selectionEnd,r=e.selectionStart,o=e.value;if(r>=0){var i=o.substring(0,r),a=o.substring(n,o.length);e.value="".concat(i).concat("\n").concat(a),e.selectionStart=r+1,e.selectionEnd=r+1}}(e.target),r.handleTextChange(e)):r.toggleEditing():r.props.multiline&&!l||r.toggleEditing())}else r.cancelEditing()};var o=null==t.value?t.defaultValue:t.value;return r.state={inputHeight:0,inputWidth:0,isEditing:!0===t.isEditing&&!1===t.disabled,lastValue:o,value:o},r}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n,r=this.props,i=r.alwaysRenderInput,s=r.disabled,u=r.multiline,d=r.contentId,h=null!==(t=this.props.value)&&void 0!==t?t:this.state.value,f=null!=h&&""!==h,p=a()(c.EDITABLE_TEXT,c.intentClass(this.props.intent),((e={})[c.DISABLED]=s,e[c.EDITABLE_TEXT_EDITING]=this.state.isEditing,e[c.EDITABLE_TEXT_PLACEHOLDER]=!f,e[c.MULTILINE]=u,e),this.props.className);n=u?{height:this.state.isEditing?void 0:this.state.inputHeight}:{height:this.state.inputHeight,lineHeight:null!=this.state.inputHeight?"".concat(this.state.inputHeight,"px"):void 0,minWidth:this.props.minWidth};var v=i||this.state.isEditing||s?void 0:0,m=i&&!this.state.isEditing,g=null!=d?{id:d}:{};return l.createElement("div",{className:p,onFocus:this.handleFocus,tabIndex:v},i||this.state.isEditing?this.renderInput(h):void 0,m?void 0:l.createElement("span",(0,o.pi)({},g,{className:c.EDITABLE_TEXT_CONTENT,ref:this.refHandlers.content,style:n}),f?h:this.props.placeholder))},t.prototype.componentDidMount=function(){this.updateInputDimensions()},t.prototype.componentDidUpdate=function(e,t){var n,r,o={};this.props.value===e.value||null==e.value&&null==this.props.value||(o.value=this.props.value),null!=this.props.isEditing&&this.props.isEditing!==e.isEditing&&(o.isEditing=this.props.isEditing),(this.props.disabled||null==this.props.disabled&&e.disabled)&&(o.isEditing=!1),this.setState(o),this.state.isEditing&&!t.isEditing&&(null===(r=(n=this.props).onEdit)||void 0===r||r.call(n,this.state.value)),this.state.value===t.value&&this.props.alwaysRenderInput===e.alwaysRenderInput&&this.props.maxLines===e.maxLines&&this.props.minLines===e.minLines&&this.props.minWidth===e.minWidth&&this.props.multiline===e.multiline||this.updateInputDimensions()},t.prototype.renderInput=function(e){var t=this.props,n=t.disabled,r=t.maxLength,i=t.multiline,a=t.type,s=t.placeholder,u={className:c.EDITABLE_TEXT_INPUT,disabled:n,maxLength:r,onBlur:this.toggleEditing,onChange:this.handleTextChange,onKeyDown:this.handleKeyEvent,placeholder:s,value:e},d=this.state,h=d.inputHeight,f=d.inputWidth;return 0!==h&&0!==f&&(u.style={height:h,lineHeight:i||null==h?void 0:"".concat(h,"px"),width:i?"100%":f}),i?l.createElement("textarea",(0,o.pi)({ref:this.refHandlers.input},u)):l.createElement("input",(0,o.pi)({ref:this.refHandlers.input,type:a},u))},t.prototype.updateInputDimensions=function(){if(null!=this.valueElement){var e=this.props,t=e.maxLines,n=e.minLines,r=e.minWidth,o=e.multiline,i=this.valueElement,a=i.parentElement,l=i.textContent,s=this.valueElement,c=s.scrollHeight,u=s.scrollWidth,d=Qt(this.valueElement);o&&this.state.isEditing&&/\n$/.test(null!=l?l:"")&&(c+=d),d>0&&(c=(0,Fe.uZ)(c,n*d,t*d)),c=Math.max(c,(h=this.valueElement,(""===(f=getComputedStyle(h).fontSize)?0:parseInt(f.slice(0,-2),10))+1),Qt(a)),u+=Xt.isInternetExplorer?30:5,this.setState({inputHeight:c,inputWidth:Math.max(u,r)}),o&&this.state.isEditing&&this.setTimeout((function(){return a.style.height="".concat(c,"px")}))}var h,f},t.displayName="".concat(Ve.g,".EditableText"),t.defaultProps={alwaysRenderInput:!1,confirmOnEnterKey:!1,defaultValue:"",disabled:!1,maxLines:1/0,minLines:1,minWidth:80,multiline:!1,placeholder:"Click to Edit",type:"text"},t}(d.U);function Qt(e){var t=parseInt(getComputedStyle(e).lineHeight.slice(0,-2),10);if(isNaN(t)){var n=document.createElement("span");n.innerHTML="<br>",e.appendChild(n);var r=e.offsetHeight;n.innerHTML="<br><br>";var o=e.offsetHeight;e.removeChild(n),t=o-r}return t}var Jt,en=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.children,r=t.className,i=t.elementRef,s=t.fill,u=t.vertical,d=(0,o._T)(t,["children","className","elementRef","fill","vertical"]),h=a()(c.CONTROL_GROUP,((e={})[c.FILL]=s,e[c.VERTICAL]=u,e),r);return l.createElement("div",(0,o.pi)({},d,{className:h,ref:i}),n)},t.displayName="".concat(Ve.g,".ControlGroup"),t}(d.U),tn=function(e){var t,n=e.alignIndicator,r=e.children,i=e.className,s=e.indicatorChildren,u=e.inline,d=e.inputRef,h=e.label,f=e.labelElement,p=e.large,v=e.style,m=e.type,g=e.typeClassName,y=e.tagName,b=void 0===y?"label":y,w=(0,o._T)(e,["alignIndicator","children","className","indicatorChildren","inline","inputRef","label","labelElement","large","style","type","typeClassName","tagName"]),_=a()(c.CONTROL,g,((t={})[c.DISABLED]=w.disabled,t[c.INLINE]=u,t[c.LARGE]=p,t),c.alignmentClass(n),i);return l.createElement(b,{className:_,style:v},l.createElement("input",(0,o.pi)({},w,{ref:d,type:m})),l.createElement("span",{className:c.CONTROL_INDICATOR},s),h,f,r)},nn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.innerLabelChecked,n=e.innerLabel,r=(0,o._T)(e,["innerLabelChecked","innerLabel"]),i=n||t?[l.createElement("div",{key:"checked",className:c.CONTROL_INDICATOR_CHILD},l.createElement("div",{className:c.SWITCH_INNER_TEXT},t||n)),l.createElement("div",{key:"unchecked",className:c.CONTROL_INDICATOR_CHILD},l.createElement("div",{className:c.SWITCH_INNER_TEXT},n))]:null;return l.createElement(tn,(0,o.pi)({},r,{type:"checkbox",typeClassName:c.SWITCH,indicatorChildren:i}))},t.displayName="".concat(Ve.g,".Switch"),t}(d.U),rn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){return l.createElement(tn,(0,o.pi)({},this.props,{type:"radio",typeClassName:c.RADIO}))},t.displayName="".concat(Ve.g,".Radio"),t}(d.U),on=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={indeterminate:t.props.indeterminate||t.props.defaultIndeterminate||!1},t.input=null,t.handleInputRef=(0,Re.Km)(t,"input",t.props.inputRef),t.handleChange=function(e){var n,r,o=e.target.indeterminate;null==t.props.indeterminate&&t.setState({indeterminate:o}),null===(r=(n=t.props).onChange)||void 0===r||r.call(n,e)},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e){var t=e.indeterminate;return null!=t?{indeterminate:t}:null},t.prototype.render=function(){var e=this.props,t=(e.defaultIndeterminate,e.indeterminate,(0,o._T)(e,["defaultIndeterminate","indeterminate"]));return l.createElement(tn,(0,o.pi)({},t,{inputRef:this.handleInputRef,onChange:this.handleChange,type:"checkbox",typeClassName:c.CHECKBOX}))},t.prototype.componentDidMount=function(){this.updateIndeterminate()},t.prototype.componentDidUpdate=function(e){this.updateIndeterminate(),e.inputRef!==this.props.inputRef&&((0,Re.k$)(e.inputRef,null),this.handleInputRef=(0,Re.Km)(this,"input",this.props.inputRef),(0,Re.k$)(this.props.inputRef,this.input))},t.prototype.updateIndeterminate=function(){null!=this.input&&(this.input.indeterminate=this.state.indeterminate)},t.displayName="".concat(Ve.g,".Checkbox"),t}(d.U),an=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleInputChange=function(e){var n,r,o,i;null===(r=(n=t.props).onInputChange)||void 0===r||r.call(n,e),null===(i=null===(o=t.props.inputProps)||void 0===o?void 0:o.onChange)||void 0===i||i.call(o,e)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n,r=this.props,i=r.buttonText,s=r.className,u=r.disabled,d=r.fill,h=r.hasSelection,f=r.inputProps,p=r.large,v=(r.onInputChange,r.small),m=r.text,g=(0,o._T)(r,["buttonText","className","disabled","fill","hasSelection","inputProps","large","onInputChange","small","text"]),y=a()(c.FILE_INPUT,((e={})[c.FILE_INPUT_HAS_SELECTION]=h,e[c.DISABLED]=u,e[c.FILL]=d,e[c.LARGE]=p,e[c.SMALL]=v,e),s),b=c.getClassNamespace(),w=((t={})["".concat(b,"-button-text")]=i,t.className=a()(c.FILE_UPLOAD_INPUT,((n={})[c.FILE_UPLOAD_INPUT_CUSTOM_TEXT]=!!i,n)),t);return l.createElement("label",(0,o.pi)({},g,{className:y}),l.createElement("input",(0,o.pi)({},f,{onChange:this.handleInputChange,type:"file",disabled:u})),l.createElement("span",(0,o.pi)({},w),m))},t.displayName="".concat(Ve.g,".FileInput"),t.defaultProps={hasSelection:!1,inputProps:{},text:"Choose file..."},t}(d.U),ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.contentClassName,r=e.helperText,o=e.label,i=e.labelFor,s=e.labelInfo,u=e.style,d=e.subLabel;return l.createElement("div",{className:this.getClassName(),style:u},o&&l.createElement("label",{className:c.LABEL,htmlFor:i},o," ",l.createElement("span",{className:c.TEXT_MUTED},s)),d&&l.createElement("div",{className:c.FORM_GROUP_SUB_LABEL},d),l.createElement("div",{className:a()(c.FORM_CONTENT,n)},t,r&&l.createElement("div",{className:c.FORM_HELPER_TEXT},r)))},t.prototype.getClassName=function(){var e,t=this.props,n=t.className,r=t.disabled,o=t.inline,i=t.intent;return a()(c.FORM_GROUP,c.intentClass(i),((e={})[c.DISABLED]=r,e[c.INLINE]=o,e),n)},t.displayName="".concat(Ve.g,".FormGroup"),t}(d.U),sn=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={hasPendingUpdate:!1,isComposing:!1,nextValue:n.props.value,value:n.props.value},n.cancelPendingCompositionEnd=null,n.handleCompositionStart=function(e){var t,r,o;null===(t=n.cancelPendingCompositionEnd)||void 0===t||t.call(n),n.setState({isComposing:!0}),null===(o=(r=n.props).onCompositionStart)||void 0===o||o.call(r,e)},n.handleCompositionEnd=function(e){var r,o;n.cancelPendingCompositionEnd=n.setTimeout((function(){return n.setState({isComposing:!1})}),t.COMPOSITION_END_DELAY),null===(o=(r=n.props).onCompositionEnd)||void 0===o||o.call(r,e)},n.handleChange=function(e){var t,r,o=e.target.value;n.setState({nextValue:o}),null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e)},n}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){return t.isComposing||void 0===e.value?null:t.nextValue!==t.value?e.value===t.nextValue?t.hasPendingUpdate?{value:e.value,hasPendingUpdate:!1}:{value:t.nextValue}:e.value===t.value?{hasPendingUpdate:!0}:{value:e.value,nextValue:e.value,hasPendingUpdate:!1}:{value:e.value,nextValue:e.value,hasPendingUpdate:!1}},t.prototype.render=function(){var e=this.state,t=e.isComposing,n=e.hasPendingUpdate,r=e.value,i=e.nextValue,a=this.props,s=a.inputRef,c=(0,o._T)(a,["inputRef"]);return l.createElement("input",(0,o.pi)({},c,{ref:s,value:t||n?i:r,onCompositionStart:this.handleCompositionStart,onCompositionEnd:this.handleCompositionEnd,onChange:this.handleChange}))},t.displayName="".concat(Ve.g,".AsyncControllableInput"),t.COMPOSITION_END_DELAY=10,t}(d.U),cn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={},t.leftElement=null,t.rightElement=null,t.refHandlers={leftElement:function(e){return t.leftElement=e},rightElement:function(e){return t.rightElement=e}},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.asyncControl,r=void 0!==n&&n,i=t.className,s=t.disabled,u=t.fill,d=t.inputClassName,h=t.inputRef,f=t.intent,p=t.large,v=t.readOnly,m=t.round,g=t.small,y=t.tagName,b=void 0===y?"div":y,w=a()(c.INPUT_GROUP,c.intentClass(f),((e={})[c.DISABLED]=s,e[c.READ_ONLY]=v,e[c.FILL]=u,e[c.LARGE]=p,e[c.SMALL]=g,e[c.ROUND]=m,e),i),_=(0,o.pi)((0,o.pi)({},this.props.style),{paddingLeft:this.state.leftElementWidth,paddingRight:this.state.rightElementWidth}),E=(0,o.pi)((0,o.pi)({type:"text"},(0,Ve.B)(this.props)),{className:a()(c.INPUT,d),style:_}),x=r?l.createElement(sn,(0,o.pi)({},E,{inputRef:h})):l.createElement("input",(0,o.pi)({},E,{ref:h}));return l.createElement(b,{className:w},this.maybeRenderLeftElement(),x,this.maybeRenderRightElement())},t.prototype.componentDidMount=function(){this.updateInputWidth()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.leftElement,r=t.rightElement;e.leftElement===n&&e.rightElement===r||this.updateInputWidth()},t.prototype.validateProps=function(e){null!=e.leftElement&&null!=e.leftIcon&&console.warn(He.vy)},t.prototype.maybeRenderLeftElement=function(){var e=this.props,t=e.leftElement,n=e.leftIcon;return null!=t?l.createElement("span",{className:c.INPUT_LEFT_CONTAINER,ref:this.refHandlers.leftElement},t):null!=n?l.createElement(ft.I,{icon:n,"aria-hidden":!0,tabIndex:-1}):void 0},t.prototype.maybeRenderRightElement=function(){var e=this.props.rightElement;if(null!=e)return l.createElement("span",{className:c.INPUT_ACTION,ref:this.refHandlers.rightElement},e)},t.prototype.updateInputWidth=function(){var e=this.state,t=e.leftElementWidth,n=e.rightElementWidth;if(null!=this.leftElement){var r=this.leftElement.clientWidth;(void 0===t||Math.abs(r-t)>2)&&this.setState({leftElementWidth:r})}else this.setState({leftElementWidth:void 0});null!=this.rightElement?(r=this.rightElement.clientWidth,(void 0===n||Math.abs(r-n)>2)&&this.setState({rightElementWidth:r})):this.setState({rightElementWidth:void 0})},t.displayName="".concat(Ve.g,".InputGroup"),t}(d.U);function un(e){var t=1.9.toLocaleString(e),n=1..toLocaleString(e),r=9..toLocaleString(e),o="".concat(n,"(.+)").concat(r),i=new RegExp(o).exec(t);return i&&i[1]||"."}function dn(e,t){return void 0===t&&(t="en-US"),pn(e.toLocaleString(t),t)}function hn(e,t){var n=""+e;if(parseFloat(n).toString()===e.toString())return e.toString();if(void 0!==t){var r=un(t);return pn(n,t).split("").map((function(e){return function(e,t){var n=[0,1,2,3,4,5,6,7,8,9].map((function(e){return e.toLocaleString(t)})).indexOf(e);return-1!==n?n:e}(e,t)})).join("").replace(r,".")}return e.toString()}function fn(e,t){if(void 0!==t){var n=un(t).replace(".","\\."),r=[0,1,2,3,4,5,6,7,8,9].map((function(e){return e.toLocaleString(t)})).join("");return new RegExp("^[Ee"+r+"\\+\\-"+n+"]$").test(e)}return/^[Ee0-9\+\-\.]$/.test(e)}function pn(e,t){var n=function(e){return e.replace(/[\uFF10-\uFF19]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))}(e).split("");return n.filter((function(e){return fn(e,t)})).join("")}!function(e){e[e.DOWN=-1]="DOWN",e[e.UP=1]="UP"}(Jt||(Jt={}));var vn=["allowNumericCharactersOnly","buttonPosition","clampValueOnBlur","className","defaultValue","majorStepSize","minorStepSize","onButtonClick","onValueChange","selectAllOnFocus","selectAllOnIncrement","stepSize"],mn=function(e){function t(){var n,r,o=this;return(o=e.apply(this,arguments)||this).numericInputId=Fe.EL("numericInput"),o.state={currentImeInputInvalid:!1,shouldSelectAfterUpdate:!1,stepMaxPrecision:t.getStepMaxPrecision(o.props),value:(r=null!==(n=o.props.value)&&void 0!==n?n:o.props.defaultValue,void 0===r&&(r=""),r.toString())},o.didPasteEventJustOccur=!1,o.delta=0,o.inputElement=null,o.inputRef=(0,Re.Km)(o,"inputElement",o.props.inputRef),o.incrementButtonHandlers=o.getButtonEventHandlers(Jt.UP),o.decrementButtonHandlers=o.getButtonEventHandlers(Jt.DOWN),o.getCurrentValueAsNumber=function(){return Number(hn(o.state.value,o.props.locale))},o.handleButtonClick=function(e,t){var n,r,i=o.updateDelta(t,e),a=o.incrementValue(i);null===(r=(n=o.props).onButtonClick)||void 0===r||r.call(n,Number(hn(a,o.props.locale)),a)},o.stopContinuousChange=function(){o.delta=0,o.clearTimeouts(),clearInterval(o.intervalId),document.removeEventListener("mouseup",o.stopContinuousChange)},o.handleContinuousChange=function(){var e,t,n,r;if(void 0!==o.props.min||void 0!==o.props.max){var i=null!==(e=o.props.min)&&void 0!==e?e:-1/0,a=null!==(t=o.props.max)&&void 0!==t?t:1/0,l=o.getCurrentValueAsNumber();if(l<=i||l>=a)return void o.stopContinuousChange()}var s=o.incrementValue(o.delta);null===(r=(n=o.props).onButtonClick)||void 0===r||r.call(n,Number(hn(s,o.props.locale)),s)},o.handleInputFocus=function(e){var t,n;o.setState({shouldSelectAfterUpdate:o.props.selectAllOnFocus}),null===(n=(t=o.props).onFocus)||void 0===n||n.call(t,e)},o.handleInputBlur=function(e){var t,n;if(o.setState({shouldSelectAfterUpdate:!1}),o.props.clampValueOnBlur){var r=e.target.value;o.handleNextValue(o.roundAndClampValue(r))}null===(n=(t=o.props).onBlur)||void 0===n||n.call(t,e)},o.handleInputKeyDown=function(e){var t,n;if(!o.props.disabled&&!o.props.readOnly){var r,i=e.keyCode;if(i===$t.ARROW_UP?r=Jt.UP:i===$t.ARROW_DOWN&&(r=Jt.DOWN),void 0!==r){e.preventDefault();var a=o.updateDelta(r,e);o.incrementValue(a)}null===(n=(t=o.props).onKeyDown)||void 0===n||n.call(t,e)}},o.handleCompositionEnd=function(e){o.props.allowNumericCharactersOnly&&(o.handleNextValue(pn(e.data,o.props.locale)),o.setState({currentImeInputInvalid:!1}))},o.handleCompositionUpdate=function(e){if(o.props.allowNumericCharactersOnly){var t=e.data;0===pn(t,o.props.locale).length&&t.length>0?o.setState({currentImeInputInvalid:!0}):o.setState({currentImeInputInvalid:!1})}},o.handleInputKeyPress=function(e){var t,n;o.props.allowNumericCharactersOnly&&!function(e,t){return null==e.key||!!(e.ctrlKey||e.altKey||e.metaKey)||!(1===e.key.length)||fn(e.key,t)}(e,o.props.locale)&&e.preventDefault(),null===(n=(t=o.props).onKeyPress)||void 0===n||n.call(t,e)},o.handleInputPaste=function(e){var t,n;o.didPasteEventJustOccur=!0,null===(n=(t=o.props).onPaste)||void 0===n||n.call(t,e)},o.handleInputChange=function(e){var t=e.target.value,n=t;o.props.allowNumericCharactersOnly&&o.didPasteEventJustOccur&&(o.didPasteEventJustOccur=!1,n=pn(t,o.props.locale)),o.handleNextValue(n),o.setState({shouldSelectAfterUpdate:!1})},o}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,n){var r,i,a={prevMaxProp:e.max,prevMinProp:e.min},l=e.min!==n.prevMinProp,s=e.max!==n.prevMaxProp,c=l||s,u=null!==(i=null===(r=e.value)||void 0===r?void 0:r.toString())&&void 0!==i?i:n.value,d=t.getStepMaxPrecision(e),h=u!==t.VALUE_EMPTY?t.roundAndClampValue(u,d,e.min,e.max,0,e.locale):t.VALUE_EMPTY;return c&&h!==n.value?(0,o.pi)((0,o.pi)({},a),{stepMaxPrecision:d,value:h}):(0,o.pi)((0,o.pi)({},a),{stepMaxPrecision:d,value:u})},t.getStepMaxPrecision=function(e){return null!=e.minorStepSize?Fe.vk(e.minorStepSize):Fe.vk(e.stepSize)},t.roundAndClampValue=function(e,n,r,o,i,a){if(void 0===i&&(i=0),!function(e,t){var n=hn(e,t);return null!=e&&n-parseFloat(n)+1>=0}(e,a))return t.VALUE_EMPTY;var l=hn(e,a),s=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Number(l)+i,n),c=function(e,t,n){var r=null!=t?t:-1/0,o=null!=n?n:1/0;return(0,Fe.uZ)(e,r,o)}(s,r,o);return dn(c,a)},t.prototype.render=function(){var e,t=this.props,n=t.buttonPosition,r=t.className,o=t.fill,i=t.large,s=t.small,d=a()(c.NUMERIC_INPUT,((e={})[c.LARGE]=i,e[c.SMALL]=s,e),r),h=this.renderButtons();return l.createElement(en,{className:d,fill:o},n===u.Ly.LEFT&&h,this.renderInput(),n===u.Ly.RIGHT&&h)},t.prototype.componentDidUpdate=function(n,r){var o,i,a;e.prototype.componentDidUpdate.call(this,n,r),n.inputRef!==this.props.inputRef&&((0,Re.k$)(n.inputRef,null),this.inputRef=(0,Re.Km)(this,"inputElement",this.props.inputRef),(0,Re.k$)(this.props.inputRef,this.inputElement)),this.state.shouldSelectAfterUpdate&&(null===(o=this.inputElement)||void 0===o||o.setSelectionRange(0,this.state.value.length));var l=this.props.min!==n.min,s=this.props.max!==n.max,c=l||s,u=this.props.locale!==n.locale,d=this.state.value!==r.value;if(c&&d||u&&r.value!==t.VALUE_EMPTY){var h=hn(u?r.value:this.state.value,n.locale),f=dn(+h,this.props.locale);null===(a=(i=this.props).onValueChange)||void 0===a||a.call(i,+h,f,this.inputElement)}},t.prototype.validateProps=function(e){var n=e.majorStepSize,r=e.max,o=e.min,i=e.minorStepSize,a=e.stepSize,l=e.value;if(null!=o&&null!=r&&o>r&&console.error(He.e7),a<=0&&console.error(He.an),i&&i<=0&&console.error(He.XY),n&&n<=0&&console.error(He.EG),i&&i>a&&console.error(He.xC),n&&n<a&&console.error(He.b7),null!=l){var s=t.getStepMaxPrecision(e),c=t.roundAndClampValue(l.toString(),s,o,r,0,this.props.locale),u=c!==l.toString(),d=dn(Number(hn(l,this.props.locale)),this.props.locale);u&&c!==d&&console.warn(He.yV)}},t.prototype.renderButtons=function(){var e=this.props,t=e.intent,n=e.max,r=e.min,i=e.locale,a=hn(this.state.value,i),s=this.props.disabled||this.props.readOnly,u=void 0!==n&&""!==a&&+a>=n,d=void 0!==r&&""!==a&&+a<=r;return l.createElement(zt,{className:c.FIXED,key:"button-group",vertical:!0},l.createElement(dt.z,(0,o.pi)({"aria-label":"increment","aria-controls":this.numericInputId,disabled:s||u,icon:"chevron-up",intent:t},this.incrementButtonHandlers)),l.createElement(dt.z,(0,o.pi)({"aria-label":"decrement","aria-controls":this.numericInputId,disabled:s||d,icon:"chevron-down",intent:t},this.decrementButtonHandlers)))},t.prototype.renderInput=function(){var e=(0,Ve.B)(this.props,vn,!0),t=this.getCurrentValueAsNumber();return l.createElement(cn,(0,o.pi)({asyncControl:this.props.asyncControl,autoComplete:"off",id:this.numericInputId,role:this.props.allowNumericCharactersOnly?"spinbutton":void 0},e,{"aria-valuemax":this.props.max,"aria-valuemin":this.props.min,"aria-valuenow":t,intent:this.state.currentImeInputInvalid?Pt.S.DANGER:this.props.intent,inputClassName:this.props.inputClassName,inputRef:this.inputRef,large:this.props.large,leftElement:this.props.leftElement,leftIcon:this.props.leftIcon,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onCompositionEnd:this.handleCompositionEnd,onCompositionUpdate:this.handleCompositionUpdate,onKeyDown:this.handleInputKeyDown,onKeyPress:this.handleInputKeyPress,onPaste:this.handleInputPaste,rightElement:this.props.rightElement,small:this.props.small,value:this.state.value}))},t.prototype.getButtonEventHandlers=function(e){var t=this;return{onKeyDown:function(n){!t.props.disabled&&$t.isKeyboardClick(n.keyCode)&&t.handleButtonClick(n,e)},onMouseDown:function(n){t.props.disabled||(t.handleButtonClick(n,e),t.startContinuousChange())}}},t.prototype.startContinuousChange=function(){var e=this;document.addEventListener("mouseup",this.stopContinuousChange),this.setTimeout((function(){e.intervalId=window.setInterval(e.handleContinuousChange,t.CONTINUOUS_CHANGE_INTERVAL)}),t.CONTINUOUS_CHANGE_DELAY)},t.prototype.handleNextValue=function(e){var t,n;null==this.props.value&&this.setState({value:e}),null===(n=(t=this.props).onValueChange)||void 0===n||n.call(t,Number(hn(e,this.props.locale)),e,this.inputElement)},t.prototype.incrementValue=function(e){var n=this.state.value===t.VALUE_EMPTY?t.VALUE_ZERO:this.state.value,r=this.roundAndClampValue(n,e);return r!==this.state.value&&(this.handleNextValue(r),this.setState({shouldSelectAfterUpdate:this.props.selectAllOnIncrement})),r},t.prototype.getIncrementDelta=function(e,t,n){var r=this.props,o=r.majorStepSize,i=r.minorStepSize,a=r.stepSize;return t&&null!=o?e*o:n&&null!=i?e*i:e*a},t.prototype.roundAndClampValue=function(e,n){return void 0===n&&(n=0),t.roundAndClampValue(e,this.state.stepMaxPrecision,this.props.min,this.props.max,n,this.props.locale)},t.prototype.updateDelta=function(e,t){return this.delta=this.getIncrementDelta(e,t.shiftKey,t.altKey),this.delta},t.displayName="".concat(Ve.g,".NumericInput"),t.VALUE_EMPTY="",t.VALUE_ZERO="0",t.defaultProps={allowNumericCharactersOnly:!0,buttonPosition:u.Ly.RIGHT,clampValueOnBlur:!1,defaultValue:t.VALUE_EMPTY,large:!1,majorStepSize:10,minorStepSize:.1,selectAllOnFocus:!1,selectAllOnIncrement:!1,small:!1,stepSize:1},t.CONTINUOUS_CHANGE_DELAY=300,t.CONTINUOUS_CHANGE_INTERVAL=100,t}(d.U),gn=0;function yn(){return"".concat(wn.displayName,"-").concat(gn++)}var bn,wn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autoGroupName=yn(),t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props.label;return l.createElement("div",{className:this.props.className},null==e?null:l.createElement("label",{className:c.LABEL},e),Array.isArray(this.props.options)?this.renderOptions():this.renderChildren())},t.prototype.validateProps=function(){null!=this.props.children&&null!=this.props.options&&console.warn(He.Bv)},t.prototype.renderChildren=function(){var e=this;return l.Children.map(this.props.children,(function(t){return(0,De.Mc)(t,rn)?l.cloneElement(t,e.getRadioProps(t.props)):t}))},t.prototype.renderOptions=function(){var e,t=this;return null===(e=this.props.options)||void 0===e?void 0:e.map((function(e){return l.createElement(rn,(0,o.pi)({},t.getRadioProps(e),{key:e.value,labelElement:e.label||e.value}))}))},t.prototype.getRadioProps=function(e){var t=this.props.name,n=e.className,r=e.disabled,o=e.value;return{checked:o===this.props.selectedValue,className:n,disabled:r||this.props.disabled,inline:this.props.inline,name:null==t?this.autoGroupName:t,onChange:this.props.onChange,value:o}},t.displayName="".concat(Ve.g,".RadioGroup"),t}(d.U),_n=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={},t.textareaElement=null,t.handleRef=(0,Re.Km)(t,"textareaElement",t.props.inputRef),t.maybeSyncHeightToScrollHeight=function(){if(t.props.growVertically&&null!=t.textareaElement){var e=t.textareaElement.scrollHeight;e>0&&t.setState({height:e})}},t.handleChange=function(e){var n,r;t.maybeSyncHeightToScrollHeight(),null===(r=(n=t.props).onChange)||void 0===r||r.call(n,e)},t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){this.maybeSyncHeightToScrollHeight()},t.prototype.componentDidUpdate=function(e){e.inputRef!==this.props.inputRef&&((0,Re.k$)(e.inputRef,null),this.handleRef=(0,Re.Km)(this,"textareaElement",this.props.inputRef),(0,Re.k$)(this.props.inputRef,this.textareaElement)),e.value===this.props.value&&e.style===this.props.style||this.maybeSyncHeightToScrollHeight()},t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.fill,i=(t.inputRef,t.intent),s=t.large,u=t.small,d=t.growVertically,h=(0,o._T)(t,["className","fill","inputRef","intent","large","small","growVertically"]),f=a()(c.INPUT,c.intentClass(i),((e={})[c.FILL]=r,e[c.LARGE]=s,e[c.SMALL]=u,e),n),p=h.style,v=void 0===p?{}:p;return d&&null!=this.state.height&&(v=(0,o.pi)((0,o.pi)({},v),{height:"".concat(this.state.height,"px")})),l.createElement("textarea",(0,o.pi)({},h,{className:f,onChange:this.handleChange,ref:this.handleRef,style:v}))},t.displayName="".concat(Ve.g,".TextArea"),t}(d.U),En=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.disabled,i=t.elementRef,s=t.fill,u=t.iconName,d=void 0===u?"double-caret-vertical":u,h=t.iconProps,f=t.large,p=t.minimal,v=t.options,m=void 0===v?[]:v,g=(0,o._T)(t,["className","disabled","elementRef","fill","iconName","iconProps","large","minimal","options"]),y=a()(c.HTML_SELECT,((e={})[c.DISABLED]=r,e[c.FILL]=s,e[c.LARGE]=f,e[c.MINIMAL]=p,e),n),b=m.map((function(e){var t="object"==typeof e?e:{value:e};return l.createElement("option",(0,o.pi)({},t,{key:t.value,children:t.label||t.value}))}));return l.createElement("div",{className:y},l.createElement("select",(0,o.pi)({disabled:r,ref:i,value:this.props.value},g,{multiple:!1}),b,g.children),l.createElement(ft.I,(0,o.pi)({icon:d,title:"Open dropdown"},h)))},t}(d.U),xn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.bordered,r=t.className,i=t.compact,s=t.condensed,u=t.elementRef,d=t.interactive,h=t.striped,f=(0,o._T)(t,["bordered","className","compact","condensed","elementRef","interactive","striped"]),p=a()(c.HTML_TABLE,((e={})[c.COMPACT]=i,e[c.HTML_TABLE_BORDERED]=n,e[c.HTML_TABLE_CONDENSED]=s,e[c.HTML_TABLE_STRIPED]=h,e[c.INTERACTIVE]=d,e),r);return l.createElement("table",(0,o.pi)({},f,{ref:u,className:p}))},t}(d.U),Sn=n(33656),On=n(59837),Cn=n(30066),Mn=n(94064),zn=new(function(){function e(){var e=this;this.componentProps={globalHotkeysGroup:"Global hotkeys"},this.container=null,this.hotkeysQueue=[],this.isDialogShowing=!1,this.show=function(){e.isDialogShowing=!0,e.render()},this.hide=function(){e.isDialogShowing=!1,e.render()}}return e.prototype.render=function(){null==this.container&&(this.container=this.getContainer()),s.render(this.renderComponent(),this.container)},e.prototype.unmount=function(){null!=this.container&&(s.unmountComponentAtNode(this.container),this.container.remove(),this.container=null)},e.prototype.enqueueHotkeysForDisplay=function(e){this.hotkeysQueue.push(e),window.clearTimeout(this.showTimeoutToken),this.showTimeoutToken=window.setTimeout(this.show,10)},e.prototype.hideAfterDelay=function(){window.clearTimeout(this.hideTimeoutToken),this.hideTimeoutToken=window.setTimeout(this.hide,10)},e.prototype.isShowing=function(){return this.isDialogShowing},e.prototype.getContainer=function(){return null==this.container&&(this.container=document.createElement("div"),this.container.classList.add(c.PORTAL),document.body.appendChild(this.container)),this.container},e.prototype.renderComponent=function(){return l.createElement(ht.V,(0,o.pi)({},this.componentProps,{className:a()(c.HOTKEY_DIALOG,this.componentProps.className),isOpen:this.isDialogShowing,onClose:this.hide}),l.createElement(Dt.a,null,this.renderHotkeys()))},e.prototype.renderHotkeys=function(){var e=this,t=this.emptyHotkeyQueue().map((function(t,n){var r=!0===t.global&&null==t.group?e.componentProps.globalHotkeysGroup:t.group;return l.createElement(On.q,(0,o.pi)({key:n},t,{group:r}))}));return l.createElement(Sn.S,null,t)},e.prototype.emptyHotkeyQueue=function(){var e=this.hotkeysQueue.reduce((function(e,t){return e.concat(t)}),[]);return this.hotkeysQueue.length=0,e},e}());function Pn(){return zn.isShowing()}function Tn(e){for(var t in e)e.hasOwnProperty(t)&&(zn.componentProps[t]=e[t])}function An(){zn.hide()}!function(e){e.LOCAL="local",e.GLOBAL="global"}(bn||(bn={}));var Ln=function(){function e(e){var t=this;this.scope=e,this.actions=[],this.handleKeyDown=function(e){var n,r=(0,Mn.q1)(e);t.isTextInput(e)||!(0,Mn.A6)((0,Mn.SG)("?"),r)?Pn()||t.invokeNamedCallbackIfComboRecognized(r,"onKeyDown",e):Pn()?zn.hideAfterDelay():(n=t.actions.map((function(e){return e.props})),zn.enqueueHotkeysForDisplay(n))},this.handleKeyUp=function(e){Pn()||t.invokeNamedCallbackIfComboRecognized((0,Mn.q1)(e),"onKeyUp",e)}}return e.prototype.count=function(){return this.actions.length},e.prototype.clear=function(){this.actions=[]},e.prototype.setHotkeys=function(e){var t=this,n=[];l.Children.forEach(e.children,(function(e){(0,De.Mc)(e,On.q)&&t.isScope(e.props)&&n.push({combo:(0,Mn.SG)(e.props.combo),props:e.props})})),this.actions=n},e.prototype.invokeNamedCallbackIfComboRecognized=function(e,t,n){for(var r,o,i=this.isTextInput(n),a=0,l=this.actions;a<l.length;a++){var s=l[a];!(i&&!s.props.allowInInput||s.props.disabled)&&(0,Mn.A6)(s.combo,e)&&(s.props.preventDefault&&n.preventDefault(),s.props.stopPropagation&&(n.isPropagationStopped=!0,n.stopPropagation()),null===(o=(r=s.props)[t])||void 0===o||o.call(r,n))}},e.prototype.isScope=function(e){return(e.global?bn.GLOBAL:bn.LOCAL)===this.scope},e.prototype.isTextInput=function(e){var t=e.target;if(null==t||null==t.closest)return!1;var n=t.closest("input, textarea, [contenteditable=true]");if(null==n)return!1;if("input"===n.tagName.toLowerCase()){var r=n.type;if("checkbox"===r||"radio"===r)return!1}return!n.readOnly},e}();function kn(e){var t;return(0,Rt.m)(e.prototype.renderHotkeys)||console.warn(He.HK),t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.globalHotkeysEvents=new Ln(bn.GLOBAL),t.localHotkeysEvents=new Ln(bn.LOCAL),t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){null!=e.prototype.componentDidMount&&e.prototype.componentDidMount.call(this),document.addEventListener("keydown",this.globalHotkeysEvents.handleKeyDown),document.addEventListener("keyup",this.globalHotkeysEvents.handleKeyUp)},t.prototype.componentWillUnmount=function(){var t;null===(t=e.prototype.componentWillUnmount)||void 0===t||t.call(this),document.removeEventListener("keydown",this.globalHotkeysEvents.handleKeyDown),document.removeEventListener("keyup",this.globalHotkeysEvents.handleKeyUp),this.globalHotkeysEvents.clear(),this.localHotkeysEvents.clear()},t.prototype.render=function(){var t=this,n=e.prototype.render.call(this);if(null==n)return n;if(!l.isValidElement(n))return console.warn(He.Yf),n;if((0,Rt.m)(this.renderHotkeys)){var r=this.renderHotkeys();if(this.localHotkeysEvents&&this.localHotkeysEvents.setHotkeys(r.props),this.globalHotkeysEvents&&this.globalHotkeysEvents.setHotkeys(r.props),this.localHotkeysEvents.count()>0){var o=void 0===r.props.tabIndex?0:r.props.tabIndex,i=n.props,a=i.onKeyDown,s=i.onKeyUp;return l.cloneElement(n,{onKeyDown:function(e){t.localHotkeysEvents.handleKeyDown(e.nativeEvent),null==a||a(e)},onKeyUp:function(e){t.localHotkeysEvents.handleKeyUp(e.nativeEvent),null==s||s(e)},tabIndex:o})}}return n},t}(e),t.displayName="HotkeysTarget(".concat((0,De.Gf)(e),")"),t}var Nn,In=n(39242),Rn=n(47335),Hn=function(e){var t=e.children,n=e.hotkeys,r=e.options,o=(0,Rn.y)(n,r),i=o.handleKeyDown,a=o.handleKeyUp;return l.useEffect((function(){(0,Fe.KV)("production")||"function"!=typeof t&&n.some((function(e){return!e.global}))&&console.error(He.nJ)}),[n]),"function"==typeof t?t({handleKeyDown:i,handleKeyUp:a}):t},Vn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.title,r=e.titleId;return null==n?l.createElement("li",{className:a()(c.MENU_DIVIDER,t),role:"separator"}):l.createElement("li",{className:a()(c.MENU_HEADER,t),role:"separator",tabIndex:-1},l.createElement(Tt.H6,{id:r},n))},t.displayName="".concat(Ve.g,".MenuDivider"),t}(l.Component),Dn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=(0,o._T)(e,["className"]);return l.createElement("div",(0,o.pi)({className:a()(c.NAVBAR_DIVIDER,t)},n))},t.displayName="".concat(Ve.g,".NavbarDivider"),t}(d.U),jn=n(11229),Fn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=(0,o._T)(e,["align","children","className"]),s=a()(c.NAVBAR_GROUP,c.alignmentClass(t),r);return l.createElement("div",(0,o.pi)({className:s},i),n)},t.displayName="".concat(Ve.g,".NavbarGroup"),t.defaultProps={align:jn.v.LEFT},t}(d.U),Bn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=(0,o._T)(e,["children","className"]);return l.createElement("div",(0,o.pi)({className:a()(c.NAVBAR_HEADING,n)},r),t)},t.displayName="".concat(Ve.g,".NavbarHeading"),t}(d.U),Un=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.children,r=t.className,i=t.fixedToTop,s=(0,o._T)(t,["children","className","fixedToTop"]),u=a()(c.NAVBAR,((e={})[c.FIXED_TOP]=i,e),r);return l.createElement("div",(0,o.pi)({className:u},s),n)},t.displayName="".concat(Ve.g,".Navbar"),t.Divider=Dn,t.Group=Fn,t.Heading=Bn,t}(d.U);!function(e){e[e.STANDARD=48]="STANDARD",e[e.SMALL=32]="SMALL",e[e.EXTRA_SMALL=20]="EXTRA_SMALL"}(Nn||(Nn={}));var Gn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.action,n=e.children,r=e.className,o=e.layout;return l.createElement("div",{className:a()(c.NON_IDEAL_STATE,"".concat(c.NON_IDEAL_STATE,"-").concat(o),r)},this.maybeRenderVisual(),this.maybeRenderText(),t,n)},t.prototype.maybeRenderVisual=function(){var e=this.props,t=e.icon,n=e.iconSize;return null==t?void 0:l.createElement("div",{className:c.NON_IDEAL_STATE_VISUAL,style:{fontSize:"".concat(n,"px"),lineHeight:"".concat(n,"px")}},l.createElement(ft.I,{icon:t,size:n,"aria-hidden":!0,tabIndex:-1}))},t.prototype.maybeRenderText=function(){var e=this.props,t=e.description,n=e.title;return null==n&&null==t?void 0:l.createElement("div",{className:c.NON_IDEAL_STATE_TEXT},n&&l.createElement(Tt.H4,null,n),t&&(0,De.h7)(t,"div"))},t.displayName="".concat(Ve.g,".NonIdealState"),t.defaultProps={iconSize:Nn.STANDARD,layout:"vertical"},t}(d.U),qn=n(19670),Wn=n(94537),Kn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClose=function(){return t.props.onClose(t.props.panel)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.panel,n=e.onOpen;return l.createElement("div",{className:c.PANEL_STACK_VIEW},this.maybeRenderHeader(),l.createElement(t.component,(0,o.pi)({openPanel:n,closePanel:this.handleClose},t.props)))},t.prototype.maybeRenderHeader=function(){return this.props.showHeader?l.createElement("div",{className:c.PANEL_STACK_HEADER},l.createElement("span",null,this.maybeRenderBack()),l.createElement(yt,{className:c.HEADING,ellipsize:!0,title:this.props.panel.htmlTitle},this.props.panel.title),l.createElement("span",null)):null},t.prototype.maybeRenderBack=function(){return void 0===this.props.previousPanel?null:l.createElement(dt.z,{"aria-label":"Back",className:c.PANEL_STACK_HEADER_BACK,icon:"chevron-left",minimal:!0,onClick:this.handleClose,small:!0,text:this.props.previousPanel.title,title:this.props.previousPanel.htmlTitle})},t}(d.U),$n=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={direction:"push",stack:null!=t.props.stack?t.props.stack.slice().reverse():void 0!==t.props.initialPanel?[t.props.initialPanel]:[]},t.renderPanel=function(e,n){var r=t.props,o=r.renderActivePanelOnly,i=r.showPanelHeader,a=void 0===i||i,s=t.state.stack,u=s.length-n,d=o?s.length:u;return l.createElement(qn.Z,{classNames:c.PANEL_STACK,key:d,timeout:400},l.createElement(Kn,{onClose:t.handlePanelClose,onOpen:t.handlePanelOpen,panel:e,previousPanel:s[n+1],showHeader:a}))},t.handlePanelClose=function(e){var n,r,o=t.state.stack;o[0]!==e||o.length<=1||(null===(r=(n=t.props).onClose)||void 0===r||r.call(n,e),null==t.props.stack&&t.setState((function(e){return{direction:"pop",stack:e.stack.slice(1)}})))},t.handlePanelOpen=function(e){var n,r;null===(r=(n=t.props).onOpen)||void 0===r||r.call(n,e),null==t.props.stack&&t.setState((function(t){return{direction:"push",stack:(0,o.ev)([e],t.stack,!0)}}))},t}return(0,o.ZT)(t,e),t.prototype.componentDidUpdate=function(t,n){e.prototype.componentDidUpdate.call(this,t,n),this.props.stack!==t.stack&&null!=t.stack&&this.setState({stack:this.props.stack.slice().reverse()}),(null!=this.props.stack?this.props.stack.length:0)!==(null!=t.stack?t.stack.length:0)&&null!=t.stack&&this.setState({direction:t.stack.length-this.props.stack.length<0?"push":"pop"})},t.prototype.render=function(){var e=a()(c.PANEL_STACK,"".concat(c.PANEL_STACK,"-").concat(this.state.direction),this.props.className);return l.createElement(Wn.Z,{className:e,component:"div"},this.renderPanels())},t.prototype.validateProps=function(e){(null==e.initialPanel&&null==e.stack||null!=e.initialPanel&&null!=e.stack)&&console.error(He._d),null!=e.stack&&0===e.stack.length&&console.error(He.Sw)},t.prototype.renderPanels=function(){var e=this.props.renderActivePanelOnly,t=void 0===e||e,n=this.state.stack;return 0===n.length?null:(t?[n[0]]:n).map(this.renderPanel).reverse()},t}(d.U),Yn=function(e){var t=l.useCallback((function(){return e.onClose(e.panel)}),[e.onClose,e.panel]),n=void 0===e.previousPanel?null:l.createElement(dt.z,{"aria-label":"Back",className:c.PANEL_STACK_HEADER_BACK,icon:"chevron-left",minimal:!0,onClick:t,small:!0,text:e.previousPanel.title,title:e.previousPanel.htmlTitle}),r=l.useMemo((function(){return function(){return e.panel.renderPanel((0,o.pi)({closePanel:t,openPanel:e.onOpen},e.panel.props))}}),[e.panel,e.onOpen]);return l.createElement("div",{className:c.PANEL_STACK2_VIEW},e.showHeader&&l.createElement("div",{className:c.PANEL_STACK2_HEADER},l.createElement("span",null,n),l.createElement(yt,{className:c.HEADING,ellipsize:!0,title:e.panel.htmlTitle},e.panel.title),l.createElement("span",null)),l.createElement(r,null))};Yn.displayName="".concat(Ve.g,".PanelView2");var Xn=function(e){var t=e.renderActivePanelOnly,n=void 0===t||t,r=e.showPanelHeader,i=void 0===r||r,s=e.stack,u=l.useState("push"),d=u[0],h=u[1],f=l.useState(void 0!==e.initialPanel?[e.initialPanel]:[]),p=f[0],v=f[1],m=l.useMemo((function(){return null!=s?s.slice().reverse():p}),[p,s]),g=l.useRef(m.length);l.useEffect((function(){m.length!==g.current&&h(m.length-g.current<0?"pop":"push"),g.current=m.length}),[m]);var y=l.useCallback((function(t){var n;null===(n=e.onOpen)||void 0===n||n.call(e,t),null==e.stack&&v((function(e){return(0,o.ev)([t],e,!0)}))}),[e.onOpen]),b=l.useCallback((function(t){var n;m[0]!==t||m.length<=1||(null===(n=e.onClose)||void 0===n||n.call(e,t),null==e.stack&&v((function(e){return e.slice(1)})))}),[m,e.onClose]);if(0===m.length)return null;var w=(n?[m[0]]:m).map((function(e,t){var r=m.length-t,o=n?m.length:r;return l.createElement(qn.Z,{classNames:c.PANEL_STACK2,key:o,timeout:400},l.createElement(Yn,{onClose:b,onOpen:y,panel:e,previousPanel:m[t+1],showHeader:i}))})).reverse(),_=a()(c.PANEL_STACK2,"".concat(c.PANEL_STACK2,"-").concat(d),e.className);return l.createElement(Wn.Z,{className:_,component:"div"},w)};Xn.displayName="".concat(Ve.g,".PanelStack2");var Zn=(0,o.pi)((0,o.pi)({},u.Ly),{AUTO:"auto",AUTO_END:"auto-end",AUTO_START:"auto-start"}),Qn=n(43551),Jn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.animate,r=void 0===n||n,o=t.className,i=t.intent,s=t.stripes,u=void 0===s||s,d=t.value,h=a()(c.PROGRESS_BAR,c.intentClass(i),((e={})[c.PROGRESS_NO_ANIMATION]=!r,e[c.PROGRESS_NO_STRIPES]=!u,e),o),f=null==d?void 0:100*(0,Fe.uZ)(d,0,1),p=null==f?void 0:f+"%";return l.createElement("div",{"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":null==f?void 0:Math.round(f),className:h,role:"progressbar"},l.createElement("div",{className:c.PROGRESS_METER,style:{width:p}}))},t.displayName="".concat(Ve.g,".ProgressBar"),t}(d.U),er={FULL:"full",START:"start",END:"end"},tr={LOCK:"lock",PUSH:"push",NONE:"none"};function nr(e){return"".concat((100*e).toFixed(2),"%")}function rr(e,t,n,r){for(var o=t<n?1:-1,i=t;i!==n+o;i+=o)e[i]=r}var or=["max","min","stepSize","tickSize","value"],ir=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isMoving:!1},t.handleElement=null,t.refHandlers={handle:function(e){return t.handleElement=e}},t.beginHandleMovement=function(e){document.addEventListener("mousemove",t.handleHandleMovement),document.addEventListener("mouseup",t.endHandleMovement),t.setState({isMoving:!0}),t.changeValue(t.clientToValue(t.mouseEventClientOffset(e)))},t.beginHandleTouchMovement=function(e){document.addEventListener("touchmove",t.handleHandleTouchMovement),document.addEventListener("touchend",t.endHandleTouchMovement),document.addEventListener("touchcancel",t.endHandleTouchMovement),t.setState({isMoving:!0}),t.changeValue(t.clientToValue(t.touchEventClientOffset(e)))},t.getStyleProperties=function(){if(null==t.handleElement)return{};var e=t.props,n=e.min,r=void 0===n?0:n,o=e.tickSizeRatio,i=e.value,a=e.vertical,l=t.getHandleMidpointAndOffset(t.handleElement,!0).handleMidpoint,s="calc(".concat(nr((i-r)*o)," - ").concat(l,"px)");return a?{bottom:s}:{left:s}},t.endHandleMovement=function(e){t.handleMoveEndedAt(t.mouseEventClientOffset(e))},t.endHandleTouchMovement=function(e){t.handleMoveEndedAt(t.touchEventClientOffset(e))},t.handleMoveEndedAt=function(e){var n,r;t.removeDocumentEventListeners(),t.setState({isMoving:!1});var o=t.changeValue(t.clientToValue(e));null===(r=(n=t.props).onRelease)||void 0===r||r.call(n,o)},t.handleHandleMovement=function(e){t.handleMovedTo(t.mouseEventClientOffset(e))},t.handleHandleTouchMovement=function(e){t.handleMovedTo(t.touchEventClientOffset(e))},t.handleMovedTo=function(e){t.state.isMoving&&!t.props.disabled&&t.changeValue(t.clientToValue(e))},t.handleKeyDown=function(e){var n=t.props,r=n.stepSize,o=n.value,i=e.which;i===$t.ARROW_DOWN||i===$t.ARROW_LEFT?(t.changeValue(o-r),e.preventDefault()):i!==$t.ARROW_UP&&i!==$t.ARROW_RIGHT||(t.changeValue(o+r),e.preventDefault())},t.handleKeyUp=function(e){var n,r;[$t.ARROW_UP,$t.ARROW_DOWN,$t.ARROW_LEFT,$t.ARROW_RIGHT].indexOf(e.which)>=0&&(null===(r=(n=t.props).onRelease)||void 0===r||r.call(n,t.props.value))},t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.disabled,i=t.label,s=t.min,u=t.max,d=t.value,h=t.vertical,f=t.htmlProps,p=this.state.isMoving;return l.createElement("span",(0,o.pi)({role:"slider",tabIndex:0},f,{className:a()(c.SLIDER_HANDLE,(e={},e[c.ACTIVE]=p,e),n),onKeyDown:r?void 0:this.handleKeyDown,onKeyUp:r?void 0:this.handleKeyUp,onMouseDown:r?void 0:this.beginHandleMovement,onTouchStart:r?void 0:this.beginHandleTouchMovement,ref:this.refHandlers.handle,style:this.getStyleProperties(),"aria-valuemin":s,"aria-valuemax":u,"aria-valuenow":d,"aria-orientation":h?"vertical":"horizontal"}),null==i?null:l.createElement("span",{className:c.SLIDER_LABEL},i))},t.prototype.componentWillUnmount=function(){this.removeDocumentEventListeners()},t.prototype.clientToValue=function(e){var t=this.props,n=t.stepSize,r=t.tickSize,o=t.value,i=t.vertical;if(null==this.handleElement)return o;var a=(i?window.innerHeight-e:e)-this.getHandleElementCenterPixel(this.handleElement);return isNaN(a)?o:o+Math.round(a/(r*n))*n},t.prototype.mouseEventClientOffset=function(e){return this.props.vertical?e.clientY:e.clientX},t.prototype.touchEventClientOffset=function(e){var t=e.changedTouches[0];return this.props.vertical?t.clientY:t.clientX},t.prototype.validateProps=function(e){for(var t=0,n=or;t<n.length;t++){var r=n[t];if("number"!=typeof e[r])throw new Error("[Blueprint] <Handle> requires number value for ".concat(r," prop"))}},t.prototype.changeValue=function(e,t){return void 0===t&&(t=this.props.onChange),e=this.clamp(e),isNaN(e)||this.props.value===e||null==t||t(e),e},t.prototype.clamp=function(e){return(0,Fe.uZ)(e,this.props.min,this.props.max)},t.prototype.getHandleElementCenterPixel=function(e){var t=this.getHandleMidpointAndOffset(e),n=t.handleMidpoint;return t.handleOffset+n},t.prototype.getHandleMidpointAndOffset=function(e,t){if(void 0===t&&(t=!1),null==e)return{handleMidpoint:0,handleOffset:0};var n=this.props.vertical,r=e.getBoundingClientRect(),o=n?t?"width":"height":t?"height":"width",i=n?window.innerHeight-(r.top+r[o]):r.left;return{handleMidpoint:r[o]/2,handleOffset:i}},t.prototype.removeDocumentEventListeners=function(){document.removeEventListener("mousemove",this.handleHandleMovement),document.removeEventListener("mouseup",this.endHandleMovement),document.removeEventListener("touchmove",this.handleHandleTouchMovement),document.removeEventListener("touchend",this.endHandleTouchMovement),document.removeEventListener("touchcancel",this.endHandleTouchMovement)},t.displayName="".concat(Ve.g,".SliderHandle"),t}(d.U),ar=function(){return null};ar.displayName="".concat(Ve.g,".MultiSliderHandle");var lr,sr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={labelPrecision:cr(t.props),tickSize:0,tickSizeRatio:0},t.handleElements=[],t.trackElement=null,t.addHandleRef=function(e){null!=e&&t.handleElements.push(e)},t.maybeHandleTrackClick=function(e){if(t.canHandleTrackEvent(e)){var n=t.nearestHandleForValue(t.handleElements,(function(t){return t.mouseEventClientOffset(e)}));n&&n.beginHandleMovement(e)}},t.maybeHandleTrackTouch=function(e){if(t.canHandleTrackEvent(e)){var n=t.nearestHandleForValue(t.handleElements,(function(t){return t.touchEventClientOffset(e)}));n&&n.beginHandleTouchMovement(e)}},t.canHandleTrackEvent=function(e){var n=e.target;return!t.props.disabled&&null==n.closest(".".concat(c.SLIDER_HANDLE))},t.getHandlerForIndex=function(e,n){return function(r){null==n||n(t.getNewHandleValues(r,e))}},t.handleChange=function(e){var n,r,o=ur(t.props),i=o.map((function(e){return e.value}));Et.cO(e,i)||(null===(r=(n=t.props).onChange)||void 0===r||r.call(n,e),o.forEach((function(t,n){var r;i[n]!==e[n]&&(null===(r=t.onChange)||void 0===r||r.call(t,e[n]))})))},t.handleRelease=function(e){var n,r,o=ur(t.props);null===(r=(n=t.props).onRelease)||void 0===r||r.call(n,e),o.forEach((function(t,n){var r;null===(r=t.onRelease)||void 0===r||r.call(t,e[n])}))},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e){return{labelPrecision:t.getLabelPrecision(e)}},t.getLabelPrecision=function(e){var t=e.labelPrecision,n=e.stepSize;return null==t?Fe.vk(n):t},t.prototype.getSnapshotBeforeUpdate=function(e){var t=ur(e);return ur(this.props).length!==t.length&&(this.handleElements=[]),null},t.prototype.render=function(){var e,t=this,n=a()(c.SLIDER,((e={})[c.DISABLED]=this.props.disabled,e["".concat(c.SLIDER,"-unlabeled")]=!1===this.props.labelRenderer,e[c.VERTICAL]=this.props.vertical,e),this.props.className);return l.createElement("div",{className:n,onMouseDown:this.maybeHandleTrackClick,onTouchStart:this.maybeHandleTrackTouch},l.createElement("div",{className:c.SLIDER_TRACK,ref:function(e){return t.trackElement=e}},this.renderTracks()),l.createElement("div",{className:c.SLIDER_AXIS},this.renderLabels()),this.renderHandles())},t.prototype.componentDidMount=function(){this.updateTickSize()},t.prototype.componentDidUpdate=function(t,n){e.prototype.componentDidUpdate.call(this,t,n),this.updateTickSize()},t.prototype.validateProps=function(e){if(e.stepSize<=0)throw new Error(He.Fp);if(void 0!==e.labelStepSize&&void 0!==e.labelValues)throw new Error(He.vS);if(void 0!==e.labelStepSize&&e.labelStepSize<=0)throw new Error(He.x1);if(void 0!==e.min&&!isFinite(e.min))throw new Error(He.y4);if(void 0!==e.max&&!isFinite(e.max))throw new Error(He.Nd);var n=!1;if(l.Children.forEach(e.children,(function(e){e&&!De.Mc(e,t.Handle)&&(n=!0)})),n)throw new Error(He.kP)},t.prototype.formatLabel=function(e,t){void 0===t&&(t=!1);var n=this.props.labelRenderer;return!1===n?void 0:Rt.m(n)?n(e,{isHandleTooltip:t}):e.toFixed(this.state.labelPrecision)},t.prototype.renderLabels=function(){var e=this;if(!1===this.props.labelRenderer)return null;var t=this.getLabelValues(),n=this.props,r=n.max,o=n.min;return t.map((function(t,n){var i=nr((t-o)/(r-o)),a=e.props.vertical?{bottom:i}:{left:i};return l.createElement("div",{className:c.SLIDER_LABEL,key:n,style:a},e.formatLabel(t))}))},t.prototype.renderTracks=function(){var e=dr(this.props);e.push({value:this.props.max});for(var t={value:this.props.min},n=[],r=0;r<e.length;r++){var o=e[r];n.push(this.renderTrackFill(r,t,o)),t=o}return n},t.prototype.renderTrackFill=function(e,t,n){var r=[this.getOffsetRatio(t.value),this.getOffsetRatio(n.value)].sort((function(e,t){return e-t})),i=r[0],s=r[1],u=nr(i),d=nr(1-s),h=this.props.vertical?{bottom:u,top:d,left:0}:{left:u,right:d,top:0},f=(0,o.pi)((0,o.pi)({},h),t.trackStyleAfter||n.trackStyleBefore||{}),p=a()(c.SLIDER_PROGRESS,c.intentClass(this.getTrackIntent(t,n)));return l.createElement("div",{key:"track-".concat(e),className:p,style:f})},t.prototype.renderHandles=function(){var e=this,t=this.props,n=t.disabled,r=t.max,o=t.min,i=t.stepSize,s=t.vertical,u=ur(this.props);return 0===u.length?null:u.map((function(t,d){var h,f=t.value,p=t.type,v=t.className,m=t.htmlProps;return l.createElement(ir,{htmlProps:m,className:a()((h={},h[c.START]=p===er.START,h[c.END]=p===er.END,h),v),disabled:n,key:"".concat(d,"-").concat(u.length),label:e.formatLabel(f,!0),max:r,min:o,onChange:e.getHandlerForIndex(d,e.handleChange),onRelease:e.getHandlerForIndex(d,e.handleRelease),ref:e.addHandleRef,stepSize:i,tickSize:e.state.tickSize,tickSizeRatio:e.state.tickSizeRatio,value:f,vertical:s})}))},t.prototype.nearestHandleForValue=function(e,t){return function(e,t){if(0!==e.length){for(var n=e[0],r=t(n),o=1;o<e.length;o++){var i=e[o],a=t(i);a<r&&(n=i,r=a)}return n}}(e,(function(e){var n=t(e),r=e.clientToValue(n),o=e.props.value;return Math.abs(r-o)}))},t.prototype.getNewHandleValues=function(e,t){var n=ur(this.props).map((function(e){return e.value})),r=n.slice();r[t]=e,r.sort((function(e,t){return e-t}));var o=r.indexOf(e),i=this.findFirstLockedHandleIndex(t,o);return-1!==i?(rr(n,t,i,n[i]),n):(rr(r,t,o,e),r)},t.prototype.findFirstLockedHandleIndex=function(e,t){for(var n=e<t?1:-1,r=ur(this.props),o=e+n;o!==t+n;o+=n)if(r[o].interactionKind!==tr.PUSH)return o;return-1},t.prototype.getLabelValues=function(){var e=this.props,t=e.labelStepSize,n=e.labelValues,r=e.min,o=e.max,i=[];if(void 0!==n)i=n.slice();else for(var a=r;a<o||Fe.mQ(a,o);a+=null!=t?t:1)i.push(a);return i},t.prototype.getOffsetRatio=function(e){return Fe.uZ((e-this.props.min)*this.state.tickSizeRatio,0,1)},t.prototype.getTrackIntent=function(e,t){return this.props.showTrackFill?void 0!==e.intentAfter?e.intentAfter:void 0!==t&&void 0!==t.intentBefore?t.intentBefore:this.props.defaultTrackIntent:Pt.S.NONE},t.prototype.updateTickSize=function(){if(null!=this.trackElement){var e=this.props.vertical?this.trackElement.clientHeight:this.trackElement.clientWidth,t=1/(this.props.max-this.props.min),n=e*t;this.setState({tickSize:n,tickSizeRatio:t})}},t.defaultSliderProps={disabled:!1,max:10,min:0,showTrackFill:!0,stepSize:1,vertical:!1},t.defaultProps=(0,o.pi)((0,o.pi)({},t.defaultSliderProps),{defaultTrackIntent:Pt.S.NONE}),t.displayName="".concat(Ve.g,".MultiSlider"),t.Handle=ar,t}(d.U);function cr(e){var t=e.labelPrecision,n=e.stepSize,r=void 0===n?sr.defaultSliderProps.stepSize:n;return null==t?Fe.vk(r):t}function ur(e){return dr(e,(function(e){return e.interactionKind!==tr.NONE}))}function dr(e,t){var n=e.children;void 0===t&&(t=function(){return!0});var r=l.Children.map(n,(function(e){return De.Mc(e,sr.Handle)&&t(e.props)?e.props:null})),o=null!=r?r:[];return(o=o.filter((function(e){return null!==e}))).sort((function(e,t){return e.value-t.value})),o}!function(e){e[e.START=0]="START",e[e.END=1]="END"}(lr||(lr={}));var hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.value,n=e.handleHtmlProps,r=(0,o._T)(e,["value","handleHtmlProps"]);return l.createElement(sr,(0,o.pi)({},r),l.createElement(sr.Handle,{value:t[lr.START],type:"start",intentAfter:r.intent,htmlProps:null==n?void 0:n.start}),l.createElement(sr.Handle,{value:t[lr.END],type:"end",htmlProps:null==n?void 0:n.end}))},t.prototype.validateProps=function(e){var t=e.value;if(null==t||null==t[lr.START]||null==t[lr.END])throw new Error(He.ek)},t.defaultProps=(0,o.pi)((0,o.pi)({},sr.defaultSliderProps),{intent:Pt.S.PRIMARY,value:[0,10]}),t.displayName="".concat(Ve.g,".RangeSlider"),t}(d.U),fr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.initialValue,n=e.intent,r=e.value,i=e.onChange,a=e.onRelease,s=e.handleHtmlProps,c=(0,o._T)(e,["initialValue","intent","value","onChange","onRelease","handleHtmlProps"]);return l.createElement(sr,(0,o.pi)({},c),l.createElement(sr.Handle,{value:r,intentAfter:r<t?n:void 0,intentBefore:r>=t?n:void 0,onChange:i,onRelease:a,htmlProps:s}),l.createElement(sr.Handle,{value:t,interactionKind:"none"}))},t.defaultProps=(0,o.pi)((0,o.pi)({},sr.defaultSliderProps),{initialValue:0,intent:Pt.S.PRIMARY,value:0}),t.displayName="".concat(Ve.g,".Slider"),t}(d.U),pr=n(98673),vr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.panel;return l.createElement("div",{className:a()(c.TAB_PANEL,t),role:"tablist"},n)},t.defaultProps={disabled:!1},t.displayName="".concat(Ve.g,".Tab"),t}(d.U),mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onRemoveClick=function(e){var n,r;null===(r=(n=t.props).onRemove)||void 0===r||r.call(n,e,t.props)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.active,r=t.children,i=t.className,s=t.fill,u=t.icon,d=t.intent,h=t.interactive,f=t.large,p=t.minimal,v=t.multiline,m=t.onRemove,g=t.rightIcon,y=t.round,b=t.tabIndex,w=void 0===b?0:b,_=t.htmlTitle,E=t.elementRef,x=(0,o._T)(t,["active","children","className","fill","icon","intent","interactive","large","minimal","multiline","onRemove","rightIcon","round","tabIndex","htmlTitle","elementRef"]),S=Rt.m(m),O=a()(c.TAG,c.intentClass(d),((e={})[c.ACTIVE]=n,e[c.FILL]=s,e[c.INTERACTIVE]=h,e[c.LARGE]=f,e[c.MINIMAL]=p,e[c.ROUND]=y,e),i),C=f||O.indexOf(c.LARGE)>=0,M=S?l.createElement("button",{"aria-label":"Remove Tag",type:"button",className:c.TAG_REMOVE,onClick:this.onRemoveClick,tabIndex:w},l.createElement(ft.I,{icon:"small-cross",size:C?ft.J.LARGE:ft.J.STANDARD})):null;return l.createElement("span",(0,o.pi)({},x,{className:O,tabIndex:h?w:void 0,ref:E}),l.createElement(ft.I,{icon:u}),!(0,De.qA)(r)&&l.createElement(yt,{className:c.FILL,ellipsize:!v,tagName:"span",title:_},r),l.createElement(ft.I,{icon:g}),M)},t.displayName="".concat(Ve.g,".Tag"),t}(d.U),gr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClick=function(e){return t.props.onClick(t.props.id,e)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.disabled,i=e.id,s=e.parentId,u=e.selected,d=e.title,h=e.icon,f=e.tagContent,p=e.tagProps,v=(0,o._T)(e,["className","children","disabled","id","parentId","selected","title","icon","tagContent","tagProps"]),m=u?Pt.S.PRIMARY:Pt.S.NONE;return l.createElement("div",(0,o.pi)({},(0,Ve.B)(v),{"aria-controls":yr(s,i),"aria-disabled":r,"aria-expanded":u,"aria-selected":u,className:a()(c.TAB,t),"data-tab-id":i,id:br(s,i),onClick:r?void 0:this.handleClick,role:"tab",tabIndex:r?void 0:u?0:-1}),null!=h&&l.createElement(ft.I,{icon:h,intent:m,className:c.TAB_ICON}),d,n,null!=f&&l.createElement(mr,(0,o.pi)({minimal:!0,intent:m},p,{className:a()(c.TAB_TAG,null==p?void 0:p.className)}),f))},t.displayName="".concat(Ve.g,".TabTitle"),t}(d.U);function yr(e,t){return"".concat(c.TAB_PANEL,"_").concat(e,"_").concat(t)}function br(e,t){return"".concat(c.TAB,"-title_").concat(e,"_").concat(t)}var wr=function(){return l.createElement("div",{className:c.FLEX_EXPANDER})},_r=".".concat(c.TAB),Er=function(e){function t(t){var n=e.call(this,t)||this;n.tablistElement=null,n.refHandlers={tablist:function(e){return n.tablistElement=e}},n.handleKeyDown=function(e){var t,r=null===(t=je.vY(n.tablistElement))||void 0===t?void 0:t.closest(_r);if(null!=r){var o=n.getTabElements().filter((function(e){return"false"===e.getAttribute("aria-disabled")})),i=o.indexOf(r),a=n.getKeyCodeDirection(e);if(i>=0&&void 0!==a){e.preventDefault();var l=o.length;o[(i+a+l)%l].focus()}}},n.handleKeyPress=function(e){var t=e.target.closest(_r);null!=t&&$t.isKeyboardClick(e.which)&&(e.preventDefault(),t.click())},n.handleTabClick=function(e,t){var r,o;null===(o=(r=n.props).onChange)||void 0===o||o.call(r,e,n.state.selectedTabId,t),void 0===n.props.selectedTabId&&n.setState({selectedTabId:e})},n.renderTabPanel=function(e){var t=e.props,r=t.className,o=t.panel,i=t.id,s=t.panelClassName;if(void 0!==o)return l.createElement("div",{"aria-labelledby":br(n.props.id,i),"aria-hidden":i!==n.state.selectedTabId,className:a()(c.TAB_PANEL,r,s),id:yr(n.props.id,i),key:i,role:"tabpanel"},o)},n.renderTabTitle=function(e){if(Sr(e)){var t=e.props.id;return l.createElement(gr,(0,o.pi)({},e.props,{parentId:n.props.id,onClick:n.handleTabClick,selected:t===n.state.selectedTabId}))}return e};var r=n.getInitialSelectedTabId();return n.state={selectedTabId:r},n}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e){var t=e.selectedTabId;return void 0!==t?{selectedTabId:t}:null},t.prototype.render=function(){var e,t,n=this.state,r=n.indicatorWrapperStyle,o=n.selectedTabId,i=l.Children.map(this.props.children,this.renderTabTitle),s=this.getTabChildren().filter(this.props.renderActiveTabPanelOnly?function(e){return e.props.id===o}:function(){return!0}).map(this.renderTabPanel),u=this.props.animate?l.createElement("div",{className:c.TAB_INDICATOR_WRAPPER,style:r},l.createElement("div",{className:c.TAB_INDICATOR})):null,d=a()(c.TABS,this.props.className,((e={})[c.VERTICAL]=this.props.vertical,e[c.FILL]=this.props.fill,e)),h=a()(c.TAB_LIST,((t={})[c.LARGE]=this.props.large,t));return l.createElement("div",{className:d},l.createElement("div",{className:h,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,ref:this.refHandlers.tablist,role:"tablist"},u,i),s)},t.prototype.componentDidMount=function(){this.moveSelectionIndicator(!1)},t.prototype.componentDidUpdate=function(e,t){(this.state.selectedTabId!==t.selectedTabId||null!=t.selectedTabId&&!Et.cO(this.getTabChildrenProps(e),this.getTabChildrenProps(),Et.ms))&&this.moveSelectionIndicator()},t.prototype.getInitialSelectedTabId=function(){var e=this.props,t=e.defaultSelectedTabId,n=e.selectedTabId;if(void 0!==n)return n;if(void 0!==t)return t;var r=this.getTabChildren();return 0===r.length?void 0:r[0].props.id},t.prototype.getKeyCodeDirection=function(e){return xr(e,$t.ARROW_LEFT,$t.ARROW_UP)?-1:xr(e,$t.ARROW_RIGHT,$t.ARROW_DOWN)?1:void 0},t.prototype.getTabChildrenProps=function(e){return void 0===e&&(e=this.props),this.getTabChildren(e).map((function(e){return e.props}))},t.prototype.getTabChildren=function(e){return void 0===e&&(e=this.props),l.Children.toArray(e.children).filter(Sr)},t.prototype.getTabElements=function(e){return void 0===e&&(e=""),null==this.tablistElement?[]:Array.from(this.tablistElement.querySelectorAll(_r+e))},t.prototype.moveSelectionIndicator=function(e){if(void 0===e&&(e=!0),null!=this.tablistElement&&this.props.animate){var t="".concat(_r,'[data-tab-id="').concat(this.state.selectedTabId,'"]'),n=this.tablistElement.querySelector(t),r={display:"none"};if(null!=n){var o=n.clientHeight,i=n.clientWidth,a=n.offsetLeft,l=n.offsetTop;r={height:o,transform:"translateX(".concat(Math.floor(a),"px) translateY(").concat(Math.floor(l),"px)"),width:i},e||(r.transition="none")}this.setState({indicatorWrapperStyle:r})}},t.Expander=wr,t.Tab=vr,t.defaultProps={animate:!0,fill:!1,large:!1,renderActiveTabPanelOnly:!1,vertical:!1},t.displayName="".concat(Ve.g,".Tabs"),t}(d.U);function xr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.indexOf(e.which)>=0}function Sr(e){return De.Mc(e,vr)}var Or=(0,l.forwardRef)((function(e,t){var n=(0,l.useState)(""),r=n[0],i=n[1],a=(0,l.useState)(0),s=a[0],u=a[1],d=(0,l.useRef)(null);(0,l.useEffect)((function(){null!=d.current&&u(d.current.offsetWidth)}),[r]);var h=e.onChange,f=e.style,p=(0,o._T)(e,["onChange","style"]);return l.createElement(l.Fragment,null,l.createElement("span",{ref:d,className:c.RESIZABLE_INPUT_SPAN,"aria-hidden":!0},r.replace(/ /g," ")),l.createElement("input",(0,o.pi)({},p,{type:"text",style:(0,o.pi)((0,o.pi)({},f),{width:s}),onChange:function(e){var t,n;null==h||h(e),i(null!==(n=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)&&void 0!==n?n:"")},ref:t})))}));Or.displayName="".concat(Ve.g,".ResizableInput");var Cr=-1,Mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={activeIndex:Cr,inputValue:t.props.inputValue||"",isInputFocused:!1},t.inputElement=null,t.handleRef=(0,Re.Km)(t,"inputElement",t.props.inputRef),t.addTags=function(e,n){void 0===n&&(n="default");var r=t.props,i=r.inputValue,a=r.onAdd,l=r.onChange,s=r.values,c=t.getValues(e),u=!1!==(null==a?void 0:a(c,n))&&void 0===i;Rt.m(l)&&(u=!1!==l((0,o.ev)((0,o.ev)([],s,!0),c,!0))&&u),u&&t.setState({inputValue:""})},t.maybeRenderTag=function(e,n){if(!e)return null;var r=t.props,i=r.large,a=r.tagProps,s=Rt.m(a)?a(e,n):a;return l.createElement(mr,(0,o.pi)({active:n===t.state.activeIndex,"data-tag-index":n,key:e+"__"+n,large:i,onRemove:t.props.disabled?void 0:t.handleRemoveTag},s),e)},t.handleContainerClick=function(){var e;null===(e=t.inputElement)||void 0===e||e.focus()},t.handleContainerBlur=function(e){var n=e.currentTarget;t.requestAnimationFrame((function(){n.contains((0,je.vY)(t.inputElement))||(t.props.addOnBlur&&void 0!==t.state.inputValue&&t.state.inputValue.length>0&&t.addTags(t.state.inputValue,"blur"),t.setState({activeIndex:Cr,isInputFocused:!1}))}))},t.handleInputFocus=function(e){var n,r;t.setState({isInputFocused:!0}),null===(r=null===(n=t.props.inputProps)||void 0===n?void 0:n.onFocus)||void 0===r||r.call(n,e)},t.handleInputChange=function(e){var n,r,o,i;t.setState({activeIndex:Cr,inputValue:e.currentTarget.value}),null===(r=(n=t.props).onInputChange)||void 0===r||r.call(n,e),null===(i=null===(o=t.props.inputProps)||void 0===o?void 0:o.onChange)||void 0===i||i.call(o,e)},t.handleInputKeyDown=function(e){var n=e.currentTarget,r=n.selectionEnd,o=n.value,i=t.state.activeIndex,a=i;if(e.which===$t.ENTER&&o.length>0)t.addTags(o,"default");else if(0===r&&t.props.values.length>0)if(e.which===$t.ARROW_LEFT||e.which===$t.ARROW_RIGHT){var l=t.getNextActiveIndex(e.which===$t.ARROW_RIGHT?1:-1);l!==i&&(e.stopPropagation(),a=l,t.setState({activeIndex:l}))}else e.which===$t.BACKSPACE?t.handleBackspaceToRemove(e):e.which===$t.DELETE&&t.handleDeleteToRemove(e);t.invokeKeyPressCallback("onKeyDown",e,a)},t.handleInputKeyUp=function(e){t.invokeKeyPressCallback("onKeyUp",e,t.state.activeIndex)},t.handleInputPaste=function(e){var n=t.props.separator,r=e.clipboardData.getData("text");t.props.addOnPaste&&0!==r.length&&!1!==n&&1!==r.split(n).length&&(e.preventDefault(),t.addTags(r,"paste"))},t.handleRemoveTag=function(e){var n=+e.currentTarget.parentElement.getAttribute("data-tag-index");t.removeIndexFromValues(n)},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){return e.inputValue!==t.prevInputValueProp?{inputValue:e.inputValue,prevInputValueProp:e.inputValue}:null},t.prototype.render=function(){var e,t=this.props,n=t.autoResize,r=t.className,i=t.disabled,s=t.fill,u=t.inputProps,d=t.intent,h=t.large,f=t.leftIcon,p=t.placeholder,v=t.values,m=a()(c.INPUT,c.TAG_INPUT,((e={})[c.ACTIVE]=this.state.isInputFocused,e[c.DISABLED]=i,e[c.FILL]=s,e[c.LARGE]=h,e),c.intentClass(d),r),g=m.indexOf(c.LARGE)>Cr,y=v.some((function(e){return!!e})),b=null==p||y?null==u?void 0:u.placeholder:p,w=(0,o.pi)((0,o.pi)({value:this.state.inputValue},u),{className:a()(c.INPUT_GHOST,null==u?void 0:u.className),disabled:i,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onKeyDown:this.handleInputKeyDown,onKeyUp:this.handleInputKeyUp,onPaste:this.handleInputPaste,placeholder:b,ref:this.handleRef});return l.createElement("div",{className:m,onBlur:this.handleContainerBlur,onClick:this.handleContainerClick},l.createElement(ft.I,{className:c.TAG_INPUT_ICON,icon:f,size:g?ft.J.LARGE:ft.J.STANDARD}),l.createElement("div",{className:c.TAG_INPUT_VALUES},v.map(this.maybeRenderTag),this.props.children,n?l.createElement(Or,(0,o.pi)({},w)):l.createElement("input",(0,o.pi)({},w))),this.props.rightElement)},t.prototype.componentDidUpdate=function(e){e.inputRef!==this.props.inputRef&&((0,Re.k$)(e.inputRef,null),this.handleRef=(0,Re.Km)(this,"inputElement",this.props.inputRef),(0,Re.k$)(this.props.inputRef,this.inputElement))},t.prototype.getNextActiveIndex=function(e){var t=this.state.activeIndex;return t===Cr?e<0?this.findNextIndex(this.props.values.length,-1):Cr:this.findNextIndex(t,e)},t.prototype.findNextIndex=function(e,t){for(var n=this.props.values,r=e+t;r>0&&r<n.length&&!n[r];)r+=t;return Fe.uZ(r,0,n.length)},t.prototype.getValues=function(e){var t=this.props.separator;return(!1===t?[e]:e.split(t)).map((function(e){return e.trim()})).filter((function(e){return e.length>0}))},t.prototype.handleBackspaceToRemove=function(e){var t=this.state.activeIndex;this.setState({activeIndex:this.getNextActiveIndex(-1)}),this.isValidIndex(t)&&(e.stopPropagation(),this.removeIndexFromValues(t))},t.prototype.handleDeleteToRemove=function(e){var t=this.state.activeIndex;this.isValidIndex(t)&&(e.stopPropagation(),this.removeIndexFromValues(t))},t.prototype.removeIndexFromValues=function(e){var t=this.props,n=t.onChange,r=t.onRemove,o=t.values;null==r||r(o[e],e),null==n||n(o.filter((function(t,n){return n!==e})))},t.prototype.invokeKeyPressCallback=function(e,t,n){var r,o,i,a;null===(o=(r=this.props)[e])||void 0===o||o.call(r,t,n===Cr?void 0:n),null===(a=(i=this.props.inputProps)[e])||void 0===a||a.call(i,t)},t.prototype.isValidIndex=function(e){return e!==Cr&&e<this.props.values.length},t.displayName="".concat(Ve.g,".TagInput"),t.defaultProps={addOnBlur:!1,addOnPaste:!0,autoResize:!1,inputProps:{},separator:/[,\n\r]/,tagProps:{}},t}(d.U),zr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleActionClick=function(e){var n,r;null===(r=null===(n=t.props.action)||void 0===n?void 0:n.onClick)||void 0===r||r.call(n,e),t.triggerDismiss(!1)},t.handleCloseClick=function(){return t.triggerDismiss(!1)},t.startTimeout=function(){t.clearTimeouts(),t.props.timeout>0&&t.setTimeout((function(){return t.triggerDismiss(!0)}),t.props.timeout)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.icon,r=e.intent,o=e.message,i=e.isCloseButtonShown;return l.createElement("div",{className:a()(c.TOAST,c.intentClass(r),t),onBlur:this.startTimeout,onFocus:this.clearTimeouts,onMouseEnter:this.clearTimeouts,onMouseLeave:this.startTimeout,tabIndex:0},l.createElement(ft.I,{icon:n}),l.createElement("span",{className:c.TOAST_MESSAGE,role:"alert"},o),l.createElement(zt,{minimal:!0},this.maybeRenderActionButton(),i&&l.createElement(dt.z,{"aria-label":"Close",icon:"cross",onClick:this.handleCloseClick})))},t.prototype.componentDidMount=function(){this.startTimeout()},t.prototype.componentDidUpdate=function(e){e.timeout!==this.props.timeout&&(this.props.timeout>0?this.startTimeout():this.clearTimeouts())},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.maybeRenderActionButton=function(){var e=this.props.action;return null==e?void 0:l.createElement(dt.A,(0,o.pi)({},e,{intent:void 0,onClick:this.handleActionClick}))},t.prototype.triggerDismiss=function(e){var t,n;this.clearTimeouts(),null===(n=(t=this.props).onDismiss)||void 0===n||n.call(t,e)},t.defaultProps={className:"",isCloseButtonShown:!0,message:"",timeout:5e3},t.displayName="".concat(Ve.g,".Toast"),t}(d.U),Pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={toasts:[]},t.toastId=0,t.renderToast=function(e){return l.createElement(zr,(0,o.pi)({},e,{onDismiss:t.getDismissHandler(e)}))},t.getDismissHandler=function(e){return function(n){t.dismiss(e.key,n)}},t.handleClose=function(e){e.which===$t.ESCAPE&&t.clear()},t}return(0,o.ZT)(t,e),t.create=function(e,n){void 0===n&&(n=document.body),null==e||null==e.usePortal||(0,Fe.KV)("production")||console.warn(He.xM);var r=document.createElement("div");n.appendChild(r);var i=s.render(l.createElement(t,(0,o.pi)({},e,{usePortal:!1})),r);if(null==i)throw new Error(He.wi);return i},t.prototype.show=function(e,t){this.props.maxToasts&&this.dismissIfAtLimit();var n=this.createToastOptions(e,t);return void 0===t||this.isNewToastKey(t)?this.setState((function(e){return{toasts:(0,o.ev)([n],e.toasts,!0)}})):this.setState((function(e){return{toasts:e.toasts.map((function(e){return e.key===t?n:e}))}})),n.key},t.prototype.dismiss=function(e,t){void 0===t&&(t=!1),this.setState((function(n){return{toasts:n.toasts.filter((function(n){var r,o=n.key===e;return o&&(null===(r=n.onDismiss)||void 0===r||r.call(n,t)),!o}))}}))},t.prototype.clear=function(){this.state.toasts.forEach((function(e){var t;return null===(t=e.onDismiss)||void 0===t?void 0:t.call(e,!1)})),this.setState({toasts:[]})},t.prototype.getToasts=function(){return this.state.toasts},t.prototype.render=function(){var e=a()(c.TOAST_CONTAINER,this.getPositionClasses(),this.props.className);return l.createElement(Be.a,{autoFocus:this.props.autoFocus,canEscapeKeyClose:this.props.canEscapeKeyClear,canOutsideClickClose:!1,className:e,enforceFocus:!1,hasBackdrop:!1,isOpen:this.state.toasts.length>0||null!=this.props.children,onClose:this.handleClose,shouldReturnFocusOnClose:!1,transitionDuration:350,transitionName:c.TOAST,usePortal:this.props.usePortal},this.state.toasts.map(this.renderToast,this),this.props.children)},t.prototype.validateProps=function(e){var t=e.maxToasts;if(void 0!==t&&t<1)throw new Error(He.aL)},t.prototype.isNewToastKey=function(e){return this.state.toasts.every((function(t){return t.key!==e}))},t.prototype.dismissIfAtLimit=function(){this.state.toasts.length===this.props.maxToasts&&this.dismiss(this.state.toasts[this.state.toasts.length-1].key)},t.prototype.createToastOptions=function(e,t){return void 0===t&&(t="toast-".concat(this.toastId++)),(0,o.pi)((0,o.pi)({},e),{key:t})},t.prototype.getPositionClasses=function(){var e=this.props.position.split("-");return(0,o.ev)((0,o.ev)([],e.map((function(e){return"".concat(c.TOAST_CONTAINER,"-").concat(e.toLowerCase())})),!0),["".concat(c.TOAST_CONTAINER,"-").concat(this.props.usePortal?"in-portal":"inline")],!1)},t.displayName="".concat(Ve.g,".OverlayToaster"),t.defaultProps={autoFocus:!1,canEscapeKeyClear:!0,position:u.Ly.TOP,usePortal:!0},t}(d.U),Tr=Pr,Ar=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleCaretClick=function(e){var n;e.stopPropagation();var r=t.props,o=r.isExpanded,i=r.onCollapse,a=r.onExpand;null===(n=o?i:a)||void 0===n||n(t,e)},t.handleClick=function(e){var n,r;null===(r=(n=t.props).onClick)||void 0===r||r.call(n,t,e)},t.handleContentRef=function(e){var n,r;null===(r=(n=t.props).contentRef)||void 0===r||r.call(n,t,e)},t.handleContextMenu=function(e){var n,r;null===(r=(n=t.props).onContextMenu)||void 0===r||r.call(n,t,e)},t.handleDoubleClick=function(e){var n,r;null===(r=(n=t.props).onDoubleClick)||void 0===r||r.call(n,t,e)},t.handleMouseEnter=function(e){var n,r;null===(r=(n=t.props).onMouseEnter)||void 0===r||r.call(n,t,e)},t.handleMouseLeave=function(e){var n,r;null===(r=(n=t.props).onMouseLeave)||void 0===r||r.call(n,t,e)},t}return(0,o.ZT)(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e,t=this.props,n=t.children,r=t.className,i=t.disabled,s=t.icon,u=t.isExpanded,d=t.isSelected,h=t.label,f=a()(c.TREE_NODE,((e={})[c.DISABLED]=i,e[c.TREE_NODE_SELECTED]=d,e[c.TREE_NODE_EXPANDED]=u,e),r),p=a()(c.TREE_NODE_CONTENT,"".concat(c.TREE_NODE_CONTENT,"-").concat(this.props.depth)),v=!0===i?{}:{onClick:this.handleClick,onContextMenu:this.handleContextMenu,onDoubleClick:this.handleDoubleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave};return l.createElement("li",{className:f},l.createElement("div",(0,o.pi)({className:p,ref:this.handleContentRef},v),this.maybeRenderCaret(),l.createElement(ft.I,{className:c.TREE_NODE_ICON,icon:s,"aria-hidden":!0,tabIndex:-1}),l.createElement("span",{className:c.TREE_NODE_LABEL},h),this.maybeRenderSecondaryLabel()),l.createElement(Nt,{isOpen:u},n))},t.prototype.maybeRenderCaret=function(){var e=this.props,t=e.children,n=e.isExpanded,r=e.disabled,o=e.hasCaret;if(void 0===o?l.Children.count(t)>0:o){var i=a()(c.TREE_NODE_CARET,n?c.TREE_NODE_CARET_OPEN:c.TREE_NODE_CARET_CLOSED),s=!0===r?void 0:this.handleCaretClick;return l.createElement(ft.I,{title:n?"Collapse group":"Expand group",className:i,onClick:s,icon:"chevron-right"})}return l.createElement("span",{className:c.TREE_NODE_CARET_NONE})},t.prototype.maybeRenderSecondaryLabel=function(){return null!=this.props.secondaryLabel?l.createElement("span",{className:c.TREE_NODE_SECONDARY_LABEL},this.props.secondaryLabel):void 0},t.displayName="".concat(Ve.g,".TreeNode"),t}(l.Component),Lr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.nodeRefs={},t.handleNodeCollapse=function(e,n){t.handlerHelper(t.props.onNodeCollapse,e,n)},t.handleNodeClick=function(e,n){t.handlerHelper(t.props.onNodeClick,e,n)},t.handleContentRef=function(e,n){null!=n?t.nodeRefs[e.props.id]=n:delete t.nodeRefs[e.props.id]},t.handleNodeContextMenu=function(e,n){t.handlerHelper(t.props.onNodeContextMenu,e,n)},t.handleNodeDoubleClick=function(e,n){t.handlerHelper(t.props.onNodeDoubleClick,e,n)},t.handleNodeExpand=function(e,n){t.handlerHelper(t.props.onNodeExpand,e,n)},t.handleNodeMouseEnter=function(e,n){t.handlerHelper(t.props.onNodeMouseEnter,e,n)},t.handleNodeMouseLeave=function(e,n){t.handlerHelper(t.props.onNodeMouseLeave,e,n)},t}return(0,o.ZT)(t,e),t.ofType=function(){return t},t.nodeFromPath=function(e,n){return 1===e.length?n[e[0]]:t.nodeFromPath(e.slice(1),n[e[0]].childNodes)},t.prototype.render=function(){return l.createElement("div",{className:a()(c.TREE,this.props.className)},this.renderNodes(this.props.contents,[],c.TREE_ROOT))},t.prototype.getNodeContentElement=function(e){return this.nodeRefs[e]},t.prototype.renderNodes=function(e,t,n){var r=this;if(null==e)return null;var i=e.map((function(e,n){var i=t.concat(n);return l.createElement(Ar,(0,o.pi)({},e,{key:e.id,contentRef:r.handleContentRef,depth:i.length-1,onClick:r.handleNodeClick,onContextMenu:r.handleNodeContextMenu,onCollapse:r.handleNodeCollapse,onDoubleClick:r.handleNodeDoubleClick,onExpand:r.handleNodeExpand,onMouseEnter:r.handleNodeMouseEnter,onMouseLeave:r.handleNodeMouseLeave,path:i}),r.renderNodes(e.childNodes,i))}));return l.createElement("ul",{className:a()(c.TREE_NODE_LIST,n)},i)},t.prototype.handlerHelper=function(e,n,r){(0,Rt.m)(e)&&e(t.nodeFromPath(n.props.path,this.props.contents),n.props.path,r)},t.displayName="".concat(Ve.g,".Tree"),t}(l.Component),kr=r},61624:(e,t,n)=>{"use strict";n.d(t,{a:()=>g});var r=n(18465),o=n(94184),i=n.n(o),a=n(67294),l=n(73935),s=n(19670),c=n(94537),u=n(40451),d=n(9421),h=n(35307),f=n(72778),p=n(23251),v=n(93835),m=n(43551),g=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.isAutoFocusing=!1,n.state={hasEverOpened:n.props.isOpen},n.containerElement=null,n.startFocusTrapElement=null,n.endFocusTrapElement=null,n.refHandlers={container:function(e){return n.containerElement=(0,l.findDOMNode)(e)},endFocusTrap:function(e){return n.endFocusTrapElement=e},startFocusTrap:function(e){return n.startFocusTrapElement=e}},n.maybeRenderChild=function(e){if((0,p.m)(e)&&(e=e()),null==e)return null;var t="object"==typeof e?a.cloneElement(e,{className:i()(e.props.className,u.OVERLAY_CONTENT)}):a.createElement("span",{className:u.OVERLAY_CONTENT},e),r=n.props,o=r.onOpening,l=r.onOpened,c=r.onClosing,d=r.transitionDuration,h=r.transitionName;return a.createElement(s.Z,{classNames:h,onEntering:o,onEntered:l,onExiting:c,onExited:n.handleTransitionExited,timeout:d,addEndListener:n.handleTransitionAddEnd},t)},n.handleStartFocusTrapElementFocus=function(e){var t;n.props.enforceFocus&&!n.isAutoFocusing&&null!=e.relatedTarget&&n.containerElement.contains(e.relatedTarget)&&e.relatedTarget!==n.endFocusTrapElement&&(null===(t=n.endFocusTrapElement)||void 0===t||t.focus({preventScroll:!0}))},n.handleStartFocusTrapElementKeyDown=function(e){var t;if(n.props.enforceFocus&&e.shiftKey&&e.which===d.TAB){var r=n.getKeyboardFocusableElements().pop();null!=r?r.focus():null===(t=n.endFocusTrapElement)||void 0===t||t.focus({preventScroll:!0})}},n.handleEndFocusTrapElementFocus=function(e){var t,r;if(null!=e.relatedTarget&&n.containerElement.contains(e.relatedTarget)&&e.relatedTarget!==n.startFocusTrapElement){var o=n.getKeyboardFocusableElements().shift();n.isAutoFocusing||null==o||o===e.relatedTarget?null===(t=n.startFocusTrapElement)||void 0===t||t.focus({preventScroll:!0}):o.focus()}else{var i=n.getKeyboardFocusableElements().pop();null!=i?i.focus():null===(r=n.startFocusTrapElement)||void 0===r||r.focus({preventScroll:!0})}},n.handleTransitionExited=function(e){var t,r;n.props.shouldReturnFocusOnClose&&n.lastActiveElementBeforeOpened instanceof HTMLElement&&n.lastActiveElementBeforeOpened.focus(),null===(r=(t=n.props).onClosed)||void 0===r||r.call(t,e)},n.handleBackdropMouseDown=function(e){var t,r=n.props,o=r.backdropProps,i=r.canOutsideClickClose,a=r.enforceFocus,l=r.onClose;i&&(null==l||l(e)),a&&n.bringFocusInsideOverlay(),null===(t=null==o?void 0:o.onMouseDown)||void 0===t||t.call(o,e)},n.handleDocumentClick=function(e){var r=n.props,o=r.canOutsideClickClose,i=r.isOpen,a=r.onClose,l=e.composed?e.composedPath()[0]:e.target,s=t.openStack.indexOf(n),c=t.openStack.slice(s).some((function(e){var t=e.containerElement;return t&&t.contains(l)&&!t.isSameNode(l)}));i&&!c&&o&&(null==a||a(e))},n.handleDocumentFocus=function(e){var t=e.composed?e.composedPath()[0]:e.target;n.props.enforceFocus&&null!=n.containerElement&&t instanceof Node&&!n.containerElement.contains(t)&&(e.preventDefault(),e.stopImmediatePropagation(),n.bringFocusInsideOverlay())},n.handleKeyDown=function(e){var t=n.props,r=t.canEscapeKeyClose,o=t.onClose;"Escape"===e.key&&r&&(null==o||o(e),e.stopPropagation(),e.preventDefault())},n.handleTransitionAddEnd=function(){},n}return(0,r.ZT)(t,e),t.getDerivedStateFromProps=function(e){var t=e.isOpen;return t?{hasEverOpened:t}:null},t.prototype.render=function(){var e,t;if(this.props.lazy&&!this.state.hasEverOpened)return null;var n=this.props,r=n.autoFocus,o=n.children,l=n.className,s=n.enforceFocus,d=n.usePortal,h=n.isOpen,f=h&&null!==(t=a.Children.map(o,this.maybeRenderChild))&&void 0!==t?t:[],p=this.maybeRenderBackdrop();null!==p&&f.unshift(p),h&&(r||s)&&f.length>0&&(f.unshift(this.renderDummyElement("__start",{className:u.OVERLAY_START_FOCUS_TRAP,onFocus:this.handleStartFocusTrapElementFocus,onKeyDown:this.handleStartFocusTrapElementKeyDown,ref:this.refHandlers.startFocusTrap})),s&&f.push(this.renderDummyElement("__end",{className:u.OVERLAY_END_FOCUS_TRAP,onFocus:this.handleEndFocusTrapElementFocus,ref:this.refHandlers.endFocusTrap})));var v=i()(u.OVERLAY,((e={})[u.OVERLAY_OPEN]=h,e[u.OVERLAY_INLINE]=!d,e),l),g=a.createElement(c.Z,{appear:!0,"aria-live":"polite",className:v,component:"div",onKeyDown:this.handleKeyDown,ref:this.refHandlers.container},f);return d?a.createElement(m.h,{className:this.props.portalClassName,container:this.props.portalContainer,stopPropagationEvents:this.props.portalStopPropagationEvents},g):g},t.prototype.componentDidMount=function(){this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentDidUpdate=function(e){e.isOpen&&!this.props.isOpen?this.overlayWillClose():!e.isOpen&&this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentWillUnmount=function(){this.overlayWillClose()},t.prototype.bringFocusInsideOverlay=function(){var e=this;return this.requestAnimationFrame((function(){var t,n=(0,v.vY)(e.containerElement);null!=e.containerElement&&null!=n&&e.props.isOpen&&!e.containerElement.contains(n)&&(null===(t=e.startFocusTrapElement)||void 0===t||t.focus({preventScroll:!0}),e.isAutoFocusing=!1)}))},t.prototype.maybeRenderBackdrop=function(){var e=this.props,t=e.backdropClassName,n=e.backdropProps,o=e.hasBackdrop,l=e.isOpen,c=e.transitionDuration,d=e.transitionName;return o&&l?a.createElement(s.Z,{classNames:d,key:"__backdrop",timeout:c,addEndListener:this.handleTransitionAddEnd},a.createElement("div",(0,r.pi)({},n,{className:i()(u.OVERLAY_BACKDROP,t,null==n?void 0:n.className),onMouseDown:this.handleBackdropMouseDown}))):null},t.prototype.renderDummyElement=function(e,t){var n=this.props,o=n.transitionDuration,i=n.transitionName;return a.createElement(s.Z,{classNames:i,key:e,addEndListener:this.handleTransitionAddEnd,timeout:o,unmountOnExit:!0},a.createElement("div",(0,r.pi)({tabIndex:0},t)))},t.prototype.getKeyboardFocusableElements=function(){return(null!==this.containerElement?Array.from(this.containerElement.querySelectorAll(['a[href]:not([tabindex="-1"])','button:not([disabled]):not([tabindex="-1"])','details:not([tabindex="-1"])','input:not([disabled]):not([tabindex="-1"])','select:not([disabled]):not([tabindex="-1"])','textarea:not([disabled]):not([tabindex="-1"])','[tabindex]:not([tabindex="-1"])'].join(","))):[]).filter((function(e){return!e.classList.contains(u.OVERLAY_START_FOCUS_TRAP)&&!e.classList.contains(u.OVERLAY_END_FOCUS_TRAP)}))},t.prototype.overlayWillClose=function(){document.removeEventListener("focus",this.handleDocumentFocus,!0),document.removeEventListener("mousedown",this.handleDocumentClick);var e=t.openStack,n=e.indexOf(this);if(-1!==n){if(e.splice(n,1),e.length>0){var r=t.getLastOpened();r.props.autoFocus&&r.props.enforceFocus&&(r.bringFocusInsideOverlay(),document.addEventListener("focus",r.handleDocumentFocus,!0))}0===e.filter((function(e){return e.props.usePortal&&e.props.hasBackdrop})).length&&document.body.classList.remove(u.OVERLAY_OPEN)}},t.prototype.overlayWillOpen=function(){var e=t.getLastOpened,n=t.openStack;n.length>0&&document.removeEventListener("focus",e().handleDocumentFocus,!0),n.push(this),this.props.autoFocus&&(this.isAutoFocusing=!0,this.bringFocusInsideOverlay()),this.props.enforceFocus&&document.addEventListener("focus",this.handleDocumentFocus,!0),this.props.canOutsideClickClose&&!this.props.hasBackdrop&&document.addEventListener("mousedown",this.handleDocumentClick),this.props.hasBackdrop&&this.props.usePortal&&document.body.classList.add(u.OVERLAY_OPEN),this.lastActiveElementBeforeOpened=(0,v.vY)(this.containerElement)},t.displayName="".concat(f.g,".Overlay"),t.defaultProps={autoFocus:!0,backdropProps:{},canEscapeKeyClose:!0,canOutsideClickClose:!0,enforceFocus:!0,hasBackdrop:!0,isOpen:!1,lazy:!0,shouldReturnFocusOnClose:!0,transitionDuration:300,transitionName:u.OVERLAY,usePortal:!0},t.openStack=[],t.getLastOpened=function(){return t.openStack[t.openStack.length-1]},t}(h.U)},43551:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(18465),o=n(67294),i=n(73935),a=n(40451),l=n(90836),s=n(72778),c={blueprintPortalClassName:function(e,t){if(null!=e[t]&&"string"!=typeof e[t])return new Error(l.YQ)}},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.context={},t.state={hasMounted:!1},t.portalElement=null,t}return(0,r.ZT)(t,e),t.prototype.render=function(){return"undefined"!=typeof document&&this.state.hasMounted&&null!==this.portalElement?i.createPortal(this.props.children,this.portalElement):null},t.prototype.componentDidMount=function(){null!=this.props.container&&(this.portalElement=this.createContainerElement(),this.props.container.appendChild(this.portalElement),this.addStopPropagationListeners(this.props.stopPropagationEvents),this.setState({hasMounted:!0},this.props.onChildrenMount))},t.prototype.componentDidUpdate=function(e){var t,n;null!=this.portalElement&&e.className!==this.props.className&&(t=this.portalElement.classList,null!=(n=e.className)&&""!==n&&t.remove.apply(t,n.split(" ")),d(this.portalElement.classList,this.props.className)),null!=this.portalElement&&e.stopPropagationEvents!==this.props.stopPropagationEvents&&(this.removeStopPropagationListeners(e.stopPropagationEvents),this.addStopPropagationListeners(this.props.stopPropagationEvents))},t.prototype.componentWillUnmount=function(){var e;this.removeStopPropagationListeners(this.props.stopPropagationEvents),null===(e=this.portalElement)||void 0===e||e.remove()},t.prototype.createContainerElement=function(){var e=document.createElement("div");return e.classList.add(a.PORTAL),d(e.classList,this.props.className),null!=this.context&&d(e.classList,this.context.blueprintPortalClassName),e},t.prototype.addStopPropagationListeners=function(e){var t=this;null==e||e.forEach((function(e){var n;return null===(n=t.portalElement)||void 0===n?void 0:n.addEventListener(e,h)}))},t.prototype.removeStopPropagationListeners=function(e){var t=this;null==e||e.forEach((function(e){var n;return null===(n=t.portalElement)||void 0===n?void 0:n.removeEventListener(e,h)}))},t.displayName="".concat(s.g,".Portal"),t.contextTypes=c,t.defaultProps={container:"undefined"!=typeof document?document.body:void 0},t}(o.Component);function d(e,t){null!=t&&""!==t&&e.add.apply(e,t.split(" "))}function h(e){e.stopPropagation()}},98673:(e,t,n)=>{"use strict";n.d(t,{$:()=>m,E:()=>r});var r,o=n(18465),i=n(94184),a=n.n(i),l=n(67294),s=n(40451),c=n(35307),u=n(90836),d=n(72778),h=n(90322);!function(e){e[e.SMALL=20]="SMALL",e[e.STANDARD=50]="STANDARD",e[e.LARGE=100]="LARGE"}(r||(r={}));var f=45,p="M 50,50 m 0,-".concat(f," a ").concat(f,",").concat(f," 0 1 1 0,").concat(90," a ").concat(f,",").concat(f," 0 1 1 0,-").concat(90),v=280,m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.forceUpdate()},t.prototype.render=function(){var e,t=this.props,n=t.className,i=t.intent,c=t.value,u=t.tagName,d=void 0===u?"div":u,f=(0,o._T)(t,["className","intent","value","tagName"]),m=this.getSize(),g=a()(s.SPINNER,s.intentClass(i),((e={})[s.SPINNER_NO_SPIN]=null!=c,e),n),y=Math.min(16,4*r.LARGE/m),b=v-v*(null==c?.25:(0,h.uZ)(c,0,1));return l.createElement(d,(0,o.pi)({"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":void 0===c?void 0:100*c,className:g,role:"progressbar"},f),l.createElement(d,{className:s.SPINNER_ANIMATION},l.createElement("svg",{width:m,height:m,strokeWidth:y.toFixed(2),viewBox:this.getViewBox(y)},l.createElement("path",{className:s.SPINNER_TRACK,d:p}),l.createElement("path",{className:s.SPINNER_HEAD,d:p,pathLength:v,strokeDasharray:"".concat(v," ").concat(v),strokeDashoffset:b}))))},t.prototype.validateProps=function(e){var t=e.className,n=void 0===t?"":t;null!=e.size&&(n.indexOf(s.SMALL)>=0||n.indexOf(s.LARGE)>=0)&&console.warn(u.sy)},t.prototype.getSize=function(){var e=this.props,t=e.className,n=void 0===t?"":t,o=e.size;return null==o?n.indexOf(s.SMALL)>=0?r.SMALL:n.indexOf(s.LARGE)>=0?r.LARGE:r.STANDARD:Math.max(10,o)},t.prototype.getViewBox=function(e){var t=f+e/2,n=(50-t).toFixed(2),r=(2*t).toFixed(2);return"".concat(n," ").concat(n," ").concat(r," ").concat(r)},t.displayName="".concat(d.g,".Spinner"),t}(c.U)},21661:(e,t,n)=>{"use strict";n.d(t,{B:()=>s,N:()=>u});var r=n(18465),o=n(67294),i=n(48261),a=n(39242),l={hasProvider:!1,hotkeys:[],isDialogOpen:!1},s=o.createContext([l,function(){return null}]),c=function(e,t){switch(t.type){case"ADD_HOTKEYS":for(var n=[],o=0,a=t.payload;o<a.length;o++){for(var l=a[o],s=!0,c=0,u=e.hotkeys;c<u.length;c++){var d=u[c];s&&(s=!(0,i.ms)(l,d,{exclude:["onKeyDown","onKeyUp"]}))}s&&n.push(l)}return(0,r.pi)((0,r.pi)({},e),{hotkeys:(0,r.ev)((0,r.ev)([],e.hotkeys,!0),n,!0)});case"REMOVE_HOTKEYS":return(0,r.pi)((0,r.pi)({},e),{hotkeys:e.hotkeys.filter((function(e){return-1===t.payload.indexOf(e)}))});case"OPEN_DIALOG":return(0,r.pi)((0,r.pi)({},e),{isDialogOpen:!0});case"CLOSE_DIALOG":return(0,r.pi)((0,r.pi)({},e),{isDialogOpen:!1});default:return e}},u=function(e){var t,n=e.children,i=e.dialogProps,u=e.renderDialog,d=e.value,h=null!=d,f=null!=d?d:o.useReducer(c,(0,r.pi)((0,r.pi)({},l),{hasProvider:!0})),p=f[0],v=f[1],m=o.useCallback((function(){return v({type:"CLOSE_DIALOG"})}),[]),g=null!==(t=null==u?void 0:u(p,{handleDialogClose:m}))&&void 0!==t?t:o.createElement(a.m,(0,r.pi)({},i,{isOpen:p.isDialogOpen,hotkeys:p.hotkeys,onClose:m}));return o.createElement(s.Provider,{value:[p,v]},n,h?void 0:g)}},47335:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(18465),o=n(67294),i=n(90836),a=n(93835),l=n(94064),s=n(21661);function c(e,t){void 0===t&&(t={});var n=t.document,c=void 0===n?function(){if("undefined"!=typeof window)return window.document}():n,u=t.showDialogKeyCombo,d=void 0===u?"?":u,h=o.useMemo((function(){return e.filter((function(e){return!e.global})).map((function(e){return{combo:(0,l.SG)(e.combo),config:e}}))}),[e]),f=o.useMemo((function(){return e.filter((function(e){return e.global})).map((function(e){return{combo:(0,l.SG)(e.combo),config:e}}))}),[e]),p=o.useContext(s.B),v=p[0],m=p[1];v.hasProvider||o.useEffect((function(){return console.warn(i.c2)}),[]),o.useEffect((function(){var e=(0,r.ev)((0,r.ev)([],f.map((function(e){return e.config})),!0),h.map((function(e){return e.config})),!0);return m({type:"ADD_HOTKEYS",payload:e}),function(){return m({type:"REMOVE_HOTKEYS",payload:e})}}),[e]);var g=function(e,t,n,r){for(var o,i,s=(0,a.jA)(r.target),c=0,u=e?f:h;c<u.length;c++){var d=u[c],p=d.config,v=p.allowInInput,m=void 0!==v&&v,g=p.disabled,y=void 0!==g&&g,b=p.preventDefault,w=void 0!==b&&b,_=p.stopPropagation,E=void 0!==_&&_;!(s&&!m||y)&&(0,l.A6)(d.combo,t)&&(w&&r.preventDefault(),E&&(r.isPropagationStopped=!0,r.stopPropagation()),null===(i=(o=d.config)[n])||void 0===i||i.call(o,r))}},y=o.useCallback((function(e){var t=(0,l.q1)(e);!(0,a.jA)(e.target)&&(0,l.A6)((0,l.SG)(d),t)?m({type:"OPEN_DIALOG"}):g(!0,(0,l.q1)(e),"onKeyDown",e)}),[f]),b=o.useCallback((function(e){return g(!0,(0,l.q1)(e),"onKeyUp",e)}),[f]),w=o.useCallback((function(e){return g(!1,(0,l.q1)(e.nativeEvent),"onKeyDown",e.nativeEvent)}),[h]),_=o.useCallback((function(e){return g(!1,(0,l.q1)(e.nativeEvent),"onKeyUp",e.nativeEvent)}),[h]);return o.useEffect((function(){return c.addEventListener("keydown",y),c.addEventListener("keyup",b),function(){c.removeEventListener("keydown",y),c.removeEventListener("keyup",b)}}),[y,b]),{handleKeyDown:w,handleKeyUp:_}}},50757:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbstractComponent:()=>d,AbstractComponent2:()=>h.R,AbstractPureComponent:()=>f,AbstractPureComponent2:()=>p.U,Alert:()=>L.bZ,Alignment:()=>v.v,AnchorButton:()=>L.AN,AnimationStates:()=>L.sy,Blockquote:()=>L.V6,Boundary:()=>m.E,Breadcrumb:()=>L.aG,Breadcrumbs:()=>L.Oo,Button:()=>L.zx,ButtonGroup:()=>L.hE,Callout:()=>L.UW,Card:()=>L.Zb,Checkbox:()=>L.XZ,Classes:()=>o,Code:()=>L.EK,Collapse:()=>L.UO,CollapsibleList:()=>L.iT,Colors:()=>O,ContextMenu:()=>L.xV,ContextMenuTarget:()=>L.Tb,ControlGroup:()=>L.eQ,DISPLAYNAME_PREFIX:()=>w.g,Dialog:()=>L.Vq,DialogBody:()=>L.a7,DialogFooter:()=>L.cN,DialogStep:()=>L.yd,Divider:()=>L.iz,Drawer:()=>L.dy,DrawerSize:()=>L.mC,EditableText:()=>L.sL,Elevation:()=>g.u,Expander:()=>L.xH,FileInput:()=>L.S2,FocusStyleManager:()=>l,FormGroup:()=>L.cw,H1:()=>L.H1,H2:()=>L.H2,H3:()=>L.H3,H4:()=>L.H4,H5:()=>L.H5,H6:()=>L.H6,HTMLSelect:()=>L.Lu,HTMLTable:()=>L.vl,HandleInteractionKind:()=>L.qB,HandleType:()=>L.gZ,Hotkey:()=>L.qm,Hotkeys:()=>L.SV,HotkeysContext:()=>k.B,HotkeysDialog2:()=>L.m,HotkeysProvider:()=>k.N,HotkeysTarget:()=>L.No,HotkeysTarget2:()=>L.hj,Icon:()=>L.JO,IconSize:()=>L.Jh,InputGroup:()=>L.BZ,Intent:()=>y.S,KeyCombo:()=>L.M2,KeyComboTag:()=>L.Qs,Keys:()=>C,Label:()=>L.__,Menu:()=>L.v2,MenuDivider:()=>L.R,MenuItem:()=>L.sN,MultiSlider:()=>L.Zz,MultistepDialog:()=>L.E,Navbar:()=>L.wp,NavbarDivider:()=>L.ox,NavbarGroup:()=>L.fT,NavbarHeading:()=>L.ym,NonIdealState:()=>L.tR,NonIdealStateIconSize:()=>L.jZ,NumericInput:()=>L.Af,OL:()=>L.OL,OverflowList:()=>L.Dj,Overlay:()=>L.aV,OverlayToaster:()=>L.qA,PanelStack:()=>L.lc,PanelStack2:()=>L.hg,Popover:()=>L.J2,PopoverInteractionKind:()=>L.V3,PopoverPosition:()=>L.I2,Portal:()=>L.h_,PortalContext:()=>N,PortalProvider:()=>I,Position:()=>b.Ly,Pre:()=>L.SU,ProgressBar:()=>L.ko,Radio:()=>L.Y8,RadioGroup:()=>L.Ee,RangeSlider:()=>L.U2,ResizeSensor:()=>L.z_,Slider:()=>L.iR,Spinner:()=>L.$j,SpinnerSize:()=>L.Ey,Switch:()=>L.rs,Tab:()=>L.OK,Tabs:()=>L.mQ,Tag:()=>L.Vp,TagInput:()=>L.EG,Text:()=>L.xv,TextArea:()=>L.Kx,Toast:()=>L.FN,Toaster:()=>L.x7,Tooltip:()=>L.u,Tree:()=>L.mp,TreeNode:()=>L.OF,UL:()=>L.UL,Utils:()=>r,combineRefs:()=>_.zb,comboMatches:()=>L.A6,getKeyCombo:()=>L.q1,getKeyComboString:()=>L.$w,getPositionIgnoreAngles:()=>b.L3,getRef:()=>_.Uq,hideHotkeysDialog:()=>L.dX,isPositionHorizontal:()=>b.lM,isPositionVertical:()=>b.Bg,isRefCallback:()=>_.HE,isRefObject:()=>_.Ik,mergeRefs:()=>_.lq,parseKeyCombo:()=>L.SG,refHandler:()=>_.Km,removeNonHTMLProps:()=>w.B,setHotkeysDialogProps:()=>L.wq,setRef:()=>_.k$,useHotkeys:()=>R.y});var r={};n.r(r),n.d(r,{approxEqual:()=>u.mQ,arrayLengthCompare:()=>u.h3,arraysEqual:()=>M.cO,clamp:()=>u.uZ,clickElementOnKeyPress:()=>z.dS,countDecimalPlaces:()=>u.vk,deepCompareKeys:()=>M.D$,elementIsOrContains:()=>z.C2,elementIsTextInput:()=>z.jA,ensureElement:()=>T.h7,getActiveElement:()=>z.vY,getDeepUnequalKeyValues:()=>M.MX,getDisplayName:()=>T.Gf,getRef:()=>_.Uq,isDarkTheme:()=>A.$,isElementOfType:()=>T.Mc,isFunction:()=>P.m,isNodeEnv:()=>u.KV,isReactChildrenElementOrElements:()=>T.Ej,isReactNodeEmpty:()=>T.qA,setRef:()=>_.k$,shallowCompareKeys:()=>M.ms,throttle:()=>z.P2,throttleEvent:()=>z.Xc,throttleReactEventCallback:()=>z.T6,uniqueId:()=>u.EL});var o=n(40451),i=function(){function e(e,t){var n=this;this.container=e,this.className=t,this.isRunning=!1,this.handleKeyDown=function(e){"Tab"===e.key&&(n.reset(),n.container.addEventListener("mousedown",n.handleMouseDown))},this.handleMouseDown=function(){n.reset(),n.container.classList.add(n.className),n.container.addEventListener("keydown",n.handleKeyDown)}}return e.prototype.isActive=function(){return this.isRunning},e.prototype.start=function(){this.container.addEventListener("mousedown",this.handleMouseDown),this.isRunning=!0},e.prototype.stop=function(){this.reset(),this.isRunning=!1},e.prototype.reset=function(){this.container.classList.remove(this.className),this.container.removeEventListener("keydown",this.handleKeyDown),this.container.removeEventListener("mousedown",this.handleMouseDown)},e}(),a="undefined"!=typeof document?new i(document.documentElement,o.FOCUS_DISABLED):{isActive:function(){return!0},start:function(){return!0},stop:function(){return!0}},l={alwaysShowFocus:function(){return a.stop()},isActive:function(){return a.isActive()},onlyShowFocusOnTabs:function(){return a.start()}},s=n(18465),c=n(67294),u=n(90322),d=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},(0,u.KV)("production")||r.validateProps(r.props),r}return(0,s.ZT)(t,e),t.prototype.componentWillReceiveProps=function(e){(0,u.KV)("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(c.Component),h=n(55224),f=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},(0,u.KV)("production")||r.validateProps(r.props),r}return(0,s.ZT)(t,e),t.prototype.componentWillReceiveProps=function(e){(0,u.KV)("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(c.PureComponent),p=n(35307),v=n(11229),m=n(44958),g=n(10762),y=n(2609),b=n(53766),w=n(72778),_=n(4408),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)};Object.create,Object.create;var x={CERULEAN1:"#0C5174",CERULEAN2:"#0F6894",CERULEAN3:"#147EB3",CERULEAN4:"#3FA6DA",CERULEAN5:"#68C1EE",FOREST1:"#1D7324",FOREST2:"#238C2C",FOREST3:"#29A634",FOREST4:"#43BF4D",FOREST5:"#62D96B",GOLD1:"#5C4405",GOLD2:"#866103",GOLD3:"#D1980B",GOLD4:"#F0B726",GOLD5:"#FBD065",INDIGO1:"#5642A6",INDIGO2:"#634DBF",INDIGO3:"#7961DB",INDIGO4:"#9881F3",INDIGO5:"#BDADFF",LIME1:"#43501B",LIME2:"#5A701A",LIME3:"#8EB125",LIME4:"#B6D94C",LIME5:"#D4F17E",ROSE1:"#A82255",ROSE2:"#C22762",ROSE3:"#DB2C6F",ROSE4:"#F5498B",ROSE5:"#FF66A1",SEPIA1:"#5E4123",SEPIA2:"#7A542E",SEPIA3:"#946638",SEPIA4:"#AF855A",SEPIA5:"#D0B090",TURQUOISE1:"#004D46",TURQUOISE2:"#007067",TURQUOISE3:"#00A396",TURQUOISE4:"#13C9BA",TURQUOISE5:"#7AE1D8",VERMILION1:"#96290D",VERMILION2:"#B83211",VERMILION3:"#D33D17",VERMILION4:"#EB6847",VERMILION5:"#FF9980",VIOLET1:"#5C255C",VIOLET2:"#7C327C",VIOLET3:"#9D3F9D",VIOLET4:"#BD6BBD",VIOLET5:"#D69FD6"},S={COBALT1:x.CERULEAN1,COBALT2:x.CERULEAN2,COBALT3:x.CERULEAN3,COBALT4:x.CERULEAN4,COBALT5:x.CERULEAN5},O=E(E(E(E({},{BLACK:"#111418",DARK_GRAY1:"#1C2127",DARK_GRAY2:"#252A31",DARK_GRAY3:"#2F343C",DARK_GRAY4:"#383E47",DARK_GRAY5:"#404854",GRAY1:"#5F6B7C",GRAY2:"#738091",GRAY3:"#8F99A8",GRAY4:"#ABB3BF",GRAY5:"#C5CBD3",LIGHT_GRAY1:"#D3D8DE",LIGHT_GRAY2:"#DCE0E5",LIGHT_GRAY3:"#E5E8EB",LIGHT_GRAY4:"#EDEFF2",LIGHT_GRAY5:"#F6F7F9",WHITE:"#FFFFFF"}),{BLUE1:"#184A90",BLUE2:"#215DB0",BLUE3:"#2D72D2",BLUE4:"#4C90F0",BLUE5:"#8ABBFF",GREEN1:"#165A36",GREEN2:"#1C6E42",GREEN3:"#238551",GREEN4:"#32A467",GREEN5:"#72CA9B",ORANGE1:"#77450D",ORANGE2:"#935610",ORANGE3:"#C87619",ORANGE4:"#EC9A3C",ORANGE5:"#FBB360",RED1:"#8E292C",RED2:"#AC2F33",RED3:"#CD4246",RED4:"#E76A6E",RED5:"#FA999C"}),x),S),C=n(9421),M=n(48261),z=n(93835),P=n(23251),T=n(57755),A=n(4908),L=n(69702),k=n(21661),N=c.createContext({}),I=function(e){var t=e.children,n=(0,s._T)(e,["children"]);return c.createElement(N.Provider,{value:n},t)},R=n(47335)},34006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONTEXT_MENU2:()=>o,CONTEXT_MENU2_BACKDROP:()=>l,CONTEXT_MENU2_POPOVER2:()=>a,CONTEXT_MENU2_VIRTUAL_TARGET:()=>i,POPOVER2:()=>s,POPOVER2_ARROW:()=>c,POPOVER2_BACKDROP:()=>u,POPOVER2_CAPTURING_DISMISS:()=>d,POPOVER2_CONTENT:()=>h,POPOVER2_CONTENT_PLACEMENT:()=>f,POPOVER2_CONTENT_SIZING:()=>p,POPOVER2_DISMISS:()=>v,POPOVER2_DISMISS_OVERRIDE:()=>m,POPOVER2_MATCH_TARGET_WIDTH:()=>g,POPOVER2_OPEN:()=>y,POPOVER2_POPPER_ESCAPED:()=>b,POPOVER2_REFERENCE_HIDDEN:()=>w,POPOVER2_TARGET:()=>_,POPOVER2_TRANSITION_CONTAINER:()=>E,TOOLTIP2:()=>x,TOOLTIP2_INDICATOR:()=>S});var r=n(40451).getClassNamespace(),o="".concat(r,"-context-menu2"),i="".concat(o,"-virtual-target"),a="".concat(o,"-popover2"),l="".concat(o,"-backdrop"),s="".concat(r,"-popover2"),c="".concat(s,"-arrow"),u="".concat(s,"-backdrop"),d="".concat(s,"-capturing-dismiss"),h="".concat(s,"-content"),f="".concat(s,"-placement"),p="".concat(h,"-sizing"),v="".concat(s,"-dismiss"),m="".concat(v,"-override"),g="".concat(s,"-match-target-width"),y="".concat(s,"-open"),b="".concat(s,"-popper-escaped"),w="".concat(s,"-reference-hidden"),_="".concat(s,"-target"),E="".concat(s,"-transition-container"),x="".concat(r,"-tooltip2"),S="".concat(x,"-indicator")},54885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{POPOVER2_HAS_BACKDROP_INTERACTION:()=>i,POPOVER2_REQUIRES_TARGET:()=>o,POPOVER2_WARN_DOUBLE_TARGET:()=>l,POPOVER2_WARN_EMPTY_CONTENT:()=>s,POPOVER2_WARN_HAS_BACKDROP_INLINE:()=>c,POPOVER2_WARN_PLACEMENT_AND_POSITION_MUTEX:()=>u,POPOVER2_WARN_TARGET_PROPS_WITH_RENDER_TARGET:()=>h,POPOVER2_WARN_TOO_MANY_CHILDREN:()=>a,POPOVER2_WARN_UNCONTROLLED_ONINTERACTION:()=>d});var r="[Blueprint]",o="".concat(r," <Popover2> requires renderTarget prop or a child element."),i="".concat(r,' <Popover2 hasBackdrop={true}> requires interactionKind="click".'),a="".concat(r," <Popover2> supports only one child which is rendered as its target; additional children are ignored."),l=r+" <Popover2> with children ignores renderTarget prop; use either prop or children.",s=r+" Disabling <Popover2> with empty/whitespace content...",c=r+" <Popover2 usePortal={false}> ignores hasBackdrop",u=r+" <Popover2> supports either placement or position prop, not both.",d=r+" <Popover2> onInteraction is ignored when uncontrolled.",h=r+" <Popover2> targetProps value is ignored when renderTarget API is used."},49346:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs2:()=>v,Classes:()=>r,ContextMenu2:()=>E,ContextMenu2Popover:()=>b,Errors:()=>o,MenuItem2:()=>P,PlacementOptions:()=>L.Ct,Popover2:()=>p.p,Popover2InteractionKind:()=>p.k,PopupKind:()=>k.e,ResizeSensor2:()=>N.q,Tooltip2:()=>I.u,hideContextMenu:()=>C,showContextMenu:()=>O});var r=n(34006),o=n(54885),i=n(57222),a=n(94184),l=n.n(a),s=n(67294),c=n(44958),u=n(69702),d=n(40451),h=n(72778),f=n(35307),p=n(56558),v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderOverflow=function(e){var n=t.props,r=n.collapseFrom,o=n.popoverProps,a=e;return r===c.E.START&&(a=e.slice().reverse()),s.createElement("li",null,s.createElement(p.p,(0,i.pi)({placement:r===c.E.END?"bottom-end":"bottom-start",disabled:0===a.length,content:s.createElement(u.v2,null,a.map(t.renderOverflowBreadcrumb))},o),s.createElement("span",{className:d.BREADCRUMBS_COLLAPSED})))},t.renderOverflowBreadcrumb=function(e,t){var n=null!=e.href||null!=e.onClick,r=(0,h.B)(e);return s.createElement(u.sN,(0,i.pi)({disabled:!n},r,{text:e.text,key:t}))},t.renderBreadcrumbWrapper=function(e,n){var r=t.props.items[t.props.items.length-1]===e;return s.createElement("li",{key:n},t.renderBreadcrumb(e,r))},t}return(0,i.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.collapseFrom,r=e.items,o=e.minVisibleItems,a=e.overflowListProps,c=void 0===a?{}:a;return s.createElement(u.Dj,(0,i.pi)({collapseFrom:n,minVisibleItems:o,tagName:"ul"},c,{className:l()(d.BREADCRUMBS,c.className,t),items:r,overflowRenderer:this.renderOverflow,visibleItemRenderer:this.renderBreadcrumbWrapper}))},t.prototype.renderBreadcrumb=function(e,t){return t&&null!=this.props.currentBreadcrumbRenderer?this.props.currentBreadcrumbRenderer(e):null!=this.props.breadcrumbRenderer?this.props.breadcrumbRenderer(e):s.createElement(u.aG,(0,i.pi)({current:t},e))},t.defaultProps={collapseFrom:c.E.START},t}(f.U),m=n(4908),g=n(23251),y=n(4408),b=s.memo((function(e){var t,n=e.content,o=e.popoverClassName,a=e.onClose,c=e.isDarkTheme,h=void 0!==c&&c,f=e.rootBoundary,v=void 0===f?"viewport":f,m=e.targetOffset,g=e.transitionDuration,y=void 0===g?100:g,b=(0,i._T)(e,["content","popoverClassName","onClose","isDarkTheme","rootBoundary","targetOffset","transitionDuration"]),_=s.useCallback((function(e){return e.preventDefault()}),[]),E=s.useCallback((function(e){var t=e.ref;return s.createElement(u.h_,null,s.createElement("div",{className:r.CONTEXT_MENU2_VIRTUAL_TARGET,style:m,ref:t}))}),[m]),x=s.useCallback((function(e){e||null==a||a()}),[]);return s.createElement(p.p,(0,i.pi)({placement:"right-start",rootBoundary:v,transitionDuration:y},b,{content:s.createElement("div",{onContextMenu:_},n),enforceFocus:!1,key:w(m),hasBackdrop:!0,backdropProps:{className:r.CONTEXT_MENU2_BACKDROP},minimal:!0,onInteraction:x,popoverClassName:l()(r.CONTEXT_MENU2_POPOVER2,o,(t={},t[d.DARK]=h,t)),positioningStrategy:"fixed",renderTarget:E}))}));function w(e){return void 0===e?"default":"".concat(e.left,"x").concat(e.top)}b.displayName="".concat(h.g,".ContextMenu2Popover");var _=n(57116),E=s.forwardRef((function(e,t){var n=e.className,o=e.children,a=e.content,c=e.disabled,u=void 0!==c&&c,d=e.onClose,h=e.onContextMenu,f=e.popoverProps,p=e.tagName,v=void 0===p?"div":p,w=(0,i._T)(e,["className","children","content","disabled","onClose","onContextMenu","popoverProps","tagName"]),E=s.useContext(_.B)[1],x=s.useState(void 0),S=x[0],O=x[1],C=s.useState(),M=C[0],z=C[1],P=s.useState(!1),T=P[0],A=P[1],L=s.useRef(null);s.useEffect((function(){A(!1),E({type:"RESET_DISABLED_STATE"})}),[u]);var k=s.useCallback((function(){A(!1),z(void 0),E({type:"RESET_DISABLED_STATE"}),null==d||d()}),[]),N=s.useMemo((function(){return m.$(L.current)}),[L,T]),I=s.useMemo((function(){return{isOpen:T,mouseEvent:M,targetOffset:S}}),[T,M,S]),R=s.useCallback((function(e){return u?void 0:g.m(a)?a(e):a}),[u,a]),H=s.useMemo((function(){return R(I)}),[I,R]),V=void 0===H?void 0:s.createElement(b,(0,i.pi)({},f,{content:H,isDarkTheme:N,isOpen:T,targetOffset:S,onClose:k})),D=s.useCallback((function(e){if(!e.defaultPrevented){if(!u&&(g.m(o)||g.m(a)||void 0!==a)){A(!0),e.persist(),z(e);var t={left:e.clientX,top:e.clientY};O(t),E({type:"FORCE_DISABLED_STATE"}),void 0===R({isOpen:!0,mouseEvent:e,targetOffset:t})||e.preventDefault()}null==h||h(e)}}),[o,h,H,R]),j=l()(n,r.CONTEXT_MENU2),F=g.m(o)?o({className:j,contentProps:I,onContextMenu:D,popover:V,ref:L}):s.createElement(s.Fragment,null,V,s.createElement(v,(0,i.pi)({className:j,onContextMenu:D,ref:(0,y.lq)(L,t)},w),o));return s.createElement(_.q,{forceDisable:T},F)}));E.displayName="Blueprint.ContextMenu2";var x,S=n(73935);function O(e){void 0===x?((x=document.createElement("div")).classList.add(r.CONTEXT_MENU2),document.body.appendChild(x)):S.unmountComponentAtNode(x),S.render(s.createElement(M,(0,i.pi)({},e)),x)}function C(){void 0!==x&&(S.unmountComponentAtNode(x),x=void 0)}function M(e){var t=s.useState(!0),n=t[0],r=t[1],o=s.useCallback((function(){var t;r(!1),null===(t=e.onClose)||void 0===t||t.call(e)}),[e.onClose]);return s.createElement(b,(0,i.pi)({isOpen:n},e,{onClose:o}))}var z=n(93835),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.prototype.render=function(){var e,t,n,o=this.props,a=o.active,c=o.className,f=o.children,p=o.disabled,v=o.elementRef,m=o.intent,g=(o.labelClassName,o.labelElement),y=o.multiline,b=(o.popoverProps,o.roleStructure),w=void 0===b?"menuitem":b,_=o.selected,E=o.shouldDismissPopover,x=(o.submenuProps,o.text),S=o.textClassName,O=o.tagName,C=void 0===O?"a":O,M=o.htmlTitle,P=(0,i._T)(o,["active","className","children","disabled","elementRef","intent","labelClassName","labelElement","multiline","popoverProps","roleStructure","selected","shouldDismissPopover","submenuProps","text","textClassName","tagName","htmlTitle"]),T="listoption"===w?["option",void 0,null!==(n=this.props.icon)&&void 0!==n?n:void 0===_?void 0:_?"small-tick":"blank",Boolean(_)]:"menuitem"===w?["none","menuitem",this.props.icon,void 0]:"none"===w?["none",void 0,this.props.icon,void 0]:[void 0,void 0,this.props.icon,void 0],L=T[0],k=T[1],N=T[2],I=T[3],R=null!=N,H=null!=f,V=d.intentClass(m),D=l()(d.MENU_ITEM,V,((e={})[d.ACTIVE]=a,e[d.DISABLED]=p,e[r.POPOVER2_DISMISS]=E&&!p&&!H,e[d.SELECTED]=a&&void 0===V,e),c),j=s.createElement(C,(0,i.pi)((0,i.pi)((0,i.pi)({onKeyDown:z.dS(["Enter"," "]),role:H?"none":k,tabIndex:H?-1:0},(0,h.B)(P)),p?A:{}),{className:D}),R?s.createElement("span",{className:d.MENU_ITEM_ICON},s.createElement(u.JO,{icon:N,"aria-hidden":!0,tabIndex:-1})):void 0,s.createElement(u.xv,{className:l()(d.FILL,S),ellipsize:!y,title:M},x),this.maybeRenderLabel(g),H?s.createElement(u.JO,{className:d.MENU_SUBMENU_ICON,icon:"caret-right"}):void 0),F=l()(((t={})[d.MENU_SUBMENU]=H,t));return s.createElement("li",{className:F,ref:v,role:L,"aria-selected":I},this.maybeRenderPopover(j,{role:k,tabIndex:0},f))},t.prototype.maybeRenderLabel=function(e){var t=this.props,n=t.label,r=t.labelClassName;return null==n&&null==e?null:s.createElement("span",{className:l()(d.MENU_ITEM_LABEL,r)},n,e)},t.prototype.maybeRenderPopover=function(e,t,n){if(null==n)return e;var r=this.props,o=r.disabled,a=r.popoverProps,c=r.submenuProps;return s.createElement(p.p,(0,i.pi)({autoFocus:!1,captureDismiss:!1,disabled:o,enforceFocus:!1,hoverCloseDelay:0,interactionKind:"hover",modifiers:T,targetProps:t,placement:"right-start",usePortal:!1},a,{content:s.createElement(u.v2,(0,i.pi)({},c),n),minimal:!0,popoverClassName:l()(d.MENU_SUBMENU,null==a?void 0:a.popoverClassName)}),e)},t.defaultProps={active:!1,disabled:!1,multiline:!1,popoverProps:{},selected:void 0,shouldDismissPopover:!0,text:""},t.displayName="".concat(h.g,".MenuItem2"),t}(f.U),T={flip:{options:{rootBoundary:"viewport",padding:20},enabled:!0},offset:{options:{offset:[-5,0]},enabled:!0},preventOverflow:{options:{rootBoundary:"viewport",padding:20},enabled:!0}},A={href:void 0,onClick:void 0,onMouseDown:void 0,onMouseEnter:void 0,onMouseLeave:void 0,tabIndex:-1},L=n(87701),k=n(12613),N=n(15927),I=n(73075)},56558:(e,t,n)=>{"use strict";n.d(t,{p:()=>je,k:()=>De});var r=n(57222),o=n(94184),i=n.n(o),a=n(67294),l=a.createContext(),s=a.createContext();function c(e){var t=e.children,n=a.useState(null),r=n[0],o=n[1],i=a.useRef(!1);a.useEffect((function(){return function(){i.current=!0}}),[]);var c=a.useCallback((function(e){i.current||o(e)}),[]);return a.createElement(l.Provider,{value:r},a.createElement(s.Provider,{value:c},t))}var u=n(42473),d=n.n(u),h=function(e){return Array.isArray(e)?e[0]:e},f=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},p=function(e,t){if("function"==typeof e)return f(e,t);null!=e&&(e.current=t)},v=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},m="undefined"!=typeof window&&window.document&&window.document.createElement?a.useLayoutEffect:a.useEffect;function g(e){var t=e.children,n=e.innerRef,r=a.useContext(s),o=a.useCallback((function(e){p(n,e),f(r,e)}),[n,r]);return a.useEffect((function(){return function(){return p(n,null)}}),[]),a.useEffect((function(){d()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),h(t)({ref:o})}var y=n(73935);function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof b(e).Element||e instanceof Element}function _(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function E(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var x=Math.max,S=Math.min,O=Math.round;function C(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function M(){return!/^((?!chrome|android).)*safari/i.test(C())}function z(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&_(e)&&(o=e.offsetWidth>0&&O(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&O(r.height)/e.offsetHeight||1);var a=(w(e)?b(e):window).visualViewport,l=!M()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function P(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function T(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function L(e){return z(A(e)).left+P(e).scrollLeft}function k(e){return b(e).getComputedStyle(e)}function N(e){var t=k(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function I(e,t,n){void 0===n&&(n=!1);var r,o,i=_(t),a=_(t)&&function(e){var t=e.getBoundingClientRect(),n=O(t.width)/e.offsetWidth||1,r=O(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=A(t),s=z(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==T(t)||N(l))&&(c=(r=t)!==b(r)&&_(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:P(r)),_(t)?((u=z(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=L(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function R(e){var t=z(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function H(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||(E(e)?e.host:null)||A(e)}function V(e){return["html","body","#document"].indexOf(T(e))>=0?e.ownerDocument.body:_(e)&&N(e)?e:V(H(e))}function D(e,t){var n;void 0===t&&(t=[]);var r=V(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=b(r),a=o?[i].concat(i.visualViewport||[],N(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(D(H(a)))}function j(e){return["table","td","th"].indexOf(T(e))>=0}function F(e){return _(e)&&"fixed"!==k(e).position?e.offsetParent:null}function B(e){for(var t=b(e),n=F(e);n&&j(n)&&"static"===k(n).position;)n=F(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===k(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&_(e)&&"fixed"===k(e).position)return null;var n=H(e);for(E(n)&&(n=n.host);_(n)&&["html","body"].indexOf(T(n))<0;){var r=k(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var U=n(87701);function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var q={placement:"bottom",modifiers:[],strategy:"absolute"};function W(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function K(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?q:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:w(e)?D(e):e.contextElement?D(e.contextElement):[],popper:D(t)};var a,c,h=function(e){var t=G(e);return U.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=h.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:u,options:r});s.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(W(t,n)){l.rects={reference:I(t,B(n),"fixed"===l.options.strategy),popper:R(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!W(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var $={passive:!0};function Y(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Q(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Y(o):null,a=o?X(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case U.we:t={x:l,y:n.y-r.height};break;case U.I:t={x:l,y:n.y+n.height};break;case U.F2:t={x:n.x+n.width,y:s};break;case U.t$:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Z(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case U.BL:t[c]=t[c]-(n[u]/2-r[u]/2);break;case U.ut:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=a.x,f=void 0===h?0:h,p=a.y,v=void 0===p?0:p,m="function"==typeof u?u({x:f,y:v}):{x:f,y:v};f=m.x,v=m.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=U.t$,_=U.we,E=window;if(c){var x=B(n),S="clientHeight",C="clientWidth";x===b(n)&&"static"!==k(x=A(n)).position&&"absolute"===l&&(S="scrollHeight",C="scrollWidth"),(o===U.we||(o===U.t$||o===U.F2)&&i===U.ut)&&(_=U.I,v-=(d&&x===E&&E.visualViewport?E.visualViewport.height:x[S])-r.height,v*=s?1:-1),o!==U.t$&&(o!==U.we&&o!==U.I||i!==U.ut)||(w=U.F2,f-=(d&&x===E&&E.visualViewport?E.visualViewport.width:x[C])-r.width,f*=s?1:-1)}var M,z=Object.assign({position:l},c&&J),P=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:O(n*o)/o||0,y:O(r*o)/o||0}}({x:f,y:v},b(n)):{x:f,y:v};return f=P.x,v=P.y,s?Object.assign({},z,((M={})[_]=y?"0":"",M[w]=g?"0":"",M.transform=(E.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",M)):Object.assign({},z,((t={})[_]=y?v+"px":"",t[w]=g?f+"px":"",t.transform="",t))}var te={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function ie(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&E(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t,n){return t===U.Pj?ae(function(e,t){var n=b(e),r=A(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=M();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+L(e),y:s}}(e,n)):w(t)?function(e,t){var n=z(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=A(e),r=P(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=x(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=x(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+L(e),s=-r.scrollTop;return"rtl"===k(o||n).direction&&(l+=x(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(A(e)))}function se(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ce(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?U.zV:l,c=n.rootBoundary,u=void 0===c?U.Pj:c,d=n.elementContext,h=void 0===d?U.k5:d,f=n.altBoundary,p=void 0!==f&&f,v=n.padding,m=void 0===v?0:v,g=se("number"!=typeof m?m:ce(m,U.mv)),y=h===U.k5?U.YP:U.k5,b=e.rects.popper,E=e.elements[p?y:h],O=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=D(H(e)),n=["absolute","fixed"].indexOf(k(e).position)>=0&&_(e)?B(e):e;return w(n)?t.filter((function(e){return w(e)&&ie(e,n)&&"body"!==T(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=le(e,n,r);return t.top=x(o.top,t.top),t.right=S(o.right,t.right),t.bottom=S(o.bottom,t.bottom),t.left=x(o.left,t.left),t}),le(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(w(E)?E:E.contextElement||A(e.elements.popper),s,u,a),C=z(e.elements.reference),M=Q({reference:C,element:b,strategy:"absolute",placement:o}),P=ae(Object.assign({},b,M)),L=h===U.k5?P:C,N={top:O.top-L.top+g.top,bottom:L.bottom-O.bottom+g.bottom,left:O.left-L.left+g.left,right:L.right-O.right+g.right},I=e.modifiersData.offset;if(h===U.k5&&I){var R=I[o];Object.keys(N).forEach((function(e){var t=[U.F2,U.I].indexOf(e)>=0?1:-1,n=[U.we,U.I].indexOf(e)>=0?"y":"x";N[e]+=R[n]*t}))}return N}function de(e,t,n){return x(e,S(t,n))}function he(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[U.we,U.F2,U.I,U.t$].some((function(t){return e[t]>=0}))}var pe=K({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=b(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,$)})),l&&s.addEventListener("resize",n.update,$),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,$)})),l&&s.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Q({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Y(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];_(o)&&T(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});_(r)&&T(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=U.Ct.reduce((function(e,n){return e[n]=function(e,t,n){var r=Y(e),o=[U.t$,U.we].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[U.t$,U.F2].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,v=n.allowedAutoPlacements,m=t.options.placement,g=Y(m),y=s||(g!==m&&p?function(e){if(Y(e)===U.d7)return[];var t=ne(e);return[oe(e),t,oe(t)]}(m):[ne(m)]),b=[m].concat(y).reduce((function(e,n){return e.concat(Y(n)===U.d7?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?U.Ct:s,u=X(r),d=u?l?U.bw:U.bw.filter((function(e){return X(e)===u})):U.mv,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var f=h.reduce((function(t,n){return t[n]=ue(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Y(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,_=t.rects.popper,E=new Map,x=!0,S=b[0],O=0;O<b.length;O++){var C=b[O],M=Y(C),z=X(C)===U.BL,P=[U.we,U.I].indexOf(M)>=0,T=P?"width":"height",A=ue(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),L=P?z?U.F2:U.t$:z?U.I:U.we;w[T]>_[T]&&(L=ne(L));var k=ne(L),N=[];if(i&&N.push(A[M]<=0),l&&N.push(A[L]<=0,A[k]<=0),N.every((function(e){return e}))){S=C,x=!1;break}E.set(C,N)}if(x)for(var I=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},R=p?3:1;R>0&&"break"!==I(R);R--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,v=void 0===p?0:p,m=ue(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Y(t.placement),y=X(t.placement),b=!y,w=Z(g),_="x"===w?"y":"x",E=t.modifiersData.popperOffsets,O=t.rects.reference,C=t.rects.popper,M="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,z="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(E){if(i){var A,L="y"===w?U.we:U.t$,k="y"===w?U.I:U.F2,N="y"===w?"height":"width",I=E[w],H=I+m[L],V=I-m[k],D=f?-C[N]/2:0,j=y===U.BL?O[N]:C[N],F=y===U.BL?-C[N]:-O[N],G=t.elements.arrow,q=f&&G?R(G):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=W[L],$=W[k],Q=de(0,O[N],q[N]),J=b?O[N]/2-D-Q-K-z.mainAxis:j-Q-K-z.mainAxis,ee=b?-O[N]/2+D+Q+$+z.mainAxis:F+Q+$+z.mainAxis,te=t.elements.arrow&&B(t.elements.arrow),ne=te?"y"===w?te.clientTop||0:te.clientLeft||0:0,re=null!=(A=null==P?void 0:P[w])?A:0,oe=I+ee-re,ie=de(f?S(H,I+J-re-ne):H,I,f?x(V,oe):V);E[w]=ie,T[w]=ie-I}if(l){var ae,le="x"===w?U.we:U.t$,se="x"===w?U.I:U.F2,ce=E[_],he="y"===_?"height":"width",fe=ce+m[le],pe=ce-m[se],ve=-1!==[U.we,U.t$].indexOf(g),me=null!=(ae=null==P?void 0:P[_])?ae:0,ge=ve?fe:ce-O[he]-C[he]-me+z.altAxis,ye=ve?ce+O[he]+C[he]-me-z.altAxis:pe,be=f&&ve?function(e,t,n){var r=de(e,t,n);return r>n?n:r}(ge,ce,ye):de(f?ge:fe,ce,f?ye:pe);E[_]=be,T[_]=be-ce}t.modifiersData[r]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Y(n.placement),s=Z(l),c=[U.t$,U.F2].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return se("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,U.mv))}(o.padding,n),d=R(i),h="y"===s?U.we:U.t$,f="y"===s?U.I:U.F2,p=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],v=a[s]-n.rects.reference[s],m=B(i),g=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=p/2-v/2,b=u[h],w=g-d[c]-u[f],_=g/2-d[c]/2+y,E=de(b,_,w),x=s;n.modifiersData[r]=((t={})[x]=E,t.centerOffset=E-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ie(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ue(t,{elementContext:"reference"}),l=ue(t,{altBoundary:!0}),s=he(a,r),c=he(l,o,i),u=fe(s),d=fe(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ve=n(69590),me=n.n(ve),ge=[],ye=function(){},be=function(){return Promise.resolve(null)},we=[];function _e(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,i=e.modifiers,s=void 0===i?we:i,c=e.referenceElement,u=e.onFirstUpdate,d=e.innerRef,f=e.children,g=a.useContext(l),b=a.useState(null),w=b[0],_=b[1],E=a.useState(null),x=E[0],S=E[1];a.useEffect((function(){p(d,w)}),[d,w]);var O=a.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:u,modifiers:[].concat(s,[{name:"arrow",enabled:null!=x,options:{element:x}}])}}),[n,o,u,s,x]),C=function(e,t,n){void 0===n&&(n={});var r=a.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ge},i=a.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=i[0],s=i[1],c=a.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);y.flushSync((function(){s({styles:v(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:v(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=a.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return me()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=a.useRef();return m((function(){d.current&&d.current.setOptions(u)}),[u]),m((function(){if(null!=e&&null!=t){var r=(n.createPopper||pe)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(c||g,w,O),M=C.state,z=C.styles,P=C.forceUpdate,T=C.update,A=a.useMemo((function(){return{ref:_,style:z.popper,placement:M?M.placement:n,hasPopperEscaped:M&&M.modifiersData.hide?M.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:M&&M.modifiersData.hide?M.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:z.arrow,ref:S},forceUpdate:P||ye,update:T||be}}),[_,S,n,M,z,T,P]);return h(f)(A)}var Ee=n(4408),xe=n(40451),Se=n(57755),Oe=n(9421),Ce=n(69702),Me=n(93835),ze=n(90322),Pe=n(72778),Te=n(35307),Ae=n(34006),Le={enabled:!0,name:"matchReferenceWidth",phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state,n=t.elements.reference.getBoundingClientRect().width;t.elements.popper.style.width="".concat(n,"px")}},ke=n(54885),Ne=n(34350);function Ie(e){switch(e){case Ce.I2.TOP_LEFT:return"top-start";case Ce.I2.TOP:return"top";case Ce.I2.TOP_RIGHT:return"top-end";case Ce.I2.RIGHT_TOP:return"right-start";case Ce.I2.RIGHT:return"right";case Ce.I2.RIGHT_BOTTOM:return"right-end";case Ce.I2.BOTTOM_RIGHT:return"bottom-end";case Ce.I2.BOTTOM:return"bottom";case Ce.I2.BOTTOM_LEFT:return"bottom-start";case Ce.I2.LEFT_BOTTOM:return"left-end";case Ce.I2.LEFT:return"left";case Ce.I2.LEFT_TOP:return"left-start";case"auto":case"auto-start":case"auto-end":return e;default:return function(e){throw new Error("Unexpected position: "+e)}(e)}}var Re=n(15927),He=n(73075),Ve=n(36648),De={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},je=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasDarkParent:!1,isOpen:t.getIsOpen(t.props)},t.popoverElement=null,t.targetElement=null,t.popoverRef=(0,Ee.Km)(t,"popoverElement",t.props.popoverRef),t.targetRef=function(e){return t.targetElement=e},t.isMouseInTargetOrPopover=!1,t.lostFocusOnSamePage=!0,t.isControlled=function(){return void 0!==t.props.isOpen},t.isArrowEnabled=function(){var e,n;return!t.props.minimal&&!1!==(null===(n=null===(e=t.props.modifiers)||void 0===e?void 0:e.arrow)||void 0===n?void 0:n.enabled)},t.isHoverInteractionKind=function(){return t.props.interactionKind===De.HOVER||t.props.interactionKind===De.HOVER_TARGET_ONLY},t.reposition=function(){var e;return null===(e=t.popperScheduleUpdate)||void 0===e?void 0:e.call(t)},t.renderTarget=function(e){var n,o,l,s,c=e.ref,u=t.props,d=u.children,h=u.className,f=u.fill,p=u.openOnTargetFocus,v=u.renderTarget,m=t.state.isOpen,g=t.isControlled(),y=t.isHoverInteractionKind(),b=t.props.targetTagName;f&&(b="div");var w,_=(0,Ee.lq)(c,t.targetRef),E=y?{onBlur:t.handleTargetBlur,onContextMenu:t.handleTargetContextMenu,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick,onKeyDown:t.handleKeyDown},x=p&&y?0:void 0,S=(0,r.pi)({"aria-haspopup":null!==(l=t.props.popupKind)&&void 0!==l?l:t.props.interactionKind===De.HOVER_TARGET_ONLY?void 0:"true",className:i()(h,Ae.POPOVER2_TARGET,(n={},n[Ae.POPOVER2_OPEN]=m,n[xe.ACTIVE]=m&&!g&&!y,n)),ref:_},E),O=((o={})[xe.ACTIVE]=m&&!g&&!y,o[xe.FILL]=f,o);if(void 0!==v)w=v((0,r.pi)((0,r.pi)({},S),{className:i()(S.className,O),isOpen:m,tabIndex:x}));else{var C=Se.h7(a.Children.toArray(d)[0]);if(void 0===C)return null;var M=a.cloneElement(C,{className:i()(C.props.className,O),disabled:!(!m||!Se.Mc(C,He.u))||C.props.disabled,tabIndex:null!==(s=C.props.tabIndex)&&void 0!==s?s:x});w=a.createElement(b,(0,r.pi)((0,r.pi)({},S),t.props.targetProps),M)}return a.createElement(Re.q,{targetRef:_,onResize:t.reposition},w)},t.renderPopover=function(e){var n,o,l=t.props,s=l.interactionKind,c=l.shouldReturnFocusOnClose,u=l.usePortal,d=t.state.isOpen,h=(0,Ve.c3)(e.placement,t.isArrowEnabled()?e.arrowProps.style:void 0);t.popperScheduleUpdate=e.update;var f={onClick:t.handlePopoverClick,onKeyDown:function(e){return Oe.isKeyboardClick(e.keyCode)&&t.handlePopoverClick(e)}};(s===De.HOVER||!u&&s===De.HOVER_TARGET_ONLY)&&(f.onMouseEnter=t.handleMouseEnter,f.onMouseLeave=t.handleMouseLeave);var p=(0,Ve.tJ)(e.placement),v=i()(Ae.POPOVER2,((n={})[xe.DARK]=t.props.inheritDarkTheme&&t.state.hasDarkParent,n[xe.MINIMAL]=t.props.minimal,n[Ae.POPOVER2_CAPTURING_DISMISS]=t.props.captureDismiss,n[Ae.POPOVER2_MATCH_TARGET_WIDTH]=t.props.matchTargetWidth,n[Ae.POPOVER2_REFERENCE_HIDDEN]=!0===e.isReferenceHidden,n[Ae.POPOVER2_POPPER_ESCAPED]=!0===e.hasPopperEscaped,n),"".concat(Ae.POPOVER2_CONTENT_PLACEMENT,"-").concat(p),t.props.popoverClassName),m=!t.isHoverInteractionKind()&&void 0;return a.createElement(Ce.aV,{autoFocus:null!==(o=t.props.autoFocus)&&void 0!==o?o:m,backdropClassName:Ae.POPOVER2_BACKDROP,backdropProps:t.props.backdropProps,canEscapeKeyClose:t.props.canEscapeKeyClose,canOutsideClickClose:t.props.interactionKind===De.CLICK,enforceFocus:t.props.enforceFocus,hasBackdrop:t.props.hasBackdrop,isOpen:d,onClose:t.handleOverlayClose,onClosed:t.props.onClosed,onClosing:t.props.onClosing,onOpened:t.props.onOpened,onOpening:t.props.onOpening,transitionDuration:t.props.transitionDuration,transitionName:Ae.POPOVER2,usePortal:t.props.usePortal,portalClassName:t.props.portalClassName,portalContainer:t.props.portalContainer,shouldReturnFocusOnClose:!t.isHoverInteractionKind()&&c},a.createElement("div",{className:Ae.POPOVER2_TRANSITION_CONTAINER,ref:e.ref,style:e.style},a.createElement(Re.q,{onResize:t.reposition},a.createElement("div",(0,r.pi)({className:v,style:{transformOrigin:h},ref:t.popoverRef},f),t.isArrowEnabled()&&a.createElement(Ne._l,{arrowProps:e.arrowProps,placement:e.placement}),a.createElement("div",{className:Ae.POPOVER2_CONTENT},t.props.content)))))},t.handleTargetFocus=function(e){if(t.props.openOnTargetFocus&&t.isHoverInteractionKind()){if(null==e.relatedTarget&&!t.lostFocusOnSamePage)return;t.handleMouseEnter(e)}},t.handleTargetBlur=function(e){t.props.openOnTargetFocus&&t.isHoverInteractionKind()&&(null!=e.relatedTarget&&(e.relatedTarget===t.popoverElement||t.isElementInPopover(e.relatedTarget))||t.handleMouseLeave(e)),t.lostFocusOnSamePage=null!=e.relatedTarget},t.handleTargetContextMenu=function(e){e.defaultPrevented&&t.setOpenState(!1,e)},t.handleMouseEnter=function(e){t.isMouseInTargetOrPopover=!0,t.props.usePortal||!t.isElementInPopover(e.target)||t.props.interactionKind!==De.HOVER_TARGET_ONLY||t.props.openOnTargetFocus?t.props.disabled||t.setOpenState(!0,e,t.props.hoverOpenDelay):t.handleMouseLeave(e)},t.handleMouseLeave=function(e){t.isMouseInTargetOrPopover=!1,t.setTimeout((function(){t.isMouseInTargetOrPopover||t.setOpenState(!1,e,t.props.hoverCloseDelay)}))},t.handlePopoverClick=function(e){var n,r,o,i,a=e.target,l=a.closest(".".concat(Ae.POPOVER2)),s=a.closest(".".concat(xe.POPOVER)),c=(null!=l?l:s)===t.getPopoverElement(),u=null!==(r=null!==(n=null==l?void 0:l.classList.contains(Ae.POPOVER2_CAPTURING_DISMISS))&&void 0!==n?n:null==s?void 0:s.classList.contains(xe.POPOVER_CAPTURING_DISMISS))&&void 0!==r&&r,d=a.closest(".".concat(Ae.POPOVER2_DISMISS,", .").concat(Ae.POPOVER2_DISMISS_OVERRIDE)),h=a.closest(".".concat(xe.POPOVER_DISMISS,", .").concat(xe.POPOVER_DISMISS_OVERRIDE)),f=null!==(i=null!==(o=null==d?void 0:d.classList.contains(Ae.POPOVER2_DISMISS))&&void 0!==o?o:null==h?void 0:h.classList.contains(xe.POPOVER_DISMISS))&&void 0!==i&&i,p=null!=a.closest(":disabled, .".concat(xe.DISABLED));!f||p||u&&!c||t.setOpenState(!1,e)},t.handleOverlayClose=function(e){var n;if(null!==t.targetElement&&void 0!==e){var r=null!==(n=e.nativeEvent)&&void 0!==n?n:e,o=r.composed?r.composedPath()[0]:r.target;(!Me.C2(t.targetElement,o)||e.nativeEvent instanceof KeyboardEvent)&&t.setOpenState(!1,e)}},t.handleKeyDown=function(e){Oe.isKeyboardClick(e.keyCode)&&t.handleTargetClick(e)},t.handleTargetClick=function(e){t.state.isOpen&&t.isSimulatedButtonClick(e)||t.props.disabled||t.isElementInPopover(e.target)||(null==t.props.isOpen?t.setState((function(e){return{isOpen:!e.isOpen}})):t.setOpenState(!t.props.isOpen,e))},t.isSimulatedButtonClick=function(e){return!e.isTrusted&&e.target.matches(".".concat(xe.BUTTON))},t}return(0,r.ZT)(t,e),t.prototype.getPopoverElement=function(){var e;return null===(e=this.popoverElement)||void 0===e?void 0:e.querySelector(".".concat(Ae.POPOVER2))},t.prototype.getIsOpen=function(e){var t;return!e.disabled&&(null!==(t=e.isOpen)&&void 0!==t?t:e.defaultIsOpen)},t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.content,r=e.placement,o=e.position,i=void 0===o?"auto":o,l=e.positioningStrategy,s=this.state.isOpen;return null==n||"string"==typeof n&&""===n.trim()?(t||!1===s||ze.KV("production")||console.warn(ke.POPOVER2_WARN_EMPTY_CONTENT),this.renderTarget({ref:Fe})):a.createElement(c,null,a.createElement(g,null,this.renderTarget),a.createElement(_e,{innerRef:this.popoverRef,placement:null!=r?r:Ie(i),strategy:l,modifiers:this.getPopperModifiers()},this.renderPopover))},t.prototype.componentDidMount=function(){this.updateDarkParent()},t.prototype.componentDidUpdate=function(t,n){e.prototype.componentDidUpdate.call(this,t,n),this.updateDarkParent();var r=this.getIsOpen(this.props);null!=this.props.isOpen&&r!==this.state.isOpen?(this.setOpenState(r),this.setState({isOpen:r})):this.props.disabled&&this.state.isOpen&&null==this.props.isOpen&&this.setOpenState(!1)},t.prototype.validateProps=function(e){null==e.isOpen&&null!=e.onInteraction&&console.warn(ke.POPOVER2_WARN_UNCONTROLLED_ONINTERACTION),e.hasBackdrop&&!e.usePortal&&console.warn(ke.POPOVER2_WARN_HAS_BACKDROP_INLINE),e.hasBackdrop&&e.interactionKind!==De.CLICK&&console.warn(ke.POPOVER2_HAS_BACKDROP_INTERACTION),void 0!==e.placement&&void 0!==e.position&&console.warn(ke.POPOVER2_WARN_PLACEMENT_AND_POSITION_MUTEX);var t=a.Children.count(e.children),n=void 0!==e.renderTarget,r=void 0!==e.targetProps;0!==t||n||console.warn(ke.POPOVER2_REQUIRES_TARGET),t>1&&console.warn(ke.POPOVER2_WARN_TOO_MANY_CHILDREN),t>0&&n&&console.warn(ke.POPOVER2_WARN_DOUBLE_TARGET),n&&r&&console.warn(ke.POPOVER2_WARN_TARGET_PROPS_WITH_RENDER_TARGET)},t.prototype.getPopperModifiers=function(){var e,t,n,o,i=this.props,a=i.matchTargetWidth,l=i.modifiers,s=i.modifiersCustom,c=[(0,r.pi)({enabled:this.isArrowEnabled(),name:"arrow"},null==l?void 0:l.arrow),(0,r.pi)((0,r.pi)({name:"computeStyles"},null==l?void 0:l.computeStyles),{options:(0,r.pi)({adaptive:!0,gpuAcceleration:!1},null===(e=null==l?void 0:l.computeStyles)||void 0===e?void 0:e.options)}),(0,r.pi)((0,r.pi)({enabled:this.isArrowEnabled(),name:"offset"},null==l?void 0:l.offset),{options:(0,r.pi)({offset:[0,Ne.e7/2]},null===(t=null==l?void 0:l.offset)||void 0===t?void 0:t.options)}),(0,r.pi)((0,r.pi)({name:"flip"},null==l?void 0:l.flip),{options:(0,r.pi)({boundary:this.props.boundary,rootBoundary:this.props.rootBoundary},null===(n=null==l?void 0:l.flip)||void 0===n?void 0:n.options)}),(0,r.pi)((0,r.pi)({name:"preventOverflow"},null==l?void 0:l.preventOverflow),{options:(0,r.pi)({boundary:this.props.boundary,rootBoundary:this.props.rootBoundary},null===(o=null==l?void 0:l.preventOverflow)||void 0===o?void 0:o.options)})];return a&&c.push(Le),void 0!==s&&c.push.apply(c,s),c},t.prototype.setOpenState=function(e,t,n){var r,o,i,a,l,s=this;null===(r=this.cancelOpenTimeout)||void 0===r||r.call(this),void 0!==n&&n>0?this.cancelOpenTimeout=this.setTimeout((function(){return s.setOpenState(e,t)}),n):(null==this.props.isOpen?this.setState({isOpen:e}):null===(i=(o=this.props).onInteraction)||void 0===i||i.call(o,e,t),e||null===(l=(a=this.props).onClose)||void 0===l||l.call(a,t))},t.prototype.updateDarkParent=function(){if(this.props.usePortal&&this.state.isOpen){var e=null!=this.targetElement&&null!=this.targetElement.closest(".".concat(xe.DARK));this.setState({hasDarkParent:e})}},t.prototype.isElementInPopover=function(e){var t,n;return null!==(n=null===(t=this.getPopoverElement())||void 0===t?void 0:t.contains(e))&&void 0!==n&&n},t.displayName="".concat(Pe.g,".Popover2"),t.defaultProps={boundary:"clippingParents",captureDismiss:!1,defaultIsOpen:!1,disabled:!1,fill:!1,hasBackdrop:!1,hoverCloseDelay:300,hoverOpenDelay:150,inheritDarkTheme:!0,interactionKind:De.CLICK,matchTargetWidth:!1,minimal:!1,openOnTargetFocus:!0,positioningStrategy:"absolute",renderTarget:void 0,shouldReturnFocusOnClose:!1,targetTagName:"span",transitionDuration:300,usePortal:!0},t}(Te.U);function Fe(){}},34350:(e,t,n)=>{"use strict";n.d(t,{_l:()=>h,e7:()=>s,nx:()=>c});var r=n(57222),o=n(67294),i=n(72778),a=n(34006),l=n(36648),s=30,c=22;function u(e){if(null==e)return 0;switch((0,l.tJ)(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}function d(e){var t=s/2-4;switch((0,l.tJ)(e)){case"top":return{bottom:-t};case"left":return{right:-t};case"bottom":return{top:-t};default:return{left:-t}}}var h=function(e){var t=e.arrowProps,n=t.ref,i=t.style,l=e.placement;return o.createElement("div",{"aria-hidden":!0,className:a.POPOVER2_ARROW,"data-popper-arrow":!0,ref:n,style:(0,r.pi)((0,r.pi)({},i),d(l))},o.createElement("svg",{viewBox:"0 0 ".concat(s," ").concat(s),style:{transform:"rotate(".concat(u(l),"deg)")}},o.createElement("path",{className:a.POPOVER2_ARROW+"-border",d:"M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"}),o.createElement("path",{className:a.POPOVER2_ARROW+"-fill",d:"M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005c0-1.654-.983-3.9-2.21-5.03l-7.183-6.616c-.81-.746-.802-1.96 0-2.7l7.183-6.614z"})))};h.displayName="".concat(i.g,".Popover2Arrow")},12613:(e,t,n)=>{"use strict";var r;n.d(t,{e:()=>r}),function(e){e.MENU="menu",e.LISTBOX="listbox",e.TREE="tree",e.GRID="grid",e.DIALOG="dialog"}(r||(r={}))},15927:(e,t,n)=>{"use strict";n.d(t,{q:()=>l});var r=n(57222),o=n(86254),i=n(67294),a=n(72778),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.targetRef=i.createRef(),t.prevElement=void 0,t.observer=new o.do((function(e){var n,r;return null===(r=(n=t.props).onResize)||void 0===r?void 0:r.call(n,e)})),t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=i.Children.only(this.props.children);return void 0!==this.props.targetRef?e:i.cloneElement(e,{ref:this.targetRef})},t.prototype.componentDidMount=function(){this.observeElement()},t.prototype.componentDidUpdate=function(e){this.observeElement(this.props.observeParents!==e.observeParents)},t.prototype.componentWillUnmount=function(){this.observer.disconnect()},t.prototype.observeElement=function(e){if(void 0===e&&(e=!1),this.targetRef.current instanceof Element){if((this.targetRef.current!==this.prevElement||e)&&(this.observer.disconnect(),this.prevElement=this.targetRef.current,this.observer.observe(this.targetRef.current),this.props.observeParents))for(var t=this.targetRef.current.parentElement;null!=t;)this.observer.observe(t),t=t.parentElement}else this.observer.disconnect()},t.displayName="".concat(a.g,".ResizeSensor2"),t}(n(35307).U)},73075:(e,t,n)=>{"use strict";n.d(t,{u:()=>f});var r=n(57222),o=n(94184),i=n.n(o),a=n(67294),l=n(40451),s=n(72778),c=n(34006),u=n(56558),d=n(34350),h=n(57116),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=a.createRef(),t.renderPopover=function(e){var n,o,s=t.props,h=s.children,f=s.compact,p=s.disabled,v=s.intent,m=s.popoverClassName,g=(0,r._T)(s,["children","compact","disabled","intent","popoverClassName"]),y=i()(c.TOOLTIP2,l.intentClass(v),m,((n={})[l.COMPACT]=f,n));return a.createElement(u.p,(0,r.pi)({modifiers:{arrow:{enabled:!t.props.minimal},offset:{options:{offset:[0,d.nx/2]}}}},g,{autoFocus:!1,canEscapeKeyClose:!1,disabled:null!==(o=e.forceDisabled)&&void 0!==o?o:p,enforceFocus:!1,lazy:!0,popoverClassName:y,portalContainer:t.props.portalContainer,ref:t.popoverRef}),h)},t}return(0,r.ZT)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.B.Consumer,null,(function(t){var n=t[0];return a.createElement(h.q,(0,r.pi)({},n),e.renderPopover)}))},t.prototype.reposition=function(){var e;null===(e=this.popoverRef.current)||void 0===e||e.reposition()},t.displayName="".concat(s.g,".Tooltip2"),t.defaultProps={compact:!1,hoverCloseDelay:0,hoverOpenDelay:100,interactionKind:"hover-target",minimal:!1,transitionDuration:100},t}(a.PureComponent)},57116:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,q:()=>a});var r=n(67294),o=r.createContext([{},function(){return null}]),i=function(e,t){switch(t.type){case"FORCE_DISABLED_STATE":return{forceDisabled:!0};case"RESET_DISABLED_STATE":return{};default:return e}},a=function(e){var t=e.children,n=e.forceDisable,a=r.useReducer(i,{}),l=a[0],s=a[1];return r.useEffect((function(){s(n?{type:"FORCE_DISABLED_STATE"}:{type:"RESET_DISABLED_STATE"})}),[n]),r.createElement(o.Provider,{value:[l,s]},"function"==typeof t?t(l):t)}},36648:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}function o(e){return-1!==["left","right"].indexOf(e)}function i(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function a(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function l(e,t){var n=r(e);return void 0===t?o(n)?"".concat(i(n)," ").concat(a(n)):"".concat(a(n)," ").concat(i(n)):o(n)?"".concat(i(n)," ").concat(parseInt(t.top,10)+15,"px"):"".concat(parseInt(t.left,10)+15,"px ").concat(i(n))}n.d(t,{c3:()=>l,tJ:()=>r})},29828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Classes:()=>r,MultiSelect:()=>F,MultiSelect2:()=>W,Omnibar:()=>K,QueryList:()=>I,Select:()=>$,Select2:()=>X,Suggest:()=>Z,Suggest2:()=>Q,executeItemsEqual:()=>g,getActiveItem:()=>w,getCreateNewItem:()=>y,getFirstEnabledItem:()=>j,isCreateNewItem:()=>b,renderFilteredItems:()=>v});var r={};n.r(r),n.d(r,{MULTISELECT:()=>a,MULTISELECT_POPOVER:()=>l,MULTISELECT_TAG_INPUT_INPUT:()=>s,OMNIBAR:()=>c,OMNIBAR_OVERLAY:()=>u,SELECT:()=>d,SELECT_MATCH_TARGET_WIDTH:()=>f,SELECT_POPOVER:()=>h,SUGGEST_POPOVER:()=>p});var o=n(40451),i=o.getClassNamespace(),a="".concat(i,"-multi-select"),l="".concat(a,"-popover"),s="".concat(a,"-tag-input-input"),c="".concat(i,"-omnibar"),u="".concat(c,"-overlay"),d="".concat(i,"-select"),h="".concat(i,"-select-popover"),f="".concat(i,"-select-match-target-width"),p="".concat(i,"-suggest-popover");function v(e,t,n){if(0===e.query.length&&void 0!==n)return n;var r=e.filteredItems.map(e.renderItem).filter((function(e){return null!=e}));return r.length>0?r:t}var m=n(23251);function g(e,t,n){return void 0===e||null==t||null==n?t===n:m.m(e)?e(t,n):t[e]===n[e]}function y(){return{__blueprintCreateNewItemBrand:"blueprint-create-new-item"}}function b(e){if(null==e)return!1;var t=Object.keys(e);return 1===t.length&&"__blueprintCreateNewItemBrand"===t[0]&&"blueprint-create-new-item"===e.__blueprintCreateNewItemBrand}function w(e){return null==e||b(e)?null:e}var _=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},_(e,t)};function E(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)};function S(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create;var O=n(94184),C=n.n(O),M=n(67294),z=n(4408),P=n(69702),T=n(53766),A=n(9421),L=n(72778),k=n(35307),N=n(48261),I=function(e){function t(t,n){var r,o,i=this;(i=e.call(this,t,n)||this).itemRefs=new Map,i.refHandlers={itemsParent:function(e){return i.itemsParentRef=e}},i.shouldCheckActiveItemInViewport=!1,i.expectedNextActiveItem=null,i.isEnterKeyPressed=!1,i.renderItemList=function(e){var t=i.props,n=t.initialContent,r=t.noResults,o=e.renderCreateItem(),a=v(e,null!=o?null:r,n);if(null==a&&null==o)return null;var l=i.isCreateItemFirst();return M.createElement(P.v2,x({role:"listbox"},e.menuProps,{ulRef:e.itemsParentRef}),l&&o,a,!l&&o)},i.renderItem=function(e,t){if(!0!==i.props.disabled){var n=i.state,r=n.activeItem,o=n.query,a=n.filteredItems,l={active:g(i.props.itemsEqual,w(r),e),disabled:D(e,t,i.props.itemDisabled),matchesPredicate:a.indexOf(e)>=0};return i.props.itemRenderer(e,{handleClick:function(t){return i.handleItemSelect(e,t)},handleFocus:function(){return i.setActiveItem(e)},index:t,modifiers:l,query:o,ref:function(e){e?i.itemRefs.set(t,e):i.itemRefs.delete(t)}})}return null},i.renderCreateItemMenuItem=function(){if(i.isCreateItemRendered(i.state.createNewItem)){var e=i.state,t=e.activeItem,n=e.query.trim(),r=b(t);return i.props.createNewItemRenderer(n,r,(function(e){i.handleItemCreate(n,e)}))}return null},i.handleItemCreate=function(e,t){var n,r,o,a,l=null===(r=(n=i.props).createNewItemFromQuery)||void 0===r?void 0:r.call(n,e);if(null!=l){for(var s=0,c=Array.isArray(l)?l:[l];s<c.length;s++){var u=c[s];null===(a=(o=i.props).onItemSelect)||void 0===a||a.call(o,u,t)}i.maybeResetQuery()}},i.handleItemSelect=function(e,t){var n,r;i.setActiveItem(e),null===(r=(n=i.props).onItemSelect)||void 0===r||r.call(n,e,t),i.maybeResetQuery()},i.handlePaste=function(e){for(var t,n=i.props,r=n.createNewItemFromQuery,o=n.onItemsPaste,a=[],l=[],s=0,c=e;s<c.length;s++){var u=c[s],d=H(u,i.props);if(void 0!==d)t=d,l.push(d);else if(i.canCreateItems()){var h=null==r?void 0:r(u);if(void 0!==h){var f=Array.isArray(h)?h:[h];l.push.apply(l,f)}}else a.push(u)}i.setQuery(a.join(", "),!1),void 0!==t&&i.setActiveItem(t),null==o||o(l)},i.handleKeyDown=function(e){var t,n,r=e.keyCode;if(r===A.ARROW_UP||r===A.ARROW_DOWN){e.preventDefault();var o=i.getNextActiveItem(r===A.ARROW_UP?-1:1);null!=o&&i.setActiveItem(o)}else r===A.ENTER&&(i.isEnterKeyPressed=!0);null===(n=(t=i.props).onKeyDown)||void 0===n||n.call(t,e)},i.handleKeyUp=function(e){var t=i.props.onKeyUp,n=i.state.activeItem;e.keyCode===A.ENTER&&i.isEnterKeyPressed&&(e.preventDefault(),null==n||b(n)?i.handleItemCreate(i.state.query,e):i.handleItemSelect(n,e),i.isEnterKeyPressed=!1),null==t||t(e)},i.handleInputQueryChange=function(e){var t,n,r=null==e?"":e.target.value;i.setQuery(r),null===(n=(t=i.props).onQueryChange)||void 0===n||n.call(t,r,e)};var a=t.query,l=void 0===a?"":a,s=null===(r=t.createNewItemFromQuery)||void 0===r?void 0:r.call(t,l),c=V(l,t);return i.state={activeItem:void 0!==t.activeItem?t.activeItem:null!==(o=t.initialActiveItem)&&void 0!==o?o:j(c,t.itemDisabled),createNewItem:s,filteredItems:c,query:l},i}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e=this.props,t=e.className,n=e.items,r=e.renderer,o=e.itemListRenderer,i=void 0===o?this.renderItemList:o,a=e.menuProps,l=this.state,s=(l.createNewItem,S(l,["createNewItem"]));return r(x(x({},s),{className:t,handleItemSelect:this.handleItemSelect,handleKeyDown:this.handleKeyDown,handleKeyUp:this.handleKeyUp,handlePaste:this.handlePaste,handleQueryChange:this.handleInputQueryChange,itemList:i(x(x({},s),{items:n,itemsParentRef:this.refHandlers.itemsParent,menuProps:a,renderCreateItem:this.renderCreateItemMenuItem,renderItem:this.renderItem}))}))},t.prototype.componentDidUpdate=function(e){var t=this;void 0!==this.props.activeItem&&this.props.activeItem!==this.state.activeItem&&(this.shouldCheckActiveItemInViewport=!0,this.setState({activeItem:this.props.activeItem})),null!=this.props.query&&this.props.query!==e.query?this.setQuery(this.props.query,this.props.resetOnQuery,this.props):N.ms(this.props,e,{include:["items","itemListPredicate","itemPredicate"]})||this.setQuery(this.state.query),this.shouldCheckActiveItemInViewport&&(this.requestAnimationFrame((function(){return t.scrollActiveItemIntoView()})),this.shouldCheckActiveItemInViewport=!1)},t.prototype.scrollActiveItemIntoView=function(){var e=!1!==this.props.scrollToActiveItem,t=!g(this.props.itemsEqual,w(this.expectedNextActiveItem),w(this.props.activeItem));if(this.expectedNextActiveItem=null,e||!t){var n=this.getActiveElement();if(null!=this.itemsParentRef&&null!=n){var r=n.offsetTop,o=n.offsetHeight,i=this.itemsParentRef,a=i.offsetTop,l=i.scrollTop,s=i.clientHeight,c=this.getItemsParentPadding(),u=c.paddingTop,d=r+o+c.paddingBottom-a,h=r-u-a;d>=l+s?this.itemsParentRef.scrollTop=d+o-s:h<=l&&(this.itemsParentRef.scrollTop=h-o)}}},t.prototype.setQuery=function(e,t,n){var r;void 0===t&&(t=this.props.resetOnQuery),void 0===n&&(n=this.props);var o=n.createNewItemFromQuery;this.shouldCheckActiveItemInViewport=!0,e!==this.state.query&&(null===(r=n.onQueryChange)||void 0===r||r.call(n,e));var i=e.trim(),a=V(i,n),l=null!=o&&""!==i?o(i):void 0;this.setState({createNewItem:l,filteredItems:a,query:e});var s=this.getActiveIndex(a);(t||s<0||D(w(this.state.activeItem),s,n.itemDisabled))&&(this.isCreateItemRendered(l)&&this.isCreateItemFirst()?this.setActiveItem({__blueprintCreateNewItemBrand:"blueprint-create-new-item"}):this.setActiveItem(j(a,n.itemDisabled)))},t.prototype.setActiveItem=function(e){var t,n,r,o;this.expectedNextActiveItem=e,void 0===this.props.activeItem&&(this.shouldCheckActiveItemInViewport=!0,this.setState({activeItem:e})),b(e)?null===(n=(t=this.props).onActiveItemChange)||void 0===n||n.call(t,null,!0):null===(o=(r=this.props).onActiveItemChange)||void 0===o||o.call(r,e,!1)},t.prototype.getActiveElement=function(){var e,t=this.state.activeItem;if(null!=this.itemsParentRef){if(b(t)){var n=this.isCreateItemFirst()?0:this.state.filteredItems.length;return this.itemsParentRef.children.item(n)}var r=this.getActiveIndex();return null!==(e=this.itemRefs.get(r))&&void 0!==e?e:this.itemsParentRef.children.item(r)}},t.prototype.getActiveIndex=function(e){void 0===e&&(e=this.state.filteredItems);var t=this.state.activeItem;if(null==t||b(t))return-1;for(var n=0;n<e.length;++n)if(g(this.props.itemsEqual,e[n],t))return n;return-1},t.prototype.getItemsParentPadding=function(){var e=getComputedStyle(this.itemsParentRef),t=e.paddingTop;return{paddingBottom:R(e.paddingBottom),paddingTop:R(t)}},t.prototype.getNextActiveItem=function(e,t){return void 0===t&&(t=this.getActiveIndex()),this.isCreateItemRendered(this.state.createNewItem)&&(0===t&&-1===e||t===this.state.filteredItems.length-1&&1===e)?{__blueprintCreateNewItemBrand:"blueprint-create-new-item"}:j(this.state.filteredItems,this.props.itemDisabled,e,t)},t.prototype.isCreateItemRendered=function(e){return this.canCreateItems()&&""!==this.state.query&&!this.wouldCreatedItemMatchSomeExistingItem(e)},t.prototype.isCreateItemFirst=function(){return"first"===this.props.createNewItemPosition},t.prototype.canCreateItems=function(){return null!=this.props.createNewItemFromQuery&&null!=this.props.createNewItemRenderer},t.prototype.wouldCreatedItemMatchSomeExistingItem=function(e){var t=this;return this.state.filteredItems.some((function(n){return(Array.isArray(e)?e:[e]).some((function(e){return g(t.props.itemsEqual,n,e)}))}))},t.prototype.maybeResetQuery=function(){this.props.resetOnSelect&&this.setQuery("",!0)},t.displayName="".concat(L.g,".QueryList"),t.defaultProps={disabled:!1,resetOnQuery:!0},t}(n(55224).R);function R(e){return null==e?0:parseInt(e.slice(0,-2),10)}function H(e,t){var n=t.items,r=t.itemPredicate;if(m.m(r))for(var o=0;o<n.length;o++){var i=n[o];if(r(e,i,o,!0))return i}}function V(e,t){var n=t.items,r=t.itemPredicate,o=t.itemListPredicate;return m.m(o)?o(e,n):m.m(r)?n.filter((function(t,n){return r(e,t,n)})):n}function D(e,t,n){return null!=n&&null!=e&&(m.m(n)?n(e,t):!!e[n])}function j(e,t,n,r){if(void 0===n&&(n=1),void 0===r&&(r=e.length-1),0===e.length)return null;var o,i,a=r,l=e.length-1;do{if(i=l,!D(e[a=(o=a+n)<0?i:o>i?0:o],a,t))return e[a]}while(a!==r&&-1!==r);return null}var F=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).state={isOpen:n.props.popoverProps&&n.props.popoverProps.isOpen||!1},n.input=null,n.queryList=null,n.refHandlers={input:(0,z.Km)(n,"input",null===(t=n.props.tagInputProps)||void 0===t?void 0:t.inputRef),queryList:function(e){return n.queryList=e}},n.renderQueryList=function(e){var t,r=n.props,o=r.fill,i=r.tagInputProps,c=void 0===i?{}:i,u=r.popoverProps,d=void 0===u?{}:u,h=r.selectedItems,f=void 0===h?[]:h,p=r.placeholder,v=e.handlePaste,m=e.handleKeyDown,g=e.handleKeyUp;o&&(d.fill=!0,c.fill=!0);var y=x(x({},c.inputProps),{className:C()(null===(t=c.inputProps)||void 0===t?void 0:t.className,s)});return M.createElement(P.J2,x({autoFocus:!1,canEscapeKeyClose:!0,enforceFocus:!1,isOpen:n.state.isOpen,position:T.Ly.BOTTOM_LEFT},d,{className:C()(e.className,d.className),interactionKind:P.V3.CLICK,onInteraction:n.handlePopoverInteraction,popoverClassName:C()(l,d.popoverClassName),onOpened:n.handlePopoverOpened}),M.createElement("div",{onKeyDown:n.getTagInputKeyDownHandler(m),onKeyUp:n.getTagInputKeyUpHandler(g)},M.createElement(P.EG,x({placeholder:p},c,{className:C()(a,c.className),inputRef:n.refHandlers.input,inputProps:y,inputValue:e.query,onAdd:function(e,t){"paste"===t&&v(e)},onInputChange:e.handleQueryChange,onRemove:n.handleTagRemove,values:f.map(n.props.tagRenderer)}))),M.createElement("div",{onKeyDown:m,onKeyUp:g},e.itemList))},n.handleItemSelect=function(e,t){var r,o;null!=n.input&&n.input.focus(),null===(o=(r=n.props).onItemSelect)||void 0===o||o.call(r,e,t)},n.handleQueryChange=function(e,t){var r,o;n.setState({isOpen:e.length>0||!n.props.openOnKeyDown}),null===(o=(r=n.props).onQueryChange)||void 0===o||o.call(r,e,t)},n.handlePopoverInteraction=function(e,t){return n.requestAnimationFrame((function(){var r,o,i=n.input===document.activeElement;null==n.input||i?n.props.openOnKeyDown||n.setState({isOpen:!0}):n.setState({isOpen:!1}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)}))},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.handleTagRemove=function(e,t){var r,o=n.props,i=o.selectedItems,a=void 0===i?[]:i,l=o.onRemove,s=o.tagInputProps;null==l||l(a[t],t),null===(r=null==s?void 0:s.onRemove)||void 0===r||r.call(s,e,t)},n.getTagInputKeyDownHandler=function(e){return function(t){var r=t.which;r===A.ESCAPE||r===A.TAB?(null!=n.input&&n.input.blur(),n.setState({isOpen:!1})):r!==A.BACKSPACE&&r!==A.ARROW_LEFT&&r!==A.ARROW_RIGHT&&n.setState({isOpen:!0});var i=null!=t.target.closest(".".concat(o.TAG_REMOVE));n.state.isOpen&&!i&&(null==e||e(t))}},n.getTagInputKeyUpHandler=function(e){return function(t){var r=t.target.classList.contains(s);n.state.isOpen&&r&&(null==e||e(t))}},n}return E(t,e),t.ofType=function(){return t},t.prototype.componentDidUpdate=function(e){var t,n,r,o,i;(null===(t=e.tagInputProps)||void 0===t?void 0:t.inputRef)!==(null===(n=this.props.tagInputProps)||void 0===n?void 0:n.inputRef)&&((0,z.k$)(null===(r=e.tagInputProps)||void 0===r?void 0:r.inputRef,null),this.refHandlers.input=(0,z.Km)(this,"input",null===(o=this.props.tagInputProps)||void 0===o?void 0:o.inputRef),(0,z.k$)(null===(i=this.props.tagInputProps)||void 0===i?void 0:i.inputRef,this.input))},t.prototype.render=function(){var e=this.props,t=(e.openOnKeyDown,e.popoverProps,e.tagInputProps,S(e,["openOnKeyDown","popoverProps","tagInputProps"]));return M.createElement(I,x({},t,{onItemSelect:this.handleItemSelect,onQueryChange:this.handleQueryChange,ref:this.refHandlers.queryList,renderer:this.renderQueryList}))},t.displayName="".concat(L.g,".MultiSelect"),t.defaultProps={fill:!1,placeholder:"Search..."},t}(k.U),B=n(90322),U=n(93835),G=n(56558),q=n(12613),W=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).listboxId=B.EL("listbox"),n.state={isOpen:n.props.popoverProps&&n.props.popoverProps.isOpen||!1},n.input=null,n.queryList=null,n.refHandlers={input:(0,z.Km)(n,"input",null===(t=n.props.tagInputProps)||void 0===t?void 0:t.inputRef),popover:M.createRef(),queryList:function(e){return n.queryList=e}},n.renderQueryList=function(e){var t=n.props,r=t.disabled,o=t.popoverContentProps,i=void 0===o?{}:o,a=t.popoverProps,s=void 0===a?{}:a,c=e.handleKeyDown,u=e.handleKeyUp,d=void 0===n.props.popoverRef?n.refHandlers.popover:(0,z.lq)(n.refHandlers.popover,n.props.popoverRef);return M.createElement(G.p,x({autoFocus:!1,canEscapeKeyClose:!0,disabled:r,enforceFocus:!1,isOpen:n.state.isOpen,placement:s.position||s.placement?void 0:"bottom-start"},s,{className:C()(e.className,s.className),content:M.createElement("div",x({},i,{onKeyDown:c,onKeyUp:u}),e.itemList),interactionKind:"click",onInteraction:n.handlePopoverInteraction,onOpened:n.handlePopoverOpened,popoverClassName:C()(l,s.popoverClassName),popupKind:q.e.LISTBOX,ref:d,renderTarget:n.getPopoverTargetRenderer(e,n.state.isOpen)}))},n.getPopoverTargetRenderer=function(e,t){return function(r){r.isOpen;var i,l,c=r.ref,u=S(r,["isOpen","ref"]),d=n.props,h=d.disabled,f=d.fill,p=d.onClear,v=d.placeholder,m=d.popoverProps,g=void 0===m?{}:m,y=d.popoverTargetProps,b=void 0===y?{}:y,w=d.selectedItems,_=d.tagInputProps,E=void 0===_?{}:_,O=e.handleKeyDown,z=e.handleKeyUp;h&&(E.disabled=!0),f&&(E.fill=!0);var T=x(x({},E.inputProps),{className:C()(null===(l=E.inputProps)||void 0===l?void 0:l.className,s)}),A=void 0!==p&&w.length>0?M.createElement(P.zx,{"aria-label":"Clear selected items",disabled:h,icon:"cross",minimal:!0,onClick:n.handleClearButtonClick,title:"Clear selected items"}):void 0,L=g.targetTagName,k=void 0===L?"div":L;return M.createElement(k,x(x(x({"aria-autocomplete":"list","aria-controls":n.listboxId},b),u),{"aria-disabled":h,"aria-expanded":t,className:C()(u.className,b.className,(i={},i[o.FILL]=f,i)),onKeyDown:n.getTagInputKeyDownHandler(O),onKeyUp:n.getTagInputKeyUpHandler(z),ref:c,role:"combobox"}),M.createElement(P.EG,x({placeholder:v,rightElement:A},E,{className:C()(a,E.className),inputRef:n.refHandlers.input,inputProps:T,inputValue:e.query,onAdd:n.getTagInputAddHandler(e),onInputChange:e.handleQueryChange,onRemove:n.handleTagRemove,values:w.map(n.props.tagRenderer)})))}},n.handleItemSelect=function(e,t){var r,o,i;null!=n.input&&n.input.focus(),null===(o=(r=n.props).onItemSelect)||void 0===o||o.call(r,e,t),null===(i=n.refHandlers.popover.current)||void 0===i||i.reposition()},n.handleQueryChange=function(e,t){var r,o;n.setState({isOpen:e.length>0||!n.props.openOnKeyDown}),null===(o=(r=n.props).onQueryChange)||void 0===o||o.call(r,e,t)},n.handlePopoverInteraction=function(e,t){return n.requestAnimationFrame((function(){var r,o,i=n.input===U.vY(n.input);null==n.input||i?n.props.openOnKeyDown||n.setState({isOpen:!0}):n.setState({isOpen:!1}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)}))},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.handleTagRemove=function(e,t){var r,o,i=n.props,a=i.selectedItems,l=i.onRemove,s=i.tagInputProps;null==l||l(a[t],t),null===(r=null==s?void 0:s.onRemove)||void 0===r||r.call(s,e,t),null===(o=n.refHandlers.popover.current)||void 0===o||o.reposition()},n.getTagInputAddHandler=function(e){return function(t,n){"paste"===n&&e.handlePaste(t)}},n.getTagInputKeyDownHandler=function(e){return function(t){var r,i,a=t.which;a===A.ESCAPE||a===A.TAB?(null!=n.input&&n.input.blur(),n.setState({isOpen:!1})):a!==A.BACKSPACE&&a!==A.ARROW_LEFT&&a!==A.ARROW_RIGHT&&n.setState({isOpen:!0});var l=null!=t.target.closest(".".concat(o.TAG_REMOVE));n.state.isOpen&&!l&&(null==e||e(t)),null===(i=null===(r=n.props.popoverTargetProps)||void 0===r?void 0:r.onKeyDown)||void 0===i||i.call(r,t)}},n.getTagInputKeyUpHandler=function(e){return function(t){var r,o,i=t.target.classList.contains(s);n.state.isOpen&&i&&(null==e||e(t)),null===(o=null===(r=n.props.popoverTargetProps)||void 0===r?void 0:r.onKeyDown)||void 0===o||o.call(r,t)}},n.handleClearButtonClick=function(){var e,t,r;null===(t=(e=n.props).onClear)||void 0===t||t.call(e),null===(r=n.refHandlers.popover.current)||void 0===r||r.reposition()},n}return E(t,e),t.ofType=function(){return t},t.prototype.componentDidUpdate=function(e){var t,n,r,o,i;(null===(t=e.tagInputProps)||void 0===t?void 0:t.inputRef)!==(null===(n=this.props.tagInputProps)||void 0===n?void 0:n.inputRef)&&((0,z.k$)(null===(r=e.tagInputProps)||void 0===r?void 0:r.inputRef,null),this.refHandlers.input=(0,z.Km)(this,"input",null===(o=this.props.tagInputProps)||void 0===o?void 0:o.inputRef),(0,z.k$)(null===(i=this.props.tagInputProps)||void 0===i?void 0:i.inputRef,this.input)),(void 0===e.onClear&&void 0!==this.props.onClear||void 0!==e.onClear&&void 0===this.props.onClear)&&this.forceUpdate()},t.prototype.render=function(){var e=this.props,t=e.menuProps,n=(e.openOnKeyDown,e.popoverProps,e.tagInputProps,S(e,["menuProps","openOnKeyDown","popoverProps","tagInputProps"]));return M.createElement(I,x({},n,{menuProps:x(x({"aria-label":"selectable options"},t),{"aria-multiselectable":!0,id:this.listboxId}),onItemSelect:this.handleItemSelect,onQueryChange:this.handleQueryChange,ref:this.refHandlers.queryList,renderer:this.renderQueryList}))},t.displayName="".concat(L.g,".MultiSelect2"),t.defaultProps={disabled:!1,fill:!1,placeholder:"Search..."},t}(k.U),K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderQueryList=function(e){var n=t.props,r=n.inputProps,o=void 0===r?{}:r,i=n.isOpen,a=n.overlayProps,l=void 0===a?{}:a,s=e.handleKeyDown,d=e.handleKeyUp,h=i?{onKeyDown:s,onKeyUp:d}:{};return M.createElement(P.aV,x({hasBackdrop:!0},l,{isOpen:i,className:C()(u,l.className),onClose:t.handleOverlayClose}),M.createElement("div",x({className:C()(c,e.className)},h),M.createElement(P.BZ,x({autoFocus:!0,large:!0,leftIcon:"search",placeholder:"Search..."},o,{onChange:e.handleQueryChange,value:e.query})),e.itemList))},t.handleOverlayClose=function(e){var n,r,o,i;null===(r=null===(n=t.props.overlayProps)||void 0===n?void 0:n.onClose)||void 0===r||r.call(n,e),null===(i=(o=t.props).onClose)||void 0===i||i.call(o,e)},t}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e=this.props,t=(e.isOpen,e.inputProps,e.overlayProps,S(e,["isOpen","inputProps","overlayProps"])),n="initialContent"in this.props?this.props.initialContent:null;return M.createElement(I,x({},t,{initialContent:n,renderer:this.renderQueryList}))},t.displayName="".concat(L.g,".Omnibar"),t}(M.PureComponent),$=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).state={isOpen:!1},n.inputElement=null,n.queryList=null,n.handleInputRef=(0,z.Km)(n,"inputElement",null===(t=n.props.inputProps)||void 0===t?void 0:t.inputRef),n.handleQueryListRef=function(e){return n.queryList=e},n.renderQueryList=function(e){var t,r=n.props,o=r.fill,i=r.filterable,a=void 0===i||i,l=r.disabled,s=void 0!==l&&l,c=r.inputProps,u=void 0===c?{}:c,d=r.popoverProps,p=void 0===d?{}:d,v=r.matchTargetWidth;o&&(p.fill=!0),v&&(null==p.modifiers&&(p.modifiers={}),p.modifiers.minWidth={enabled:!0,fn:function(e){return e.styles.width="".concat(e.offsets.reference.width,"px"),e},order:800},p.usePortal=!1,p.wrapperTagName="div");var m=M.createElement(P.BZ,x({leftIcon:"search",placeholder:"Filter...",rightElement:n.maybeRenderClearButton(e.query)},u,{inputRef:n.handleInputRef,onChange:e.handleQueryChange,value:e.query})),g=e.handleKeyDown,y=e.handleKeyUp;return M.createElement(P.J2,x({autoFocus:!1,enforceFocus:!1,isOpen:n.state.isOpen,disabled:s,position:T.Ly.BOTTOM_LEFT},p,{className:C()(e.className,p.className),onInteraction:n.handlePopoverInteraction,popoverClassName:C()(h,p.popoverClassName,(t={},t[f]=v,t)),onOpening:n.handlePopoverOpening,onOpened:n.handlePopoverOpened,onClosing:n.handlePopoverClosing}),M.createElement("div",{onKeyDown:n.state.isOpen?g:n.handleTargetKeyDown,onKeyUp:n.state.isOpen?y:void 0},n.props.children),M.createElement("div",{onKeyDown:g,onKeyUp:y},a?m:void 0,e.itemList))},n.handleTargetKeyDown=function(e){e.which!==A.ARROW_UP&&e.which!==A.ARROW_DOWN||(e.preventDefault(),n.setState({isOpen:!0}))},n.handleItemSelect=function(e,t){var r,o;n.setState({isOpen:!1}),null===(o=(r=n.props).onItemSelect)||void 0===o||o.call(r,e,t)},n.handlePopoverInteraction=function(e,t){var r,o;n.setState({isOpen:e}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)},n.handlePopoverOpening=function(e){var t,r;n.previousFocusedElement=document.activeElement,n.props.resetOnClose&&n.resetQuery(),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpening)||void 0===r||r.call(t,e)},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),n.requestAnimationFrame((function(){var e,t=n.props.inputProps;!1!==(void 0===t?{}:t).autoFocus&&(null===(e=n.inputElement)||void 0===e||e.focus())})),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.handlePopoverClosing=function(e){var t,r;n.requestAnimationFrame((function(){void 0!==n.previousFocusedElement&&(n.previousFocusedElement.focus(),n.previousFocusedElement=void 0)})),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onClosing)||void 0===r||r.call(t,e)},n.resetQuery=function(){return n.queryList&&n.queryList.setQuery("",!0)},n}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e=this.props,t=(e.filterable,e.inputProps,e.popoverProps,S(e,["filterable","inputProps","popoverProps"]));return M.createElement(I,x({},t,{onItemSelect:this.handleItemSelect,ref:this.handleQueryListRef,renderer:this.renderQueryList}))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i,a;(null===(n=e.inputProps)||void 0===n?void 0:n.inputRef)!==(null===(r=this.props.inputProps)||void 0===r?void 0:r.inputRef)&&((0,z.k$)(null===(o=e.inputProps)||void 0===o?void 0:o.inputRef,null),this.handleInputRef=(0,z.Km)(this,"inputElement",null===(i=this.props.inputProps)||void 0===i?void 0:i.inputRef),(0,z.k$)(null===(a=this.props.inputProps)||void 0===a?void 0:a.inputRef,this.inputElement)),this.state.isOpen&&!t.isOpen&&null!=this.queryList&&this.queryList.scrollActiveItemIntoView()},t.prototype.maybeRenderClearButton=function(e){return e.length>0?M.createElement(P.zx,{icon:"cross",minimal:!0,onClick:this.resetQuery}):void 0},t.displayName="".concat(L.g,".Select"),t}(k.U),Y=n(34006),X=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).state={isOpen:!1},n.inputElement=null,n.queryList=null,n.handleInputRef=(0,z.Km)(n,"inputElement",null===(t=n.props.inputProps)||void 0===t?void 0:t.inputRef),n.handleQueryListRef=function(e){return n.queryList=e},n.listboxId=B.EL("listbox"),n.renderQueryList=function(e){var t=n.props,r=t.filterable,o=void 0===r||r,i=t.disabled,a=void 0!==i&&i,l=t.inputProps,s=void 0===l?{}:l,c=t.popoverContentProps,u=void 0===c?{}:c,d=t.popoverProps,f=void 0===d?{}:d,p=t.popoverRef,v=M.createElement(P.BZ,x({"aria-autocomplete":"list",leftIcon:"search",placeholder:"Filter...",rightElement:n.maybeRenderClearButton(e.query)},s,{inputRef:n.handleInputRef,onChange:e.handleQueryChange,value:e.query})),m=e.handleKeyDown,g=e.handleKeyUp;return M.createElement(G.p,x({autoFocus:!1,enforceFocus:!1,isOpen:n.state.isOpen,disabled:a,placement:f.position||f.placement?void 0:"bottom-start"},f,{className:C()(e.className,f.className),content:M.createElement("div",x({},u,{onKeyDown:m,onKeyUp:g}),o?v:void 0,e.itemList),onClosing:n.handlePopoverClosing,onInteraction:n.handlePopoverInteraction,onOpened:n.handlePopoverOpened,onOpening:n.handlePopoverOpening,popoverClassName:C()(h,f.popoverClassName),popupKind:q.e.LISTBOX,ref:p,renderTarget:n.getPopoverTargetRenderer(e,n.state.isOpen)}))},n.getPopoverTargetRenderer=function(e,t){return function(r){r.isOpen;var i,a=r.ref,l=S(r,["isOpen","ref"]),s=n.props,c=s.disabled,u=s.popoverProps,d=void 0===u?{}:u,h=s.popoverTargetProps,f=e.handleKeyDown,p=e.handleKeyUp,v=d.targetTagName,m=void 0===v?"div":v;return M.createElement(m,x(x(x({"aria-controls":n.listboxId},h),l),{"aria-disabled":c,"aria-expanded":t,className:C()(l.className,null==h?void 0:h.className,(i={},i[o.FILL]=n.props.fill,i)),onKeyDown:n.withPopoverTargetPropsHandler("keydown",t?f:n.handleTargetKeyDown),onKeyUp:n.withPopoverTargetPropsHandler("keyup",t?p:void 0),ref:a,role:"combobox"}),n.props.children)}},n.withPopoverTargetPropsHandler=function(e,t){switch(e){case"keydown":return function(e){var r,o;null==t||t(e),null===(o=null===(r=n.props.popoverTargetProps)||void 0===r?void 0:r.onKeyDown)||void 0===o||o.call(r,e)};case"keyup":return function(e){var r,o;null==t||t(e),null===(o=null===(r=n.props.popoverTargetProps)||void 0===r?void 0:r.onKeyUp)||void 0===o||o.call(r,e)}}},n.handleTargetKeyDown=function(e){e.which===A.ARROW_UP||e.which===A.ARROW_DOWN?(e.preventDefault(),n.setState({isOpen:!0})):A.isKeyboardClick(e.keyCode)&&n.setState({isOpen:!0})},n.handleItemSelect=function(e,t){var r,i,a=null==t?void 0:t.target,l=null==a?void 0:a.closest(".".concat(o.MENU_ITEM)),s=(null==l?void 0:l.matches(".".concat(Y.POPOVER2_DISMISS)))||(null==l?void 0:l.matches(".".concat(o.POPOVER_DISMISS))),c=null==s||s;n.setState({isOpen:!c}),null===(i=(r=n.props).onItemSelect)||void 0===i||i.call(r,e,t)},n.handlePopoverInteraction=function(e,t){var r,o;n.setState({isOpen:e}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)},n.handlePopoverOpening=function(e){var t,r,o;n.previousFocusedElement=null!==(t=U.vY(n.inputElement))&&void 0!==t?t:void 0,n.props.resetOnClose&&n.resetQuery(),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onOpening)||void 0===o||o.call(r,e)},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),n.requestAnimationFrame((function(){var e,t=n.props.inputProps;!1!==(void 0===t?{}:t).autoFocus&&(null===(e=n.inputElement)||void 0===e||e.focus())})),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.handlePopoverClosing=function(e){var t,r;n.requestAnimationFrame((function(){void 0!==n.previousFocusedElement&&(n.previousFocusedElement.focus(),n.previousFocusedElement=void 0)})),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onClosing)||void 0===r||r.call(t,e)},n.resetQuery=function(){return n.queryList&&n.queryList.setQuery("",!0)},n}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e=this.props,t=(e.filterable,e.inputProps,e.menuProps),n=(e.popoverProps,S(e,["filterable","inputProps","menuProps","popoverProps"]));return M.createElement(I,x({},n,{menuProps:x(x({"aria-label":"selectable options"},t),{id:this.listboxId}),onItemSelect:this.handleItemSelect,ref:this.handleQueryListRef,renderer:this.renderQueryList}))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i,a;(null===(n=e.inputProps)||void 0===n?void 0:n.inputRef)!==(null===(r=this.props.inputProps)||void 0===r?void 0:r.inputRef)&&((0,z.k$)(null===(o=e.inputProps)||void 0===o?void 0:o.inputRef,null),this.handleInputRef=(0,z.Km)(this,"inputElement",null===(i=this.props.inputProps)||void 0===i?void 0:i.inputRef),(0,z.k$)(null===(a=this.props.inputProps)||void 0===a?void 0:a.inputRef,this.inputElement)),this.state.isOpen&&!t.isOpen&&null!=this.queryList&&this.queryList.scrollActiveItemIntoView()},t.prototype.maybeRenderClearButton=function(e){return e.length>0?M.createElement(P.zx,{"aria-label":"Clear filter query",icon:"cross",minimal:!0,onClick:this.resetQuery,title:"Clear filter query"}):void 0},t.displayName="".concat(L.g,".Select2"),t}(k.U),Z=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).state={isOpen:null!=n.props.popoverProps&&n.props.popoverProps.isOpen||!1,selectedItem:n.getInitialSelectedItem()},n.inputElement=null,n.queryList=null,n.handleInputRef=(0,z.Km)(n,"inputElement",null===(t=n.props.inputProps)||void 0===t?void 0:t.inputRef),n.handleQueryListRef=function(e){return n.queryList=e},n.renderQueryList=function(e){var t=n.props,r=t.fill,o=t.inputProps,i=void 0===o?{}:o,a=t.popoverProps,l=void 0===a?{}:a,s=n.state,c=s.isOpen,u=s.selectedItem,d=e.handleKeyDown,f=e.handleKeyUp,p=i.autoComplete,v=void 0===p?"off":p,m=i.placeholder,g=void 0===m?"Search...":m,y=u?n.props.inputValueRenderer(u):"",b=c&&y?y:g,w=c?e.query:y||(n.props.resetOnClose?"":e.query);return r&&(l.fill=!0,i.fill=!0),M.createElement(P.J2,x({autoFocus:!1,enforceFocus:!1,isOpen:c,position:T.Ly.BOTTOM_LEFT},l,{className:C()(e.className,l.className),interactionKind:P.V3.CLICK,onInteraction:n.handlePopoverInteraction,popoverClassName:C()(h,l.popoverClassName),onOpening:n.handlePopoverOpening,onOpened:n.handlePopoverOpened}),M.createElement(P.BZ,x({autoComplete:v,disabled:n.props.disabled},i,{inputRef:n.handleInputRef,onChange:e.handleQueryChange,onFocus:n.handleInputFocus,onKeyDown:n.getTargetKeyDownHandler(d),onKeyUp:n.getTargetKeyUpHandler(f),placeholder:b,value:w})),M.createElement("div",{onKeyDown:d,onKeyUp:f},e.itemList))},n.selectText=function(){n.requestAnimationFrame((function(){var e;null===(e=n.inputElement)||void 0===e||e.setSelectionRange(0,n.inputElement.value.length)}))},n.handleInputFocus=function(e){var t,r;n.selectText(),n.props.openOnKeyDown||n.setState({isOpen:!0}),null===(r=null===(t=n.props.inputProps)||void 0===t?void 0:t.onFocus)||void 0===r||r.call(t,e)},n.handleItemSelect=function(e,t){var r,o,i,a,l;n.props.closeOnSelect?(null===(o=n.inputElement)||void 0===o||o.blur(),l=!1):(null===(r=n.inputElement)||void 0===r||r.focus(),n.selectText(),l=!0),void 0===n.props.selectedItem?n.setState({isOpen:l,selectedItem:e}):n.setState({isOpen:l}),null===(a=(i=n.props).onItemSelect)||void 0===a||a.call(i,e,t)},n.handlePopoverInteraction=function(e,t){return n.requestAnimationFrame((function(){var r,o,i=n.inputElement===document.activeElement;null==n.inputElement||i||n.setState({isOpen:!1}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)}))},n.handlePopoverOpening=function(e){var t,r;n.props.resetOnClose&&n.queryList&&n.queryList.setQuery("",!0),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpening)||void 0===r||r.call(t,e)},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.getTargetKeyDownHandler=function(e){return function(t){var r,o,i,a=t.which;a===A.ESCAPE||a===A.TAB?(null===(r=n.inputElement)||void 0===r||r.blur(),n.setState({isOpen:!1})):n.props.openOnKeyDown&&a!==A.BACKSPACE&&a!==A.ARROW_LEFT&&a!==A.ARROW_RIGHT&&n.setState({isOpen:!0}),n.state.isOpen&&(null==e||e(t)),null===(i=null===(o=n.props.inputProps)||void 0===o?void 0:o.onKeyDown)||void 0===i||i.call(o,t)}},n.getTargetKeyUpHandler=function(e){return function(t){var r,o;n.state.isOpen&&(null==e||e(t)),null===(o=null===(r=n.props.inputProps)||void 0===r?void 0:r.onKeyUp)||void 0===o||o.call(r,t)}},n}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e,t=this.props,n=(t.disabled,t.inputProps,t.popoverProps,S(t,["disabled","inputProps","popoverProps"]));return M.createElement(I,x({},n,{initialActiveItem:null!==(e=this.props.selectedItem)&&void 0!==e?e:void 0,onItemSelect:this.handleItemSelect,ref:this.handleQueryListRef,renderer:this.renderQueryList}))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i,a,l,s,c=this;if((null===(n=e.inputProps)||void 0===n?void 0:n.inputRef)!==(null===(r=this.props.inputProps)||void 0===r?void 0:r.inputRef)&&((0,z.k$)(null===(o=e.inputProps)||void 0===o?void 0:o.inputRef,null),this.handleInputRef=(0,z.Km)(this,"inputElement",null===(i=this.props.inputProps)||void 0===i?void 0:i.inputRef),(0,z.k$)(null===(a=this.props.inputProps)||void 0===a?void 0:a.inputRef,this.inputElement)),void 0!==this.props.selectedItem&&this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem}),!1===this.state.isOpen&&!0===t.isOpen){var u=null!==(s=null===(l=this.props.popoverProps)||void 0===l?void 0:l.transitionDuration)&&void 0!==s?s:P.J2.defaultProps.transitionDuration;setTimeout((function(){return c.maybeResetActiveItemToSelectedItem()}),u)}this.state.isOpen&&!t.isOpen&&null!=this.queryList&&this.queryList.scrollActiveItemIntoView()},t.prototype.getInitialSelectedItem=function(){return void 0!==this.props.selectedItem?this.props.selectedItem:void 0!==this.props.defaultSelectedItem?this.props.defaultSelectedItem:null},t.prototype.maybeResetActiveItemToSelectedItem=function(){var e,t=void 0===this.props.activeItem&&null!==this.state.selectedItem&&!this.props.resetOnSelect;null!==this.queryList&&t&&this.queryList.setActiveItem(null!==(e=this.props.selectedItem)&&void 0!==e?e:this.state.selectedItem)},t.displayName="".concat(L.g,".Suggest"),t.defaultProps={closeOnSelect:!0,fill:!1,openOnKeyDown:!1,resetOnClose:!1},t}(k.U),Q=function(e){function t(){var t,n=this;return(n=e.apply(this,arguments)||this).state={isOpen:null!=n.props.popoverProps&&n.props.popoverProps.isOpen||!1,selectedItem:n.getInitialSelectedItem()},n.inputElement=null,n.queryList=null,n.handleInputRef=(0,z.Km)(n,"inputElement",null===(t=n.props.inputProps)||void 0===t?void 0:t.inputRef),n.handleQueryListRef=function(e){return n.queryList=e},n.listboxId=B.EL("listbox"),n.renderQueryList=function(e){var t=n.props,r=t.popoverContentProps,o=void 0===r?{}:r,i=t.popoverProps,a=void 0===i?{}:i,l=t.popoverRef,s=n.state.isOpen,c=e.handleKeyDown,u=e.handleKeyUp;return M.createElement(G.p,x({autoFocus:!1,enforceFocus:!1,isOpen:s,placement:a.position||a.placement?void 0:"bottom-start"},a,{className:C()(e.className,a.className),content:M.createElement("div",x({},o,{onKeyDown:c,onKeyUp:u}),e.itemList),interactionKind:"click",onInteraction:n.handlePopoverInteraction,onOpened:n.handlePopoverOpened,onOpening:n.handlePopoverOpening,popoverClassName:C()(p,a.popoverClassName),popupKind:q.e.LISTBOX,ref:l,renderTarget:n.getPopoverTargetRenderer(e,s)}))},n.getPopoverTargetRenderer=function(e,t){return function(r){r.isOpen;var o=r.ref,i=S(r,["isOpen","ref"]),a=n.props,l=a.disabled,s=a.fill,c=a.inputProps,u=void 0===c?{}:c,d=a.inputValueRenderer,h=a.popoverProps,f=void 0===h?{}:h,p=a.resetOnClose,v=n.state.selectedItem,m=e.handleKeyDown,g=e.handleKeyUp,y=null==v?"":d(v),b=u.autoComplete,w=void 0===b?"off":b,_=u.placeholder,E=t&&y?y:void 0===_?"Search...":_,O=t?e.query:""===y?p?"":e.query:y;return M.createElement(P.BZ,x({"aria-controls":n.listboxId,autoComplete:w,disabled:l,tagName:f.targetTagName},i,u,{"aria-autocomplete":"list","aria-expanded":t,className:C()(i.className,u.className),fill:s,inputRef:(0,z.lq)(n.handleInputRef,o),onChange:e.handleQueryChange,onFocus:n.handleInputFocus,onKeyDown:n.getTargetKeyDownHandler(m),onKeyUp:n.getTargetKeyUpHandler(g),placeholder:E,role:"combobox",value:O}))}},n.selectText=function(){n.requestAnimationFrame((function(){var e;null===(e=n.inputElement)||void 0===e||e.setSelectionRange(0,n.inputElement.value.length)}))},n.handleInputFocus=function(e){var t,r;n.selectText(),n.props.openOnKeyDown||n.setState({isOpen:!0}),null===(r=null===(t=n.props.inputProps)||void 0===t?void 0:t.onFocus)||void 0===r||r.call(t,e)},n.handleItemSelect=function(e,t){var r,o,i,a,l;n.props.closeOnSelect?(null===(o=n.inputElement)||void 0===o||o.blur(),l=!1):(null===(r=n.inputElement)||void 0===r||r.focus(),n.selectText(),l=!0),void 0===n.props.selectedItem?n.setState({isOpen:l,selectedItem:e}):n.setState({isOpen:l}),null===(a=(i=n.props).onItemSelect)||void 0===a||a.call(i,e,t)},n.handlePopoverInteraction=function(e,t){return n.requestAnimationFrame((function(){var r,o,i=n.inputElement===U.vY(n.inputElement);null==n.inputElement||i||n.setState({isOpen:!1}),null===(o=null===(r=n.props.popoverProps)||void 0===r?void 0:r.onInteraction)||void 0===o||o.call(r,e,t)}))},n.handlePopoverOpening=function(e){var t,r;n.props.resetOnClose&&n.queryList&&n.queryList.setQuery("",!0),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpening)||void 0===r||r.call(t,e)},n.handlePopoverOpened=function(e){var t,r;null!=n.queryList&&n.queryList.scrollActiveItemIntoView(),null===(r=null===(t=n.props.popoverProps)||void 0===t?void 0:t.onOpened)||void 0===r||r.call(t,e)},n.getTargetKeyDownHandler=function(e){return function(t){var r,o,i,a=t.which;a===A.ESCAPE||a===A.TAB?(null===(r=n.inputElement)||void 0===r||r.blur(),n.setState({isOpen:!1})):n.props.openOnKeyDown&&a!==A.BACKSPACE&&a!==A.ARROW_LEFT&&a!==A.ARROW_RIGHT&&n.setState({isOpen:!0}),n.state.isOpen&&(null==e||e(t)),null===(i=null===(o=n.props.inputProps)||void 0===o?void 0:o.onKeyDown)||void 0===i||i.call(o,t)}},n.getTargetKeyUpHandler=function(e){return function(t){var r,o;n.state.isOpen&&(null==e||e(t)),null===(o=null===(r=n.props.inputProps)||void 0===r?void 0:r.onKeyUp)||void 0===o||o.call(r,t)}},n}return E(t,e),t.ofType=function(){return t},t.prototype.render=function(){var e,t=this.props,n=(t.disabled,t.inputProps,t.menuProps),r=(t.popoverProps,S(t,["disabled","inputProps","menuProps","popoverProps"]));return M.createElement(I,x({},r,{menuProps:x(x({"aria-label":"selectable options"},n),{id:this.listboxId}),initialActiveItem:null!==(e=this.props.selectedItem)&&void 0!==e?e:void 0,onItemSelect:this.handleItemSelect,ref:this.handleQueryListRef,renderer:this.renderQueryList}))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i,a,l,s,c=this;if((null===(n=e.inputProps)||void 0===n?void 0:n.inputRef)!==(null===(r=this.props.inputProps)||void 0===r?void 0:r.inputRef)&&((0,z.k$)(null===(o=e.inputProps)||void 0===o?void 0:o.inputRef,null),this.handleInputRef=(0,z.Km)(this,"inputElement",null===(i=this.props.inputProps)||void 0===i?void 0:i.inputRef),(0,z.k$)(null===(a=this.props.inputProps)||void 0===a?void 0:a.inputRef,this.inputElement)),void 0!==this.props.selectedItem&&this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem}),!1===this.state.isOpen&&!0===t.isOpen){var u=null!==(s=null===(l=this.props.popoverProps)||void 0===l?void 0:l.transitionDuration)&&void 0!==s?s:G.p.defaultProps.transitionDuration;setTimeout((function(){return c.maybeResetActiveItemToSelectedItem()}),u)}this.state.isOpen&&!t.isOpen&&null!=this.queryList&&this.queryList.scrollActiveItemIntoView()},t.prototype.getInitialSelectedItem=function(){return void 0!==this.props.selectedItem?this.props.selectedItem:void 0!==this.props.defaultSelectedItem?this.props.defaultSelectedItem:null},t.prototype.maybeResetActiveItemToSelectedItem=function(){var e,t=void 0===this.props.activeItem&&null!==this.state.selectedItem&&!this.props.resetOnSelect;null!==this.queryList&&t&&this.queryList.setActiveItem(null!==(e=this.props.selectedItem)&&void 0!==e?e:this.state.selectedItem)},t.displayName="".concat(L.g,".Suggest2"),t.defaultProps={closeOnSelect:!0,fill:!1,openOnKeyDown:!1,resetOnClose:!1},t}(k.U)},15897:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(67294),o=(a(r),a(n(45697))),i=a(n(47815));function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a(n(42473));var u=1073741823;t.default=function(e,t){var n,a,d="__create-react-context-"+(0,i.default)()+"__",h=function(e){function n(){var t,r,o,i;l(this,n);for(var a=arguments.length,c=Array(a),u=0;u<a;u++)c[u]=arguments[u];return t=r=s(this,e.call.apply(e,[this].concat(c))),r.emitter=(o=r.props.value,i=[],{on:function(e){i.push(e)},off:function(e){i=i.filter((function(t){return t!==e}))},get:function(){return o},set:function(e,t){o=e,i.forEach((function(e){return e(o,t)}))}}),s(r,t)}return c(n,e),n.prototype.getChildContext=function(){var e;return(e={})[d]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,o=void 0;((i=n)===(a=r)?0!==i||1/i==1/a:i!=i&&a!=a)?o=0:(o="function"==typeof t?t(n,r):u,0!=(o|=0)&&this.emitter.set(e.value,o))}var i,a},n.prototype.render=function(){return this.props.children},n}(r.Component);h.childContextTypes=((n={})[d]=o.default.object.isRequired,n);var f=function(t){function n(){var e,r;l(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r=s(this,t.call.apply(t,[this].concat(i))),r.state={value:r.getValue()},r.onUpdate=function(e,t){0!=((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},s(r,e)}return c(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},n.prototype.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},n.prototype.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[d]?this.context[d].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((a={})[d]=o.default.object,a),{Provider:h,Consumer:f}},e.exports=t.default},88740:(e,t,n)=>{"use strict";t.__esModule=!0;var r=i(n(67294)),o=i(n(15897));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},86254:(e,t,n)=>{"use strict";n.d(t,{do:()=>j});var r,o=[],i="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var a,l=function(e){return Object.freeze(e)},s=function(e,t){this.inlineSize=e,this.blockSize=t,l(this)},c=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,l(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),u=function(e){return e instanceof SVGElement&&"getBBox"in e},d=function(e){if(u(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},h=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},f="undefined"!=typeof window?window:{},p=new WeakMap,v=/auto|scroll/,m=/^tb|vertical/,g=/msie|trident/i.test(f.navigator&&f.navigator.userAgent),y=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new s((n?t:e)||0,(n?e:t)||0)},w=l({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new c(0,0,0,0)}),_=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(d(e))return p.set(e,w),w;var n=getComputedStyle(e),r=u(e)&&e.ownerSVGElement&&e.getBBox(),o=!g&&"border-box"===n.boxSizing,i=m.test(n.writingMode||""),a=!r&&v.test(n.overflowY||""),s=!r&&v.test(n.overflowX||""),h=r?0:y(n.paddingTop),f=r?0:y(n.paddingRight),_=r?0:y(n.paddingBottom),E=r?0:y(n.paddingLeft),x=r?0:y(n.borderTopWidth),S=r?0:y(n.borderRightWidth),O=r?0:y(n.borderBottomWidth),C=E+f,M=h+_,z=(r?0:y(n.borderLeftWidth))+S,P=x+O,T=s?e.offsetHeight-P-e.clientHeight:0,A=a?e.offsetWidth-z-e.clientWidth:0,L=o?C+z:0,k=o?M+P:0,N=r?r.width:y(n.width)-L-A,I=r?r.height:y(n.height)-k-T,R=N+C+A+z,H=I+M+T+P,V=l({devicePixelContentBoxSize:b(Math.round(N*devicePixelRatio),Math.round(I*devicePixelRatio),i),borderBoxSize:b(R,H,i),contentBoxSize:b(N,I,i),contentRect:new c(E,h,N,I)});return p.set(e,V),V},E=function(e,t,n){var o=_(e,n),i=o.borderBoxSize,a=o.contentBoxSize,l=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return l;case r.BORDER_BOX:return i;default:return a}},x=function(e){var t=_(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=l([t.borderBoxSize]),this.contentBoxSize=l([t.contentBoxSize]),this.devicePixelContentBoxSize=l([t.devicePixelContentBoxSize])},S=function(e){if(d(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},O=function(){var e=1/0,t=[];o.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new x(t.target),o=S(t.target);r.push(n),t.lastReportedSize=E(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},C=function(e){o.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(S(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},M=[],z=0,P={attributes:!0,characterData:!0,childList:!0,subtree:!0},T=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],A=function(e){return void 0===e&&(e=0),Date.now()+e},L=!1,k=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!L){L=!0;var n,r=A(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(C(t);o.some((function(e){return e.activeTargets.length>0}));)t=O(),C(t);return o.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:i}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=i),window.dispatchEvent(e)),t>0}()}finally{if(L=!1,e=r-A(),!z)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return M.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent="".concat(t?t--:t++)}}M.push(e),a()}((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,P)};document.body?t():f.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),T.forEach((function(t){return f.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),T.forEach((function(t){return f.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),N=function(e){!z&&e>0&&k.start(),!(z+=e)&&k.stop()},I=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=E(this.target,this.observedBox,!0);return e=this.target,u(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),R=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},H=new WeakMap,V=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},D=function(){function e(){}return e.connect=function(e,t){var n=new R(e,t);H.set(e,n)},e.observe=function(e,t,n){var r=H.get(e),i=0===r.observationTargets.length;V(r.observationTargets,t)<0&&(i&&o.push(r),r.observationTargets.push(new I(t,n&&n.box)),N(1),k.schedule())},e.unobserve=function(e,t){var n=H.get(e),r=V(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),N(-1))},e.disconnect=function(e){var t=this,n=H.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),j=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");D.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");D.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");D.unobserve(this,e)},e.prototype.disconnect=function(){D.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},18117:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},child:[{tag:"path",attr:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}}],content:"\n"})(e)}},71136:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},child:[{tag:"path",attr:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"}}],content:"\n"})(e)}},53329:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},child:[{tag:"path",attr:{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 0 0-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}}],content:"\n"})(e)}},55109:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},child:[{tag:"path",attr:{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}],content:"\n"})(e)}},45970:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},child:[{tag:"path",attr:{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 0 0-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0 0 82.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}}],content:"\n"})(e)}},55933:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M20.3847 2.87868C19.2132 1.70711 17.3137 1.70711 16.1421 2.87868L14.0202 5.00052L13.313 4.29332C12.9225 3.9028 12.2894 3.9028 11.8988 4.29332C11.5083 4.68385 11.5083 5.31701 11.8988 5.70754L17.5557 11.3644C17.9462 11.7549 18.5794 11.7549 18.9699 11.3644C19.3604 10.9739 19.3604 10.3407 18.9699 9.95018L18.2629 9.24316L20.3847 7.12132C21.5563 5.94975 21.5563 4.05025 20.3847 2.87868Z",fill:"currentColor"}},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9297 7.09116L4.1515 14.8693C3.22786 15.793 3.03239 17.169 3.5651 18.2842L1.99994 19.8493L3.41415 21.2635L4.97931 19.6984C6.09444 20.2311 7.4705 20.0356 8.39414 19.112L16.1723 11.3338L11.9297 7.09116ZM13.3439 11.3338L11.9297 9.91959L5.56571 16.2835C5.17518 16.6741 5.17518 17.3072 5.56571 17.6978C5.95623 18.0883 6.5894 18.0883 6.97992 17.6978L13.3439 11.3338Z",fill:"currentColor"}}],content:"\n"})(e)}},67486:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 512 512",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,256A128,128,0,1,0,256,384,128,128,0,0,0,128,256Zm379-54.86L400.07,18.29a37.26,37.26,0,0,0-64.14,0L229,201.14C214.76,225.52,232.58,256,261.09,256H474.91C503.42,256,521.24,225.52,507,201.14ZM480,288H320a32,32,0,0,0-32,32V480a32,32,0,0,0,32,32H480a32,32,0,0,0,32-32V320A32,32,0,0,0,480,288Z"}}]})(e)}},85403:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",fill:"currentColor"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M86.45,23.27h-3.475V90.18c0,0.835-0.677,1.513-1.513,1.513H31.987v3.475c0,0.836,0.677,1.513,1.513,1.513l0.001,0v0h52.95\n\t\tc0.836,0,1.513-0.677,1.513-1.513V24.782C87.963,23.946,87.286,23.27,86.45,23.27z"}},{tag:"path",attr:{d:"M77.988,85.193V14.807c0-0.836-0.677-1.513-1.513-1.513h-3.475v66.911c0,0.836-0.677,1.513-1.513,1.513H22.011v3.475\n\t\tc0,0.836,0.677,1.513,1.513,1.513c0,0,0,0,0,0h52.951C77.311,86.706,77.988,86.029,77.988,85.193z"}},{tag:"path",attr:{d:"M68.013,75.218V4.832c0-0.836-0.677-1.513-1.513-1.513H13.55c-0.836,0-1.513,0.677-1.513,1.513v70.386\n\t\tc0,0.836,0.677,1.513,1.513,1.513H66.5C67.336,76.731,68.013,76.054,68.013,75.218z"}}],content:"\n"}],content:"\n"})(e)}},69708:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 512 512",fill:"currentColor"},child:[{tag:"path",attr:{d:"M430.1 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 12-36.6.1-47.7zM120 216c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm40 126c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64-161c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm72 219c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm24-208c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(e)}},27326:(e,t,n)=>{"use strict";n.d(t,{w_:()=>u});var r=n(67294),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function s(e){return e&&e.map((function(e,t){return r.createElement(e.tag,a({key:t},e.attr),s(e.child))}))}function c(e){for(var t in e)if("_"!==t[0]){if("stroke"===t)return!0;if("object"==typeof e[t]){var n=c(e[t]);if(n)return n}else if("content"===t&&"style"===e.tag&&e[t].includes("stroke:"))return!0}return!1}function u(e){return function(t){return r.createElement(d,a({attr:a({},e.attr)},t,{hasStrokes:c(e)}),s(e.child))}}function d(e){var t=function(t){var n,o=e.size||t.size||"1em";t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className);var i=e.attr,s=e.fill,c=e.title,u=e.hasStrokes,d=l(e,["attr","fill","title","hasStrokes"]),h=u?null:{strokeWidth:0};return r.createElement("svg",a({stroke:"currentColor",fill:s},h,t.attr,i,d,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),c&&r.createElement("title",null,c),e.children)};return void 0!==i?r.createElement(i.Consumer,null,(function(e){return t(e)})):t(o)}},24202:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M9 10v5h2V4h2v11h2V4h2V2H9C6.79 2 5 3.79 5 6s1.79 4 4 4zm12 8l-4-4v3H5v2h12v3l4-4z"}}]})(e)}},77355:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M10 10v5h2V4h2v11h2V4h2V2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4zm-2 7v-3l-4 4 4 4v-3h12v-2H8z"}}]})(e)}},22214:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"}}]})(e)}},89155:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{version:"1.1",id:"mdi-format-line-spacing",viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M10,13H22V11H10M10,19H22V17H10M10,7H22V5H10M6,7H8.5L5,3.5L1.5,7H4V17H1.5L5,20.5L8.5,17H6V7Z"}}]})(e)}},60738:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{version:"1.1",id:"mdi-format-vertical-align-bottom",viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z"}}]})(e)}},70960:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{version:"1.1",id:"mdi-format-vertical-align-center",viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M8,19H11V23H13V19H16L12,15L8,19M16,5H13V1H11V5H8L12,9L16,5M4,11V13H20V11H4Z"}}]})(e)}},94843:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{version:"1.1",id:"mdi-format-vertical-align-top",viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z"}}]})(e)}},51440:(e,t,n)=>{var r=n(27326).w_;e.exports=function(e){return r({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{d:"M4 18h12V6h-4V2H4v16zm-2 1V0h12l4 4v16H2v-1z"}}]})(e)}},87701:(e,t,n)=>{"use strict";n.d(t,{BL:()=>c,Ct:()=>m,F2:()=>i,I:()=>o,Pj:()=>h,YP:()=>p,bw:()=>v,d7:()=>l,k5:()=>f,mv:()=>s,t$:()=>a,ut:()=>u,we:()=>r,xs:()=>g,zV:()=>d});var r="top",o="bottom",i="right",a="left",l="auto",s=[r,o,i,a],c="start",u="end",d="clippingParents",h="viewport",f="popper",p="reference",v=s.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),m=[].concat(s,[l]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},21924:(e,t,n)=>{"use strict";var r=n(40210),o=n(55559),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},55559:(e,t,n)=>{"use strict";var r=n(58612),o=n(40210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=l(r,a,arguments);return s&&c&&s(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return l(r,i,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},42402:e=>{e.exports=function e(t,n,r){function o(a,l){if(!n[a]){if(!t[a]){if(i)return i(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return o(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}(function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n})(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."},t.exports={SyntaxError:r,parse:function(t,n){n=void 0!==n?n:{};var o,i={},a={start:F},l=F,s="",c=function(){return[]},u=",",d=R(",",!1),h=function(e,t){return[e].concat(t)},f=function(e){return[e]},p=function(e,t){return{url:e,format:t}},v=function(e){return{url:e}},m="url(",g=R("url(",!1),y=")",b=R(")",!1),w=function(e){return e},_="format(",E=R("format(",!1),x="local(",S=R("local(",!1),O=function(e){return{local:e}},C=/^[^)]/,M=H([")"],!0,!1),z=function(e){return K.extractValue(e.join(""))},P=/^[ \t\r\n\f]/,T=H([" ","\t","\r","\n","\f"],!1,!1),A=0,L=[{line:1,column:1}],k=0,N=[],I=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');l=a[n.startRule]}function R(e,t){return{type:"literal",text:e,ignoreCase:t}}function H(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function V(e){var n,r=L[e];if(r)return r;for(n=e-1;!L[n];)n--;for(r={line:(r=L[n]).line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return L[e]=r,r}function D(e,t){var n=V(e),r=V(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function j(e){A<k||(A>k&&(k=A,N=[]),N.push(e))}function F(){var e,t;return(e=B())===i&&(e=A,(t=s)!==i&&(t=c()),e=t),e}function B(){var e,n,r,o,a,l;if(e=A,(n=U())!==i){for(r=[],o=W();o!==i;)r.push(o),o=W();if(r!==i)if(44===t.charCodeAt(A)?(o=u,A++):(o=i,0===I&&j(d)),o!==i){for(a=[],l=W();l!==i;)a.push(l),l=W();a!==i&&(l=B())!==i?e=n=h(n,l):(A=e,e=i)}else A=e,e=i;else A=e,e=i}else A=e,e=i;return e===i&&(e=A,(n=U())!==i&&(n=f(n)),e=n),e}function U(){var e;return(e=function(){var e,n,r,o;if(e=A,(n=G())!==i){if(r=[],(o=W())!==i)for(;o!==i;)r.push(o),o=W();else r=i;r!==i&&(o=function(){var e,n,r,o;return e=A,t.substr(A,7)===_?(n=_,A+=7):(n=i,0===I&&j(E)),n!==i&&(r=q())!==i?(41===t.charCodeAt(A)?(o=y,A++):(o=i,0===I&&j(b)),o!==i?e=n=w(r):(A=e,e=i)):(A=e,e=i),e}())!==i?e=n=p(n,o):(A=e,e=i)}else A=e,e=i;return e===i&&(e=A,(n=G())!==i&&(n=v(n)),e=n),e}())===i&&(e=function(){var e,n,r,o;return e=A,t.substr(A,6)===x?(n=x,A+=6):(n=i,0===I&&j(S)),n!==i&&(r=q())!==i?(41===t.charCodeAt(A)?(o=y,A++):(o=i,0===I&&j(b)),o!==i?e=n=O(r):(A=e,e=i)):(A=e,e=i),e}()),e}function G(){var e,n,r,o;return e=A,t.substr(A,4)===m?(n=m,A+=4):(n=i,0===I&&j(g)),n!==i&&(r=q())!==i?(41===t.charCodeAt(A)?(o=y,A++):(o=i,0===I&&j(b)),o!==i?e=n=w(r):(A=e,e=i)):(A=e,e=i),e}function q(){var e,n;if(e=[],C.test(t.charAt(A))?(n=t.charAt(A),A++):(n=i,0===I&&j(M)),n!==i)for(;n!==i;)e.push(n),C.test(t.charAt(A))?(n=t.charAt(A),A++):(n=i,0===I&&j(M));else e=i;return e!==i&&(e=z(e)),e}function W(){var e;return P.test(t.charAt(A))?(e=t.charAt(A),A++):(e=i,0===I&&j(T)),e}var K=e("../util");if((o=l())!==i&&A===t.length)return o;throw o!==i&&A<t.length&&j({type:"end"}),function(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}(N,k<t.length?t.charAt(k):null,k<t.length?D(k,k+1):D(k,k))}}},{"../util":3}],2:[function(e,t,n){var r=e("./grammar");n.SyntaxError=function(e,t){this.message=e,this.offset=t},n.parse=function(e){try{return r.parse(e)}catch(e){throw new n.SyntaxError(e.message,e.offset)}},n.serialize=function(e){return e.map((function(e){var t;return e.url?(t='url("'+e.url+'")',e.format&&(t+=' format("'+e.format+'")')):t='local("'+e.local+'")',t})).join(", ")}},{"./grammar":1}],3:[function(e,t,n){n.extractValue=function(e){return t=function(e){return e.replace(/^[\t\r\f\n ]*(.+?)[\t\r\f\n ]*$/,"$1")}(e),r=/^'(.*)'$/,(n=/^"(.*)"$/).test(t)?t.replace(n,"$1"):r.test(t)?t.replace(r,"$1"):t;var t,n,r}},{}]},{},[2])(2)},10251:(e,t,n)=>{var r=n(82215),o=n(82584),i=n(20609),a=n(98420),l=n(2847),s=n(18923),c=Date.prototype.getTime;function u(e){return null==e}function d(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}e.exports=function e(t,n,h){var f=h||{};return!!(f.strict?i(t,n):t===n)||(!t||!n||"object"!=typeof t&&"object"!=typeof n?f.strict?i(t,n):t==n:function(t,n,i){var h,f;if(typeof t!=typeof n)return!1;if(u(t)||u(n))return!1;if(t.prototype!==n.prototype)return!1;if(o(t)!==o(n))return!1;var p=a(t),v=a(n);if(p!==v)return!1;if(p||v)return t.source===n.source&&l(t)===l(n);if(s(t)&&s(n))return c.call(t)===c.call(n);var m=d(t),g=d(n);if(m!==g)return!1;if(m||g){if(t.length!==n.length)return!1;for(h=0;h<t.length;h++)if(t[h]!==n[h])return!1;return!0}if(typeof t!=typeof n)return!1;try{var y=r(t),b=r(n)}catch(e){return!1}if(y.length!==b.length)return!1;for(y.sort(),b.sort(),h=y.length-1;h>=0;h--)if(y[h]!=b[h])return!1;for(h=y.length-1;h>=0;h--)if(!e(t[f=y[h]],n[f],i))return!1;return!0}(t,n,f))}},4289:(e,t,n)=>{"use strict";var r=n(82215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,l=Object.defineProperty,s=n(31044)(),c=l&&s,u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;c?l(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},d=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var l=0;l<i.length;l+=1)u(e,i[l],t[i[l]],n[i[l]])};d.supportsDescriptors=!!c,e.exports=d},23839:()=>{!function(e){"use strict";function t(){return d.createDocumentFragment()}function n(e){return d.createElement(e)}function r(e,t){if(!e)throw new Error("Failed to construct "+t+": 1 argument required, but only 0 present.")}function o(e){if(1===e.length)return i(e[0]);for(var n=t(),r=k.call(e),o=0;o<e.length;o++)n.appendChild(i(r[o]));return n}function i(e){return"object"==typeof e?e:d.createTextNode(e)}for(var a,l,s,c,u,d=e.document,h=Object.prototype.hasOwnProperty,f=Object.defineProperty||function(e,t,n){return h.call(n,"value")?e[t]=n.value:(h.call(n,"get")&&e.__defineGetter__(t,n.get),h.call(n,"set")&&e.__defineSetter__(t,n.set)),e},p=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},v=function(e){var t=void 0===e.className,n=t?e.getAttribute("class")||"":e.className,r=t||"object"==typeof n,o=(r?t?n:n.baseVal:n).replace(g,"");o.length&&L.push.apply(this,o.split(y)),this._isSVG=r,this._=e},m={get:function(){return new v(this)},set:function(){}},g=/^\s+|\s+$/g,y=/\s+/,b="classList",w=function(e,t){return this.contains(e)?t||this.remove(e):(void 0===t||t)&&(t=!0,this.add(e)),!!t},_=e.DocumentFragment&&DocumentFragment.prototype,E=e.Node,x=(E||Element).prototype,S=e.CharacterData||E,O=S&&S.prototype,C=e.DocumentType,M=C&&C.prototype,z=(e.Element||E||e.HTMLElement).prototype,P=e.HTMLSelectElement||n("select").constructor,T=P.prototype.remove,A=e.SVGElement,L=["matches",z.matchesSelector||z.webkitMatchesSelector||z.khtmlMatchesSelector||z.mozMatchesSelector||z.msMatchesSelector||z.oMatchesSelector||function(e){var t=this.parentNode;return!!t&&-1<p.call(t.querySelectorAll(e),this)},"closest",function(e){for(var t,n=this;(t=n&&n.matches)&&!n.matches(e);)n=n.parentNode;return t?n:null},"prepend",function(){var e=this.firstChild,t=o(arguments);e?this.insertBefore(t,e):this.appendChild(t)},"append",function(){this.appendChild(o(arguments))},"before",function(){var e=this.parentNode;e&&e.insertBefore(o(arguments),this)},"after",function(){var e=this.parentNode,t=this.nextSibling,n=o(arguments);e&&(t?e.insertBefore(n,t):e.appendChild(n))},"toggleAttribute",function(e,t){var n=this.hasAttribute(e);return 1<arguments.length?n&&!t?this.removeAttribute(e):t&&!n&&this.setAttribute(e,""):n?this.removeAttribute(e):this.setAttribute(e,""),this.hasAttribute(e)},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var e=this.parentNode;e&&e.replaceChild(o(arguments),this)},"remove",function(){var e=this.parentNode;e&&e.removeChild(this)}],k=L.slice,N=L.length;N;N-=2)if((l=L[N-2])in z||(z[l]=L[N-1]),"remove"!==l||T._dom4||((P.prototype[l]=function(){return 0<arguments.length?T.apply(this,arguments):z.remove.call(this)})._dom4=!0),/^(?:before|after|replace|replaceWith|remove)$/.test(l)&&(S&&!(l in O)&&(O[l]=L[N-1]),C&&!(l in M)&&(M[l]=L[N-1])),/^(?:append|prepend)$/.test(l))if(_)l in _||(_[l]=L[N-1]);else try{t().constructor.prototype[l]=L[N-1]}catch(e){}var I;n("a").matches("a")||(z[l]=(I=z[l],function(e){return I.call(this.parentNode?this:t().appendChild(this),e)})),v.prototype={length:0,add:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)||L.push.call(this,l);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return N=e.call(this,l=function(e){if(!e)throw"SyntaxError";if(y.test(e))throw"InvalidCharacterError";return e}(t)),-1<N}}([].indexOf||function(e){for(N=this.length;N--&&this[N]!==e;);return N}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&L.splice.call(this,N,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:w,toString:function(){return L.join.call(this," ")}},A&&!(b in A.prototype)&&f(A.prototype,b,m),b in d.documentElement?((c=n("div")[b]).add("a","b","a"),"a b"!=c&&("add"in(s=c.constructor.prototype)||(s=e.TemporaryTokenList.prototype),u=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},s.add=u(s.add),s.remove=u(s.remove),s.toggle=w)):f(z,b,m),"contains"in x||f(x,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in d||f(d,"head",{get:function(){return a||(a=d.getElementsByTagName("head")[0])}}),function(){for(var t,n=e.requestAnimationFrame,r=e.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||e[o[i]+"RequestAnimationFrame"],r=e[o[i]+"CancelAnimationFrame"]||e[o[i]+"CancelRequestAnimationFrame"];r||(n?(t=n,n=function(e){var n=!0;return t((function(){n&&e.apply(this,arguments)})),function(){n=!1}},r=function(e){e()}):(n=function(e){return setTimeout(e,15,15)},r=function(e){clearTimeout(e)})),e.requestAnimationFrame=n,e.cancelAnimationFrame=r}();try{new e.CustomEvent("?")}catch(t){e.CustomEvent=function(e,t){function n(e,t,n,r){this.initEvent(e,t,n),this.detail=r}return function(r,o){var i=d.createEvent(e);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==e&&(i.initCustomEvent=n),null==o&&(o=t),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i}}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(t){t=function(e){function t(e,t){r(arguments.length,"Event");var n=d.createEvent("Event");return t||(t={}),n.initEvent(e,!!t.bubbles,!!t.cancelable),n}return t.prototype=e.prototype,t}(e.Event||function(){}),f(e,"Event",{value:t}),Event!==t&&(Event=t)}try{new KeyboardEvent("_",{})}catch(t){t=function(t){var n,o=0,i={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var a=d.createEvent("KeyboardEvent");a.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),o="+"==(a.keyIdentifier||a.key)&&3==(a.keyLocation||a.location)&&(a.ctrlKey?a.altKey?1:3:a.shiftKey?2:4)||9}catch(e){}function l(e,t,n){try{t[e]=n[e]}catch(e){}}function s(t,a){r(arguments.length,"KeyboardEvent"),a=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!t.hasOwnProperty.call(e,n)&&(e[n]=t[n]);return e}(a||{},i);var s,c=d.createEvent(n),u=a.ctrlKey,h=a.shiftKey,f=a.altKey,p=a.metaKey,v=a.altGraphKey,m=o>3?function(e){for(var t=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)e[n[r]]&&t.push(n[r+1]);return t.join(" ")}(a):null,g=String(a.key),y=String(a.char),b=a.location,w=a.keyCode||(a.keyCode=g)&&g.charCodeAt(0)||0,_=a.charCode||(a.charCode=y)&&y.charCodeAt(0)||0,E=a.bubbles,x=a.cancelable,S=a.repeat,O=a.locale,C=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in c)c.initKeyEvent(t,E,x,C,u,f,h,p,w,_);else if(0<o&&"initKeyboardEvent"in c){switch(s=[t,E,x,C],o){case 1:s.push(g,b,u,h,f,p,v);break;case 2:s.push(u,f,h,p,w,_);break;case 3:s.push(g,b,u,f,h,p,v);break;case 4:s.push(g,b,m,S,O);break;default:s.push(char,g,b,m,S,O)}c.initKeyboardEvent.apply(c,s)}else c.initEvent(t,E,x);for(g in c)i.hasOwnProperty(g)&&c[g]!==a[g]&&l(g,c,a);return c}return n=0<o?"KeyboardEvent":"Event",s.prototype=t.prototype,s}(e.KeyboardEvent||function(){}),f(e,"KeyboardEvent",{value:t}),KeyboardEvent!==t&&(KeyboardEvent=t)}try{new MouseEvent("_",{})}catch(t){t=function(t){function n(t,n){r(arguments.length,"MouseEvent");var o=d.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(t,!!n.bubbles,!!n.cancelable,n.view||e,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=t.prototype,n}(e.MouseEvent||function(){}),f(e,"MouseEvent",{value:t}),MouseEvent!==t&&(MouseEvent=t)}d.querySelectorAll("*").forEach||function(){function e(e){var t=e.querySelectorAll;e.querySelectorAll=function(e){var n=t.call(this,e);return n.forEach=Array.prototype.forEach,n}}e(d),e(Element.prototype)}();try{d.querySelector(":scope *")}catch(e){!function(){var e="data-scope-"+(1e9*Math.random()>>>0),t=Element.prototype,n=t.querySelector,r=t.querySelectorAll;function o(t,n,r){if(t.type!=d.ELEMENT_NODE)return n.call(t,r);t.setAttribute(e,null);var o=n.call(t,String(r).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,r,o){return n+"["+e+"]"+(o||" ")})));return t.removeAttribute(e),o}t.querySelector=function(e){return o(this,n,e)},t.querySelectorAll=function(e){return o(this,r,e)}}()}}(window),function(e){"use strict";var t=e.WeakMap||function(){var e,t=0,n=!1,r=!1;function o(t,o,i){r=i,n=!1,e=void 0,t.dispatchEvent(o)}function i(e){this.value=e}function l(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,r?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},l.prototype={constructor:l,delete:function(e){return o(e,this.__ce__,!0),n},get:function(t){o(t,this.__ce__,!1);var n=e;return e=void 0,n},has:function(e){return o(e,this.__ce__,!1),n},set:function(e,t){return o(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},l}();function n(){}function r(e,t,n){function o(e){o.once&&(e.currentTarget.removeEventListener(e.type,t,o),o.removed=!0),o.passive&&(e.preventDefault=r.preventDefault),"function"==typeof o.callback?o.callback.call(this,e):o.callback&&o.callback.handleEvent(e),o.passive&&delete e.preventDefault}return o.type=e,o.callback=t,o.capture=!!n.capture,o.passive=!!n.passive,o.once=!!n.once,o.removed=!1,o}n.prototype=(Object.create||Object)(null),r.preventDefault=function(){};var o,i,a=e.CustomEvent,l=e.dispatchEvent,s=e.addEventListener,c=e.removeEventListener,u=0,d=function(){u++},h=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},f=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{s("_",d,{once:!0}),l(new a("_")),l(new a("_")),c("_",d,{once:!0})}catch(e){}1!==u&&(i=new t,o=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,o,a){if(a&&"boolean"!=typeof a){var l,s,c,u=i.get(this),d=f(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),s=u[t],(l=h.call(s.handler,o))<0?(l=s.handler.push(o)-1,s.wrap[l]=c=new n):c=s.wrap[l],d in c||(c[d]=r(t,o,a),e.call(this,t,c[d],c[d].capture))}else e.call(this,t,o,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,r){if(r&&"boolean"!=typeof r){var o,a,l,s,c=i.get(this);if(c&&t in c&&(l=c[t],-1<(a=h.call(l.handler,n))&&(o=f(r))in(s=l.wrap[a]))){for(o in e.call(this,t,s[o],s[o].capture),delete s[o],s)return;l.handler.splice(a,1),l.wrap.splice(a,1),0===l.handler.length&&delete c[t]}}else e.call(this,t,n,r)}}(t.removeEventListener)}},e.EventTarget?o(EventTarget):(o(e.Text),o(e.Element||e.HTMLElement),o(e.HTMLDocument),o(e.Window||{prototype:e}),o(e.XMLHttpRequest)))}(self)},17648:e=>{"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=t.call(arguments,1),a=Math.max(0,r.length-i.length),l=[],s=0;s<a;s++)l.push("$"+s);if(o=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var n=r.apply(this,i.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,i.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}},58612:(e,t,n)=>{"use strict";var r=n(17648);e.exports=Function.prototype.bind||r},25972:e=>{"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},40210:(e,t,n)=>{"use strict";var r,o=SyntaxError,i=Function,a=TypeError,l=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new a},u=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,d=n(41405)(),h=n(28185)(),f=Object.getPrototypeOf||(h?function(e){return e.__proto__}:null),p={},v="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var g=f(f(e));m["%Error.prototype%"]=g}var y=function e(t){var n;if("%AsyncFunction%"===t)n=l("async function () {}");else if("%GeneratorFunction%"===t)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=l("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&f&&(n=f(o.prototype))}return m[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(58612),_=n(17642),E=w.call(Function.call,Array.prototype.concat),x=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),O=w.call(Function.call,String.prototype.slice),C=w.call(Function.call,RegExp.prototype.exec),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,P=function(e,t){var n,r=e;if(_(b,r)&&(r="%"+(n=b[r])[0]+"%"),_(m,r)){var i=m[r];if(i===p&&(i=y(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=O(e,0,1),n=O(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return S(e,M,(function(e,t,n,o){r[r.length]=n?S(o,z,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=P("%"+r+"%",t),l=i.name,c=i.value,u=!1,d=i.alias;d&&(r=d[0],x(n,E([0,1],d)));for(var h=1,f=!0;h<n.length;h+=1){var p=n[h],v=O(p,0,1),g=O(p,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==p&&f||(u=!0),_(m,l="%"+(r+="."+p)+"%"))c=m[l];else if(null!=c){if(!(p in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&h+1>=n.length){var y=s(c,p);c=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[p]}else f=_(c,p),c=c[p];f&&!u&&(m[l]=c)}}return c}},49948:(e,t)=>{var n,r;(r=r||{}).stringify=(n={"visit_linear-gradient":function(e){return n.visit_gradient(e)},"visit_repeating-linear-gradient":function(e){return n.visit_gradient(e)},"visit_radial-gradient":function(e){return n.visit_gradient(e)},"visit_repeating-radial-gradient":function(e){return n.visit_gradient(e)},visit_gradient:function(e){var t=n.visit(e.orientation);return t&&(t+=", "),e.type+"("+t+n.visit(e.colorStops)+")"},visit_shape:function(e){var t=e.value,r=n.visit(e.at),o=n.visit(e.style);return o&&(t+=" "+o),r&&(t+=" at "+r),t},"visit_default-radial":function(e){var t="",r=n.visit(e.at);return r&&(t+=r),t},"visit_extent-keyword":function(e){var t=e.value,r=n.visit(e.at);return r&&(t+=" at "+r),t},"visit_position-keyword":function(e){return e.value},visit_position:function(e){return n.visit(e.value.x)+" "+n.visit(e.value.y)},"visit_%":function(e){return e.value+"%"},visit_em:function(e){return e.value+"em"},visit_px:function(e){return e.value+"px"},visit_literal:function(e){return n.visit_color(e.value,e)},visit_hex:function(e){return n.visit_color("#"+e.value,e)},visit_rgb:function(e){return n.visit_color("rgb("+e.value.join(", ")+")",e)},visit_rgba:function(e){return n.visit_color("rgba("+e.value.join(", ")+")",e)},visit_color:function(e,t){var r=e,o=n.visit(t.length);return o&&(r+=" "+o),r},visit_angular:function(e){return e.value+"deg"},visit_directional:function(e){return"to "+e.value},visit_array:function(e){var t="",r=e.length;return e.forEach((function(e,o){t+=n.visit(e),o<r-1&&(t+=", ")})),t},visit:function(e){if(!e)return"";if(e instanceof Array)return n.visit_array(e,"");if(e.type){var t=n["visit_"+e.type];if(t)return t(e);throw Error("Missing visitor visit_"+e.type)}throw Error("Invalid node.")}},function(e){return n.visit(e)}),(r=r||{}).parse=function(){var e={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(e){var n=new Error(t+": "+e);throw n.source=t,n}function r(){return o("linear-gradient",e.linearGradient,a)||o("repeating-linear-gradient",e.repeatingLinearGradient,a)||o("radial-gradient",e.radialGradient,l)||o("repeating-radial-gradient",e.repeatingRadialGradient,l)}function o(t,r,o){return i(r,(function(r){var i=o();return i&&(y(e.comma)||n("Missing comma before color stops")),{type:t,orientation:i,colorStops:h(f)}}))}function i(t,r){var o=y(t);if(o){y(e.startCall)||n("Missing (");var i=r(o);return y(e.endCall)||n("Missing )"),i}}function a(){return g("directional",e.sideOrCorner,1)||g("angular",e.angleValue,1)}function l(){var n,r,o=s();return o&&((n=[]).push(o),r=t,y(e.comma)&&((o=s())?n.push(o):t=r)),n}function s(){var e,t,n=((t=g("shape",/^(circle)/i,0))&&(t.style=m()||c()),t||((e=g("shape",/^(ellipse)/i,0))&&(e.style=v()||c()),e));if(n)n.at=u();else{var r=c();if(r){n=r;var o=u();o&&(n.at=o)}else{var i=d();i&&(n={type:"default-radial",at:i})}}return n}function c(){return g("extent-keyword",e.extentKeywords,1)}function u(){if(g("position",/^at/,0)){var e=d();return e||n("Missing positioning value"),e}}function d(){var e={x:v(),y:v()};if(e.x||e.y)return{type:"position",value:e}}function h(t){var r=t(),o=[];if(r)for(o.push(r);y(e.comma);)(r=t())?o.push(r):n("One extra comma");return o}function f(){var t=g("hex",e.hexColor,1)||i(e.rgbaColor,(function(){return{type:"rgba",value:h(p)}}))||i(e.rgbColor,(function(){return{type:"rgb",value:h(p)}}))||g("literal",e.literalColor,0);return t||n("Expected color definition"),t.length=v(),t}function p(){return y(e.number)[1]}function v(){return g("%",e.percentageValue,1)||g("position-keyword",e.positionKeywords,1)||m()}function m(){return g("px",e.pixelValue,1)||g("em",e.emValue,1)}function g(e,t,n){var r=y(t);if(r)return{type:e,value:r[n]}}function y(e){var n,r;return(r=/^[\n\r\t\s]+/.exec(t))&&b(r[0].length),(n=e.exec(t))&&b(n[0].length),n}function b(e){t=t.substr(e)}return function(e){return t=e.toString(),o=h(r),t.length>0&&n("Invalid input not EOF"),o;var o}}(),t.parse=r.parse,t.stringify=r.stringify},47815:(e,t,n)=>{"use strict";var r="__global_unique_id__";e.exports=function(){return n.g[r]=(n.g[r]||0)+1}},31044:(e,t,n)=>{"use strict";var r=n(40210)("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},28185:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},41405:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(55419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},55419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},96410:(e,t,n)=>{"use strict";var r=n(55419);e.exports=function(){return r()&&!!Symbol.toStringTag}},17642:(e,t,n)=>{"use strict";var r=n(58612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},26860:(e,t,n)=>{"use strict";var r=n(72871);t.extractCssUrl=function(e){var t,n=/^url\(("[^"]+"|'[^']+'|[^\)]+)\)/;if(!n.test(e))throw new Error("Invalid url");return t=n.exec(e)[1],r.unquoteString(t.replace(/^[\t\r\f\n ]*(.+?)[\t\r\f\n ]*$/,"$1"))},t.parse=function(e){return function(e){var t,n="(url\\(\\s*(?:\"[^\"]*\"|'[^']*'|[^\\(]+)\\s*\\)|[^,\\s]+)",r="(?:\\s*"+n+")+",o="^\\s*("+r+")(?:\\s*,\\s*("+r+"))*\\s*$",i=new RegExp(r,"g"),a=[],l=function(e){var t,r=new RegExp(n,"g"),o=[];for(t=r.exec(e);t;)o.push(t[1]),t=r.exec(e);return o};if(e.match(new RegExp(o))){for(t=i.exec(e);t;)a.push(l(t[0])),t=i.exec(e);return a}return[]}(e).map((function(e){var n=function(e){var n;for(n=0;n<e.length;n++)try{return{url:t.extractCssUrl(e[n]),idx:n}}catch(e){}}(e);return n?{preUrl:e.slice(0,n.idx),url:n.url,postUrl:e.slice(n.idx+1)}:{preUrl:e}}))},t.serialize=function(e){return e.map((function(e){var t=[].concat(e.preUrl);return e.url&&t.push('url("'+e.url+'")'),e.postUrl&&(t=t.concat(e.postUrl)),t.join(" ")})).join(", ")}},72871:(e,t)=>{"use strict";t.unquoteString=function(e){var t=/^"(.*)"$/,n=/^'(.*)'$/;return t.test(e)?e.replace(t,"$1"):n.test(e)?e.replace(n,"$1"):e},t.rulesForCssText=function(e){var t,n=document.implementation.createHTMLDocument(""),r=document.createElement("style");return r.textContent=e,n.body.appendChild(r),t=r.sheet.cssRules,Array.prototype.slice.call(t)},t.cssRulesToText=function(e){return e.reduce((function(e,t){return e+t.cssText}),"")},t.exchangeRule=function(e,n,r){var o=e.indexOf(n);e[o]=t.rulesForCssText(r)[0]},t.changeFontFaceRuleSrc=function(e,n,r){var o="@font-face { font-family: "+n.style.getPropertyValue("font-family")+"; ";n.style.getPropertyValue("font-style")&&(o+="font-style: "+n.style.getPropertyValue("font-style")+"; "),n.style.getPropertyValue("font-weight")&&(o+="font-weight: "+n.style.getPropertyValue("font-weight")+"; "),n.style.getPropertyValue("unicode-range")&&(o+="unicode-range: "+n.style.getPropertyValue("unicode-range")+"; "),o+="src: "+r+"}",t.exchangeRule(e,n,o)}},44854:(e,t,n)=>{"use strict";var r=n(40101),o=n(41783),i=n(67591),a=n(61181),l=n(72871),s=function(e){return e.map((function(t,n){var o;return n===e.length-1&&(t={baseUrl:(o=t.baseUrl,r.joinUrl(o,"."))}),JSON.stringify(t)}))},c=function(e,t){return!1!==t.cache&&"none"!==t.cache&&t.cacheBucket?r.memoize(e,s,t.cacheBucket):e},u=function(e,t,n){var r=l.rulesForCssText(e);return a.loadCSSImportsForRules(r,t,n).then((function(t){return a.loadAndInlineCSSResourcesForRules(r,n).then((function(n){var o=t.errors.concat(n.errors),i=t.hasChanges||n.hasChanges;return i&&(e=l.cssRulesToText(r)),{hasChanges:i,content:e,errors:o}}))}))};t.loadAndInlineStyles=function(e,t){var n,o=function(e){var t=e.getElementsByTagName("style");return Array.prototype.filter.call(t,(function(e){return!e.attributes.type||"text/css"===e.attributes.type.value}))}(e),i=[],a=[];return(n=r.clone(t)).baseUrl=n.baseUrl||r.getDocumentBaseUrl(e),Promise.all(o.map((function(e){return function(e,t,n){var o=e.textContent;return c(u,t)(o,n,t).then((function(t){return t.hasChanges&&(e.childNodes[0].nodeValue=t.content),r.cloneArray(t.errors)}))}(e,n,a).then((function(e){i=i.concat(e)}))}))).then((function(){return i}))};var d=function(e,t){return r.ajax(e,t).then((function(e){return{content:e,cssRules:l.rulesForCssText(e)}})).then((function(t){var n=a.adjustPathsOfCssResources(e,t.cssRules);return{content:t.content,cssRules:t.cssRules,hasChanges:n}})).then((function(e){return a.loadCSSImportsForRules(e.cssRules,[],t).then((function(t){return{content:e.content,cssRules:e.cssRules,hasChanges:e.hasChanges||t.hasChanges,errors:t.errors}}))})).then((function(e){return a.loadAndInlineCSSResourcesForRules(e.cssRules,t).then((function(t){return{content:e.content,cssRules:e.cssRules,hasChanges:e.hasChanges||t.hasChanges,errors:e.errors.concat(t.errors)}}))})).then((function(e){var t=e.content;return e.hasChanges&&(t=l.cssRulesToText(e.cssRules)),{content:t,errors:e.errors}}))};t.loadAndInlineCssLinks=function(e,t){var n=function(e){var t=e.getElementsByTagName("link");return Array.prototype.filter.call(t,(function(e){return e.attributes.rel&&"stylesheet"===e.attributes.rel.value&&(!e.attributes.type||"text/css"===e.attributes.type.value)}))}(e),o=[];return Promise.all(n.map((function(e){return function(e,t){var n=e.attributes.href.value,o=r.getDocumentBaseUrl(e.ownerDocument),i=r.clone(t);return!i.baseUrl&&o&&(i.baseUrl=o),c(d,t)(n,i).then((function(e){return{content:e.content,errors:r.cloneArray(e.errors)}}))}(e,t).then((function(t){var n,r,i,a;n=e,r=t.content+"\n",a=n.parentNode,(r=r.trim())&&((i=n.ownerDocument.createElement("style")).type="text/css",i.appendChild(n.ownerDocument.createTextNode(r)),a.insertBefore(i,n)),a.removeChild(n),o=o.concat(t.errors)}),(function(e){o.push({resourceType:"stylesheet",url:e.url,msg:"Unable to load stylesheet "+e.url})}))}))).then((function(){return o}))},t.loadAndInlineImages=o.inline,t.loadAndInlineScript=i.inline,t.inlineReferences=function(e,n){var r=[],o=[t.loadAndInlineImages,t.loadAndInlineStyles,t.loadAndInlineCssLinks];return!1!==n.inlineScripts&&o.push(t.loadAndInlineScript),Promise.all(o.map((function(t){return t(e,n).then((function(e){r=r.concat(e)}))}))).then((function(){return r}))}},61181:(e,t,n)=>{"use strict";var r=n(40101),o=n(72871),i=n(26860),a=n(42402),l=function(e,t,n){e.style.setProperty(t,n,e.style.getPropertyPriority(t))},s=function(e){return e.filter((function(e){return e.type===window.CSSRule.STYLE_RULE&&(e.style.getPropertyValue("background-image")||e.style.getPropertyValue("background"))}))},c=function(e){var t=[];return e.forEach((function(e){e.style.getPropertyValue("background-image")?t.push({property:"background-image",value:e.style.getPropertyValue("background-image"),rule:e}):e.style.getPropertyValue("background")&&t.push({property:"background",value:e.style.getPropertyValue("background"),rule:e})})),t},u=function(e){return e.filter((function(e){return e.type===window.CSSRule.FONT_FACE_RULE&&e.style.getPropertyValue("src")}))},d=function(e){return e.filter((function(e){return e.type===window.CSSRule.IMPORT_RULE&&e.href}))},h=function(e){var t=[];return e.forEach((function(e,n){e.url&&!r.isDataUri(e.url)&&t.push(n)})),t},f=function(e){var t=[];return e.forEach((function(e,n){e.url&&!r.isDataUri(e.url)&&t.push(n)})),t};t.adjustPathsOfCssResources=function(e,t){var n=s(t),p=c(n),v=!1;return p.forEach((function(t){var n,o=i.parse(t.value),a=h(o);a.length>0&&(a.forEach((function(t){var n=o[t].url,i=r.joinUrl(e,n);o[t].url=i})),n=i.serialize(o),l(t.rule,t.property,n),v=!0)})),u(t).forEach((function(n){var i,l,s=n.style.getPropertyValue("src");try{i=a.parse(s)}catch(e){return}(l=f(i)).length>0&&(l.forEach((function(t){var n=i[t].url,o=r.joinUrl(e,n);i[t].url=o})),o.changeFontFaceRuleSrc(t,n,a.serialize(i)),v=!0)})),d(t).forEach((function(n){var i=n.href,a=r.joinUrl(e,i);o.exchangeRule(t,n,"@import url("+a+");"),v=!0})),v};var p=function(e,t,n){var r=e.indexOf(t);e.splice(r,1),n.forEach((function(t,n){e.splice(r+n,0,t)}))};t.loadCSSImportsForRules=function(e,n,i){var a=d(e),l=[],s=!1;return Promise.all(a.map((function(a){return function(e,n,i,a){var l,s=n.href;return s=o.unquoteString(s),l=r.joinUrl(a.baseUrl,s),i.indexOf(l)>=0?(p(e,n,[]),Promise.resolve([])):(i.push(l),r.ajax(s,a).then((function(r){var l=o.rulesForCssText(r);return t.loadCSSImportsForRules(l,i,a).then((function(r){return t.adjustPathsOfCssResources(s,l),p(e,n,l),r.errors}))}),(function(e){throw{resourceType:"stylesheet",url:e.url,msg:"Unable to load stylesheet "+e.url}})))}(e,a,n,i).then((function(e){l=l.concat(e),s=!0}),(function(e){l.push(e)}))}))).then((function(){return{hasChanges:s,errors:l}}))};var v=function(e,t){var n=s(e),o=c(n),a=[],u=!1;return Promise.all(o.map((function(e){return function(e,t){var n=i.parse(e),o=h(n),a=!1;return r.collectAndReportErrors(o.map((function(e){var o=n[e].url;return r.getDataURIForImageURL(o,t).then((function(t){n[e].url=t,a=!0}),(function(e){throw{resourceType:"backgroundImage",url:e.url,msg:"Unable to load background-image "+e.url}}))}))).then((function(e){return{backgroundValue:i.serialize(n),hasChanges:a,errors:e}}))}(e.value,t).then((function(t){t.hasChanges&&(l(e.rule,e.property,t.backgroundValue),u=!0),a=a.concat(t.errors)}))}))).then((function(){return{hasChanges:u,errors:a}}))},m=function(e,t){var n=u(e),i=[],l=!1;return Promise.all(n.map((function(n){return function(e,t){var n,o,i=!1;try{n=a.parse(e)}catch(e){n=[]}return o=f(n),r.collectAndReportErrors(o.map((function(e){var o=n[e],a=o.format||"woff";return r.binaryAjax(o.url,t).then((function(e){var t=btoa(e);o.url="data:font/"+a+";base64,"+t,i=!0}),(function(e){throw{resourceType:"fontFace",url:e.url,msg:"Unable to load font-face "+e.url}}))}))).then((function(e){return{srcDeclarationValue:a.serialize(n),hasChanges:i,errors:e}}))}(n.style.getPropertyValue("src"),t).then((function(t){t.hasChanges&&(o.changeFontFaceRuleSrc(e,n,t.srcDeclarationValue),l=!0),i=i.concat(t.errors)}))}))).then((function(){return{hasChanges:l,errors:i}}))};t.loadAndInlineCSSResourcesForRules=function(e,t){var n=!1,r=[];return Promise.all([v,m].map((function(o){return o(e,t).then((function(e){n=n||e.hasChanges,r=r.concat(e.errors)}))}))).then((function(){return{hasChanges:n,errors:r}}))}},41783:(e,t,n)=>{"use strict";var r=n(40101),o=function(e){return Array.prototype.slice.call(e)};t.inline=function(e,t){var n,i=o(e.getElementsByTagName("img")),a=o(e.getElementsByTagName("image")),l=(n=e.getElementsByTagName("input"),Array.prototype.filter.call(n,(function(e){return"image"===e.type}))),s=function(e){return e.filter((function(e){var t=null;return e.hasAttribute("src")?t=e.getAttribute("src"):e.hasAttributeNS("http://www.w3.org/1999/xlink","href")?t=e.getAttributeNS("http://www.w3.org/1999/xlink","href"):e.hasAttribute("href")&&(t=e.getAttribute("href")),null!==t&&!r.isDataUri(t)}))}(i=(i=i.concat(a)).concat(l));return r.collectAndReportErrors(s.map((function(e){return function(e,t){var n=null;e.hasAttribute("src")?n=e.getAttribute("src"):e.hasAttributeNS("http://www.w3.org/1999/xlink","href")?n=e.getAttributeNS("http://www.w3.org/1999/xlink","href"):e.hasAttribute("href")&&(n=e.getAttribute("href"));var o=r.getDocumentBaseUrl(e.ownerDocument),i=r.clone(t);return!i.baseUrl&&o&&(i.baseUrl=o),r.getDataURIForImageURL(n,i).then((function(e){return e}),(function(e){throw{resourceType:"image",url:e.url,msg:"Unable to load image "+e.url}}))}(e,t).then((function(t){e.attributes.src?e.attributes.src.value=t:e.attributes["xlink:href"]?e.attributes["xlink:href"].value=t:e.attributes.href&&(e.attributes.href.value=t)}))})))}},67591:(e,t,n)=>{"use strict";var r=n(40101);t.inline=function(e,t){var n=function(e){var t=e.getElementsByTagName("script");return Array.prototype.filter.call(t,(function(e){return!!e.attributes.src}))}(e);return r.collectAndReportErrors(n.map((function(e){return function(e,t){var n=e.attributes.src.value,o=r.getDocumentBaseUrl(e.ownerDocument),i=r.clone(t);return!i.baseUrl&&o&&(i.baseUrl=o),r.ajax(n,i).catch((function(e){throw{resourceType:"script",url:e.url,msg:"Unable to load script "+e.url}}))}(e,t).then((function(t){!function(e,t){e.attributes.removeNamedItem("src"),e.textContent=t.replace(/<\//g,"<\\/")}(e,t)}))})))}},40101:(e,t,n)=>{"use strict";var r=n(8575);t.getDocumentBaseUrl=function(e){return"about:blank"!==e.baseURI?e.baseURI:null},t.clone=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},t.cloneArray=function(e){return Array.prototype.slice.apply(e,[0])},t.joinUrl=function(e,t){return e?r.resolve(e,t):t},t.isDataUri=function(e){return/^data:/.test(e)},t.collectAndReportErrors=function(e){var t=[];return Promise.all(e.map((function(e){return e.catch((function(e){t.push(e)}))}))).then((function(){return t}))};var o=null;t.ajax=function(e,n){return new Promise((function(r,i){var a,l=new window.XMLHttpRequest,s=t.joinUrl(n.baseUrl,e),c=function(){i({msg:"Unable to load url",url:s})};a=function(e,t){return!1===t||"none"===t||"repeated"===t?(null!==o&&"repeated"===t||(o=Date.now()),e+"?_="+o):e}(s,n.cache),l.addEventListener("load",(function(){200===l.status||0===l.status?r(l.response):c()}),!1),l.addEventListener("error",c,!1);try{l.open("GET",a,!0),l.overrideMimeType(n.mimeType),l.send(null)}catch(e){c()}}))},t.binaryAjax=function(e,n){var r=t.clone(n);return r.mimeType="text/plain; charset=x-user-defined",t.ajax(e,r).then((function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t}))},t.getDataURIForImageURL=function(e,n){return t.binaryAjax(e,n).then((function(e){var t=btoa(e),n=function(e){var t=function(e,t){return e.substring(0,t.length)===t};return t(e,"<?xml")||t(e,"<svg")?"image/svg+xml":"image/png"}(e);return"data:"+n+";base64,"+t}))};var i=[];t.memoize=function(e,t,n){if("object"!=typeof n)throw new Error("cacheBucket is not an object");return function(){var r,o,a=Array.prototype.slice.call(arguments),l=t(a),s=(o=e,i.indexOf(o)<0&&i.push(o),i.indexOf(o));return n[s]&&n[s][l]?n[s][l]:(r=e.apply(null,a),n[s]=n[s]||{},n[s][l]=r,r)}}},82584:(e,t,n)=>{"use strict";var r=n(96410)(),o=n(21924)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},l=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=l?i:a},18923:(e,t,n)=>{"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i=n(96410)();e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},98420:(e,t,n)=>{"use strict";var r,o,i,a,l=n(21924),s=n(96410)();if(s){r=l("Object.prototype.hasOwnProperty"),o=l("RegExp.prototype.exec"),i={};var c=function(){throw i};a={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var u=l("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=s?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!t||!r(t,"value"))return!1;try{o(e,a)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},16745:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Animation=void 0;const r=n(54417),o=n(68588);var i=r.glob.performance&&r.glob.performance.now?function(){return r.glob.performance.now()}:function(){return(new Date).getTime()};class a{constructor(e,t){this.id=a.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:i(),frameRate:0},this.func=e,this.setLayers(t)}setLayers(e){var t;return t=e?e.length>0?e:[e]:[],this.layers=t,this}getLayers(){return this.layers}addLayer(e){var t,n=this.layers,r=n.length;for(t=0;t<r;t++)if(n[t]._id===e._id)return!1;return this.layers.push(e),!0}isRunning(){var e,t=a.animations,n=t.length;for(e=0;e<n;e++)if(t[e].id===this.id)return!0;return!1}start(){return this.stop(),this.frame.timeDiff=0,this.frame.lastTime=i(),a._addAnimation(this),this}stop(){return a._removeAnimation(this),this}_updateFrameObject(e){this.frame.timeDiff=e-this.frame.lastTime,this.frame.lastTime=e,this.frame.time+=this.frame.timeDiff,this.frame.frameRate=1e3/this.frame.timeDiff}static _addAnimation(e){this.animations.push(e),this._handleAnimation()}static _removeAnimation(e){var t,n=e.id,r=this.animations,o=r.length;for(t=0;t<o;t++)if(r[t].id===n){this.animations.splice(t,1);break}}static _runFrames(){var e,t,n,r,o,a,l,s,c={},u=this.animations;for(r=0;r<u.length;r++)if(t=(e=u[r]).layers,n=e.func,e._updateFrameObject(i()),a=t.length,!n||!1!==n.call(e,e.frame))for(o=0;o<a;o++)void 0!==(l=t[o])._id&&(c[l._id]=l);for(s in c)c.hasOwnProperty(s)&&c[s].batchDraw()}static _animationLoop(){var e=a;e.animations.length?(e._runFrames(),o.Util.requestAnimFrame(e._animationLoop)):e.animRunning=!1}static _handleAnimation(){this.animRunning||(this.animRunning=!0,o.Util.requestAnimFrame(this._animationLoop))}}t.Animation=a,a.animations=[],a.animIdCounter=0,a.animRunning=!1},54135:(e,t)=>{"use strict";function n(e,t,n){const o=r(1,n,e),i=r(1,n,t),a=o*o+i*i;return Math.sqrt(a)}Object.defineProperty(t,"__esModule",{value:!0}),t.t2length=t.getQuadraticArcLength=t.getCubicArcLength=t.binomialCoefficients=t.cValues=t.tValues=void 0,t.tValues=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],t.cValues=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],t.binomialCoefficients=[[1],[1,1],[1,2,1],[1,3,3,1]],t.getCubicArcLength=(e,r,o)=>{let i,a,l;i=o/2,a=0;for(let o=0;o<20;o++)l=i*t.tValues[20][o]+i,a+=t.cValues[20][o]*n(e,r,l);return i*a},t.getQuadraticArcLength=(e,t,n)=>{void 0===n&&(n=1);const r=e[0]-2*e[1]+e[2],o=t[0]-2*t[1]+t[2],i=2*e[1]-2*e[0],a=2*t[1]-2*t[0],l=4*(r*r+o*o),s=4*(r*i+o*a),c=i*i+a*a;if(0===l)return n*Math.sqrt(Math.pow(e[2]-e[0],2)+Math.pow(t[2]-t[0],2));const u=s/(2*l),d=n+u,h=c/l-u*u,f=d*d+h>0?Math.sqrt(d*d+h):0,p=u*u+h>0?Math.sqrt(u*u+h):0,v=u+Math.sqrt(u*u+h)!==0?h*Math.log(Math.abs((d+f)/(u+p))):0;return Math.sqrt(l)/2*(d*f-u*p+v)};const r=(e,n,o)=>{const i=o.length-1;let a,l;if(0===i)return 0;if(0===e){l=0;for(let e=0;e<=i;e++)l+=t.binomialCoefficients[i][e]*Math.pow(1-n,i-e)*Math.pow(n,e)*o[e];return l}a=new Array(i);for(let e=0;e<i;e++)a[e]=i*(o[e+1]-o[e]);return r(e-1,n,a)};t.t2length=(e,t,n)=>{let r=1,o=e/t,i=(e-n(o))/t,a=0;for(;r>.001;){const l=n(o+i),s=Math.abs(e-l)/t;if(s<r)r=s,o+=i;else{const a=n(o-i),l=Math.abs(e-a)/t;l<r?(r=l,o-=i):i/=2}if(a++,a>500)break}return o}},34842:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HitCanvas=t.SceneCanvas=t.Canvas=void 0;const r=n(68588),o=n(23442),i=n(54417),a=n(1455),l=n(53774);var s;class c{constructor(e){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var t=(e||{}).pixelRatio||i.Konva.pixelRatio||function(){if(s)return s;var e=r.Util.createCanvasElement(),t=e.getContext("2d");return s=(i.Konva._global.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),r.Util.releaseCanvas(e),s}();this.pixelRatio=t,this._canvas=r.Util.createCanvasElement(),this._canvas.style.padding="0",this._canvas.style.margin="0",this._canvas.style.border="0",this._canvas.style.background="transparent",this._canvas.style.position="absolute",this._canvas.style.top="0",this._canvas.style.left="0"}getContext(){return this.context}getPixelRatio(){return this.pixelRatio}setPixelRatio(e){var t=this.pixelRatio;this.pixelRatio=e,this.setSize(this.getWidth()/t,this.getHeight()/t)}setWidth(e){this.width=this._canvas.width=e*this.pixelRatio,this._canvas.style.width=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}setHeight(e){this.height=this._canvas.height=e*this.pixelRatio,this._canvas.style.height=e+"px";var t=this.pixelRatio;this.getContext()._context.scale(t,t)}getWidth(){return this.width}getHeight(){return this.height}setSize(e,t){this.setWidth(e||0),this.setHeight(t||0)}toDataURL(e,t){try{return this._canvas.toDataURL(e,t)}catch(e){try{return this._canvas.toDataURL()}catch(e){return r.Util.error("Unable to get data URL. "+e.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}}}t.Canvas=c,a.Factory.addGetterSetter(c,"pixelRatio",void 0,(0,l.getNumberValidator)()),t.SceneCanvas=class extends c{constructor(e={width:0,height:0,willReadFrequently:!1}){super(e),this.context=new o.SceneContext(this,{willReadFrequently:e.willReadFrequently}),this.setSize(e.width,e.height)}},t.HitCanvas=class extends c{constructor(e={width:0,height:0}){super(e),this.hitCanvas=!0,this.context=new o.HitContext(this),this.setSize(e.width,e.height)}}},28783:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;const r=n(1455),o=n(77939),i=n(53774);class a extends o.Node{constructor(){super(...arguments),this.children=[]}getChildren(e){if(!e)return this.children||[];const t=this.children||[];var n=[];return t.forEach((function(t){e(t)&&n.push(t)})),n}hasChildren(){return this.getChildren().length>0}removeChildren(){return this.getChildren().forEach((e=>{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(0===e.length)return this;if(e.length>1){for(var t=0;t<e.length;t++)this.add(e[t]);return this}const n=e[0];return n.getParent()?(n.moveTo(this),this):(this._validateAdd(n),n.index=this.getChildren().length,n.parent=this,n._clearCaches(),this.getChildren().push(n),this._fire("add",{child:n}),this._requestDraw(),this)}destroy(){return this.hasChildren()&&this.destroyChildren(),super.destroy(),this}find(e){return this._generalFind(e,!1)}findOne(e){var t=this._generalFind(e,!0);return t.length>0?t[0]:void 0}_generalFind(e,t){var n=[];return this._descendants((r=>{const o=r._isMatch(e);return o&&n.push(r),!(!o||!t)})),n}_descendants(e){let t=!1;const n=this.getChildren();for(const r of n){if(t=e(r),t)return!0;if(r.hasChildren()&&(t=r._descendants(e),t))return!0}return!1}toObject(){var e=o.Node.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=o.Node.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)||void 0===t||t.forEach((function(t){t._clearSelfAndDescendantCache(e)}))}_setChildrenIndices(){var e;null===(e=this.children)||void 0===e||e.forEach((function(e,t){e.index=t})),this._requestDraw()}drawScene(e,t){var n=this.getLayer(),r=e||n&&n.getCanvas(),o=r&&r.getContext(),i=this._getCanvasCache(),a=i&&i.scene,l=r&&r.isCache;if(!this.isVisible()&&!l)return this;if(a){o.save();var s=this.getAbsoluteTransform(t).getMatrix();o.transform(s[0],s[1],s[2],s[3],s[4],s[5]),this._drawCachedSceneCanvas(o),o.restore()}else this._drawChildren("drawScene",r,t);return this}drawHit(e,t){if(!this.shouldDrawHit(t))return this;var n=this.getLayer(),r=e||n&&n.hitCanvas,o=r&&r.getContext(),i=this._getCanvasCache();if(i&&i.hit){o.save();var a=this.getAbsoluteTransform(t).getMatrix();o.transform(a[0],a[1],a[2],a[3],a[4],a[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",r,t);return this}_drawChildren(e,t,n){var r,o=t&&t.getContext(),i=this.clipWidth(),a=this.clipHeight(),l=this.clipFunc(),s=i&&a||l;const c=n===this;if(s){o.save();var u=this.getAbsoluteTransform(n),d=u.getMatrix();let e;if(o.transform(d[0],d[1],d[2],d[3],d[4],d[5]),o.beginPath(),l)e=l.call(this,o,this);else{var h=this.clipX(),f=this.clipY();o.rect(h,f,i,a)}o.clip.apply(o,e),d=u.copy().invert().getMatrix(),o.transform(d[0],d[1],d[2],d[3],d[4],d[5])}var p=!c&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===e;p&&(o.save(),o._applyGlobalCompositeOperation(this)),null===(r=this.children)||void 0===r||r.forEach((function(r){r[e](t,n)})),p&&o.restore(),s&&o.restore()}getClientRect(e){var t,n,r,o,i,a,l=(e=e||{}).skipTransform,s=e.relativeTo,c=this;null===(t=this.children)||void 0===t||t.forEach((function(t){if(t.visible()){var a=t.getClientRect({relativeTo:c,skipShadow:e.skipShadow,skipStroke:e.skipStroke});0===a.width&&0===a.height||(void 0===n?(n=a.x,r=a.y,o=a.x+a.width,i=a.y+a.height):(n=Math.min(n,a.x),r=Math.min(r,a.y),o=Math.max(o,a.x+a.width),i=Math.max(i,a.y+a.height)))}}));for(var u=this.find("Shape"),d=!1,h=0;h<u.length;h++)if(u[h]._isVisible(this)){d=!0;break}return a=d&&void 0!==n?{x:n,y:r,width:o-n,height:i-r}:{x:0,y:0,width:0,height:0},l?a:this._transformedRect(a,s)}}t.Container=a,r.Factory.addComponentsGetterSetter(a,"clip",["x","y","width","height"]),r.Factory.addGetterSetter(a,"clipX",void 0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"clipY",void 0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"clipWidth",void 0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"clipHeight",void 0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(a,"clipFunc")},23442:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HitContext=t.SceneContext=t.Context=void 0;const r=n(68588),o=n(54417);var i=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"];class a{constructor(e){this.canvas=e,o.Konva.enableTrace&&(this.traceArr=[],this._enableTrace())}fillShape(e){e.fillEnabled()&&this._fill(e)}_fill(e){}strokeShape(e){e.hasStroke()&&this._stroke(e)}_stroke(e){}fillStrokeShape(e){e.attrs.fillAfterStrokeEnabled?(this.strokeShape(e),this.fillShape(e)):(this.fillShape(e),this.strokeShape(e))}getTrace(e,t){var n,o,i,a,l=this.traceArr,s=l.length,c="";for(n=0;n<s;n++)(i=(o=l[n]).method)?(a=o.args,c+=i,e?c+="()":r.Util._isArray(a[0])?c+="(["+a.join(",")+"])":(t&&(a=a.map((e=>"number"==typeof e?Math.floor(e):e))),c+="("+a.join(",")+")")):(c+=o.property,e||(c+="="+o.val)),c+=";";return c}clearTrace(){this.traceArr=[]}_trace(e){var t=this.traceArr;t.push(e),t.length>=100&&t.shift()}reset(){var e=this.getCanvas().getPixelRatio();this.setTransform(1*e,0,0,1*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){const t=e.attrs.lineCap;t&&this.setAttr("lineCap",t)}_applyOpacity(e){var t=e.getAbsoluteOpacity();1!==t&&this.setAttr("globalAlpha",t)}_applyLineJoin(e){const t=e.attrs.lineJoin;t&&this.setAttr("lineJoin",t)}setAttr(e,t){this._context[e]=t}arc(e,t,n,r,o,i){this._context.arc(e,t,n,r,o,i)}arcTo(e,t,n,r,o){this._context.arcTo(e,t,n,r,o)}beginPath(){this._context.beginPath()}bezierCurveTo(e,t,n,r,o,i){this._context.bezierCurveTo(e,t,n,r,o,i)}clearRect(e,t,n,r){this._context.clearRect(e,t,n,r)}clip(...e){this._context.clip.apply(this._context,e)}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,o,i){return this._context.createRadialGradient(e,t,n,r,o,i)}drawImage(e,t,n,r,o,i,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,o):9===c.length&&u.drawImage(e,t,n,r,o,i,a,l,s)}ellipse(e,t,n,r,o,i,a,l){this._context.ellipse(e,t,n,r,o,i,a,l)}isPointInPath(e,t,n,r){return n?this._context.isPointInPath(n,e,t,r):this._context.isPointInPath(e,t,r)}fill(...e){this._context.fill.apply(this._context,e)}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,o,i){this._context.setTransform(e,t,n,r,o,i)}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,o,i){this._context.transform(e,t,n,r,o,i)}translate(e,t){this._context.translate(e,t)}_enableTrace(){var e,t,n=this,o=i.length,a=this.setAttr,l=function(e){var o,i=n[e];n[e]=function(){return t=function(e){var t,n,o=[],i=e.length,a=r.Util;for(t=0;t<i;t++)n=e[t],a._isNumber(n)?n=Math.round(1e3*n)/1e3:a._isString(n)||(n+=""),o.push(n);return o}(Array.prototype.slice.call(arguments,0)),o=i.apply(n,arguments),n._trace({method:e,args:t}),o}};for(e=0;e<o;e++)l(i[e]);n.setAttr=function(){a.apply(n,arguments);var e=arguments[0],t=arguments[1];"shadowOffsetX"!==e&&"shadowOffsetY"!==e&&"shadowBlur"!==e||(t/=this.canvas.getPixelRatio()),n._trace({property:e,val:t})}}_applyGlobalCompositeOperation(e){const t=e.attrs.globalCompositeOperation;!t||"source-over"===t||this.setAttr("globalCompositeOperation",t)}}t.Context=a,["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"].forEach((function(e){Object.defineProperty(a.prototype,e,{get(){return this._context[e]},set(t){this._context[e]=t}})})),t.SceneContext=class extends a{constructor(e,{willReadFrequently:t=!1}={}){super(e),this._context=e._canvas.getContext("2d",{willReadFrequently:t})}_fillColor(e){var t=e.fill();this.setAttr("fillStyle",t),e._fillFunc(this)}_fillPattern(e){this.setAttr("fillStyle",e._getFillPattern()),e._fillFunc(this)}_fillLinearGradient(e){var t=e._getLinearGradient();t&&(this.setAttr("fillStyle",t),e._fillFunc(this))}_fillRadialGradient(e){const t=e._getRadialGradient();t&&(this.setAttr("fillStyle",t),e._fillFunc(this))}_fill(e){const t=e.fill(),n=e.getFillPriority();if(t&&"color"===n)return void this._fillColor(e);const r=e.getFillPatternImage();if(r&&"pattern"===n)return void this._fillPattern(e);const o=e.getFillLinearGradientColorStops();if(o&&"linear-gradient"===n)return void this._fillLinearGradient(e);const i=e.getFillRadialGradientColorStops();i&&"radial-gradient"===n?this._fillRadialGradient(e):t?this._fillColor(e):r?this._fillPattern(e):o?this._fillLinearGradient(e):i&&this._fillRadialGradient(e)}_strokeLinearGradient(e){const t=e.getStrokeLinearGradientStartPoint(),n=e.getStrokeLinearGradientEndPoint(),r=e.getStrokeLinearGradientColorStops(),o=this.createLinearGradient(t.x,t.y,n.x,n.y);if(r){for(var i=0;i<r.length;i+=2)o.addColorStop(r[i],r[i+1]);this.setAttr("strokeStyle",o)}}_stroke(e){var t=e.dash(),n=e.getStrokeScaleEnabled();if(e.hasStroke()){if(!n){this.save();var r=this.getCanvas().getPixelRatio();this.setTransform(r,0,0,r,0,0)}this._applyLineCap(e),t&&e.dashEnabled()&&(this.setLineDash(t),this.setAttr("lineDashOffset",e.dashOffset())),this.setAttr("lineWidth",e.strokeWidth()),e.getShadowForStrokeEnabled()||this.setAttr("shadowColor","rgba(0,0,0,0)"),e.getStrokeLinearGradientColorStops()?this._strokeLinearGradient(e):this.setAttr("strokeStyle",e.stroke()),e._strokeFunc(this),n||this.restore()}}_applyShadow(e){var t,n,r,o=null!==(t=e.getShadowRGBA())&&void 0!==t?t:"black",i=null!==(n=e.getShadowBlur())&&void 0!==n?n:5,a=null!==(r=e.getShadowOffset())&&void 0!==r?r:{x:0,y:0},l=e.getAbsoluteScale(),s=this.canvas.getPixelRatio(),c=l.x*s,u=l.y*s;this.setAttr("shadowColor",o),this.setAttr("shadowBlur",i*Math.min(Math.abs(c),Math.abs(u))),this.setAttr("shadowOffsetX",a.x*c),this.setAttr("shadowOffsetY",a.y*u)}},t.HitContext=class extends a{constructor(e){super(e),this._context=e._canvas.getContext("2d",{willReadFrequently:!0})}_fill(e){this.save(),this.setAttr("fillStyle",e.colorKey),e._fillFuncHit(this),this.restore()}strokeShape(e){e.hasHitStroke()&&this._stroke(e)}_stroke(e){if(e.hasHitStroke()){const o=e.getStrokeScaleEnabled();if(!o){this.save();var t=this.getCanvas().getPixelRatio();this.setTransform(t,0,0,t,0,0)}this._applyLineCap(e);var n=e.hitStrokeWidth(),r="auto"===n?e.strokeWidth():n;this.setAttr("lineWidth",r),this.setAttr("strokeStyle",e.colorKey),e._strokeFuncHit(this),o||this.restore()}}}},87185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Konva=void 0;var r=n(3986);Object.defineProperty(t,"Konva",{enumerable:!0,get:function(){return r.Konva}});const o=n(3986);e.exports=o.Konva},70210:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DD=void 0;const r=n(54417),o=n(68588);t.DD={get isDragging(){var e=!1;return t.DD._dragElements.forEach((t=>{"dragging"===t.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return t.DD._dragElements.forEach((t=>{e=t.node})),e},_dragElements:new Map,_drag(e){const n=[];t.DD._dragElements.forEach(((t,r)=>{const{node:i}=t,a=i.getStage();a.setPointersPositions(e),void 0===t.pointerId&&(t.pointerId=o.Util._getFirstPointerId(e));const l=a._changedPointerPositions.find((e=>e.id===t.pointerId));if(l){if("dragging"!==t.dragStatus){var s=i.dragDistance();if(Math.max(Math.abs(l.x-t.startPointerPos.x),Math.abs(l.y-t.startPointerPos.y))<s)return;if(i.startDrag({evt:e}),!i.isDragging())return}i._setDragPosition(e,t),n.push(i)}})),n.forEach((t=>{t.fire("dragmove",{type:"dragmove",target:t,evt:e},!0)}))},_endDragBefore(e){const n=[];t.DD._dragElements.forEach((o=>{const{node:i}=o,a=i.getStage();if(e&&a.setPointersPositions(e),!a._changedPointerPositions.find((e=>e.id===o.pointerId)))return;"dragging"!==o.dragStatus&&"stopped"!==o.dragStatus||(t.DD.justDragged=!0,r.Konva._mouseListenClick=!1,r.Konva._touchListenClick=!1,r.Konva._pointerListenClick=!1,o.dragStatus="stopped");const l=o.node.getLayer()||o.node instanceof r.Konva.Stage&&o.node;l&&-1===n.indexOf(l)&&n.push(l)})),n.forEach((e=>{e.draw()}))},_endDragAfter(e){t.DD._dragElements.forEach(((n,r)=>{"stopped"===n.dragStatus&&n.node.fire("dragend",{type:"dragend",target:n.node,evt:e},!0),"dragging"!==n.dragStatus&&t.DD._dragElements.delete(r)}))}},r.Konva.isBrowser&&(window.addEventListener("mouseup",t.DD._endDragBefore,!0),window.addEventListener("touchend",t.DD._endDragBefore,!0),window.addEventListener("mousemove",t.DD._drag),window.addEventListener("touchmove",t.DD._drag),window.addEventListener("mouseup",t.DD._endDragAfter,!1),window.addEventListener("touchend",t.DD._endDragAfter,!1))},1455:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Factory=void 0;const r=n(68588),o=n(53774);var i="get",a="set";t.Factory={addGetterSetter(e,n,r,o,i){t.Factory.addGetter(e,n,r),t.Factory.addSetter(e,n,o,i),t.Factory.addOverloadedGetterSetter(e,n)},addGetter(e,t,n){var o=i+r.Util._capitalize(t);e.prototype[o]=e.prototype[o]||function(){var e=this.attrs[t];return void 0===e?n:e}},addSetter(e,n,o,i){var l=a+r.Util._capitalize(n);e.prototype[l]||t.Factory.overWriteSetter(e,n,o,i)},overWriteSetter(e,t,n,o){var i=a+r.Util._capitalize(t);e.prototype[i]=function(e){return n&&null!=e&&(e=n.call(this,e,t)),this._setAttr(t,e),o&&o.call(this),this}},addComponentsGetterSetter(e,n,l,s,c){var u,d,h=l.length,f=r.Util._capitalize,p=i+f(n),v=a+f(n);e.prototype[p]=function(){var e={};for(u=0;u<h;u++)e[d=l[u]]=this.getAttr(n+f(d));return e};var m=(0,o.getComponentValidator)(l);e.prototype[v]=function(e){var t,r=this.attrs[n];for(t in s&&(e=s.call(this,e)),m&&m.call(this,e,n),e)e.hasOwnProperty(t)&&this._setAttr(n+f(t),e[t]);return e||l.forEach((e=>{this._setAttr(n+f(e),void 0)})),this._fireChangeEvent(n,r,e),c&&c.call(this),this},t.Factory.addOverloadedGetterSetter(e,n)},addOverloadedGetterSetter(e,t){var n=r.Util._capitalize(t),o=a+n,l=i+n;e.prototype[t]=function(){return arguments.length?(this[o](arguments[0]),this):this[l]()}},addDeprecatedGetterSetter(e,n,o,a){r.Util.error("Adding deprecated "+n);var l=i+r.Util._capitalize(n),s=n+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[l]=function(){r.Util.error(s);var e=this.attrs[n];return void 0===e?o:e},t.Factory.addSetter(e,n,a,(function(){r.Util.error(s)})),t.Factory.addOverloadedGetterSetter(e,n)},backCompat(e,t){r.Util.each(t,(function(t,n){var o=e.prototype[n],l=i+r.Util._capitalize(t),s=a+r.Util._capitalize(t);function c(){o.apply(this,arguments),r.Util.error('"'+t+'" method is deprecated and will be removed soon. Use ""'+n+'" instead.')}e.prototype[t]=c,e.prototype[l]=c,e.prototype[s]=c}))},afterSetFilter(){this._filterUpToDate=!1}}},73980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FastLayer=void 0;const r=n(68588),o=n(44415),i=n(54417);class a extends o.Layer{constructor(e){super(e),this.listening(!1),r.Util.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}t.FastLayer=a,a.prototype.nodeType="FastLayer",(0,i._registerNode)(a)},54417:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._registerNode=t.Konva=t.glob=void 0;var r=Math.PI/180;t.glob=void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{},t.Konva={_global:t.glob,version:"9.2.0",isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle:e=>t.Konva.angleDeg?e*r: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:()=>t.Konva.DD.isDragging,isDragReady:()=>!!t.Konva.DD.node,releaseCanvasOnDestroy:!0,document:t.glob.document,_injectGlobal(e){t.glob.Konva=e}},t._registerNode=e=>{t.Konva[e.prototype.getClassName()]=e},t.Konva._injectGlobal(t.Konva)},58985:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;const r=n(68588),o=n(28783),i=n(54417);class a extends o.Container{_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&r.Util.throw("You may only add groups and shapes to groups.")}}t.Group=a,a.prototype.nodeType="Group",(0,i._registerNode)(a)},44415:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layer=void 0;const r=n(68588),o=n(28783),i=n(77939),a=n(1455),l=n(34842),s=n(53774),c=n(97955),u=n(54417);var d=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],h=d.length;class f extends o.Container{constructor(e){super(e),this.canvas=new l.SceneCanvas,this.hitCanvas=new l.HitCanvas({pixelRatio:1}),this._waitingForDraw=!1,this.on("visibleChange.konva",this._checkVisibility),this._checkVisibility(),this.on("imageSmoothingEnabledChange.konva",this._setSmoothEnabled),this._setSmoothEnabled()}createPNGStream(){return this.canvas._canvas.createPNGStream()}getCanvas(){return this.canvas}getNativeCanvasElement(){return this.canvas._canvas}getHitCanvas(){return this.hitCanvas}getContext(){return this.getCanvas().getContext()}clear(e){return this.getContext().clear(e),this.getHitCanvas().getContext().clear(e),this}setZIndex(e){super.setZIndex(e);var t=this.getStage();return t&&t.content&&(t.content.removeChild(this.getNativeCanvasElement()),e<t.children.length-1?t.content.insertBefore(this.getNativeCanvasElement(),t.children[e+1].getCanvas()._canvas):t.content.appendChild(this.getNativeCanvasElement())),this}moveToTop(){i.Node.prototype.moveToTop.call(this);var e=this.getStage();return e&&e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.appendChild(this.getNativeCanvasElement())),!0}moveUp(){if(!i.Node.prototype.moveUp.call(this))return!1;var e=this.getStage();return!(!e||!e.content||(e.content.removeChild(this.getNativeCanvasElement()),this.index<e.children.length-1?e.content.insertBefore(this.getNativeCanvasElement(),e.children[this.index+1].getCanvas()._canvas):e.content.appendChild(this.getNativeCanvasElement()),0))}moveDown(){if(i.Node.prototype.moveDown.call(this)){var e=this.getStage();if(e){var t=e.children;e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.insertBefore(this.getNativeCanvasElement(),t[this.index+1].getCanvas()._canvas))}return!0}return!1}moveToBottom(){if(i.Node.prototype.moveToBottom.call(this)){var e=this.getStage();if(e){var t=e.children;e.content&&(e.content.removeChild(this.getNativeCanvasElement()),e.content.insertBefore(this.getNativeCanvasElement(),t[1].getCanvas()._canvas))}return!0}return!1}getLayer(){return this}remove(){var e=this.getNativeCanvasElement();return i.Node.prototype.remove.call(this),e&&e.parentNode&&r.Util._isInDocument(e)&&e.parentNode.removeChild(e),this}getStage(){return this.parent}setSize({width:e,height:t}){return this.canvas.setSize(e,t),this.hitCanvas.setSize(e,t),this._setSmoothEnabled(),this}_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&r.Util.throw("You may only add groups and shapes to a layer.")}_toKonvaCanvas(e){return(e=e||{}).width=e.width||this.getWidth(),e.height=e.height||this.getHeight(),e.x=void 0!==e.x?e.x:this.x(),e.y=void 0!==e.y?e.y:this.y(),i.Node.prototype._toKonvaCanvas.call(this,e)}_checkVisibility(){const e=this.visible();this.canvas._canvas.style.display=e?"block":"none"}_setSmoothEnabled(){this.getContext()._context.imageSmoothingEnabled=this.imageSmoothingEnabled()}getWidth(){if(this.parent)return this.parent.width()}setWidth(){r.Util.warn('Can not change width of layer. Use "stage.width(value)" function instead.')}getHeight(){if(this.parent)return this.parent.height()}setHeight(){r.Util.warn('Can not change height of layer. Use "stage.height(value)" function instead.')}batchDraw(){return this._waitingForDraw||(this._waitingForDraw=!0,r.Util.requestAnimFrame((()=>{this.draw(),this._waitingForDraw=!1}))),this}getIntersection(e){if(!this.isListening()||!this.isVisible())return null;for(var t=1,n=!1;;){for(let r=0;r<h;r++){const o=d[r],i=this._getIntersection({x:e.x+o.x*t,y:e.y+o.y*t}),a=i.shape;if(a)return a;if(n=!!i.antialiased,!i.antialiased)break}if(!n)return null;t+=1}}_getIntersection(e){const t=this.hitCanvas.pixelRatio,n=this.hitCanvas.context.getImageData(Math.round(e.x*t),Math.round(e.y*t),1,1).data,o=n[3];if(255===o){const e=r.Util._rgbToHex(n[0],n[1],n[2]),t=c.shapes["#"+e];return t?{shape:t}:{antialiased:!0}}return o>0?{antialiased:!0}:{}}drawScene(e,t){var n=this.getLayer(),r=e||n&&n.getCanvas();return this._fire("beforeDraw",{node:this}),this.clearBeforeDraw()&&r.getContext().clear(),o.Container.prototype.drawScene.call(this,r,t),this._fire("draw",{node:this}),this}drawHit(e,t){var n=this.getLayer(),r=e||n&&n.hitCanvas;return n&&n.clearBeforeDraw()&&n.getHitCanvas().getContext().clear(),o.Container.prototype.drawHit.call(this,r,t),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(e){r.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(e)}getHitGraphEnabled(e){return r.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()}toggleHitCanvas(){if(this.parent&&this.parent.content){var e=this.parent;this.hitCanvas._canvas.parentNode?e.content.removeChild(this.hitCanvas._canvas):e.content.appendChild(this.hitCanvas._canvas)}}destroy(){return r.Util.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}}t.Layer=f,f.prototype.nodeType="Layer",(0,u._registerNode)(f),a.Factory.addGetterSetter(f,"imageSmoothingEnabled",!0),a.Factory.addGetterSetter(f,"clearBeforeDraw",!0),a.Factory.addGetterSetter(f,"hitGraphEnabled",!0,(0,s.getBooleanValidator)())},77939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const r=n(68588),o=n(1455),i=n(34842),a=n(54417),l=n(70210),s=n(53774);var c="absoluteOpacity",u="allEventListeners",d="absoluteTransform",h="absoluteScale",f="canvas",p="listening",v="mouseenter",m="mouseleave",g="Shape",y=" ",b="stage",w="transform",_="visible",E=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(y);let x=1;class S{constructor(e){this._id=x++,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!==w&&e!==d||!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===w||e===d)&&!0===n.dirty)&&(n=t.call(this),this._cache.set(e,n)),n}_calculate(e,t,n){if(!this._attachedDepsListeners.get(e)){const n=t.map((e=>e+"Change.konva")).join(y);this.on(n,(()=>{this._clearCache(e)})),this._attachedDepsListeners.set(e,!0)}return this._getCache(e,n)}_getCanvasCache(){return this._cache.get(f)}_clearSelfAndDescendantCache(e){this._clearCache(e),e===d&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(f)){const{scene:e,filter:t,hit:n}=this._cache.get(f);r.Util.releaseCanvas(e,t,n),this._cache.delete(f)}return this._clearSelfAndDescendantCache(),this._requestDraw(),this}cache(e){var t=e||{},n={};void 0!==t.x&&void 0!==t.y&&void 0!==t.width&&void 0!==t.height||(n=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var o=Math.ceil(t.width||n.width),a=Math.ceil(t.height||n.height),l=t.pixelRatio,s=void 0===t.x?Math.floor(n.x):t.x,u=void 0===t.y?Math.floor(n.y):t.y,d=t.offset||0,p=t.drawBorder||!1,v=t.hitCanvasPixelRatio||1;if(o&&a){o+=2*d+1,a+=2*d+1,s-=d,u-=d;var m=new i.SceneCanvas({pixelRatio:l,width:o,height:a}),g=new i.SceneCanvas({pixelRatio:l,width:0,height:0,willReadFrequently:!0}),y=new i.HitCanvas({pixelRatio:v,width:o,height:a}),b=m.getContext(),w=y.getContext();return y.isCache=!0,m.isCache=!0,this._cache.delete(f),this._filterUpToDate=!1,!1===t.imageSmoothingEnabled&&(m.getContext()._context.imageSmoothingEnabled=!1,g.getContext()._context.imageSmoothingEnabled=!1),b.save(),w.save(),b.translate(-s,-u),w.translate(-s,-u),this._isUnderCache=!0,this._clearSelfAndDescendantCache(c),this._clearSelfAndDescendantCache(h),this.drawScene(m,this),this.drawHit(y,this),this._isUnderCache=!1,b.restore(),w.restore(),p&&(b.save(),b.beginPath(),b.rect(0,0,o,a),b.closePath(),b.setAttr("strokeStyle","red"),b.setAttr("lineWidth",5),b.stroke(),b.restore()),this._cache.set(f,{scene:m,filter:g,hit:y,x:s,y:u}),this._requestDraw(),this}r.Util.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")}isCached(){return this._cache.has(f)}getClientRect(e){throw new Error('abstract "getClientRect" method call')}_transformedRect(e,t){var n,r,o,i,a=[{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}],l=this.getAbsoluteTransform(t);return a.forEach((function(e){var t=l.point(e);void 0===n&&(n=o=t.x,r=i=t.y),n=Math.min(n,t.x),r=Math.min(r,t.y),o=Math.max(o,t.x),i=Math.max(i,t.y)})),{x:n,y:r,width:o-n,height:i-r}}_drawCachedSceneCanvas(e){e.save(),e._applyOpacity(this),e._applyGlobalCompositeOperation(this);const t=this._getCanvasCache();e.translate(t.x,t.y);var n=this._getCachedSceneCanvas(),r=n.pixelRatio;e.drawImage(n._canvas,0,0,n.width/r,n.height/r),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,o,i=this.filters(),a=this._getCanvasCache(),l=a.scene,s=a.filter,c=s.getContext();if(i){if(!this._filterUpToDate){var u=l.pixelRatio;s.setSize(l.width/l.pixelRatio,l.height/l.pixelRatio);try{for(e=i.length,c.clear(),c.drawImage(l._canvas,0,0,l.getWidth()/u,l.getHeight()/u),t=c.getImageData(0,0,s.getWidth(),s.getHeight()),n=0;n<e;n++)"function"==typeof(o=i[n])?(o.call(this,t),c.putImageData(t,0,0)):r.Util.error("Filter should be type of function, but got "+typeof o+" instead. Please check correct filters")}catch(e){r.Util.error("Unable to apply filter. "+e.message+" This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.")}this._filterUpToDate=!0}return s}return l}on(e,t){if(this._cache&&this._cache.delete(u),3===arguments.length)return this._delegate.apply(this,arguments);var n,r,o,i,a=e.split(y),l=a.length;for(n=0;n<l;n++)o=(r=a[n].split("."))[0],i=r[1]||"",this.eventListeners[o]||(this.eventListeners[o]=[]),this.eventListeners[o].push({name:i,handler:t});return this}off(e,t){var n,r,o,i,a,l=(e||"").split(y),s=l.length;if(this._cache&&this._cache.delete(u),!e)for(r in this.eventListeners)this._off(r);for(n=0;n<s;n++)if(i=(o=l[n].split("."))[0],a=o[1],i)this.eventListeners[i]&&this._off(i,a,t);else for(r in this.eventListeners)this._off(r,a,t);return this}dispatchEvent(e){var t={target:this,type:e.type,evt:e};return this.fire(e.type,t),this}addEventListener(e,t){return this.on(e,(function(e){t.call(this,e.evt)})),this}removeEventListener(e){return this.off(e),this}_delegate(e,t,n){var o=this;this.on(e,(function(e){for(var i=e.target.findAncestors(t,!0,o),a=0;a<i.length;a++)(e=r.Util.cloneObject(e)).currentTarget=i[a],n.call(i[a],e)}))}remove(){return this.isDragging()&&this.stopDrag(),l.DD._dragElements.delete(this._id),this._remove(),this}_clearCaches(){this._clearSelfAndDescendantCache(d),this._clearSelfAndDescendantCache(c),this._clearSelfAndDescendantCache(h),this._clearSelfAndDescendantCache(b),this._clearSelfAndDescendantCache(_),this._clearSelfAndDescendantCache(p)}_remove(){this._clearCaches();var e=this.getParent();e&&e.children&&(e.children.splice(this.index,1),e._setChildrenIndices(),this.parent=null)}destroy(){return this.remove(),this.clearCache(),this}getAttr(e){var t="get"+r.Util._capitalize(e);return r.Util._isFunction(this[t])?this[t]():this.attrs[e]}getAncestors(){for(var e=this.getParent(),t=[];e;)t.push(e),e=e.getParent();return t}getAttrs(){return this.attrs||{}}setAttrs(e){return this._batchTransformChanges((()=>{var t,n;if(!e)return this;for(t in e)"children"!==t&&(n="set"+r.Util._capitalize(t),r.Util._isFunction(this[n])?this[n](e[t]):this._setAttr(t,e[t]))})),this}isListening(){return this._getCache(p,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(_,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;l.DD._dragElements.forEach((e=>{"dragging"===e.dragStatus&&("Stage"===e.node.nodeType||e.node.getLayer()===n)&&(r=!0)}));var o=!t&&!a.Konva.hitOnDragEnabled&&r;return this.isListening()&&this.isVisible()&&!o}show(){return this.visible(!0),this}hide(){return this.visible(!1),this}getZIndex(){return this.index||0}getAbsoluteZIndex(){var e,t,n,r,o=this.getDepth(),i=this,a=0;return"Stage"!==i.nodeType&&function l(s){for(e=[],t=s.length,n=0;n<t;n++)r=s[n],a++,r.nodeType!==g&&(e=e.concat(r.getChildren().slice())),r._id===i._id&&(n=t);e.length>0&&e[0].getDepth()<=o&&l(e)}(i.getStage().getChildren()),a}getDepth(){for(var e=0,t=this.parent;t;)e++,t=t.parent;return e}_batchTransformChanges(e){this._batchingTransformChange=!0,e(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(w),this._clearSelfAndDescendantCache(d)),this._needClearTransformCache=!1}setPosition(e){return this._batchTransformChanges((()=>{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);var o=this.getAbsoluteTransform(e).getMatrix(),i=new r.Transform,a=this.offset();return i.m=o.slice(),i.translate(a.x,a.y),i.getTranslation()}setAbsolutePosition(e){var t=this._clearTransform();this.attrs.x=t.x,this.attrs.y=t.y,delete t.x,delete t.y,this._clearCache(w);var n=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(w),this._clearSelfAndDescendantCache(d),this}_setTransform(e){var t;for(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.y,r=this.x(),o=this.y();return void 0!==t&&(r+=t),void 0!==n&&(o+=n),this.setPosition({x:r,y:o}),this}_eachAncestorReverse(e,t){var n,r,o=[],i=this.getParent();if(!t||t._id!==this._id){for(o.unshift(this);i&&(!t||i._id!==t._id);)o.unshift(i),i=i.parent;for(n=o.length,r=0;r<n;r++)e(o[r])}}rotate(e){return this.rotation(this.rotation()+e),this}moveToTop(){if(!this.parent)return r.Util.warn("Node has no parent. moveToTop function is ignored."),!1;var e=this.index;return e<this.parent.getChildren().length-1&&(this.parent.children.splice(e,1),this.parent.children.push(this),this.parent._setChildrenIndices(),!0)}moveUp(){if(!this.parent)return r.Util.warn("Node has no parent. moveUp function is ignored."),!1;var e=this.index;return e<this.parent.getChildren().length-1&&(this.parent.children.splice(e,1),this.parent.children.splice(e+1,0,this),this.parent._setChildrenIndices(),!0)}moveDown(){if(!this.parent)return r.Util.warn("Node has no parent. moveDown function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.splice(e-1,0,this),this.parent._setChildrenIndices(),!0)}moveToBottom(){if(!this.parent)return r.Util.warn("Node has no parent. moveToBottom function is ignored."),!1;var e=this.index;return e>0&&(this.parent.children.splice(e,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)}setZIndex(e){if(!this.parent)return r.Util.warn("Node has no parent. zIndex parameter is ignored."),this;(e<0||e>=this.parent.children.length)&&r.Util.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(c,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,o,i={},a=this.getAttrs();for(e in i.attrs={},a)t=a[e],r.Util.isObject(t)&&!r.Util._isPlainObject(t)&&!r.Util._isArray(t)||(n="function"==typeof this[e]&&this[e],delete a[e],o=n?n.call(this):null,a[e]=t,o!==t&&(i.attrs[e]=t));return i.className=this.getClassName(),r.Util._prepareToStringify(i)}toJSON(){return JSON.stringify(this.toObject())}getParent(){return this.parent}findAncestors(e,t,n){var r=[];t&&this._isMatch(e)&&r.push(this);for(var o=this.parent;o;){if(o===n)return r;o._isMatch(e)&&r.push(o),o=o.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);var t,n,o=e.replace(/ /g,"").split(","),i=o.length;for(t=0;t<i;t++)if(n=o[t],r.Util.isValidSelector(n)||(r.Util.warn('Selector "'+n+'" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'),r.Util.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'),r.Util.warn("Konva is awesome, right?")),"#"===n.charAt(0)){if(this.id()===n.slice(1))return!0}else if("."===n.charAt(0)){if(this.hasName(n.slice(1)))return!0}else if(this.className===n||this.nodeType===n)return!0;return!1}getLayer(){var e=this.getParent();return e?e.getLayer():null}getStage(){return this._getCache(b,this._getStage)}_getStage(){var e=this.getParent();return e?e.getStage():void 0}fire(e,t={},n){return t.target=t.target||this,n?this._fireAndBubble(e,t):this._fire(e,t),this}getAbsoluteTransform(e){return e?this._getAbsoluteTransform(e):this._getCache(d,this._getAbsoluteTransform)}_getAbsoluteTransform(e){var t;if(e)return t=new r.Transform,this._eachAncestorReverse((function(e){var n=e.transformsEnabled();"all"===n?t.multiply(e.getTransform()):"position"===n&&t.translate(e.x()-e.offsetX(),e.y()-e.offsetY())}),e),t;t=this._cache.get(d)||new r.Transform,this.parent?this.parent.getAbsoluteTransform().copyInto(t):t.reset();var n=this.transformsEnabled();if("all"===n)t.multiply(this.getTransform());else if("position"===n){const e=this.attrs.x||0,n=this.attrs.y||0,r=this.attrs.offsetX||0,o=this.attrs.offsetY||0;t.translate(e-r,n-o)}return t.dirty=!1,t}getAbsoluteScale(e){for(var t=this;t;)t._isUnderCache&&(e=t),t=t.getParent();const n=this.getAbsoluteTransform(e).decompose();return{x:n.scaleX,y:n.scaleY}}getAbsoluteRotation(){return this.getAbsoluteTransform().decompose().rotation}getTransform(){return this._getCache(w,this._getTransform)}_getTransform(){var e,t,n=this._cache.get(w)||new r.Transform;n.reset();var o=this.x(),i=this.y(),l=a.Konva.getAngle(this.rotation()),s=null!==(e=this.attrs.scaleX)&&void 0!==e?e:1,c=null!==(t=this.attrs.scaleY)&&void 0!==t?t:1,u=this.attrs.skewX||0,d=this.attrs.skewY||0,h=this.attrs.offsetX||0,f=this.attrs.offsetY||0;return 0===o&&0===i||n.translate(o,i),0!==l&&n.rotate(l),0===u&&0===d||n.skew(u,d),1===s&&1===c||n.scale(s,c),0===h&&0===f||n.translate(-1*h,-1*f),n.dirty=!1,n}clone(e){var t,n,o,i,a,l=r.Util.cloneObject(this.attrs);for(t in e)l[t]=e[t];var s=new this.constructor(l);for(t in this.eventListeners)for(o=(n=this.eventListeners[t]).length,i=0;i<o;i++)(a=n[i]).name.indexOf("konva")<0&&(s.eventListeners[t]||(s.eventListeners[t]=[]),s.eventListeners[t].push(a));return s}_toKonvaCanvas(e){e=e||{};var t=this.getClientRect(),n=this.getStage(),r=void 0!==e.x?e.x:Math.floor(t.x),o=void 0!==e.y?e.y:Math.floor(t.y),a=e.pixelRatio||1,l=new i.SceneCanvas({width:e.width||Math.ceil(t.width)||(n?n.width():0),height:e.height||Math.ceil(t.height)||(n?n.height():0),pixelRatio:a}),s=l.getContext();return!1===e.imageSmoothingEnabled&&(s._context.imageSmoothingEnabled=!1),s.save(),(r||o)&&s.translate(-1*r,-1*o),this.drawScene(l),s.restore(),l}toCanvas(e){return this._toKonvaCanvas(e)._canvas}toDataURL(e){var t=(e=e||{}).mimeType||null,n=e.quality||null,r=this._toKonvaCanvas(e).toDataURL(t,n);return e.callback&&e.callback(r),r}toImage(e){return new Promise(((t,n)=>{try{const n=null==e?void 0:e.callback;n&&delete e.callback,r.Util._urlToImage(this.toDataURL(e),(function(e){t(e),null==n||n(e)}))}catch(e){n(e)}}))}toBlob(e){return new Promise(((t,n)=>{try{const n=null==e?void 0:e.callback;n&&delete e.callback,this.toCanvas(e).toBlob((e=>{t(e),null==n||n(e)}))}catch(e){n(e)}}))}setSize(e){return this.width(e.width),this.height(e.height),this}getSize(){return{width:this.width(),height:this.height()}}getClassName(){return this.className||this.nodeType}getType(){return this.nodeType}getDragDistance(){return void 0!==this.attrs.dragDistance?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():a.Konva.dragDistance}_off(e,t,n){var r,o,i,a=this.eventListeners[e];for(r=0;r<a.length;r++)if(o=a[r].name,i=a[r].handler,!("konva"===o&&"konva"!==t||t&&o!==t||n&&n!==i)){if(a.splice(r,1),0===a.length){delete this.eventListeners[e];break}r--}}_fireChangeEvent(e,t,n){this._fire(e+"Change",{oldVal:t,newVal:n})}addName(e){if(!this.hasName(e)){var t=this.name(),n=t?t+" "+e:e;this.name(n)}return this}hasName(e){if(!e)return!1;const t=this.name();return!!t&&-1!==(t||"").split(/\s/g).indexOf(e)}removeName(e){var t=(this.name()||"").split(/\s/g),n=t.indexOf(e);return-1!==n&&(t.splice(n,1),this.name(t.join(" "))),this}setAttr(e,t){var n=this["set"+r.Util._capitalize(e)];return r.Util._isFunction(n)?n.call(this,t):this._setAttr(e,t),this}_requestDraw(){if(a.Konva.autoDrawEnabled){const e=this.getLayer()||this.getStage();null==e||e.batchDraw()}}_setAttr(e,t){var n=this.attrs[e];(n!==t||r.Util.isObject(t))&&(null==t?delete this.attrs[e]:this.attrs[e]=t,this._shouldFireChangeEvents&&this._fireChangeEvent(e,n,t),this._requestDraw())}_setComponentAttr(e,t,n){var r;void 0!==n&&((r=this.attrs[e])||(this.attrs[e]=this.getAttr(e)),this.attrs[e][t]=n,this._fireChangeEvent(e,r,n))}_fireAndBubble(e,t,n){if(t&&this.nodeType===g&&(t.target=this),e!==v&&e!==m||!(n&&(this===n||this.isAncestorOf&&this.isAncestorOf(n))||"Stage"===this.nodeType&&!n)){this._fire(e,t);var r=(e===v||e===m)&&n&&n.isAncestorOf&&n.isAncestorOf(this)&&!n.isAncestorOf(this.parent);(t&&!t.cancelBubble||!t)&&this.parent&&this.parent.isListening()&&!r&&(n&&n.parent?this._fireAndBubble.call(this.parent,e,t,n):this._fireAndBubble.call(this.parent,e,t))}}_getProtoListeners(e){var t,n,r;const o=null!==(t=this._cache.get(u))&&void 0!==t?t:{};let i=null==o?void 0:o[e];if(void 0===i){i=[];let t=Object.getPrototypeOf(this);for(;t;){const o=null!==(r=null===(n=t.eventListeners)||void 0===n?void 0:n[e])&&void 0!==r?r:[];i.push(...o),t=Object.getPrototypeOf(t)}o[e]=i,this._cache.set(u,o)}return i}_fire(e,t){(t=t||{}).currentTarget=this,t.type=e;const n=this._getProtoListeners(e);if(n)for(var r=0;r<n.length;r++)n[r].handler.call(this,t);const o=this.eventListeners[e];if(o)for(r=0;r<o.length;r++)o[r].handler.call(this,t)}draw(){return this.drawScene(),this.drawHit(),this}_createDragElement(e){var t=e?e.pointerId:void 0,n=this.getStage(),r=this.getAbsolutePosition(),o=n._getPointerById(t)||n._changedPointerPositions[0]||r;l.DD._dragElements.set(this._id,{node:this,startPointerPos:o,offset:{x:o.x-r.x,y:o.y-r.y},dragStatus:"ready",pointerId:t})}startDrag(e,t=!0){l.DD._dragElements.has(this._id)||this._createDragElement(e),l.DD._dragElements.get(this._id).dragStatus="dragging",this.fire("dragstart",{type:"dragstart",target:this,evt:e&&e.evt},t)}_setDragPosition(e,t){const n=this.getStage()._getPointerById(t.pointerId);if(n){var o={x:n.x-t.offset.x,y:n.y-t.offset.y},i=this.dragBoundFunc();if(void 0!==i){const t=i.call(this,o,e);t?o=t:r.Util.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.")}this._lastPos&&this._lastPos.x===o.x&&this._lastPos.y===o.y||(this.setAbsolutePosition(o),this._requestDraw()),this._lastPos=o}}stopDrag(e){const t=l.DD._dragElements.get(this._id);t&&(t.dragStatus="stopped"),l.DD._endDragBefore(e),l.DD._endDragAfter(e)}setDraggable(e){this._setAttr("draggable",e),this._dragChange()}isDragging(){const e=l.DD._dragElements.get(this._id);return!!e&&"dragging"===e.dragStatus}_listenDrag(){this._dragCleanup(),this.on("mousedown.konva touchstart.konva",(function(e){if((void 0===e.evt.button||a.Konva.dragButtons.indexOf(e.evt.button)>=0)&&!this.isDragging()){var t=!1;l.DD._dragElements.forEach((e=>{this.isAncestorOf(e.node)&&(t=!0)})),t||this._createDragElement(e)}}))}_dragChange(){if(this.attrs.draggable)this._listenDrag();else{if(this._dragCleanup(),!this.getStage())return;const e=l.DD._dragElements.get(this._id),t=e&&"dragging"===e.dragStatus,n=e&&"ready"===e.dragStatus;t?this.stopDrag():n&&l.DD._dragElements.delete(this._id)}}_dragCleanup(){this.off("mousedown.konva"),this.off("touchstart.konva")}isClientRectOnScreen(e={x:0,y:0}){const t=this.getStage();if(!t)return!1;const n={x:-e.x,y:-e.y,width:t.width()+2*e.x,height:t.height()+2*e.y};return r.Util.haveIntersection(n,this.getClientRect())}static create(e,t){return r.Util._isString(e)&&(e=JSON.parse(e)),this._createNode(e,t)}static _createNode(e,t){var n,o,i,l=S.prototype.getClassName.call(e),s=e.children;if(t&&(e.attrs.container=t),a.Konva[l]||(r.Util.warn('Can not find a node with class name "'+l+'". Fallback to "Shape".'),l="Shape"),n=new(0,a.Konva[l])(e.attrs),s)for(o=s.length,i=0;i<o;i++)n.add(S._createNode(s[i]));return n}}t.Node=S,S.prototype.nodeType="Node",S.prototype._attrsAffectingSize=[],S.prototype.eventListeners={},S.prototype.on.call(S.prototype,E,(function(){this._batchingTransformChange?this._needClearTransformCache=!0:(this._clearCache(w),this._clearSelfAndDescendantCache(d))})),S.prototype.on.call(S.prototype,"visibleChange.konva",(function(){this._clearSelfAndDescendantCache(_)})),S.prototype.on.call(S.prototype,"listeningChange.konva",(function(){this._clearSelfAndDescendantCache(p)})),S.prototype.on.call(S.prototype,"opacityChange.konva",(function(){this._clearSelfAndDescendantCache(c)}));const O=o.Factory.addGetterSetter;O(S,"zIndex"),O(S,"absolutePosition"),O(S,"position"),O(S,"x",0,(0,s.getNumberValidator)()),O(S,"y",0,(0,s.getNumberValidator)()),O(S,"globalCompositeOperation","source-over",(0,s.getStringValidator)()),O(S,"opacity",1,(0,s.getNumberValidator)()),O(S,"name","",(0,s.getStringValidator)()),O(S,"id","",(0,s.getStringValidator)()),O(S,"rotation",0,(0,s.getNumberValidator)()),o.Factory.addComponentsGetterSetter(S,"scale",["x","y"]),O(S,"scaleX",1,(0,s.getNumberValidator)()),O(S,"scaleY",1,(0,s.getNumberValidator)()),o.Factory.addComponentsGetterSetter(S,"skew",["x","y"]),O(S,"skewX",0,(0,s.getNumberValidator)()),O(S,"skewY",0,(0,s.getNumberValidator)()),o.Factory.addComponentsGetterSetter(S,"offset",["x","y"]),O(S,"offsetX",0,(0,s.getNumberValidator)()),O(S,"offsetY",0,(0,s.getNumberValidator)()),O(S,"dragDistance",null,(0,s.getNumberValidator)()),O(S,"width",0,(0,s.getNumberValidator)()),O(S,"height",0,(0,s.getNumberValidator)()),O(S,"listening",!0,(0,s.getBooleanValidator)()),O(S,"preventDefault",!0,(0,s.getBooleanValidator)()),O(S,"filters",null,(function(e){return this._filterUpToDate=!1,e})),O(S,"visible",!0,(0,s.getBooleanValidator)()),O(S,"transformsEnabled","all",(0,s.getStringValidator)()),O(S,"size"),O(S,"dragBoundFunc"),O(S,"draggable",!1,(0,s.getBooleanValidator)()),o.Factory.backCompat(S,{rotateDeg:"rotate",setRotationDeg:"setRotation",getRotationDeg:"getRotation"})},98479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.releaseCapture=t.setPointerCapture=t.hasPointerCapture=t.createEvent=t.getCapturedShape=void 0;const r=n(54417),o=new Map,i=void 0!==r.Konva._global.PointerEvent;function a(e){return{evt:e,pointerId:e.pointerId}}function l(e,t){const n=o.get(e);if(!n)return;const r=n.getStage();r&&r.content,o.delete(e),i&&n._fire("lostpointercapture",a(new PointerEvent("lostpointercapture")))}t.getCapturedShape=function(e){return o.get(e)},t.createEvent=a,t.hasPointerCapture=function(e,t){return o.get(e)===t},t.setPointerCapture=function(e,t){l(e),t.getStage()&&(o.set(e,t),i&&t._fire("gotpointercapture",a(new PointerEvent("gotpointercapture"))))},t.releaseCapture=l},97955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Shape=t.shapes=void 0;const r=n(54417),o=n(68588),i=n(1455),a=n(77939),l=n(53774),s=n(54417),c=n(98479);var u="hasShadow",d="shadowRGBA",h="patternImage",f="linearGradient",p="radialGradient";let v;function m(){return v||(v=o.Util.createCanvasElement().getContext("2d"),v)}t.shapes={};class g extends a.Node{constructor(e){let n;for(super(e);n=o.Util.getRandomColor(),!n||n in t.shapes;);this.colorKey=n,t.shapes[n]=this}getContext(){return o.Util.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return o.Util.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(u,this._hasShadow)}_hasShadow(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())}_getFillPattern(){return this._getCache(h,this.__getFillPattern)}__getFillPattern(){if(this.fillPatternImage()){const e=m().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){const t=new o.Transform;t.translate(this.fillPatternX(),this.fillPatternY()),t.rotate(r.Konva.getAngle(this.fillPatternRotation())),t.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),t.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const n=t.getMatrix(),i="undefined"==typeof DOMMatrix?{a:n[0],b:n[1],c:n[2],d:n[3],e:n[4],f:n[5]}:new DOMMatrix(n);e.setTransform(i)}return e}}_getLinearGradient(){return this._getCache(f,this.__getLinearGradient)}__getLinearGradient(){var e=this.fillLinearGradientColorStops();if(e){for(var t=m(),n=this.fillLinearGradientStartPoint(),r=this.fillLinearGradientEndPoint(),o=t.createLinearGradient(n.x,n.y,r.x,r.y),i=0;i<e.length;i+=2)o.addColorStop(e[i],e[i+1]);return o}}_getRadialGradient(){return this._getCache(p,this.__getRadialGradient)}__getRadialGradient(){var e=this.fillRadialGradientColorStops();if(e){for(var t=m(),n=this.fillRadialGradientStartPoint(),r=this.fillRadialGradientEndPoint(),o=t.createRadialGradient(n.x,n.y,this.fillRadialGradientStartRadius(),r.x,r.y,this.fillRadialGradientEndRadius()),i=0;i<e.length;i+=2)o.addColorStop(e[i],e[i+1]);return o}}getShadowRGBA(){return this._getCache(d,this._getShadowRGBA)}_getShadowRGBA(){if(this.hasShadow()){var e=o.Util.colorToRGBA(this.shadowColor());return e?"rgba("+e.r+","+e.g+","+e.b+","+e.a*(this.shadowOpacity()||1)+")":void 0}}hasFill(){return this._calculate("hasFill",["fillEnabled","fill","fillPatternImage","fillLinearGradientColorStops","fillRadialGradientColorStops"],(()=>this.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(){const 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),t.context.getImageData(Math.round(e.x),Math.round(e.y),1,1).data[3]>0}destroy(){return a.Node.prototype.destroy.call(this),delete t.shapes[this.colorKey],delete this.colorKey,this}_useBufferCanvas(e){var t;if(!this.getStage())return!1;if(null!==(t=this.attrs.perfectDrawEnabled)&&void 0!==t&&!t)return!1;const n=e||this.hasFill(),r=this.hasStroke(),o=1!==this.getAbsoluteOpacity();if(n&&r&&o)return!0;const i=this.hasShadow(),a=this.shadowForStrokeEnabled();return!!(n&&r&&i&&a)}setStrokeHitEnabled(e){o.Util.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),e?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)}getStrokeHitEnabled(){return 0!==this.hitStrokeWidth()}getSelfRect(){var e=this.size();return{x:this._centroid?-e.width/2:0,y:this._centroid?-e.height/2:0,width:e.width,height:e.height}}getClientRect(e={}){const t=e.skipTransform,n=e.relativeTo,r=this.getSelfRect(),o=!e.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,i=r.width+o,a=r.height+o,l=!e.skipShadow&&this.hasShadow(),s=l?this.shadowOffsetX():0,c=l?this.shadowOffsetY():0,u=i+Math.abs(s),d=a+Math.abs(c),h=l&&this.shadowBlur()||0,f={width:u+2*h,height:d+2*h,x:-(o/2+h)+Math.min(s,0)+r.x,y:-(o/2+h)+Math.min(c,0)+r.y};return t?f:this._transformedRect(f,n)}drawScene(e,t){var n,r,o=this.getLayer(),i=e||o.getCanvas(),a=i.getContext(),l=this._getCanvasCache(),s=this.getSceneFunc(),c=this.hasShadow(),u=i.isCache,d=t===this;if(!this.isVisible()&&!d)return this;if(l){a.save();var h=this.getAbsoluteTransform(t).getMatrix();return a.transform(h[0],h[1],h[2],h[3],h[4],h[5]),this._drawCachedSceneCanvas(a),a.restore(),this}if(!s)return this;if(a.save(),this._useBufferCanvas()&&!u){(r=(n=this.getStage().bufferCanvas).getContext()).clear(),r.save(),r._applyLineJoin(this);var f=this.getAbsoluteTransform(t).getMatrix();r.transform(f[0],f[1],f[2],f[3],f[4],f[5]),s.call(this,r,this),r.restore();var p=n.pixelRatio;c&&a._applyShadow(this),a._applyOpacity(this),a._applyGlobalCompositeOperation(this),a.drawImage(n._canvas,0,0,n.width/p,n.height/p)}else a._applyLineJoin(this),d||(f=this.getAbsoluteTransform(t).getMatrix(),a.transform(f[0],f[1],f[2],f[3],f[4],f[5]),a._applyOpacity(this),a._applyGlobalCompositeOperation(this)),c&&a._applyShadow(this),s.call(this,a,this);return a.restore(),this}drawHit(e,t,n=!1){if(!this.shouldDrawHit(t,n))return this;var r=this.getLayer(),i=e||r.hitCanvas,a=i&&i.getContext(),l=this.hitFunc()||this.sceneFunc(),s=this._getCanvasCache(),c=s&&s.hit;if(this.colorKey||o.Util.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()"),c){a.save();var u=this.getAbsoluteTransform(t).getMatrix();return a.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedHitCanvas(a),a.restore(),this}if(!l)return this;if(a.save(),a._applyLineJoin(this),this!==t){var d=this.getAbsoluteTransform(t).getMatrix();a.transform(d[0],d[1],d[2],d[3],d[4],d[5])}return l.call(this,a,this),a.restore(),this}drawHitFromCache(e=0){var t,n,r,i,a,l=this._getCanvasCache(),s=this._getCachedSceneCanvas(),c=l.hit,u=c.getContext(),d=c.getWidth(),h=c.getHeight();u.clear(),u.drawImage(s._canvas,0,0,d,h);try{for(r=(n=(t=u.getImageData(0,0,d,h)).data).length,i=o.Util._hexToRgb(this.colorKey),a=0;a<r;a+=4)n[a+3]>e?(n[a]=i.r,n[a+1]=i.g,n[a+2]=i.b,n[a+3]=255):n[a+3]=0;u.putImageData(t,0,0)}catch(e){o.Util.error("Unable to draw hit graph from cached scene canvas. "+e.message)}return this}hasPointerCapture(e){return c.hasPointerCapture(e,this)}setPointerCapture(e){c.setPointerCapture(e,this)}releaseCapture(e){c.releaseCapture(e,this)}}t.Shape=g,g.prototype._fillFunc=function(e){const t=this.attrs.fillRule;t?e.fill(t):e.fill()},g.prototype._strokeFunc=function(e){e.stroke()},g.prototype._fillFuncHit=function(e){e.fill()},g.prototype._strokeFuncHit=function(e){e.stroke()},g.prototype._centroid=!1,g.prototype.nodeType="Shape",(0,s._registerNode)(g),g.prototype.eventListeners={},g.prototype.on.call(g.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(u)})),g.prototype.on.call(g.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(d)})),g.prototype.on.call(g.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva fillPatternOffsetXChange.konva fillPatternOffsetYChange.konva fillPatternXChange.konva fillPatternYChange.konva fillPatternRotationChange.konva",(function(){this._clearCache(h)})),g.prototype.on.call(g.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",(function(){this._clearCache(f)})),g.prototype.on.call(g.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",(function(){this._clearCache(p)})),i.Factory.addGetterSetter(g,"stroke",void 0,(0,l.getStringOrGradientValidator)()),i.Factory.addGetterSetter(g,"strokeWidth",2,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillAfterStrokeEnabled",!1),i.Factory.addGetterSetter(g,"hitStrokeWidth","auto",(0,l.getNumberOrAutoValidator)()),i.Factory.addGetterSetter(g,"strokeHitEnabled",!0,(0,l.getBooleanValidator)()),i.Factory.addGetterSetter(g,"perfectDrawEnabled",!0,(0,l.getBooleanValidator)()),i.Factory.addGetterSetter(g,"shadowForStrokeEnabled",!0,(0,l.getBooleanValidator)()),i.Factory.addGetterSetter(g,"lineJoin"),i.Factory.addGetterSetter(g,"lineCap"),i.Factory.addGetterSetter(g,"sceneFunc"),i.Factory.addGetterSetter(g,"hitFunc"),i.Factory.addGetterSetter(g,"dash"),i.Factory.addGetterSetter(g,"dashOffset",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"shadowColor",void 0,(0,l.getStringValidator)()),i.Factory.addGetterSetter(g,"shadowBlur",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"shadowOpacity",1,(0,l.getNumberValidator)()),i.Factory.addComponentsGetterSetter(g,"shadowOffset",["x","y"]),i.Factory.addGetterSetter(g,"shadowOffsetX",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"shadowOffsetY",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillPatternImage"),i.Factory.addGetterSetter(g,"fill",void 0,(0,l.getStringOrGradientValidator)()),i.Factory.addGetterSetter(g,"fillPatternX",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillPatternY",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillLinearGradientColorStops"),i.Factory.addGetterSetter(g,"strokeLinearGradientColorStops"),i.Factory.addGetterSetter(g,"fillRadialGradientStartRadius",0),i.Factory.addGetterSetter(g,"fillRadialGradientEndRadius",0),i.Factory.addGetterSetter(g,"fillRadialGradientColorStops"),i.Factory.addGetterSetter(g,"fillPatternRepeat","repeat"),i.Factory.addGetterSetter(g,"fillEnabled",!0),i.Factory.addGetterSetter(g,"strokeEnabled",!0),i.Factory.addGetterSetter(g,"shadowEnabled",!0),i.Factory.addGetterSetter(g,"dashEnabled",!0),i.Factory.addGetterSetter(g,"strokeScaleEnabled",!0),i.Factory.addGetterSetter(g,"fillPriority","color"),i.Factory.addComponentsGetterSetter(g,"fillPatternOffset",["x","y"]),i.Factory.addGetterSetter(g,"fillPatternOffsetX",0,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillPatternOffsetY",0,(0,l.getNumberValidator)()),i.Factory.addComponentsGetterSetter(g,"fillPatternScale",["x","y"]),i.Factory.addGetterSetter(g,"fillPatternScaleX",1,(0,l.getNumberValidator)()),i.Factory.addGetterSetter(g,"fillPatternScaleY",1,(0,l.getNumberValidator)()),i.Factory.addComponentsGetterSetter(g,"fillLinearGradientStartPoint",["x","y"]),i.Factory.addComponentsGetterSetter(g,"strokeLinearGradientStartPoint",["x","y"]),i.Factory.addGetterSetter(g,"fillLinearGradientStartPointX",0),i.Factory.addGetterSetter(g,"strokeLinearGradientStartPointX",0),i.Factory.addGetterSetter(g,"fillLinearGradientStartPointY",0),i.Factory.addGetterSetter(g,"strokeLinearGradientStartPointY",0),i.Factory.addComponentsGetterSetter(g,"fillLinearGradientEndPoint",["x","y"]),i.Factory.addComponentsGetterSetter(g,"strokeLinearGradientEndPoint",["x","y"]),i.Factory.addGetterSetter(g,"fillLinearGradientEndPointX",0),i.Factory.addGetterSetter(g,"strokeLinearGradientEndPointX",0),i.Factory.addGetterSetter(g,"fillLinearGradientEndPointY",0),i.Factory.addGetterSetter(g,"strokeLinearGradientEndPointY",0),i.Factory.addComponentsGetterSetter(g,"fillRadialGradientStartPoint",["x","y"]),i.Factory.addGetterSetter(g,"fillRadialGradientStartPointX",0),i.Factory.addGetterSetter(g,"fillRadialGradientStartPointY",0),i.Factory.addComponentsGetterSetter(g,"fillRadialGradientEndPoint",["x","y"]),i.Factory.addGetterSetter(g,"fillRadialGradientEndPointX",0),i.Factory.addGetterSetter(g,"fillRadialGradientEndPointY",0),i.Factory.addGetterSetter(g,"fillPatternRotation",0),i.Factory.addGetterSetter(g,"fillRule",void 0,(0,l.getStringValidator)()),i.Factory.backCompat(g,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"})},28342:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stage=t.stages=void 0;const r=n(68588),o=n(1455),i=n(28783),a=n(54417),l=n(34842),s=n(70210),c=n(54417),u=n(98479);var d="mouseleave",h="mouseover",f="mouseenter",p="mousemove",v="mousedown",m="mouseup",g="pointermove",y="pointerdown",b="pointerup",w="pointercancel",_="pointerout",E="pointerleave",x="pointerover",S="pointerenter",O="contextmenu",C="touchstart",M="touchend",z="touchmove",P="touchcancel",T="wheel",A=[[f,"_pointerenter"],[v,"_pointerdown"],[p,"_pointermove"],[m,"_pointerup"],[d,"_pointerleave"],[C,"_pointerdown"],[z,"_pointermove"],[M,"_pointerup"],[P,"_pointercancel"],[h,"_pointerover"],[T,"_wheel"],[O,"_contextmenu"],[y,"_pointerdown"],[g,"_pointermove"],[b,"_pointerup"],[w,"_pointercancel"],["lostpointercapture","_lostpointercapture"]];const L={mouse:{[_]:"mouseout",[E]:d,[x]:h,[S]:f,[g]:p,[y]:v,[b]:m,[w]:"mousecancel",pointerclick:"click",pointerdblclick:"dblclick"},touch:{[_]:"touchout",[E]:"touchleave",[x]:"touchover",[S]:"touchenter",[g]:z,[y]:C,[b]:M,[w]:P,pointerclick:"tap",pointerdblclick:"dbltap"},pointer:{[_]:_,[E]:E,[x]:x,[S]:S,[g]:g,[y]:y,[b]:b,[w]:w,pointerclick:"pointerclick",pointerdblclick:"pointerdblclick"}},k=e=>e.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",N=e=>{const t=k(e);return"pointer"===t?a.Konva.pointerEventsEnabled&&L.pointer:"touch"===t?L.touch:"mouse"===t?L.mouse:void 0};function I(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&r.Util.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}t.stages=[];class R extends i.Container{constructor(e){super(I(e)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),t.stages.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{I(this.attrs)})),this._checkVisibility()}_validateAdd(e){const t="Layer"===e.getType(),n="FastLayer"===e.getType();t||n||r.Util.throw("You may only add layers to the stage.")}_checkVisibility(){if(!this.content)return;const e=this.visible()?"":"none";this.content.style.display=e}setContainer(e){if("string"==typeof e){if("."===e.charAt(0)){var t=e.slice(1);e=document.getElementsByClassName(t)[0]}else{var n;n="#"!==e.charAt(0)?e:e.slice(1),e=document.getElementById(n)}if(!e)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(){var e,t=this.children,n=t.length;for(e=0;e<n;e++)t[e].clear();return this}clone(e){return e||(e={}),e.container="undefined"!=typeof document&&document.createElement("div"),i.Container.prototype.clone.call(this,e)}destroy(){super.destroy();var e=this.content;e&&r.Util._isInDocument(e)&&this.container().removeChild(e);var n=t.stages.indexOf(this);return n>-1&&t.stages.splice(n,1),r.Util.releaseCanvas(this.bufferCanvas._canvas,this.bufferHitCanvas._canvas),this}getPointerPosition(){const e=this._pointerPositions[0]||this._changedPointerPositions[0];return e?{x:e.x,y:e.y}:(r.Util.warn("Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);"),null)}_getPointerById(e){return this._pointerPositions.find((t=>t.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 l.SceneCanvas({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){if(t.isVisible()){var r=t._toKonvaCanvas(e);n.drawImage(r._canvas,e.x,e.y,r.getWidth()/r.getPixelRatio(),r.getHeight()/r.getPixelRatio())}})),t}getIntersection(e){if(!e)return null;var t,n=this.children;for(t=n.length-1;t>=0;t--){const r=n[t].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,...t){if(arguments.length>1){for(var n=0;n<arguments.length;n++)this.add(arguments[n]);return this}super.add(e);var o=this.children.length;return o>5&&r.Util.warn("The stage has "+o+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),a.Konva.isBrowser&&this.content.appendChild(e.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(e){return u.hasPointerCapture(e,this)}setPointerCapture(e){u.setPointerCapture(e,this)}releaseCapture(e){u.releaseCapture(e,this)}getLayers(){return this.children}_bindContentEvents(){a.Konva.isBrowser&&A.forEach((([e,t])=>{this.content.addEventListener(e,(e=>{this[t](e)}),{passive:!1})}))}_pointerenter(e){this.setPointersPositions(e);const t=N(e.type);this._fire(t.pointerenter,{evt:e,target:this,currentTarget:this})}_pointerover(e){this.setPointersPositions(e);const t=N(e.type);this._fire(t.pointerover,{evt:e,target:this,currentTarget:this})}_getTargetShape(e){let t=this[e+"targetShape"];return t&&!t.getStage()&&(t=null),t}_pointerleave(e){const t=N(e.type),n=k(e.type);if(t){this.setPointersPositions(e);var r=this._getTargetShape(n),o=!s.DD.isDragging||a.Konva.hitOnDragEnabled;r&&o?(r._fireAndBubble(t.pointerout,{evt:e}),r._fireAndBubble(t.pointerleave,{evt:e}),this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this[n+"targetShape"]=null):o&&(this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this._fire(t.pointerout,{evt:e,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[]}}_pointerdown(e){const t=N(e.type),n=k(e.type);if(t){this.setPointersPositions(e);var r=!1;this._changedPointerPositions.forEach((o=>{var i=this.getIntersection(o);if(s.DD.justDragged=!1,a.Konva["_"+n+"ListenClick"]=!0,!i||!i.isListening())return;a.Konva.capturePointerEventsEnabled&&i.setPointerCapture(o.id),this[n+"ClickStartShape"]=i,i._fireAndBubble(t.pointerdown,{evt:e,pointerId:o.id}),r=!0;const l=e.type.indexOf("touch")>=0;i.preventDefault()&&e.cancelable&&l&&e.preventDefault()})),r||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(e){const t=N(e.type),n=k(e.type);if(!t)return;if(s.DD.isDragging&&s.DD.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),s.DD.isDragging&&!a.Konva.hitOnDragEnabled)return;var r={};let o=!1;var i=this._getTargetShape(n);this._changedPointerPositions.forEach((a=>{const l=u.getCapturedShape(a.id)||this.getIntersection(a),s=a.id,c={evt:e,pointerId:s};var d=i!==l;if(d&&i&&(i._fireAndBubble(t.pointerout,Object.assign({},c),l),i._fireAndBubble(t.pointerleave,Object.assign({},c),l)),l){if(r[l._id])return;r[l._id]=!0}l&&l.isListening()?(o=!0,d&&(l._fireAndBubble(t.pointerover,Object.assign({},c),i),l._fireAndBubble(t.pointerenter,Object.assign({},c),i),this[n+"targetShape"]=l),l._fireAndBubble(t.pointermove,Object.assign({},c))):i&&(this._fire(t.pointerover,{evt:e,target:this,currentTarget:this,pointerId:s}),this[n+"targetShape"]=null)})),o||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(e){const t=N(e.type),n=k(e.type);if(!t)return;this.setPointersPositions(e);const r=this[n+"ClickStartShape"],o=this[n+"ClickEndShape"];var i={};let l=!1;this._changedPointerPositions.forEach((c=>{const d=u.getCapturedShape(c.id)||this.getIntersection(c);if(d){if(d.releaseCapture(c.id),i[d._id])return;i[d._id]=!0}const h=c.id,f={evt:e,pointerId:h};let p=!1;a.Konva["_"+n+"InDblClickWindow"]?(p=!0,clearTimeout(this[n+"DblTimeout"])):s.DD.justDragged||(a.Konva["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){a.Konva["_"+n+"InDblClickWindow"]=!1}),a.Konva.dblClickWindow),d&&d.isListening()?(l=!0,this[n+"ClickEndShape"]=d,d._fireAndBubble(t.pointerup,Object.assign({},f)),a.Konva["_"+n+"ListenClick"]&&r&&r===d&&(d._fireAndBubble(t.pointerclick,Object.assign({},f)),p&&o&&o===d&&d._fireAndBubble(t.pointerdblclick,Object.assign({},f)))):(this[n+"ClickEndShape"]=null,a.Konva["_"+n+"ListenClick"]&&this._fire(t.pointerclick,{evt:e,target:this,currentTarget:this,pointerId:h}),p&&this._fire(t.pointerdblclick,{evt:e,target:this,currentTarget:this,pointerId:h}))})),l||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),a.Konva["_"+n+"ListenClick"]=!1,e.cancelable&&"touch"!==n&&e.preventDefault()}_contextmenu(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(O,{evt:e}):this._fire(O,{evt:e,target:this,currentTarget:this})}_wheel(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(T,{evt:e}):this._fire(T,{evt:e,target:this,currentTarget:this})}_pointercancel(e){this.setPointersPositions(e);const t=u.getCapturedShape(e.pointerId)||this.getIntersection(this.getPointerPosition());t&&t._fireAndBubble(b,u.createEvent(e)),u.releaseCapture(e.pointerId)}_lostpointercapture(e){u.releaseCapture(e.pointerId)}setPointersPositions(e){var t=this._getContentPosition(),n=null,o=null;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-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})})),Array.prototype.forEach.call(e.changedTouches||e.touches,(e=>{this._changedPointerPositions.push({id:e.identifier,x:(e.clientX-t.left)/t.scaleX,y:(e.clientY-t.top)/t.scaleY})}))):(n=(e.clientX-t.left)/t.scaleX,o=(e.clientY-t.top)/t.scaleY,this.pointerPos={x:n,y:o},this._pointerPositions=[{x:n,y:o,id:r.Util._getFirstPointerId(e)}],this._changedPointerPositions=[{x:n,y:o,id:r.Util._getFirstPointerId(e)}])}_setPointerPosition(e){r.Util.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 l.SceneCanvas({width:this.width(),height:this.height()}),this.bufferHitCanvas=new l.HitCanvas({pixelRatio:1,width:this.width(),height:this.height()}),a.Konva.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 r.Util.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}}t.Stage=R,R.prototype.nodeType="Stage",(0,c._registerNode)(R),o.Factory.addGetterSetter(R,"container")},48017:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Easings=t.Tween=void 0;const r=n(68588),o=n(16745),i=n(77939),a=n(54417);var l={node:1,duration:1,easing:1,onFinish:1,yoyo:1},s=0,c=["fill","stroke","shadowColor"];class u{constructor(e,t,n,r,o,i,a){this.prop=e,this.propFunc=t,this.begin=r,this._pos=r,this.duration=i,this._change=0,this.prevPos=0,this.yoyo=a,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=n,this._change=o-this.begin,this.pause()}fire(e){var t=this[e];t&&t()}setTime(e){e>this.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 d{constructor(e){var n,i,c=this,h=e.node,f=h._id,p=e.easing||t.Easings.Linear,v=!!e.yoyo;n=void 0===e.duration?.3:0===e.duration?.001:e.duration,this.node=h,this._id=s++;var m=h.getLayer()||(h instanceof a.Konva.Stage?h.getLayers():null);for(i in m||r.Util.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new o.Animation((function(){c.tween.onEnterFrame()}),m),this.tween=new u(i,(function(e){c._tweenFunc(e)}),p,0,1,1e3*n,v),this._addListeners(),d.attrs[f]||(d.attrs[f]={}),d.attrs[f][this._id]||(d.attrs[f][this._id]={}),d.tweens[f]||(d.tweens[f]={}),e)void 0===l[i]&&this._addAttr(i,e[i]);this.reset(),this.onFinish=e.onFinish,this.onReset=e.onReset,this.onUpdate=e.onUpdate}_addAttr(e,t){var n,o,i,a,l,s,u,h,f=this.node,p=f._id;if((i=d.tweens[p][e])&&delete d.attrs[p][i][e],n=f.getAttr(e),r.Util._isArray(t))if(o=[],l=Math.max(t.length,n.length),"points"===e&&t.length!==n.length&&(t.length>n.length?(u=n,n=r.Util._prepareArrayForTween(n,t,f.closed())):(s=t,t=r.Util._prepareArrayForTween(t,n,f.closed()))),0===e.indexOf("fill"))for(a=0;a<l;a++)if(a%2==0)o.push(t[a]-n[a]);else{var v=r.Util.colorToRGBA(n[a]);h=r.Util.colorToRGBA(t[a]),n[a]=v,o.push({r:h.r-v.r,g:h.g-v.g,b:h.b-v.b,a:h.a-v.a})}else for(a=0;a<l;a++)o.push(t[a]-n[a]);else-1!==c.indexOf(e)?(n=r.Util.colorToRGBA(n),o={r:(h=r.Util.colorToRGBA(t)).r-n.r,g:h.g-n.g,b:h.b-n.b,a:h.a-n.a}):o=t-n;d.attrs[p][this._id][e]={start:n,diff:o,end:t,trueEnd:s,trueStart:u},d.tweens[p][e]=this._id}_tweenFunc(e){var t,n,o,i,a,l,s,u,h=this.node,f=d.attrs[h._id][this._id];for(t in f){if(o=(n=f[t]).start,i=n.diff,u=n.end,r.Util._isArray(o))if(a=[],s=Math.max(o.length,u.length),0===t.indexOf("fill"))for(l=0;l<s;l++)l%2==0?a.push((o[l]||0)+i[l]*e):a.push("rgba("+Math.round(o[l].r+i[l].r*e)+","+Math.round(o[l].g+i[l].g*e)+","+Math.round(o[l].b+i[l].b*e)+","+(o[l].a+i[l].a*e)+")");else for(l=0;l<s;l++)a.push((o[l]||0)+i[l]*e);else a=-1!==c.indexOf(t)?"rgba("+Math.round(o.r+i.r*e)+","+Math.round(o.g+i.g*e)+","+Math.round(o.b+i.b*e)+","+(o.a+i.a*e)+")":o+i*e;h.setAttr(t,a)}}_addListeners(){this.tween.onPlay=()=>{this.anim.start()},this.tween.onReverse=()=>{this.anim.start()},this.tween.onPause=()=>{this.anim.stop()},this.tween.onFinish=()=>{var e=this.node,t=d.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=d.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=d.tweens[t];for(e in this.pause(),r)delete d.tweens[t][e];delete d.attrs[t][n]}}t.Tween=d,d.attrs={},d.tweens={},i.Node.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()},new d(e).play()},t.Easings={BackEaseIn(e,t,n,r){var o=1.70158;return n*(e/=r)*e*((o+1)*e-o)+t},BackEaseOut(e,t,n,r){var o=1.70158;return n*((e=e/r-1)*e*((o+1)*e+o)+1)+t},BackEaseInOut(e,t,n,r){var o=1.70158;return(e/=r/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+t:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+t},ElasticEaseIn(e,t,n,r,o,i){var a=0;return 0===e?t:1==(e/=r)?t+n:(i||(i=.3*r),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),-o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)+t)},ElasticEaseOut(e,t,n,r,o,i){var a=0;return 0===e?t:1==(e/=r)?t+n:(i||(i=.3*r),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),o*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/i)+n+t)},ElasticEaseInOut(e,t,n,r,o,i){var a=0;return 0===e?t:2==(e/=r/2)?t+n:(i||(i=r*(.3*1.5)),!o||o<Math.abs(n)?(o=n,a=i/4):a=i/(2*Math.PI)*Math.asin(n/o),e<1?o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*-.5+t:o*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*.5+n+t)},BounceEaseOut:(e,t,n,r)=>(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,n,r,o)=>r-t.Easings.BounceEaseOut(o-e,0,r,o)+n,BounceEaseInOut:(e,n,r,o)=>e<o/2?.5*t.Easings.BounceEaseIn(2*e,0,r,o)+n:.5*t.Easings.BounceEaseOut(2*e-o,0,r,o)+.5*r+n,EaseIn:(e,t,n,r)=>n*(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}},68588:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=t.Transform=void 0;const r=n(54417);class o{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 o(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=Math.sin(e),r=this.m[0]*t+this.m[2]*n,o=this.m[1]*t+this.m[3]*n,i=this.m[0]*-n+this.m[2]*t,a=this.m[1]*-n+this.m[3]*t;return this.m[0]=r,this.m[1]=o,this.m[2]=i,this.m[3]=a,this}getTranslation(){return{x:this.m[4],y:this.m[5]}}skew(e,t){var n=this.m[0]+this.m[2]*t,r=this.m[1]+this.m[3]*t,o=this.m[2]+this.m[0]*e,i=this.m[3]+this.m[1]*e;return this.m[0]=n,this.m[1]=r,this.m[2]=o,this.m[3]=i,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],o=this.m[1]*e.m[2]+this.m[3]*e.m[3],i=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4],a=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]=o,this.m[4]=i,this.m[5]=a,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,o=this.m[0]*e,i=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),a=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]=o,this.m[4]=i,this.m[5]=a,this}getMatrix(){return this.m}decompose(){var e=this.m[0],n=this.m[1],r=this.m[2],o=this.m[3],i=e*o-n*r;let a={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=e||0!=n){var l=Math.sqrt(e*e+n*n);a.rotation=n>0?Math.acos(e/l):-Math.acos(e/l),a.scaleX=l,a.scaleY=i/l,a.skewX=(e*r+n*o)/i,a.skewY=0}else if(0!=r||0!=o){var s=Math.sqrt(r*r+o*o);a.rotation=Math.PI/2-(o>0?Math.acos(-r/s):-Math.acos(r/s)),a.scaleX=i/s,a.scaleY=s,a.skewX=0,a.skewY=(e*r+n*o)/i}return a.rotation=t.Util._getRotation(a.rotation),a}}t.Transform=o;var i=Math.PI/180,a=180/Math.PI,l="Konva error: ",s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},c=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,u=[];const d="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||function(e){setTimeout(e,60)};t.Util={_isElement:e=>!(!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){if("string"!=typeof e)return!1;var t=e[0];return"#"===t||"."===t||t===t.toUpperCase()},_sign:e=>0===e||e>0?1:-1,requestAnimFrame(e){u.push(e),1===u.length&&d((function(){const e=u;u=[],e.forEach((function(e){e()}))}))},createCanvasElement(){var e=document.createElement("canvas");try{e.style=e.style||{}}catch(e){}return e},createImageElement:()=>document.createElement("img"),_isInDocument(e){for(;e=e.parentNode;)if(e==document)return!0;return!1},_urlToImage(e,n){var r=t.Util.createImageElement();r.onload=function(){n(r)},r.src=e},_rgbToHex:(e,t,n)=>((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1),_hexToRgb(e){e=e.replace("#","");var t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:255&t}},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 s?{r:(t=s[e])[0],g:t[1],b:t[2]}:"#"===e[0]?this._hexToRgb(e.substring(1)):"rgb("===e.substr(0,4)?(t=c.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",t.Util._namedColorToRBA(e)||t.Util._hex3ColorToRGBA(e)||t.Util._hex4ColorToRGBA(e)||t.Util._hex6ColorToRGBA(e)||t.Util._hex8ColorToRGBA(e)||t.Util._rgbColorToRGBA(e)||t.Util._rgbaColorToRGBA(e)||t.Util._hslColorToRGBA(e)),_namedColorToRBA(e){var t=s[e.toLowerCase()];return t?{r:t[0],g:t[1],b:t[2],a:1}:null},_rgbColorToRGBA(e){if(0===e.indexOf("rgb(")){var t=(e=e.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:1}}},_rgbaColorToRGBA(e){if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(((e,t)=>"%"===e.slice(-1)?3===t?parseInt(e)/100:parseInt(e)/100*255:Number(e)));return{r:t[0],g:t[1],b:t[2],a:t[3]}}},_hex8ColorToRGBA(e){if("#"===e[0]&&9===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:parseInt(e.slice(7,9),16)/255}},_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}},_hex4ColorToRGBA(e){if("#"===e[0]&&5===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:parseInt(e[4]+e[4],16)/255}},_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)){const[t,...n]=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e),r=Number(n[0])/360,o=Number(n[1])/100,i=Number(n[2])/100;let a,l,s;if(0===o)return s=255*i,{r:Math.round(s),g:Math.round(s),b:Math.round(s),a:1};a=i<.5?i*(1+o):i+o-i*o;const c=2*i-a,u=[0,0,0];for(let e=0;e<3;e++)l=r+1/3*-(e-1),l<0&&l++,l>1&&l--,s=6*l<1?c+6*(a-c)*l:2*l<1?a:3*l<2?c+(a-c)*(2/3-l)*6:c,u[e]=255*s;return{r:Math.round(u[0]),g:Math.round(u[1]),b:Math.round(u[2]),a:1}}},haveIntersection:(e,t)=>!(t.x>e.x+e.width||t.x+t.width<e.x||t.y>e.y+e.height||t.y+t.height<e.y),cloneObject(e){var t={};for(var n in e)this._isPlainObject(e[n])?t[n]=this.cloneObject(e[n]):this._isArray(e[n])?t[n]=this.cloneArray(e[n]):t[n]=e[n];return t},cloneArray:e=>e.slice(0),degToRad:e=>e*i,radToDeg:e=>e*a,_degToRad:e=>(t.Util.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),t.Util.degToRad(e)),_radToDeg:e=>(t.Util.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),t.Util.radToDeg(e)),_getRotation:e=>r.Konva.angleDeg?t.Util.radToDeg(e):e,_capitalize:e=>e.charAt(0).toUpperCase()+e.slice(1),throw(e){throw new Error(l+e)},error(e){console.error(l+e)},warn(e){r.Konva.showWarnings&&console.warn("Konva warning: "+e)},each(e,t){for(var n in e)t(n,e[n])},_inRange:(e,t,n)=>t<=e&&e<n,_getProjectionToSegment(e,t,n,r,o,i){var a,l,s,c=(e-n)*(e-n)+(t-r)*(t-r);if(0==c)a=e,l=t,s=(o-n)*(o-n)+(i-r)*(i-r);else{var u=((o-e)*(n-e)+(i-t)*(r-t))/c;u<0?(a=e,l=t,s=(e-o)*(e-o)+(t-i)*(t-i)):u>1?(a=n,l=r,s=(n-o)*(n-o)+(r-i)*(r-i)):s=((a=e+u*(n-e))-o)*(a-o)+((l=t+u*(r-t))-i)*(l-i)}return[a,l,s]},_getProjectionToLine(e,n,r){var o=t.Util.cloneObject(e),i=Number.MAX_VALUE;return n.forEach((function(a,l){if(r||l!==n.length-1){var s=n[(l+1)%n.length],c=t.Util._getProjectionToSegment(a.x,a.y,s.x,s.y,e.x,e.y),u=c[0],d=c[1],h=c[2];h<i&&(o.x=u,o.y=d,i=h)}})),o},_prepareArrayForTween(e,n,r){var o,i=[],a=[];if(e.length>n.length){var l=n;n=e,e=l}for(o=0;o<e.length;o+=2)i.push({x:e[o],y:e[o+1]});for(o=0;o<n.length;o+=2)a.push({x:n[o],y:n[o+1]});var s=[];return a.forEach((function(e){var n=t.Util._getProjectionToLine(e,i,r);s.push(n.x),s.push(n.y)})),s},_prepareToStringify(e){var n;for(var r in e.visitedByCircularReferenceRemoval=!0,e)if(e.hasOwnProperty(r)&&e[r]&&"object"==typeof e[r])if(n=Object.getOwnPropertyDescriptor(e,r),e[r].visitedByCircularReferenceRemoval||t.Util._isElement(e[r])){if(!n.configurable)return null;delete e[r]}else if(null===t.Util._prepareToStringify(e[r])){if(!n.configurable)return null;delete e[r]}return delete e.visitedByCircularReferenceRemoval,e},_assign(e,t){for(var n in t)e[n]=t[n];return e},_getFirstPointerId:e=>e.touches?e.changedTouches[0].identifier:e.pointerId||999,releaseCanvas(...e){r.Konva.releaseCanvasOnDestroy&&e.forEach((e=>{e.width=0,e.height=0}))},drawRoundedRectPath(e,t,n,r){let o=0,i=0,a=0,l=0;"number"==typeof r?o=i=a=l=Math.min(r,t/2,n/2):(o=Math.min(r[0]||0,t/2,n/2),i=Math.min(r[1]||0,t/2,n/2),l=Math.min(r[2]||0,t/2,n/2),a=Math.min(r[3]||0,t/2,n/2)),e.moveTo(o,0),e.lineTo(t-i,0),e.arc(t-i,i,i,3*Math.PI/2,0,!1),e.lineTo(t,n-l),e.arc(t-l,n-l,l,0,Math.PI/2,!1),e.lineTo(a,n),e.arc(a,n-a,a,Math.PI/2,Math.PI,!1),e.lineTo(0,o),e.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}}},53774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getComponentValidator=t.getBooleanValidator=t.getNumberArrayValidator=t.getFunctionValidator=t.getStringOrGradientValidator=t.getStringValidator=t.getNumberOrAutoValidator=t.getNumberOrArrayOfNumbersValidator=t.getNumberValidator=t.alphaComponent=t.RGBComponent=void 0;const r=n(54417),o=n(68588);function i(e){return o.Util._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||o.Util._isBoolean(e)?e:Object.prototype.toString.call(e)}t.RGBComponent=function(e){return e>255?255:e<0?0:Math.round(e)},t.alphaComponent=function(e){return e>1?1:e<1e-4?1e-4:e},t.getNumberValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isNumber(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}},t.getNumberOrArrayOfNumbersValidator=function(e){if(r.Konva.isUnminified)return function(t,n){let r=o.Util._isNumber(t),a=o.Util._isArray(t)&&t.length==e;return r||a||o.Util.warn(i(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+e+")"),t}},t.getNumberOrAutoValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isNumber(e)||"auto"===e||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}},t.getStringValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isString(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}},t.getStringOrGradientValidator=function(){if(r.Konva.isUnminified)return function(e,t){const n=o.Util._isString(e),r="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return n||r||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}},t.getFunctionValidator=function(){if(r.Konva.isUnminified)return function(e,t){return o.Util._isFunction(e)||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a function.'),e}},t.getNumberArrayValidator=function(){if(r.Konva.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(o.Util._isArray(e)?e.forEach((function(e){o.Util._isNumber(e)||o.Util.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}},t.getBooleanValidator=function(){if(r.Konva.isUnminified)return function(e,t){return!0===e||!1===e||o.Util.warn(i(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}},t.getComponentValidator=function(e){if(r.Konva.isUnminified)return function(t,n){return null==t||o.Util.isObject(t)||o.Util.warn(i(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}},3986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Konva=void 0;const r=n(54417),o=n(68588),i=n(77939),a=n(28783),l=n(28342),s=n(44415),c=n(73980),u=n(58985),d=n(70210),h=n(97955),f=n(16745),p=n(48017),v=n(23442),m=n(34842);t.Konva=o.Util._assign(r.Konva,{Util:o.Util,Transform:o.Transform,Node:i.Node,Container:a.Container,Stage:l.Stage,stages:l.stages,Layer:s.Layer,FastLayer:c.FastLayer,Group:u.Group,DD:d.DD,Shape:h.Shape,shapes:h.shapes,Animation:f.Animation,Tween:p.Tween,Easings:p.Easings,Context:v.Context,Canvas:m.Canvas}),t.default=t.Konva},52076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Konva=void 0;const r=n(3986),o=n(90119),i=n(22064),a=n(7643),l=n(30535),s=n(71298),c=n(56067),u=n(27149),d=n(87339),h=n(75244),f=n(31785),p=n(60657),v=n(88986),m=n(71964),g=n(23787),y=n(82831),b=n(29516),w=n(29846),_=n(52527),E=n(6672),x=n(35309),S=n(71695),O=n(89621),C=n(61179),M=n(67194),z=n(3925),P=n(15751),T=n(66588),A=n(73565),L=n(25929),k=n(47233),N=n(18590),I=n(18280),R=n(3438),H=n(36703),V=n(71665),D=n(31863);t.Konva=r.Konva.Util._assign(r.Konva,{Arc:o.Arc,Arrow:i.Arrow,Circle:a.Circle,Ellipse:l.Ellipse,Image:s.Image,Label:c.Label,Tag:c.Tag,Line:u.Line,Path:d.Path,Rect:h.Rect,RegularPolygon:f.RegularPolygon,Ring:p.Ring,Sprite:v.Sprite,Star:m.Star,Text:g.Text,TextPath:y.TextPath,Transformer:b.Transformer,Wedge:w.Wedge,Filters:{Blur:_.Blur,Brighten:E.Brighten,Contrast:x.Contrast,Emboss:S.Emboss,Enhance:O.Enhance,Grayscale:C.Grayscale,HSL:M.HSL,HSV:z.HSV,Invert:P.Invert,Kaleidoscope:T.Kaleidoscope,Mask:A.Mask,Noise:L.Noise,Pixelate:k.Pixelate,Posterize:N.Posterize,RGB:I.RGB,RGBA:R.RGBA,Sepia:H.Sepia,Solarize:V.Solarize,Threshold:D.Threshold}})},52527:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Blur=void 0;const r=n(1455),o=n(77939),i=n(53774);function a(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var l=[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],s=[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];t.Blur=function(e){var t=Math.round(this.blurRadius());t>0&&function(e,t){var n,r,o,i,c,u,d,h,f,p,v,m,g,y,b,w,_,E,x,S,O,C,M,z,P=e.data,T=e.width,A=e.height,L=t+t+1,k=T-1,N=A-1,I=t+1,R=I*(I+1)/2,H=new a,V=null,D=H,j=null,F=null,B=l[t],U=s[t];for(o=1;o<L;o++)D=D.next=new a,o===I&&(V=D);for(D.next=H,d=u=0,r=0;r<A;r++){for(w=_=E=x=h=f=p=v=0,m=I*(S=P[u]),g=I*(O=P[u+1]),y=I*(C=P[u+2]),b=I*(M=P[u+3]),h+=R*S,f+=R*O,p+=R*C,v+=R*M,D=H,o=0;o<I;o++)D.r=S,D.g=O,D.b=C,D.a=M,D=D.next;for(o=1;o<I;o++)i=u+((k<o?k:o)<<2),h+=(D.r=S=P[i])*(z=I-o),f+=(D.g=O=P[i+1])*z,p+=(D.b=C=P[i+2])*z,v+=(D.a=M=P[i+3])*z,w+=S,_+=O,E+=C,x+=M,D=D.next;for(j=H,F=V,n=0;n<T;n++)P[u+3]=M=v*B>>U,0!==M?(M=255/M,P[u]=(h*B>>U)*M,P[u+1]=(f*B>>U)*M,P[u+2]=(p*B>>U)*M):P[u]=P[u+1]=P[u+2]=0,h-=m,f-=g,p-=y,v-=b,m-=j.r,g-=j.g,y-=j.b,b-=j.a,i=d+((i=n+t+1)<k?i:k)<<2,h+=w+=j.r=P[i],f+=_+=j.g=P[i+1],p+=E+=j.b=P[i+2],v+=x+=j.a=P[i+3],j=j.next,m+=S=F.r,g+=O=F.g,y+=C=F.b,b+=M=F.a,w-=S,_-=O,E-=C,x-=M,F=F.next,u+=4;d+=T}for(n=0;n<T;n++){for(_=E=x=w=f=p=v=h=0,m=I*(S=P[u=n<<2]),g=I*(O=P[u+1]),y=I*(C=P[u+2]),b=I*(M=P[u+3]),h+=R*S,f+=R*O,p+=R*C,v+=R*M,D=H,o=0;o<I;o++)D.r=S,D.g=O,D.b=C,D.a=M,D=D.next;for(c=T,o=1;o<=t;o++)u=c+n<<2,h+=(D.r=S=P[u])*(z=I-o),f+=(D.g=O=P[u+1])*z,p+=(D.b=C=P[u+2])*z,v+=(D.a=M=P[u+3])*z,w+=S,_+=O,E+=C,x+=M,D=D.next,o<N&&(c+=T);for(u=n,j=H,F=V,r=0;r<A;r++)P[3+(i=u<<2)]=M=v*B>>U,M>0?(M=255/M,P[i]=(h*B>>U)*M,P[i+1]=(f*B>>U)*M,P[i+2]=(p*B>>U)*M):P[i]=P[i+1]=P[i+2]=0,h-=m,f-=g,p-=y,v-=b,m-=j.r,g-=j.g,y-=j.b,b-=j.a,i=n+((i=r+I)<N?i:N)*T<<2,h+=w+=j.r=P[i],f+=_+=j.g=P[i+1],p+=E+=j.b=P[i+2],v+=x+=j.a=P[i+3],j=j.next,m+=S=F.r,g+=O=F.g,y+=C=F.b,b+=M=F.a,w-=S,_-=O,E-=C,x-=M,F=F.next,u+=T}}(e,t)},r.Factory.addGetterSetter(o.Node,"blurRadius",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},6672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Brighten=void 0;const r=n(1455),o=n(77939),i=n(53774);t.Brighten=function(e){var t,n=255*this.brightness(),r=e.data,o=r.length;for(t=0;t<o;t+=4)r[t]+=n,r[t+1]+=n,r[t+2]+=n},r.Factory.addGetterSetter(o.Node,"brightness",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},35309:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Contrast=void 0;const r=n(1455),o=n(77939),i=n(53774);t.Contrast=function(e){var t,n=Math.pow((this.contrast()+100)/100,2),r=e.data,o=r.length,i=150,a=150,l=150;for(t=0;t<o;t+=4)i=r[t],a=r[t+1],l=r[t+2],i/=255,i-=.5,i*=n,i+=.5,a/=255,a-=.5,a*=n,a+=.5,l/=255,l-=.5,l*=n,l+=.5,i=(i*=255)<0?0:i>255?255:i,a=(a*=255)<0?0:a>255?255:a,l=(l*=255)<0?0:l>255?255:l,r[t]=i,r[t+1]=a,r[t+2]=l},r.Factory.addGetterSetter(o.Node,"contrast",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},71695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emboss=void 0;const r=n(1455),o=n(77939),i=n(68588),a=n(53774);t.Emboss=function(e){var t=10*this.embossStrength(),n=255*this.embossWhiteLevel(),r=this.embossDirection(),o=this.embossBlend(),a=0,l=0,s=e.data,c=e.width,u=e.height,d=4*c,h=u;switch(r){case"top-left":a=-1,l=-1;break;case"top":a=-1,l=0;break;case"top-right":a=-1,l=1;break;case"right":a=0,l=1;break;case"bottom-right":a=1,l=1;break;case"bottom":a=1,l=0;break;case"bottom-left":a=1,l=-1;break;case"left":a=0,l=-1;break;default:i.Util.error("Unknown emboss direction: "+r)}do{var f=(h-1)*d,p=a;h+p<1&&(p=0),h+p>u&&(p=0);var v=(h-1+p)*c*4,m=c;do{var g=f+4*(m-1),y=l;m+y<1&&(y=0),m+y>c&&(y=0);var b=v+4*(m-1+y),w=s[g]-s[b],_=s[g+1]-s[b+1],E=s[g+2]-s[b+2],x=w,S=x>0?x:-x;if((_>0?_:-_)>S&&(x=_),(E>0?E:-E)>S&&(x=E),x*=t,o){var O=s[g]+x,C=s[g+1]+x,M=s[g+2]+x;s[g]=O>255?255:O<0?0:O,s[g+1]=C>255?255:C<0?0:C,s[g+2]=M>255?255:M<0?0:M}else{var z=n-x;z<0?z=0:z>255&&(z=255),s[g]=s[g+1]=s[g+2]=z}}while(--m)}while(--h)},r.Factory.addGetterSetter(o.Node,"embossStrength",.5,(0,a.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossWhiteLevel",.5,(0,a.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossDirection","top-left",null,r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"embossBlend",!1,null,r.Factory.afterSetFilter)},89621:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Enhance=void 0;const r=n(1455),o=n(77939),i=n(53774);function a(e,t,n,r,o){var i=n-t,a=o-r;return 0===i?r+a/2:0===a?r:a*((e-t)/i)+r}t.Enhance=function(e){var t,n,r,o,i=e.data,l=i.length,s=i[0],c=s,u=i[1],d=u,h=i[2],f=h,p=this.enhance();if(0!==p){for(o=0;o<l;o+=4)(t=i[o+0])<s?s=t:t>c&&(c=t),(n=i[o+1])<u?u=n:n>d&&(d=n),(r=i[o+2])<h?h=r:r>f&&(f=r);var v,m,g,y,b,w,_,E,x;for(c===s&&(c=255,s=0),d===u&&(d=255,u=0),f===h&&(f=255,h=0),p>0?(m=c+p*(255-c),g=s-p*(s-0),b=d+p*(255-d),w=u-p*(u-0),E=f+p*(255-f),x=h-p*(h-0)):(m=c+p*(c-(v=.5*(c+s))),g=s+p*(s-v),b=d+p*(d-(y=.5*(d+u))),w=u+p*(u-y),E=f+p*(f-(_=.5*(f+h))),x=h+p*(h-_)),o=0;o<l;o+=4)i[o+0]=a(i[o+0],s,c,g,m),i[o+1]=a(i[o+1],u,d,w,b),i[o+2]=a(i[o+2],h,f,x,E)}},r.Factory.addGetterSetter(o.Node,"enhance",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},61179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Grayscale=void 0,t.Grayscale=function(e){var t,n,r=e.data,o=r.length;for(t=0;t<o;t+=4)n=.34*r[t]+.5*r[t+1]+.16*r[t+2],r[t]=n,r[t+1]=n,r[t+2]=n}},67194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSL=void 0;const r=n(1455),o=n(77939),i=n(53774);r.Factory.addGetterSetter(o.Node,"hue",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"saturation",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"luminance",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),t.HSL=function(e){var t,n,r,o,i,a=e.data,l=a.length,s=Math.pow(2,this.saturation()),c=Math.abs(this.hue()+360)%360,u=127*this.luminance(),d=1*s*Math.cos(c*Math.PI/180),h=1*s*Math.sin(c*Math.PI/180),f=.299+.701*d+.167*h,p=.587-.587*d+.33*h,v=.114-.114*d-.497*h,m=.299-.299*d-.328*h,g=.587+.413*d+.035*h,y=.114-.114*d+.293*h,b=.299-.3*d+1.25*h,w=.587-.586*d-1.05*h,_=.114+.886*d-.2*h;for(t=0;t<l;t+=4)n=a[t+0],r=a[t+1],o=a[t+2],i=a[t+3],a[t+0]=f*n+p*r+v*o+u,a[t+1]=m*n+g*r+y*o+u,a[t+2]=b*n+w*r+_*o+u,a[t+3]=i}},3925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSV=void 0;const r=n(1455),o=n(77939),i=n(53774);t.HSV=function(e){var t,n,r,o,i,a=e.data,l=a.length,s=Math.pow(2,this.value()),c=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,d=s*c*Math.cos(u*Math.PI/180),h=s*c*Math.sin(u*Math.PI/180),f=.299*s+.701*d+.167*h,p=.587*s-.587*d+.33*h,v=.114*s-.114*d-.497*h,m=.299*s-.299*d-.328*h,g=.587*s+.413*d+.035*h,y=.114*s-.114*d+.293*h,b=.299*s-.3*d+1.25*h,w=.587*s-.586*d-1.05*h,_=.114*s+.886*d-.2*h;for(t=0;t<l;t+=4)n=a[t+0],r=a[t+1],o=a[t+2],i=a[t+3],a[t+0]=f*n+p*r+v*o,a[t+1]=m*n+g*r+y*o,a[t+2]=b*n+w*r+_*o,a[t+3]=i},r.Factory.addGetterSetter(o.Node,"hue",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"saturation",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"value",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},15751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Invert=void 0,t.Invert=function(e){var t,n=e.data,r=n.length;for(t=0;t<r;t+=4)n[t]=255-n[t],n[t+1]=255-n[t+1],n[t+2]=255-n[t+2]}},66588:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kaleidoscope=void 0;const r=n(1455),o=n(77939),i=n(68588),a=n(53774);t.Kaleidoscope=function(e){var t,n,r,o,a,l,s,c,u,d=e.width,h=e.height,f=Math.round(this.kaleidoscopePower()),p=Math.round(this.kaleidoscopeAngle()),v=Math.floor(d*(p%360)/360);if(!(f<1)){var m=i.Util.createCanvasElement();m.width=d,m.height=h;var g=m.getContext("2d").getImageData(0,0,d,h);i.Util.releaseCanvas(m),function(e,t,n){var r,o,i,a,l=e.data,s=t.data,c=e.width,u=e.height,d=n.polarCenterX||c/2,h=n.polarCenterY||u/2,f=0,p=0,v=0,m=0,g=Math.sqrt(d*d+h*h);o=c-d,i=u-h,g=(a=Math.sqrt(o*o+i*i))>g?a:g;var y,b,w,_,E=u,x=c,S=360/x*Math.PI/180;for(b=0;b<x;b+=1)for(w=Math.sin(b*S),_=Math.cos(b*S),y=0;y<E;y+=1)o=Math.floor(d+g*y/E*_),f=l[0+(r=4*((i=Math.floor(h+g*y/E*w))*c+o))],p=l[r+1],v=l[r+2],m=l[r+3],s[0+(r=4*(b+y*c))]=f,s[r+1]=p,s[r+2]=v,s[r+3]=m}(e,g,{polarCenterX:d/2,polarCenterY:h/2});for(var y=d/Math.pow(2,f);y<=8;)y*=2,f-=1;var b=y=Math.ceil(y),w=0,_=b,E=1;for(v+y>d&&(w=b,_=0,E=-1),n=0;n<h;n+=1)for(t=w;t!==_;t+=E)c=4*(d*n+Math.round(t+v)%d),o=g.data[c+0],a=g.data[c+1],l=g.data[c+2],s=g.data[c+3],u=4*(d*n+t),g.data[u+0]=o,g.data[u+1]=a,g.data[u+2]=l,g.data[u+3]=s;for(n=0;n<h;n+=1)for(b=Math.floor(y),r=0;r<f;r+=1){for(t=0;t<b+1;t+=1)c=4*(d*n+t),o=g.data[c+0],a=g.data[c+1],l=g.data[c+2],s=g.data[c+3],u=4*(d*n+2*b-t-1),g.data[u+0]=o,g.data[u+1]=a,g.data[u+2]=l,g.data[u+3]=s;b*=2}!function(e,t,n){var r,o,i,a,l,s,c=e.data,u=t.data,d=e.width,h=e.height,f=n.polarCenterX||d/2,p=n.polarCenterY||h/2,v=0,m=0,g=0,y=0,b=Math.sqrt(f*f+p*p);o=d-f,i=h-p,b=(s=Math.sqrt(o*o+i*i))>b?s:b;var w,_,E,x=h,S=d,O=n.polarRotation||0;for(o=0;o<d;o+=1)for(i=0;i<h;i+=1)a=o-f,l=i-p,w=Math.sqrt(a*a+l*l)*x/b,_=(_=(180*Math.atan2(l,a)/Math.PI+360+O)%360)*S/360,E=Math.floor(_),v=c[0+(r=4*(Math.floor(w)*d+E))],m=c[r+1],g=c[r+2],y=c[r+3],u[0+(r=4*(i*d+o))]=v,u[r+1]=m,u[r+2]=g,u[r+3]=y}(g,e,{polarRotation:0})}},r.Factory.addGetterSetter(o.Node,"kaleidoscopePower",2,(0,a.getNumberValidator)(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"kaleidoscopeAngle",0,(0,a.getNumberValidator)(),r.Factory.afterSetFilter)},73565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mask=void 0;const r=n(1455),o=n(77939),i=n(53774);function a(e,t,n){var r=4*(n*e.width+t),o=[];return o.push(e.data[r++],e.data[r++],e.data[r++],e.data[r++]),o}function l(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))}t.Mask=function(e){var t=function(e,t){var n=a(e,0,0),r=a(e,e.width-1,0),o=a(e,0,e.height-1),i=a(e,e.width-1,e.height-1),s=t||10;if(l(n,r)<s&&l(r,i)<s&&l(i,o)<s&&l(o,n)<s){for(var c=function(e){for(var t=[0,0,0],n=0;n<e.length;n++)t[0]+=e[n][0],t[1]+=e[n][1],t[2]+=e[n][2];return t[0]/=e.length,t[1]/=e.length,t[2]/=e.length,t}([r,n,i,o]),u=[],d=0;d<e.width*e.height;d++){var h=l(c,[e.data[4*d],e.data[4*d+1],e.data[4*d+2]]);u[d]=h<s?0:255}return u}}(e,this.threshold());return t&&function(e,t){for(var n=0;n<e.width*e.height;n++)e.data[4*n+3]=t[n]}(e,t=function(e,t,n){for(var r=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,d=0;d<o;d++)for(var h=0;h<o;h++){var f=l+d-i,p=s+h-i;if(f>=0&&f<n&&p>=0&&p<t){var v=r[d*o+h];u+=e[f*t+p]*v}}a[c]=u}return a}(t=function(e,t,n){for(var r=[1,1,1,1,1,1,1,1,1],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,d=0;d<o;d++)for(var h=0;h<o;h++){var f=l+d-i,p=s+h-i;if(f>=0&&f<n&&p>=0&&p<t){var v=r[d*o+h];u+=e[f*t+p]*v}}a[c]=u>=1020?255:0}return a}(t=function(e,t,n){for(var r=[1,1,1,1,0,1,1,1,1],o=Math.round(Math.sqrt(r.length)),i=Math.floor(o/2),a=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,d=0;d<o;d++)for(var h=0;h<o;h++){var f=l+d-i,p=s+h-i;if(f>=0&&f<n&&p>=0&&p<t){var v=r[d*o+h];u+=e[f*t+p]*v}}a[c]=2040===u?255:0}return a}(t,e.width,e.height),e.width,e.height),e.width,e.height)),e},r.Factory.addGetterSetter(o.Node,"threshold",0,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},25929:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Noise=void 0;const r=n(1455),o=n(77939),i=n(53774);t.Noise=function(e){var t,n=255*this.noise(),r=e.data,o=r.length,i=n/2;for(t=0;t<o;t+=4)r[t+0]+=i-2*i*Math.random(),r[t+1]+=i-2*i*Math.random(),r[t+2]+=i-2*i*Math.random()},r.Factory.addGetterSetter(o.Node,"noise",.2,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},47233:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pixelate=void 0;const r=n(1455),o=n(68588),i=n(77939),a=n(53774);t.Pixelate=function(e){var t,n,r,i,a,l,s,c,u,d,h,f,p,v,m=Math.ceil(this.pixelSize()),g=e.width,y=e.height,b=Math.ceil(g/m),w=Math.ceil(y/m),_=e.data;if(m<=0)o.Util.error("pixelSize value can not be <= 0");else for(f=0;f<b;f+=1)for(p=0;p<w;p+=1){for(i=0,a=0,l=0,s=0,u=(c=f*m)+m,h=(d=p*m)+m,v=0,t=c;t<u;t+=1)if(!(t>=g))for(n=d;n<h;n+=1)n>=y||(i+=_[0+(r=4*(g*n+t))],a+=_[r+1],l+=_[r+2],s+=_[r+3],v+=1);for(i/=v,a/=v,l/=v,s/=v,t=c;t<u;t+=1)if(!(t>=g))for(n=d;n<h;n+=1)n>=y||(_[0+(r=4*(g*n+t))]=i,_[r+1]=a,_[r+2]=l,_[r+3]=s)}},r.Factory.addGetterSetter(i.Node,"pixelSize",8,(0,a.getNumberValidator)(),r.Factory.afterSetFilter)},18590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Posterize=void 0;const r=n(1455),o=n(77939),i=n(53774);t.Posterize=function(e){var t,n=Math.round(254*this.levels())+1,r=e.data,o=r.length,i=255/n;for(t=0;t<o;t+=1)r[t]=Math.floor(r[t]/i)*i},r.Factory.addGetterSetter(o.Node,"levels",.5,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},18280:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGB=void 0;const r=n(1455),o=n(77939),i=n(53774);t.RGB=function(e){var t,n,r=e.data,o=r.length,i=this.red(),a=this.green(),l=this.blue();for(t=0;t<o;t+=4)n=(.34*r[t]+.5*r[t+1]+.16*r[t+2])/255,r[t]=n*i,r[t+1]=n*a,r[t+2]=n*l,r[t+3]=r[t+3]},r.Factory.addGetterSetter(o.Node,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"blue",0,i.RGBComponent,r.Factory.afterSetFilter)},3438:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGBA=void 0;const r=n(1455),o=n(77939),i=n(53774);t.RGBA=function(e){var t,n,r=e.data,o=r.length,i=this.red(),a=this.green(),l=this.blue(),s=this.alpha();for(t=0;t<o;t+=4)n=1-s,r[t]=i*s+r[t]*n,r[t+1]=a*s+r[t+1]*n,r[t+2]=l*s+r[t+2]*n},r.Factory.addGetterSetter(o.Node,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),r.Factory.addGetterSetter(o.Node,"blue",0,i.RGBComponent,r.Factory.afterSetFilter),r.Factory.addGetterSetter(o.Node,"alpha",1,(function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e}))},36703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sepia=void 0,t.Sepia=function(e){var t,n,r,o,i=e.data,a=i.length;for(t=0;t<a;t+=4)n=i[t+0],r=i[t+1],o=i[t+2],i[t+0]=Math.min(255,.393*n+.769*r+.189*o),i[t+1]=Math.min(255,.349*n+.686*r+.168*o),i[t+2]=Math.min(255,.272*n+.534*r+.131*o)}},71665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Solarize=void 0,t.Solarize=function(e){var t=e.data,n=e.width,r=4*n,o=e.height;do{var i=(o-1)*r,a=n;do{var l=i+4*(a-1),s=t[l],c=t[l+1],u=t[l+2];s>127&&(s=255-s),c>127&&(c=255-c),u>127&&(u=255-u),t[l]=s,t[l+1]=c,t[l+2]=u}while(--a)}while(--o)}},31863:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Threshold=void 0;const r=n(1455),o=n(77939),i=n(53774);t.Threshold=function(e){var t,n=255*this.threshold(),r=e.data,o=r.length;for(t=0;t<o;t+=1)r[t]=r[t]<n?0:255},r.Factory.addGetterSetter(o.Node,"threshold",.5,(0,i.getNumberValidator)(),r.Factory.afterSetFilter)},20185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(52076);e.exports=r.Konva},90119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Arc=void 0;const r=n(1455),o=n(97955),i=n(54417),a=n(53774),l=n(54417);class s extends o.Shape{_sceneFunc(e){var t=i.Konva.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(){const e=this.innerRadius(),t=this.outerRadius(),n=this.clockwise(),r=i.Konva.getAngle(n?360-this.angle():this.angle()),o=Math.cos(Math.min(r,Math.PI)),a=Math.sin(Math.min(Math.max(Math.PI,r),3*Math.PI/2)),l=Math.sin(Math.min(r,Math.PI/2)),s=o*(o>0?e:t),c=a*(a>0?e:t),u=l*(l>0?t:e);return{x:s,y:n?-1*u:c,width:1*t-s,height:u-c}}}t.Arc=s,s.prototype._centroid=!0,s.prototype.className="Arc",s.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,l._registerNode)(s),r.Factory.addGetterSetter(s,"innerRadius",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"outerRadius",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"angle",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"clockwise",!1,(0,a.getBooleanValidator)())},22064:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const r=n(1455),o=n(27149),i=n(53774),a=n(54417),l=n(87339);class s extends o.Line{_sceneFunc(e){super._sceneFunc(e);var t=2*Math.PI,n=this.points(),r=n,o=0!==this.tension()&&n.length>4;o&&(r=this.getTensionPoints());var i,a,s=this.pointerLength(),c=n.length;if(o){const e=[r[r.length-4],r[r.length-3],r[r.length-2],r[r.length-1],n[c-2],n[c-1]],t=l.Path.calcLength(r[r.length-4],r[r.length-3],"C",e),o=l.Path.getPointOnQuadraticBezier(Math.min(1,1-s/t),e[0],e[1],e[2],e[3],e[4],e[5]);i=n[c-2]-o.x,a=n[c-1]-o.y}else i=n[c-2]-n[c-4],a=n[c-1]-n[c-3];var u=(Math.atan2(a,i)+t)%t,d=this.pointerWidth();this.pointerAtEnding()&&(e.save(),e.beginPath(),e.translate(n[c-2],n[c-1]),e.rotate(u),e.moveTo(0,0),e.lineTo(-s,d/2),e.lineTo(-s,-d/2),e.closePath(),e.restore(),this.__fillStroke(e)),this.pointerAtBeginning()&&(e.save(),e.beginPath(),e.translate(n[0],n[1]),o?(i=(r[0]+r[2])/2-n[0],a=(r[1]+r[3])/2-n[1]):(i=n[2]-n[0],a=n[3]-n[1]),e.rotate((Math.atan2(-a,-i)+t)%t),e.moveTo(0,0),e.lineTo(-s,d/2),e.lineTo(-s,-d/2),e.closePath(),e.restore(),this.__fillStroke(e))}__fillStroke(e){var t=this.dashEnabled();t&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),t&&(this.attrs.dashEnabled=!0)}getSelfRect(){const e=super.getSelfRect(),t=this.pointerWidth()/2;return{x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t}}}t.Arrow=s,s.prototype.className="Arrow",(0,a._registerNode)(s),r.Factory.addGetterSetter(s,"pointerLength",10,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"pointerWidth",10,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"pointerAtBeginning",!1),r.Factory.addGetterSetter(s,"pointerAtEnding",!0)},7643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);class l extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius()!==e/2&&this.radius(e/2)}setHeight(e){this.radius()!==e/2&&this.radius(e/2)}}t.Circle=l,l.prototype._centroid=!0,l.prototype.className="Circle",l.prototype._attrsAffectingSize=["radius"],(0,a._registerNode)(l),r.Factory.addGetterSetter(l,"radius",0,(0,i.getNumberValidator)())},30535:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ellipse=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);class l extends o.Shape{_sceneFunc(e){var t=this.radiusX(),n=this.radiusY();e.beginPath(),e.save(),t!==n&&e.scale(1,n/t),e.arc(0,0,t,0,2*Math.PI,!1),e.restore(),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radiusX()}getHeight(){return 2*this.radiusY()}setWidth(e){this.radiusX(e/2)}setHeight(e){this.radiusY(e/2)}}t.Ellipse=l,l.prototype.className="Ellipse",l.prototype._centroid=!0,l.prototype._attrsAffectingSize=["radiusX","radiusY"],(0,a._registerNode)(l),r.Factory.addComponentsGetterSetter(l,"radius",["x","y"]),r.Factory.addGetterSetter(l,"radiusX",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(l,"radiusY",0,(0,i.getNumberValidator)())},71298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;const r=n(68588),o=n(1455),i=n(97955),a=n(54417),l=n(53774);class s extends i.Shape{constructor(e){super(e),this.on("imageChange.konva",(()=>{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){const t=this.getWidth(),n=this.getHeight(),o=this.cornerRadius(),i=this.attrs.image;let a;if(i){const e=this.attrs.cropWidth,r=this.attrs.cropHeight;a=e&&r?[i,this.cropX(),this.cropY(),e,r,0,0,t,n]:[i,0,0,t,n]}(this.hasFill()||this.hasStroke()||o)&&(e.beginPath(),o?r.Util.drawRoundedRectPath(e,t,n,o):e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)),i&&(o&&e.clip(),e.drawImage.apply(e,a))}_hitFunc(e){var t=this.width(),n=this.height(),o=this.cornerRadius();e.beginPath(),o?r.Util.drawRoundedRectPath(e,t,n,o):e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}getWidth(){var e,t;return null!==(e=this.attrs.width)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.width}getHeight(){var e,t;return null!==(e=this.attrs.height)&&void 0!==e?e:null===(t=this.image())||void 0===t?void 0:t.height}static fromURL(e,t,n=null){var o=r.Util.createImageElement();o.onload=function(){var e=new s({image:o});t(e)},o.onerror=n,o.crossOrigin="Anonymous",o.src=e}}t.Image=s,s.prototype.className="Image",(0,a._registerNode)(s),o.Factory.addGetterSetter(s,"cornerRadius",0,(0,l.getNumberOrArrayOfNumbersValidator)(4)),o.Factory.addGetterSetter(s,"image"),o.Factory.addComponentsGetterSetter(s,"crop",["x","y","width","height"]),o.Factory.addGetterSetter(s,"cropX",0,(0,l.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropY",0,(0,l.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropWidth",0,(0,l.getNumberValidator)()),o.Factory.addGetterSetter(s,"cropHeight",0,(0,l.getNumberValidator)())},56067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=t.Label=void 0;const r=n(1455),o=n(97955),i=n(58985),a=n(53774),l=n(54417);var s=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],c="up",u="right",d="down",h="left",f=s.length;class p extends i.Group{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){var t,n=this,r=function(){n._sync()};for(t=0;t<f;t++)e.on(s[t]+"Change.konva",r)}getWidth(){return this.getText().width()}getHeight(){return this.getText().height()}_sync(){var e,t,n,r,o,i,a,l=this.getText(),s=this.getTag();if(l&&s){switch(e=l.width(),t=l.height(),n=s.pointerDirection(),r=s.pointerWidth(),a=s.pointerHeight(),o=0,i=0,n){case c:o=e/2,i=-1*a;break;case u:o=e+r,i=t/2;break;case d:o=e/2,i=t+a;break;case h:o=-1*r,i=t/2}s.setAttrs({x:-1*o,y:-1*i,width:e,height:t}),l.setAttrs({x:-1*o,y:-1*i})}}}t.Label=p,p.prototype.className="Label",(0,l._registerNode)(p);class v extends o.Shape{_sceneFunc(e){var t=this.width(),n=this.height(),r=this.pointerDirection(),o=this.pointerWidth(),i=this.pointerHeight(),a=this.cornerRadius();let l=0,s=0,f=0,p=0;"number"==typeof a?l=s=f=p=Math.min(a,t/2,n/2):(l=Math.min(a[0]||0,t/2,n/2),s=Math.min(a[1]||0,t/2,n/2),p=Math.min(a[2]||0,t/2,n/2),f=Math.min(a[3]||0,t/2,n/2)),e.beginPath(),e.moveTo(l,0),r===c&&(e.lineTo((t-o)/2,0),e.lineTo(t/2,-1*i),e.lineTo((t+o)/2,0)),e.lineTo(t-s,0),e.arc(t-s,s,s,3*Math.PI/2,0,!1),r===u&&(e.lineTo(t,(n-i)/2),e.lineTo(t+o,n/2),e.lineTo(t,(n+i)/2)),e.lineTo(t,n-p),e.arc(t-p,n-p,p,0,Math.PI/2,!1),r===d&&(e.lineTo((t+o)/2,n),e.lineTo(t/2,n+i),e.lineTo((t-o)/2,n)),e.lineTo(f,n),e.arc(f,n-f,f,Math.PI/2,Math.PI,!1),r===h&&(e.lineTo(0,(n+i)/2),e.lineTo(-1*o,n/2),e.lineTo(0,(n-i)/2)),e.lineTo(0,l),e.arc(l,l,l,Math.PI,3*Math.PI/2,!1),e.closePath(),e.fillStrokeShape(this)}getSelfRect(){var e=0,t=0,n=this.pointerWidth(),r=this.pointerHeight(),o=this.pointerDirection(),i=this.width(),a=this.height();return o===c?(t-=r,a+=r):o===d?a+=r:o===h?(e-=1.5*n,i+=n):o===u&&(i+=1.5*n),{x:e,y:t,width:i,height:a}}}t.Tag=v,v.prototype.className="Tag",(0,l._registerNode)(v),r.Factory.addGetterSetter(v,"pointerDirection","none"),r.Factory.addGetterSetter(v,"pointerWidth",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(v,"pointerHeight",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(v,"cornerRadius",0,(0,a.getNumberOrArrayOfNumbersValidator)(4))},27149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);function l(e,t,n,r,o,i,a){var l=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),s=Math.sqrt(Math.pow(o-n,2)+Math.pow(i-r,2)),c=a*l/(l+s),u=a*s/(l+s);return[n-c*(o-e),r-c*(i-t),n+u*(o-e),r+u*(i-t)]}function s(e,t){var n,r,o=e.length,i=[];for(n=2;n<o-2;n+=2)r=l(e[n-2],e[n-1],e[n],e[n+1],e[n+2],e[n+3],t),isNaN(r[0])||(i.push(r[0]),i.push(r[1]),i.push(e[n]),i.push(e[n+1]),i.push(r[2]),i.push(r[3]));return i}class c extends o.Shape{constructor(e){super(e),this.on("pointsChange.konva tensionChange.konva closedChange.konva bezierChange.konva",(function(){this._clearCache("tensionPoints")}))}_sceneFunc(e){var t,n,r,o=this.points(),i=o.length,a=this.tension(),l=this.closed(),s=this.bezier();if(i){if(e.beginPath(),e.moveTo(o[0],o[1]),0!==a&&i>4){for(n=(t=this.getTensionPoints()).length,r=l?0:4,l||e.quadraticCurveTo(t[0],t[1],t[2],t[3]);r<n-2;)e.bezierCurveTo(t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);l||e.quadraticCurveTo(t[n-2],t[n-1],o[i-2],o[i-1])}else if(s)for(r=2;r<i;)e.bezierCurveTo(o[r++],o[r++],o[r++],o[r++],o[r++],o[r++]);else for(r=2;r<i;r+=2)e.lineTo(o[r],o[r+1]);l?(e.closePath(),e.fillStrokeShape(this)):e.strokeShape(this)}}getTensionPoints(){return this._getCache("tensionPoints",this._getTensionPoints)}_getTensionPoints(){return this.closed()?this._getTensionPointsClosed():s(this.points(),this.tension())}_getTensionPointsClosed(){var e=this.points(),t=e.length,n=this.tension(),r=l(e[t-2],e[t-1],e[0],e[1],e[2],e[3],n),o=l(e[t-4],e[t-3],e[t-2],e[t-1],e[0],e[1],n),i=s(e,n);return[r[2],r[3]].concat(i).concat([o[0],o[1],e[t-2],e[t-1],o[2],o[3],r[0],r[1],e[0],e[1]])}getWidth(){return this.getSelfRect().width}getHeight(){return this.getSelfRect().height}getSelfRect(){var e=this.points();if(e.length<4)return{x:e[0]||0,y:e[1]||0,width:0,height:0};for(var t,n,r=(e=0!==this.tension()?[e[0],e[1],...this._getTensionPoints(),e[e.length-2],e[e.length-1]]:this.points())[0],o=e[0],i=e[1],a=e[1],l=0;l<e.length/2;l++)t=e[2*l],n=e[2*l+1],r=Math.min(r,t),o=Math.max(o,t),i=Math.min(i,n),a=Math.max(a,n);return{x:r,y:i,width:o-r,height:a-i}}}t.Line=c,c.prototype.className="Line",c.prototype._attrsAffectingSize=["points","bezier","tension"],(0,a._registerNode)(c),r.Factory.addGetterSetter(c,"closed",!1),r.Factory.addGetterSetter(c,"bezier",!1),r.Factory.addGetterSetter(c,"tension",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(c,"points",[],(0,i.getNumberArrayValidator)())},87339:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Path=void 0;const r=n(1455),o=n(97955),i=n(54417),a=n(54135);class l extends o.Shape{constructor(e){super(e),this.dataArray=[],this.pathLength=0,this._readDataAttribute(),this.on("dataChange.konva",(function(){this._readDataAttribute()}))}_readDataAttribute(){this.dataArray=l.parsePathData(this.data()),this.pathLength=l.getPathLength(this.dataArray)}_sceneFunc(e){var t=this.dataArray;e.beginPath();for(var n=!1,r=0;r<t.length;r++){var o=t[r].command,i=t[r].points;switch(o){case"L":e.lineTo(i[0],i[1]);break;case"M":e.moveTo(i[0],i[1]);break;case"C":e.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case"Q":e.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case"A":var a=i[0],l=i[1],s=i[2],c=i[3],u=i[4],d=i[5],h=i[6],f=i[7],p=s>c?s:c,v=s>c?1:s/c,m=s>c?c/s:1;e.translate(a,l),e.rotate(h),e.scale(v,m),e.arc(0,0,p,u,u+d,1-f),e.scale(1/v,1/m),e.rotate(-h),e.translate(-a,-l);break;case"z":n=!0,e.closePath()}}n||this.hasFill()?e.fillStrokeShape(this):e.strokeShape(this)}getSelfRect(){var e=[];this.dataArray.forEach((function(t){if("A"===t.command){var n=t.points[4],r=t.points[5],o=t.points[4]+r,i=Math.PI/180;if(Math.abs(n-o)<i&&(i=Math.abs(n-o)),r<0)for(let r=n-i;r>o;r-=i){const n=l.getPointOnEllipticalArc(t.points[0],t.points[1],t.points[2],t.points[3],r,0);e.push(n.x,n.y)}else for(let r=n+i;r<o;r+=i){const n=l.getPointOnEllipticalArc(t.points[0],t.points[1],t.points[2],t.points[3],r,0);e.push(n.x,n.y)}}else if("C"===t.command)for(let n=0;n<=1;n+=.01){const r=l.getPointOnCubicBezier(n,t.start.x,t.start.y,t.points[0],t.points[1],t.points[2],t.points[3],t.points[4],t.points[5]);e.push(r.x,r.y)}else e=e.concat(t.points)}));for(var t,n,r=e[0],o=e[0],i=e[1],a=e[1],s=0;s<e.length/2;s++)t=e[2*s],n=e[2*s+1],isNaN(t)||(r=Math.min(r,t),o=Math.max(o,t)),isNaN(n)||(i=Math.min(i,n),a=Math.max(a,n));return{x:r,y:i,width:o-r,height:a-i}}getLength(){return this.pathLength}getPointAtLength(e){return l.getPointAtLengthOfDataArray(e,this.dataArray)}static getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}static getPathLength(e){let t=0;for(var n=0;n<e.length;++n)t+=e[n].pathLength;return t}static getPointAtLengthOfDataArray(e,t){var n,r=0,o=t.length;if(!o)return null;for(;r<o&&e>t[r].pathLength;)e-=t[r].pathLength,++r;if(r===o)return{x:(n=t[r-1].points.slice(-2))[0],y:n[1]};if(e<.01)return{x:(n=t[r].points.slice(0,2))[0],y:n[1]};var i=t[r],s=i.points;switch(i.command){case"L":return l.getPointOnLine(e,i.start.x,i.start.y,s[0],s[1]);case"C":return l.getPointOnCubicBezier((0,a.t2length)(e,l.getPathLength(t),(e=>(0,a.getCubicArcLength)([i.start.x,s[0],s[2],s[4]],[i.start.y,s[1],s[3],s[5]],e))),i.start.x,i.start.y,s[0],s[1],s[2],s[3],s[4],s[5]);case"Q":return l.getPointOnQuadraticBezier((0,a.t2length)(e,l.getPathLength(t),(e=>(0,a.getQuadraticArcLength)([i.start.x,s[0],s[2]],[i.start.y,s[1],s[3]],e))),i.start.x,i.start.y,s[0],s[1],s[2],s[3]);case"A":var c=s[0],u=s[1],d=s[2],h=s[3],f=s[4],p=s[5],v=s[6];return f+=p*e/i.pathLength,l.getPointOnEllipticalArc(c,u,d,h,f,v)}return null}static getPointOnLine(e,t,n,r,o,i,a){void 0===i&&(i=t),void 0===a&&(a=n);var l=(o-n)/(r-t+1e-8),s=Math.sqrt(e*e/(1+l*l));r<t&&(s*=-1);var c,u=l*s;if(r===t)c={x:i,y:a+u};else if((a-n)/(i-t+1e-8)===l)c={x:i+s,y:a+u};else{var d,h,f=this.getLineLength(t,n,r,o),p=(i-t)*(r-t)+(a-n)*(o-n);d=t+(p/=f*f)*(r-t),h=n+p*(o-n);var v=this.getLineLength(i,a,d,h),m=Math.sqrt(e*e-v*v);s=Math.sqrt(m*m/(1+l*l)),r<t&&(s*=-1),c={x:d+s,y:h+(u=l*s)}}return c}static getPointOnCubicBezier(e,t,n,r,o,i,a,l,s){function c(e){return e*e*e}function u(e){return 3*e*e*(1-e)}function d(e){return 3*e*(1-e)*(1-e)}function h(e){return(1-e)*(1-e)*(1-e)}return{x:l*c(e)+i*u(e)+r*d(e)+t*h(e),y:s*c(e)+a*u(e)+o*d(e)+n*h(e)}}static getPointOnQuadraticBezier(e,t,n,r,o,i,a){function l(e){return e*e}function s(e){return 2*e*(1-e)}function c(e){return(1-e)*(1-e)}return{x:i*l(e)+r*s(e)+t*c(e),y:a*l(e)+o*s(e)+n*c(e)}}static getPointOnEllipticalArc(e,t,n,r,o,i){var a=Math.cos(i),l=Math.sin(i),s=n*Math.cos(o),c=r*Math.sin(o);return{x:e+(s*a-c*l),y:t+(s*l+c*a)}}static parsePathData(e){if(!e)return[];var t=e,n=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];t=t.replace(new RegExp(" ","g"),",");for(var r=0;r<n.length;r++)t=t.replace(new RegExp(n[r],"g"),"|"+n[r]);var o,i=t.split("|"),a=[],l=[],s=0,c=0,u=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(r=1;r<i.length;r++){var d=i[r],h=d.charAt(0);for(d=d.slice(1),l.length=0;o=u.exec(d);)l.push(o[0]);for(var f=[],p=0,v=l.length;p<v;p++)if("00"!==l[p]){var m=parseFloat(l[p]);isNaN(m)?f.push(0):f.push(m)}else f.push(0,0);for(;f.length>0&&!isNaN(f[0]);){var g,y,b,w,_,E,x,S,O,C,M=null,z=[],P=s,T=c;switch(h){case"l":s+=f.shift(),c+=f.shift(),M="L",z.push(s,c);break;case"L":s=f.shift(),c=f.shift(),z.push(s,c);break;case"m":var A=f.shift(),L=f.shift();if(s+=A,c+=L,M="M",a.length>2&&"z"===a[a.length-1].command)for(var k=a.length-2;k>=0;k--)if("M"===a[k].command){s=a[k].points[0]+A,c=a[k].points[1]+L;break}z.push(s,c),h="l";break;case"M":s=f.shift(),c=f.shift(),M="M",z.push(s,c),h="L";break;case"h":s+=f.shift(),M="L",z.push(s,c);break;case"H":s=f.shift(),M="L",z.push(s,c);break;case"v":c+=f.shift(),M="L",z.push(s,c);break;case"V":c=f.shift(),M="L",z.push(s,c);break;case"C":z.push(f.shift(),f.shift(),f.shift(),f.shift()),s=f.shift(),c=f.shift(),z.push(s,c);break;case"c":z.push(s+f.shift(),c+f.shift(),s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),M="C",z.push(s,c);break;case"S":y=s,b=c,"C"===(g=a[a.length-1]).command&&(y=s+(s-g.points[2]),b=c+(c-g.points[3])),z.push(y,b,f.shift(),f.shift()),s=f.shift(),c=f.shift(),M="C",z.push(s,c);break;case"s":y=s,b=c,"C"===(g=a[a.length-1]).command&&(y=s+(s-g.points[2]),b=c+(c-g.points[3])),z.push(y,b,s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),M="C",z.push(s,c);break;case"Q":z.push(f.shift(),f.shift()),s=f.shift(),c=f.shift(),z.push(s,c);break;case"q":z.push(s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),M="Q",z.push(s,c);break;case"T":y=s,b=c,"Q"===(g=a[a.length-1]).command&&(y=s+(s-g.points[0]),b=c+(c-g.points[1])),s=f.shift(),c=f.shift(),M="Q",z.push(y,b,s,c);break;case"t":y=s,b=c,"Q"===(g=a[a.length-1]).command&&(y=s+(s-g.points[0]),b=c+(c-g.points[1])),s+=f.shift(),c+=f.shift(),M="Q",z.push(y,b,s,c);break;case"A":w=f.shift(),_=f.shift(),E=f.shift(),x=f.shift(),S=f.shift(),O=s,C=c,s=f.shift(),c=f.shift(),M="A",z=this.convertEndpointToCenterParameterization(O,C,s,c,x,S,w,_,E);break;case"a":w=f.shift(),_=f.shift(),E=f.shift(),x=f.shift(),S=f.shift(),O=s,C=c,s+=f.shift(),c+=f.shift(),M="A",z=this.convertEndpointToCenterParameterization(O,C,s,c,x,S,w,_,E)}a.push({command:M||h,points:z,start:{x:P,y:T},pathLength:this.calcLength(P,T,M||h,z)})}"z"!==h&&"Z"!==h||a.push({command:"z",points:[],start:void 0,pathLength:0})}return a}static calcLength(e,t,n,r){var o,i,s,c,u=l;switch(n){case"L":return u.getLineLength(e,t,r[0],r[1]);case"C":return(0,a.getCubicArcLength)([e,r[0],r[2],r[4]],[t,r[1],r[3],r[5]],1);case"Q":return(0,a.getQuadraticArcLength)([e,r[0],r[2]],[t,r[1],r[3]],1);case"A":o=0;var d=r[4],h=r[5],f=r[4]+h,p=Math.PI/180;if(Math.abs(d-f)<p&&(p=Math.abs(d-f)),i=u.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],d,0),h<0)for(c=d-p;c>f;c-=p)s=u.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],c,0),o+=u.getLineLength(i.x,i.y,s.x,s.y),i=s;else for(c=d+p;c<f;c+=p)s=u.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],c,0),o+=u.getLineLength(i.x,i.y,s.x,s.y),i=s;return s=u.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],f,0),o+u.getLineLength(i.x,i.y,s.x,s.y)}return 0}static convertEndpointToCenterParameterization(e,t,n,r,o,i,a,l,s){var c=s*(Math.PI/180),u=Math.cos(c)*(e-n)/2+Math.sin(c)*(t-r)/2,d=-1*Math.sin(c)*(e-n)/2+Math.cos(c)*(t-r)/2,h=u*u/(a*a)+d*d/(l*l);h>1&&(a*=Math.sqrt(h),l*=Math.sqrt(h));var f=Math.sqrt((a*a*(l*l)-a*a*(d*d)-l*l*(u*u))/(a*a*(d*d)+l*l*(u*u)));o===i&&(f*=-1),isNaN(f)&&(f=0);var p=f*a*d/l,v=f*-l*u/a,m=(e+n)/2+Math.cos(c)*p-Math.sin(c)*v,g=(t+r)/2+Math.sin(c)*p+Math.cos(c)*v,y=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},b=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(y(e)*y(t))},w=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(b(e,t))},_=w([1,0],[(u-p)/a,(d-v)/l]),E=[(u-p)/a,(d-v)/l],x=[(-1*u-p)/a,(-1*d-v)/l],S=w(E,x);return b(E,x)<=-1&&(S=Math.PI),b(E,x)>=1&&(S=0),0===i&&S>0&&(S-=2*Math.PI),1===i&&S<0&&(S+=2*Math.PI),[m,g,a,l,_,S,c,i]}}t.Path=l,l.prototype.className="Path",l.prototype._attrsAffectingSize=["data"],(0,i._registerNode)(l),r.Factory.addGetterSetter(l,"data")},75244:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const r=n(1455),o=n(97955),i=n(54417),a=n(68588),l=n(53774);class s extends o.Shape{_sceneFunc(e){var t=this.cornerRadius(),n=this.width(),r=this.height();e.beginPath(),t?a.Util.drawRoundedRectPath(e,n,r,t):e.rect(0,0,n,r),e.closePath(),e.fillStrokeShape(this)}}t.Rect=s,s.prototype.className="Rect",(0,i._registerNode)(s),r.Factory.addGetterSetter(s,"cornerRadius",0,(0,l.getNumberOrArrayOfNumbersValidator)(4))},31785:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegularPolygon=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);class l extends o.Shape{_sceneFunc(e){const t=this._getPoints();e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.closePath(),e.fillStrokeShape(this)}_getPoints(){const e=this.attrs.sides,t=this.attrs.radius||0,n=[];for(var r=0;r<e;r++)n.push({x:t*Math.sin(2*r*Math.PI/e),y:-1*t*Math.cos(2*r*Math.PI/e)});return n}getSelfRect(){const e=this._getPoints();var t=e[0].x,n=e[0].y,r=e[0].x,o=e[0].y;return e.forEach((e=>{t=Math.min(t,e.x),n=Math.max(n,e.x),r=Math.min(r,e.y),o=Math.max(o,e.y)})),{x:t,y:r,width:n-t,height:o-r}}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}t.RegularPolygon=l,l.prototype.className="RegularPolygon",l.prototype._centroid=!0,l.prototype._attrsAffectingSize=["radius"],(0,a._registerNode)(l),r.Factory.addGetterSetter(l,"radius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(l,"sides",0,(0,i.getNumberValidator)())},60657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ring=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);var l=2*Math.PI;class s extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,l,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),l,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)}}t.Ring=s,s.prototype.className="Ring",s.prototype._centroid=!0,s.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,a._registerNode)(s),r.Factory.addGetterSetter(s,"innerRadius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(s,"outerRadius",0,(0,i.getNumberValidator)())},88986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sprite=void 0;const r=n(1455),o=n(97955),i=n(16745),a=n(53774),l=n(54417);class s extends o.Shape{constructor(e){super(e),this._updated=!0,this.anim=new i.Animation((()=>{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,o=this.animations()[t],i=this.frameOffsets(),a=o[r+0],l=o[r+1],s=o[r+2],c=o[r+3],u=this.image();if((this.hasFill()||this.hasStroke())&&(e.beginPath(),e.rect(0,0,s,c),e.closePath(),e.fillStrokeShape(this)),u)if(i){var d=i[t],h=2*n;e.drawImage(u,a,l,s,c,d[h+0],d[h+1],s,c)}else e.drawImage(u,a,l,s,c,0,0,s,c)}_hitFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],i=this.frameOffsets(),a=o[r+2],l=o[r+3];if(e.beginPath(),i){var s=i[t],c=2*n;e.rect(s[c+0],s[c+1],a,l)}else e.rect(0,0,a,l);e.closePath(),e.fillShape(this)}_useBufferCanvas(){return super._useBufferCanvas(!0)}_setInterval(){var e=this;this.interval=setInterval((function(){e._updateIndex()}),1e3/this.frameRate())}start(){if(!this.isRunning()){var 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<this.animations()[t].length/4-1?this.frameIndex(e+1):this.frameIndex(0)}}t.Sprite=s,s.prototype.className="Sprite",(0,l._registerNode)(s),r.Factory.addGetterSetter(s,"animation"),r.Factory.addGetterSetter(s,"animations"),r.Factory.addGetterSetter(s,"frameOffsets"),r.Factory.addGetterSetter(s,"image"),r.Factory.addGetterSetter(s,"frameIndex",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"frameRate",17,(0,a.getNumberValidator)()),r.Factory.backCompat(s,{index:"frameIndex",getIndex:"getFrameIndex",setIndex:"setFrameIndex"})},71964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Star=void 0;const r=n(1455),o=n(97955),i=n(53774),a=n(54417);class l extends o.Shape{_sceneFunc(e){var t=this.innerRadius(),n=this.outerRadius(),r=this.numPoints();e.beginPath(),e.moveTo(0,0-n);for(var o=1;o<2*r;o++){var i=o%2==0?n:t,a=i*Math.sin(o*Math.PI/r),l=-1*i*Math.cos(o*Math.PI/r);e.lineTo(a,l)}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)}}t.Star=l,l.prototype.className="Star",l.prototype._centroid=!0,l.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,a._registerNode)(l),r.Factory.addGetterSetter(l,"numPoints",5,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(l,"innerRadius",0,(0,i.getNumberValidator)()),r.Factory.addGetterSetter(l,"outerRadius",0,(0,i.getNumberValidator)())},23787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=t.stringToArray=void 0;const r=n(68588),o=n(1455),i=n(97955),a=n(53774),l=n(54417);function s(e){return Array.from(e)}t.stringToArray=s;var c,u="auto",d="justify",h="left",f="middle",p="normal",v=" ",m="none",g=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],y=g.length;function b(){return c||(c=r.Util.createCanvasElement().getContext("2d"))}class w extends i.Shape{constructor(e){super(function(e){return(e=e||{}).fillLinearGradientColorStops||e.fillRadialGradientColorStops||e.fillPatternImage||(e.fill=e.fill||"black"),e}(e)),this._partialTextX=0,this._partialTextY=0;for(var t=0;t<y;t++)this.on(g[t]+"Change.konva",this._setTextData);this._setTextData()}_sceneFunc(e){var t=this.textArr,n=t.length;if(this.text()){var r,o=this.padding(),i=this.fontSize(),a=this.lineHeight()*i,l=this.verticalAlign(),c=0,u=this.align(),p=this.getWidth(),v=this.letterSpacing(),m=this.fill(),g=this.textDecoration(),y=-1!==g.indexOf("underline"),b=-1!==g.indexOf("line-through"),w=0,_=(w=a/2,0),E=0;for(e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",f),e.setAttr("textAlign",h),l===f?c=(this.getHeight()-n*a-2*o)/2:"bottom"===l&&(c=this.getHeight()-n*a-2*o),e.translate(o,c+o),r=0;r<n;r++){_=0,E=0;var x,S,O,C=t[r],M=C.text,z=C.width,P=C.lastInParagraph;if(e.save(),"right"===u?_+=p-z-2*o:"center"===u&&(_+=(p-z-2*o)/2),y){e.save(),e.beginPath(),e.moveTo(_,w+E+Math.round(i/2)),S=0==(x=M.split(" ").length-1),O=u!==d||P?z:p-2*o,e.lineTo(_+Math.round(O),w+E+Math.round(i/2)),e.lineWidth=i/15;const t=this._getLinearGradient();e.strokeStyle=t||m,e.stroke(),e.restore()}if(b){e.save(),e.beginPath(),e.moveTo(_,w+E),S=0==(x=M.split(" ").length-1),O=u===d&&P&&!S?p-2*o:z,e.lineTo(_+Math.round(O),w+E),e.lineWidth=i/15;const t=this._getLinearGradient();e.strokeStyle=t||m,e.stroke(),e.restore()}if(0!==v||u===d){x=M.split(" ").length-1;for(var T=s(M),A=0;A<T.length;A++){var L=T[A];" "!==L||P||u!==d||(_+=(p-2*o-z)/x),this._partialTextX=_,this._partialTextY=w+E,this._partialText=L,e.fillStrokeShape(this),_+=this.measureSize(L).width+v}}else this._partialTextX=_,this._partialTextY=w+E,this._partialText=M,e.fillStrokeShape(this);e.restore(),n>1&&(w+=a)}}}_hitFunc(e){var t=this.getWidth(),n=this.getHeight();e.beginPath(),e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)}setText(e){var t=r.Util._isString(e)?e:null==e?"":e+"";return this._setAttr("text",t),this}getWidth(){return this.attrs.width===u||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width}getHeight(){return this.attrs.height===u||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return r.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}measureSize(e){var t,n=b(),r=this.fontSize();return n.save(),n.font=this._getContextFont(),t=n.measureText(e),n.restore(),{width:t.width,height:r}}_getContextFont(){return this.fontStyle()+v+this.fontVariant()+v+(this.fontSize()+"px ")+this.fontFamily().split(",").map((e=>{const t=(e=e.trim()).indexOf(" ")>=0,n=e.indexOf('"')>=0||e.indexOf("'")>=0;return t&&!n&&(e=`"${e}"`),e})).join(", ")}_addTextLine(e){this.align()===d&&(e=e.trim());var t=this._getTextWidth(e);return this.textArr.push({text:e,width:t,lastInParagraph:!1})}_getTextWidth(e){var t=this.letterSpacing(),n=e.length;return b().measureText(e).width+(n?t*(n-1):0)}_setTextData(){var e=this.text().split("\n"),t=+this.fontSize(),n=0,r=this.lineHeight()*t,o=this.attrs.width,i=this.attrs.height,a=o!==u&&void 0!==o,l=i!==u&&void 0!==i,s=this.padding(),c=o-2*s,d=i-2*s,h=0,f=this.wrap(),p="char"!==f&&f!==m,g=this.ellipsis();this.textArr=[],b().font=this._getContextFont();for(var y=g?this._getTextWidth("…"):0,w=0,_=e.length;w<_;++w){var E=e[w],x=this._getTextWidth(E);if(a&&x>c)for(;E.length>0;){for(var S=0,O=E.length,C="",M=0;S<O;){var z=S+O>>>1,P=E.slice(0,z+1),T=this._getTextWidth(P)+y;T<=c?(S=z+1,C=P,M=T):O=z}if(!C)break;if(p){var A,L=E[C.length];(A=(L===v||"-"===L)&&M<=c?C.length:Math.max(C.lastIndexOf(v),C.lastIndexOf("-"))+1)>0&&(S=A,C=C.slice(0,S),M=this._getTextWidth(C))}if(C=C.trimRight(),this._addTextLine(C),n=Math.max(n,M),h+=r,this._shouldHandleEllipsis(h)){this._tryToAddEllipsisToLastLine();break}if((E=(E=E.slice(S)).trimLeft()).length>0&&(x=this._getTextWidth(E))<=c){this._addTextLine(E),h+=r,n=Math.max(n,x);break}}else this._addTextLine(E),h+=r,n=Math.max(n,x),this._shouldHandleEllipsis(h)&&w<_-1&&this._tryToAddEllipsisToLastLine();if(this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0),l&&h+r>d)break}this.textHeight=t,this.textWidth=n}_shouldHandleEllipsis(e){var t=+this.fontSize(),n=this.lineHeight()*t,r=this.attrs.height,o=r!==u&&void 0!==r,i=r-2*this.padding();return!(this.wrap()!==m)||o&&e+n>i}_tryToAddEllipsisToLastLine(){var e=this.attrs.width,t=e!==u&&void 0!==e,n=e-2*this.padding(),r=this.ellipsis(),o=this.textArr[this.textArr.length-1];o&&r&&(t&&(this._getTextWidth(o.text+"…")<n||(o.text=o.text.slice(0,o.text.length-3))),this.textArr.splice(this.textArr.length-1,1),this._addTextLine(o.text+"…"))}getStrokeScaleEnabled(){return!0}}t.Text=w,w.prototype._fillFunc=function(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)},w.prototype._strokeFunc=function(e){e.setAttr("miterLimit",2),e.strokeText(this._partialText,this._partialTextX,this._partialTextY)},w.prototype.className="Text",w.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],(0,l._registerNode)(w),o.Factory.overWriteSetter(w,"width",(0,a.getNumberOrAutoValidator)()),o.Factory.overWriteSetter(w,"height",(0,a.getNumberOrAutoValidator)()),o.Factory.addGetterSetter(w,"fontFamily","Arial"),o.Factory.addGetterSetter(w,"fontSize",12,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(w,"fontStyle",p),o.Factory.addGetterSetter(w,"fontVariant",p),o.Factory.addGetterSetter(w,"padding",0,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(w,"align",h),o.Factory.addGetterSetter(w,"verticalAlign","top"),o.Factory.addGetterSetter(w,"lineHeight",1,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(w,"wrap","word"),o.Factory.addGetterSetter(w,"ellipsis",!1,(0,a.getBooleanValidator)()),o.Factory.addGetterSetter(w,"letterSpacing",0,(0,a.getNumberValidator)()),o.Factory.addGetterSetter(w,"text","",(0,a.getStringValidator)()),o.Factory.addGetterSetter(w,"textDecoration","")},82831:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextPath=void 0;const r=n(68588),o=n(1455),i=n(97955),a=n(87339),l=n(23787),s=n(53774),c=n(54417);var u="normal";function d(e){e.fillText(this.partialText,0,0)}function h(e){e.strokeText(this.partialText,0,0)}class f extends i.Shape{constructor(e){super(e),this.dummyCanvas=r.Util.createCanvasElement(),this.dataArray=[],this._readDataAttribute(),this.on("dataChange.konva",(function(){this._readDataAttribute(),this._setTextData()})),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva fontFamilyChange.konva",this._setTextData),this._setTextData()}_getTextPathLength(){return a.Path.getPathLength(this.dataArray)}_getPointAtLength(e){return this.attrs.data?e-1>this.pathLength?null:a.Path.getPointAtLengthOfDataArray(e,this.dataArray):null}_readDataAttribute(){this.dataArray=a.Path.parsePathData(this.attrs.data),this.pathLength=this._getTextPathLength()}_sceneFunc(e){e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",this.textBaseline()),e.setAttr("textAlign","left"),e.save();var t=this.textDecoration(),n=this.fill(),r=this.fontSize(),o=this.glyphInfo;"underline"===t&&e.beginPath();for(var i=0;i<o.length;i++){e.save();var a=o[i].p0;e.translate(a.x,a.y),e.rotate(o[i].rotation),this.partialText=o[i].text,e.fillStrokeShape(this),"underline"===t&&(0===i&&e.moveTo(0,r/2+1),e.lineTo(r,r/2+1)),e.restore()}"underline"===t&&(e.strokeStyle=n,e.lineWidth=r/20,e.stroke()),e.restore()}_hitFunc(e){e.beginPath();var t=this.glyphInfo;if(t.length>=1){var n=t[0].p0;e.moveTo(n.x,n.y)}for(var r=0;r<t.length;r++){var o=t[r].p1;e.lineTo(o.x,o.y)}e.setAttr("lineWidth",this.fontSize()),e.setAttr("strokeStyle",this.colorKey),e.stroke()}getTextWidth(){return this.textWidth}getTextHeight(){return r.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}setText(e){return l.Text.prototype.setText.call(this,e)}_getContextFont(){return l.Text.prototype._getContextFont.call(this)}_getTextSize(e){var t=this.dummyCanvas.getContext("2d");t.save(),t.font=this._getContextFont();var n=t.measureText(e);return t.restore(),{width:n.width,height:parseInt(`${this.fontSize()}`,10)}}_setTextData(){const{width:e,height:t}=this._getTextSize(this.attrs.text);if(this.textWidth=e,this.textHeight=t,this.glyphInfo=[],!this.attrs.data)return null;const n=this.letterSpacing(),r=this.align(),o=this.kerningFunc(),i=Math.max(this.textWidth+((this.attrs.text||"").length-1)*n,0);let s=0;"center"===r&&(s=Math.max(0,this.pathLength/2-i/2)),"right"===r&&(s=Math.max(0,this.pathLength-i));const c=(0,l.stringToArray)(this.text());let u=s;for(var d=0;d<c.length;d++){const e=this._getPointAtLength(u);if(!e)return;let t=this._getTextSize(c[d]).width+n;if(" "===c[d]&&"justify"===r){const e=this.text().split(" ").length-1;t+=(this.pathLength-i)/e}const l=this._getPointAtLength(u+t);if(!l)return;const s=a.Path.getLineLength(e.x,e.y,l.x,l.y);let h=0;if(o)try{h=o(c[d-1],c[d])*this.fontSize()}catch(e){h=0}e.x+=h,l.x+=h,this.textWidth+=h;const f=a.Path.getPointOnLine(h+s/2,e.x,e.y,l.x,l.y),p=Math.atan2(l.y-e.y,l.x-e.x);this.glyphInfo.push({transposeX:f.x,transposeY:f.y,text:c[d],rotation:p,p0:e,p1:l}),u+=t}}getSelfRect(){if(!this.glyphInfo.length)return{x:0,y:0,width:0,height:0};var e=[];this.glyphInfo.forEach((function(t){e.push(t.p0.x),e.push(t.p0.y),e.push(t.p1.x),e.push(t.p1.y)}));for(var t,n,r=e[0]||0,o=e[0]||0,i=e[1]||0,a=e[1]||0,l=0;l<e.length/2;l++)t=e[2*l],n=e[2*l+1],r=Math.min(r,t),o=Math.max(o,t),i=Math.min(i,n),a=Math.max(a,n);var s=this.fontSize();return{x:r-s/2,y:i-s/2,width:o-r+s,height:a-i+s}}destroy(){return r.Util.releaseCanvas(this.dummyCanvas),super.destroy()}}t.TextPath=f,f.prototype._fillFunc=d,f.prototype._strokeFunc=h,f.prototype._fillFuncHit=d,f.prototype._strokeFuncHit=h,f.prototype.className="TextPath",f.prototype._attrsAffectingSize=["text","fontSize","data"],(0,c._registerNode)(f),o.Factory.addGetterSetter(f,"data"),o.Factory.addGetterSetter(f,"fontFamily","Arial"),o.Factory.addGetterSetter(f,"fontSize",12,(0,s.getNumberValidator)()),o.Factory.addGetterSetter(f,"fontStyle",u),o.Factory.addGetterSetter(f,"align","left"),o.Factory.addGetterSetter(f,"letterSpacing",0,(0,s.getNumberValidator)()),o.Factory.addGetterSetter(f,"textBaseline","middle"),o.Factory.addGetterSetter(f,"fontVariant",u),o.Factory.addGetterSetter(f,"text",""),o.Factory.addGetterSetter(f,"textDecoration",null),o.Factory.addGetterSetter(f,"kerningFunc",null)},29516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transformer=void 0;const r=n(68588),o=n(1455),i=n(77939),a=n(97955),l=n(75244),s=n(58985),c=n(54417),u=n(53774),d=n(54417);var h="tr-konva",f=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange","anchorStyleFuncChange"].map((e=>e+`.${h}`)).join(" "),p="nodesRect",v=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],m={"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 g="ontouchstart"in c.Konva._global;var y=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function b(e,t,n){const r=n.x+(e.x-n.x)*Math.cos(t)-(e.y-n.y)*Math.sin(t),o=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:o})}class w extends s.Group{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(f,this.update),this.getNode()&&this.update()}attachTo(e){return this.setNode(e),this}setNode(e){return r.Util.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 h+this._id}setNodes(e=[]){this._nodes&&this._nodes.length&&this.detach();const t=e.filter((e=>!e.isAncestorOf(this)||(r.Util.error("Konva.Transformer cannot be an a child of the node you are trying to attach"),!1)));return this._nodes=e=t,1===e.length&&this.useSingleNodeRotation()?this.rotation(e[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((e=>{const 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(v.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)return;const r=e.getAbsolutePosition(),o=r.x-t.x,i=r.y-t.y;this.nodes().forEach((t=>{if(t===e)return;if(t.isDragging())return;const r=t.getAbsolutePosition();t.setAbsolutePosition({x:r.x+o,y:r.y+i}),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(p),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(p,this.__getNodeRect)}__getNodeShape(e,t=this.rotation(),n){var r=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=e.getAbsoluteScale(n),i=e.getAbsolutePosition(n),a=r.x*o.x-e.offsetX()*o.x,l=r.y*o.y-e.offsetY()*o.y;const s=(c.Konva.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return b({x:i.x+a*Math.cos(s)+l*Math.sin(-s),y:i.y+l*Math.cos(s)+a*Math.sin(s),width:r.width*o.x,height:r.height*o.y,rotation:s},-c.Konva.getAngle(t),{x:0,y:0})}__getNodeRect(){if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};const e=[];this.nodes().map((t=>{const n=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()});var r=[{x:n.x,y:n.y},{x:n.x+n.width,y:n.y},{x:n.x+n.width,y:n.y+n.height},{x:n.x,y:n.y+n.height}],o=t.getAbsoluteTransform();r.forEach((function(t){var n=o.point(t);e.push(n)}))}));const t=new r.Transform;var n,o,i,a;t.rotate(-c.Konva.getAngle(this.rotation())),e.forEach((function(e){var r=t.point(e);void 0===n&&(n=i=r.x,o=a=r.y),n=Math.min(n,r.x),o=Math.min(o,r.y),i=Math.max(i,r.x),a=Math.max(a,r.y)})),t.invert();const l=t.point({x:n,y:o});return{x:l.x,y:l.y,width:i-n,height:a-o,rotation:c.Konva.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(),y.forEach(function(e){this._createAnchor(e)}.bind(this)),this._createAnchor("rotater")}_createAnchor(e){var t=new l.Rect({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:g?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=c.Konva.getAngle(this.rotation()),o=function(e,t){if("rotater"===e)return"crosshair";t+=r.Util.degToRad(m[e]||0);var n=(r.Util.radToDeg(t)%360+360)%360;return r.Util._inRange(n,337.5,360)||r.Util._inRange(n,0,22.5)?"ns-resize":r.Util._inRange(n,22.5,67.5)?"nesw-resize":r.Util._inRange(n,67.5,112.5)?"ew-resize":r.Util._inRange(n,112.5,157.5)?"nwse-resize":r.Util._inRange(n,157.5,202.5)?"ns-resize":r.Util._inRange(n,202.5,247.5)?"nesw-resize":r.Util._inRange(n,247.5,292.5)?"ew-resize":r.Util._inRange(n,292.5,337.5)?"nwse-resize":(r.Util.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}(e,n);t.getStage().content&&(t.getStage().content.style.cursor=o),this._cursorChange=!0})),t.on("mouseout",(()=>{t.getStage().content&&(t.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(t)}_createBack(){var e=new a.Shape({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()*r.Util._sign(this.height())-n),e.fillStrokeShape(this)},hitFunc:(e,t)=>{if(this.shouldOverdrawWholeArea()){var 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=this._getNodeRect(),n=t.width,r=t.height,o=Math.sqrt(Math.pow(n,2)+Math.pow(r,2));this.sin=Math.abs(r/o),this.cos=Math.abs(n/o),"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;var i=e.target.getAbsolutePosition(),a=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:a.x-i.x,y:a.y-i.y},this._fire("transformstart",{evt:e.evt,target:this.getNode()}),this._nodes.forEach((t=>{t._fire("transformstart",{evt:e.evt,target:t})}))}_handleMouseMove(e){var t,n,r,o=this.findOne("."+this._movingAnchorName),i=o.getStage();i.setPointersPositions(e);const a=i.getPointerPosition();let l={x:a.x-this._anchorDragOffset.x,y:a.y-this._anchorDragOffset.y};const s=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(l=this.anchorDragBoundFunc()(s,l,e)),o.setAbsolutePosition(l);const u=o.getAbsolutePosition();if(s.x!==u.x||s.y!==u.y)if("rotater"!==this._movingAnchorName){var d,h=this.shiftBehavior();d="inverted"===h?this.keepRatio()&&!e.shiftKey:"none"===h?this.keepRatio():this.keepRatio()||e.shiftKey;var f=this.centeredScaling()||e.altKey;if("top-left"===this._movingAnchorName){if(d){var p=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};r=Math.sqrt(Math.pow(p.x-o.x(),2)+Math.pow(p.y-o.y(),2));var v=this.findOne(".top-left").x()>p.x?-1:1,m=this.findOne(".top-left").y()>p.y?-1:1;t=r*this.cos*v,n=r*this.sin*m,this.findOne(".top-left").x(p.x-t),this.findOne(".top-left").y(p.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(o.y());else if("top-right"===this._movingAnchorName){d&&(p=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()},r=Math.sqrt(Math.pow(o.x()-p.x,2)+Math.pow(p.y-o.y(),2)),v=this.findOne(".top-right").x()<p.x?-1:1,m=this.findOne(".top-right").y()>p.y?-1:1,t=r*this.cos*v,n=r*this.sin*m,this.findOne(".top-right").x(p.x+t),this.findOne(".top-right").y(p.y-n));var g=o.position();this.findOne(".top-left").y(g.y),this.findOne(".bottom-right").x(g.x)}else"middle-left"===this._movingAnchorName?this.findOne(".top-left").x(o.x()):"middle-right"===this._movingAnchorName?this.findOne(".bottom-right").x(o.x()):"bottom-left"===this._movingAnchorName?(d&&(p=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()},r=Math.sqrt(Math.pow(p.x-o.x(),2)+Math.pow(o.y()-p.y,2)),v=p.x<o.x()?-1:1,m=o.y()<p.y?-1:1,t=r*this.cos*v,n=r*this.sin*m,o.x(p.x-t),o.y(p.y+n)),g=o.position(),this.findOne(".top-left").x(g.x),this.findOne(".bottom-right").y(g.y)):"bottom-center"===this._movingAnchorName?this.findOne(".bottom-right").y(o.y()):"bottom-right"===this._movingAnchorName?d&&(p=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-left").x(),y:this.findOne(".top-left").y()},r=Math.sqrt(Math.pow(o.x()-p.x,2)+Math.pow(o.y()-p.y,2)),v=this.findOne(".bottom-right").x()<p.x?-1:1,m=this.findOne(".bottom-right").y()<p.y?-1:1,t=r*this.cos*v,n=r*this.sin*m,this.findOne(".bottom-right").x(p.x+t),this.findOne(".bottom-right").y(p.y+n)):console.error(new Error("Wrong position argument of selection resizer: "+this._movingAnchorName));if(f=this.centeredScaling()||e.altKey){var y=this.findOne(".top-left"),w=this.findOne(".bottom-right"),_=y.x(),E=y.y(),x=this.getWidth()-w.x(),S=this.getHeight()-w.y();w.move({x:-_,y:-E}),y.move({x,y:S})}var O=this.findOne(".top-left").getAbsolutePosition();t=O.x,n=O.y;var C=this.findOne(".bottom-right").x()-this.findOne(".top-left").x(),M=this.findOne(".bottom-right").y()-this.findOne(".top-left").y();this._fitNodesInto({x:t,y:n,width:C,height:M,rotation:c.Konva.getAngle(this.rotation())},e)}else{var z=this._getNodeRect();t=o.x()-z.width/2,n=-o.y()+z.height/2;let r=Math.atan2(-n,t)+Math.PI/2;z.height<0&&(r-=Math.PI);const i=c.Konva.getAngle(this.rotation())+r,a=c.Konva.getAngle(this.rotationSnapTolerance()),l=function(e,t){const n=function(e){return{x:e.x+e.width/2*Math.cos(e.rotation)+e.height/2*Math.sin(-e.rotation),y:e.y+e.height/2*Math.cos(e.rotation)+e.width/2*Math.sin(e.rotation)}}(e);return b(e,t,n)}(z,function(e,t,n){let r=t;for(let o=0;o<e.length;o++){const i=c.Konva.getAngle(e[o]),a=Math.abs(i-t)%(2*Math.PI);Math.min(a,2*Math.PI-a)<n&&(r=i)}return r}(this.rotationSnaps(),i,a)-z.rotation);this._fitNodesInto(l,e)}}_handleMouseUp(e){this._removeEvents(e)}getAbsoluteTransform(){return this.getTransform()}_removeEvents(e){if(this._transforming){this._transforming=!1,"undefined"!=typeof window&&(window.removeEventListener("mousemove",this._handleMouseMove),window.removeEventListener("touchmove",this._handleMouseMove),window.removeEventListener("mouseup",this._handleMouseUp,!0),window.removeEventListener("touchend",this._handleMouseUp,!0));var t=this.getNode();this._fire("transformend",{evt:e,target:t}),t&&this._nodes.forEach((t=>{t._fire("transformend",{evt:e,target:t})})),this._movingAnchorName=null}}_fitNodesInto(e,t){var n=this._getNodeRect();if(r.Util._inRange(e.width,2*-this.padding()-1,1))return void this.update();if(r.Util._inRange(e.height,2*-this.padding()-1,1))return void this.update();const o=this.flipEnabled();var i=new r.Transform;if(i.rotate(c.Konva.getAngle(this.rotation())),this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("left")>=0){const t=i.point({x:2*-this.padding(),y:0});if(e.x+=t.x,e.y+=t.y,e.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,!o)return void this.update()}else if(this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("right")>=0){const t=i.point({x:2*this.padding(),y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.width+=2*this.padding(),!o)return void this.update()}if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("top")>=0){const t=i.point({x:0,y:2*-this.padding()});if(e.x+=t.x,e.y+=t.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding(),!o)return void this.update()}else if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const t=i.point({x:0,y:2*this.padding()});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=t.x,this._anchorDragOffset.y-=t.y,e.height+=2*this.padding(),!o)return void this.update()}if(this.boundBoxFunc()){const t=this.boundBoxFunc()(n,e);t?e=t:r.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const a=1e7,l=new r.Transform;l.translate(n.x,n.y),l.rotate(n.rotation),l.scale(n.width/a,n.height/a);const s=new r.Transform;s.translate(e.x,e.y),s.rotate(e.rotation),s.scale(e.width/a,e.height/a);const u=s.multiply(l.invert());this._nodes.forEach((e=>{var n;const o=e.getParent().getAbsoluteTransform(),i=e.getTransform().copy();i.translate(e.offsetX(),e.offsetY());const a=new r.Transform;a.multiply(o.copy().invert()).multiply(u).multiply(o).multiply(i);const l=a.decompose();e.setAttrs(l),this._fire("transform",{evt:t,target:e}),e._fire("transform",{evt:t,target:e}),null===(n=e.getLayer())||void 0===n||n.batchDraw()})),this.rotation(r.Util._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,t=this._getNodeRect();this.rotation(r.Util._getRotation(t.rotation));var n=t.width,o=t.height,i=this.enabledAnchors(),a=this.resizeEnabled(),l=this.padding(),s=this.anchorSize();const c=this.find("._anchor");c.forEach((e=>{e.setAttrs({width:s,height:s,offsetX:s/2,offsetY:s/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:s/2+l,offsetY:s/2+l,visible:a&&i.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:s/2+l,visible:a&&i.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:s/2-l,offsetY:s/2+l,visible:a&&i.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:o/2,offsetX:s/2+l,visible:a&&i.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:o/2,offsetX:s/2-l,visible:a&&i.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:o,offsetX:s/2+l,offsetY:s/2-l,visible:a&&i.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:o,offsetY:s/2-l,visible:a&&i.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:o,offsetX:s/2-l,offsetY:s/2-l,visible:a&&i.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*r.Util._sign(o)-l,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:o,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0});const u=this.anchorStyleFunc();u&&c.forEach((e=>{u(e)})),null===(e=this.getLayer())||void 0===e||e.batchDraw()}isTransforming(){return this._transforming}stopTransform(){if(this._transforming){this._removeEvents();var e=this.findOne("."+this._movingAnchorName);e&&e.stopDrag()}}destroy(){return this.getStage()&&this._cursorChange&&this.getStage().content&&(this.getStage().content.style.cursor=""),s.Group.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return i.Node.prototype.toObject.call(this)}clone(e){return i.Node.prototype.clone.call(this,e)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}}t.Transformer=w,w.prototype.className="Transformer",(0,d._registerNode)(w),o.Factory.addGetterSetter(w,"enabledAnchors",y,(function(e){return e instanceof Array||r.Util.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===y.indexOf(e)&&r.Util.warn("Unknown anchor name: "+e+". Available names are: "+y.join(", "))})),e||[]})),o.Factory.addGetterSetter(w,"flipEnabled",!0,(0,u.getBooleanValidator)()),o.Factory.addGetterSetter(w,"resizeEnabled",!0),o.Factory.addGetterSetter(w,"anchorSize",10,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"rotateEnabled",!0),o.Factory.addGetterSetter(w,"rotationSnaps",[]),o.Factory.addGetterSetter(w,"rotateAnchorOffset",50,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"rotationSnapTolerance",5,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"borderEnabled",!0),o.Factory.addGetterSetter(w,"anchorStroke","rgb(0, 161, 255)"),o.Factory.addGetterSetter(w,"anchorStrokeWidth",1,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"anchorFill","white"),o.Factory.addGetterSetter(w,"anchorCornerRadius",0,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"borderStroke","rgb(0, 161, 255)"),o.Factory.addGetterSetter(w,"borderStrokeWidth",1,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"borderDash"),o.Factory.addGetterSetter(w,"keepRatio",!0),o.Factory.addGetterSetter(w,"shiftBehavior","default"),o.Factory.addGetterSetter(w,"centeredScaling",!1),o.Factory.addGetterSetter(w,"ignoreStroke",!1),o.Factory.addGetterSetter(w,"padding",0,(0,u.getNumberValidator)()),o.Factory.addGetterSetter(w,"node"),o.Factory.addGetterSetter(w,"nodes"),o.Factory.addGetterSetter(w,"boundBoxFunc"),o.Factory.addGetterSetter(w,"anchorDragBoundFunc"),o.Factory.addGetterSetter(w,"anchorStyleFunc"),o.Factory.addGetterSetter(w,"shouldOverdrawWholeArea",!1),o.Factory.addGetterSetter(w,"useSingleNodeRotation",!0),o.Factory.backCompat(w,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"})},29846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Wedge=void 0;const r=n(1455),o=n(97955),i=n(54417),a=n(53774),l=n(54417);class s extends o.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.radius(),0,i.Konva.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)}}t.Wedge=s,s.prototype.className="Wedge",s.prototype._centroid=!0,s.prototype._attrsAffectingSize=["radius"],(0,l._registerNode)(s),r.Factory.addGetterSetter(s,"radius",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"angle",0,(0,a.getNumberValidator)()),r.Factory.addGetterSetter(s,"clockwise",!1),r.Factory.backCompat(s,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"})},18552:(e,t,n)=>{var r=n(10852)(n(55639),"DataView");e.exports=r},1989:(e,t,n)=>{var r=n(51789),o=n(80401),i=n(57667),a=n(21327),l=n(81866);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},38407:(e,t,n)=>{var r=n(27040),o=n(14125),i=n(82117),a=n(67518),l=n(54705);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},57071:(e,t,n)=>{var r=n(10852)(n(55639),"Map");e.exports=r},83369:(e,t,n)=>{var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),l=n(95265);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=l,e.exports=s},53818:(e,t,n)=>{var r=n(10852)(n(55639),"Promise");e.exports=r},58525:(e,t,n)=>{var r=n(10852)(n(55639),"Set");e.exports=r},88668:(e,t,n)=>{var r=n(83369),o=n(90619),i=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},46384:(e,t,n)=>{var r=n(38407),o=n(37465),i=n(63779),a=n(67599),l=n(44758),s=n(34309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},62705:(e,t,n)=>{var r=n(55639).Symbol;e.exports=r},11149:(e,t,n)=>{var r=n(55639).Uint8Array;e.exports=r},70577:(e,t,n)=>{var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},77412:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},14636:(e,t,n)=>{var r=n(22545),o=n(35694),i=n(1469),a=n(44144),l=n(65776),s=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),h=!n&&!u&&!d&&s(e),f=n||u||d||h,p=f?r(e.length,String):[],v=p.length;for(var m in e)!t&&!c.call(e,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||l(m,v))||p.push(m);return p}},29932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},62488:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},82908:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},86556:(e,t,n)=>{var r=n(89465),o=n(77813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},34865:(e,t,n)=>{var r=n(89465),o=n(77813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:(e,t,n)=>{var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44037:(e,t,n)=>{var r=n(98363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},63886:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e,t){return e&&r(t,o(t),e)}},89465:(e,t,n)=>{var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:(e,t,n)=>{var r=n(46384),o=n(77412),i=n(34865),a=n(44037),l=n(63886),s=n(64626),c=n(278),u=n(18805),d=n(1911),h=n(58234),f=n(46904),p=n(64160),v=n(43824),m=n(29148),g=n(38517),y=n(1469),b=n(44144),w=n(56688),_=n(13218),E=n(72928),x=n(3674),S=n(81704),O="[object Arguments]",C="[object Function]",M="[object Object]",z={};z[O]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[M]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[C]=z["[object WeakMap]"]=!1,e.exports=function e(t,n,P,T,A,L){var k,N=1&n,I=2&n,R=4&n;if(P&&(k=A?P(t,T,A,L):P(t)),void 0!==k)return k;if(!_(t))return t;var H=y(t);if(H){if(k=v(t),!N)return c(t,k)}else{var V=p(t),D=V==C||"[object GeneratorFunction]"==V;if(b(t))return s(t,N);if(V==M||V==O||D&&!A){if(k=I||D?{}:g(t),!N)return I?d(t,l(k,t)):u(t,a(k,t))}else{if(!z[V])return A?t:{};k=m(t,V,N)}}L||(L=new r);var j=L.get(t);if(j)return j;L.set(t,k),E(t)?t.forEach((function(r){k.add(e(r,n,P,r,t,L))})):w(t)&&t.forEach((function(r,o){k.set(o,e(r,n,P,o,t,L))}));var F=H?void 0:(R?I?f:h:I?S:x)(t);return o(F||t,(function(r,o){F&&(r=t[o=r]),i(k,o,e(r,n,P,o,t,L))})),k}},3118:(e,t,n)=>{var r=n(13218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},89881:(e,t,n)=>{var r=n(47816),o=n(99291)(r);e.exports=o},28483:(e,t,n)=>{var r=n(25063)();e.exports=r},47816:(e,t,n)=>{var r=n(28483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},97786:(e,t,n)=>{var r=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68866:(e,t,n)=>{var r=n(62488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},44239:(e,t,n)=>{var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},90939:(e,t,n)=>{var r=n(2492),o=n(37005);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,l))}},2492:(e,t,n)=>{var r=n(46384),o=n(67114),i=n(18351),a=n(16096),l=n(64160),s=n(1469),c=n(44144),u=n(36719),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,m,g){var y=s(e),b=s(t),w=y?h:l(e),_=b?h:l(t),E=(w=w==d?f:w)==f,x=(_=_==d?f:_)==f,S=w==_;if(S&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(S&&!E)return g||(g=new r),y||u(e)?o(e,t,n,v,m,g):i(e,t,w,n,v,m,g);if(!(1&n)){var O=E&&p.call(e,"__wrapped__"),C=x&&p.call(t,"__wrapped__");if(O||C){var M=O?e.value():e,z=C?t.value():t;return g||(g=new r),m(M,z,n,v,g)}}return!!S&&(g||(g=new r),a(e,t,n,v,m,g))}},25588:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},2958:(e,t,n)=>{var r=n(46384),o=n(90939);e.exports=function(e,t,n,i){var a=n.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<l;){var u=(c=n[a])[0],d=e[u],h=c[1];if(s&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new r;if(i)var p=i(d,h,u,e,t,f);if(!(void 0===p?o(h,d,3,i,f):p))return!1}}return!0}},28458:(e,t,n)=>{var r=n(23560),o=n(15346),i=n(13218),a=n(80346),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?h:l).test(a(e))}},29221:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},38749:(e,t,n)=>{var r=n(44239),o=n(41780),i=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},67206:(e,t,n)=>{var r=n(91573),o=n(16432),i=n(6557),a=n(1469),l=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},280:(e,t,n)=>{var r=n(25726),o=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:(e,t,n)=>{var r=n(13218),o=n(25726),i=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&a.call(e,l))&&n.push(l);return n}},69199:(e,t,n)=>{var r=n(89881),o=n(98612);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},91573:(e,t,n)=>{var r=n(2958),o=n(1499),i=n(42634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:(e,t,n)=>{var r=n(90939),o=n(27361),i=n(79095),a=n(15403),l=n(89162),s=n(42634),c=n(40327);e.exports=function(e,t){return a(e)&&l(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},42980:(e,t,n)=>{var r=n(46384),o=n(86556),i=n(28483),a=n(59783),l=n(13218),s=n(81704),c=n(36390);e.exports=function e(t,n,u,d,h){t!==n&&i(n,(function(i,s){if(h||(h=new r),l(i))a(t,n,s,u,e,d,h);else{var f=d?d(c(t,s),i,s+"",t,n,h):void 0;void 0===f&&(f=i),o(t,s,f)}}),s)}},59783:(e,t,n)=>{var r=n(86556),o=n(64626),i=n(77133),a=n(278),l=n(38517),s=n(35694),c=n(1469),u=n(29246),d=n(44144),h=n(23560),f=n(13218),p=n(68630),v=n(36719),m=n(36390),g=n(59881);e.exports=function(e,t,n,y,b,w,_){var E=m(e,n),x=m(t,n),S=_.get(x);if(S)r(e,n,S);else{var O=w?w(E,x,n+"",e,t,_):void 0,C=void 0===O;if(C){var M=c(x),z=!M&&d(x),P=!M&&!z&&v(x);O=x,M||z||P?c(E)?O=E:u(E)?O=a(E):z?(C=!1,O=o(x,!0)):P?(C=!1,O=i(x,!0)):O=[]:p(x)||s(x)?(O=E,s(E)?O=g(E):f(E)&&!h(E)||(O=l(x))):C=!1}C&&(_.set(x,O),b(O,x,y,w,_),_.delete(x)),r(e,n,O)}}},40371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:(e,t,n)=>{var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},5976:(e,t,n)=>{var r=n(6557),o=n(45357),i=n(30061);e.exports=function(e,t){return i(o(e,t,r),e+"")}},56560:(e,t,n)=>{var r=n(75703),o=n(38777),i=n(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},22545:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:(e,t,n)=>{var r=n(62705),o=n(29932),i=n(1469),a=n(33448),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},27561:(e,t,n)=>{var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},74757:e=>{e.exports=function(e,t){return e.has(t)}},54290:(e,t,n)=>{var r=n(6557);e.exports=function(e){return"function"==typeof e?e:r}},71811:(e,t,n)=>{var r=n(1469),o=n(15403),i=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},74318:(e,t,n)=>{var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,l=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}},57157:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:(e,t,n)=>{var r=n(62705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},77133:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:(e,t,n)=>{var r=n(34865),o=n(89465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var l=-1,s=t.length;++l<s;){var c=t[l],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},18805:(e,t,n)=>{var r=n(98363),o=n(99551);e.exports=function(e,t){return r(e,o(e),t)}},1911:(e,t,n)=>{var r=n(98363),o=n(51442);e.exports=function(e,t){return r(e,o(e),t)}},14429:(e,t,n)=>{var r=n(55639)["__core-js_shared__"];e.exports=r},21463:(e,t,n)=>{var r=n(5976),o=n(16612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,l&&o(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t}))}},99291:(e,t,n)=>{var r=n(98612);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&!1!==o(l[a],a,l););return n}}},25063:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}},38777:(e,t,n)=>{var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},67114:(e,t,n)=>{var r=n(88668),o=n(82908),i=n(74757);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var p=-1,v=!0,m=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++p<u;){var g=e[p],y=t[p];if(a)var b=c?a(y,g,p,t,e,s):a(g,y,p,e,t,s);if(void 0!==b){if(b)continue;v=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(g===e||l(g,e,n,a,s)))return m.push(t)}))){v=!1;break}}else if(g!==y&&!l(g,y,n,a,s)){v=!1;break}}return s.delete(e),s.delete(t),v}},18351:(e,t,n)=>{var r=n(62705),o=n(11149),i=n(77813),a=n(67114),l=n(68776),s=n(21814),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=l;case"[object Set]":var p=1&r;if(f||(f=s),e.size!=t.size&&!p)return!1;var v=h.get(e);if(v)return v==t;r|=2,h.set(e,t);var m=a(f(e),f(t),r,c,d,h);return h.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},16096:(e,t,n)=>{var r=n(58234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var d=u;d--;){var h=c[d];if(!(s?h in t:o.call(t,h)))return!1}var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var v=!0;l.set(e,t),l.set(t,e);for(var m=s;++d<u;){var g=e[h=c[d]],y=t[h];if(i)var b=s?i(y,g,h,t,e,l):i(g,y,h,e,t,l);if(!(void 0===b?g===y||a(g,y,n,i,l):b)){v=!1;break}m||(m="constructor"==h)}if(v&&!m){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(v=!1)}return l.delete(e),l.delete(t),v}},31957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:(e,t,n)=>{var r=n(68866),o=n(99551),i=n(3674);e.exports=function(e){return r(e,i,o)}},46904:(e,t,n)=>{var r=n(68866),o=n(51442),i=n(81704);e.exports=function(e){return r(e,i,o)}},45050:(e,t,n)=>{var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:(e,t,n)=>{var r=n(89162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},10852:(e,t,n)=>{var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},85924:(e,t,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:(e,t,n)=>{var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},99551:(e,t,n)=>{var r=n(34963),o=n(70479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=l},51442:(e,t,n)=>{var r=n(62488),o=n(85924),i=n(99551),a=n(70479),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},64160:(e,t,n)=>{var r=n(18552),o=n(57071),i=n(53818),a=n(58525),l=n(70577),s=n(44239),c=n(80346),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",v=c(r),m=c(o),g=c(i),y=c(a),b=c(l),w=s;(r&&w(new r(new ArrayBuffer(1)))!=p||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=h||l&&w(new l)!=f)&&(w=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return p;case m:return u;case g:return d;case y:return h;case b:return f}return t}),e.exports=w},47801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var r=n(71811),o=n(35694),i=n(1469),a=n(65776),l=n(41780),s=n(40327);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var h=s(t[c]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&l(u)&&a(h,u)&&(i(e)||o(e))}},51789:(e,t,n)=>{var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:(e,t,n)=>{var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:(e,t,n)=>{var r=n(74318),o=n(57157),i=n(93147),a=n(40419),l=n(77133);e.exports=function(e,t,n){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},38517:(e,t,n)=>{var r=n(3118),o=n(85924),i=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},65776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:(e,t,n)=>{var r=n(77813),o=n(98612),i=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&i(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},15403:(e,t,n)=>{var r=n(1469),o=n(33448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},37019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:(e,t,n)=>{var r,o=n(14429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},25726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:(e,t,n)=>{var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:e=>{e.exports=function(){this.__data__=[],this.size=0}},14125:(e,t,n)=>{var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},82117:(e,t,n)=>{var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:(e,t,n)=>{var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:(e,t,n)=>{var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:(e,t,n)=>{var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:(e,t,n)=>{var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:(e,t,n)=>{var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},24523:(e,t,n)=>{var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:(e,t,n)=>{var r=n(10852)(Object,"create");e.exports=r},86916:(e,t,n)=>{var r=n(5569)(Object.keys,Object);e.exports=r},33498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:(e,t,n)=>{e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},45357:(e,t,n)=>{var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),s=Array(l);++a<l;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),r(e,this,c)}}},55639:(e,t,n)=>{var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},36390:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},90619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:e=>{e.exports=function(e){return this.__data__.has(e)}},21814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},30061:(e,t,n)=>{var r=n(56560),o=n(21275)(r);e.exports=o},21275:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:(e,t,n)=>{var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:e=>{e.exports=function(e){return this.__data__.get(e)}},44758:e=>{e.exports=function(e){return this.__data__.has(e)}},34309:(e,t,n)=>{var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},55514:(e,t,n)=>{var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:(e,t,n)=>{var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},80346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},67990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},50361:(e,t,n)=>{var r=n(85990);e.exports=function(e){return r(e,5)}},75703:e=>{e.exports=function(e){return function(){return e}}},23279:(e,t,n)=>{var r=n(13218),o=n(7771),i=n(14841),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,d,h,f,p=0,v=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,p=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||m&&e-p>=u}function w(){var e=o();if(b(e))return _(e);h=setTimeout(w,function(e){var n=t-(e-f);return m?l(n,u-(e-p)):n}(e))}function _(e){return h=void 0,g&&s?y(e):(s=c=void 0,d)}function E(){var e=o(),n=b(e);if(s=arguments,c=this,f=e,n){if(void 0===h)return function(e){return p=e,h=setTimeout(w,t),v?y(e):d}(f);if(m)return clearTimeout(h),h=setTimeout(w,t),y(f)}return void 0===h&&(h=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==h&&clearTimeout(h),p=0,s=f=c=h=void 0},E.flush=function(){return void 0===h?d:_(o())},E}},66073:(e,t,n)=>{e.exports=n(84486)},77813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},84486:(e,t,n)=>{var r=n(77412),o=n(89881),i=n(54290),a=n(1469);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},2525:(e,t,n)=>{var r=n(47816),o=n(54290);e.exports=function(e,t){return e&&r(e,o(t))}},27361:(e,t,n)=>{var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},79095:(e,t,n)=>{var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:e=>{e.exports=function(e){return e}},35694:(e,t,n)=>{var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},1469:e=>{var t=Array.isArray;e.exports=t},98612:(e,t,n)=>{var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:(e,t,n)=>{var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},23560:(e,t,n)=>{var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:(e,t,n)=>{var r=n(25588),o=n(7518),i=n(31167),a=i&&i.isMap,l=a?o(a):r;e.exports=l},13218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},68630:(e,t,n)=>{var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,l=Object.prototype,s=a.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},72928:(e,t,n)=>{var r=n(29221),o=n(7518),i=n(31167),a=i&&i.isSet,l=a?o(a):r;e.exports=l},47037:(e,t,n)=>{var r=n(44239),o=n(1469),i=n(37005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},33448:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:(e,t,n)=>{var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},3674:(e,t,n)=>{var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:(e,t,n)=>{var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},35161:(e,t,n)=>{var r=n(29932),o=n(67206),i=n(69199),a=n(1469);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},88306:(e,t,n)=>{var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:(e,t,n)=>{var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},7771:(e,t,n)=>{var r=n(55639);e.exports=function(){return r.Date.now()}},39601:(e,t,n)=>{var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},70479:e=>{e.exports=function(){return[]}},95062:e=>{e.exports=function(){return!1}},23493:(e,t,n)=>{var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},14841:(e,t,n)=>{var r=n(27561),o=n(13218),i=n(33448),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},59881:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:(e,t,n)=>{var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},50242:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Observer:()=>O,clearTimers:()=>A,enableStaticRendering:()=>f,isObserverBatched:()=>s,isUsingStaticRendering:()=>p,observer:()=>x,observerBatching:()=>l,useAsObservableSource:()=>P,useLocalObservable:()=>C,useLocalStore:()=>T,useObserver:()=>L,useStaticRendering:()=>k});var r=n(68949),o=n(67294);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.rC)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var i=n(73935);function a(e){e()}function l(e){e||(e=a),(0,r.jQ)({reactionScheduler:e})}var s=function(){return!0};function c(e){return(0,r.Gf)(e)}var u=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),d=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:u)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),h=!1;function f(e){h=e}function p(){return h}var v=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function m(e){return"observer".concat(e)}var g=function(){};function y(){return new g}function b(e,t){if(void 0===t&&(t="observed"),p())return e();var n=v(o.useState(y),1)[0],i=v(o.useState(),2)[1],a=function(){return i([])},l=o.useRef(null);l.current||(l.current={reaction:null,mounted:!1,changedBeforeMount:!1});var s,u,h=l.current;if(h.reaction||(h.reaction=new r.le(m(t),(function(){h.mounted?a():h.changedBeforeMount=!0})),d.register(n,h,h)),o.useDebugValue(h.reaction,c),o.useEffect((function(){return d.unregister(h),h.mounted=!0,h.reaction?h.changedBeforeMount&&(h.changedBeforeMount=!1,a()):(h.reaction=new r.le(m(t),(function(){a()})),a()),function(){h.reaction.dispose(),h.reaction=null,h.mounted=!1,h.changedBeforeMount=!1}}),[]),h.reaction.track((function(){try{s=e()}catch(e){u=e}})),u)throw u;return s}var w="function"==typeof Symbol&&Symbol.for,_=w?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)((function(e){return null})).$$typeof,E=w?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)((function(e){return null})).$$typeof;function x(e,t){var n;if(E&&e.$$typeof===E)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(p())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,i=e,a=e.displayName||e.name;if(_&&e.$$typeof===_&&(r=!0,"function"!=typeof(i=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var l,s,c=function(e,t){return b((function(){return i(e,t)}),a)};return""!==a&&(c.displayName=a),e.contextTypes&&(c.contextTypes=e.contextTypes),r&&(c=(0,o.forwardRef)(c)),c=(0,o.memo)(c),l=e,s=c,Object.keys(l).forEach((function(e){S[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(l,e))})),c}var S={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function O(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:b(r)}function C(e,t){return(0,o.useState)((function(){return(0,r.LO)(e(),t,{autoBind:!0})}))[0]}O.displayName="Observer";var M,z=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function P(e){var t=z((0,o.useState)((function(){return(0,r.LO)(e,{},{deep:!1})})),1)[0];return(0,r.z)((function(){Object.assign(t,e)})),t}function T(e,t){var n=t&&P(t);return(0,o.useState)((function(){return(0,r.LO)(e(n),void 0,{autoBind:!0})}))[0]}l(i.unstable_batchedUpdates);var A=null!==(M=d.finalizeAllImmediately)&&void 0!==M?M:function(){};function L(e,t){return void 0===t&&(t="observed"),b(e,t)}function k(e){f(e)}},67090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addDisposer:()=>W,addMiddleware:()=>Te,applyAction:()=>we,applyPatch:()=>w,applySnapshot:()=>O,cast:()=>Z,castFlowReturn:()=>Lt,castToReferenceSnapshot:()=>J,castToSnapshot:()=>Q,clone:()=>B,createActionTrackingMiddleware:()=>me,createActionTrackingMiddleware2:()=>ye,decorate:()=>Ae,destroy:()=>G,detach:()=>U,escapeJsonPath:()=>Ht,flow:()=>At,getChildType:()=>g,getEnv:()=>K,getIdentifier:()=>H,getLivelinessChecking:()=>l,getMembers:()=>X,getNodeId:()=>ee,getParent:()=>z,getParentOfType:()=>T,getPath:()=>L,getPathParts:()=>k,getPropertyMembers:()=>Y,getRelativePath:()=>F,getRoot:()=>A,getRunningActionContext:()=>ke,getSnapshot:()=>C,getType:()=>m,hasParent:()=>M,hasParentOfType:()=>P,isActionContextChildOf:()=>Ie,isActionContextThisOrChildOf:()=>Re,isAlive:()=>q,isArrayType:()=>Jt,isFrozenType:()=>Rn,isIdentifierType:()=>Yn,isLateType:()=>kn,isLiteralType:()=>bn,isMapType:()=>$t,isModelType:()=>an,isOptionalType:()=>zn,isPrimitiveType:()=>mn,isProtected:()=>S,isReferenceType:()=>Un,isRefinementType:()=>_n,isRoot:()=>N,isStateTreeNode:()=>Xe,isType:()=>fe,isUnionType:()=>Sn,isValidReference:()=>D,joinJsonPath:()=>Dt,onAction:()=>Ee,onPatch:()=>y,onSnapshot:()=>b,process:()=>lt,protect:()=>E,recordActions:()=>_e,recordPatches:()=>_,resolveIdentifier:()=>R,resolvePath:()=>I,setLivelinessChecking:()=>a,setLivelynessChecking:()=>s,splitJsonPath:()=>jt,toGenerator:()=>Nt,toGeneratorFunction:()=>kt,tryReference:()=>V,tryResolve:()=>j,typecheck:()=>Ge,types:()=>Jn,unescapeJsonPath:()=>Vt,unprotect:()=>x,walk:()=>$});var r,o=n(68949),i="warn";function a(e){i=e}function l(){return i}function s(e){a(e)}!function(e){e.afterCreate="afterCreate",e.afterAttach="afterAttach",e.afterCreationFinalization="afterCreationFinalization",e.beforeDetach="beforeDetach",e.beforeDestroy="beforeDestroy"}(r||(r={}));var c=function(e,t){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},c(e,t)};function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function h(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}function m(e){return Ze(e,1),Qe(e).type}function g(e,t){return Ze(e,1),Qe(e).getChildType(t)}function y(e,t){return Ze(e,1),Mt(),Qe(e).onPatch(t)}function b(e,t){return Ze(e,1),Mt(),Qe(e).onSnapshot(t)}function w(e,t){Ze(e,1),Ct(),Qe(e).applyPatches(mt(t))}function _(e,t){Ze(e,1);var n,r={patches:[],reversedInversePatches:[]},o={},i={get recording(){return!!n},get patches(){return o.patches||(o.patches=r.patches.slice()),o.patches},get reversedInversePatches(){return o.reversedInversePatches||(o.reversedInversePatches=r.reversedInversePatches.slice()),o.reversedInversePatches},get inversePatches(){return o.inversePatches||(o.inversePatches=r.reversedInversePatches.slice().reverse()),o.inversePatches},stop:function(){n&&(n(),n=void 0)},resume:function(){n||(n=y(e,(function(e,n){t&&!t(e,n,ke())||(r.patches.push(e),r.reversedInversePatches.unshift(n),o.patches=void 0,o.inversePatches=void 0,o.reversedInversePatches=void 0)})))},replay:function(t){w(t||e,r.patches)},undo:function(t){w(t||e,r.reversedInversePatches)}};return i.resume(),i}function E(e){Ze(e,1);var t=Qe(e);if(!t.isRoot)throw ht("`protect` can only be invoked on root nodes");t.isProtectionEnabled=!0}function x(e){Ze(e,1);var t=Qe(e);if(!t.isRoot)throw ht("`unprotect` can only be invoked on root nodes");t.isProtectionEnabled=!1}function S(e){return Qe(e).isProtected}function O(e,t){return Ze(e,1),Qe(e).applySnapshot(t)}function C(e,t){void 0===t&&(t=!0),Ze(e,1);var n=Qe(e);return t?n.snapshot:n.type.getSnapshot(n,!1)}function M(e,t){void 0===t&&(t=1),Ze(e,1),zt(0,0,0);for(var n=Qe(e).parent;n;){if(0==--t)return!0;n=n.parent}return!1}function z(e,t){void 0===t&&(t=1),Ze(e,1),zt(0,0,0);for(var n=t,r=Qe(e).parent;r;){if(0==--n)return r.storedValue;r=r.parent}throw ht("Failed to find the parent of "+Qe(e)+" at depth "+t)}function P(e,t){Ze(e,1),pe(t,2);for(var n=Qe(e).parent;n;){if(t.is(n.storedValue))return!0;n=n.parent}return!1}function T(e,t){Ze(e,1),pe(t,2);for(var n=Qe(e).parent;n;){if(t.is(n.storedValue))return n.storedValue;n=n.parent}throw ht("Failed to find the parent of "+Qe(e)+" of a given type")}function A(e){return Ze(e,1),Qe(e).root.storedValue}function L(e){return Ze(e,1),Qe(e).path}function k(e){return Ze(e,1),jt(Qe(e).path)}function N(e){return Ze(e,1),Qe(e).isRoot}function I(e,t){Ze(e,1),Pt();var n=rt(Qe(e),t);return n?n.value:void 0}function R(e,t,n){pe(e,1),Ze(t,2),Ct();var r=Qe(t).root.identifierCache.resolve(e,Xn(n));return null==r?void 0:r.value}function H(e){return Ze(e,1),Qe(e).identifier}function V(e,t){void 0===t&&(t=!0);try{var n=e();if(null==n)return;if(Xe(n))return t?q(n)?n:void 0:n;throw ht("The reference to be checked is not one of node, null or undefined")}catch(e){if(e instanceof Vn)return;throw e}}function D(e,t){void 0===t&&(t=!0);try{var n=e();if(null==n)return!1;if(Xe(n))return!t||q(n);throw ht("The reference to be checked is not one of node, null or undefined")}catch(e){if(e instanceof Vn)return!1;throw e}}function j(e,t){Ze(e,1),Pt();var n=rt(Qe(e),t,!1);if(void 0!==n)try{return n.value}catch(e){return}}function F(e,t){return Ze(e,1),Ze(t,2),nt(Qe(e),Qe(t))}function B(e,t){void 0===t&&(t=!0),Ze(e,1);var n=Qe(e);return n.type.create(n.snapshot,!0===t?n.root.environment:!1===t?void 0:t)}function U(e){return Ze(e,1),Qe(e).detach(),e}function G(e){Ze(e,1);var t=Qe(e);t.isRoot?t.die():t.parent.removeChild(t.subpath)}function q(e){return Ze(e,1),Qe(e).observableIsAlive}function W(e,t){return Ze(e,1),Mt(),Qe(e).addDisposer(t),t}function K(e){return Ze(e,1),Qe(e).root.environment||ut}function $(e,t){Ze(e,1),Mt();var n=Qe(e);n.getChildren().forEach((function(e){Xe(e.storedValue)&&$(e.storedValue,t)})),t(n.storedValue)}function Y(e){var t;return Ct(t=Xe(e)?m(e):e),{name:t.name,properties:d({},t.properties)}}function X(e){var t=Qe(e).type,n=d(d({},Y(t)),{actions:[],volatile:[],views:[]});return Object.getOwnPropertyNames(e).forEach((function(t){if(!(t in n.properties)){var r=Object.getOwnPropertyDescriptor(e,t);r.get?(0,o.eJ)(e,t)?n.views.push(t):n.volatile.push(t):!0===r.value._isMSTAction?n.actions.push(t):(0,o.wn)(e,t)?n.volatile.push(t):n.views.push(t)}})),n}function Z(e){return e}function Q(e){return e}function J(e){return e}function ee(e){return Ze(e,1),Qe(e).nodeId}var te=function(){function e(e,t,n,r){Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"environment",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"_escapedSubpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storedValue",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"aliveAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_state",{enumerable:!0,configurable:!0,writable:!0,value:qe.INITIALIZING}),Object.defineProperty(this,"_hookSubscribers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pathAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.environment=r,this.baseSetParent(t,n)}return Object.defineProperty(e.prototype,"subpath",{get:function(){return this._subpath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subpathUponDeath",{get:function(){return this._subpathUponDeath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pathUponDeath",{get:function(){return this._pathUponDeath},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.type.getValue(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},set:function(e){var t=this.isAlive;this._state=e;var n=this.isAlive;this.aliveAtom&&t!==n&&this.aliveAtom.reportChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fireInternalHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._hookSubscribers&&this._hookSubscribers.emit(e,this,e)}}),Object.defineProperty(e.prototype,"registerHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._hookSubscribers||(this._hookSubscribers=new Et),this._hookSubscribers.register(e,t)}}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getReconciliationType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type}}),Object.defineProperty(e.prototype,"baseSetParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._parent=e,this._subpath=t,this._escapedSubpath=void 0,this.pathAtom&&this.pathAtom.reportChanged()}}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getEscapedPath(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getEscapedPath",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e&&(this.pathAtom||(this.pathAtom=(0,o.cp)("path")),this.pathAtom.reportObserved()),this.parent?(void 0===this._escapedSubpath&&(this._escapedSubpath=this._subpath?Ht(this._subpath):""),this.parent.getEscapedPath(e)+"/"+this._escapedSubpath):""}}),Object.defineProperty(e.prototype,"isRoot",{get:function(){return null===this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAlive",{get:function(){return this.state!==qe.DEAD},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDetaching",{get:function(){return this.state===qe.DETACHING},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"observableIsAlive",{get:function(){return this.aliveAtom||(this.aliveAtom=(0,o.cp)("alive")),this.aliveAtom.reportObserved(),this.isAlive},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseFinalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.state===qe.CREATED){if(this.parent){if(this.parent.state!==qe.FINALIZED)return;this.fireHook(r.afterAttach)}this.state=qe.FINALIZED,e&&e()}}}),Object.defineProperty(e.prototype,"baseFinalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._hookSubscribers&&this._hookSubscribers.clearAll(),this._subpathUponDeath=this._subpath,this._pathUponDeath=this.getEscapedPath(!1),this.baseSetParent(null,""),this.state=qe.DEAD}}),Object.defineProperty(e.prototype,"baseAboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.fireHook(r.beforeDestroy)}}),e}(),ne=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n,r,o)||this;try{a.storedValue=t.createNewInstance(i)}catch(e){throw a.state=qe.DEAD,e}return a.state=qe.CREATED,a.finalizeCreation(),a}return u(t,e),Object.defineProperty(t.prototype,"root",{get:function(){if(!this.parent)throw ht("This scalar node is not part of a tree");return this.parent.root},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"setParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.parent!==e,r=this.subpath!==t;(n||r)&&(this.environment=void 0,this.baseSetParent(this.parent,t))}}),Object.defineProperty(t.prototype,"snapshot",{get:function(){return this.getSnapshot()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type.getSnapshot(this)}}),Object.defineProperty(t.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=(this.isAlive?this.path:this.pathUponDeath)||"<root>";return this.type.name+"@"+e+(this.isAlive?"":" [dead]")}}),Object.defineProperty(t.prototype,"die",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isAlive&&this.state!==qe.DETACHING&&(this.aboutToDie(),this.finalizeDeath())}}),Object.defineProperty(t.prototype,"finalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseFinalizeCreation()}}),Object.defineProperty(t.prototype,"aboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseAboutToDie()}}),Object.defineProperty(t.prototype,"finalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.baseFinalizeDeath()}}),Object.defineProperty(t.prototype,"fireHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.fireInternalHook(e)}}),t}(te);ne.prototype.die=(0,o.aD)(ne.prototype.die);var re,oe,ie=1,ae={onError:function(e){throw e}},le=function(e){function t(t,n,r,i,a){var l=e.call(this,t,n,r,i)||this;if(Object.defineProperty(l,"nodeId",{enumerable:!0,configurable:!0,writable:!0,value:++ie}),Object.defineProperty(l,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"unnormalizedIdentifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"identifierCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"isProtectionEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(l,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_applyPatches",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_applySnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_autoUnbox",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(l,"_isRunningAction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(l,"_hasSnapshotReaction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(l,"_observableInstanceState",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(l,"_childNodes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_initialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_cachedInitialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_cachedInitialSnapshotCreated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(l,"_snapshotComputed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_snapshotUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(l,"_internalEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),l._snapshotComputed=(0,o.Fl)((function(){return l.getSnapshot()})),l.unbox=l.unbox.bind(l),l._initialSnapshot=a,l.identifierAttribute=t.identifierAttribute,n||(l.identifierCache=new Ke),l._childNodes=t.initializeChildNodes(l,l._initialSnapshot),l.identifier=null,l.unnormalizedIdentifier=null,l.identifierAttribute&&l._initialSnapshot){var s=l._initialSnapshot[l.identifierAttribute];if(void 0===s){var c=l._childNodes[l.identifierAttribute];c&&(s=c.value)}if("string"!=typeof s&&"number"!=typeof s)throw ht("Instance identifier '"+l.identifierAttribute+"' for type '"+l.type.name+"' must be a string or a number");l.identifier=Xn(s),l.unnormalizedIdentifier=s}return n?n.root.identifierCache.addNodeToCache(l):l.identifierCache.addNodeToCache(l),l}return u(t,e),Object.defineProperty(t.prototype,"applyPatches",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.createObservableInstanceIfNeeded(),this._applyPatches(e)}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.createObservableInstanceIfNeeded(),this._applySnapshot(e)}}),Object.defineProperty(t.prototype,"createObservableInstanceIfNeeded",{enumerable:!1,configurable:!0,writable:!0,value:function(){0===this._observableInstanceState&&this.createObservableInstance()}}),Object.defineProperty(t.prototype,"createObservableInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t;this._observableInstanceState=1;for(var n=[],o=this.parent;o&&0===o._observableInstanceState;)n.unshift(o),o=o.parent;try{for(var i=f(n),a=i.next();!a.done;a=i.next())a.value.createObservableInstanceIfNeeded()}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}var l=this.type;try{this.storedValue=l.createNewInstance(this._childNodes),this.preboot(),this._isRunningAction=!0,l.finalizeNewInstance(this,this.storedValue)}catch(e){throw this.state=qe.DEAD,e}finally{this._isRunningAction=!1}this._observableInstanceState=2,this._snapshotComputed.trackAndCompute(),this.isRoot&&this._addSnapshotReaction(),this._childNodes=ut,this.state=qe.CREATED,this.fireHook(r.afterCreate),this.finalizeCreation()}}),Object.defineProperty(t.prototype,"root",{get:function(){var e=this.parent;return e?e.root:this},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clearParent",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.parent){this.fireHook(r.beforeDetach);var e=this.state;this.state=qe.DETACHING;var t=this.root,n=t.environment,o=t.identifierCache.splitCache(this);try{this.parent.removeChild(this.subpath),this.baseSetParent(null,""),this.environment=n,this.identifierCache=o}finally{this.state=e}}}}),Object.defineProperty(t.prototype,"setParent",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=e!==this.parent,o=t!==this.subpath;(n||o)&&(n?(this.environment=void 0,e.root.identifierCache.mergeCache(this),this.baseSetParent(e,t),this.fireHook(r.afterAttach)):o&&this.baseSetParent(this.parent,t))}}),Object.defineProperty(t.prototype,"fireHook",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;this.fireInternalHook(e);var n=this.storedValue&&"object"==typeof this.storedValue&&this.storedValue[e];"function"==typeof n&&(o.vB?(0,o.vB)((function(){n.apply(t.storedValue)})):n.apply(this.storedValue))}}),Object.defineProperty(t.prototype,"snapshot",{get:function(){return this._snapshotComputed.get()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.isAlive?2===this._observableInstanceState?this._getActualSnapshot():this._getCachedInitialSnapshot():this._snapshotUponDeath}}),Object.defineProperty(t.prototype,"_getActualSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.type.getSnapshot(this)}}),Object.defineProperty(t.prototype,"_getCachedInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this._cachedInitialSnapshotCreated){var e=this.type,t=this._childNodes,n=this._initialSnapshot;this._cachedInitialSnapshot=e.processInitialSnapshot(t,n),this._cachedInitialSnapshotCreated=!0}return this._cachedInitialSnapshot}}),Object.defineProperty(t.prototype,"isRunningAction",{enumerable:!1,configurable:!0,writable:!0,value:function(){return!!this._isRunningAction||!this.isRoot&&this.parent.isRunningAction()}}),Object.defineProperty(t.prototype,"assertAlive",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t,n=l();if(!this.isAlive&&"ignore"!==n){var r=this._getAssertAliveError(e);switch(n){case"error":throw ht(r);case"warn":t=r,console.warn(new Error("[mobx-state-tree] "+t))}}}}),Object.defineProperty(t.prototype,"_getAssertAliveError",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getEscapedPath(!1)||this.pathUponDeath||"",n=e.subpath&&Ht(e.subpath)||"",r=e.actionContext||Oe();r&&"action"!==r.type&&r.parentActionEvent&&(r=r.parentActionEvent);var o="";return r&&null!=r.name&&(o=(r&&r.context&&L(r.context)||t)+"."+r.name+"()"),"You are trying to read or write to an object that is no longer part of a state tree. (Object type: '"+this.type.name+"', Path upon death: '"+t+"', Subpath: '"+n+"', Action: '"+o+"'). Either detach nodes first, or don't use objects after removing / replacing them in the tree."}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.assertAlive({subpath:e}),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildNode(this,e):this._childNodes[e]}finally{this._autoUnbox=!0}}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.assertAlive(ut),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildren(this):it(this._childNodes)}finally{this._autoUnbox=!0}}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.type.getChildType(e)}}),Object.defineProperty(t.prototype,"isProtected",{get:function(){return this.root.isProtectionEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"assertWritable",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.assertAlive(e),!this.isRunningAction()&&this.isProtected)throw ht("Cannot modify '"+this+"', the object is protected and can only be modified by using an action.")}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.type.removeChild(this,e)}}),Object.defineProperty(t.prototype,"unbox",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e?(this.assertAlive({subpath:e.subpath||e.subpathUponDeath}),this._autoUnbox?e.value:e):e}}),Object.defineProperty(t.prototype,"toString",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=(this.isAlive?this.path:this.pathUponDeath)||"<root>",t=this.identifier?"(id: "+this.identifier+")":"";return this.type.name+"@"+e+t+(this.isAlive?"":" [dead]")}}),Object.defineProperty(t.prototype,"finalizeCreation",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.baseFinalizeCreation((function(){var t,n;try{for(var o=f(e.getChildren()),i=o.next();!i.done;i=o.next())i.value.finalizeCreation()}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}e.fireInternalHook(r.afterCreationFinalization)}))}}),Object.defineProperty(t.prototype,"detach",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(!this.isAlive)throw ht("Error while detaching, node is not alive.");this.clearParent()}}),Object.defineProperty(t.prototype,"preboot",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this._applyPatches=Pe(this.storedValue,"@APPLY_PATCHES",(function(t){t.forEach((function(t){if(t.path){var n=jt(t.path);ot(e,n.slice(0,-1)).applyPatchLocally(n[n.length-1],t)}else e.type.applySnapshot(e,t.value)}))})),this._applySnapshot=Pe(this.storedValue,"@APPLY_SNAPSHOT",(function(t){if(t!==e.snapshot)return e.type.applySnapshot(e,t)})),wt(this.storedValue,"$treenode",this),wt(this.storedValue,"toJSON",et)}}),Object.defineProperty(t.prototype,"die",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isAlive&&this.state!==qe.DETACHING&&(this.aboutToDie(),this.finalizeDeath())}}),Object.defineProperty(t.prototype,"aboutToDie",{enumerable:!1,configurable:!0,writable:!0,value:function(){0!==this._observableInstanceState&&(this.getChildren().forEach((function(e){e.aboutToDie()})),this.baseAboutToDie(),this._internalEventsEmit("dispose"),this._internalEventsClear("dispose"))}}),Object.defineProperty(t.prototype,"finalizeDeath",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.getChildren().forEach((function(e){e.finalizeDeath()})),this.root.identifierCache.notifyDied(this);var e=this.snapshot;this._snapshotUponDeath=e,this._internalEventsClearAll(),this.baseFinalizeDeath()}}),Object.defineProperty(t.prototype,"onSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._addSnapshotReaction(),this._internalEventsRegister("snapshot",e)}}),Object.defineProperty(t.prototype,"emitSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._internalEventsEmit("snapshot",e)}}),Object.defineProperty(t.prototype,"onPatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._internalEventsRegister("patch",e)}}),Object.defineProperty(t.prototype,"emitPatch",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this._internalEventsHasSubscribers("patch")){var n=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];for(var i in o)e[i]=o[i]}return e}({},e,{path:t.path.substr(this.path.length)+"/"+e.path}),r=p(function(e){if(!("oldValue"in e))throw ht("Patches without `oldValue` field cannot be inversed");return[It(e),Rt(e)]}(n),2),o=r[0],i=r[1];this._internalEventsEmit("patch",o,i)}this.parent&&this.parent.emitPatch(e,t)}}),Object.defineProperty(t.prototype,"hasDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._internalEventsHas("dispose",e)}}),Object.defineProperty(t.prototype,"addDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.hasDisposer(e))throw ht("cannot add a disposer when it is already registered for execution");this._internalEventsRegister("dispose",e,!0)}}),Object.defineProperty(t.prototype,"removeDisposer",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this._internalEventsHas("dispose",e))throw ht("cannot remove a disposer which was never registered for execution");this._internalEventsUnregister("dispose",e)}}),Object.defineProperty(t.prototype,"removeMiddleware",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(this.middlewares){var t=this.middlewares.indexOf(e);t>=0&&this.middlewares.splice(t,1)}}}),Object.defineProperty(t.prototype,"addMiddleWare",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;void 0===t&&(t=!0);var r={handler:e,includeHooks:t};return this.middlewares?this.middlewares.push(r):this.middlewares=[r],function(){n.removeMiddleware(r)}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this.assertWritable({subpath:e}),this.createObservableInstanceIfNeeded(),this.type.applyPatchLocally(this,e,t)}}),Object.defineProperty(t.prototype,"_addSnapshotReaction",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;if(!this._hasSnapshotReaction){var t=(0,o.U5)((function(){return e.snapshot}),(function(t){return e.emitSnapshot(t)}),ae);this.addDisposer(t),this._hasSnapshotReaction=!0}}}),Object.defineProperty(t.prototype,"_internalEventsHasSubscribers",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return!!this._internalEvents&&this._internalEvents.hasSubscribers(e)}}),Object.defineProperty(t.prototype,"_internalEventsRegister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){return void 0===n&&(n=!1),this._internalEvents||(this._internalEvents=new Et),this._internalEvents.register(e,t,n)}}),Object.defineProperty(t.prototype,"_internalEventsHas",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!!this._internalEvents&&this._internalEvents.has(e,t)}}),Object.defineProperty(t.prototype,"_internalEventsUnregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._internalEvents&&this._internalEvents.unregister(e,t)}}),Object.defineProperty(t.prototype,"_internalEventsEmit",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this._internalEvents&&(t=this._internalEvents).emit.apply(t,v([e],n))}}),Object.defineProperty(t.prototype,"_internalEventsClear",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._internalEvents&&this._internalEvents.clear(e)}}),Object.defineProperty(t.prototype,"_internalEventsClearAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._internalEvents&&this._internalEvents.clearAll()}}),t}(te);le.prototype.createObservableInstance=(0,o.aD)(le.prototype.createObservableInstance),le.prototype.detach=(0,o.aD)(le.prototype.detach),le.prototype.die=(0,o.aD)(le.prototype.die),function(e){e[e.String=1]="String",e[e.Number=2]="Number",e[e.Boolean=4]="Boolean",e[e.Date=8]="Date",e[e.Literal=16]="Literal",e[e.Array=32]="Array",e[e.Map=64]="Map",e[e.Object=128]="Object",e[e.Frozen=256]="Frozen",e[e.Optional=512]="Optional",e[e.Reference=1024]="Reference",e[e.Identifier=2048]="Identifier",e[e.Late=4096]="Late",e[e.Refinement=8192]="Refinement",e[e.Union=16384]="Union",e[e.Null=32768]="Null",e[e.Undefined=65536]="Undefined",e[e.Integer=131072]="Integer",e[e.Custom=262144]="Custom",e[e.SnapshotProcessor=524288]="SnapshotProcessor"}(oe||(oe={}));var se="cannotDetermine",ce=Symbol("$type"),ue=function(){function e(e){Object.defineProperty(this,re,{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"C",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"S",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"N",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isType",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=e}return Object.defineProperty(e.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return Ue(this,e),this.instantiate(null,"",t,e).value}}),Object.defineProperty(e.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){throw ht("unimplemented method")}}),Object.defineProperty(e.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e===this}}),Object.defineProperty(e.prototype,"validate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(Je(e)){var n=m(e);return this.isAssignableFrom(n)?je():Fe(t,e)}return this.isValidSnapshot(e,t)}}),Object.defineProperty(e.prototype,"is",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return 0===this.validate(e,[{path:"",type:this}]).length}}),Object.defineProperty(e.prototype,"Type",{get:function(){throw ht("Factory.Type should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.Type`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TypeWithoutSTN",{get:function(){throw ht("Factory.TypeWithoutSTN should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.TypeWithoutSTN`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SnapshotType",{get:function(){throw ht("Factory.SnapshotType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.SnapshotType`")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"CreationType",{get:function(){throw ht("Factory.CreationType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.CreationType`")},enumerable:!1,configurable:!0}),e}();re=ce,ue.prototype.create=(0,o.aD)(ue.prototype.create);var de=function(e){function t(t){var n=e.call(this,t)||this;return Object.defineProperty(n,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),n}return u(t,e),Object.defineProperty(t.prototype,"create",{enumerable:!1,configurable:!0,writable:!0,value:function(t,n){return void 0===t&&(t=this.getDefaultSnapshot()),e.prototype.create.call(this,t,n)}}),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.createObservableInstanceIfNeeded(),e.storedValue}}),Object.defineProperty(t.prototype,"isMatchingSnapshotId",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!e.identifierAttribute||e.identifier===Xn(t[e.identifierAttribute])}}),Object.defineProperty(t.prototype,"tryToReconcileNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!(e.isDetaching||e.snapshot!==t&&(!Xe(t)||Qe(t)!==e)&&(e.type!==this||!yt(t)||Xe(t)||!this.isMatchingSnapshotId(e,t)||(e.applySnapshot(t),0)))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(this.tryToReconcileNode(e,t))return e.setParent(n,r),e;if(e.die(),Xe(t)&&this.isAssignableFrom(m(t))){var o=Qe(t);return o.setParent(n,r),o}return this.instantiate(n,r,void 0,t)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return null}}),t}(ue);de.prototype.create=(0,o.aD)(de.prototype.create);var he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e}}),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!e.isDetaching&&e.type===this&&e.storedValue===t)return e;var o=this.instantiate(n,r,void 0,t);return e.die(),o}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return null}}),t}(ue);function fe(e){return"object"==typeof e&&e&&!0===e.isType}function pe(e,t){Ct()}var ve=new Map;function me(e){return function(t,n,r){switch(t.type){case"action":if(e.filter&&!0!==e.filter(t))return n(t);var o=e.onStart(t);e.onResume(t,o),ve.set(t.id,{call:t,context:o,async:!1});try{var i=n(t);return e.onSuspend(t,o),!1===ve.get(t.id).async&&(ve.delete(t.id),e.onSuccess(t,o,i)),i}catch(n){throw ve.delete(t.id),e.onFail(t,o,n),n}case"flow_spawn":return(a=ve.get(t.rootId)).async=!0,n(t);case"flow_resume":case"flow_resume_error":var a=ve.get(t.rootId);e.onResume(t,a.context);try{return n(t)}finally{e.onSuspend(t,a.context)}case"flow_throw":return a=ve.get(t.rootId),ve.delete(t.rootId),e.onFail(t,a.context,t.args[0]),n(t);case"flow_return":return a=ve.get(t.rootId),ve.delete(t.rootId),e.onSuccess(t,a.context,t.args[0]),n(t)}}}var ge=function(){function e(e,t){Object.defineProperty(this,"hooks",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"call",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"flowsPending",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"running",{enumerable:!0,configurable:!0,writable:!0,value:!0}),e&&e.onStart(t)}return Object.defineProperty(e.prototype,"finish",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.running&&(this.running=!1,this.hooks&&this.hooks.onFinish(this.call,e))}}),Object.defineProperty(e.prototype,"incFlowsPending",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.flowsPending++}}),Object.defineProperty(e.prototype,"decFlowsPending",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.flowsPending--}}),Object.defineProperty(e.prototype,"hasFlowsPending",{get:function(){return this.flowsPending>0},enumerable:!1,configurable:!0}),e}();function ye(e){var t=new WeakMap;return function(n,r){var o=n.parentActionEvent?t.get(n.parentActionEvent):void 0;if("action"===n.type){var i=d(d({},n),{env:o&&o.call.env,parentCall:o&&o.call}),a=!e.filter||e.filter(i),l=new ge(a?e:void 0,i);t.set(n,l);var s=void 0;try{s=r(n)}catch(e){throw l.finish(e),e}return l.hasFlowsPending||l.finish(),s}if(!o)return r(n);switch(n.type){case"flow_spawn":return o.incFlowsPending(),r(n);case"flow_resume":case"flow_resume_error":return r(n);case"flow_throw":var c=n.args[0];try{return r(n)}finally{o.decFlowsPending(),o.hasFlowsPending||o.finish(c)}case"flow_return":try{return r(n)}finally{o.decFlowsPending(),o.hasFlowsPending||o.finish()}}}}function be(e){return{$MST_UNSERIALIZABLE:!0,type:e}}function we(e,t){Ze(e,1),Ct(),(0,o.z)((function(){mt(t).forEach((function(t){return function(e,t){var n=j(e,t.path||"");if(!n)throw ht("Invalid action path: "+(t.path||""));var r=Qe(n);if("@APPLY_PATCHES"===t.name)return w.call(null,n,t.args[0]);if("@APPLY_SNAPSHOT"===t.name)return O.call(null,n,t.args[0]);if("function"!=typeof n[t.name])throw ht("Action '"+t.name+"' does not exist in '"+r.path+"'");return n[t.name].apply(n,t.args?t.args.map((function(e){return(t=e)&&"object"==typeof t&&"$MST_DATE"in t?new Date(t.$MST_DATE):t;var t})):[])}(e,t)}))}))}function _e(e,t){Ze(e,1);var n,r=[],o=function(e){(!t||t(e,ke()))&&r.push(e)},i={actions:r,get recording(){return!!n},stop:function(){n&&(n(),n=void 0)},resume:function(){n||(n=Ee(e,o))},replay:function(e){we(e,r)}};return i.resume(),i}function Ee(e,t,n){return void 0===n&&(n=!1),Ze(e,1),Te(e,(function(r,o){if("action"===r.type&&r.id===r.rootId){var i=Qe(r.context),a={name:r.name,path:nt(Qe(e),i),args:r.args.map((function(e,t){return function(e,t,n,r){if(r instanceof Date)return{$MST_DATE:r.getTime()};if(bt(r))return r;if(Xe(r))return be("[MSTNode: "+m(r).name+"]");if("function"==typeof r)return be("[function]");if("object"==typeof r&&!gt(r)&&!vt(r))return be("[object "+(r&&r.constructor&&r.constructor.name||"Complex Object")+"]");try{return JSON.stringify(r),r}catch(e){return be(""+e)}}(0,r.name,0,e)}))};if(n){var l=o(r);return t(a),l}return t(a),o(r)}return o(r)}))}var xe,Se=1;function Oe(){return xe}function Ce(){return Se++}function Me(e,t){var n=Qe(e.context);"action"===e.type&&n.assertAlive({actionContext:e});var i=n._isRunningAction;n._isRunningAction=!0;var a=xe;xe=e;try{return function(e,t,n){var i=new Le(e,n);if(i.isEmpty)return(0,o.aD)(n).apply(null,t.args);var a=null;return function e(t){var l=i.getNextMiddleware(),s=l&&l.handler;return s?!l.includeHooks&&r[t.name]?e(t):(s(t,(function(t,n){a=e(t),n&&(a=n(a))}),(function(e){a=e})),a):(0,o.aD)(n).apply(null,t.args)}(t)}(n,e,t)}finally{xe=a,n._isRunningAction=i}}function ze(e){if(e)return"action"===e.type?e:e.parentActionEvent}function Pe(e,t,n){var r=function(){var r=Ce(),o=xe,i=ze(o);return Me({type:"action",name:t,id:r,args:xt(arguments),context:e,tree:A(e),rootId:o?o.rootId:r,parentId:o?o.id:0,allParentIds:o?v(o.allParentIds,[o.id]):[],parentEvent:o,parentActionEvent:i},n)};return r._isMSTAction=!0,r}function Te(e,t,n){return void 0===n&&(n=!0),Qe(e).addMiddleWare(t,n)}function Ae(e,t,n){void 0===n&&(n=!0);var r={handler:e,includeHooks:n};return t.$mst_middleware=t.$mst_middleware||[],t.$mst_middleware.push(r),t}var Le=function(){function e(e,t){Object.defineProperty(this,"arrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"inArrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:[]}),t.$mst_middleware&&this.middlewares.push(t.$mst_middleware);for(var n=e;n;)n.middlewares&&this.middlewares.push(n.middlewares),n=n.parent}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.middlewares.length<=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getNextMiddleware",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.middlewares[this.arrayIndex];if(e)return e[this.inArrayIndex++]||(this.arrayIndex++,this.inArrayIndex=0,this.getNextMiddleware())}}),e}();function ke(){for(var e=Oe();e&&"action"!==e.type;)e=e.parentActionEvent;return e}function Ne(e,t,n){for(var r="number"==typeof t?t:t.id,o=n?e:e.parentActionEvent;o;){if(o.id===r)return!0;o=o.parentActionEvent}return!1}function Ie(e,t){return Ne(e,t,!1)}function Re(e,t){return Ne(e,t,!0)}function He(e){return"function"==typeof e?"<function"+(e.name?" "+e.name:"")+">":Xe(e)?"<"+e+">":"`"+function(e){try{return JSON.stringify(e)}catch(e){return"<Unserializable: "+e+">"}}(e)+"`"}function Ve(e){var t=e.value,n=e.context[e.context.length-1].type,r=e.context.map((function(e){return e.path})).filter((function(e){return e.length>0})).join("/"),o=r.length>0?'at path "/'+r+'" ':"",i=Xe(t)?"value of type "+Qe(t).type.name+":":bt(t)?"value":"snapshot",a=n&&Xe(t)&&n.is(Qe(t).snapshot);return""+o+i+" "+He(t)+" is not assignable "+(n?"to type: `"+n.name+"`":"")+(e.message?" ("+e.message+")":"")+(n?mn(n)||bt(t)?".":", expected an instance of `"+n.name+"` or a snapshot like `"+n.describe()+"` instead."+(a?" (Note that a snapshot of the provided value is compatible with the targeted type)":""):".")}function De(e,t,n){return e.concat([{path:t,type:n}])}function je(){return ct}function Fe(e,t,n){return[{context:e,value:t,message:n}]}function Be(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function Ue(e,t){"undefined"!=typeof process&&process.env&&"true"===process.env.ENABLE_TYPE_CHECK&&Ge(e,t)}function Ge(e,t){var n=e.validate(t,[{path:"",type:e}]);if(n.length>0)throw ht(function(e,t,n){var r;if(0!==n.length)return"Error while converting "+(((r=He(t)).length<280?r:r.substring(0,272)+"......"+r.substring(r.length-8))+" to `")+e.name+"`:\n\n "+n.map(Ve).join("\n ")}(e,t,n))}var qe,We=0,Ke=function(){function e(){Object.defineProperty(this,"cacheId",{enumerable:!0,configurable:!0,writable:!0,value:We++}),Object.defineProperty(this,"cache",{enumerable:!0,configurable:!0,writable:!0,value:o.LO.map()}),Object.defineProperty(this,"lastCacheModificationPerId",{enumerable:!0,configurable:!0,writable:!0,value:o.LO.map()})}return Object.defineProperty(e.prototype,"updateLastCacheModificationPerId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.lastCacheModificationPerId.get(e);this.lastCacheModificationPerId.set(e,void 0===t?1:t+1)}}),Object.defineProperty(e.prototype,"getLastCacheModificationPerId",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.lastCacheModificationPerId.get(e)||0;return this.cacheId+"-"+t}}),Object.defineProperty(e.prototype,"addNodeToCache",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(void 0===t&&(t=!0),e.identifierAttribute){var n=e.identifier;this.cache.has(n)||this.cache.set(n,o.LO.array([],dt));var r=this.cache.get(n);if(-1!==r.indexOf(e))throw ht("Already registered");r.push(e),t&&this.updateLastCacheModificationPerId(n)}}}),Object.defineProperty(e.prototype,"mergeCache",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;(0,o.VO)(e.identifierCache.cache).forEach((function(e){return e.forEach((function(e){t.addNodeToCache(e)}))}))}}),Object.defineProperty(e.prototype,"notifyDied",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.identifierAttribute){var t=e.identifier,n=this.cache.get(t);n&&(n.remove(e),n.length||this.cache.delete(t),this.updateLastCacheModificationPerId(e.identifier))}}}),Object.defineProperty(e.prototype,"splitCache",{enumerable:!1,configurable:!0,writable:!0,value:function(t){var n=this,r=new e,i=t.path;return(0,o.qh)(this.cache).forEach((function(e){for(var t=p(e,2),o=t[0],a=t[1],l=!1,s=a.length-1;s>=0;s--)0===a[s].path.indexOf(i)&&(r.addNodeToCache(a[s],!1),a.splice(s,1),l=!0);l&&n.updateLastCacheModificationPerId(o)})),r}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.cache.get(t);return!!n&&n.some((function(t){return e.isAssignableFrom(t.type)}))}}),Object.defineProperty(e.prototype,"resolve",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.cache.get(t);if(!n)return null;var r=n.filter((function(t){return e.isAssignableFrom(t.type)}));switch(r.length){case 0:return null;case 1:return r[0];default:throw ht("Cannot resolve a reference to type '"+e.name+"' with id: '"+t+"' unambigously, there are multiple candidates: "+r.map((function(e){return e.path})).join(", "))}}}),e}();function $e(e,t,n,r,o){var i=Je(o);if(i){if(i.parent)throw ht("Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '"+(t?t.path:"")+"/"+n+"', but it lives already at '"+i.path+"'");return t&&i.setParent(t,n),i}return new le(e,t,n,r,o)}function Ye(e,t,n,r,o){return new ne(e,t,n,r,o)}function Xe(e){return!(!e||!e.$treenode)}function Ze(e,t){Ct()}function Qe(e){if(!Xe(e))throw ht("Value "+e+" is no MST Node");return e.$treenode}function Je(e){return e&&e.$treenode||null}function et(){return Qe(this).snapshot}!function(e){e[e.INITIALIZING=0]="INITIALIZING",e[e.CREATED=1]="CREATED",e[e.FINALIZED=2]="FINALIZED",e[e.DETACHING=3]="DETACHING",e[e.DEAD=4]="DEAD"}(qe||(qe={}));var tt=function(e){return".."};function nt(e,t){if(e.root!==t.root)throw ht("Cannot calculate relative path: objects '"+e+"' and '"+t+"' are not part of the same object tree");for(var n=jt(e.path),r=jt(t.path),o=0;o<n.length&&n[o]===r[o];o++);return n.slice(o).map(tt).join("/")+Dt(r.slice(o))}function rt(e,t,n){return void 0===n&&(n=!0),ot(e,jt(t),n)}function ot(e,t,n){void 0===n&&(n=!0);for(var r=e,o=0;o<t.length;o++){var i=t[o];if(".."===i){if(r=r.parent)continue}else{if("."===i)continue;if(r){if(r instanceof ne)try{var a=r.value;Xe(a)&&(r=Qe(a))}catch(e){if(!n)return;throw e}if(r instanceof le&&r.getChildType(i)&&(r=r.getChildNode(i)))continue}}if(n)throw ht("Could not resolve '"+i+"' in path '"+(Dt(t.slice(0,o))||"/")+"' while resolving '"+Dt(t)+"'");return}return r}function it(e){if(!e)return ct;var t=Object.keys(e);if(!t.length)return ct;var n=new Array(t.length);return t.forEach((function(t,r){n[r]=e[t]})),n}var at="See https://github.com/mobxjs/mobx-state-tree/issues/399 for more information. Note that the middleware event types starting with `process` now start with `flow`.";function lt(e){return Ot("process","`process()` has been renamed to `flow()`. "+at),At(e)}var st=Object.toString(),ct=Object.freeze([]),ut=Object.freeze({}),dt=(0,o.pu)().useProxies?{deep:!1}:{deep:!1,proxy:!1};function ht(e){return void 0===e&&(e="Illegal state"),new Error("[mobx-state-tree] "+e)}function ft(e){return e}Object.freeze(dt);var pt=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function vt(e){return Array.isArray(e)||(0,o.Ei)(e)}function mt(e){return e?vt(e)?e:[e]:ct}function gt(e){var t;if(null===e||"object"!=typeof e)return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===st}function yt(e){return!(null===e||"object"!=typeof e||e instanceof Date||e instanceof RegExp)}function bt(e,t){return void 0===t&&(t=!0),null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e||t&&e instanceof Date}function wt(e,t,n){!function(e,t,n){(0,o.Pb)(e)?(0,o._x)(e,t,n):Object.defineProperty(e,t,n)}(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}var _t=function(){function e(){Object.defineProperty(this,"handlers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}return Object.defineProperty(e.prototype,"hasSubscribers",{get:function(){return this.handlers.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return void 0===t&&(t=!1),t?this.handlers.unshift(e):this.handlers.push(e),function(){n.unregister(e)}}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.handlers.indexOf(e)>=0}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.handlers.indexOf(e);t>=0&&this.handlers.splice(t,1)}}),Object.defineProperty(e.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.handlers.length=0}}),Object.defineProperty(e.prototype,"emit",{enumerable:!1,configurable:!0,writable:!0,value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.handlers.slice().forEach((function(t){return t.apply(void 0,v(e))}))}}),e}(),Et=function(){function e(){Object.defineProperty(this,"eventHandlers",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}return Object.defineProperty(e.prototype,"hasSubscribers",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.eventHandlers&&this.eventHandlers[e];return!!t&&t.hasSubscribers}}),Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){void 0===n&&(n=!1),this.eventHandlers||(this.eventHandlers={});var r=this.eventHandlers[e];return r||(r=this.eventHandlers[e]=new _t),r.register(t,n)}}),Object.defineProperty(e.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.eventHandlers&&this.eventHandlers[e];return!!n&&n.has(t)}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.eventHandlers&&this.eventHandlers[e];n&&n.unregister(t)}}),Object.defineProperty(e.prototype,"clear",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.eventHandlers&&delete this.eventHandlers[e]}}),Object.defineProperty(e.prototype,"clearAll",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.eventHandlers=void 0}}),Object.defineProperty(e.prototype,"emit",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.eventHandlers&&this.eventHandlers[e];o&&(t=o).emit.apply(t,v(n))}}),e}();function xt(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}function St(e,t){return 0===e.indexOf(t)}var Ot=function(e,t){};function Ct(e,t,n,r){}function Mt(e,t){}function zt(e,t,n,r){}function Pt(e,t,n){void 0===n&&(n=!0)}function Tt(e){"function"==typeof queueMicrotask?queueMicrotask(e):"function"==typeof setImmediate?setImmediate(e):setTimeout(e,1)}function At(e){return function(e,t){var n=function(){var r=Ce(),o=Oe();if(!o)throw ht("a mst flow must always have a parent context");var i=ze(o);if(!i)throw ht("a mst flow must always have a parent action context");var a={name:e,id:r,tree:o.tree,context:o.context,parentId:o.id,allParentIds:v(o.allParentIds,[o.id]),rootId:o.rootId,parentEvent:o,parentActionEvent:i},l=arguments;function s(e,t,r){return e.$mst_middleware=n.$mst_middleware,Me(d(d({},a),{type:t,args:[r]}),e)}return new Promise((function(e,r){var o,i=function(){o=t.apply(null,arguments),c(void 0)};function c(e){var t;try{var n=s((function(e){t=o.next(e)}),"flow_resume",e);n instanceof Error&&(t=o.throw(n))}catch(e){return void Tt((function(){s((function(t){r(e)}),"flow_throw",e)}))}h(t)}function u(e){var t;try{s((function(e){t=o.throw(e)}),"flow_resume_error",e)}catch(e){return void Tt((function(){s((function(t){r(e)}),"flow_throw",e)}))}h(t)}function h(t){if(!t.done){if(!t.value||"function"!=typeof t.value.then)throw ht("Only promises can be yielded to `async`, got: "+t);return t.value.then(c,u)}Tt((function(){s((function(t){e(t)}),"flow_return",t.value)}))}i.$mst_middleware=n.$mst_middleware,Me(d(d({},a),{type:"flow_spawn",args:xt(l)}),i)}))};return n}(e.name,e)}function Lt(e){return e}function kt(e){return function(){var t,n=[];for(t=0;t<arguments.length;t++)n[t]=arguments[t];return h(this,(function(t){switch(t.label){case 0:return[4,e.apply(void 0,v(n))];case 1:return[2,t.sent()]}}))}}function Nt(e){return h(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}function It(e){switch(e.op){case"add":return{op:"add",path:e.path,value:e.value};case"remove":return{op:"remove",path:e.path};case"replace":return{op:"replace",path:e.path,value:e.value}}}function Rt(e){switch(e.op){case"add":return{op:"remove",path:e.path};case"remove":return{op:"add",path:e.path,value:e.oldValue};case"replace":return{op:"replace",path:e.path,value:e.oldValue}}}function Ht(e){return 1==("number"==typeof e)?""+e:-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Vt(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Dt(e){if(0===e.length)return"";var t=function(e){return e.map(Ht).join("/")};return"."===e[0]||".."===e[0]?t(e):"/"+t(e)}function jt(e){var t=e.split("/").map(Vt);if(!(""===e||"."===e||".."===e||St(e,"/")||St(e,"./")||St(e,"../")))throw ht("a json path must be either rooted, empty or relative, but got '"+e+"'");return""===t[0]&&t.shift(),t}Ot.ids={};var Ft,Bt=Symbol("$preProcessorFailed"),Ut=function(e){function t(t,n,r){var o=e.call(this,r||t.name)||this;return Object.defineProperty(o,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"_processors",{enumerable:!0,configurable:!0,writable:!0,value:n}),o}return u(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|oe.SnapshotProcessor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"snapshotProcessor("+this._subtype.describe()+")"}}),Object.defineProperty(t.prototype,"preProcessSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._processors.preProcessor?this._processors.preProcessor.call(null,e):e}}),Object.defineProperty(t.prototype,"preProcessSnapshotSafe",{enumerable:!1,configurable:!0,writable:!0,value:function(e){try{return this.preProcessSnapshot(e)}catch(e){return Bt}}}),Object.defineProperty(t.prototype,"postProcessSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._processors.postProcessor?this._processors.postProcessor.call(null,e):e}}),Object.defineProperty(t.prototype,"_fixNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;!function(e,t){for(var n,r,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];try{for(var a=f(o),l=a.next();!l.done;l=a.next()){var s=l.value;e[s]=t[s].bind(t)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}(e.type,this,"create");var n=e.getSnapshot;e.getSnapshot=function(){return t.postProcessSnapshot(n.call(e))},Sn(this._subtype)||(e.getReconciliationType=function(){return t})}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Xe(r)?r:this.preProcessSnapshot(r),i=this._subtype.instantiate(e,t,n,o);return this._fixNode(i),i}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this._subtype.reconcile(e,Xe(t)?t:this.preProcessSnapshot(t),n,r);return o!==e&&this._fixNode(o),o}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!0);var n=this._subtype.getSnapshot(e);return t?this.postProcessSnapshot(n):n}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.preProcessSnapshotSafe(e);return n===Bt?Fe(t,e,"Failed to preprocess value"):this._subtype.validate(n,t)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),Object.defineProperty(t.prototype,"is",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=fe(e)?this._subtype:Xe(e)?C(e,!1):this.preProcessSnapshotSafe(e);return t!==Bt&&0===this._subtype.validate(t,[{path:"",type:this._subtype}]).length}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isMatchingSnapshotId",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!(this._subtype instanceof de))return!1;var n=this.preProcessSnapshot(t);return this._subtype.isMatchingSnapshotId(e,n)}}),t}(ue),Gt="Map.put can only be used to store complex values that have an identifier type attribute";function qt(e,t){var n,r,o=e.getSubTypes();if(o===se)return!1;if(o){var i=mt(o);try{for(var a=f(i),l=a.next();!l.done;l=a.next())if(!qt(l.value,t))return!1}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}return e instanceof on&&t.push(e),!0}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.YES=1]="YES",e[e.NO=2]="NO"}(Ft||(Ft={}));var Wt=function(e){function t(t){return e.call(this,t,o.LO.ref.enhancer)||this}return u(t,e),Object.defineProperty(t.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.get.call(this,""+t)}}),Object.defineProperty(t.prototype,"has",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.has.call(this,""+t)}}),Object.defineProperty(t.prototype,"delete",{enumerable:!1,configurable:!0,writable:!0,value:function(t){return e.prototype.delete.call(this,""+t)}}),Object.defineProperty(t.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(t,n){return e.prototype.set.call(this,""+t,n)}}),Object.defineProperty(t.prototype,"put",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!e)throw ht("Map.put cannot be used to set empty values");if(Xe(e)){var t=Qe(e);if(null===t.identifier)throw ht(Gt);return this.set(t.identifier,e),e}if(yt(e)){var n=Qe(this),r=n.type;if(r.identifierMode!==Ft.YES)throw ht(Gt);var o=e[r.mapIdentifierAttribute];if(!Zn(o)){var i=this.put(r.getChildType().create(e,n.environment));return this.put(C(i))}var a=Xn(o);return this.set(a,e),this.get(a)}throw ht("Map.put can only be used to store complex values")}}),t}(o.vP),Kt=function(e){function t(t,n,r){void 0===r&&(r=[]);var o=e.call(this,t)||this;return Object.defineProperty(o,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"identifierMode",{enumerable:!0,configurable:!0,writable:!0,value:Ft.UNKNOWN}),Object.defineProperty(o,"mapIdentifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Map}),Object.defineProperty(o,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),o._determineIdentifierMode(),o.hookInitializers=r,o}return u(t,e),Object.defineProperty(t.prototype,"hooks",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var n=this.hookInitializers.length>0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._determineIdentifierMode(),$e(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"_determineIdentifierMode",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.identifierMode===Ft.UNKNOWN){var e=[];if(qt(this._subType,e)){var t=e.reduce((function(e,t){if(!t.identifierAttribute)return e;if(e&&e!==t.identifierAttribute)throw ht("The objects in a map should all have the same identifier attribute, expected '"+e+"', but child of type '"+t.name+"' declared attribute '"+t.identifierAttribute+"' as identifier");return t.identifierAttribute}),void 0);t?(this.identifierMode=Ft.YES,this.mapIdentifierAttribute=t):this.identifierMode=Ft.NO}}}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t={});var n=e.type._subType,r={};return Object.keys(t).forEach((function(o){r[o]=n.instantiate(e,o,void 0,t[o])})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new Wt(e)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){(0,o.Nv)(t,e.unbox),e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],o=Pe(t,e,r);wt(t,e,o)}))})),(0,o.Su)(t,this.willChange),(0,o.N7)(t,this.didChange)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"Map<string, "+this._subType.describe()+">"}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(0,o.VO)(e.storedValue)}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=e.storedValue.get(""+t);if(!n)throw ht("Not a child "+t);return n}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Qe(e.object),n=e.name;t.assertWritable({subpath:n});var r=t.type,o=r._subType;switch(e.type){case"update":var i=e.newValue;if(i===e.object.get(n))return null;Ue(o,i),e.newValue=o.reconcile(t.getChildNode(n),e.newValue,t,n),r.processIdentifier(n,e.newValue);break;case"add":Ue(o,e.newValue),e.newValue=o.instantiate(t,n,void 0,e.newValue),r.processIdentifier(n,e.newValue)}return e}}),Object.defineProperty(t.prototype,"processIdentifier",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this.identifierMode===Ft.YES&&t instanceof le){var n=t.identifier;if(n!==e)throw ht("A map of objects containing an identifier should always store the object under their own identifier. Trying to store key '"+n+"', but expected: '"+e+"'")}}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return e.getChildren().forEach((function(e){t[e.subpath]=e.snapshot})),t}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n].getSnapshot()})),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Qe(e.object);switch(e.type){case"update":return void t.emitPatch({op:"replace",path:Ht(e.name),value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"add":return void t.emitPatch({op:"add",path:Ht(e.name),value:e.newValue.snapshot,oldValue:void 0},t);case"delete":var n=e.oldValue.snapshot;return e.oldValue.die(),void t.emitPatch({op:"remove",path:Ht(e.name),oldValue:n},t)}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var r=e.storedValue;switch(n.op){case"add":case"replace":r.set(t,n.value);break;case"remove":r.delete(t)}}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Ue(this,t);var n=e.storedValue,r={};if(Array.from(n.keys()).forEach((function(e){r[e]=!1})),t)for(var o in t)n.set(o,t[o]),r[""+o]=!0;Object.keys(r).forEach((function(e){!1===r[e]&&n.delete(e)}))}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return gt(e)?Be(Object.keys(e).map((function(r){return n._subType.validate(e[r],De(t,r,n._subType))}))):Fe(t,e,"Value is not a plain object")}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return ut}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue.delete(t)}}),t}(de);function $t(e){return fe(e)&&(e.flags&oe.Map)>0}Kt.prototype.applySnapshot=(0,o.aD)(Kt.prototype.applySnapshot);var Yt=function(e){function t(t,n,r){void 0===r&&(r=[]);var o=e.call(this,t)||this;return Object.defineProperty(o,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Array}),Object.defineProperty(o,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),o.hookInitializers=r,o}return u(t,e),Object.defineProperty(t.prototype,"hooks",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var n=this.hookInitializers.length>0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return $e(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=[]);var n=e.type._subType,r={};return t.forEach((function(t,o){var i=""+o;r[i]=n.instantiate(e,i,void 0,t)})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return o.LO.array(it(e),dt)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){(0,o.kS)(t).dehancer=e.unbox,e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],o=Pe(t,e,r);wt(t,e,o)}))})),(0,o.Su)(t,this.willChange),(0,o.N7)(t,this.didChange)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType.describe()+"[]"}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue.slice()}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=Number(t);if(n<e.storedValue.length)return e.storedValue[n];throw ht("Not a child: "+t)}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Qe(e.object);t.assertWritable({subpath:""+e.index});var n=t.type._subType,r=t.getChildren();switch(e.type){case"update":if(e.newValue===e.object[e.index])return null;var o=Xt(t,n,[r[e.index]],[e.newValue],[e.index]);if(!o)return null;e.newValue=o[0];break;case"splice":var i=e.index,a=e.removedCount,l=e.added,s=Xt(t,n,r.slice(i,i+a),l,l.map((function(e,t){return i+t})));if(!s)return null;e.added=s;for(var c=i+a;c<r.length;c++)r[c].setParent(t,""+(c+l.length-a))}return e}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.getChildren().map((function(e){return e.snapshot}))}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=[];return Object.keys(e).forEach((function(n){t.push(e[n].getSnapshot())})),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Qe(e.object);switch(e.type){case"update":return void t.emitPatch({op:"replace",path:""+e.index,value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"splice":for(var n=e.removedCount-1;n>=0;n--)t.emitPatch({op:"remove",path:""+(e.index+n),oldValue:e.removed[n].snapshot},t);for(n=0;n<e.addedCount;n++)t.emitPatch({op:"add",path:""+(e.index+n),value:t.getChildNode(""+(e.index+n)).snapshot,oldValue:void 0},t);return}}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var r=e.storedValue,o="-"===t?r.length:Number(t);switch(n.op){case"replace":r[o]=n.value;break;case"add":r.splice(o,0,n.value);break;case"remove":r.splice(o,1)}}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Ue(this,t),e.storedValue.replace(t)}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subType}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;return vt(e)?Be(e.map((function(e,r){return n._subType.validate(e,De(t,""+r,n._subType))}))):Fe(t,e,"Value is not an array")}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return ct}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue.splice(Number(t),1)}}),t}(de);function Xt(e,t,n,r,o){for(var i,a=!0,l=0;;l++){var s=l<=r.length-1,c=n[l],u=s?r[l]:void 0,d=""+o[l];if(((i=u)instanceof ne||i instanceof le)&&(u=u.storedValue),!c&&!s)break;if(s)if(c)if(Qt(c,u))n[l]=Zt(t,e,d,u,c);else{for(var h=void 0,f=l;f<n.length;f++)if(Qt(n[f],u)){h=n.splice(f,1)[0];break}a=!1,p=Zt(t,e,d,u,h),n.splice(l,0,p)}else{if(Xe(u)&&Qe(u).parent===e)throw ht("Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '"+e.path+"/"+d+"', but it lives already at '"+Qe(u).path+"'");a=!1;var p=Zt(t,e,d,u);n.splice(l,0,p)}else a=!1,n.splice(l,1),c instanceof le&&c.createObservableInstanceIfNeeded(),c.die(),l--}return a?null:n}function Zt(e,t,n,r,o){Ue(e,r);var i=function(){if(Xe(r)){var i=Qe(r);if(i.assertAlive(ut),null!==i.parent&&i.parent===t)return i.setParent(t,n),i}return o?e.reconcile(o,r,t,n):e.instantiate(t,n,void 0,r)}();return o&&o!==i&&(o instanceof le&&o.createObservableInstanceIfNeeded(),o.die()),i}function Qt(e,t){if(!e.isAlive)return!1;if(Xe(t)){var n=Qe(t);return n.isAlive&&n===e}if(e.snapshot===t)return!0;if(!(e instanceof le))return!1;var r=e.getReconciliationType();return null!==e.identifier&&e.identifierAttribute&>(t)&&r.is(t)&&r.isMatchingSnapshotId(e,t)}function Jt(e){return fe(e)&&(e.flags&oe.Array)>0}Yt.prototype.applySnapshot=(0,o.aD)(Yt.prototype.applySnapshot);var en="preProcessSnapshot",tn="postProcessSnapshot";function nn(){return Qe(this).toString()}var rn={name:"AnonymousModel",properties:{},initializers:ct};var on=function(e){function t(t){var n,o=e.call(this,t.name||rn.name)||this;return Object.defineProperty(o,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Object}),Object.defineProperty(o,"initializers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"properties",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"preProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"postProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"propertyNames",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"named",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return o.cloneAndEnhance({name:e})}}),Object.defineProperty(o,"props",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return o.cloneAndEnhance({properties:e})}}),Object.defineProperty(o,"preProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=o.preProcessor;return t?o.cloneAndEnhance({preProcessor:function(n){return t(e(n))}}):o.cloneAndEnhance({preProcessor:e})}}),Object.defineProperty(o,"postProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=o.postProcessor;return t?o.cloneAndEnhance({postProcessor:function(n){return e(t(n))}}):o.cloneAndEnhance({postProcessor:e})}}),Object.assign(o,rn,t),o.properties=(n=o.properties,Object.keys(n).reduce((function(e,t){var n,o,i;if(t in r)throw ht("Hook '"+t+"' was defined as property. Hooks should be defined as part of the actions");var a=Object.getOwnPropertyDescriptor(e,t);if("get"in a)throw ht("Getters are not supported as properties. Please use views instead");var l=a.value;if(null==l)throw ht("The default value of an attribute cannot be null or undefined as the type cannot be inferred. Did you mean `types.maybe(someType)`?");if(bt(l))return Object.assign({},e,((n={})[t]=Cn(function(e){switch(typeof e){case"string":return sn;case"number":return cn;case"boolean":return dn;case"object":if(e instanceof Date)return vn}throw ht("Cannot determine primitive type from value "+e)}(l),l),n));if(l instanceof Kt)return Object.assign({},e,((o={})[t]=Cn(l,{}),o));if(l instanceof Yt)return Object.assign({},e,((i={})[t]=Cn(l,[]),i));if(fe(l))return e;throw ht("Invalid type definition for property '"+t+"', cannot infer a type from a value like '"+l+"' ("+typeof l+")")}),n)),o.properties,o.propertyNames=Object.keys(o.properties),o.identifierAttribute=o._getIdentifierAttribute(),o}return u(t,e),Object.defineProperty(t.prototype,"_getIdentifierAttribute",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=void 0;return this.forAllProps((function(t,n){if(n.flags&oe.Identifier){if(e)throw ht("Cannot define property '"+t+"' as object identifier, property '"+e+"' is already defined as identifier property");e=t}})),e}}),Object.defineProperty(t.prototype,"cloneAndEnhance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return new t({name:e.name||this.name,properties:Object.assign({},this.properties,e.properties),initializers:this.initializers.concat(e.initializers||[]),preProcessor:e.preProcessor||this.preProcessor,postProcessor:e.postProcessor||this.postProcessor})}}),Object.defineProperty(t.prototype,"actions",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){return t.instantiateActions(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateActions",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!gt(t))throw ht("actions initializer should return a plain object containing actions");Object.keys(t).forEach((function(n){if(n===en)throw ht("Cannot define action '"+en+"', it should be defined using 'type.preProcessSnapshot(fn)' instead");if(n===tn)throw ht("Cannot define action '"+tn+"', it should be defined using 'type.postProcessSnapshot(fn)' instead");var o=t[n],i=e[n];if(n in r&&i){var a=o;o=function(){i.apply(null,arguments),a.apply(null,arguments)}}var l=o.$mst_middleware,s=o.bind(t);s.$mst_middleware=l;var c=Pe(e,n,s);t[n]=c,wt(e,n,c)}))}}),Object.defineProperty(t.prototype,"volatile",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;if("function"!=typeof e)throw ht("You passed an "+typeof e+" to volatile state as an argument, when function is expected");return this.cloneAndEnhance({initializers:[function(n){return t.instantiateVolatileState(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateVolatileState",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!gt(t))throw ht("volatile state initializer should return a plain object containing state");(0,o.t8)(e,t)}}),Object.defineProperty(t.prototype,"extend",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){var r=e(n),o=r.actions,i=r.views,a=r.state,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(r,["actions","views","state"]);for(var s in l)throw ht("The `extend` function should return an object with a subset of the fields 'actions', 'views' and 'state'. Found invalid key '"+s+"'");return a&&t.instantiateVolatileState(n,a),i&&t.instantiateViews(n,i),o&&t.instantiateActions(n,o),n}]})}}),Object.defineProperty(t.prototype,"views",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;return this.cloneAndEnhance({initializers:[function(n){return t.instantiateViews(n,e(n)),n}]})}}),Object.defineProperty(t.prototype,"instantiateViews",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!gt(t))throw ht("views initializer should return a plain object containing views");Object.getOwnPropertyNames(t).forEach((function(n){var r,i=Object.getOwnPropertyDescriptor(t,n);if("get"in i)(0,o._x)(e,n,i),(0,o.rC)(e,((r={})[n]=o.Fl,r));else{if("function"!=typeof i.value)throw ht("A view member should either be a function or getter based property");wt(e,n,i.value)}}))}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return $e(this,e,t,n,Xe(r)?r:this.applySnapshotPreProcessor(r))}}),Object.defineProperty(t.prototype,"initializeChildNodes",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t={});var n=e.type,r={};return n.forAllProps((function(n,o){r[n]=o.instantiate(e,n,void 0,t[n])})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return o.LO.object(e,ut,dt)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){wt(t,"toString",nn),this.forAllProps((function(n){(0,o.Nv)(t,n,e.unbox)})),this.initializers.reduce((function(e,t){return t(e)}),t),(0,o.Su)(t,this.willChange),(0,o.N7)(t,this.didChange)}}),Object.defineProperty(t.prototype,"willChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e,n=Qe(t.object),r=t.name;n.assertWritable({subpath:r});var o=n.type.properties[r];return o&&(Ue(o,t.newValue),t.newValue=o.reconcile(n.getChildNode(r),t.newValue,n,r)),t}}),Object.defineProperty(t.prototype,"didChange",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=e,n=Qe(t.object);if(n.type.properties[t.name]){var r=t.oldValue?t.oldValue.snapshot:void 0;n.emitPatch({op:"replace",path:Ht(t.name),value:t.newValue.snapshot,oldValue:r},n)}}}),Object.defineProperty(t.prototype,"getChildren",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,n=[];return this.forAllProps((function(r){n.push(t.getChildNode(e,r))})),n}}),Object.defineProperty(t.prototype,"getChildNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(!(t in this.properties))throw ht("Not a value property: "+t);var n=(0,o.kS)(e.storedValue,t).raw();if(!n)throw ht("Node not available for property "+t);return n}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this;void 0===t&&(t=!0);var r={};return this.forAllProps((function(t,i){(0,o.qp)(e.storedValue,t).reportObserved(),r[t]=n.getChildNode(e,t).snapshot})),t?this.applySnapshotPostProcessor(r):r}}),Object.defineProperty(t.prototype,"processInitialSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n].getSnapshot()})),this.applySnapshotPostProcessor(t)}}),Object.defineProperty(t.prototype,"applyPatchLocally",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){if("replace"!==n.op&&"add"!==n.op)throw ht("object does not support operation "+n.op);e.storedValue[t]=n.value}}),Object.defineProperty(t.prototype,"applySnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){Ue(this,t);var n=this.applySnapshotPreProcessor(t);this.forAllProps((function(t){e.storedValue[t]=n[t]}))}}),Object.defineProperty(t.prototype,"applySnapshotPreProcessor",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.preProcessor;return t?t.call(null,e):e}}),Object.defineProperty(t.prototype,"applySnapshotPostProcessor",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.postProcessor;return t?t.call(null,e):e}}),Object.defineProperty(t.prototype,"getChildType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return Pt(),this.properties[e]}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this,r=this.applySnapshotPreProcessor(e);return gt(r)?Be(this.propertyNames.map((function(e){return n.properties[e].validate(r[e],De(t,e,n.properties[e]))}))):Fe(t,r,"Value is not a plain object")}}),Object.defineProperty(t.prototype,"forAllProps",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this;this.propertyNames.forEach((function(n){return e(n,t.properties[n])}))}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return"{ "+this.propertyNames.map((function(t){return t+": "+e.properties[t].describe()})).join("; ")+" }"}}),Object.defineProperty(t.prototype,"getDefaultSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){return ut}}),Object.defineProperty(t.prototype,"removeChild",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){e.storedValue[t]=void 0}}),t}(de);function an(e){return fe(e)&&(e.flags&oe.Object)>0}on.prototype.applySnapshot=(0,o.aD)(on.prototype.applySnapshot);var ln=function(e){function t(t,n,r,o){void 0===o&&(o=ft);var i=e.call(this,t)||this;return Object.defineProperty(i,"flags",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(i,"checker",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(i,"initializer",{enumerable:!0,configurable:!0,writable:!0,value:o}),i.flags=n,i}return u(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ye(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.initializer(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return bt(e)&&this.checker(e)?je():Fe(t,e,"Value is not a "+("Date"===this.name?"Date or a unix milliseconds timestamp":this.name))}}),t}(he),sn=new ln("string",oe.String,(function(e){return"string"==typeof e})),cn=new ln("number",oe.Number,(function(e){return"number"==typeof e})),un=new ln("integer",oe.Integer,(function(e){return pt(e)})),dn=new ln("boolean",oe.Boolean,(function(e){return"boolean"==typeof e})),hn=new ln("null",oe.Null,(function(e){return null===e})),fn=new ln("undefined",oe.Undefined,(function(e){return void 0===e})),pn=new ln("Date",oe.Date,(function(e){return"number"==typeof e||e instanceof Date}),(function(e){return e instanceof Date?e:new Date(e)}));pn.getSnapshot=function(e){return e.storedValue.getTime()};var vn=pn;function mn(e){return fe(e)&&(e.flags&(oe.String|oe.Number|oe.Integer|oe.Boolean|oe.Date))>0}var gn=function(e){function t(t){var n=e.call(this,JSON.stringify(t))||this;return Object.defineProperty(n,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Literal}),n.value=t,n}return u(t,e),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ye(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return JSON.stringify(this.value)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return bt(e)&&e===this.value?je():Fe(t,e,"Value is not a literal "+JSON.stringify(this.value))}}),t}(he);function yn(e){return new gn(e)}function bn(e){return fe(e)&&(e.flags&oe.Literal)>0}var wn=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return Object.defineProperty(i,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(i,"_predicate",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(i,"_message",{enumerable:!0,configurable:!0,writable:!0,value:o}),i}return u(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|oe.Refinement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this._subtype.validate(e,t);if(n.length>0)return n;var r=Xe(e)?Qe(e).snapshot:e;return this._predicate(r)?je():Fe(t,e,this._message(e))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),t}(ue);function _n(e){return(e.flags&oe.Refinement)>0}var En=function(e){function t(t,n,r){var o=e.call(this,t)||this;return Object.defineProperty(o,"_types",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"_dispatcher",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(o,"_eager",{enumerable:!0,configurable:!0,writable:!0,value:!0}),r=d({eager:!0,dispatcher:void 0},r),o._dispatcher=r.dispatcher,r.eager||(o._eager=!1),o}return u(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){var e=oe.Union;return this._types.forEach((function(t){e|=t.flags})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._types.some((function(t){return t.isAssignableFrom(e)}))}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"("+this._types.map((function(e){return e.describe()})).join(" | ")+")"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this.determineType(r,void 0);if(!o)throw ht("No matching type for union "+this.describe());return o.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this.determineType(t,e.getReconciliationType());if(!o)throw ht("No matching type for union "+this.describe());return o.reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"determineType",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this._dispatcher?this._dispatcher(e):t?t.is(e)?t:this._types.filter((function(e){return e!==t})).find((function(t){return t.is(e)})):this._types.find((function(t){return t.is(e)}))}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this._dispatcher)return this._dispatcher(e).validate(e,t);for(var n=[],r=0,o=0;o<this._types.length;o++){var i=this._types[o].validate(e,t);if(0===i.length){if(this._eager)return je();r++}else n.push(i)}return 1===r?je():Fe(t,e,"No type is applicable for the union").concat(Be(n))}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._types}}),t}(ue);function xn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=fe(e)?void 0:e,o=fe(e)?v([e],t):t,i="("+o.map((function(e){return e.name})).join(" | ")+")";return new En(i,o,r)}function Sn(e){return(e.flags&oe.Union)>0}var On=function(e){function t(t,n,r){var o=e.call(this,t.name)||this;return Object.defineProperty(o,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(o,"_defaultValue",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o,"optionalValues",{enumerable:!0,configurable:!0,writable:!0,value:r}),o}return u(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|oe.Optional},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype.describe()+"?"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(this.optionalValues.indexOf(r)>=0){var o=this.getDefaultInstanceOrSnapshot();return this._subtype.instantiate(e,t,n,o)}return this._subtype.instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this._subtype.reconcile(e,this.optionalValues.indexOf(t)<0&&this._subtype.is(t)?t:this.getDefaultInstanceOrSnapshot(),n,r)}}),Object.defineProperty(t.prototype,"getDefaultInstanceOrSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e="function"==typeof this._defaultValue?this._defaultValue():this._defaultValue;return"function"==typeof this._defaultValue&&Ue(this,e),e}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return this.optionalValues.indexOf(e)>=0?je():this._subtype.validate(e,t)}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this._subtype.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this._subtype}}),t}(ue);function Cn(e,t,n){return function(e,t){if("function"!=typeof t&&Xe(t))throw ht("default value cannot be an instance, pass a snapshot or a function that creates an instance/snapshot instead");pe()}(0,t),new On(e,t,n||Mn)}var Mn=[void 0];function zn(e){return fe(e)&&(e.flags&oe.Optional)>0}var Pn=Cn(fn,void 0),Tn=Cn(hn,null);function An(e){return pe(),xn(e,Pn)}var Ln=function(e){function t(t,n){var r=e.call(this,t)||this;return Object.defineProperty(r,"_definition",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r}return u(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return(this._subType?this._subType.flags:0)|oe.Late},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"getSubType",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(!this._subType){var t=void 0;try{t=this._definition()}catch(e){if(!(e instanceof ReferenceError))throw e;t=void 0}if(e&&void 0===t)throw ht("Late type seems to be used too early, the definition (still) returns undefined");t&&(this._subType=t)}return this._subType}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this.getSubType(!0).instantiate(e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return this.getSubType(!0).reconcile(e,t,n,r)}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.getSubType(!1);return e?e.name:"<uknown late type>"}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this.getSubType(!1);return n?n.validate(e,t):je()}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this.getSubType(!1);return!!t&&t.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"getSubTypes",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.getSubType(!1)||se}}),t}(ue);function kn(e){return fe(e)&&(e.flags&oe.Late)>0}var Nn=function(e){function t(t){var n=e.call(this,t?"frozen("+t.name+")":"frozen")||this;return Object.defineProperty(n,"subType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Frozen}),n}return u(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"<any immutable value>"}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ye(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return function(e){return"function"!=typeof e}(e)?this.subType?this.subType.validate(e,t):je():Fe(t,e,"Value is not serializable and cannot be frozen")}}),t}(he),In=new Nn;function Rn(e){return fe(e)&&(e.flags&oe.Frozen)>0}var Hn=function(){function e(e,t){if(Object.defineProperty(this,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"node",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resolvedReference",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Zn(e))this.identifier=e;else{if(!Xe(e))throw ht("Can only store references to tree nodes or identifiers, got: '"+e+"'");var n=Qe(e);if(!n.identifierAttribute)throw ht("Can only store references with a defined identifier attribute.");var r=n.unnormalizedIdentifier;if(null==r)throw ht("Can only store references to tree nodes with a defined identifier.");this.identifier=r}}return Object.defineProperty(e.prototype,"updateResolvedReference",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=Xn(this.identifier),n=e.root,r=n.identifierCache.getLastCacheModificationPerId(t);if(!this.resolvedReference||this.resolvedReference.lastCacheModification!==r){var o=this.targetType,i=n.identifierCache.resolve(o,t);if(!i)throw new Vn("[mobx-state-tree] Failed to resolve reference '"+this.identifier+"' to type '"+this.targetType.name+"' (from node: "+e.path+")");this.resolvedReference={node:i,lastCacheModification:r}}}}),Object.defineProperty(e.prototype,"resolvedValue",{get:function(){return this.updateResolvedReference(this.node),this.resolvedReference.node.value},enumerable:!1,configurable:!0}),e}(),Vn=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return u(t,e),t}(Error),Dn=function(e){function t(t,n){var r=e.call(this,"reference("+t.name+")")||this;return Object.defineProperty(r,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(r,"onInvalidated",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Reference}),r}return u(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"isAssignableFrom",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.targetType.isAssignableFrom(e)}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return Zn(e)?je():Fe(t,e,"Value is not a valid identifier, which is a string or a number")}}),Object.defineProperty(t.prototype,"fireInvalidated",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=t.parent;if(o&&o.isAlive){var i=o.storedValue;i&&this.onInvalidated({cause:e,parent:i,invalidTarget:r?r.storedValue:void 0,invalidId:n,replaceRef:function(e){w(t.root.storedValue,{op:"replace",value:e,path:t.path})},removeRef:function(){an(o.type)?this.replaceRef(void 0):w(t.root.storedValue,{op:"remove",path:t.path})}})}}}),Object.defineProperty(t.prototype,"addTargetNodeWatcher",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var n=this,o=this.getValue(e);if(o){var i=Qe(o),a=function(o,a){var l=function(e){switch(e){case r.beforeDestroy:return"destroy";case r.beforeDetach:return"detach";default:return}}(a);l&&n.fireInvalidated(l,e,t,i)},l=i.registerHook(r.beforeDetach,a),s=i.registerHook(r.beforeDestroy,a);return function(){l(),s()}}}}),Object.defineProperty(t.prototype,"watchTargetNodeForInvalidations",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){var o=this;if(this.onInvalidated){var i;e.registerHook(r.beforeDestroy,(function(){i&&i()}));var a=function(r){i&&i();var a=e.parent,l=a&&a.storedValue;a&&a.isAlive&&l&&((n?n.get(t,l):e.root.identifierCache.has(o.targetType,Xn(t)))?i=o.addTargetNodeWatcher(e,t):r||o.fireInvalidated("invalidSnapshotReference",e,t,null))};e.state===qe.FINALIZED?a(!0):(e.isRoot||e.root.registerHook(r.afterCreationFinalization,(function(){e.parent&&e.parent.createObservableInstanceIfNeeded()})),e.registerHook(r.afterAttach,(function(){a(!1)})))}}}),t}(he),jn=function(e){function t(t,n){return e.call(this,t,n)||this}return u(t,e),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.isAlive)return e.storedValue.resolvedValue}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue.identifier}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Xe(r)?H(r):r,i=new Hn(r,this.targetType),a=Ye(this,e,t,n,i);return i.node=a,this.watchTargetNodeForInvalidations(a,o,void 0),a}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!e.isDetaching&&e.type===this){var o=Xe(t),i=e.storedValue;if(!o&&i.identifier===t||o&&i.resolvedValue===t)return e.setParent(n,r),e}var a=this.instantiate(n,r,void 0,t);return e.die(),a}}),t}(Dn),Fn=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return Object.defineProperty(o,"options",{enumerable:!0,configurable:!0,writable:!0,value:n}),o}return u(t,e),Object.defineProperty(t.prototype,"getValue",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(e.isAlive)return this.options.get(e.storedValue,e.parent?e.parent.storedValue:null)}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Xe(r)?this.options.set(r,e?e.storedValue:null):r,i=Ye(this,e,t,n,o);return this.watchTargetNodeForInvalidations(i,o,this.options),i}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=Xe(t)?this.options.set(t,e?e.storedValue:null):t;if(!e.isDetaching&&e.type===this&&e.storedValue===o)return e.setParent(n,r),e;var i=this.instantiate(n,r,void 0,o);return e.die(),i}}),t}(Dn);function Bn(e,t){pe();var n=t||void 0,r=t?t.onInvalidated:void 0;return n&&(n.get||n.set)?new Fn(e,{get:n.get,set:n.set},r):new jn(e,r)}function Un(e){return(e.flags&oe.Reference)>0}var Gn=function(e){function t(t,n){var r=e.call(this,t)||this;return Object.defineProperty(r,"validType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(r,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Identifier}),r}return u(t,e),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(!(e&&e.type instanceof on))throw ht("Identifier types can only be instantiated as direct child of a model type");return Ye(this,e,t,n,r)}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){if(e.storedValue!==t)throw ht("Tried to change identifier from '"+e.storedValue+"' to '"+t+"'. Changing identifiers is not allowed.");return e.setParent(n,r),e}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return typeof e!==this.validType?Fe(t,e,"Value is not a valid "+this.describe()+", expected a "+this.validType):je()}}),t}(he),qn=function(e){function t(){var t=e.call(this,"identifier","string")||this;return Object.defineProperty(t,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Identifier}),t}return u(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"identifier"}}),t}(Gn),Wn=function(e){function t(){return e.call(this,"identifierNumber","number")||this}return u(t,e),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.storedValue}}),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return"identifierNumber"}}),t}(Gn),Kn=new qn,$n=new Wn;function Yn(e){return fe(e)&&(e.flags&oe.Identifier)>0}function Xn(e){return""+e}function Zn(e){return"string"==typeof e||"number"==typeof e}var Qn=function(e){function t(t){var n=e.call(this,t.name)||this;return Object.defineProperty(n,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(n,"flags",{enumerable:!0,configurable:!0,writable:!0,value:oe.Custom}),n}return u(t,e),Object.defineProperty(t.prototype,"describe",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.name}}),Object.defineProperty(t.prototype,"isValidSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(this.options.isTargetType(e))return je();var n=this.options.getValidationMessage(e);return n?Fe(t,e,"Invalid value for type '"+this.name+"': "+n):je()}}),Object.defineProperty(t.prototype,"getSnapshot",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return this.options.toSnapshot(e.storedValue)}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ye(this,e,t,n,this.options.isTargetType(r)?r:this.options.fromSnapshot(r,e&&e.root.environment))}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=!this.options.isTargetType(t);if(!e.isDetaching&&e.type===this&&(o?t===e.snapshot:t===e.storedValue))return e.setParent(n,r),e;var i=o?this.options.fromSnapshot(t,n.root.environment):t,a=this.instantiate(n,r,void 0,i);return e.die(),a}}),t}(he),Jn={enumeration:function(e,t){var n="string"==typeof e?t:e,r=xn.apply(void 0,v(n.map((function(e){return yn(""+e)}))));return"string"==typeof e&&(r.name=e),r},model:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"==typeof e[0]?e.shift():"AnonymousModel",r=e.shift()||{};return new on({name:n,properties:r})},compose:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"==typeof e[0],r=n?e[0]:"AnonymousModel";return n&&e.shift(),e.reduce((function(e,t){return e.cloneAndEnhance({name:e.name+"_"+t.name,properties:t.properties,initializers:t.initializers,preProcessor:function(n){return t.applySnapshotPreProcessor(e.applySnapshotPreProcessor(n))},postProcessor:function(n){return t.applySnapshotPostProcessor(e.applySnapshotPostProcessor(n))}})})).named(r)},custom:function(e){return new Qn(e)},reference:Bn,safeReference:function(e,t){var n=Bn(e,d(d({},t),{onInvalidated:function(e){t&&t.onInvalidated&&t.onInvalidated(e),e.removeRef()}}));return t&&!1===t.acceptsUndefined?n:An(n)},union:xn,optional:Cn,literal:yn,maybe:An,maybeNull:function(e){return pe(),xn(e,Tn)},refinement:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="string"==typeof e[0]?e.shift():fe(e[0])?e[0].name:null,r=e[0],o=e[1],i=e[2]?e[2]:function(e){return"Value does not respect the refinement predicate"};return pe(),Pt(),new wn(n,r,o,i)},string:sn,boolean:dn,number:cn,integer:un,Date:vn,map:function(e){return new Kt("map<string, "+e.name+">",e)},array:function(e){return pe(),new Yt(e.name+"[]",e)},frozen:function(e){return 0===arguments.length?In:fe(e)?new Nn(e):Cn(In,e)},identifier:Kn,identifierNumber:$n,late:function(e,t){var n="string"==typeof e?e:"late("+e.toString()+")";return new Ln(n,"string"==typeof e?t:e)},undefined:fn,null:hn,snapshotProcessor:function(e,t,n){return pe(),new Ut(e,t,n)}}},68949:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{Ei:()=>Rn,Fl:()=>Ae,Gf:()=>qt,LO:()=>Me,N7:()=>hn,Nv:()=>en,Pb:()=>Jn,Su:()=>tn,U5:()=>Rt,VO:()=>sn,_x:()=>dn,aD:()=>Tt,cp:()=>W,eJ:()=>nn,jQ:()=>Gt,kS:()=>fr,le:()=>gt,pu:()=>ct,qh:()=>cn,qp:()=>hr,rC:()=>En,t8:()=>un,vB:()=>Lt,vP:()=>Bn,wn:()=>an,z:()=>Lt});var o={};function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var a=Object.assign,l=Object.getOwnPropertyDescriptor,s=Object.defineProperty,c=Object.prototype,u=[];Object.freeze(u);var d={};Object.freeze(d);var h="undefined"!=typeof Proxy,f=Object.toString();function p(){h||r("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var m=function(){};function g(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function b(e){return null!==e&&"object"==typeof e}function w(e){if(!b(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===f}function _(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function E(e,t,n){s(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function x(e,t,n){s(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return b(e)&&!0===e[n]}}function O(e){return e instanceof Map}function C(e){return e instanceof Set}var M=void 0!==Object.getOwnPropertySymbols,z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:M?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return c.hasOwnProperty.call(e,t)}var A=Object.getOwnPropertyDescriptors||function(e){var t={};return z(e).forEach((function(n){t[n]=l(e,n)})),t};function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o)),r)}var o}function k(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var j=Symbol("mobx-stored-annotations");function F(e){return Object.assign((function(t,n){B(t,n,e)}),e)}function B(e,t,n){T(e,j)||E(e,j,N({},e[j])),function(e){return e.annotationType_===X}(n)||(e[j][t]=n)}var U=Symbol("mobx administration"),G=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.batchId_=void 0,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ge.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e,this.batchId_=st.inBatch?st.batchId:NaN}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return vt(this)},t.reportChanged=function(){st.inBatch&&this.batchId_===st.batchId||(st.stateVersion=st.stateVersion<Number.MAX_SAFE_INTEGER?st.stateVersion+1:Number.MIN_SAFE_INTEGER,this.batchId_=NaN),ft(),mt(this),pt()},t.toString=function(){return this.name_},e}(),q=S("Atom",G);function W(e,t,n){void 0===t&&(t=m),void 0===n&&(n=m);var r=new G(e);return t!==m&&jt(Ht,r,t,undefined),n!==m&&Dt(r,n),r}var K={identity:function(e,t){return e===t},structural:function(e,t){return gr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return gr(e,t,1)}};function $(e,t,n){return on(e)?e:Array.isArray(e)?Me.array(e,{name:n}):w(e)?Me.object(e,void 0,{name:n}):O(e)?Me.map(e,{name:n}):C(e)?Me.set(e,{name:n}):"function"!=typeof e||kt(e)||Jt(e)?e:_(e)?Zt(e):At(n,e)}function Y(e){return e}var X="override";function Z(e,t){return{annotationType_:e,options_:t,make_:Q,extend_:J}}function Q(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(kt(n.value))return 1;var i=ee(e,this,t,n,!1);return s(r,t,i),2}function J(e,t,n,r){var o=ee(e,this,t,n);return e.defineProperty_(t,o,r)}function ee(e,t,n,r,o){var i,a,l,s,c,u,d,h;void 0===o&&(o=st.safeDescriptors),h=r,t.annotationType_,h.value;var f,p=r.value;return null!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(f=e.proxy_)?f:e.target_)),{value:He(null!=(a=null==(l=t.options_)?void 0:l.name)?a:n.toString(),p,null!=(s=null==(c=t.options_)?void 0:c.autoAction)&&s,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re}}function ne(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!T(e.target_,t)||!Jt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Jt(n.value))return 1;var i=oe(e,this,0,n,!1,!1);return s(r,t,i),2}function re(e,t,n,r){var o,i=oe(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function oe(e,t,n,r,o,i){var a;void 0===i&&(i=st.safeDescriptors),a=r,t.annotationType_,a.value;var l,s=r.value;return Jt(s)||(s=Zt(s)),o&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0),{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ie(e,t){return{annotationType_:e,options_:t,make_:ae,extend_:le}}function ae(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function le(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,N({},this.options_,{get:n.get,set:n.set}),r);var o}function se(e,t){return{annotationType_:e,options_:t,make_:ce,extend_:ue}}function ce(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ue(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:$,r)}var de="true",he=fe();function fe(e){return{annotationType_:de,options_:e,make_:pe,extend_:ve}}function pe(e,t,n,r){var o,i,a,l;if(n.get)return Ae.make_(e,t,n,r);if(n.set){var c=He(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!st.safeDescriptors||e.isPlainObject_,set:c})?0:2:(s(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return _(n.value)?(null!=(l=this.options_)&&l.autoBind?Zt.bound:Zt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?At.bound:At).make_(e,t,n,r);var u,d=!1===(null==(o=this.options_)?void 0:o.deep)?Me.ref:Me;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),d.make_(e,t,n,r)}function ve(e,t,n,r){var o,i,a;return n.get?Ae.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!st.safeDescriptors||e.isPlainObject_,set:He(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Me.ref:Me).extend_(e,t,n,r))}var me={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ge(e){return e||me}Object.freeze(me);var ye=se("observable"),be=se("observable.ref",{enhancer:Y}),we=se("observable.shallow",{enhancer:function(e,t,n){return null==e||Jn(e)||Rn(e)||Un(e)||Wn(e)?e:Array.isArray(e)?Me.array(e,{name:n,deep:!1}):w(e)?Me.object(e,void 0,{name:n,deep:!1}):O(e)?Me.map(e,{name:n,deep:!1}):C(e)?Me.set(e,{name:n,deep:!1}):void 0}}),_e=se("observable.struct",{enhancer:function(e,t){return gr(e,t)?t:e}}),Ee=F(ye);function xe(e){return!0===e.deep?$:!1===e.deep?Y:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:$;var t,n,r}function Se(e,t,n){if(!y(t))return on(e)?e:w(e)?Me.object(e,t,n):Array.isArray(e)?Me.array(e,t):O(e)?Me.map(e,t):C(e)?Me.set(e,t):"object"==typeof e&&null!==e?e:Me.box(e,t);B(e,t,ye)}a(Se,Ee);var Oe,Ce,Me=a(Se,{box:function(e,t){var n=ge(t);return new Be(e,xe(n),n.name,!0,n.equals)},array:function(e,t){var n=ge(t);return(!1===st.useProxies||!1===n.proxy?dr:Mn)(e,xe(n),n.name)},map:function(e,t){var n=ge(t);return new Bn(e,xe(n),n.name)},set:function(e,t){var n=ge(t);return new qn(e,xe(n),n.name)},object:function(e,t,n){return vr((function(){return function(e,t,n,r){var o=A(t);return vr((function(){var t=Xn(e,r)[U];z(o).forEach((function(e){t.extend_(e,o[e],!n||!(e in n)||n[e])}))})),e}(!1===st.useProxies||!1===(null==n?void 0:n.proxy)?Xn({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=Xn(e,t))[U]).proxy_)?r:n.proxy_=new Proxy(e,vn)}({},n),e,t)}))},ref:F(be),shallow:F(we),deep:Ee,struct:F(_e)}),ze="computed",Pe=ie(ze),Te=ie("computed.struct",{equals:K.structural}),Ae=function(e,t){if(y(t))return B(e,t,Pe);if(w(e))return F(ie(ze,e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new We(n)};Object.assign(Ae,Pe),Ae.struct=F(Te);var Le,ke=0,Ne=1,Ie=null!=(Oe=null==(Ce=l((function(){}),"name"))?void 0:Ce.configurable)&&Oe,Re={value:"action",configurable:!0,writable:!1,enumerable:!1};function He(e,t,n,r){function o(){return Ve(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,Ie&&(Re.value=e,s(o,"name",Re)),o}function Ve(e,t,n,o,i){var a=function(e,t,n,r){var o=st.trackingDerivation,i=!t||!o;ft();var a=st.allowStateChanges;i&&(et(),a=De(!0));var l={runAsAction_:i,prevDerivation_:o,prevAllowStateChanges_:a,prevAllowStateReads_:nt(!0),notifySpy_:!1,startTime_:0,actionId_:Ne++,parentActionId_:ke};return ke=l.actionId_,l}(0,t);try{return n.apply(o,i)}catch(e){throw a.error_=e,e}finally{!function(e){ke!==e.actionId_&&r(30),ke=e.parentActionId_,void 0!==e.error_&&(st.suppressReactionErrors=!0),je(e.prevAllowStateChanges_),rt(e.prevAllowStateReads_),pt(),e.runAsAction_&&tt(e.prevDerivation_),st.suppressReactionErrors=!1}(a)}}function De(e){var t=st.allowStateChanges;return st.allowStateChanges=e,t}function je(e){st.allowStateChanges=e}Le=Symbol.toPrimitive;var Fe,Be=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=K.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}I(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==st.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(mn(this)){var t=yn(this,{object:this,type:Sn,newValue:e});if(!t)return st.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?st.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),bn(this)&&_n(this,{type:Sn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return gn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Sn,newValue:this.value_,oldValue:void 0}),wn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return P(this.get())},n[Le]=function(){return this.valueOf()},t}(G),Ue=S("ObservableValue",Be);Fe=Symbol.toPrimitive;var Ge,qe,We=function(){function e(e){this.dependenciesState_=Ge.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ge.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new $e(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=qe.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=He("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?K.structural:K.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Ge.UP_TO_DATE_&&(e.lowestObserverState_=Ge.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ge.UP_TO_DATE_&&(e.dependenciesState_=Ge.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==st.inBatch||0!==this.observers_.size||this.keepAlive_){if(vt(this),Xe(this)){var e=st.trackingContext;this.keepAlive_&&!e&&(st.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ge.STALE_&&(e.lowestObserverState_=Ge.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ge.POSSIBLY_STALE_?t.dependenciesState_=Ge.STALE_:t.dependenciesState_===Ge.UP_TO_DATE_&&(e.lowestObserverState_=Ge.UP_TO_DATE_)})))}(this),st.trackingContext=e}}else Xe(this)&&(this.warnAboutUntrackedRead_(),ft(),this.value_=this.computeValue_(!1),pt());var t=this.value_;if(Ye(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ge.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Ye(e)||Ye(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=De(!1);if(e)t=Ze(this,this.derivation,this.scope_);else if(!0===st.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new $e(e)}return je(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Qe(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i,a;void 0===t&&(t=d);var l,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var c=It(t),u=!1;l=new gt(s,(function(){u||(u=!0,c((function(){u=!1,l.isDisposed_||l.track(h)})))}),t.onError,t.requiresObservable)}else l=new gt(s,(function(){this.track(h)}),t.onError,t.requiresObservable);function h(){e(l)}return null!=(o=t)&&null!=(i=o.signal)&&i.aborted||l.schedule_(),l.getDisposer_(null==(a=t)?void 0:a.signal)}((function(){var i=n.get();if(!r||t){var a=et();e({observableKind:"computed",debugObjectName:n.name_,type:Sn,object:n,newValue:i,oldValue:o}),tt(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Fe]=function(){return this.valueOf()},e}(),Ke=S("ComputedValue",We);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ge||(Ge={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(qe||(qe={}));var $e=function(e){this.cause=void 0,this.cause=e};function Ye(e){return e instanceof $e}function Xe(e){switch(e.dependenciesState_){case Ge.UP_TO_DATE_:return!1;case Ge.NOT_TRACKING_:case Ge.STALE_:return!0;case Ge.POSSIBLY_STALE_:for(var t=nt(!0),n=et(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Ke(a)){if(st.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return tt(n),rt(t),!0}if(e.dependenciesState_===Ge.STALE_)return tt(n),rt(t),!0}}return ot(e),tt(n),rt(t),!1}}function Ze(e,t,n){var r=nt(!0);ot(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++st.runId;var o,i=st.trackingDerivation;if(st.trackingDerivation=e,st.inBatch++,!0===st.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new $e(e)}return st.inBatch--,st.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ge.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var l=n[a];0===l.diffValue_&&(l.diffValue_=1,o!==a&&(n[o]=l),o++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var s=t[i];0===s.diffValue_&&dt(s,e),s.diffValue_=0}for(;o--;){var c=n[o];1===c.diffValue_&&(c.diffValue_=0,ut(c,e))}r!==Ge.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),rt(r),o}function Qe(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)dt(t[n],e);e.dependenciesState_=Ge.NOT_TRACKING_}function Je(e){var t=et();try{return e()}finally{tt(t)}}function et(){var e=st.trackingDerivation;return st.trackingDerivation=null,e}function tt(e){st.trackingDerivation=e}function nt(e){var t=st.allowStateReads;return st.allowStateReads=e,t}function rt(e){st.allowStateReads=e}function ot(e){if(e.dependenciesState_!==Ge.UP_TO_DATE_){e.dependenciesState_=Ge.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ge.UP_TO_DATE_}}var it=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.batchId=Number.MIN_SAFE_INTEGER,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0,this.stateVersion=Number.MIN_SAFE_INTEGER},at=!0,lt=!1,st=function(){var e=i();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(at=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new it).version&&(at=!1),at?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new it):(setTimeout((function(){lt||r(35)}),1),new it)}();function ct(){return st}function ut(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function dt(e,t){e.observers_.delete(t),0===e.observers_.size&&ht(e)}function ht(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,st.pendingUnobservations.push(e))}function ft(){0===st.inBatch&&(st.batchId=st.batchId<Number.MAX_SAFE_INTEGER?st.batchId+1:Number.MIN_SAFE_INTEGER),st.inBatch++}function pt(){if(0==--st.inBatch){wt();for(var e=st.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof We&&n.suspend_())}st.pendingUnobservations=[]}}function vt(e){var t=st.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&st.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&st.inBatch>0&&ht(e),!1)}function mt(e){e.lowestObserverState_!==Ge.STALE_&&(e.lowestObserverState_=Ge.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ge.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ge.STALE_})))}var gt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ge.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=qe.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,st.pendingReactions.push(this),wt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){ft(),this.isScheduled_=!1;var e=st.trackingContext;if(st.trackingContext=this,Xe(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}st.trackingContext=e,pt()}},t.track=function(e){if(!this.isDisposed_){ft(),this.isRunning_=!0;var t=st.trackingContext;st.trackingContext=this;var n=Ze(this,e,void 0);st.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Qe(this),Ye(n)&&this.reportExceptionInDerivation_(n.cause),pt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(st.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";st.suppressReactionErrors||console.error(n,e),st.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ft(),Qe(this),pt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[U]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}(),yt=100,bt=function(e){return e()};function wt(){st.inBatch>0||st.isRunningReactions||bt(_t)}function _t(){st.isRunningReactions=!0;for(var e=st.pendingReactions,t=0;e.length>0;){++t===yt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}st.isRunningReactions=!1}var Et=S("Reaction",gt),xt="action",St="autoAction",Ot=Z(xt),Ct=Z("action.bound",{bound:!0}),Mt=Z(St,{autoAction:!0}),zt=Z("autoAction.bound",{autoAction:!0,bound:!0});function Pt(e){return function(t,n){return g(t)?He(t.name||"<unnamed action>",t,e):g(n)?He(t,n,e):y(n)?B(t,n,e?Mt:Ot):y(t)?F(Z(e?St:xt,{name:t,autoAction:e})):void 0}}var Tt=Pt(!1);Object.assign(Tt,Ot);var At=Pt(!0);function Lt(e){return Ve(e.name,!1,e,this,void 0)}function kt(e){return g(e)&&!0===e.isMobxAction}Object.assign(At,Mt),Tt.bound=F(Ct),At.bound=F(zt);var Nt=function(e){return e()};function It(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Nt}function Rt(e,t,n){var r,o,i,a;void 0===n&&(n=d);var l,s,c,u,h=null!=(r=n.name)?r:"Reaction",f=Tt(h,n.onError?(l=n.onError,s=t,function(){try{return s.apply(this,arguments)}catch(e){l.call(this,e)}}):t),p=!n.scheduler&&!n.delay,v=It(n),m=!0,g=!1,y=n.compareStructural?K.structural:n.equals||K.default,b=new gt(h,(function(){m||p?w():g||(g=!0,v(w))}),n.onError,n.requiresObservable);function w(){if(g=!1,!b.isDisposed_){var t=!1;b.track((function(){var n=function(e,t){var n=De(e);try{return t()}finally{je(n)}}(!1,(function(){return e(b)}));t=m||!y(c,n),u=c,c=n})),(m&&n.fireImmediately||!m&&t)&&f(c,u,b),m=!1}}return null!=(o=n)&&null!=(i=o.signal)&&i.aborted||b.schedule_(),b.getDisposer_(null==(a=n)?void 0:a.signal)}var Ht="onBO",Vt="onBUO";function Dt(e,t,n){return jt(Vt,e,t,n)}function jt(e,t,n,r){var o="function"==typeof r?hr(t,n):hr(t),i=g(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ft="never",Bt="always",Ut="observed";function Gt(e){!0===e.isolateGlobalState&&function(){if((st.pendingReactions.length||st.inBatch||st.isRunningReactions)&&r(36),lt=!0,at){var e=i();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),st=new it}}();var t,n,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(st.useProxies=o===Bt||o!==Ft&&"undefined"!=typeof Proxy),"ifavailable"===o&&(st.verifyProxies=!0),void 0!==a){var l=a===Bt?Bt:a===Ut;st.enforceActions=l,st.allowStateChanges=!0!==l&&l!==Bt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(st[t]=!!e[t])})),st.allowStateReads=!st.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=bt,bt=function(e){return t((function(){return n(e)}))})}function qt(e,t){return Wt(hr(e,t))}function Wt(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Wt)),n}var Kt=0;function $t(){this.message="FLOW_CANCELLED"}$t.prototype=Object.create(Error.prototype);var Yt=te("flow"),Xt=te("flow.bound",{bound:!0}),Zt=Object.assign((function(e,t){if(y(t))return B(e,t,Yt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Kt,i=Tt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,l=new Promise((function(t,n){var l=0;function s(e){var t;a=void 0;try{t=Tt(r+" - runid: "+o+" - yield "+l++,i.next).call(i,e)}catch(e){return n(e)}u(t)}function c(e){var t;a=void 0;try{t=Tt(r+" - runid: "+o+" - yield "+l++,i.throw).call(i,e)}catch(e){return n(e)}u(t)}function u(e){if(!g(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,c);e.then(u,n)}e=n,s(void 0)}));return l.cancel=Tt(r+" - runid: "+o+" - cancel",(function(){try{a&&Qt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(m,m),Qt(n),e(new $t)}catch(t){e(t)}})),l};return o.isMobXFlow=!0,o}),Yt);function Qt(e){g(e.cancel)&&e.cancel()}function Jt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e,t,n){var r;return Un(e)||Rn(e)||Ue(e)?r=fr(e):Jn(e)&&(r=fr(e,t)),r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0}}function tn(e,t,n){return g(n)?function(e,t,n){return fr(e,t).intercept_(n)}(e,t,n):function(e,t){return fr(e).intercept_(t)}(e,t)}function nn(e,t){return function(e,t){if(void 0===t)return Ke(e);if(!1===Jn(e))return!1;if(!e[U].values_.has(t))return!1;var n=hr(e,t);return Ke(n)}(e,t)}function rn(e,t){return!!e&&(void 0!==t?!!Jn(e)&&e[U].values_.has(t):Jn(e)||!!e[U]||q(e)||Et(e)||Ke(e))}function on(e){return rn(e)}function an(e,t){return rn(e,t)}function ln(e){return Jn(e)?e[U].keys_():Un(e)||Wn(e)?Array.from(e.keys()):Rn(e)?e.map((function(e,t){return t})):void r(5)}function sn(e){return Jn(e)?ln(e).map((function(t){return e[t]})):Un(e)?ln(e).map((function(t){return e.get(t)})):Wn(e)?Array.from(e.values()):Rn(e)?e.slice():void r(6)}function cn(e){return Jn(e)?ln(e).map((function(t){return[t,e[t]]})):Un(e)?ln(e).map((function(t){return[t,e.get(t)]})):Wn(e)?Array.from(e.entries()):Rn(e)?e.map((function(e,t){return[t,e]})):void r(7)}function un(e,t,n){if(2!==arguments.length||Wn(e))Jn(e)?e[U].set_(t,n):Un(e)?e.set(t,n):Wn(e)?e.add(t):Rn(e)?("number"!=typeof t&&(t=parseInt(t,10)),t<0&&r("Invalid index: '"+t+"'"),ft(),t>=e.length&&(e.length=t+1),e[t]=n,pt()):r(8);else{ft();var o=t;try{for(var i in o)un(e,i,o[i])}finally{pt()}}}function dn(e,t,n){if(Jn(e))return e[U].defineProperty_(t,n);r(39)}function hn(e,t,n,r){return g(n)?function(e,t,n,r){return fr(e,t).observe_(n,r)}(e,t,n,r):function(e,t,n){return fr(e).observe_(t,n)}(e,t,n)}function fn(e,t){void 0===t&&(t=void 0),ft();try{return e.apply(t)}finally{pt()}}function pn(e){return e[U]}Zt.bound=F(Xt);var vn={has:function(e,t){return pn(e).has_(t)},get:function(e,t){return pn(e).get_(t)},set:function(e,t,n){var r;return!!y(t)&&(null==(r=pn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(t)&&(null==(n=pn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=pn(e).defineProperty_(t,n))||r},ownKeys:function(e){return pn(e).ownKeys_()},preventExtensions:function(e){r(13)}};function mn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function gn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function yn(e,t){var n=et();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{tt(n)}}function bn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function wn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function _n(e,t){var n=et(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);tt(n)}}function En(e,t,n){return vr((function(){var r=Xn(e,n)[U];null!=t||(t=function(e){return T(e,j)||E(e,j,N({},e[j])),e[j]}(e)),z(t).forEach((function(e){return r.make_(e,t[e])}))})),e}var xn="splice",Sn="update",On={get:function(e,t){var n=e[U];return t===U?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(zn,t)?zn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[U];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},Cn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new G(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return gn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),wn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&ur(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),mn(this)){var i=yn(this,{object:this.proxy_,type:xn,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var l=0;l<i.length;l++)this.values_[e+n.length+l]=i[l];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=bn(this),i=o||r?{observableKind:"array",object:this.proxy_,type:Sn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&_n(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=bn(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:xn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&_n(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(mn(this)){var i=yn(this,{type:Sn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),l=0;l<a.length-1;l++)a[l]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function Mn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),vr((function(){var o=new Cn(n,t,r,!1);x(o.values_,U,o);var i=new Proxy(o.values_,On);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var zn={clear:function(){return this.splice(0)},replace:function(e){var t=this[U];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[U];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[U].spliceWithArray_(e,t,n)},push:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[U].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return st.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){st.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[U],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Pn(e,t){"function"==typeof Array.prototype[e]&&(zn[e]=t(e))}function Tn(e){return function(){var t=this[U];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function An(e){return function(t,n){var r=this,o=this[U];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function Ln(e){return function(){var t=this,n=this[U];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}Pn("concat",Tn),Pn("flat",Tn),Pn("includes",Tn),Pn("indexOf",Tn),Pn("join",Tn),Pn("lastIndexOf",Tn),Pn("slice",Tn),Pn("toString",Tn),Pn("toLocaleString",Tn),Pn("every",An),Pn("filter",An),Pn("find",An),Pn("findIndex",An),Pn("flatMap",An),Pn("forEach",An),Pn("map",An),Pn("some",An),Pn("reduce",Ln),Pn("reduceRight",Ln);var kn,Nn,In=S("ObservableArrayAdministration",Cn);function Rn(e){return b(e)&&In(e[U])}var Hn={},Vn="add",Dn="delete";kn=Symbol.iterator,Nn=Symbol.toStringTag;var jn,Fn,Bn=function(){function e(e,t,n){var o=this;void 0===t&&(t=$),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[U]=Hn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,g(Map)||r(18),vr((function(){o.keysAtom_=W("ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,e&&o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!st.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Be(this.has_(e),Y,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Dt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(mn(this)){var r=yn(this,{type:n?Sn:Vn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,mn(this)&&!yn(this,{type:Dn,object:this,name:e}))return!1;if(this.has_(e)){var n=bn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Dn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return fn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&_n(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==st.UNCHANGED){var r=bn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:Sn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&_n(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,fn((function(){var r,o=new Be(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=bn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:Vn,object:this,name:e,newValue:t}:null;r&&_n(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return wr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return wr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[kn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return Un(e)&&(e=new Map(e)),fn((function(){w(e)?function(e){var t=Object.keys(e);if(!M)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):O(e)?(e.constructor!==Map&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;fn((function(){Je((function(){for(var t,n=D(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return fn((function(){for(var n,o=function(e){if(O(e)||Un(e))return e;if(Array.isArray(e))return new Map(e);if(w(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),i=new Map,a=!1,l=D(t.data_.keys());!(n=l()).done;){var s=n.value;if(!o.has(s))if(t.delete(s))a=!0;else{var c=t.data_.get(s);i.set(s,c)}}for(var u,d=D(o.entries());!(u=d()).done;){var h=u.value,f=h[0],p=h[1],v=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var m=t.data_.get(f);i.set(f,m),v||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=i.keys(),b=g.next(),_=y.next();!b.done;){if(b.value!==_.value){t.keysAtom_.reportChanged();break}b=g.next(),_=y.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},k(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Nn,get:function(){return"Map"}}]),e}(),Un=S("ObservableMap",Bn),Gn={};jn=Symbol.iterator,Fn=Symbol.toStringTag;var qn=function(){function e(e,t,n){var o=this;void 0===t&&(t=$),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[U]=Gn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,g(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},vr((function(){o.atom_=W(o.name_),e&&o.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;fn((function(){Je((function(){for(var t,n=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,mn(this)&&!yn(this,{type:Vn,object:this,newValue:e}))return this;if(!this.has(e)){fn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=bn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Vn,object:this,newValue:e}:null;n&&_n(this,r)}return this},t.delete=function(e){var t=this;if(mn(this)&&!yn(this,{type:Dn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=bn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Dn,object:this,oldValue:e}:null;return fn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&_n(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return wr({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return wr({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return Wn(e)&&(e=new Set(e)),fn((function(){Array.isArray(e)||C(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[jn]=function(){return this.values()},k(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Fn,get:function(){return"Set"}}]),e}(),Wn=S("ObservableSet",qn),Kn=Object.create(null),$n="remove",Yn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=he),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new G("ObservableObject.keys"),this.isPlainObject_=w(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof We)return n.set(t),!0;if(mn(this)){var r=yn(this,{type:Sn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==st.UNCHANGED){var o=bn(this),i=o?{type:Sn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&_n(this,i)}return!0},t.get_=function(e){return st.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!st.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Be(e in this.target_,Y,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[j])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==c;){var i=l(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}er(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&er(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{ft();var r=this.delete_(e);if(!r)return r;if(mn(this)){var o=yn(this,{object:this.proxy_||this.target_,name:e,type:Vn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=N({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else s(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{pt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{ft();var o=this.delete_(e);if(!o)return o;if(mn(this)){var i=yn(this,{object:this.proxy_||this.target_,name:e,type:Vn,newValue:t});if(!i)return null;t=i.newValue}var a=Qn(e),l={configurable:!st.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,l))return!1}else s(this.target_,e,l);var c=new Be(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{pt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{ft();var r=this.delete_(e);if(!r)return r;if(mn(this)&&!yn(this,{object:this.proxy_||this.target_,name:e,type:Vn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Qn(e),i={configurable:!st.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else s(this.target_,e,i);this.values_.set(e,new We(t)),this.notifyPropertyAddition_(e,void 0)}finally{pt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!T(this.target_,e))return!0;if(mn(this)&&!yn(this,{object:this.proxy_||this.target_,name:e,type:$n}))return null;try{var n,r;ft();var o,i=bn(this),a=this.values_.get(e),s=void 0;if(!a&&i&&(s=null==(o=l(this.target_,e))?void 0:o.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof Be&&(s=a.value_),mt(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var c={type:$n,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&_n(this,c)}}finally{pt()}return!0},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=bn(this);if(o){var i=o?{type:Vn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&_n(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),z(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Xn(e,t){var n;if(T(e,U))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Yn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:fe(e):void 0}(t));return E(e,U,o),e}var Zn=S("ObservableObjectAdministration",Yn);function Qn(e){return Kn[e]||(Kn[e]={get:function(){return this[U].getObservablePropValue_(e)},set:function(t){return this[U].setObservablePropValue_(e,t)}})}function Jn(e){return!!b(e)&&Zn(e[U])}function er(e,t,n){var r;null==(r=e.target_[j])||delete r[n]}var tr,nr,rr=sr(0),or=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),ir=0,ar=function(){};tr=ar,nr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(tr.prototype,nr):void 0!==tr.prototype.__proto__?tr.prototype.__proto__=nr:tr.prototype=nr;var lr=function(e,t,n){function r(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,vr((function(){var e=new Cn(r,n,o,!0);e.proxy_=H(i),x(H(i),U,e),t&&t.length&&i.spliceWithArray(0,0,t),or&&Object.defineProperty(H(i),"0",rr)})),i}I(r,e);var o=r.prototype;return o.concat=function(){this[U].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Rn(e)?e.slice():e})))},o[n]=function(){var e=this,t=0;return wr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},k(r,[{key:"length",get:function(){return this[U].getArrayLength_()},set:function(e){this[U].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(ar,Symbol.toStringTag,Symbol.iterator);function sr(e){return{enumerable:!1,configurable:!0,get:function(){return this[U].get_(e)},set:function(t){this[U].set_(e,t)}}}function cr(e){s(lr.prototype,""+e,sr(e))}function ur(e){if(e>ir){for(var t=ir;t<e+100;t++)cr(t);ir=e}}function dr(e,t,n){return new lr(e,t,n)}function hr(e,t){if("object"==typeof e&&null!==e){if(Rn(e))return void 0!==t&&r(23),e[U].atom_;if(Wn(e))return e.atom_;if(Un(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,pr(e)),n}if(Jn(e)){if(!t)return r(26);var o=e[U].values_.get(t);return o||r(27,t,pr(e)),o}if(q(e)||Ke(e)||Et(e))return e}else if(g(e)&&Et(e[U]))return e[U];r(28)}function fr(e,t){return e||r(29),void 0!==t?fr(hr(e,t)):q(e)||Ke(e)||Et(e)||Un(e)||Wn(e)?e:e[U]?e[U]:void r(24,e)}function pr(e,t){var n;if(void 0!==t)n=hr(e,t);else{if(kt(e))return e.name;n=Jn(e)||Un(e)||Wn(e)?fr(e):hr(e)}return n.name_}function vr(e){var t=et(),n=De(!0);ft();try{return e()}finally{pt(),je(n),tt(t)}}Object.entries(zn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&E(lr.prototype,t,n)})),ur(1e3);var mr=c.toString;function gr(e,t,n){return void 0===n&&(n=-1),yr(e,t,n)}function yr(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=mr.call(e);if(a!==mr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=br(e),t=br(t);var l="[object Array]"===a;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,c=t.constructor;if(s!==c&&!(g(s)&&s instanceof s&&g(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),l){if((u=e.length)!==t.length)return!1;for(;u--;)if(!yr(e[u],t[u],n-1,r,o))return!1}else{var d,h=Object.keys(e);if(u=h.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!T(t,d=h[u])||!yr(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function br(e){return Rn(e)?e.slice():O(e)||Un(e)||C(e)||Wn(e)?Array.from(e.entries()):e}function wr(e){return e[Symbol.iterator]=_r,e}function _r(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===i()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:pr},$mobx:U})},70631:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=l&&s&&"function"==typeof s.get?s.get:null,u=l&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,O=Array.prototype.slice,C=Math.floor,M="function"==typeof BigInt?BigInt.prototype.valueOf:null,z=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,k=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-C(-e):C(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var I=n(24654),R=I.custom,H=B(R)?R:null;function V(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function D(e){return b.call(String(e),/"/g,""")}function j(e){return!("[object Array]"!==q(e)||A&&"object"==typeof e&&A in e)}function F(e){return!("[object RegExp]"!==q(e)||A&&"object"==typeof e&&A in e)}function B(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var l=n||{};if(G(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!G(l,"customInspect")||l.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return v?N(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return v?N(t,E):E}var C=void 0===l.depth?5:l.depth;if(void 0===r&&(r=0),r>=C&&C>0&&"object"==typeof t)return j(t)?"[Array]":"[Object]";var z,R=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(l,r);if(void 0===o)o=[];else if(W(o,t)>=0)return"[Circular]";function U(t,n,i){if(n&&(o=O.call(o)).push(n),i){var a={depth:l.depth};return G(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,r+1,o)}return e(t,l,r+1,o)}if("function"==typeof t&&!F(t)){var $=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=J(t,U);return"[Function"+($?": "+$:" (anonymous)")+"]"+(ee.length>0?" { "+S.call(ee,", ")+" }":"")}if(B(t)){var te=T?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(t);return"object"!=typeof t||T?te:Y(te)}if((z=t)&&"object"==typeof z&&("undefined"!=typeof HTMLElement&&z instanceof HTMLElement||"string"==typeof z.nodeName&&"function"==typeof z.getAttribute)){for(var ne="<"+_.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe<re.length;oe++)ne+=" "+re[oe].name+"="+V(D(re[oe].value),"double",l);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+_.call(String(t.nodeName))+">"}if(j(t)){if(0===t.length)return"[]";var ie=J(t,U);return R&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,R)+"]":"[ "+S.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||A&&"object"==typeof e&&A in e)}(t)){var ae=J(t,U);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ae,", ")+" }":"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+U(t.cause),ae),", ")+" }"}if("object"==typeof t&&s){if(H&&"function"==typeof t[H]&&I)return I(t,{depth:C-r});if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return a&&a.call(t,(function(e,n){le.push(U(n,t,!0)+" => "+U(e,t))})),Z("Map",i.call(t),le,R)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var se=[];return u&&u.call(t,(function(e){se.push(U(e,t))})),Z("Set",c.call(t),se,R)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if(function(e){return!("[object Number]"!==q(e)||A&&"object"==typeof e&&A in e)}(t))return Y(U(Number(t)));if(function(e){if(!e||"object"!=typeof e||!M)return!1;try{return M.call(e),!0}catch(e){}return!1}(t))return Y(U(M.call(t)));if(function(e){return!("[object Boolean]"!==q(e)||A&&"object"==typeof e&&A in e)}(t))return Y(p.call(t));if(function(e){return!("[object String]"!==q(e)||A&&"object"==typeof e&&A in e)}(t))return Y(U(String(t)));if(!function(e){return!("[object Date]"!==q(e)||A&&"object"==typeof e&&A in e)}(t)&&!F(t)){var ce=J(t,U),ue=k?k(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",he=!ue&&A&&Object(t)===t&&A in t?y.call(q(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(he||de?"["+S.call(x.call([],he||[],de||[]),": ")+"] ":"");return 0===ce.length?fe+"{}":R?fe+"{"+Q(ce,R)+"}":fe+"{ "+S.call(ce,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return U.call(e,t)}function q(e){return v.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return K(y.call(e,0,t.maxStringLength),t)+r}return V(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$),"single",t)}function $(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):S.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=j(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=G(e,o)?t(e[o],e):""}var i,a="function"==typeof z?z(e):[];if(T){i={};for(var l=0;l<a.length;l++)i["$"+a[l]]=a[l]}for(var s in e)G(e,s)&&(n&&String(Number(s))===s&&s<e.length||T&&i["$"+s]instanceof Symbol||(E.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if("function"==typeof z)for(var c=0;c<a.length;c++)L.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},24244:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},20609:(e,t,n)=>{"use strict";var r=n(4289),o=n(55559),i=n(24244),a=n(75624),l=n(52281),s=o(a(),Object);r(s,{getPolyfill:a,implementation:i,shim:l}),e.exports=s},75624:(e,t,n)=>{"use strict";var r=n(24244);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},52281:(e,t,n)=>{"use strict";var r=n(75624),o=n(4289);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},18987:(e,t,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(21414),l=Object.prototype.propertyIsEnumerable,s=!l.call({toString:null},"toString"),c=l.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),l=t&&"[object String]"===i.call(e),h=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=c&&n;if(l&&e.length>0&&!o.call(e,0))for(var v=0;v<e.length;++v)h.push(String(v));if(r&&e.length>0)for(var m=0;m<e.length;++m)h.push(String(m));else for(var g in e)p&&"prototype"===g||!o.call(e,g)||h.push(String(g));if(s)for(var y=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)y&&"constructor"===u[b]||!o.call(e,u[b])||h.push(u[b]);return h}}e.exports=r},82215:(e,t,n)=>{"use strict";var r=Array.prototype.slice,o=n(21414),i=Object.keys,a=i?function(e){return i(e)}:n(18987),l=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?l(r.call(e)):l(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},21414:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},67890:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyFilter=void 0;const o=r(n(20185));t.applyFilter=function(e,t){var n;const r={filters:[]};t.brightnessEnabled&&(r.filters.push(o.default.Filters.Brighten),r.brightness=t.brightness),t.blurEnabled&&(r.filters.push(o.default.Filters.Blur),r.blurRadius=t.blurRadius),t.sepiaEnabled&&r.filters.push(o.default.Filters.Sepia),t.grayscaleEnabled&&r.filters.push(o.default.Filters.Grayscale),e.setAttrs(r),r.filters.length?e.cache({pixelRatio:t.store._elementsPixelRatio}):e.clearCache(),null===(n=e.getLayer())||void 0===n||n.batchDraw()}},28498:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.registerShapeComponent=void 0;const o=r(n(67294)),i=n(50242),a=n(62540),l=n(83675),s=n(38444),c=n(82900),u=n(13485),d=n(34503),h=n(81922),f=(0,i.observer)((e=>{const{element:t,store:n}=e,{children:r}=t,i=t.selectable||"admin"===n.role;return o.default.createElement(d.Group,{opacity:t.opacity,listening:i},r.map((t=>o.default.createElement(v,Object.assign({},e,{key:t.id,store:n,element:t})))))})),p={text:a.TextElement,image:l.ImageElement,svg:l.ImageElement,line:c.LineElement,video:u.VideoElement,group:f};t.registerShapeComponent=function(e,t){p[e]=t};const v=(0,i.observer)((e=>{let t=p[e.element.type];return"text"===e.element.type&&h.flags.htmlRenderEnabled&&(t=s.HTMLElement),e.element.visible?t?o.default.createElement(t,Object.assign({},e)):(console.error("Can not find component for "+e.element.type),null):null}));t.default=v},9365:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Highlighter=void 0;const o=r(n(67294)),i=n(50242),a=n(34503);t.Highlighter=(0,i.observer)((({element:e})=>o.default.createElement(a.Rect,{name:"highlighter",x:e.a.x,y:e.a.y,rotation:e.a.rotation,width:e.a.width,height:e.a.height,listening:!1,stroke:"rgb(0, 161, 255)",strokeWidth:2,strokeScaleEnabled:!1})))},1083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleHotkey=void 0;let n=[],r="";const o="polotno_clipboard",i=e=>{n=e;try{localStorage.setItem(o,JSON.stringify(e))}catch(e){}};t.handleHotkey=function(e,t){var a,l,s,c,u,d,h,f;if("INPUT"===(null===(a=document.activeElement)||void 0===a?void 0:a.tagName)||"TEXTAREA"===(null===(l=document.activeElement)||void 0===l?void 0:l.tagName)||"true"===(null===(s=document.activeElement)||void 0===s?void 0:s.contentEditable))return;const p=t.selectedElements.filter((e=>e.removable)),v=p.map((e=>e.id));46!==e.keyCode&&8!==e.keyCode||t.deleteElements(v);const m=e.ctrlKey||e.metaKey,g=e.shiftKey;if(m&&!g&&"KeyZ"===e.code&&(e.preventDefault(),t.history.undo()),m&&g&&"KeyZ"===e.code&&(e.preventDefault(),t.history.redo()),m&&"KeyA"===e.code){e.preventDefault();const n=null===(c=t.activePage)||void 0===c?void 0:c.children.filter((e=>e.selectable)),r=(null==n?void 0:n.map((e=>e.id)))||[];t.selectElements(r)}if(m&&"KeyC"===e.code&&(e.preventDefault(),r=null===(u=t.activePage)||void 0===u?void 0:u.id,i(t.selectedElements.map((e=>e.toJSON())))),m&&"KeyX"===e.code&&(e.preventDefault(),r=null===(d=t.activePage)||void 0===d?void 0:d.id,i(t.selectedElements.map((e=>e.toJSON()))),t.deleteElements(p)),m&&"KeyV"===e.code){e.preventDefault();let a=0;r===(null===(h=t.activePage)||void 0===h?void 0:h.id)&&(a=t.width/20),r=null===(f=t.activePage)||void 0===f?void 0:f.id,t.history.transaction((()=>{const e=[],r=(()=>{try{const e=localStorage.getItem(o);if(e)return JSON.parse(e)}catch(e){}return n})();r.forEach((n=>{var r;delete n.id,n.x+=a,n.y+=a;const o=null===(r=t.activePage)||void 0===r?void 0:r.addElement(n);o&&e.push(o.id)})),i(r),t.selectElements(e)}))}"ArrowDown"===e.code&&(e.preventDefault(),t.selectedElements.forEach((e=>{e.set({y:e.y+1})}))),"ArrowUp"===e.code&&(e.preventDefault(),t.selectedElements.forEach((e=>{e.set({y:e.y-1})}))),"ArrowLeft"===e.code&&(e.preventDefault(),t.selectedElements.forEach((e=>{e.set({x:e.x-1})}))),"ArrowRight"===e.code&&(e.preventDefault(),t.selectedElements.forEach((e=>{e.set({x:e.x+1})})))}},38444:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLElement=t.quillRef=void 0;const l=a(n(67294)),s=n(50242),c=n(34503),u=a(n(76095)),d=a(n(20185)),h=i(n(21833)),f=n(81922),p=n(67890),v=n(62540),m=n(22147),g=n(88474),y=n(9365),b=n(16755),w=a(n(38165)),_=n(31284),E=n(7415),x=i(n(92275)),S=n(84077);t.quillRef=h.observable({enabled:!1,currentFormat:{},editor:h.observable.object({instance:null},{},{deep:!1})});const O=(0,w.default)("div",l.default.forwardRef)`
|
||
.ql-editor {
|
||
outline: none;
|
||
}
|
||
ul {
|
||
list-style-position: inside;
|
||
margin: 0;
|
||
}
|
||
p {
|
||
line-height: auto;
|
||
margin: 0;
|
||
}
|
||
strong {
|
||
font-weight: 1800;
|
||
}
|
||
.ql-direction-rtl {
|
||
direction: rtl;
|
||
}
|
||
`,C=({html:e,onBlur:n,onChange:r,element:o})=>{const i=l.default.useRef(null);l.default.useEffect((()=>{if(!i.current)return;const e=new u.default(i.current,{toolbar:!1,keyboard:!1,clipboard:{matchVisual:!1},formats:["background","bold","color","font","italic","size","strike","underline","indent","align","direction"]});return t.quillRef.editor.instance=e,window.__polotnoQuill=e,e.on("text-change",(()=>{e.getSelection()&&(t.quillRef.currentFormat=e.getFormat()),setTimeout((()=>{var e;r(null===(e=i.current)||void 0===e?void 0:e.childNodes[0].innerHTML)}),10)})),e.setSelection(0,0,"api"),e.on("selection-change",(r=>{r||n(),r&&(t.quillRef.currentFormat=e.getFormat())})),i.current.childNodes[0].addEventListener("blur",(e=>{var t;(null===(t=e.relatedTarget)||void 0===t?void 0:t.classList.contains("ql-clipboard"))||n()})),()=>{t.quillRef.editor.instance=null,t.quillRef.currentFormat={},delete window.__polotnoQuill}}),[]),l.default.useEffect((()=>{var n;const r=t.quillRef.editor.instance;if(!r)return;const a=r.getSelection();if((null===(n=i.current)||void 0===n?void 0:n.childNodes[0].innerHTML)!==o.text){var l=r.clipboard.convert("<div class='ql-editor' style='outline: none;'>"+e+"<p><br></p></div>");r.setContents(l),r.history.clear(),a&&(r.setSelection(a.index,a.length),t.quillRef.currentFormat=r.getFormat())}}),[o.text]);const a=(0,v.useTextColor)(o).fill;return l.default.createElement(O,{ref:i,style:{fontSize:o.fontSize,color:a,width:o.width,fontFamily:o.fontFamily,lineHeight:o.lineHeight,letterSpacing:o.letterSpacing+"rem",textAlign:o.align},dir:(0,v.getDir)((0,E.removeTags)(o.text))})};function M(e){return!function(e){const t=e.getContext("2d").getImageData(0,0,e.width,e.height).data;for(let e=0;e<t.length;e+=4)if(0!==t[e+3])return!0;return!1}(e)}function z(e,{fontFamily:t="",color:n="black"}={}){let r=`color: ${n||e.fill}`;return`<div style="white-space: unset; width: ${Math.round(e.width||100)}px; ${r}; font-size: ${e.fontSize}px; font-family: '${t}'; text-decoration: ${e.textDecoration}; text-align: ${e.align}; line-height: ${e.lineHeight}; letter-spacing: ${e.letterSpacing}rem; font-style: ${e.fontStyle}; font-weight: ${e.fontWeight}; -webkit-text-stroke: ${e.strokeWidth}px ${e.stroke};" contentEditable dir="${(0,v.getDir)((0,E.removeTags)(e.text))}">${e.text}</div>`}const P=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);t.HTMLElement=(0,s.observer)((({element:e,store:t})=>{const n=l.default.useRef(null),[r,o]=l.default.useState(),[i,a]=l.default.useState(!1),[s,u]=l.default.useState(!0),[w,E]=l.default.useState(!1),[T,A]=l.default.useState(!1),L=l.default.useRef(e.height),k=t.selectedElements.indexOf(e)>=0,N=e.fontSize/3,{textVerticalResizeEnabled:I}=f.flags,R=(0,v.usePrevious)(e.fontFamily),[H]=(0,v.useFontLoader)(t,e.fontFamily);(0,g.useFadeIn)(n);const V=H?e.fontFamily:R!==e.fontFamily?R:"Arial",D=(0,v.useTextColor)(e).fill,j=z(e,{fontFamily:V,color:D}),{width:F,height:B}=function(e,t,n){return l.default.useMemo((()=>(0,m.detectSize)(e)),[e,t.width,n])}(j,e,H);l.default.useEffect((()=>{if(!H)return;if(!e.height)return void e.set({height:B});const{textOverflow:n}=f.flags;if("change-font-size"!==n||i)"resize"===n&&(I&&e.height<B&&t.history.ignore((()=>{e.set({height:B})})),I||e.height===B||t.history.ignore((()=>{e.set({height:B})})));else{const n=(e=>{let t=e.fontSize;for(let n=1;n<50;n++){const n=z(Object.assign(Object.assign({},e.toJSON()),{fontSize:t}),{fontFamily:e.fontFamily}),{height:r}=(0,m.detectSize)(n);if(!(e.height&&r>e.height))break;t-=.5}return t})(e);n!==e.fontSize?t.history.ignore((()=>{e.set({fontSize:n})})):e.height!==B&&t.history.ignore((()=>{e.set({height:B})}))}}));const U=l.default.useRef(0);l.default.useEffect((()=>{i||w||(async()=>{U.current++;const n=U.current,r=(0,_.incrementLoader)(`text ${e.id}`);u(!0);let i=null;const a=P?5:1;for(let o=0;o<a;o++){if(i=await(0,m.htmlToCanvas)({html:j,width:e.width||1,height:e.height||B||1,fontFamily:V,padding:N,pixelRatio:t._elementsPixelRatio,font:t.fonts.find((e=>e.fontFamily===V))||x.globalFonts.find((e=>e.fontFamily===V))}),n!==U.current)return void r();M(i)&&P&&await new Promise((e=>setTimeout(e,50*(o+1))))}i?(o(i),u(!1),d.default.Util.requestAnimFrame(r)):r()})()}),[j,i,B,w,V,e.height,t._elementsPixelRatio]);const G=i||s;l.default.useEffect((()=>h.autorun((()=>{const t=n.current;(0,p.applyFilter)(t,e)}))),[r,G,e.shadowColor,e.shadowOffsetX,e.shadowOffsetY,e.shadowOpacity]);let q=0;"middle"===e.verticalAlign&&(q=(e.height-B)/2),"bottom"===e.verticalAlign&&(q=e.height-B);const W=(0,v.getLineHeight)({fontLoaded:H,fontFamily:e.fontFamily,fontSize:e.fontSize,lineHeight:e.lineHeight}),K=(0,S.useMobile)();return l.default.createElement(l.default.Fragment,null,l.default.createElement(c.Rect,{x:e.x,y:e.y,offsetX:e.backgroundPadding*(e.fontSize*W*.5),offsetY:e.backgroundPadding*(e.fontSize*W*.5),rotation:e.rotation,hideInExport:!e.showInExport||!e.text,listening:!1,visible:e.backgroundEnabled,opacity:e.backgroundOpacity,fill:e.backgroundColor,width:e.width+e.backgroundPadding*(e.fontSize*W),height:e.height+e.backgroundPadding*(e.fontSize*W),cornerRadius:e.backgroundCornerRadius*(e.fontSize*W*.5)}),l.default.createElement(c.Rect,{ref:n,name:"element",x:e.x,y:e.y,listening:e.selectable,rotation:e.rotation,width:e.width,height:e.height,visible:!G,draggable:K?e.draggable&&k:e.draggable,preventDefault:!K||k,opacity:w?0:e.opacity,hideInExport:!e.showInExport,onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},onDragStart:()=>{t.history.startTransaction()},onDragMove:t=>{e.set({x:t.target.x(),y:t.target.y()})},onDragEnd:n=>{e.set({x:n.target.x(),y:n.target.y()}),t.history.endTransaction()},id:e.id,onDblClick:()=>{e.contentEditable&&E(!0)},onDblTap:()=>{e.contentEditable&&E(!0)},onTransformStart:t=>{a(!0),L.current=e.height},onTransform:t=>{var n;const r=t.target,o=(null===(n=r.getStage())||void 0===n?void 0:n.findOne("Transformer")).getActiveAnchor(),i="middle-left"===o||"middle-right"===o,a="top-center"===o||"bottom-center"===o,l=r.scaleX();if(i){const t=r.scaleX(),n=Math.max(r.width()*t,e.fontSize);if(r.width(n),r.scaleX(1),f.flags.textVerticalResizeEnabled){const t=Math.max(B,L.current);e.set({height:t})}e.set({width:n,x:r.x(),y:r.y()})}else if(a){let n="resize"===f.flags.textOverflow?B:e.lineHeight*e.fontSize;const o=Math.max(n,t.target.height()*t.target.scaleY());r.scaleY(1),e.set({x:r.x(),y:r.y(),height:o,rotation:r.rotation()})}else r.scaleX(1),r.scaleY(1),e.set({fontSize:e.fontSize*l,width:r.width()*l,x:r.x(),y:r.y(),rotation:r.rotation(),height:r.height()*l})},onTransformEnd:t=>{a(!1),u(!0);const n=t.target.scaleX();t.target.scaleX(1),t.target.scaleY(1),e.set({fontSize:e.fontSize*n,width:t.target.width()*n,x:t.target.x(),y:t.target.y(),rotation:t.target.rotation()})}}),l.default.createElement(c.Image,{ref:n,image:r,x:e.x,y:e.y,offsetX:N,offsetY:N-q,listening:!1,rotation:e.rotation,width:e.width+2*N,height:e.height+2*N,visible:!G,opacity:w?0:e.opacity,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,hideInExport:!e.showInExport}),G&&l.default.createElement(c.Group,{x:e.x,y:e.y,rotation:e.rotation,offsetY:-q},l.default.createElement(b.Html,{divProps:{style:{pointerEvents:"none"}}},l.default.createElement(O,{dangerouslySetInnerHTML:{__html:j},style:{pointerEvents:"none",display:"inline-block"}}))),w&&l.default.createElement(c.Group,{x:e.x,y:e.y,rotation:e.rotation,offsetY:-q},l.default.createElement(b.Html,null,l.default.createElement(C,{html:j,element:e,onChange:t=>{e.set({text:t})},onBlur:e=>{E(!1)}}))),(k||T)&&l.default.createElement(y.Highlighter,{element:e}))}))},83675:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImageElement=t.useImageLoader=t.setImageLoaderHook=void 0;const l=a(n(67294)),s=n(50242),c=n(21833),u=n(34503),d=a(n(84420)),h=a(n(20185)),f=n(16755),p=n(9365),v=n(31284),m=i(n(34824)),g=n(81922),y=n(67890),b=n(88474),w=n(84077);function _(){return document.createElement("canvas")}const E=_(),x=(0,s.observer)((({element:e})=>{const t=Math.min(30,e.a.width/4,e.a.height/4),n=l.default.useRef(null);return l.default.useEffect((()=>{const e=n.current;if(!e)return;const t=new h.default.Animation((t=>{e.rotate(((null==t?void 0:t.timeDiff)||0)/2)}),e.getLayer());return t.start(),()=>{t.stop()}})),l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,listening:!1,opacity:e.a.opacity,hideInExport:!e.showInExport},l.default.createElement(u.Rect,{width:e.a.width,height:e.a.height,fill:"rgba(124, 173, 212, 0.8)"}),l.default.createElement(u.Arc,{ref:n,x:e.a.width/2,y:e.a.height/2,fill:"white",outerRadius:Math.abs(t),innerRadius:Math.max(1,t-5),angle:270}))})),S=(0,s.observer)((({element:e})=>{const t=Math.max(10,Math.min(30,e.a.width/25));return l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,listening:!1,opacity:e.a.opacity,hideInExport:!e.showInExport},l.default.createElement(u.Rect,{width:e.a.width,height:e.a.height,fill:"rgba(223, 102, 102, 0.8)"}),l.default.createElement(u.Text,{text:"Can not load the image...",fontSize:t,width:e.a.width,height:e.a.height,align:"center",fill:"white",verticalAlign:"middle",padding:5}))}));let O=d.default;t.setImageLoaderHook=e=>{O=e},t.useImageLoader=(e,t)=>{const n=l.default.useRef(),r=()=>{var e;null===(e=n.current)||void 0===e||e.call(n),n.current=void 0};l.default.useEffect((()=>r),[]),l.default.useLayoutEffect((()=>{"loading"!==e||n.current||(n.current=(0,v.incrementLoader)(`image ${t}`)),"loading"!==e&&r(),"failed"===e&&(0,v.triggerLoadError)(`image ${t}`)}),[e])},t.ImageElement=(0,s.observer)((({element:e,store:n})=>{var r;const[o,i]=l.default.useState(!1),a=l.default.useRef(null),s=l.default.useRef(null),[d,v]=l.default.useState(!1),C=n.selectedElements.indexOf(e)>=0,[M,z]=(e=>{const[t,n]=l.default.useReducer((e=>e+1),0),r=l.default.useRef("loading"),o=l.default.useRef(e.src),i=l.default.useRef(e.src);return i.current!==e.src&&(i.current=e.src,r.current="loading"),l.default.useEffect((()=>{if("image"===e.type)return;if(!e.src)return;let t=!1;return(async()=>{r.current="loading",n();const i=await m.urlToString(e.src),a=m.fixSize(i),l=m.replaceColors(a,e.colorsReplace);t||(o.current=l,r.current="loaded",n())})(),()=>{t=!0}}),[e.src,JSON.stringify(e.colorsReplace)]),"image"===e.type?[e.src,"loaded"]:[o.current,r.current]})(e),[P,T]=O(M,"anonymous"),A="svg"!==e.type||"loaded"===z?T:"loading";(0,t.useImageLoader)(A,e.id);const L=(({image:e,status:t,type:n})=>{const r=l.default.useRef();return l.default.useEffect((()=>{r.current=e||r.current}),[e]),"failed"!==t||"failed"!==t&&"svg"===n?r.current:void 0})({image:P,status:T,type:e.type}),k=((e,n)=>{const[r,o]=O(e.maskSrc,"anonymous"),i=e.maskSrc?o:"loaded";return(0,t.useImageLoader)(i,e.id+"-mask"),l.default.useMemo((()=>{if(!r)return n;if(!n||!n.width||!n.height)return n;const t=_();t.width=Math.max(n.width,1),t.height=Math.max(n.height,1);const o=t.getContext("2d");if(!o)return n;o.drawImage(n,0,0),o.globalCompositeOperation="source-in";const i=function(e,t){const n=t.width/t.height;let r,o;return n>=e.width/e.height?(r=e.width,o=e.width/n):(r=e.height*n,o=e.height),{x:(e.width-r)/2,y:(e.height-o)/2,width:r,height:o}}(r,e);return o.drawImage(r,i.x,i.y,i.width,i.height,0,0,n.width,n.height),t}),[n,r,e.a.width,e.a.height])})(e,((e,t,n)=>{const r=l.default.useMemo((()=>{var r,o;const{flipX:i,flipY:a}=e,l="svg"===e.type||e.src.indexOf("data:image/svg+xml")>=0||e.src.indexOf(".svg")>=0,s=navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&l||e.maskSrc;if(!i&&!a&&!s)return t;if(!t||!t.width||!t.height)return null;const c=_();let u=1;"svg"===e.type&&(u=Math.max(e.a.width/t.width*n,e.a.height/t.height*n)),c.width=Math.max(t.width*u,1),c.height=Math.max(t.height*u,1);let d=i?-c.width:0,h=a?-c.height:0;return null===(r=c.getContext("2d"))||void 0===r||r.scale(i?-1:1,a?-1:1),null===(o=c.getContext("2d"))||void 0===o||o.drawImage(t,d,h,c.width,c.height),c}),[e.maskSrc,e.flipX,e.flipY,t,e.a.width,e.a.height,n]);return l.default.useEffect((()=>()=>{r&&"CANVAS"===r.nodeName&&h.default.Util.releaseCanvas(r)}),[r]),r})(e,P||L,n._elementsPixelRatio))||E;let{cropX:N,cropY:I,cropWidth:R,cropHeight:H}=e;"loaded"!==T&&(N=I=0,R=H=1);const V=k.width*R,D=k.height*H,j=e.a.width/e.a.height;let F,B;const U=V/D,G="svg"===e.type;G?(F=V,B=D):j>=U?(F=V,B=V/j):(F=D*j,B=D);const q={x:k.width*N,y:k.height*I,width:F,height:B},W=null!==(r=e.cornerRadius)&&void 0!==r?r:0;let K=((e,n,r,o)=>{const i=(e=>{const[t,n]=l.default.useState(e);return l.default.useEffect((()=>{(async()=>{const r=await async function(e){if(!(e.indexOf("data:image/svg+xml")>=0||e.indexOf(".svg")>=0))return e;const t=await m.urlToString(e),n=m.fixSize(t);return m.svgToURL(n)}(e);r!==t&&n(r)})()}),[e]),t})(e.clipSrc||""),[a,s]=O(i,"anonymous"),c=e.clipSrc?s:"loaded";(0,t.useImageLoader)(c,e.id+"-clip");const u=l.default.useMemo((()=>{if(n&&a)return _()}),[n,a]);return l.default.useLayoutEffect((()=>{var t;if(!a)return;if(!n||!n.width||!n.height)return;if(!a||!a.width||!a.height)return;if(!u)return;const o=_(),i=Math.max(e.a.width/a.width*r,e.a.height/a.height*r);o.width=a.width*i,o.height=a.height*i,null===(t=o.getContext("2d"))||void 0===t||t.drawImage(a,0,0,o.width,o.height),u.width=Math.max(n.width,1),u.height=Math.max(n.height,1);const l=u.getContext("2d");l&&(l.save(),l.drawImage(o,0,0,n.width,n.height),h.default.Util.releaseCanvas(o),l.globalCompositeOperation="source-in",l.drawImage(n,0,0,u.width,u.height),l.restore())}),[u,n,a,e.a.width,e.a.height,r,...o]),e.clipSrc&&a?u:n})(e,((e,t,n,r,o=0,i=!1)=>{const a=Math.floor(Math.max(e.a.width*r,1)),s=Math.floor(Math.max(e.a.height*r,1)),c=Math.min(o*r,a/2,s/2),u=Math.max(e.a.width/n.width,e.a.height/n.height)*r,d=e.page._exporting&&g.flags.imageDownScalingEnabled&&u<1&&!i,f=0===n.x&&0===n.y&&n.width===(null==t?void 0:t.width)&&n.height===(null==t?void 0:t.height),p=l.default.useMemo((()=>{if(t&&t.width&&t.height)return f&&0===c&&!d?void 0:_()}),[t,c,d,f]);return l.default.useLayoutEffect((()=>{if(!p||!t)return;p.width=a,p.height=s;const e=p.getContext("2d");if(!e)return;c&&(e.beginPath(),e.moveTo(c,0),e.lineTo(a-c,0),e.arc(a-c,c,c,3*Math.PI/2,0,!1),e.lineTo(a,s-c),e.arc(a-c,s-c,c,0,Math.PI/2,!1),e.lineTo(c,s),e.arc(c,s-c,c,Math.PI/2,Math.PI,!1),e.lineTo(0,c),e.arc(c,c,c,Math.PI,3*Math.PI/2,!1),e.clip());const r=d?function(e,t){var n,r;const o=_();o.width=e.width,o.height=e.height,null===(n=o.getContext("2d"))||void 0===n||n.drawImage(e,0,0,o.width,o.height);const i=function(e,t,n,r,o,i,a){for(var l=new ImageData(t,n),s=new Int32Array(e.data.buffer),c=e.width,u=new Int32Array(l.data.buffer),d=l.width,h=t/i,f=n/a,p=Math.round(1/h),v=Math.round(1/f),m=p*v,g=0;g<l.height;g++)for(var y=0;y<d;y++){for(var b=0+Math.round(y/h)+(0+Math.round(g/f))*c,w=0,_=0,E=0,x=0,S=0;S<v;S++)for(var O=0;O<p;O++){var C=s[b+O+S*c];w+=C<<24>>>24,_+=C<<16>>>24,E+=C<<8>>>24,x+=C>>>24}w=Math.round(w/m),_=Math.round(_/m),E=Math.round(E/m),x=Math.round(x/m),u[y+g*d]=x<<24|E<<16|_<<8|w}return l}(o.getContext("2d").getImageData(0,0,o.width,o.height),Math.floor(o.width*t),Math.floor(o.height*t),0,0,o.width,o.height);return o.width=Math.floor(o.width*t),o.height=Math.floor(o.height*t),null===(r=o.getContext("2d"))||void 0===r||r.putImageData(i,0,0),o}(t,u):t,o=d?{x:Math.floor(n.x*u),y:Math.floor(n.y*u),width:Math.floor(n.width*u),height:Math.floor(n.height*u)}:n;e.drawImage(r,o.x,o.y,o.width,o.height,0,0,p.width,p.height)}),[p,e.a.width,e.a.height,n.x,n.y,n.width,n.height,o,r,i,e.page._exporting,d]),l.default.useEffect((()=>()=>{p&&"CANVAS"===p.nodeName&&h.default.Util.releaseCanvas(p)}),[p]),p||t})(e,k,q,n._elementsPixelRatio,W,o||e._cropModeEnabled||"svg"===e.type),n._elementsPixelRatio,[q,W,n._elementsPixelRatio]);const $=Math.max(e.a.width/F,e.a.height/B);l.default.useEffect((()=>{var t;if(!e._cropModeEnabled)return;const n=null===(t=a.current)||void 0===t?void 0:t.getStage();function r(t){e._cropModeEnabled&&t.target!==s.current&&e.toggleCropMode(!1)}function o(t){e._cropModeEnabled&&"CANVAS"!==t.target.nodeName&&e.toggleCropMode(!1)}return document.body.addEventListener("click",o),null==n||n.on("click",r),null==n||n.on("tap",r),()=>{document.body.removeEventListener("click",o),document.body.removeEventListener("touchstart",o),null==n||n.off("click",r),null==n||n.off("click",r)}}),[e._cropModeEnabled]),l.default.useLayoutEffect((()=>{if(!o&&!e._cropModeEnabled)return(0,y.applyFilter)(a.current,e),(0,c.autorun)((()=>{(0,y.applyFilter)(a.current,e)}),{delay:100})}),[k,o,R,H,e._cropModeEnabled]),l.default.useLayoutEffect((()=>{var t;o||e._cropModeEnabled?null===(t=a.current)||void 0===t||t.clearCache():(0,y.applyFilter)(a.current,e)}),[o,e.a.width,e.a.height,e._cropModeEnabled]),l.default.useEffect((()=>{(0,y.applyFilter)(a.current,e)}),[e.shadowEnabled,e.shadowBlur,e.cornerRadius,e.shadowColor,e.shadowOffsetX,e.shadowOffsetY,e.shadowOpacity]);const Y=l.default.useRef(null),X=l.default.useRef(null),Z=l.default.useRef(null);l.default.useLayoutEffect((()=>{e._cropModeEnabled&&(X.current.nodes([Y.current]),Z.current.nodes([s.current]))}),[e._cropModeEnabled]);const Q=t=>{Math.round(t.target.x())>0&&(t.target.x(0),t.target.scaleX(1)),Math.round(t.target.y())>0&&(t.target.y(0),t.target.scaleY(1));const n=t.target.width()*t.target.scaleX(),r=t.target.height()*t.target.scaleY(),o=Math.min(1,F/n),i=Math.min(1,B/r),a=1-o,l=Math.min(a,Math.max(0,Math.round(-t.target.x())/n)),s=1-i,c=Math.min(s,Math.max(0,Math.round(-t.target.y())/r));t.target.setAttrs({x:-l*k.width,y:-c*k.height,scaleX:1,scaleY:1}),e.set({cropX:l,cropY:c,cropWidth:o,cropHeight:i})},J=()=>{"svg"!==e.type&&e.contentEditable&&setTimeout((()=>{e.toggleCropMode(!0)}))},ee="svg"===e.type&&L,te="loading"===T&&!ee,ne="failed"===T,re=!te&&!ne,oe=l.default.useRef({cropX:0,cropY:0,cropWidth:0,cropHeight:0}),ie=re?e.a.opacity:0;(0,b.useFadeIn)(a,ie);const ae=e.selectable||"admin"===n.role,le=(0,w.useMobile)();return l.default.createElement(l.default.Fragment,null,te&&l.default.createElement(x,{element:e}),ne&&l.default.createElement(S,{element:e}),l.default.createElement(u.Image,{ref:a,name:"element",id:e.id,image:K,x:e.a.x,y:e.a.y,width:e.a.width||1,height:e.a.height||1,rotation:e.rotation,opacity:ie,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,customCrop:q,listening:ae,draggable:le?e.draggable&&C:e.draggable,preventDefault:!le||C,hideInExport:!e.showInExport,onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},onDragStart:()=>{n.history.startTransaction()},onDragMove:t=>{e.set({x:t.target.x(),y:t.target.y()})},onDragEnd:t=>{e.set({x:t.target.x(),y:t.target.y()}),n.history.endTransaction()},onDblClick:J,onDblTap:J,onTransformStart:()=>{i(!0),n.history.startTransaction(),oe.current={cropX:e.cropX,cropY:e.cropY,cropWidth:e.cropWidth,cropHeight:e.cropHeight}},onTransform:t=>{var n;const r=t.currentTarget,o=Math.abs(r.scaleX()-1)<1e-7?1:r.scaleX(),i=Math.abs(r.scaleY()-1)<1e-7?1:r.scaleY();r.scaleX(1),r.scaleY(1);const a=null===(n=t.target.getStage())||void 0===n?void 0:n.findOne("Transformer"),l=1-F/k.width,s=Math.min(l,Math.max(0,e.cropX)),c=1-B/k.height,u=Math.min(c,Math.max(0,e.cropY)),d=a.getActiveAnchor(),h=!(d.indexOf("middle")>=0||d.indexOf("center")>=0),f=!h&&o<1&&oe.current.cropHeight>B/k.height;let p=h?e.cropWidth:e.cropWidth*o;f&&(p=e.cropWidth);const v=!h&&i<1&&oe.current.cropWidth>F/k.width;let m=h?e.cropHeight:e.cropHeight*i;v&&(m=e.cropHeight),G&&(p=e.cropWidth,m=e.cropHeight),e.set({cropX:s,cropY:u,x:r.x(),y:r.y(),width:r.width()*o,height:r.height()*i,rotation:t.target.rotation(),cropWidth:Math.min(p,1-s),cropHeight:Math.min(m,1-u)})},onTransformEnd:t=>{const r=t.currentTarget;e.set({width:r.width(),height:r.height(),x:r.x(),y:r.y(),rotation:t.target.rotation(),cropWidth:F/k.width,cropHeight:B/k.height}),i(!1),n.history.endTransaction()}}),l.default.createElement(u.Rect,{x:e.x,y:e.y,width:Math.max(e.a.width-e.borderSize,0),height:Math.max(e.a.height-e.borderSize,0),opacity:ie,offsetX:-e.borderSize/2,offsetY:-e.borderSize/2,stroke:e.borderColor,strokeWidth:e.borderSize,listening:!1,visible:!!e.borderSize,rotation:e.rotation,cornerRadius:Math.max(0,W-e.borderSize),hideInExport:!e.showInExport}),e._cropModeEnabled&&l.default.createElement(f.Portal,{selector:".page-abs-container",enabled:!0},l.default.createElement(u.Rect,{x:-window.innerWidth/n.scale,y:-window.innerWidth/n.scale,width:window.innerWidth/n.scale*3,height:window.innerWidth/n.scale*3,fill:"rgba(0,0,0,0.3)"}),l.default.createElement(u.Image,{listening:!1,image:K,x:e.x,y:e.y,width:e.a.width,height:e.a.height,rotation:e.rotation,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur}),l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,scaleX:$,scaleY:$},l.default.createElement(u.Image,{image:k,ref:s,opacity:.4,draggable:!0,x:-e.cropX*k.width,y:-e.cropY*k.height,onDragMove:Q,onTransform:Q}),l.default.createElement(u.Transformer,{ref:Z,anchorSize:20,enabledAnchors:["top-left","top-right","bottom-left","bottom-right"],boundBoxFunc:(e,t)=>t.width<5||t.height<5?e:t,rotateEnabled:!1,borderEnabled:!1,anchorCornerRadius:10,anchorStrokeWidth:2,borderStrokeWidth:2}),l.default.createElement(u.Rect,{width:F,height:B,ref:Y,listening:!1,onTransform:t=>{t.target.x()<-e.cropX*k.width-1e-9&&(t.target.x(-e.cropX*k.width),t.target.scaleX(1)),t.target.y()<-e.cropY*k.height-1e-9&&(t.target.y(-e.cropY*k.height),t.target.scaleY(1));const n=Math.min(1,Math.max(0,e.cropX+t.target.x()/k.width)),r=Math.min(1,Math.max(0,t.target.y()/k.height+e.cropY)),o=t.target.width()*t.target.scaleX(),i=t.target.height()*t.target.scaleY(),a=Math.min(1-n,o/k.width),l=Math.min(1-r,i/k.height),s=t.target.getAbsolutePosition(t.target.getParent().getParent());t.target.scale({x:1,y:1}),t.target.position({x:0,y:0}),e.set({x:s.x,y:s.y,cropX:n,cropY:r,cropWidth:a,cropHeight:l,width:Math.min(o*$,k.width*(1-n)*$),height:Math.min(i*$,k.height*(1-r)*$)})}}),l.default.createElement(u.Transformer,{ref:X,enabledAnchors:["top-left","top-right","bottom-left","bottom-right"],boundBoxFunc:(e,t)=>t.width<5||t.height<5?e:t,keepRatio:!1,rotateEnabled:!1,anchorFill:"rgb(240, 240, 240)",anchorStrokeWidth:2,borderStrokeWidth:2}))),(d||C)&&l.default.createElement(p.Highlighter,{element:e}))}))},82900:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LineElement=t.getLinePositionFromMiddlePoints=t.getMiddlePoints=void 0;const o=r(n(67294)),i=n(50242),a=n(34503),l=n(16755),s=n(9365),c=n(88018),u=n(84077);function d(e){const{x:t,y:n,width:r,height:o,rotation:i}=e.a,a=i*Math.PI/180,l={x:t+o/2*Math.cos(a+Math.PI/2),y:n+o/2*Math.sin(a+Math.PI/2)};return{middleLeft:l,middleRight:{x:l.x+r*Math.cos(a),y:l.y+r*Math.sin(a)}}}function h(e,t,n){const r=Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)),o=Math.atan2(t.y-e.y,t.x-e.x),i=180*o/Math.PI;return{x:e.x+Math.cos(o-Math.PI/2)*n/2,y:e.y+Math.sin(o-Math.PI/2)*n/2,width:r,height:n,rotation:i}}t.getMiddlePoints=d,t.getLinePositionFromMiddlePoints=h;const f=(e,t)=>({offsetX:5/e,offsetY:5/e,width:10/e,height:10/e,fill:"white",stroke:"rgb(0, 161, 255)",strokeWidth:2,strokeScaleEnabled:!1,draggable:!0,dragDistance:0,onMouseEnter:e=>{e.target.getStage().container().style.cursor="crosshair"},onMouseLeave:e=>{e.target.getStage().container().style.cursor=""},onDragStart:e=>{t.history.startTransaction()},onDragEnd:e=>{t.history.endTransaction()}}),p=(0,i.observer)((({element:e,type:t})=>{const n={strokeWidth:e.height,stroke:e.a.color,lineCap:"round",lineJoin:"round",fill:e.a.color,opacity:e.a.opacity};return o.default.createElement(o.default.Fragment,null,"arrow"===t&&o.default.createElement(a.Line,Object.assign({points:[3*e.height,2*-e.height,0,0,3*e.height,2*e.height]},n)),"triangle"===t&&o.default.createElement(a.Line,Object.assign({points:[3*e.height,2*-e.height,0,0,3*e.height,2*e.height],closed:!0},n)),"bar"===t&&o.default.createElement(a.Line,Object.assign({points:[0,2*-e.height,0,2*e.height],closed:!0},n)),"square"===t&&o.default.createElement(a.Line,Object.assign({points:[0,2*-e.height,4*e.height,2*-e.height,4*e.height,2*e.height,0,2*e.height],closed:!0},n)),"circle"===t&&o.default.createElement(a.Circle,Object.assign({x:2*e.height,y:0,radius:2*e.height},n)))}));t.LineElement=(0,i.observer)((({element:e,store:t})=>{const n=o.default.useRef(null),r=o.default.useRef(null),i=o.default.useRef(null),v=e.selectable||"admin"===t.role,m=(0,u.useMobile)(),[g,y]=o.default.useState(!1),b=t.selectedElements.indexOf(e)>=0&&1===t.selectedElements.length,{middleLeft:w,middleRight:_}=d(e);return(0,c.useAnchorSnap)(r,[n],[b]),(0,c.useAnchorSnap)(i,[n],[b]),o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Line,{ref:n,name:"element",id:e.id,x:e.a.x,y:e.a.y,points:[0,0,e.a.width,0],offsetY:-e.a.height/2,strokeWidth:e.a.height,hitStrokeWidth:Math.max(e.a.height,20),dash:e.dash.map((t=>t*e.a.height)),stroke:e.a.color,rotation:e.a.rotation,opacity:e.animated("opacity"),shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,listening:v,draggable:m?e.draggable&&b:e.draggable,preventDefault:!m||b,hideInExport:!e.showInExport,onMouseEnter:()=>{y(!0)},onMouseLeave:()=>{y(!1)},onDragStart:()=>{t.history.startTransaction()},onDragMove:t=>{e.set({x:t.target.x(),y:t.target.y()})},onDragEnd:n=>{e.set({x:n.target.x(),y:n.target.y()}),t.history.endTransaction()},onTransformStart:()=>{t.history.startTransaction()},onTransform:t=>{const n=t.target.scaleX();t.target.scaleX(1),t.target.scaleY(1),e.set({height:e.height*n,width:e.width*n,x:t.target.x(),y:t.target.y(),rotation:t.target.rotation()})},onTransformEnd:e=>{t.history.endTransaction()}}),o.default.createElement(a.Group,{x:w.x,y:w.y,rotation:e.rotation},o.default.createElement(p,{element:e,type:e.startHead})),o.default.createElement(a.Group,{x:_.x,y:_.y,rotation:e.rotation+180},o.default.createElement(p,{element:e,type:e.endHead})),g&&!b&&o.default.createElement(s.Highlighter,{element:e}),b&&e.resizable&&o.default.createElement(l.Portal,{selector:".page-abs-container",enabled:!0},o.default.createElement(a.Group,{visible:b},o.default.createElement(a.Rect,Object.assign({x:w.x,y:w.y,ref:r,name:"line-anchor"},f(t.scale,t),{onDragMove:t=>{const n=h(t.target.position(),_,e.height);e.set({x:n.x,y:n.y,width:n.width,rotation:n.rotation})}})),o.default.createElement(a.Rect,Object.assign({x:_.x,y:_.y,ref:i,name:"line-anchor"},f(t.scale,t),{onDragMove:t=>{const n=h(w,t.target.position(),e.height);e.set({x:n.x,y:n.y,width:n.width,rotation:n.rotation})}})))))}))},38492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageControls=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(13507);t.PageControls=(0,i.observer)((({store:e,page:t,xPadding:n,yPadding:r})=>{const i=e.pages.length>1,c=e.pages.indexOf(t);return o.default.createElement("div",{style:{position:"absolute",top:r-40+"px",right:n+"px"}},i&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.moveUp"),disabled:0===c},o.default.createElement(a.Button,{icon:"chevron-up",minimal:!0,disabled:0===c,onClick:()=>{t.setZIndex(c-1)}})),i&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.moveDown"),disabled:c===e.pages.length-1},o.default.createElement(a.Button,{icon:"chevron-down",minimal:!0,disabled:c===e.pages.length-1,onClick:()=>{const n=e.pages.indexOf(t);t.setZIndex(n+1)}})),o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.duplicatePage")},o.default.createElement(a.Button,{icon:"duplicate",minimal:!0,onClick:()=>{t.clone()}})),i&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.removePage")},o.default.createElement(a.Button,{icon:"trash",minimal:!0,onClick:()=>{e.deletePages([t.id])}})),o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.addPage")},o.default.createElement(a.Button,{icon:"insert",minimal:!0,onClick:()=>{var n;const r=e.addPage({bleed:(null===(n=e.activePage)||void 0===n?void 0:n.bleed)||0}),o=e.pages.indexOf(t);r.setZIndex(o+1)}})))}))},61450:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.registerNextDomDrop=t.registerTransformerAttrs=void 0;const i=o(n(67294)),a=n(50242),l=n(21833),s=n(34503),c=o(n(84420)),u=o(n(20185)),d=o(n(28498)),h=n(88018),f=n(83675),p=n(3021),v=n(38492),m=n(49202),g=n(240),y=n(6392),b=n(81922),w=n(84077),_=new u.default.Group;_.add(new u.default.Rect({width:20,height:20,fill:"white"})),_.add(new u.default.Path({scaleX:20/24,scaleY:20/24,data:"M4.98313549,11.0001422 C5.49589839,10.9914935 5.92501998,11.3703506 5.99116425,11.8666444 L5.99985778,11.9831355 L6.00348884,12.2068855 C6.11245031,15.4321748 8.76323537,17.9999971 11.9999971,17.9999971 C12.1869612,17.9999971 12.3726725,17.9914753 12.5567465,17.9745765 L12.2928932,17.7071068 C11.9023689,17.3165825 11.9023689,16.6834175 12.2928932,16.2928932 C12.6834175,15.9023689 13.3165825,15.9023689 13.7071068,16.2928932 L15.7071068,18.2928932 C16.0976311,18.6834175 16.0976311,19.3165825 15.7071068,19.7071068 L13.7071068,21.7071068 C13.3165825,22.0976311 12.6834175,22.0976311 12.2928932,21.7071068 C11.9023689,21.3165825 11.9023689,20.6834175 12.2928932,20.2928932 L12.6111505,19.9769552 C12.4086045,19.9922816 12.2047796,19.9999971 11.9999971,19.9999971 C7.7687005,19.9999971 4.28886152,16.7094374 4.01666425,12.5105203 L4.00420123,12.2575143 L4.00014222,12.0168645 C3.9908282,11.4646583 4.43092928,11.0094562 4.98313549,11.0001422 Z M11.7071068,2.29289322 C12.0675907,2.65337718 12.0953203,3.22060824 11.7902954,3.61289944 L11.7071068,3.70710678 L11.3891629,4.0230186 C11.5916051,4.00770767 11.7953244,4 12,4 C16.418278,4 20,7.581722 20,12 C20,12.5522847 19.5522847,13 19,13 C18.4477153,13 18,12.5522847 18,12 C18,8.6862915 15.3137085,6 12,6 C11.8129339,6 11.6271216,6.00853145 11.4429483,6.02544919 L11.7071068,6.29289322 C12.0976311,6.68341751 12.0976311,7.31658249 11.7071068,7.70710678 C11.3466228,8.06759074 10.7793918,8.09532028 10.3871006,7.79029539 L10.2928932,7.70710678 L8.29289322,5.70710678 C7.93240926,5.34662282 7.90467972,4.77939176 8.20970461,4.38710056 L8.29289322,4.29289322 L10.2928932,2.29289322 C10.6834175,1.90236893 11.3165825,1.90236893 11.7071068,2.29289322 Z",fill:"black"}));const E=_.toCanvas({pixelRatio:2,width:20,height:20}),x={enabledAnchors:["top-left","top-center","top-right","middle-left","bottom-left","bottom-right","bottom-center","middle-right"],borderEnabled:!0,rotateEnabled:!0,rotationSnaps:[0,45,90,135,180,225,270,315],ignoreStroke:!0,anchorStrokeWidth:2,borderStrokeWidth:2,anchorStyleFunc:e=>{if(e.hasName("rotater")){const t=20;e.setAttrs({width:t,height:t,cornerRadius:t/2,offsetX:t/2,offsetY:t/2,fillPatternImage:E,fillPatternScaleX:t/20/2,fillPatternScaleY:t/20/2,fillPriority:"pattern",fillPatternRepeat:"no-repeat"})}}},S={text:{enabledAnchors:["top-left","top-right","middle-left","bottom-left","bottom-right","middle-right"]},svg:{enabledAnchors:["top-left","top-right","bottom-left","bottom-right"]},line:{enabledAnchors:[],borderEnabled:!1,rotateEnabled:!1},image:{enabledAnchors:["top-left","top-right","bottom-left","bottom-right"]},many:{enabledAnchors:["top-left","top-right","bottom-left","bottom-right"]},group:{enabledAnchors:["top-left","top-right","bottom-left","bottom-right"]}};t.registerTransformerAttrs=function(e,t){S[e]=S[e]||t,Object.assign(S[e],t)};const O=e=>i.default.createElement(s.Rect,Object.assign({},e,{preventDefault:!1})),C=e=>{var{url:t}=e,n=r(e,["url"]);const[o,a]=(0,c.default)(t,"anonymous"),l=o?(0,p.getCrop)(o,{width:n.width,height:n.height},"center-middle"):{};return(0,f.useImageLoader)(a,"background"),i.default.createElement(s.Image,Object.assign({image:o},n,l))},M=e=>i.default.createElement(s.Rect,Object.assign({},e)),z=e=>{const{background:t,scale:n,borderColor:o}=e,a=r(e,["background","scale","borderColor"]),l=i.default.useMemo((()=>!!u.default.Util.colorToRGBA(t)),[t]),c=i.default.useMemo((()=>{const e=document.createElement("canvas"),t=30;e.width=60,e.height=60;const n=e.getContext("2d");return n&&(n.fillStyle="black",n.fillRect(t,0,t,t),n.fillRect(0,t,t,t)),e}),[]);return i.default.createElement(i.default.Fragment,null,i.default.createElement(s.Rect,Object.assign({fillPatternImage:c},a,{opacity:.1,hideInExport:!0})),l?i.default.createElement(M,Object.assign({fill:t},a)):i.default.createElement(C,Object.assign({url:t},a)))},P=(0,a.observer)((({selection:e})=>e.visible?i.default.createElement(s.Rect,{name:"selection",x:Math.min(e.x1,e.x2),y:Math.min(e.y1,e.y2),width:Math.abs(e.x1-e.x2),height:Math.abs(e.y1-e.y2),fill:"rgba(0, 161, 255, 0.3)"}):null)),T=(0,a.observer)((({x:e,y:t,width:n,height:r,rotation:o,anchor:a,store:l})=>{const c=(0,g.getClientRect)({x:e,y:t,width:n,height:r,rotation:u.default.Util.radToDeg(o)});if(void 0===a)return null;const d=(r/2+90)*Math.cos(o-Math.PI/2),h=(r/2+90)*Math.sin(o-Math.PI/2),f=(0,y.pxToUnitRounded)({unit:l.unit,dpi:l.dpi,px:n/l.scale,precious:"px"===l.unit?0:1})+" x "+(0,y.pxToUnitRounded)({unit:l.unit,dpi:l.dpi,px:r/l.scale,precious:"px"===l.unit?0:1})+("px"===l.unit?"":" "+l.unit);return i.default.createElement(i.default.Fragment,null,i.default.createElement(s.Label,{x:(c.minX+c.maxX)/2+d,y:(c.minY+c.maxY)/2+h,offsetX:14,offsetY:14,visible:"rotater"===a},i.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)"}),i.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:8,text:Math.round(u.default.Util.radToDeg(o)).toString()+"°"})),i.default.createElement(s.Label,{x:(c.minX+c.maxX)/2,y:c.maxY+20,visible:"rotater"!==a},i.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)",pointerDirection:"up",pointerHeight:0,pointerWidth:0}),i.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:8,text:f})))})),A=(0,a.observer)((({elements:e,store:t})=>{const n=e.filter((e=>e.alwaysOnTop)),r=e.filter((e=>!e.alwaysOnTop)).concat(n);return i.default.createElement(i.default.Fragment,null,r.map((e=>i.default.createElement(d.default,{key:e.id,store:t,element:e,onClick:()=>{console.warn("Polotno warning: onClick callback is deprecated. Just stop using it. Polotno will do selection automatically.")}}))))}));let L=null;t.registerNextDomDrop=e=>{L=e},t.default=(0,a.observer)((({store:e,page:t,width:n,height:r,pageControlsEnabled:o,backColor:c,pageBorderColor:d,activePageBorderColor:f,components:p,bleedColor:_})=>{const E=e.bleedVisible?t.bleed:0,C=t.computedWidth+2*E,M=t.computedHeight+2*E,k=(n-C*e.scale)/2,N=(r-M*e.scale)/2,I=i.default.useRef(null),R=i.default.useRef(null),H=i.default.useRef(null),V=null==o||o,[D,j]=i.default.useState(null),[F,B]=i.default.useState({}),U=e.selectedElements.find((e=>e._cropModeEnabled)),G=e.selectedShapes.filter((e=>!e.resizable)).length>0,q=e.selectedShapes.filter((e=>!e.draggable)).length>0,W=e.selectedElements.filter((e=>!e.visible)).length>0;i.default.useLayoutEffect((()=>{var t,n,r;if(!I.current)return;const o=I.current.getStage(),i=e.selectedShapes.map((e=>e._cropModeEnabled?null:o.findOne("#"+e.id))).filter((e=>e)),a=1===e.selectedElements.length&&(null===(t=e.selectedElements[0])||void 0===t?void 0:t.type)||"many";S[a]?(I.current.setAttrs(Object.assign(Object.assign({},x),S[a])),"svg"!==a&&"image"!==a||e.selectedElements[0].keepRatio||I.current.setAttrs({enabledAnchors:x.enabledAnchors}),"text"===a&&b.flags.textVerticalResizeEnabled&&I.current.setAttrs({enabledAnchors:null===(n=S.text.enabledAnchors)||void 0===n?void 0:n.concat(["bottom-center"])})):I.current.setAttrs(x),G&&I.current.enabledAnchors([]),q&&I.current.rotateEnabled(!1),i.find((e=>null==e?void 0:e.isDragging()))&&i.forEach((e=>{null==e||e.startDrag()})),I.current.nodes(i),null===(r=I.current.getLayer())||void 0===r||r.batchDraw()}),[e.selectedElements,U,G,W,q]);const K=(0,a.useLocalObservable)((()=>({visible:!1,x1:0,y1:0,x2:0,y2:0}))),$=i.default.useRef(!1),Y=(0,w.useMobile)(),X=(0,l.action)((n=>{var r,o;if(Y)return;$.current=!1,e.activePage!==t&&t.select();const i=n.target.findAncestor(".elements-container"),a=n.target.findAncestor("Transformer"),l=n.target.findAncestor(".page-abs-container");if(i||a||l)return;const s=null===(r=n.target.getStage())||void 0===r?void 0:r.getPointerPosition();s&&(K.visible=!0,K.x1=s.x,K.y1=s.y,K.x2=s.x,K.y2=s.y,(null===(o=n.target.getStage())||void 0===o?void 0:o.getPointersPositions().length)>=2&&(K.visible=!1))}));i.default.useEffect((()=>{const t=(0,l.action)((e=>{var t,n;if(!K.visible)return;null===(t=R.current)||void 0===t||t.setPointersPositions(e);let r=(null===(n=R.current)||void 0===n?void 0:n.getPointerPosition())||{x:K.x2,y:K.y2};K.x2=r.x,K.y2=r.y})),n=(0,l.action)((()=>{if(!K.visible)return;if(!R.current)return;const t=R.current.findOne(".selection"),n=t?t.getClientRect():{width:0,height:0,x:0,y:0};if(n.width&&n.height){const t=[];R.current.find(".element").forEach((r=>{const o=r.getClientRect(),i=e.getElementById(r.id()),a=null==i?void 0:i.draggable,l=null==i?void 0:i.selectable;u.default.Util.haveIntersection(n,o)&&a&&l&&t.push(r.id())})),e.selectElements(t)}K.visible=!1,$.current=!0}));return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n)}}),[]);const Z=t=>{if($.current)return;const n=t.evt.ctrlKey||t.evt.metaKey||t.evt.shiftKey,r=t.target.findAncestor(".elements-container"),o=t.target.findAncestor(".page-abs-container"),i=t.target.findAncestor("Transformer");if(!(n||r||i||o))return void e.selectElements([]);const a=t.target.findAncestor(".element",!0),l=e.getElementById(null==a?void 0:a.id()),s=null==l?void 0:l.top,c=null==s?void 0:s.id,u=e.selectedElementsIds.indexOf(c)>=0;c&&n&&!u?e.selectElements(e.selectedElementsIds.concat([c])):c&&n&&u?e.selectElements(e.selectedElementsIds.filter((e=>e!==c))):!c||n||u||e.selectElements([c])};(0,h.useSnap)(I);const Q=e.activePage===t,J=(null==p?void 0:p.PageControls)||v.PageControls,ee=1/e.scale,te=0/e.scale;return i.default.createElement("div",{ref:H,onDragOver:e=>e.preventDefault(),onDrop:n=>{if(n.preventDefault(),!R.current)return;R.current.setPointersPositions(n);const r=R.current.findOne(".elements-container").getRelativePointerPosition(),o=R.current.getPointerPosition(),i=R.current.getAllIntersections(o).map((e=>e.findAncestor(".element",!0))).filter(Boolean),a=[...new Set(i.reverse())].map((t=>e.getElementById(t.id()))),l=a[0];L&&(L(r,l,{elements:a,page:t}),L=null)},style:{position:"relative",width:n+"px"},className:"polotno-page-container"+(Q?" active-page":"")},i.default.createElement(s.Stage,{ref:R,width:n,height:r,onClick:Z,onTap:Z,onMouseDown:X,onMouseMove:n=>{if(!n.evt.altKey&&D)return void j(null);if(!n.evt.altKey)return;const r=n.target.findAncestor(".element",!0),o=null==r?void 0:r.id();if(!e.selectedElements[0])return;if(e.selectedElementsIds.includes(o))return;const i=(0,g.getTotalClientRect)(e.selectedElements),a=o?e.getElementById(o):{x:0,y:0,width:t.computedWidth,height:t.computedHeight,rotation:0},l=(0,g.getClientRect)(a),s=[];i.minX>l.maxX&&s.push({distance:i.minX-l.maxX,box1:i,box2:l,points:[{x:i.minX,y:i.minY+i.height/2},{x:l.maxX,y:i.minY+i.height/2},{x:l.maxX,y:l.minY+l.height/2}]}),i.maxX<l.minX&&s.push({distance:l.minX-i.maxX,box1:i,box2:l,points:[{x:i.maxX,y:i.minY+i.height/2},{x:l.minX,y:i.minY+i.height/2},{x:l.minX,y:l.minY+l.height/2}]}),i.minY>l.maxY&&s.push({box1:i,box2:l,distance:i.minY-l.maxY,points:[{x:i.minX+i.width/2,y:i.minY},{x:i.minX+i.width/2,y:l.maxY},{x:l.minX+l.width/2,y:l.maxY}]}),i.maxY<l.minY&&s.push({box1:i,box2:l,distance:l.minY-i.maxY,points:[{x:i.minX+i.width/2,y:i.maxY},{x:i.minX+i.width/2,y:l.minY},{x:l.minX+l.width/2,y:l.minY}]}),i.minX>=l.minX&&i.maxX<=l.maxX&&i.minY>=l.minY&&i.maxY<=l.maxY&&(s.push({distance:i.minX-l.minX,box1:i,box2:l,points:[{x:i.minX,y:i.minY+i.height/2},{x:l.minX,y:i.minY+i.height/2},{x:l.minX,y:l.minY+l.height/2}]}),s.push({distance:l.maxX-i.maxX,box1:i,box2:l,points:[{x:i.maxX,y:i.minY+i.height/2},{x:l.maxX,y:i.minY+i.height/2},{x:l.maxX,y:l.minY+l.height/2}]}),s.push({box1:i,box2:l,distance:i.minY-l.minY,points:[{x:i.minX+i.width/2,y:i.minY},{x:i.minX+i.width/2,y:l.minY},{x:l.minX+l.width/2,y:l.minY}]}),s.push({box1:i,box2:l,distance:l.maxY-i.maxY,points:[{x:i.minX+i.width/2,y:i.maxY},{x:i.minX+i.width/2,y:l.maxY},{x:l.minX+l.width/2,y:l.maxY}]})),JSON.stringify(D)!==JSON.stringify(s)&&j(s)},onTouchStart:X,onDragStart:t=>{var n;const r=t.target.findAncestor(".element",!0);if(r){const o=e.getElementById(null==r?void 0:r.id()),i=null==o?void 0:o.top,a=null==i?void 0:i.id;!(e.selectedElementsIds.indexOf(a)>=0)&&a&&(e.selectElements([a]),t.target.stopDrag(),t.target.startDrag(),null===(n=I.current)||void 0===n||n.startDrag(t))}D&&j(null)},pageId:t.id,style:{position:"relative"}},i.default.createElement(s.Layer,null,i.default.createElement(O,{width:n,height:r,fill:c}),i.default.createElement(s.Group,{x:k,y:N,scaleX:e.scale,scaleY:e.scale,name:"page-container"},i.default.createElement(s.Group,{name:"page-background-group",x:E,y:E},i.default.createElement(z,{x:-t.bleed,y:-t.bleed,width:t.computedWidth+2*t.bleed,height:t.computedHeight+2*t.bleed,background:t.background,shadowBlur:10,shadowColor:"lightgrey",name:"page-background",preventDefault:!1,scale:e.scale})),i.default.createElement(s.Group,{x:E,y:E,name:"elements-container",listening:!e.isPlaying},i.default.createElement(s.Rect,{name:"elements-area",width:t.computedWidth,height:t.computedHeight,listening:!1}),i.default.createElement(A,{elements:t.children,store:e})),i.default.createElement(s.Rect,{stroke:_,name:"bleed",strokeWidth:t.bleed,x:t.bleed/2,y:t.bleed/2,width:t.computedWidth+t.bleed,height:t.computedHeight+t.bleed,listening:!1,visible:t.bleed>0&&e.bleedVisible,hideInExport:!0})),i.default.createElement(s.Line,{name:"workspace-background",points:[0,0,n,0,n,r,0,r,0,0,k,N,k,r-N,n-k,r-N,n-k,N,k,N],listening:!1,closed:!0,fill:c}),i.default.createElement(s.Group,{x:k,y:N,scaleX:e.scale,scaleY:e.scale,name:"page-container"},i.default.createElement(s.Rect,{name:"page-highlight",hideInExport:!0,x:-ee/2-te,y:-ee/2-te,width:C+ee+2*te,height:M+ee+2*te,stroke:Q&&e.pages.length>1?f:d,strokeWidth:2,listening:!1,strokeScaleEnabled:!1})),i.default.createElement(s.Group,{x:k+E*e.scale,y:N+E*e.scale,scaleX:e.scale,scaleY:e.scale,name:"page-abs-container"},i.default.createElement(s.Transformer,{ref:I,boundBoxFunc:(e,t)=>{const n=t.width<1||t.height<1,r=e.width<1||e.height<1;return n&&!r?e:t},onTransform:e=>{var t,n;const r=null===(t=I.current)||void 0===t?void 0:t.__getNodeRect(),o=null===(n=I.current)||void 0===n?void 0:n.getActiveAnchor();B({anchor:o,x:r.x,y:r.y,rotation:r.rotation,width:r.width,height:r.height})},onTransformEnd:e=>{B({})},visible:!e.isPlaying}),D&&D.map((({points:t,distance:n,box1:r,box2:o},a)=>i.default.createElement(s.Group,{name:"distances-container",hideInExport:!0,key:a,listening:!1},i.default.createElement(s.Rect,Object.assign({},r,{stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1})),i.default.createElement(s.Rect,Object.assign({},o,{stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1})),i.default.createElement(s.Line,{points:[t[0].x,t[0].y,t[1].x,t[1].y],stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1}),i.default.createElement(s.Line,{points:[t[1].x,t[1].y,t[2].x,t[2].y],stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1}),i.default.createElement(s.Label,{x:(t[0].x+t[1].x)/2,y:(t[0].y+t[1].y)/2,offsetY:-10,scaleX:1/e.scale,scaleY:1/e.scale},i.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)",pointerDirection:"down"}),i.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:5,text:(0,y.pxToUnitString)({unit:e.unit,dpi:e.dpi,px:n})}))))),t._rendering&&i.default.createElement(s.Group,null,i.default.createElement(s.Rect,{width:C,height:M,fill:"rgba(255,255,255,0.9)"}),i.default.createElement(s.Text,{text:"Rendering...",fontSize:60,width:C,height:M,align:"center",verticalAlign:"middle"}))),i.default.createElement(T,Object.assign({},F,{store:e})),i.default.createElement(P,{selection:K}),m.shouldShowCredit.value&&i.default.createElement(s.Text,{text:"Powered by polotno.com",fontSize:14,fill:"rgba(0,0,0,0.6)",x:n-170,y:r-18,onMouseEnter:e=>{e.target.getStage().container().style.cursor="pointer"},onMouseLeave:e=>{e.target.getStage().container().style.cursor=""},onTouchStart:e=>{e.cancelBubble=!0},onMouseDown:e=>{e.cancelBubble=!0},onClick:()=>{window.open("https://polotno.com")},onTap:()=>{window.open("https://polotno.com")}}),i.default.createElement(s.Group,{name:"line-guides"}))),V&&Q&&i.default.createElement(J,{store:e,page:t,xPadding:k,yPadding:N}))}))},90429:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeftRules=t.TopRules=void 0;const o=r(n(67294)),i=n(240),a=n(6392),l=n(50242),s=[.1,.2,.5,1,2,5,10,20,25,50,100,200,500,1e3,2e3,5e3,1e4];t.TopRules=(0,l.observer)((({store:e,width:t,height:n})=>{const r=o.default.useRef(null);if(!e.activePage)return null;const l=e.activePage,c=(e.bleedVisible&&l.bleed,l.computedWidth*e.scale),u=l.computedHeight*e.scale,d=(t-c)/2,h=(f=t=>(0,a.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit})*e.scale,s.find((e=>f(e)>30))||1e4);var f;const p=(0,a.unitToPx)({unitVal:h,dpi:e.dpi,unit:e.unit})*e.scale,v=Math.round(c/p)+1,m=Math.round(u/p)+1,g=(0,i.getTotalClientRect)(e.selectedElements);return o.default.createElement("div",{style:{position:"absolute",top:0,left:0,pointerEvents:"none"},ref:r},o.default.createElement("div",{style:{width:t+"px",height:"14px",position:"sticky",fontSize:"8px",lineHeight:"14px",top:"0px",left:"0px",color:"grey",borderBottom:"1px solid grey",backgroundColor:"#e8e8e8",overflow:"hidden"}},[...Array(v)].map(((t,n)=>o.default.createElement("div",{key:n,style:{position:"absolute",left:d+n*p+"px",borderLeft:"1px solid grey",paddingLeft:"2px",width:p+"px"}},"px"===e.unit||h>=1?Math.round(h*n):(h*n).toFixed(1)))),!!e.selectedElements.length&&o.default.createElement("div",{style:{position:"absolute",left:d+g.x*e.scale+"px",height:"14px",width:g.width*e.scale,backgroundColor:"rgba(0,0,0,0.15)"}})),e.pages.map(((t,r)=>{var i;const a=t.computedHeight*e.scale,l=(n-a)/2;return o.default.createElement("div",{key:t.id,style:{left:"0px",width:"14px",height:n+"px",position:"sticky",fontSize:"8px",lineHeight:"14px",color:"grey",borderRight:"1px solid grey",backgroundColor:"#e8e8e8",overflow:"hidden"}},[...Array(m)].map(((t,n)=>o.default.createElement("div",{key:n,style:{position:"absolute",left:"14px",top:l+n*p-14+"px",borderLeft:"1px solid grey",paddingLeft:"2px",transform:"rotate(90deg)",transformOrigin:"left top",width:p+"px",overflow:"hidden"}},"px"===e.unit||h>=1?Math.round(h*n):(h*n).toFixed(1)))),(null===(i=e.selectedElements[0])||void 0===i?void 0:i.page)===t&&o.default.createElement("div",{style:{position:"absolute",top:l+g.y*e.scale-14+"px",width:"14px",height:g.height*e.scale,backgroundColor:"rgba(0,0,0,0.15)"}}))})))})),t.LeftRules=function(){return o.default.createElement("div",null,o.default.createElement("h1",null,"Top rules"))}},62540:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextElement=t.useTextColor=t.usePrevious=t.getLineHeight=t.useFontLoader=t.getDir=t.isRTLText=void 0;const l=a(n(67294)),s=n(50242),c=n(34503),u=n(16755),d=n(21833),h=a(n(20185)),f=n(32152),p=n(31284),v=n(92275),m=n(81922),g=n(7415),y=i(n(29190)),b=n(67890),w=n(88474),_=n(9365),E=n(84077),x=document.createElement("style");x.type="text/css",document.head.appendChild(x);const S={border:"none",padding:"0px",overflow:"hidden",background:"none",outline:"none",resize:"none",overflowWrap:"break-word",whiteSpace:"pre-wrap",userSelect:"text",wordBreak:"normal"};function O(e){var t="֑-߿יִ-﷽ﹰ-ﻼ";return new RegExp("^[^"+t+"]*?["+t+"]").test(e)}function C(e){e=e.replace(/\s/g,"");let t=0;for(var n=0;n<e.length;n++)O(e[n])&&(t+=1);return t>e.length/2}function M(e){return C(e)?"rtl":"ltr"}t.isRTLText=C,t.getDir=M;const z=(0,s.observer)((({textNodeRef:e,element:t,onBlur:n,selectAll:r,cursorPosition:o})=>{const[i,a]=l.default.useState(S),s=e.current;l.default.useLayoutEffect((()=>{const e={};e.width=s.width()-2*s.padding()+"px",e.height=s.height()-2*s.padding()+10+"px",e.fontSize=s.fontSize()+"px",e.lineHeight=s.lineHeight()+.01,e.fontFamily=s.fontFamily(),e.textAlign=s.align(),e.color=s.fill(),e.fontWeight=t.fontWeight,e.fontStyle=t.fontStyle,e.letterSpacing=t.letterSpacing+"em";const n=`\n .polotno-input::placeholder {\n color: ${i.color};\n opacity: 0.6;\n }\n `;x.innerHTML="",x.appendChild(document.createTextNode(n)),JSON.stringify(e)!==JSON.stringify(i)&&a(e)}));const c=l.default.useRef(null);l.default.useEffect((()=>{const e=setTimeout((()=>{var e;const t=c.current;if(!t)return;null===(e=c.current)||void 0===e||e.focus();const n=o||t.value.length;t.selectionStart=t.selectionEnd=n,r&&(null==t||t.select(),document.execCommand("selectAll",!1,null))}));return()=>{clearTimeout(e)}}),[]);let d=0;const h=s.textArr.length*s.lineHeight()*s.fontSize();"middle"===t.verticalAlign&&(d=(t.a.height-h)/2),"bottom"===t.verticalAlign&&(d=t.a.height-h);const f=(0,g.removeTags)(t.text);return l.default.createElement(u.Html,null,l.default.createElement("textarea",{className:"polotno-input",ref:c,dir:M(f),style:Object.assign(Object.assign(Object.assign({},S),i),{paddingTop:d+"px"}),value:f,onChange:e=>{t.set({text:e.target.value})},placeholder:t.placeholder,onBlur:n}))}));function P(e){const t=l.default.useRef(e),n=l.default.useRef(e);return l.default.useMemo((()=>{n.current=t.current,t.current=e}),[e]),n.current}t.useFontLoader=(e,t)=>{const[n,r]=l.default.useReducer((e=>e+1),0),o=l.default.useRef(!1);return o.current=!!(0,v.isFontLoaded)(t),l.default.useLayoutEffect((()=>{if(o.current)return;let n=!0;return(async()=>{o.current=!1,r();const i=(0,p.incrementLoader)(`text ${t}`);await e.loadFont(t),h.default.Util.requestAnimFrame(i),n&&(o.current=!0,r())})(),()=>{n=!1}}),[t]),[o.current]},t.getLineHeight=({fontLoaded:e,fontFamily:t,fontSize:n,lineHeight:r})=>l.default.useMemo((()=>{if("number"==typeof r)return r;const e=document.createElement("div");e.style.fontFamily=t,e.style.fontSize=n+"px",e.style.lineHeight=r,e.innerText="Test text",document.body.appendChild(e);const o=e.offsetHeight;return document.body.removeChild(e),o/n}),[e,t,n,r]),t.usePrevious=P,t.useTextColor=e=>l.default.useMemo((()=>{if(!y.isGradient(e.fill))return{fill:e.fill};const{stops:t,rotation:n}=y.parseColor(e.fill),r={x:e.a.width/2,y:e.a.height/2},o=Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2)),i=h.default.Util.degToRad(n)-Math.PI/2,a=[];return t.forEach((({offset:e,color:t})=>{a.push(e,t)})),{fillLinearGradientStartPointX:r.x-o*Math.cos(i),fillLinearGradientStartPointY:r.y-o*Math.sin(i),fillLinearGradientColorStops:a,fillLinearGradientEndPointX:r.x+o*Math.cos(i),fillLinearGradientEndPointY:r.y+o*Math.sin(i),fill:t[1].color,fillPriority:"linear-gradient"}}),[e.fill]),t.TextElement=(0,s.observer)((({element:e,store:n})=>{const r=l.default.useRef(null),o=l.default.useRef(null),{editorEnabled:i,selectAll:a}=(e=>{const[t,n]=l.default.useState(!1),r=l.default.useRef(!1);return l.default.useEffect((()=>{var t=!0;return setTimeout((()=>{t&&(e._editModeEnabled&&(r.current=!0),n(!0),setTimeout((()=>{r.current=!1}),50))}),50),()=>{t=!1}}),[]),{editorEnabled:t&&e._editModeEnabled,selectAll:r.current}})(e),[s,u]=l.default.useState(!1),[h,p]=l.default.useState(!1),v=l.default.useRef(e.a.height),y=n.selectedElements.indexOf(e)>=0,{textVerticalResizeEnabled:x}=m.flags,S=P(e.fontFamily),[O,C]=l.default.useState([]);l.default.useEffect((()=>{var e,t;const n=null!==(t=null===(e=r.current)||void 0===e?void 0:e.textArr)&&void 0!==t?t:[];JSON.stringify(n)!==JSON.stringify(O)&&C(n)})),l.default.useEffect((()=>{if(e.a.width)return;const t=r.current;t.width(600),e.set({width:1.4*t.getTextWidth()})}),[]),l.default.useLayoutEffect((()=>(0,d.autorun)((()=>{const t=r.current;(0,b.applyFilter)(t,e)}))));const[M]=(0,t.useFontLoader)(n,e.fontFamily),T=(0,g.removeTags)(e.text),A=()=>{const e=r.current.clone({height:void 0}),t=Math.ceil(e.fontSize()*e.lineHeight()*e.textArr.length+1);return e.destroy(),t};l.default.useLayoutEffect((()=>{if(!M)return;const{textOverflow:t}=m.flags;if(e.a.height)if("change-font-size"!==t||h){if("resize"===t){const t=A();x&&e.a.height<t&&n.history.ignore((()=>{e.set({height:t}),r.current.height(t)})),x||e.a.height===t||n.history.ignore((()=>{e.set({height:t}),r.current.height(t)}))}}else{const t=function(e,t){const n=e.fontSize(),r=e.height(),o=(0,g.removeTags)(t.text);let i=t.a.fontSize;e.height(void 0);const a=Math.round(2*t.a.fontSize)-1;for(let n=1;n<a;n++){const n=t.a.height&&e.height()>t.a.height,r=o.split("\n").join(" ").split(/[\s-]+/);let a=e.textArr.map((e=>e.text)).join(";");const l=r.find((e=>!a.includes(e)||(a=a.replace(e,""),!1)));if(!n&&!l)break;i-=.5,e.fontSize(i)}return e.fontSize(n),e.height(r),i}(r.current,e);if(t!==e.a.fontSize)return void n.history.ignore((()=>{e.set({fontSize:t})}));const o=A();e.a.height===o||x||n.history.ignore((()=>{e.set({height:o})}))}else{const t=A();n.history.ignore((()=>{e.set({height:t})}))}})),l.default.useLayoutEffect((()=>{const t=r.current;t&&(t.width(t.width()+1e-8),t._setTextData(),(0,b.applyFilter)(t,e))}),[M]);const L=l.default.useRef(null),k=l.default.useRef(0),N=t=>{t.evt.preventDefault(),n.selectedShapes.find((t=>t===e))&&e.contentEditable&&(k.current=function(e){var t;const n=e.target,r=function(e){var t=e.getAbsoluteTransform().copy();t.invert();var n=e.getStage().getPointerPosition();return t.point(n)}(n),o=n.textArr,i=Math.floor(r.y/(n.fontSize()*n.lineHeight())),a=o.slice(0,i).reduce(((e,t)=>e+t.text.length),i),l=null!==(t=o[i])&&void 0!==t?t:o[0];let s=0;return"right"===n.align()?s=n.width()-l.width:"center"===n.align()&&(s=n.width()/2-l.width/2),a+Math.round((r.x-s)/l.width*l.text.length)}(t),e.toggleEditMode())},I=!T&&e.placeholder?.6:e.a.opacity;(0,w.useFadeIn)(r,I);const R=(0,t.getLineHeight)({fontLoaded:M,fontFamily:e.fontFamily,fontSize:e.a.fontSize,lineHeight:e.lineHeight}),H=e.selectable||"admin"===n.role,V=(0,t.useTextColor)(e),D=l.default.useMemo((()=>e.backgroundEnabled?function({lines:e,lineHeight:t,width:n,align:r="left",padding:o=0,cornerRadius:i=0}){var a;e.forEach(((e,t)=>{e.cx=n/2,"right"===r?e.cx=n-e.width/2:"left"===r&&(e.cx=e.width/2),"justify"!==r||e.lastInParagraph||(e.width=n),"justify"===r&&(e.cx=e.width/2)}));let l=`M ${null===(a=e[0])||void 0===a?void 0:a.cx} ${-o}`;e.forEach(((n,r)=>{const{cx:i}=n,a=e[r-1];a&&a.width>n.width?l+=` L ${i+n.width/2+o} ${r*t+o}`:l+=` L ${i+n.width/2+o} ${r*t-o}`;const s=e[r+1];s&&s.width>n.width?l+=` L ${i+n.width/2+o} ${(r+1)*t-o}`:l+=` L ${i+n.width/2+o} ${(r+1)*t+o}`}));for(var s=e.length-1;s>=0;s--){const n=e[s],{cx:r}=n,i=e[s+1];i&&i.width>n.width?l+=` L ${r-n.width/2-o} ${(s+1)*t-o}`:l+=` L ${r-n.width/2-o} ${(s+1)*t+o}`;const a=e[s-1];a&&a.width>n.width?l+=` L ${r-n.width/2-o} ${s*t+o}`:l+=` L ${r-n.width/2-o} ${s*t-o}`}l+=" Z";const c=(0,f.parsePath)(l);return(0,f.roundCommands)(c,i).path}({lines:JSON.parse(JSON.stringify(O)),cornerRadius:e.backgroundCornerRadius*(e.a.fontSize*R*.5),lineHeight:R*e.a.fontSize,padding:e.backgroundPadding*(e.a.fontSize*R*.5),width:e.a.width,align:e.align}):""),[e.backgroundEnabled,e.backgroundCornerRadius,e.a.fontSize,R,e.backgroundPadding,e.a.width,e.align,O]),j=(0,E.useMobile)();let F=0;return"middle"===e.verticalAlign?F=(e.a.height-O.length*R*e.a.fontSize)/2:"bottom"===e.verticalAlign&&(F=e.a.height-O.length*R*e.a.fontSize),l.default.createElement(l.default.Fragment,null,l.default.createElement(c.Path,{ref:o,x:e.a.x,y:e.a.y,rotation:e.a.rotation,hideInExport:!e.showInExport||!T,listening:!1,visible:e.backgroundEnabled,opacity:e.backgroundOpacity,data:D,fill:e.backgroundColor,offsetY:-F}),l.default.createElement(c.Text,Object.assign({ref:r,id:e.id,name:"element",hideInExport:!e.showInExport||!T,editModeEnabled:e._editModeEnabled,x:e.a.x,y:e.a.y,rotation:e.a.rotation,width:e.a.width,height:e.a.height,text:T||e.placeholder},V,{stroke:e.stroke,lineJoin:"round",strokeWidth:e.strokeWidth,fillAfterStrokeEnabled:!0,fontSize:e.a.fontSize,fontFamily:`"${e.fontFamily}", "${S}"`,fontStyle:e.fontStyle+" "+e.fontWeight,textDecoration:e.textDecoration,align:e.align,verticalAlign:e.verticalAlign,draggable:j?e.draggable&&y:e.draggable,preventDefault:!j||y,opacity:I,visible:!e._editModeEnabled,ellipsis:"ellipsis"===m.flags.textOverflow,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,lineHeight:R,letterSpacing:e.letterSpacing*e.a.fontSize,listening:H,onDragStart:()=>{n.history.startTransaction()},onDragMove:t=>{e.set({x:t.target.x(),y:t.target.y()})},onDragEnd:t=>{e.set({x:t.target.x(),y:t.target.y()}),n.history.endTransaction()},onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},onClick:N,onTap:N,onTransformStart:()=>{p(!0),n.history.startTransaction(),v.current=r.current.height()},onTransform:t=>{var n,r;const i=t.target;null===(n=o.current)||void 0===n||n.setAttrs({x:i.x(),y:i.y(),rotation:i.rotation(),scale:i.scale()});const a=(null===(r=i.getStage())||void 0===r?void 0:r.findOne("Transformer")).getActiveAnchor();if("middle-left"===a||"middle-right"===a){const t=i.scaleX(),n=i.width()*t,r=e.a.fontSize;let o=n;n<r&&(o=r,L.current&&i.position(L.current)),i.width(o),i.scaleX(1),i.scaleY(1);const a=A();if("ellipsis"!==m.flags.textOverflow){const t=Math.max(a,v.current);i.height(t),e.set({height:i.height()})}e.set({x:i.x(),y:i.y(),width:i.width(),rotation:i.rotation()}),(0,b.applyFilter)(i,e)}if("top-center"===a||"bottom-center"===a){let n="resize"===m.flags.textOverflow?A():R*e.a.fontSize;t.target.height(Math.max(n,t.target.height()*t.target.scaleY())),t.target.scaleY(1)}t.target.strokeWidth(e.strokeWidth/t.target.scaleX()),L.current=t.target.position()},onTransformEnd:t=>{var r;const i=t.target.scaleX();t.target.scaleX(1),t.target.scaleY(1),t.target.strokeWidth(e.strokeWidth),e.set({fontSize:Math.round(e.a.fontSize*i),width:Math.ceil(t.target.width()*i),x:t.target.x(),y:t.target.y(),rotation:t.target.rotation(),height:t.target.height()*i}),null===(r=o.current)||void 0===r||r.setAttrs({scaleX:1,scaleY:1}),n.history.endTransaction(),p(!1)}})),i&&l.default.createElement(c.Group,{x:e.a.x,y:e.a.y,rotation:e.a.rotation},l.default.createElement(z,{textNodeRef:r,element:e,selectAll:a,cursorPosition:k.current,onBlur:()=>{e.toggleEditMode(!1)}})),!h&&(s||y)&&l.default.createElement(_.Highlighter,{element:e}))}))},88474:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFadeIn=t.isAnimationUsed=t.toggleFadeInAnimation=void 0;const o=r(n(67294)),i=r(n(20185));let a=!1;t.toggleFadeInAnimation=(e=!a)=>{a=e},t.isAnimationUsed=()=>a,t.useFadeIn=function(e,t){const n=o.default.useRef();o.default.useLayoutEffect((()=>{n.current&&n.current.destroy()}),[t]),o.default.useLayoutEffect((()=>{if(!a)return;const t=e.current.opacity();return t?(e.current.opacity(0),n.current=new i.default.Tween({node:e.current,opacity:t,onFinish:()=>{var e;null===(e=n.current)||void 0===e||e.destroy()}}),n.current.play(),()=>{var e;null===(e=n.current)||void 0===e||e.destroy()}):void 0}),[])}},88018:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useAnchorSnap=t.useSnap=void 0;const o=r(n(67294)),i=r(n(20185)),a=n(240);function l(e,t){var n=[],r=[];e.vertical.forEach((e=>{t.vertical.forEach((t=>{var r=Math.abs(e-t.guide);r<5&&n.push({lineGuide:e,diff:r,snap:t.snap,offset:t.offset})}))})),e.horizontal.forEach((e=>{t.horizontal.forEach((t=>{var n=Math.abs(e-t.guide);n<5&&r.push({lineGuide:e,diff:n,snap:t.snap,offset:t.offset})}))}));var o=[];const i=n.sort(((e,t)=>e.diff-t.diff)),a=r.sort(((e,t)=>e.diff-t.diff));var l=i[0],s=a[0];return l&&i.filter((e=>Math.abs(e.diff-l.diff)<.1)).forEach((e=>{o.push(Object.assign({orientation:"V"},e))})),s&&a.filter((e=>Math.abs(e.diff-s.diff)<.1)).forEach((e=>{o.push(Object.assign({orientation:"H"},e))})),o}t.useSnap=function(e){const t=e=>e.hasName("element")||e.hasName("page-background")||e.hasName("elements-area");function n(n){var r;const o=null===(r=e.current)||void 0===r?void 0:r.getStage();var i=[],a=[];return o.find(t).forEach((e=>{if(!(n.indexOf(e)>=0)){var t=e.getClientRect({skipShadow:!0,skipStroke:!0});i.push(t.x,t.x+t.width,t.x+t.width/2),a.push(t.y,t.y+t.height,t.y+t.height/2)}})),{vertical:i,horizontal:a}}function r(t){var n;const r=null===(n=e.current)||void 0===n?void 0:n.getLayer(),o=null==r?void 0:r.children.find((e=>"line-guides"===e.name()));t.forEach((e=>{if("H"===e.orientation){var t=new i.default.Line({points:[-6e3,e.lineGuide,6e3,e.lineGuide],stroke:"rgb(0, 161, 255)",strokeWidth:1,name:"guid-line",dash:[4,6]});null==o||o.add(t),r.batchDraw()}else"V"===e.orientation&&(t=new i.default.Line({points:[e.lineGuide,-6e3,e.lineGuide,6e3],stroke:"rgb(0, 161, 255)",strokeWidth:1,name:"guid-line",dash:[4,6]}),null==o||o.add(t))}))}const s=e=>{e.target.getLayer().children.find((e=>"line-guides"===e.name())).destroyChildren();var t=l(n(e.target.nodes()),function(e){const t=e.__getNodeRect(),n=(0,a.getClientRect)(Object.assign(Object.assign({},t),{rotation:i.default.Util.radToDeg(t.rotation)})),r=e.getAbsolutePosition();return{vertical:[{guide:n.x,offset:r.x-n.x,snap:"start"},{guide:n.x+n.width/2,offset:r.x-n.x-n.width/2,snap:"center"},{guide:n.x+n.width,offset:r.x-n.x-n.width,snap:"end"}],horizontal:[{guide:n.y,offset:r.y-n.y,snap:"start"},{guide:n.y+n.height/2,offset:r.y-n.y-n.height/2,snap:"center"},{guide:n.y+n.height,offset:r.y-n.y-n.height,snap:"end"}]}}(e.target));if(!t.length)return;r(t);const o=e.target.getAbsolutePosition(),s=Object.assign({},o);t.forEach((e=>{switch(e.snap){case"start":case"center":case"end":switch(e.orientation){case"V":s.x=e.lineGuide+e.offset;break;case"H":s.y=e.lineGuide+e.offset}}}));const c=s.x-o.x,u=s.y-o.y;e.evt.ctrlKey||e.evt.metaKey||e.target.nodes().forEach((e=>{const t=e.getAbsolutePosition();e.setAbsolutePosition({x:t.x+c,y:t.y+u})}))},c=(t,o,i)=>{const a=e.current,s=a.getLayer();if(s.children.find((e=>"line-guides"===e.name())).destroyChildren(),"rotater"===a.getActiveAnchor())return o;if(Math.sqrt(Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2))>50)return o;if(!s)return o;var c=l(n(a.nodes()),{vertical:[{guide:o.x,offset:0,snap:"start"}],horizontal:[{guide:o.y,offset:0,snap:"start"}]});if(!c.length)return o;if(r(c),i.ctrlKey||i.metaKey)return o;let u=o.x,d=o.x;c.forEach((e=>{switch(e.orientation){case"V":u=e.lineGuide;break;case"H":d=e.lineGuide}}));const h=Math.abs(o.x-u)<10,f=Math.abs(o.y-d)<10;return h&&!f?{x:u,y:t.y}:f&&!h?{x:t.x,y:d}:h&&f?{x:u,y:d}:o},u=e=>{if(!e.target)return;const t=e.target.getLayer();t.children.find((e=>"line-guides"===e.name())).destroyChildren(),t.batchDraw()};o.default.useEffect((()=>{e.current&&(e.current.anchorDragBoundFunc(c),e.current.on("dragstart",(()=>{setTimeout((()=>{const e=[...i.default.DD._dragElements.entries()];e.reverse(),i.default.DD._dragElements.clear(),e.forEach((([e,t])=>{i.default.DD._dragElements.set(e,t)}))}))})),e.current.on("dragmove",s),e.current.on("dragend",u),e.current.on("transformend",u),e.current.on("transform",(t=>{var n,r;t.evt.ctrlKey||t.evt.metaKey?null===(n=e.current)||void 0===n||n.rotationSnapTolerance(0):null===(r=e.current)||void 0===r||r.rotationSnapTolerance(5)})))}),[])},t.useAnchorSnap=function(e,t,n){const r=e=>e.hasName("element")||e.hasName("line-anchor")||e.hasName("page-background")||e.hasName("elements-area"),a=n=>{n.target.getLayer().children.find((e=>"line-guides"===e.name())).destroyChildren();var o=l(function(t){var n;const o=null===(n=e.current)||void 0===n?void 0:n.getStage();var i=[],a=[];return o.find(r).forEach((e=>{if(!(t.indexOf(e)>=0)){var n=e.getClientRect({skipShadow:!0,skipStroke:!0});e.hasName("line-anchor")&&(n={x:e.absolutePosition().x,y:e.absolutePosition().y,width:0,height:0}),i.push(n.x,n.x+n.width,n.x+n.width/2),a.push(n.y,n.y+n.height,n.y+n.height/2)}})),{vertical:i,horizontal:a}}([n.target,...t.map((e=>e.current))]),function(e){return{vertical:[{guide:e.absolutePosition().x,offset:0,snap:"center"}],horizontal:[{guide:e.absolutePosition().y,offset:0,snap:"center"}]}}(n.target));if(!o.length)return;!function(t){var n;const r=null===(n=e.current)||void 0===n?void 0:n.getLayer(),o=null==r?void 0:r.children.find((e=>"line-guides"===e.name()));t.forEach((e=>{if("H"===e.orientation){var t=new i.default.Line({points:[-6e3,e.lineGuide,6e3,e.lineGuide],stroke:"rgb(0, 161, 255)",strokeWidth:1,name:"guid-line",dash:[4,6]});null==o||o.add(t),r.batchDraw()}else"V"===e.orientation&&(t=new i.default.Line({points:[e.lineGuide,-6e3,e.lineGuide,6e3],stroke:"rgb(0, 161, 255)",strokeWidth:1,name:"guid-line",dash:[4,6]}),null==o||o.add(t))}))}(o);const a=n.target.getAbsolutePosition(),s=Object.assign({},a);o.forEach((e=>{switch(e.snap){case"start":case"center":case"end":switch(e.orientation){case"V":s.x=e.lineGuide+e.offset;break;case"H":s.y=e.lineGuide+e.offset}}}));const c=s.x-a.x,u=s.y-a.y;if(!n.evt.ctrlKey&&!n.evt.metaKey){const e=n.target.getAbsolutePosition();n.target.absolutePosition({x:e.x+c,y:e.y+u})}},s=e=>{if(!e.target)return;const t=e.target.getLayer();t.children.find((e=>"line-guides"===e.name())).destroyChildren(),t.batchDraw()};o.default.useEffect((()=>{e.current&&(e.current.on("dragmove",a),e.current.on("dragend",s))}),n)}},13485:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VideoElement=t.useImageLoader=t.setImageLoaderHook=void 0;const l=a(n(67294)),s=n(50242),c=n(21833),u=n(34503),d=a(n(84420)),h=a(n(20185)),f=i(n(34824)),p=n(16755),v=n(9365),m=n(31284),g=n(81922),y=n(67890),b=n(88474),w=n(84077);function _(){return document.createElement("canvas")}const E=new window.Image;E.src=f.svgToURL('\n <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.6" d="M4 5.49683V18.5032C4 20.05 5.68077 21.0113 7.01404 20.227L18.0694 13.7239C19.384 12.9506 19.384 11.0494 18.0694 10.2761L7.01404 3.77296C5.68077 2.98869 4 3.95 4 5.49683Z" fill="white"/>\n <path d="M4 5.49683V18.5032C4 20.05 5.68077 21.0113 7.01404 20.227L18.0694 13.7239C19.384 12.9506 19.384 11.0494 18.0694 10.2761L7.01404 3.77296C5.68077 2.98869 4 3.95 4 5.49683Z" stroke="#323232" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>\n');const x=new window.Image;x.src=f.svgToURL('\n <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.6" d="M14 19L14 5C14 3.89543 14.8954 3 16 3L17 3C18.1046 3 19 3.89543 19 5L19 19C19 20.1046 18.1046 21 17 21L16 21C14.8954 21 14 20.1046 14 19Z" fill="white"/>\n <path opacity="0.6" d="M10 19L10 5C10 3.89543 9.10457 3 8 3L7 3C5.89543 3 5 3.89543 5 5L5 19C5 20.1046 5.89543 21 7 21L8 21C9.10457 21 10 20.1046 10 19Z" fill="white"/>\n <path d="M14 19L14 5C14 3.89543 14.8954 3 16 3L17 3C18.1046 3 19 3.89543 19 5L19 19C19 20.1046 18.1046 21 17 21L16 21C14.8954 21 14 20.1046 14 19Z" stroke="#323232" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n <path d="M10 19L10 5C10 3.89543 9.10457 3 8 3L7 3C5.89543 3 5 3.89543 5 5L5 19C5 20.1046 5.89543 21 7 21L8 21C9.10457 21 10 20.1046 10 19Z" stroke="#323232" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>\n');const S=_(),O=(0,s.observer)((({element:e})=>{const t=Math.min(30,e.width/4,e.height/4),n=l.default.useRef(null);return l.default.useEffect((()=>{const e=n.current;if(!e)return;const t=new h.default.Animation((t=>{e.rotate(((null==t?void 0:t.timeDiff)||0)/2)}),e.getLayer());return t.start(),()=>{t.stop()}})),l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,listening:!1,opacity:e.a.opacity,hideInExport:!e.showInExport},l.default.createElement(u.Rect,{width:e.width,height:e.height,fill:"rgba(124, 173, 212, 0.8)"}),l.default.createElement(u.Arc,{ref:n,x:e.width/2,y:e.height/2,fill:"white",outerRadius:Math.abs(t),innerRadius:Math.max(1,t-5),angle:270}))})),C=(0,s.observer)((({element:e})=>{const t=Math.max(10,Math.min(30,e.width/25));return l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,listening:!1,opacity:e.a.opacity,hideInExport:!e.showInExport},l.default.createElement(u.Rect,{width:e.width,height:e.height,fill:"rgba(223, 102, 102, 0.8)"}),l.default.createElement(u.Text,{text:"Can not load the video...",fontSize:t,width:e.width,height:e.height,align:"center",fill:"white",verticalAlign:"middle",padding:5}))}));let M=d.default;t.setImageLoaderHook=e=>{M=e},t.useImageLoader=(e,t)=>{const n=l.default.useRef(),r=()=>{var e;null===(e=n.current)||void 0===e||e.call(n),n.current=void 0};l.default.useEffect((()=>r),[]),l.default.useLayoutEffect((()=>{"loading"!==e||n.current||(n.current=(0,m.incrementLoader)(`video ${t}`)),"loading"!==e&&r(),"failed"===e&&(0,m.triggerLoadError)(`video ${t}`)}),[e])},t.VideoElement=(0,s.observer)((({element:e,store:n})=>{var r;const[o,i]=l.default.useState(!1),a=l.default.useRef(null),s=l.default.useRef(null),[d,z]=l.default.useState(!1),P=n.selectedElements.indexOf(e)>=0,[T,A]=l.default.useState(!1),[L,k]=function(e,t,n){const r=l.default.useRef("loading"),o=l.default.useRef(),[i,a]=l.default.useState(0),s=l.default.useRef(),c=l.default.useRef(),u=l.default.useRef();return s.current===e&&c.current===t&&u.current===n||(r.current="loading",o.current=void 0,s.current=e,c.current=t,u.current=n),l.default.useLayoutEffect((function(){if(e){var n=document.createElement("video");return n.addEventListener("canplay",i),n.addEventListener("error",l),t&&(n.crossOrigin=t),n.src=e,function(){n.removeEventListener("canplay",i),n.removeEventListener("error",l)}}function i(){r.current="loaded",o.current=n,a(Math.random())}function l(e){r.current="failed",o.current=void 0,a(Math.random())}}),[e,t,n]),[o.current,r.current]}(e.src,"anonymous");(0,t.useImageLoader)(k,e.id+"-video"),L&&(L.muted=!0,L.width=L.videoWidth,L.height=L.videoHeight);const N=L||S;l.default.useEffect((()=>{L&&n.history.ignore((()=>{e.set({duration:1e3*L.duration})}))}),[L]),l.default.useEffect((()=>{var e;if(!L)return;const t=n.isPlaying||T;if(!t)return void L.pause();t&&L.play();const r=new h.default.Animation((()=>{}),null===(e=a.current)||void 0===e?void 0:e.getLayer());r.start();const o=()=>{A(!1),L.currentTime=0};return L.addEventListener("ended",o),()=>{r.stop(),L.removeEventListener("ended",o)}}),[L,T,n.isPlaying]),l.default.useEffect((()=>(0,c.autorun)((()=>{var t,r;if(L){const o=n.currentTime%e.duration;L.currentTime=o/1e3,null===(r=null===(t=a.current)||void 0===t?void 0:t.getLayer())||void 0===r||r.batchDraw()}}))),[n,L]),l.default.useEffect((()=>{if(!L)return;let t=null;L.addEventListener("timeupdate",(()=>{t=(0,m.incrementLoader)(`video ${e.id}`)})),L.addEventListener("seeked",(()=>{t&&(t(),t=null)}))}),[L]);let{cropX:I,cropY:R,cropWidth:H,cropHeight:V}=e;"loaded"!==k&&(I=R=0,H=V=1);const D=N.width*H,j=N.height*V,F=e.width/e.height;let B,U;const G=D/j,q="svg"===e.type;q?(B=D,U=j):F>=G?(B=D,U=D/F):(B=j*F,U=j);const W={x:N.width*I,y:N.height*R,width:B,height:U},K=null!==(r=e.cornerRadius)&&void 0!==r?r:0;let $=((e,n,r,o)=>{const i=(e=>{const[t,n]=l.default.useState(e);return l.default.useEffect((()=>{(async()=>{const r=await async function(e){if(!(e.indexOf("data:image/svg+xml")>=0||e.indexOf(".svg")>=0))return e;const t=await f.urlToString(e),n=f.fixSize(t);return f.svgToURL(n)}(e);r!==t&&n(r)})()}),[e]),t})(e.clipSrc||""),[a,s]=M(i,"anonymous"),c=e.clipSrc?s:"loaded";(0,t.useImageLoader)(c,e.id+"-clip");const u=l.default.useMemo((()=>{if(n&&a)return _()}),[n,a]);return l.default.useLayoutEffect((()=>{var t;if(!a)return;if(!n||!n.width||!n.height)return;if(!a||!a.width||!a.height)return;if(!u)return;const o=_(),i=Math.max(e.width/a.width*r,e.height/a.height*r);o.width=a.width*i,o.height=a.height*i,null===(t=o.getContext("2d"))||void 0===t||t.drawImage(a,0,0,o.width,o.height),u.width=Math.max(n.width,1),u.height=Math.max(n.height,1);const l=u.getContext("2d");l&&(l.save(),l.drawImage(o,0,0,n.width,n.height),h.default.Util.releaseCanvas(o),l.globalCompositeOperation="source-in",l.drawImage(n,0,0,u.width,u.height),l.restore())}),[u,n,a,e.width,e.height,r,...o]),e.clipSrc&&a?u:n})(e,((e,t,n,r,o=0,i=!1)=>{const a=Math.floor(Math.max(e.width*r,1)),s=Math.floor(Math.max(e.height*r,1)),c=Math.min(o*r,a/2,s/2),u=Math.max(e.width/n.width,e.height/n.height)*r,d=e.page._exporting&&g.flags.imageDownScalingEnabled&&u<1&&!i,f=0===n.x&&0===n.y&&n.width===(null==t?void 0:t.width)&&n.height===(null==t?void 0:t.height),p=l.default.useMemo((()=>{if(t&&t.width&&t.height)return f&&0===c&&!d?void 0:_()}),[t,c,d,f]);return l.default.useLayoutEffect((()=>{if(!p||!t)return;p.width=a,p.height=s;const e=p.getContext("2d");if(!e)return;c&&(e.beginPath(),e.moveTo(c,0),e.lineTo(a-c,0),e.arc(a-c,c,c,3*Math.PI/2,0,!1),e.lineTo(a,s-c),e.arc(a-c,s-c,c,0,Math.PI/2,!1),e.lineTo(c,s),e.arc(c,s-c,c,Math.PI/2,Math.PI,!1),e.lineTo(0,c),e.arc(c,c,c,Math.PI,3*Math.PI/2,!1),e.clip());const r=d?function(e,t){var n,r;const o=_();o.width=e.width,o.height=e.height,null===(n=o.getContext("2d"))||void 0===n||n.drawImage(e,0,0,o.width,o.height);const i=function(e,t,n,r,o,i,a){for(var l=new ImageData(t,n),s=new Int32Array(e.data.buffer),c=e.width,u=new Int32Array(l.data.buffer),d=l.width,h=t/i,f=n/a,p=Math.round(1/h),v=Math.round(1/f),m=p*v,g=0;g<l.height;g++)for(var y=0;y<d;y++){for(var b=0+Math.round(y/h)+(0+Math.round(g/f))*c,w=0,_=0,E=0,x=0,S=0;S<v;S++)for(var O=0;O<p;O++){var C=s[b+O+S*c];w+=C<<24>>>24,_+=C<<16>>>24,E+=C<<8>>>24,x+=C>>>24}w=Math.round(w/m),_=Math.round(_/m),E=Math.round(E/m),x=Math.round(x/m),u[y+g*d]=x<<24|E<<16|_<<8|w}return l}(o.getContext("2d").getImageData(0,0,o.width,o.height),Math.floor(o.width*t),Math.floor(o.height*t),0,0,o.width,o.height);return o.width=Math.floor(o.width*t),o.height=Math.floor(o.height*t),null===(r=o.getContext("2d"))||void 0===r||r.putImageData(i,0,0),o}(t,u):t,o=d?{x:Math.floor(n.x*u),y:Math.floor(n.y*u),width:Math.floor(n.width*u),height:Math.floor(n.height*u)}:n;e.drawImage(r,o.x,o.y,o.width,o.height,0,0,p.width,p.height)}),[p,e.width,e.height,n.x,n.y,n.width,n.height,o,r,i,e.page._exporting,d]),l.default.useEffect((()=>()=>{p&&"CANVAS"===p.nodeName&&h.default.Util.releaseCanvas(p)}),[p]),p||t})(e,N,W,n._elementsPixelRatio,K,o||e._cropModeEnabled||"svg"===e.type),n._elementsPixelRatio,[W,K,n._elementsPixelRatio]);const Y=Math.max(e.width/B,e.height/U);l.default.useEffect((()=>{var t;if(!e._cropModeEnabled)return;const n=null===(t=a.current)||void 0===t?void 0:t.getStage();function r(t){e._cropModeEnabled&&t.target!==s.current&&e.toggleCropMode(!1)}function o(t){e._cropModeEnabled&&"CANVAS"!==t.target.nodeName&&e.toggleCropMode(!1)}return document.body.addEventListener("click",o),null==n||n.on("click",r),null==n||n.on("tap",r),()=>{document.body.removeEventListener("click",o),document.body.removeEventListener("touchstart",o),null==n||n.off("click",r),null==n||n.off("click",r)}}),[e._cropModeEnabled]),l.default.useLayoutEffect((()=>{if(!o&&!e._cropModeEnabled)return(0,y.applyFilter)(a.current,e),(0,c.autorun)((()=>{(0,y.applyFilter)(a.current,e)}),{delay:100})}),[N,o,H,V,e._cropModeEnabled]),l.default.useLayoutEffect((()=>{var t;o||e._cropModeEnabled?null===(t=a.current)||void 0===t||t.clearCache():(0,y.applyFilter)(a.current,e)}),[o,e.width,e.height,e._cropModeEnabled]),l.default.useEffect((()=>{(0,y.applyFilter)(a.current,e)}),[e.shadowEnabled,e.shadowBlur,e.cornerRadius,e.shadowColor,e.shadowOffsetX,e.shadowOffsetY,e.shadowOpacity]);const X=l.default.useRef(null),Z=l.default.useRef(null),Q=l.default.useRef(null);l.default.useLayoutEffect((()=>{e._cropModeEnabled&&(Z.current.nodes([X.current]),Q.current.nodes([s.current]))}),[e._cropModeEnabled]);const J=t=>{Math.round(t.target.x())>0&&(t.target.x(0),t.target.scaleX(1)),Math.round(t.target.y())>0&&(t.target.y(0),t.target.scaleY(1));const n=t.target.width()*t.target.scaleX(),r=t.target.height()*t.target.scaleY(),o=Math.min(1,B/n),i=Math.min(1,U/r),a=1-o,l=Math.min(a,Math.max(0,Math.round(-t.target.x())/n)),s=1-i,c=Math.min(s,Math.max(0,Math.round(-t.target.y())/r));t.target.setAttrs({x:-l*N.width,y:-c*N.height,scaleX:1,scaleY:1}),e.set({cropX:l,cropY:c,cropWidth:o,cropHeight:i})},ee=()=>{"svg"!==e.type&&e.contentEditable&&setTimeout((()=>{e.toggleCropMode(!0)}))},te="loading"===k,ne="failed"===k,re=!te&&!ne,oe=l.default.useRef({cropX:0,cropY:0,cropWidth:0,cropHeight:0}),ie=re?e.a.opacity:0;(0,b.useFadeIn)(a,ie);const ae=e.selectable||"admin"===n.role,le=(0,w.useMobile)();return l.default.createElement(l.default.Fragment,null,te&&l.default.createElement(O,{element:e}),ne&&l.default.createElement(C,{element:e}),l.default.createElement(u.Image,{ref:a,name:"element",id:e.id,image:N,x:e.x,y:e.y,width:e.width||1,height:e.height||1,rotation:e.rotation,opacity:ie,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,customCrop:W,listening:ae,cropX:W.x,cropY:W.y,cropWidth:W.width,cropHeight:W.height,draggable:le?e.draggable&&P:e.draggable,preventDefault:!le||P,hideInExport:!e.showInExport,onMouseEnter:()=>{z(!0)},onMouseLeave:()=>{z(!1)},onDragStart:()=>{n.history.startTransaction()},onDragMove:t=>{e.set({x:t.target.x(),y:t.target.y()})},onDragEnd:t=>{e.set({x:t.target.x(),y:t.target.y()}),n.history.endTransaction()},onDblClick:ee,onDblTap:ee,onTransformStart:()=>{i(!0),n.history.startTransaction(),oe.current={cropX:e.cropX,cropY:e.cropY,cropWidth:e.cropWidth,cropHeight:e.cropHeight}},onTransform:t=>{var n;const r=t.currentTarget,o=Math.abs(r.scaleX()-1)<1e-7?1:r.scaleX(),i=Math.abs(r.scaleY()-1)<1e-7?1:r.scaleY();r.scaleX(1),r.scaleY(1);const a=null===(n=t.target.getStage())||void 0===n?void 0:n.findOne("Transformer"),l=1-B/N.width,s=Math.min(l,Math.max(0,e.cropX)),c=1-U/N.height,u=Math.min(c,Math.max(0,e.cropY)),d=a.getActiveAnchor(),h=!(d.indexOf("middle")>=0||d.indexOf("center")>=0),f=!h&&o<1&&oe.current.cropHeight>U/N.height;let p=h?e.cropWidth:e.cropWidth*o;f&&(p=e.cropWidth);const v=!h&&i<1&&oe.current.cropWidth>B/N.width;let m=h?e.cropHeight:e.cropHeight*i;v&&(m=e.cropHeight),q&&(p=e.cropWidth,m=e.cropHeight),e.set({cropX:s,cropY:u,x:r.x(),y:r.y(),width:r.width()*o,height:r.height()*i,rotation:t.target.rotation(),cropWidth:Math.min(p,1-s),cropHeight:Math.min(m,1-u)})},onTransformEnd:t=>{const r=t.currentTarget;e.set({width:r.width(),height:r.height(),x:r.x(),y:r.y(),rotation:t.target.rotation(),cropWidth:B/N.width,cropHeight:U/N.height}),i(!1),n.history.endTransaction()}}),l.default.createElement(u.Rect,{x:e.x,y:e.y,width:Math.max(e.width-e.borderSize,0),height:Math.max(e.height-e.borderSize,0),opacity:ie,offsetX:-e.borderSize/2,offsetY:-e.borderSize/2,stroke:e.borderColor,strokeWidth:e.borderSize,listening:!1,visible:!!e.borderSize,rotation:e.rotation,cornerRadius:Math.max(0,K-e.borderSize),hideInExport:!e.showInExport}),!T&&l.default.createElement(u.Image,{image:E,x:e.x+e.width/2-20,y:e.y+e.height/2-20,width:40,height:40,hideInExport:!0,onClick:()=>{A(!0)}}),T&&l.default.createElement(u.Image,{image:x,x:e.x+e.width/2-20,y:e.y+e.height/2-20,width:40,height:40,hideInExport:!0,onClick:()=>{A(!1)}}),e._cropModeEnabled&&l.default.createElement(p.Portal,{selector:".page-abs-container",enabled:!0},l.default.createElement(u.Rect,{x:-window.innerWidth/n.scale,y:-window.innerWidth/n.scale,width:window.innerWidth/n.scale*3,height:window.innerWidth/n.scale*3,fill:"rgba(0,0,0,0.3)"}),l.default.createElement(u.Image,{listening:!1,image:$,x:e.x,y:e.y,width:e.width,height:e.height,rotation:e.rotation,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur}),l.default.createElement(u.Group,{x:e.x,y:e.y,rotation:e.rotation,scaleX:Y,scaleY:Y},l.default.createElement(u.Image,{image:N,ref:s,opacity:.4,draggable:!0,x:-e.cropX*N.width,y:-e.cropY*N.height,onDragMove:J,onTransform:J}),l.default.createElement(u.Transformer,{ref:Q,anchorSize:20,enabledAnchors:["top-left","top-right","bottom-left","bottom-right"],boundBoxFunc:(e,t)=>t.width<5||t.height<5?e:t,rotateEnabled:!1,borderEnabled:!1,anchorCornerRadius:10,anchorStrokeWidth:2,borderStrokeWidth:2}),l.default.createElement(u.Rect,{width:B,height:U,ref:X,listening:!1,onTransform:t=>{t.target.x()<-e.cropX*N.width-1e-9&&(t.target.x(-e.cropX*N.width),t.target.scaleX(1)),t.target.y()<-e.cropY*N.height-1e-9&&(t.target.y(-e.cropY*N.height),t.target.scaleY(1));const n=Math.min(1,Math.max(0,e.cropX+t.target.x()/N.width)),r=Math.min(1,Math.max(0,t.target.y()/N.height+e.cropY)),o=t.target.width()*t.target.scaleX(),i=t.target.height()*t.target.scaleY(),a=Math.min(1-n,o/N.width),l=Math.min(1-r,i/N.height),s=t.target.getAbsolutePosition(t.target.getParent().getParent());t.target.scale({x:1,y:1}),t.target.position({x:0,y:0}),e.set({x:s.x,y:s.y,cropX:n,cropY:r,cropWidth:a,cropHeight:l,width:Math.min(o*Y,N.width*(1-n)*Y),height:Math.min(i*Y,N.height*(1-r)*Y)})}}),l.default.createElement(u.Transformer,{ref:Z,enabledAnchors:["top-left","top-right","bottom-left","bottom-right"],boundBoxFunc:(e,t)=>t.width<5||t.height<5?e:t,keepRatio:!1,rotateEnabled:!1,anchorFill:"rgb(240, 240, 240)",anchorStrokeWidth:2,borderStrokeWidth:2}))),(d||P)&&l.default.createElement(v.Highlighter,{element:e}))}))},62982:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Workspace=void 0;const o=r(n(67294)),i=n(50242),a=r(n(61450)),l=n(90429),s=n(1083),c=n(13507),u=({store:e})=>o.default.createElement("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center"}},o.default.createElement("p",null,(0,c.t)("workspace.noPages")),o.default.createElement("button",{onClick:()=>{e.addPage()}},(0,c.t)("workspace.addPage")));t.Workspace=(0,i.observer)((({store:e,pageControlsEnabled:t,backgroundColor:n,pageBorderColor:r,activePageBorderColor:i,bleedColor:c,components:d,onKeyDown:h})=>{const[f,p]=o.default.useState({width:100,height:100}),v=o.default.useRef(f),m=o.default.useRef(null),g=o.default.useRef(null),y=e.bleedVisible?Math.max(0,...e.pages.map((e=>e.bleed))):0,b=Math.max(...e.pages.map((e=>e.computedWidth))),w=Math.max(...e.pages.map((e=>e.computedHeight))),_=b+2*y,E=w+2*y,x=()=>{if(null===m.current)return;const t=m.current.getBoundingClientRect();0!==t.width&&0!==t.height||(console.warn("Polotno warning: <Workspace /> component can not automatically detect its size.\nWidth or height of parent elements is equal 0.\nPlease make sure it has non-zero size. You may need to adjust it with your styles. <Workspace /> will automatically fit into parent container.\nFor simpler debugging here is the log of the parent element:"),console.log(m.current));const n=g.current.clientWidth||t.width,r={width:n,height:t.height};(v.current.width!==r.width||v.current.height!==r.height)&&(p(r),v.current=r);const o=(n-40)/_,i=(t.height-110)/E,a=Math.max(Math.min(o,i),.01);e.scaleToFit!==a&&(e.setScale(a),e._setScaleToFit(a))};o.default.useEffect(x,[_,E]),o.default.useEffect((()=>{const e=m.current;if(window.ResizeObserver){const t=new ResizeObserver(x);return t.observe(e),()=>t.unobserve(e)}{const e=setInterval(x,100);return()=>clearInterval(e)}}),[_,E]);const S=Math.max(20,(f.width-_*e.scale)/2),O=E*e.scale*e.pages.length,C=Math.max(55,(f.height-O)/e.pages.length/2);o.default.useEffect((()=>{const t=t=>{(h||s.handleHotkey)(t,e)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[]),o.default.useEffect((()=>{var t;const n=t=>{if(t.ctrlKey||t.metaKey){t.preventDefault();const i=Math.max(2,e.scaleToFit),a=Math.min(.5,e.scaleToFit),l=(n=t.deltaY<0?1.05*e.scale:e.scale/1.05,r=a,o=i,Math.max(r,Math.min(o,n)));e.setScale(l)}else var n,r,o};return null===(t=g.current)||void 0===t||t.addEventListener("wheel",n),()=>{var e;return null===(e=g.current)||void 0===e?void 0:e.removeEventListener("wheel",n)}}),[]);const M=o.default.useRef(!1);((e,t,n,r,i,a)=>{const l=o.default.useRef({width:t,height:n}),s=o.default.useRef({top:0,left:0}),c=o.default.useRef(!1),u=o.default.useRef(i.pages.length);c.current=u.current!==i.pages.length,u.current=i.pages.length,o.default.useEffect((()=>{const t=e.current,n=e=>{s.current={top:t.scrollTop,left:t.scrollLeft}};return t.addEventListener("scroll",n),()=>{t.removeEventListener("scroll",n)}}),[]),o.default.useLayoutEffect((()=>{if(!e.current)return;if(c.current)return;const r=e.current,o=(s.current.left+r.offsetWidth/2)/l.current.width,i=(s.current.top+r.offsetHeight/2)/l.current.height;a.current=!0,r.scrollLeft=o*t-r.offsetWidth/2,r.scrollTop=i*n-r.offsetHeight/2,l.current={width:t,height:n}}),[r,t,n])})(g,_*e.scale+2*S,E*e.scale+2*C,e.scale,e,M);const{handleScroll:z}=((e,t,n,r,i)=>{const a=o.default.useRef(!1),l=o.default.useRef(null);o.default.useEffect((()=>{const t=e.current,n=()=>{i.current};return t.addEventListener("scroll",n),()=>{t.removeEventListener("scroll",n)}}),[]);const s=n.pages.indexOf(n.activePage);return o.default.useLayoutEffect((()=>{if(!n.activePage)return;if(!e.current)return;if(a.current)return;const r=e.current,o=n.pages.indexOf(n.activePage)*t;Math.abs(o-r.scrollTop)>.5*t&&(i.current=!0,r.scrollTop=o)}),[n.activePage,s]),{handleScroll:e=>{if(i.current)return void(i.current=!1);a.current=!0,clearTimeout(l.current),l.current=setTimeout((()=>{a.current=!1}),300);const t=e.currentTarget.childNodes[0].offsetHeight,o=e.currentTarget.scrollTop,s=Math.floor((o+r.height/3)/t),c=n.pages[s];c&&c.select()}}})(g,E*e.scale+2*C,e,f,M),P=f.width>=_*e.scale+2*S,T=n||"rgba(232, 232, 232, 0.9)",A=e.pages.indexOf(e.activePage),L=(null==d?void 0:d.NoPages)||u;return o.default.createElement("div",{ref:m,style:{width:"100%",height:"100%",position:"relative",outline:"none",flex:1,backgroundColor:T},tabIndex:0,className:"polotno-workspace-container"},o.default.createElement("div",{ref:g,onScroll:z,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"auto",overflowX:P?"hidden":"auto"},className:"polotno-workspace-inner"},e.pages.map(((n,l)=>Math.abs(l-A)<=1||n._exporting?o.default.createElement(a.default,{key:n.id,page:n,xPadding:S,yPadding:C,width:_*e.scale+2*S,height:E*e.scale+2*C,store:e,pageControlsEnabled:t,backColor:T,pageBorderColor:r||"lightgrey",activePageBorderColor:i||"rgb(0, 161, 255)",bleedColor:c||"rgba(255, 0, 0, 0.1)",components:d}):o.default.createElement("div",{key:n.id,style:{width:_*e.scale+2*S+"px",height:E*e.scale+2*C+"px",backgroundColor:T,paddingLeft:S+"px",paddingRight:S+"px",paddingTop:C+"px",paddingBottom:C+"px"}},o.default.createElement("div",{style:{width:" 100%",height:"100%",backgroundColor:"white"}})))),e.rulesVisible&&o.default.createElement(l.TopRules,{store:e,xPadding:S,yPadding:C,width:_*e.scale+2*S,height:E*e.scale+2*C}),0===e.pages.length&&o.default.createElement(L,{store:e})))})),t.default=t.Workspace},4417:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UndoManager=void 0;const r=n(67090),o=n(2920);Object.assign(r.types),t.UndoManager=r.types.model("UndoManager",{history:r.types.array(r.types.frozen()),undoIdx:-1,targetPath:""}).views((e=>({get canUndo(){return e.undoIdx>0},get canRedo(){return e.undoIdx<e.history.length-1}}))).actions((e=>{let t,n,i=!1,a=null,l=0,s=!1;function c(){const e=(0,r.getSnapshot)(t);return{pages:e.pages,width:e.width,height:e.height}}function u(e){(0,r.applySnapshot)(t.pages,e.pages),t.setSize(e.width,e.height)}return{startTransaction(){s=!0},endTransaction(e){s=!1,e||this.requestAddState(c())},async ignore(t,n=!1){l&&e.addUndoState();let r=s;r||e.startTransaction();try{await t()}catch(e){setTimeout((()=>{throw e}))}r||e.endTransaction(!0),n||r||e.replaceState(),clearTimeout(l),l=0},async transaction(t){await e.ignore(t,!0),this.addUndoState()},requestAddState(e){a=e,l||s||(i?i=!1:l=setTimeout((()=>{l=0,clearTimeout(l),s||this.addUndoState()}),100))},addUndoState(){if(i)return void(i=!1);const t=e.history[e.undoIdx];!(0,o.deepEqual)(a,t)&&(clearTimeout(l),l=0,e.history.splice(e.undoIdx+1),e.history.push(a),e.undoIdx=e.history.length-1)},afterCreate(){if(t=(0,r.resolvePath)(e,".."),!t)throw new Error("Failed to find target store for UndoManager. Please provide `targetPath` property, or a `targetStore` in the environment");n=(0,r.onSnapshot)(t,(()=>{this.requestAddState(c())})),0===e.history.length&&this.requestAddState(c())},clear(){clearTimeout(l),l=0,e.history.splice(0,e.history.length),e.undoIdx=-1,e.addUndoState(c())},beforeDestroy(){n()},undo(){l&&this.addUndoState(),e.canUndo?(e.undoIdx--,i=!0,u(e.history[e.undoIdx])):console.warn("No undo history. Please check `store.history.canUndo` before calling undo action.")},redo(){l&&this.addUndoState(),e.canRedo?(e.undoIdx++,i=!0,u(e.history[e.undoIdx])):console.warn("No redo history. Please check `store.history.canRedo` before calling redo action.")},replaceState(){e.history[e.undoIdx]=c()}}})),t.default=t.UndoManager},78466:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=t.Store=t.Font=t.Page=t.GroupElement=t.registerShapeModel=t.SVGElement=t.LineElement=t.VideoElement=t.ImageElement=t.TextElement=t.Element=t.Animation=t.Node=void 0;const s=n(67090),c=n(4417),u=n(64296),d=l(n(20185)),h=n(60055),f=n(49675),p=n(34552),v=n(49202),m=i(n(92275)),g=n(31284),y=n(6392),b=n(2920),w=n(93550),_=n(30348),E=n(59330),x=n(97318);(0,s.setLivelinessChecking)("ignore");const S=(e,t)=>{e.children&&e.children.forEach((e=>{t(e),S(e,t)}))};t.Node=s.types.model("Node",{id:s.types.identifier,type:"none",name:"",opacity:1,custom:s.types.frozen(),visible:!0,selectable:!0,removable:!0,alwaysOnTop:!1,showInExport:!0}).postProcessSnapshot((e=>{const t=Object.assign({},e),n={};for(var r in t)"_"!==r[0]&&(n[r]=e[r]);return n})).views((e=>({get locked(){return!(e.draggable||e.contentEditable||e.styleEditable||e.resizable)},get page(){return(0,s.getParentOfType)(e,t.Page)},get store(){return(0,s.getParentOfType)(e,t.Store)},get top(){let n=e;for(;;){if(!(0,s.hasParentOfType)(n,t.GroupElement))return n;n=(0,s.getParentOfType)(n,t.GroupElement)}},get parent(){return(0,s.hasParentOfType)(e,t.GroupElement)?(0,s.getParentOfType)(e,t.GroupElement):(0,s.hasParentOfType)(e,t.Page)?(0,s.getParentOfType)(e,t.Page):(0,s.hasParentOfType)(e,t.Store)?(0,s.getParentOfType)(e,t.Store):null}}))).actions((e=>({toJSON:()=>Object.assign({},(0,s.getSnapshot)(e))}))).actions((e=>({clone(t={}){const n=e.toJSON();return t.id=t.id||(0,u.nanoid)(10),S(n,(e=>{e.id=(0,u.nanoid)(10)})),Object.assign(n,t),e.page.addElement(n)},set(t){Object.assign(e,t)},moveUp(){e.page.moveElementsUp([e.id])},moveTop(){e.page.moveElementsTop([e.id])},moveDown(){e.page.moveElementsDown([e.id])},moveBottom(){e.page.moveElementsBottom([e.id])},beforeDestroy(){e.store.history.endTransaction()}}))),t.Animation=s.types.model("Animation",{delay:0,duration:500,enabled:!0,type:s.types.enumeration("Type",["enter","exit"]),name:"none",data:s.types.frozen({})}),t.Element=t.Node.named("Element").props({x:0,y:0,width:100,height:100,rotation:0,opacity:1,animations:s.types.array(t.Animation),blurEnabled:!1,blurRadius:10,brightnessEnabled:!1,brightness:0,sepiaEnabled:!1,grayscaleEnabled:!1,shadowEnabled:!1,shadowBlur:5,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"black",shadowOpacity:1,visible:!0,draggable:!0,resizable:!0,selectable:!0,contentEditable:!0,styleEditable:!0,alwaysOnTop:!1,showInExport:!0}).preProcessSnapshot((e=>{const t=Object.assign(Object.assign({},e),{x:e.x||0,y:e.y||0});return"width"in e&&(t.width=t.width||1),"height"in e&&(t.height=t.height||1),e.locked&&(t.draggable=!1,t.contentEditable=!1,t.styleEditable=!1,t.resizable=!1),t})).views((e=>({get a(){const{currentTime:t}=e.store,n={x:e.x,y:e.y,width:e.width,height:e.height,rotation:e.rotation,opacity:e.opacity,color:e.color,fontSize:e.fontSize};if(0===t)return n;const r=t-e.page.startTime;if(r>e.page.duration)return n;if(r<0)return n;const o=e.store.animatedElementsIds;if(o.length&&!o.includes(e.id))return n;const i=e.animations.find((e=>"enter"===e.type));if((null==i?void 0:i.enabled)&&r<i.delay&&(n.opacity=0),(null==i?void 0:i.enabled)&&r>=i.delay&&r<=i.delay+i.duration){const t=r-i.delay,o=(0,x.animate)({element:e,animation:i,dTime:t});Object.assign(n,o)}const a=e.animations.find((e=>"exit"===e.type));if((null==a?void 0:a.enabled)&&r>=e.page.duration-a.duration){const t=r-(e.page.duration-a.duration),o=(0,x.animate)({element:e,animation:a,dTime:t});Object.assign(n,o)}return n},animated:t=>e.a[t]}))).actions((e=>({setAnimation(t,n){const r=e.animations.find((e=>e.type===t));r?Object.assign(r,n):e.animations.push(Object.assign({type:t},n))}}))),t.TextElement=t.Element.named("Text").props({type:"text",text:"",placeholder:"",fontSize:14,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"normal",textDecoration:"",fill:"black",align:"center",width:100,height:0,verticalAlign:"top",strokeWidth:0,stroke:"black",lineHeight:s.types.optional(s.types.union(s.types.number,s.types.string),1.2),letterSpacing:0,_editModeEnabled:!1,backgroundEnabled:!1,backgroundColor:"#7ED321",backgroundOpacity:1,backgroundCornerRadius:.5,backgroundPadding:.5}).preProcessSnapshot((e=>Object.assign({},e))).actions((e=>({toggleEditMode(t){e._editModeEnabled=null!=t?t:!e._editModeEnabled,e._editModeEnabled?e.store.history.startTransaction():e.store.history.endTransaction()}}))),t.ImageElement=t.Element.named("Image").props({type:"image",width:100,height:100,src:"",cropX:0,cropY:0,cropWidth:1,cropHeight:1,cornerRadius:0,flipX:!1,flipY:!1,clipSrc:"",borderColor:"black",borderSize:0,keepRatio:!1,_cropModeEnabled:!1}).actions((e=>({toggleCropMode(t){e._cropModeEnabled=null!=t?t:!e._cropModeEnabled,e._cropModeEnabled?e.store.history.startTransaction():e.store.history.endTransaction()}}))),t.VideoElement=t.ImageElement.named("Video").props({type:"video",duration:0}),t.LineElement=t.Element.named("Line").props({type:"line",width:400,height:10,color:"black",dash:s.types.array(s.types.number),startHead:"",endHead:""}).actions((e=>({}))),t.SVGElement=t.Element.named("SVG").props({type:"svg",src:"",maskSrc:"",cropX:0,cropY:0,cropWidth:1,cropHeight:1,keepRatio:!0,flipX:!1,flipY:!1,width:100,height:100,borderColor:"black",borderSize:0,cornerRadius:0,colorsReplace:s.types.map(s.types.string)}).preProcessSnapshot((e=>Object.assign(Object.assign({},e),{src:e.src||e.svgSource}))).actions((e=>({replaceColor(t,n){e.colorsReplace.set(t,n)}})));const O=[];t.registerShapeModel=function(e){const n=e.type;if(!n)throw new Error('You must pass "type" attribute to custom model.');const r=t.Element.named(n).props(e);z[n]=r,O.push(r)};const C=[...new Array(20)].map(((e,t)=>s.types.late((()=>O[t])))),M=s.types.union({dispatcher:e=>{const t=z[e.type];if(!t)throw new Error(`Unknown element type: "${e.type}"`);return t}},t.SVGElement,t.TextElement,t.ImageElement,t.LineElement,t.VideoElement,s.types.late((()=>t.GroupElement)),...C);t.GroupElement=t.Node.named("Group").props({type:"group",children:s.types.array(M)}).views((e=>({get draggable(){let t=!0;return S(e,(e=>{e.draggable||(t=!1)})),t},get resizable(){let t=!0;return S(e,(e=>{e.resizable||(t=!1)})),t},get contentEditable(){let t=!0;return S(e,(e=>{e.contentEditable||(t=!1)})),t},get styleEditable(){let t=!0;return S(e,(e=>{e.styleEditable||(t=!1)})),t},get locked(){let t=!0;return S(e,(e=>{e.locked||(t=!1)})),t}}))).actions((e=>({set(t){var{draggable:n,contentEditable:r,styleEditable:o,resizable:i}=t,l=a(t,["draggable","contentEditable","styleEditable","resizable"]);void 0!==n&&S(e,(e=>{e.set({draggable:n})})),void 0!==r&&S(e,(e=>{e.set({contentEditable:r})})),void 0!==o&&S(e,(e=>{e.set({styleEditable:o})})),void 0!==i&&S(e,(e=>{e.set({resizable:i})})),Object.assign(e,l)}})));const z={svg:t.SVGElement,text:t.TextElement,image:t.ImageElement,group:t.GroupElement,line:t.LineElement,video:t.VideoElement};function P({key:e,showCredit:n}={key:"",showCredit:!1}){const r=t.Store.create();return(0,v.validateKey)(e,n),r}t.Page=s.types.model("Page",{id:s.types.identifier,children:s.types.array(M),width:s.types.optional(s.types.union(s.types.number,s.types.literal("auto")),"auto"),height:s.types.optional(s.types.union(s.types.number,s.types.literal("auto")),"auto"),background:"white",bleed:0,custom:s.types.frozen(),duration:5e3,_exporting:!1,_rendering:!1}).postProcessSnapshot((e=>{const t=Object.assign({},e),n={};for(var r in t)"_"!==r[0]&&(n[r]=e[r]);return n})).views((e=>({get store(){return(0,s.getParentOfType)(e,t.Store)},get startTime(){let t=0;for(const n of e.store.pages){if(n.id===e.id)return t;t+=n.duration}return t}}))).views((e=>({get computedWidth(){return"auto"===e.width?e.store.width:e.width},get computedHeight(){return"auto"===e.height?e.store.height:e.height}}))).actions((e=>({toJSON:()=>JSON.parse(JSON.stringify((0,s.getSnapshot)(e))),_forEachElementUp(t,n){const r=t.map((t=>({id:t,index:e.children.findIndex((e=>e.id===t))})));r.sort(((e,t)=>t.index-e.index));for(const{index:o}of r){if(-1==o)continue;const r=o<e.children.length-1&&e.children[o+1],i=t.indexOf(null==r?void 0:r.id)>=0;o===e.children.length-1||i||n(o)}},_forEachElementDown(t,n){const r=t.map((t=>({id:t,index:e.children.findIndex((e=>e.id===t))})));r.sort(((e,t)=>e.index-t.index));for(const{index:o}of r){if(-1==o)continue;const r=o>0&&e.children[o-1],i=t.indexOf(null==r?void 0:r.id)>=0;0===o||i||n(o)}return!1}}))).actions((e=>({clone(t={}){const n=e.toJSON();n.children.forEach((e=>{e.id=(0,u.nanoid)(10),S(e,(e=>{e.id=(0,u.nanoid)(10)}))}));const r=Object.assign(Object.assign(Object.assign({},n),{id:(0,u.nanoid)(10)}),t),o=e.store.addPage(r),i=e.store.pages.indexOf(e);o.setZIndex(i+1),o.select()},setZIndex(t){e.store.setPageZIndex(e.id,t)},set(t){Object.assign(e,t)},select(){e.store.selectPage(e.id)},addElement(t){const n=z[t.type];if(!n)return void console.error("Can not find model with type "+t.type);t.children&&t.children.forEach((e=>{e.id=(0,u.nanoid)(10)}));const r=n.create(Object.assign({id:(0,u.nanoid)(10)},t));return e.children.push(r),r.selectable&&e.store.selectElements([r.id]),r},canMoveElementsUp(t){let n=!1;return e._forEachElementUp(t,(()=>{n=n||!0})),n},moveElementsUp(t){e._forEachElementUp(t,(t=>{const n=e.children[t];(0,s.detach)(n),e.children.splice(t+1,0,n)}))},canMoveElementsTop(e){return this.canMoveElementsUp(e)},moveElementsTop(t){const n=[],r=[];e.children.forEach((e=>{t.indexOf(e.id)>=0?n.push(e):r.push(e)})),e.children.replace(r.concat(n))},canMoveElementsDown(t){let n=!1;return e._forEachElementDown(t,(()=>{n=n||!0})),n},moveElementsDown(t){e._forEachElementDown(t,(t=>{const n=e.children[t];(0,s.detach)(n),e.children.splice(t-1,0,n)}))},canMoveElementsBottom(e){return this.canMoveElementsDown(e)},moveElementsBottom(t){const n=[],r=[];e.children.forEach((e=>{t.indexOf(e.id)>=0?n.push(e):r.push(e)})),e.children.replace(n.concat(r))},setElementZIndex(t,n){const r=e.children.find((e=>e.id===t));r&&((0,s.detach)(r),e.children.remove(r),e.children.splice(n,0,r))},setSize({width:t,height:n,useMagic:r,softChange:o}){if(r){const r=t/e.computedWidth,o=n/e.computedHeight,i=Math.min(r,o),a=Math.max(0,(t-e.computedWidth*i)/2),l=Math.max(0,(n-e.computedHeight*i)/2);S(e,(async t=>{"group"!==t.type&&("image"===t.type&&t.x<1&&t.y<1&&t.width>=e.computedWidth-2&&t.height>=e.computedHeight-2?t.set({x:t.x*i,y:t.y*i,width:t.width*r,height:t.height*o,cropX:0,cropY:0,cropWidth:1,cropHeight:1}):(t.set({x:a+t.x*i,y:l+t.y*i,width:t.width*i,height:t.height*i}),"text"===t.type&&t.set({fontSize:t.fontSize*i})))}))}o||(e.width=t),o||(e.height=n)}}))).actions((e=>({moveElementUp(t){console.warn("page.moveElementUp(id) is deprecated. Please use page.moveElementsUp([id1, id2]) instead."),e.moveElementsUp([t])},moveElementDown(t){console.warn("page.moveElementDown(id) is deprecated. Please use page.moveElementsDown([id1, id2]) instead."),e.moveElementsDown([t])},moveElementTop(t){console.warn("page.moveElementTop(id) is deprecated. Please use page.moveElementsTop([id1, id2]) instead."),e.moveElementsTop([t])},moveElementBottom(t){console.warn("page.moveElementBottom(id) is deprecated. Please use page.moveElementsBottom([id1, id2]) instead."),e.moveElementsBottom([t])}}))),t.Font=s.types.model("Font",{fontFamily:s.types.string,url:s.types.optional(s.types.string,""),styles:s.types.frozen()}).preProcessSnapshot((e=>Object.assign(Object.assign({},e),{fontFamily:e.fontFamily||e.name}))),t.Store=s.types.model("Store",{role:"",pages:s.types.array(t.Page),fonts:s.types.array(t.Font),width:1080,height:1080,currentTime:0,isPlaying:!1,scale:1,scaleToFit:1,unit:"px",dpi:72,bleedVisible:!1,rulesVisible:!1,openedSidePanel:"",selectedElementsIds:s.types.array(s.types.string),animatedElementsIds:s.types.array(s.types.string),history:s.types.optional(c.UndoManager,{targetPath:"../pages"}),_elementsPixelRatio:2,_activePageId:""}).views((e=>({get _bleedVisible(){return console.warn("store._bleedVisible is deprecated. Please use store.bleedVisible instead."),e.bleedVisible},get selectedElements(){return e.selectedElementsIds.map((t=>{for(const n of e.pages)for(const e of n.children)if(e.id===t)return e})).filter((e=>!!e))},get children(){return e.pages},get selectedShapes(){const t=[];return e.selectedElementsIds.forEach((n=>{for(const r of e.pages)for(const e of r.children)e.id===n&&"group"!==e.type&&t.push(e),"group"===e.type&&e.id===n&&t.push(...e.children)})),t},get activePage(){return e.pages.slice().find((t=>t.id===e._activePageId))||(e.pages.length?e.pages[0]:null)},get duration(){let t=0;return e.pages.forEach((e=>{t+=e.duration})),t}}))).actions((e=>{let t=0;return{afterCreate(){e.history.canUndo},setCurrentTime(t){e.currentTime=t},play({animatedElementsIds:n=[],currentTime:r=0}={}){e.animatedElementsIds=(0,s.cast)(n),e.currentTime=r,e.isPlaying=!0,t=Date.now(),requestAnimationFrame(e.seek)},seek(){if(!e.isPlaying)return;const n=Date.now(),r=n-t;t=n,e.currentTime+=r;let o=0;for(const t of e.pages){if(e.currentTime>=t.startTime&&e.currentTime<t.startTime+t.duration){e.selectPage(t.id);break}o+=t.duration}e.isPlaying&&e.currentTime<e.duration?requestAnimationFrame(e.seek):e.stop()},stop(){e.isPlaying=!1,e.currentTime=0,e.animatedElementsIds=(0,s.cast)([])}}})).actions((e=>({setUnit({unit:t,dpi:n}){e.unit=t||e.unit,e.dpi=n||e.dpi},setRole(t){e.role=t},find(t){let n;return S({children:e.pages},(e=>{!n&&t(e)&&(n=e)})),n},getElementById:t=>e.find((e=>e.id===t)),addPage(n){const r=t.Page.create(Object.assign({id:(0,u.nanoid)(10)},n));return e.pages.push(r),e._activePageId=r.id,r},selectPage(t){e._activePageId=t},selectElements(t){const n=t.map((t=>e.getElementById(t))).sort(((e,t)=>e.page.children.indexOf(e)-e.page.children.indexOf(t))).filter((e=>!!e)).map((e=>e.id));e.selectedElementsIds=(0,s.cast)(n)},toggleBleed(t){e.bleedVisible=null!=t?t:!e.bleedVisible},toggleRulers(t){e.rulesVisible=null!=t?t:!e.rulesVisible},openSidePanel(t){e.openedSidePanel=t},setScale(t){e.scale=t},_setScaleToFit(t){e.scaleToFit=t},setElementsPixelRatio(t){e._elementsPixelRatio=t},setSize(t,n,r){e.pages.forEach((e=>{e.setSize({width:t,height:n,useMagic:r,softChange:!0})})),e.width=t,e.height=n},setPageZIndex(t,n){const r=e.pages.find((e=>e.id===t));r&&((0,s.detach)(r),e.pages.remove(r),e.pages.splice(n,0,r))},deletePages(t){const n=e.pages.indexOf(e.activePage);t.forEach((t=>{const n=e.pages.find((e=>e.id===t));(0,s.destroy)(n)}));const r=Math.min(e.pages.length-1,n),o=e.pages[r];o&&(e._activePageId=o.id),e.selectedElementsIds=(0,s.cast)(e.selectedElementsIds.filter((t=>e.getElementById(t))))},groupElements(n){const r=n.map((t=>e.getElementById(t)));r.forEach((e=>{e&&(0,s.detach)(e)}));const o=e.activePage,i=t.GroupElement.create({id:(0,u.nanoid)(10),children:(0,s.cast)(r)});return o.children.push(i),e.selectedElementsIds=(0,s.cast)([i.id]),i},ungroupElements(t){const n=t.map((t=>e.getElementById(t))),r=[];n.forEach((e=>{if(e&&"group"===e.type){const t=e.page,n=t.children.indexOf(e);e.children.forEach((e=>{r.push(e.id)})),e.children.forEach((e=>{(0,s.detach)(e),t.children.push(e)})),t.children.splice(n,1)}})),e.selectedElementsIds=(0,s.cast)(r)},deleteElements(t){t.forEach((t=>{e.pages.forEach((e=>{const n=e.children.find((e=>e.id===t));n&&(0,s.destroy)(n)}))})),e.selectedElementsIds=(0,s.cast)(e.selectedElementsIds.filter((t=>e.getElementById(t))))},on(t,n){if("change"===t){let t=e.toJSON();return(0,s.onSnapshot)(e,(r=>{const o=e.toJSON();!(0,b.deepEqual)(t,o)&&(t=o,n(o))}))}},async _toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:i}={}){var a;const l=t||1;r=r||(null===(a=e.pages[0])||void 0===a?void 0:a.id);const s=e.pages.find((e=>e.id===r));if(!s)throw new Error(`No page for export with id ${r}`);null==s||s.set({_exporting:!0});const c=await(0,w.waitTillAvailable)((()=>d.default.stages.find((e=>e.getAttr("pageId")===r))));if(!c)throw new Error(`Export is failed. Can not find stage for page ${r}. Looks like <Workspace /> component is not mounted, but it is required in order to process the export.`);const u=!!c.findOne(".page-container");await e.waitLoading();const h=c.findOne(".page-container");if(!h)throw new Error(`Export is failed. Can't find page container. ${u}`);c.find("Transformer").forEach((e=>e.visible(!1))),h.find(".page-background").forEach((e=>e.shadowEnabled(!1))),h.find(".page-background").forEach((e=>e.strokeEnabled(!1))),h.find(".highlighter").forEach((e=>e.visible(!1)));const f=h.findOne(".page-background-group"),p=f.clip();f.clip({x:null,y:null,width:null,height:null});const v=h.findOne(".elements-container"),m=v.clip();v.clip({x:null,y:null,width:null,height:null});const g=h.find((e=>e.getAttr("hideInExport")));g.forEach((e=>{e.setAttr("oldVisible",e.visible()),e.hide()}));const y=h.find((e=>!e.visible()&&e.getAttr("editModeEnabled")));y.forEach((e=>{e.setAttr("oldVisible",e.visible()),e.show()})),n&&h.find(".page-background").forEach((e=>e.hide()));const b=i?s.bleed:0;let _=b;e.bleedVisible&&i?_=0:e.bleedVisible&&!i&&(_=-s.bleed);const E=document.createElement("canvas");E.width=(s.computedWidth+2*b)*l,E.height=(s.computedHeight+2*b)*l;const x=E.getContext("2d");"image/jpeg"===o&&(x.fillStyle="white",x.fillRect(0,0,E.width,E.height));const S=h.toCanvas({x:h.x()-_*h.scaleX(),y:h.y()-_*h.scaleY(),width:(s.computedWidth+2*b)*h.scaleX(),height:(s.computedHeight+2*b)*h.scaleY(),pixelRatio:1/h.scaleX()*l});return x.drawImage(S,0,0),d.default.Util.releaseCanvas(S),n&&h.find(".page-background").forEach((e=>e.show())),g.forEach((e=>{e.visible(e.getAttr("oldVisible"))})),y.forEach((e=>{e.visible(e.getAttr("oldVisible"))})),h.find(".page-background").forEach((e=>e.shadowEnabled(!0))),h.find(".page-background").forEach((e=>e.strokeEnabled(!0))),c.find("Transformer").forEach((e=>e.visible(!0))),h.find(".highlighter").forEach((e=>e.visible(!0))),f.clip(p),v.clip(m),null==s||s.set({_exporting:!1}),E},async toDataURL({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:i,quality:a}={}){const l=await e._toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:i}),s=l.toDataURL(o,a);return d.default.Util.releaseCanvas(l),s},async toBlob({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:i,quality:a}={}){const l=await e._toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:i}),s=new Promise((e=>{l.toBlob(e,o,a)}));return d.default.Util.releaseCanvas(l),s},async saveAsImage(t={}){var{fileName:n}=t,r=a(t,["fileName"]);const o=r.mimeType||"image/png",i=o.split("/")[1];(0,h.downloadFile)(await e.toDataURL(r),n||"polotno."+i,o)},async _toPDF(t){const n=t.dpi||e.dpi,r=t.parallel||1,o=t.unit||("px"===e.unit?"mm":e.unit),i=t.pixelRatio||1,a=t.pageIds||e.pages.map((e=>e.id)),l=e.pages.filter((e=>a.includes(e.id))),s=await(0,f.getJsPDF)(),c=e=>(0,y.pxToUnit)({px:e,unit:o,dpi:n}),u=l[0]||{},d=t.includeBleed?u.bleed:0,h=c(u.computedWidth+2*d),p=c(u.computedHeight+2*d);var v=new s({unit:o,orientation:h>p?"landscape":"portrait",format:[h,p],compress:!0,putOnlyUsedFonts:!0});v.deletePage(1);const m=e._elementsPixelRatio;e.setElementsPixelRatio(i),await new Promise((e=>setTimeout(e)));const g=((e,t)=>{for(var n=[],r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n})(l,r);for(const n of g){const r=n.map((async n=>{const r=t.includeBleed?n.bleed:0,o=c(n.computedWidth+2*r),a=c(n.computedHeight+2*r);let l=0,s=i;for(;l<10;){l+=1,2===l&&console.error("Polotno can not export PDF with current settings. Quality is automatically reduced.");const r=await e.toDataURL(Object.assign(Object.assign({},t),{pageId:n.id,pixelRatio:s}));if(r.length>20)return{url:r,width:o,height:a};s*=.8}}));(await Promise.all(r)).forEach((({url:e,width:t,height:n})=>{v.addPage([t,n],t>n?"landscape":"portrait"),v.addImage(e,0,0,t,n,void 0,"FAST")}))}return e.setElementsPixelRatio(m),v},toPDFDataURL:async t=>(await e._toPDF(Object.assign({mimeType:"image/jpeg"},t))).output("datauristring"),async toGIFDataURL(t={}){const n=t.pixelRatio||1,r=await(0,p.createGIF)({width:e.width*n,height:e.height*n}),o=1e3/(t.fps||10),i=e.duration/o;for(let t=0;t<i-1;t++){const i=t*o||1;e.setCurrentTime(i);let a=0,l="";for(const t of e.pages)if(a+=t.duration,t.set({_rendering:a>i}),a>i){l=t.id;break}const s=await e._toCanvas({pixelRatio:n,pageId:l});r.addFrame(s.getContext("2d"),{delay:o,copy:!0})}for(const t of e.pages)t.set({_rendering:!1});return e.stop(),r.render(),new Promise((e=>{r.on("finished",(function(t){!function(e,t){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.readAsDataURL(e)}(t,e)}))}))},async saveAsGIF(t={}){var{fileName:n}=t,r=a(t,["fileName"]);const o=await e.toGIFDataURL(r);(0,h.downloadFile)(o,n||"polotno.gif")},async toHTML(){const t=e.toJSON();return(0,_.jsonToHTML)({json:t})},async saveAsHTML({fileName:t}={}){const n=await e.toHTML(),r="data:text/html;base64,"+window.btoa(unescape(encodeURIComponent(n)));(0,h.downloadFile)(r,t||"polotno.html")},async toSVG(){const t=e.toJSON();return(0,E.jsonToSVG)({json:t})},async saveAsSVG({fileName:t}={}){const n=await e.toSVG(),r="data:text/svg;base64,"+window.btoa(unescape(encodeURIComponent(n)));(0,h.downloadFile)(r,t||"polotno.svg")},async saveAsPDF(t={}){var{fileName:n}=t,r=a(t,["fileName"]);(await e._toPDF(Object.assign({mimeType:"image/jpeg"},r))).save(n||"polotno.pdf")},async waitLoading(){await new Promise((e=>setTimeout(e,50))),await(0,g.whenLoaded)()},toJSON:()=>({width:e.width,height:e.height,fonts:(0,s.getSnapshot)(e.fonts),pages:(0,s.getSnapshot)(e.pages),unit:e.unit,dpi:e.dpi}),loadJSON(t,n=!1){var r;const o=Object.assign({},t),i=e.pages.indexOf(e.activePage);let a=null===(r=o.pages[i]||o.pages[0])||void 0===r?void 0:r.id;o._activePageId=a;const l=Object.assign({},(0,s.getSnapshot)(e));Object.assign(l,o),l.history=n?e.history.toJSON():{history:[],undoIdx:-1},(0,s.applySnapshot)(e,l)},clear({keepHistory:t=!1}={}){const n=e.pages.map((e=>e.id));e.deletePages(n),t||e.history.clear()},addFont(t){e.removeFont(t.fontFamily),e.fonts.push(t),e.loadFont(t.fontFamily)},removeFont(t){e.fonts.filter((e=>e.fontFamily===t)).forEach((e=>(0,s.destroy)(e)))},async loadFont(t){const n=e.fonts.find((e=>e.fontFamily===t))||m.globalFonts.find((e=>e.fontFamily===t));n?m.injectCustomFont(n):m.injectGoogleFont(t),await m.loadFont(t)}}))),t.createStore=P,t.default=P},21833:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.r(t),n.d(t,{$mobx:()=>U,FlowCancellationError:()=>un,ObservableMap:()=>br,ObservableSet:()=>Er,Reaction:()=>St,_allowStateChanges:()=>Be,_allowStateChangesInsideComputed:()=>Bt,_allowStateReadsEnd:()=>st,_allowStateReadsStart:()=>lt,_autoAction:()=>Ft,_endAction:()=>Fe,_getAdministration:()=>Ur,_getGlobalState:()=>vt,_interceptReads:()=>yn,_isComputingDerivation:()=>tt,_resetGlobalState:()=>mt,_startAction:()=>je,action:()=>jt,autorun:()=>Gt,comparer:()=>K,computed:()=>Le,configure:()=>nn,createAtom:()=>W,defineProperty:()=>kn,entries:()=>zn,extendObservable:()=>rn,flow:()=>pn,flowResult:()=>mn,get:()=>Ln,getAtom:()=>Br,getDebugName:()=>Gr,getDependencyTree:()=>on,getObserverTree:()=>ln,has:()=>An,intercept:()=>bn,isAction:()=>Ut,isBoxedObservable:()=>Ke,isComputed:()=>_n,isComputedProp:()=>En,isFlow:()=>gn,isFlowCancellationError:()=>dn,isObservable:()=>Sn,isObservableArray:()=>fr,isObservableMap:()=>wr,isObservableObject:()=>Tr,isObservableProp:()=>On,isObservableSet:()=>xr,keys:()=>Cn,makeAutoObservable:()=>Jn,makeObservable:()=>Zn,observable:()=>ze,observe:()=>In,onBecomeObserved:()=>Xt,onBecomeUnobserved:()=>Zt,onReactionError:()=>Ot,override:()=>Z,ownKeys:()=>Nn,reaction:()=>Kt,remove:()=>Tn,runInAction:()=>Bt,set:()=>Pn,spy:()=>At,toJS:()=>Vn,trace:()=>Dn,transaction:()=>jn,untracked:()=>ot,values:()=>Mn,when:()=>Fn});var o={};function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var a=Object.assign,l=Object.getOwnPropertyDescriptor,s=Object.defineProperty,c=Object.prototype,u=[];Object.freeze(u);var d={};Object.freeze(d);var h="undefined"!=typeof Proxy,f=Object.toString();function p(){h||r("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var m=function(){};function g(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function b(e){return null!==e&&"object"==typeof e}function w(e){if(!b(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===f}function _(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function E(e,t,n){s(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function x(e,t,n){s(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return b(e)&&!0===e[n]}}function O(e){return e instanceof Map}function C(e){return e instanceof Set}var M=void 0!==Object.getOwnPropertySymbols,z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:M?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return c.hasOwnProperty.call(e,t)}var A=Object.getOwnPropertyDescriptors||function(e){var t={};return z(e).forEach((function(n){t[n]=l(e,n)})),t};function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o)),r)}var o}function k(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var j=Symbol("mobx-stored-annotations");function F(e){return Object.assign((function(t,n){B(t,n,e)}),e)}function B(e,t,n){T(e,j)||E(e,j,N({},e[j])),function(e){return e.annotationType_===X}(n)||(e[j][t]=n)}var U=Symbol("mobx administration"),G=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=$e.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Et(this)},t.reportChanged=function(){wt(),xt(this),pt.stateVersion=pt.stateVersion<Number.MAX_SAFE_INTEGER?pt.stateVersion+1:Number.MIN_SAFE_INTEGER,_t()},t.toString=function(){return this.name_},e}(),q=S("Atom",G);function W(e,t,n){void 0===t&&(t=m),void 0===n&&(n=m);var r=new G(e);return t!==m&&Xt(r,t),n!==m&&Zt(r,n),r}var K={identity:function(e,t){return e===t},structural:function(e,t){return Wr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return Wr(e,t,1)}};function $(e,t,n){return Sn(e)?e:Array.isArray(e)?ze.array(e,{name:n}):w(e)?ze.object(e,void 0,{name:n}):O(e)?ze.map(e,{name:n}):C(e)?ze.set(e,{name:n}):"function"!=typeof e||Ut(e)||gn(e)?e:_(e)?pn(e):Ft(n,e)}function Y(e){return e}var X="override",Z=F({annotationType_:X,make_:function(e,t){return 0},extend_:function(e,t,n,o){r("'"+this.annotationType_+"' can only be used with 'makeObservable'")}});function Q(e,t){return{annotationType_:e,options_:t,make_:J,extend_:ee}}function J(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Ut(n.value))return 1;var i=te(e,this,t,n,!1);return s(r,t,i),2}function ee(e,t,n,r){var o=te(e,this,t,n);return e.defineProperty_(t,o,r)}function te(e,t,n,r,o){var i,a,l,s,c,u,d,h;void 0===o&&(o=pt.safeDescriptors),h=r,t.annotationType_,h.value;var f,p=r.value;return null!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(f=e.proxy_)?f:e.target_)),{value:Ve(null!=(a=null==(l=t.options_)?void 0:l.name)?a:n.toString(),p,null!=(s=null==(c=t.options_)?void 0:c.autoAction)&&s,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ne(e,t){return{annotationType_:e,options_:t,make_:re,extend_:oe}}function re(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!T(e.target_,t)||!gn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(gn(n.value))return 1;var i=ie(e,this,0,n,!1,!1);return s(r,t,i),2}function oe(e,t,n,r){var o,i=ie(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ie(e,t,n,r,o,i){var a;void 0===i&&(i=pt.safeDescriptors),a=r,t.annotationType_,a.value;var l,s=r.value;return gn(s)||(s=pn(s)),o&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0),{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ae(e,t){return{annotationType_:e,options_:t,make_:le,extend_:se}}function le(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function se(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,N({},this.options_,{get:n.get,set:n.set}),r);var o}function ce(e,t){return{annotationType_:e,options_:t,make_:ue,extend_:de}}function ue(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function de(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:$,r)}var he="true",fe=pe();function pe(e){return{annotationType_:he,options_:e,make_:ve,extend_:me}}function ve(e,t,n,r){var o,i,a,l;if(n.get)return Le.make_(e,t,n,r);if(n.set){var c=Ve(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(s(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return _(n.value)?(null!=(l=this.options_)&&l.autoBind?pn.bound:pn).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Ft.bound:Ft).make_(e,t,n,r);var u,d=!1===(null==(o=this.options_)?void 0:o.deep)?ze.ref:ze;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),d.make_(e,t,n,r)}function me(e,t,n,r){var o,i,a;return n.get?Le.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:Ve(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?ze.ref:ze).extend_(e,t,n,r))}var ge={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ye(e){return e||ge}Object.freeze(ge);var be=ce("observable"),we=ce("observable.ref",{enhancer:Y}),_e=ce("observable.shallow",{enhancer:function(e,t,n){return null==e||Tr(e)||fr(e)||wr(e)||xr(e)?e:Array.isArray(e)?ze.array(e,{name:n,deep:!1}):w(e)?ze.object(e,void 0,{name:n,deep:!1}):O(e)?ze.map(e,{name:n,deep:!1}):C(e)?ze.set(e,{name:n,deep:!1}):void 0}}),Ee=ce("observable.struct",{enhancer:function(e,t){return Wr(e,t)?t:e}}),xe=F(be);function Se(e){return!0===e.deep?$:!1===e.deep?Y:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:$;var t,n,r}function Oe(e,t,n){if(!y(t))return Sn(e)?e:w(e)?ze.object(e,t,n):Array.isArray(e)?ze.array(e,t):O(e)?ze.map(e,t):C(e)?ze.set(e,t):"object"==typeof e&&null!==e?e:ze.box(e,t);B(e,t,be)}a(Oe,xe);var Ce,Me,ze=a(Oe,{box:function(e,t){var n=ye(t);return new We(e,Se(n),n.name,!0,n.equals)},array:function(e,t){var n=ye(t);return(!1===pt.useProxies||!1===n.proxy?Fr:or)(e,Se(n),n.name)},map:function(e,t){var n=ye(t);return new br(e,Se(n),n.name)},set:function(e,t){var n=ye(t);return new Er(e,Se(n),n.name)},object:function(e,t,n){return rn(!1===pt.useProxies||!1===(null==n?void 0:n.proxy)?Mr({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=Mr(e,t))[U]).proxy_)?r:n.proxy_=new Proxy(e,Gn)}({},n),e,t)},ref:F(we),shallow:F(_e),deep:xe,struct:F(Ee)}),Pe="computed",Te=ae(Pe),Ae=ae("computed.struct",{equals:K.structural}),Le=function(e,t){if(y(t))return B(e,t,Te);if(w(e))return F(ae(Pe,e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Xe(n)};Object.assign(Le,Te),Le.struct=F(Ae);var ke,Ne=0,Ie=1,Re=null!=(Ce=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&Ce,He={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ve(e,t,n,r){function o(){return De(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,Re&&(He.value=e,s(o,"name",He)),o}function De(e,t,n,r,o){var i=je(0,t);try{return n.apply(r,o)}catch(e){throw i.error_=e,e}finally{Fe(i)}}function je(e,t,n,r){var o=pt.trackingDerivation,i=!t||!o;wt();var a=pt.allowStateChanges;i&&(it(),a=Ue(!0));var l={runAsAction_:i,prevDerivation_:o,prevAllowStateChanges_:a,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ie++,parentActionId_:Ne};return Ne=l.actionId_,l}function Fe(e){Ne!==e.actionId_&&r(30),Ne=e.parentActionId_,void 0!==e.error_&&(pt.suppressReactionErrors=!0),Ge(e.prevAllowStateChanges_),st(e.prevAllowStateReads_),_t(),e.runAsAction_&&at(e.prevDerivation_),pt.suppressReactionErrors=!1}function Be(e,t){var n=Ue(e);try{return t()}finally{Ge(n)}}function Ue(e){var t=pt.allowStateChanges;return pt.allowStateChanges=e,t}function Ge(e){pt.allowStateChanges=e}ke=Symbol.toPrimitive;var qe,We=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=K.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}I(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==pt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(qn(this)){var t=Kn(this,{object:this,type:tr,newValue:e});if(!t)return pt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?pt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),$n(this)&&Xn(this,{type:tr,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Wn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:tr,newValue:this.value_,oldValue:void 0}),Yn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return P(this.get())},n[ke]=function(){return this.valueOf()},t}(G),Ke=S("ObservableValue",We);qe=Symbol.toPrimitive;var $e,Ye,Xe=function(){function e(e){this.dependenciesState_=$e.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=$e.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Qe(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ye.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ve("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?K.structural:K.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===$e.UP_TO_DATE_&&(e.lowestObserverState_=$e.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===$e.UP_TO_DATE_&&(e.dependenciesState_=$e.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==pt.inBatch||0!==this.observers_.size||this.keepAlive_){if(Et(this),et(this)){var e=pt.trackingContext;this.keepAlive_&&!e&&(pt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==$e.STALE_&&(e.lowestObserverState_=$e.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===$e.POSSIBLY_STALE_?t.dependenciesState_=$e.STALE_:t.dependenciesState_===$e.UP_TO_DATE_&&(e.lowestObserverState_=$e.UP_TO_DATE_)})))}(this),pt.trackingContext=e}}else et(this)&&(this.warnAboutUntrackedRead_(),wt(),this.value_=this.computeValue_(!1),_t());var t=this.value_;if(Je(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===$e.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Je(e)||Je(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=Ue(!1);if(e)t=nt(this,this.derivation,this.scope_);else if(!0===pt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Qe(e)}return Ge(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(rt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return Gt((function(){var i=n.get();if(!r||t){var a=it();e({observableKind:"computed",debugObjectName:n.name_,type:tr,object:n,newValue:i,oldValue:o}),at(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[qe]=function(){return this.valueOf()},e}(),Ze=S("ComputedValue",Xe);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}($e||($e={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Ye||(Ye={}));var Qe=function(e){this.cause=void 0,this.cause=e};function Je(e){return e instanceof Qe}function et(e){switch(e.dependenciesState_){case $e.UP_TO_DATE_:return!1;case $e.NOT_TRACKING_:case $e.STALE_:return!0;case $e.POSSIBLY_STALE_:for(var t=lt(!0),n=it(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Ze(a)){if(pt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return at(n),st(t),!0}if(e.dependenciesState_===$e.STALE_)return at(n),st(t),!0}}return ct(e),at(n),st(t),!1}}function tt(){return null!==pt.trackingDerivation}function nt(e,t,n){var r=lt(!0);ct(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++pt.runId;var o,i=pt.trackingDerivation;if(pt.trackingDerivation=e,pt.inBatch++,!0===pt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new Qe(e)}return pt.inBatch--,pt.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=$e.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var l=n[a];0===l.diffValue_&&(l.diffValue_=1,o!==a&&(n[o]=l),o++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var s=t[i];0===s.diffValue_&&yt(s,e),s.diffValue_=0}for(;o--;){var c=n[o];1===c.diffValue_&&(c.diffValue_=0,gt(c,e))}r!==$e.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),st(r),o}function rt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)yt(t[n],e);e.dependenciesState_=$e.NOT_TRACKING_}function ot(e){var t=it();try{return e()}finally{at(t)}}function it(){var e=pt.trackingDerivation;return pt.trackingDerivation=null,e}function at(e){pt.trackingDerivation=e}function lt(e){var t=pt.allowStateReads;return pt.allowStateReads=e,t}function st(e){pt.allowStateReads=e}function ct(e){if(e.dependenciesState_!==$e.UP_TO_DATE_){e.dependenciesState_=$e.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=$e.UP_TO_DATE_}}var ut=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],dt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0,this.stateVersion=Number.MIN_SAFE_INTEGER},ht=!0,ft=!1,pt=function(){var e=i();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ht=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new dt).version&&(ht=!1),ht?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new dt):(setTimeout((function(){ft||r(35)}),1),new dt)}();function vt(){return pt}function mt(){var e=new dt;for(var t in e)-1===ut.indexOf(t)&&(pt[t]=e[t]);pt.allowStateChanges=!pt.enforceActions}function gt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function yt(e,t){e.observers_.delete(t),0===e.observers_.size&&bt(e)}function bt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,pt.pendingUnobservations.push(e))}function wt(){pt.inBatch++}function _t(){if(0==--pt.inBatch){zt();for(var e=pt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Xe&&n.suspend_())}pt.pendingUnobservations=[]}}function Et(e){var t=pt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&pt.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&pt.inBatch>0&&bt(e),!1)}function xt(e){e.lowestObserverState_!==$e.STALE_&&(e.lowestObserverState_=$e.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===$e.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=$e.STALE_})))}var St=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=$e.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Ye.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,pt.pendingReactions.push(this),zt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){wt(),this.isScheduled_=!1;var e=pt.trackingContext;if(pt.trackingContext=this,et(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}pt.trackingContext=e,_t()}},t.track=function(e){if(!this.isDisposed_){wt(),this.isRunning_=!0;var t=pt.trackingContext;pt.trackingContext=this;var n=nt(this,e,void 0);pt.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&rt(this),Je(n)&&this.reportExceptionInDerivation_(n.cause),_t()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(pt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";pt.suppressReactionErrors||console.error(n,e),pt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(wt(),rt(this),_t()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[U]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),Dn(this,e)},e}();function Ot(e){return pt.globalReactionErrorHandlers.push(e),function(){var t=pt.globalReactionErrorHandlers.indexOf(e);t>=0&&pt.globalReactionErrorHandlers.splice(t,1)}}var Ct=100,Mt=function(e){return e()};function zt(){pt.inBatch>0||pt.isRunningReactions||Mt(Pt)}function Pt(){pt.isRunningReactions=!0;for(var e=pt.pendingReactions,t=0;e.length>0;){++t===Ct&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}pt.isRunningReactions=!1}var Tt=S("Reaction",St);function At(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var Lt="action",kt="autoAction",Nt="<unnamed action>",It=Q(Lt),Rt=Q("action.bound",{bound:!0}),Ht=Q(kt,{autoAction:!0}),Vt=Q("autoAction.bound",{autoAction:!0,bound:!0});function Dt(e){return function(t,n){return g(t)?Ve(t.name||Nt,t,e):g(n)?Ve(t,n,e):y(n)?B(t,n,e?Ht:It):y(t)?F(Q(e?kt:Lt,{name:t,autoAction:e})):void 0}}var jt=Dt(!1);Object.assign(jt,It);var Ft=Dt(!0);function Bt(e){return De(e.name,!1,e,this,void 0)}function Ut(e){return g(e)&&!0===e.isMobxAction}function Gt(e,t){var n,r;void 0===t&&(t=d);var o,i=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a=Wt(t),l=!1;o=new St(i,(function(){l||(l=!0,a((function(){l=!1,o.isDisposed_||o.track(s)})))}),t.onError,t.requiresObservable)}else o=new St(i,(function(){this.track(s)}),t.onError,t.requiresObservable);function s(){e(o)}return o.schedule_(),o.getDisposer_()}Object.assign(Ft,Ht),jt.bound=F(Rt),Ft.bound=F(Vt);var qt=function(e){return e()};function Wt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:qt}function Kt(e,t,n){var r;void 0===n&&(n=d);var o,i,a,l,s=null!=(r=n.name)?r:"Reaction",c=jt(s,n.onError?(o=n.onError,i=t,function(){try{return i.apply(this,arguments)}catch(e){o.call(this,e)}}):t),u=!n.scheduler&&!n.delay,h=Wt(n),f=!0,p=!1,v=n.compareStructural?K.structural:n.equals||K.default,m=new St(s,(function(){f||u?g():p||(p=!0,h(g))}),n.onError,n.requiresObservable);function g(){if(p=!1,!m.isDisposed_){var t=!1;m.track((function(){var n=Be(!1,(function(){return e(m)}));t=f||!v(a,n),l=a,a=n})),(f&&n.fireImmediately||!f&&t)&&c(a,l,m),f=!1}}return m.schedule_(),m.getDisposer_()}var $t="onBO",Yt="onBUO";function Xt(e,t,n){return Qt($t,e,t,n)}function Zt(e,t,n){return Qt(Yt,e,t,n)}function Qt(e,t,n,r){var o="function"==typeof r?Br(t,n):Br(t),i=g(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Jt="never",en="always",tn="observed";function nn(e){!0===e.isolateGlobalState&&function(){if((pt.pendingReactions.length||pt.inBatch||pt.isRunningReactions)&&r(36),ft=!0,ht){var e=i();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),pt=new dt}}();var t,n,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(pt.useProxies=o===en||o!==Jt&&"undefined"!=typeof Proxy),"ifavailable"===o&&(pt.verifyProxies=!0),void 0!==a){var l=a===en?en:a===tn;pt.enforceActions=l,pt.allowStateChanges=!0!==l&&l!==en}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(pt[t]=!!e[t])})),pt.allowStateReads=!pt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=Mt,Mt=function(e){return t((function(){return n(e)}))})}function rn(e,t,n,r){var o=A(t),i=Mr(e,r)[U];wt();try{z(o).forEach((function(e){i.extend_(e,o[e],!n||!(e in n)||n[e])}))}finally{_t()}return e}function on(e,t){return an(Br(e,t))}function an(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(an)),n}function ln(e,t){return sn(Br(e,t))}function sn(e){var t={name:e.name_};return function(e){return e.observers_&&e.observers_.size>0}(e)&&(t.observers=Array.from(function(e){return e.observers_}(e)).map(sn)),t}var cn=0;function un(){this.message="FLOW_CANCELLED"}function dn(e){return e instanceof un}un.prototype=Object.create(Error.prototype);var hn=ne("flow"),fn=ne("flow.bound",{bound:!0}),pn=Object.assign((function(e,t){if(y(t))return B(e,t,hn);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++cn,i=jt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,l=new Promise((function(t,n){var l=0;function s(e){var t;a=void 0;try{t=jt(r+" - runid: "+o+" - yield "+l++,i.next).call(i,e)}catch(e){return n(e)}u(t)}function c(e){var t;a=void 0;try{t=jt(r+" - runid: "+o+" - yield "+l++,i.throw).call(i,e)}catch(e){return n(e)}u(t)}function u(e){if(!g(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,c);e.then(u,n)}e=n,s(void 0)}));return l.cancel=jt(r+" - runid: "+o+" - cancel",(function(){try{a&&vn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(m,m),vn(n),e(new un)}catch(t){e(t)}})),l};return o.isMobXFlow=!0,o}),hn);function vn(e){g(e.cancel)&&e.cancel()}function mn(e){return e}function gn(e){return!0===(null==e?void 0:e.isMobXFlow)}function yn(e,t,n){var r;return wr(e)||fr(e)||Ke(e)?r=Ur(e):Tr(e)&&(r=Ur(e,t)),r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0}}function bn(e,t,n){return g(n)?function(e,t,n){return Ur(e,t).intercept_(n)}(e,t,n):function(e,t){return Ur(e).intercept_(t)}(e,t)}function wn(e,t){if(void 0===t)return Ze(e);if(!1===Tr(e))return!1;if(!e[U].values_.has(t))return!1;var n=Br(e,t);return Ze(n)}function _n(e){return wn(e)}function En(e,t){return wn(e,t)}function xn(e,t){return!!e&&(void 0!==t?!!Tr(e)&&e[U].values_.has(t):Tr(e)||!!e[U]||q(e)||Tt(e)||Ze(e))}function Sn(e){return xn(e)}function On(e,t){return xn(e,t)}function Cn(e){return Tr(e)?e[U].keys_():wr(e)||xr(e)?Array.from(e.keys()):fr(e)?e.map((function(e,t){return t})):void r(5)}function Mn(e){return Tr(e)?Cn(e).map((function(t){return e[t]})):wr(e)?Cn(e).map((function(t){return e.get(t)})):xr(e)?Array.from(e.values()):fr(e)?e.slice():void r(6)}function zn(e){return Tr(e)?Cn(e).map((function(t){return[t,e[t]]})):wr(e)?Cn(e).map((function(t){return[t,e.get(t)]})):xr(e)?Array.from(e.entries()):fr(e)?e.map((function(e,t){return[t,e]})):void r(7)}function Pn(e,t,n){if(2!==arguments.length||xr(e))Tr(e)?e[U].set_(t,n):wr(e)?e.set(t,n):xr(e)?e.add(t):fr(e)?("number"!=typeof t&&(t=parseInt(t,10)),t<0&&r("Invalid index: '"+t+"'"),wt(),t>=e.length&&(e.length=t+1),e[t]=n,_t()):r(8);else{wt();var o=t;try{for(var i in o)Pn(e,i,o[i])}finally{_t()}}}function Tn(e,t){Tr(e)?e[U].delete_(t):wr(e)||xr(e)?e.delete(t):fr(e)?("number"!=typeof t&&(t=parseInt(t,10)),e.splice(t,1)):r(9)}function An(e,t){return Tr(e)?e[U].has_(t):wr(e)||xr(e)?e.has(t):fr(e)?t>=0&&t<e.length:void r(10)}function Ln(e,t){if(An(e,t))return Tr(e)?e[U].get_(t):wr(e)?e.get(t):fr(e)?e[t]:void r(11)}function kn(e,t,n){if(Tr(e))return e[U].defineProperty_(t,n);r(39)}function Nn(e){if(Tr(e))return e[U].ownKeys_();r(38)}function In(e,t,n,r){return g(n)?function(e,t,n,r){return Ur(e,t).observe_(n,r)}(e,t,n,r):function(e,t,n){return Ur(e).observe_(t,n)}(e,t,n)}function Rn(e,t,n){return e.set(t,n),n}function Hn(e,t){if(null==e||"object"!=typeof e||e instanceof Date||!Sn(e))return e;if(Ke(e)||Ze(e))return Hn(e.get(),t);if(t.has(e))return t.get(e);if(fr(e)){var n=Rn(t,e,new Array(e.length));return e.forEach((function(e,r){n[r]=Hn(e,t)})),n}if(xr(e)){var r=Rn(t,e,new Set);return e.forEach((function(e){r.add(Hn(e,t))})),r}if(wr(e)){var o=Rn(t,e,new Map);return e.forEach((function(e,n){o.set(n,Hn(e,t))})),o}var i=Rn(t,e,{});return Nn(e).forEach((function(n){c.propertyIsEnumerable.call(e,n)&&(i[n]=Hn(e[n],t))})),i}function Vn(e,t){return Hn(e,new Map)}function Dn(){r("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"boolean"==typeof n[n.length-1]&&(e=n.pop());var i=function(e){switch(e.length){case 0:return pt.trackingDerivation;case 1:return Br(e[0]);case 2:return Br(e[0],e[1])}}(n);if(!i)return r("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===Ye.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?Ye.BREAK:Ye.LOG}function jn(e,t){void 0===t&&(t=void 0),wt();try{return e.apply(t)}finally{_t()}}function Fn(e,t,n){return 1===arguments.length||t&&"object"==typeof t?function(e,t){var n,r,o;if(null!=t&&null!=(n=t.signal)&&n.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var i=new Promise((function(n,i){var a,l=Bn(e,n,N({},t,{onError:i}));r=function(){l(),i(new Error("WHEN_CANCELLED"))},o=function(){l(),i(new Error("WHEN_ABORTED"))},null==t||null==(a=t.signal)||null==a.addEventListener||a.addEventListener("abort",o)})).finally((function(){var e;return null==t||null==(e=t.signal)||null==e.removeEventListener?void 0:e.removeEventListener("abort",o)}));return i.cancel=r,i}(e,t):Bn(e,t,n||{})}function Bn(e,t,n){var r;if("number"==typeof n.timeout){var o=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!a[U].isDisposed_){if(a(),!n.onError)throw o;n.onError(o)}}),n.timeout)}n.name="When";var i=Ve("When-effect",t),a=Gt((function(t){Be(!1,e)&&(t.dispose(),r&&clearTimeout(r),i())}),n);return a}function Un(e){return e[U]}pn.bound=F(fn);var Gn={has:function(e,t){return Un(e).has_(t)},get:function(e,t){return Un(e).get_(t)},set:function(e,t,n){var r;return!!y(t)&&(null==(r=Un(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(t)&&(null==(n=Un(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Un(e).defineProperty_(t,n))||r},ownKeys:function(e){return Un(e).ownKeys_()},preventExtensions:function(e){r(13)}};function qn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Wn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Kn(e,t){var n=it();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{at(n)}}function $n(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Yn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Xn(e,t){var n=it(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);at(n)}}function Zn(e,t,n){var r=Mr(e,n)[U];wt();try{null!=t||(t=function(e){return T(e,j)||E(e,j,N({},e[j])),e[j]}(e)),z(t).forEach((function(e){return r.make_(e,t[e])}))}finally{_t()}return e}var Qn=Symbol("mobx-keys");function Jn(e,t,n){if(w(e))return rn(e,e,t,n);var r=Mr(e,n)[U];if(!e[Qn]){var o=Object.getPrototypeOf(e),i=new Set([].concat(z(e),z(o)));i.delete("constructor"),i.delete(U),E(o,Qn,i)}wt();try{e[Qn].forEach((function(e){return r.make_(e,!t||!(e in t)||t[e])}))}finally{_t()}return e}var er="splice",tr="update",nr={get:function(e,t){var n=e[U];return t===U?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(ir,t)?ir[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[U];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},rr=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new G(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Wn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Yn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&jr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),qn(this)){var i=Kn(this,{object:this.proxy_,type:er,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var l=0;l<i.length;l++)this.values_[e+n.length+l]=i[l];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=$n(this),i=o||r?{observableKind:"array",object:this.proxy_,type:tr,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&Xn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=$n(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:er,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&Xn(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(qn(this)){var i=Kn(this,{type:tr,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),l=0;l<a.length-1;l++)a[l]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function or(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p();var o=new rr(n,t,r,!1);x(o.values_,U,o);var i=new Proxy(o.values_,nr);if(o.proxy_=i,e&&e.length){var a=Ue(!0);o.spliceWithArray_(0,0,e),Ge(a)}return i}var ir={clear:function(){return this.splice(0)},replace:function(e){var t=this[U];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[U];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[U].spliceWithArray_(e,t,n)},push:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[U].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return pt.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){pt.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[U],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function ar(e,t){"function"==typeof Array.prototype[e]&&(ir[e]=t(e))}function lr(e){return function(){var t=this[U];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function sr(e){return function(t,n){var r=this,o=this[U];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function cr(e){return function(){var t=this,n=this[U];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}ar("concat",lr),ar("flat",lr),ar("includes",lr),ar("indexOf",lr),ar("join",lr),ar("lastIndexOf",lr),ar("slice",lr),ar("toString",lr),ar("toLocaleString",lr),ar("every",sr),ar("filter",sr),ar("find",sr),ar("findIndex",sr),ar("flatMap",sr),ar("forEach",sr),ar("map",sr),ar("some",sr),ar("reduce",cr),ar("reduceRight",cr);var ur,dr,hr=S("ObservableArrayAdministration",rr);function fr(e){return b(e)&&hr(e[U])}var pr={},vr="add",mr="delete";ur=Symbol.iterator,dr=Symbol.toStringTag;var gr,yr,br=function(){function e(e,t,n){var o=this;void 0===t&&(t=$),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[U]=pr,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,g(Map)||r(18),this.keysAtom_=W("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Be(!0,(function(){o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!pt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new We(this.has_(e),Y,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Zt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(qn(this)){var r=Kn(this,{type:n?tr:vr,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,qn(this)&&!Kn(this,{type:mr,object:this,name:e}))return!1;if(this.has_(e)){var n=$n(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:mr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return jn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Xn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var r=$n(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:tr,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&Xn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,jn((function(){var r,o=new We(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=$n(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:vr,object:this,name:e,newValue:t}:null;r&&Xn(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Yr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Yr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[ur]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return wr(e)&&(e=new Map(e)),jn((function(){w(e)?function(e){var t=Object.keys(e);if(!M)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):O(e)?(e.constructor!==Map&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;jn((function(){ot((function(){for(var t,n=D(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return jn((function(){for(var n,o=function(e){if(O(e)||wr(e))return e;if(Array.isArray(e))return new Map(e);if(w(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),i=new Map,a=!1,l=D(t.data_.keys());!(n=l()).done;){var s=n.value;if(!o.has(s))if(t.delete(s))a=!0;else{var c=t.data_.get(s);i.set(s,c)}}for(var u,d=D(o.entries());!(u=d()).done;){var h=u.value,f=h[0],p=h[1],v=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var m=t.data_.get(f);i.set(f,m),v||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=i.keys(),b=g.next(),_=y.next();!b.done;){if(b.value!==_.value){t.keysAtom_.reportChanged();break}b=g.next(),_=y.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Yn(this,e)},t.intercept_=function(e){return Wn(this,e)},k(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:dr,get:function(){return"Map"}}]),e}(),wr=S("ObservableMap",br),_r={};gr=Symbol.iterator,yr=Symbol.toStringTag;var Er=function(){function e(e,t,n){void 0===t&&(t=$),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[U]=_r,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,g(Set)||r(22),this.atom_=W(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;jn((function(){ot((function(){for(var t,n=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,qn(this)&&!Kn(this,{type:vr,object:this,newValue:e}))return this;if(!this.has(e)){jn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=$n(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:vr,object:this,newValue:e}:null;n&&Xn(this,r)}return this},t.delete=function(e){var t=this;if(qn(this)&&!Kn(this,{type:mr,object:this,oldValue:e}))return!1;if(this.has(e)){var n=$n(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:mr,object:this,oldValue:e}:null;return jn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Xn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Yr({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return Yr({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return xr(e)&&(e=new Set(e)),jn((function(){Array.isArray(e)||C(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return Yn(this,e)},t.intercept_=function(e){return Wn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[gr]=function(){return this.values()},k(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:yr,get:function(){return"Set"}}]),e}(),xr=S("ObservableSet",Er),Sr=Object.create(null),Or="remove",Cr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=fe),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new G("ObservableObject.keys"),this.isPlainObject_=w(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Xe)return n.set(t),!0;if(qn(this)){var r=Kn(this,{type:tr,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var o=$n(this),i=o?{type:tr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&Xn(this,i)}return!0},t.get_=function(e){return pt.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!pt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new We(e in this.target_,Y,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[j])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==c;){var i=l(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}Ar(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&Ar(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1);try{wt();var r=this.delete_(e);if(!r)return r;if(qn(this)){var o=Kn(this,{object:this.proxy_||this.target_,name:e,type:vr,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=N({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else s(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{_t()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1);try{wt();var o=this.delete_(e);if(!o)return o;if(qn(this)){var i=Kn(this,{object:this.proxy_||this.target_,name:e,type:vr,newValue:t});if(!i)return null;t=i.newValue}var a=Pr(e),l={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,l))return!1}else s(this.target_,e,l);var c=new We(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{_t()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1);try{wt();var r=this.delete_(e);if(!r)return r;if(qn(this)&&!Kn(this,{object:this.proxy_||this.target_,name:e,type:vr,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Pr(e),i={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else s(this.target_,e,i);this.values_.set(e,new Xe(t)),this.notifyPropertyAddition_(e,void 0)}finally{_t()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),!T(this.target_,e))return!0;if(qn(this)&&!Kn(this,{object:this.proxy_||this.target_,name:e,type:Or}))return null;try{var n,r;wt();var o,i=$n(this),a=this.values_.get(e),s=void 0;if(!a&&i&&(s=null==(o=l(this.target_,e))?void 0:o.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof We&&(s=a.value_),xt(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var c={type:Or,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&Xn(this,c)}}finally{_t()}return!0},t.observe_=function(e,t){return Yn(this,e)},t.intercept_=function(e){return Wn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=$n(this);if(o){var i=o?{type:vr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&Xn(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),z(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Mr(e,t){var n;if(T(e,U))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Cr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:pe(e):void 0}(t));return E(e,U,o),e}var zr=S("ObservableObjectAdministration",Cr);function Pr(e){return Sr[e]||(Sr[e]={get:function(){return this[U].getObservablePropValue_(e)},set:function(t){return this[U].setObservablePropValue_(e,t)}})}function Tr(e){return!!b(e)&&zr(e[U])}function Ar(e,t,n){var r;null==(r=e.target_[j])||delete r[n]}var Lr,kr,Nr=Vr(0),Ir=0,Rr=function(){};Lr=Rr,kr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Lr.prototype,kr):void 0!==Lr.prototype.__proto__?Lr.prototype.__proto__=kr:Lr.prototype=kr;var Hr=function(e,t,n){function r(t,n,r,o){var i;void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this;var a=new rr(r,n,o,!0);if(a.proxy_=H(i),x(H(i),U,a),t&&t.length){var l=Ue(!0);i.spliceWithArray(0,0,t),Ge(l)}return Object.defineProperty(H(i),"0",Nr),i}I(r,e);var o=r.prototype;return o.concat=function(){this[U].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return fr(e)?e.slice():e})))},o[n]=function(){var e=this,t=0;return Yr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},k(r,[{key:"length",get:function(){return this[U].getArrayLength_()},set:function(e){this[U].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Rr,Symbol.toStringTag,Symbol.iterator);function Vr(e){return{enumerable:!1,configurable:!0,get:function(){return this[U].get_(e)},set:function(t){this[U].set_(e,t)}}}function Dr(e){s(Hr.prototype,""+e,Vr(e))}function jr(e){if(e>Ir){for(var t=Ir;t<e+100;t++)Dr(t);Ir=e}}function Fr(e,t,n){return new Hr(e,t,n)}function Br(e,t){if("object"==typeof e&&null!==e){if(fr(e))return void 0!==t&&r(23),e[U].atom_;if(xr(e))return e.atom_;if(wr(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,Gr(e)),n}if(Tr(e)){if(!t)return r(26);var o=e[U].values_.get(t);return o||r(27,t,Gr(e)),o}if(q(e)||Ze(e)||Tt(e))return e}else if(g(e)&&Tt(e[U]))return e[U];r(28)}function Ur(e,t){return e||r(29),void 0!==t?Ur(Br(e,t)):q(e)||Ze(e)||Tt(e)||wr(e)||xr(e)?e:e[U]?e[U]:void r(24,e)}function Gr(e,t){var n;if(void 0!==t)n=Br(e,t);else{if(Ut(e))return e.name;n=Tr(e)||wr(e)||xr(e)?Ur(e):Br(e)}return n.name_}Object.entries(ir).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&E(Hr.prototype,t,n)})),jr(1e3);var qr=c.toString;function Wr(e,t,n){return void 0===n&&(n=-1),Kr(e,t,n)}function Kr(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=qr.call(e);if(a!==qr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=$r(e),t=$r(t);var l="[object Array]"===a;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,c=t.constructor;if(s!==c&&!(g(s)&&s instanceof s&&g(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),l){if((u=e.length)!==t.length)return!1;for(;u--;)if(!Kr(e[u],t[u],n-1,r,o))return!1}else{var d,h=Object.keys(e);if(u=h.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!T(t,d=h[u])||!Kr(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function $r(e){return fr(e)?e.slice():O(e)||wr(e)||C(e)||xr(e)?Array.from(e.entries()):e}function Yr(e){return e[Symbol.iterator]=Xr,e}function Xr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===i()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:At,extras:{getDebugName:Gr},$mobx:U})},11500:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createDemoApp=t.createPolotnoApp=t.PolotnoApp=t.WorkspaceWrap=t.SidePanelWrap=t.PolotnoContainer=void 0;const o=r(n(67294)),i=r(n(20745)),a=r(n(62982)),l=r(n(73967)),s=r(n(90083)),c=r(n(14096)),u=n(66),d=r(n(38165)),h=n(84077),f=n(78466);function p({container:e,key:n,showCredit:r}){const a=(0,f.createStore)({key:n,showCredit:r}),l=i.default.createRoot(e);return l.render(o.default.createElement(t.PolotnoApp,{store:a})),a.addPage(),a.history.clear(),{store:a,root:l}}t.PolotnoContainer=(0,d.default)("div")`
|
||
display: flex;
|
||
height: 100%;
|
||
width: 100%;
|
||
max-height: 100vh;
|
||
|
||
${(0,h.mobileStyle)("\n flex-direction: column-reverse;\n ")}
|
||
`,t.SidePanelWrap=(0,d.default)("div")`
|
||
height: 100%;
|
||
width: auto;
|
||
max-height: 100vh;
|
||
|
||
${(0,h.mobileStyle)("\n height: auto;\n width: 100vw;\n ")}
|
||
`,t.WorkspaceWrap=(0,d.default)("div")`
|
||
display: flex;
|
||
height: 100%;
|
||
width: 100%;
|
||
flex: 1;
|
||
flex-direction: column;
|
||
position: relative;
|
||
`,t.PolotnoApp=({store:e,style:n})=>o.default.createElement(t.PolotnoContainer,{className:"polotno-app-container",style:n},o.default.createElement(t.SidePanelWrap,null,o.default.createElement(s.default,{store:e})),o.default.createElement(t.WorkspaceWrap,null,o.default.createElement(l.default,{store:e,components:{ActionControls:()=>o.default.createElement(u.DownloadButton,{store:e})}}),o.default.createElement(a.default,{store:e}),o.default.createElement(c.default,{store:e}))),t.createPolotnoApp=p,t.createDemoApp=p},70123:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundPanel=void 0;const i=o(n(67294)),a=n(50242),l=n(50757),s=o(n(69708)),c=n(57299),u=n(25883),d=o(n(38165)),h=n(13507),f=n(55609),p=n(89111),v=["white","rgb(82, 113, 255)","rgb(255, 145, 77)","rgb(126, 217, 87)","rgb(255, 222, 89)","rgb(203, 108, 230)","rgb(0, 0, 0, 0)"],m=(0,d.default)("div")`
|
||
display: inline-block;
|
||
width: 30px;
|
||
height: 30px;
|
||
border-radius: 2px;
|
||
box-shadow: 0 0 2px rgba(16, 22, 26, 0.3);
|
||
cursor: pointer;
|
||
`,g=e=>{var{children:t,color:n}=e,o=r(e,["children","color"]);return i.default.createElement(m,Object.assign({},o,{style:Object.assign(Object.assign({},o.style),{background:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 8 8'%3E%3Cg fill='rgba(112, 112, 116, 1)' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\")"})}),i.default.createElement("div",{style:{width:"100%",height:"100%",background:n}},t))};t.BackgroundPanel=(0,a.observer)((({store:e})=>{var t,n;const{setQuery:r,loadMore:o,isReachingEnd:a,data:d,isLoading:m,error:y}=(0,f.useInfiniteAPI)({defaultQuery:"gradient",getAPI:({page:e,query:t})=>(0,p.unsplashList)({page:e,query:t})});return i.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},i.default.createElement("div",{style:{display:"flex",justifyContent:"space-around",paddingBottom:"10px"}},i.default.createElement(c.ColorPicker,{value:(null===(t=e.activePage)||void 0===t?void 0:t.background)||"white",onChange:t=>{var n;null===(n=e.activePage)||void 0===n||n.set({background:t})},store:e},i.default.createElement(g,{color:null===(n=e.activePage)||void 0===n?void 0:n.background,style:{fontSize:"30px"}},i.default.createElement(s.default,{style:{mixBlendMode:"difference"}}))),v.map((t=>i.default.createElement(g,{key:t,color:t,onClick:()=>{var n;null===(n=e.activePage)||void 0===n||n.set({background:t})}})))),i.default.createElement(l.InputGroup,{leftIcon:"search",placeholder:(0,h.t)("sidePanel.searchPlaceholder"),onChange:e=>{r(e.target.value)},style:{marginBottom:"20px"}}),i.default.createElement("p",{style:{textAlign:"center"}},"Photos by"," ",i.default.createElement("a",{href:"https://unsplash.com/",target:"_blank"},"Unsplash")),i.default.createElement(u.ImagesGrid,{images:null==d?void 0:d.map((e=>e.results)).flat().filter(Boolean),isLoading:m,getPreview:e=>e.urls.small,loadMore:!a&&o,onSelect:async t=>{var n;fetch((0,p.unsplashDownload)(t.id)),null===(n=e.activePage)||void 0===n||n.set({background:t.urls.regular})},error:y,getCredit:e=>i.default.createElement("span",null,"Photo by"," ",i.default.createElement("a",{href:`https://unsplash.com/@${e.user.username}?utm_source=polotno&utm_medium=referral`,target:"_blank"},e.user.name)," ","on"," ",i.default.createElement("a",{href:"https://unsplash.com/?utm_source=polotno&utm_medium=referral",target:"_blank"},"Unsplash"))}))}))},72250:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ElementsPanel=t.Shapes=t.NounprojectPanel=void 0;const o=r(n(67294)),i=n(67090),a=n(50757),l=n(25883),s=r(n(92898)),c=n(9246),u=n(34824),d=r(n(38165)),h=n(13507),f=n(55609),p=n(89111),v=n(49202),m=async e=>{const t=await fetch(`${p.API}/download-nounproject?id=${e}&KEY=${(0,v.getKey)()}`),n=await t.text();return await(0,u.svgToURL)(n)},g=(0,d.default)("div")`
|
||
height: 100%;
|
||
overflow: hidden;
|
||
|
||
.bp4-dark & img {
|
||
filter: invert(1);
|
||
}
|
||
`;t.NounprojectPanel=({store:e,query:t})=>{const{data:n,isLoading:r,loadMore:a,setQuery:s}=(0,f.useInfiniteAPI)({getAPI:({page:e,query:t})=>`${p.API}/get-nounproject?query=${t}&offset=${20*(e-1)}&KEY=${(0,v.getKey)()}`,getSize:e=>1});return o.default.useEffect((()=>{s(t)}),[t]),o.default.createElement(g,null,o.default.createElement(l.ImagesGrid,{shadowEnabled:!1,images:null==n?void 0:n.map((e=>e.icons)).flat(),getPreview:e=>e.preview_url_84,isLoading:r,onSelect:async(t,n,r)=>{if(r&&"image"===r.type&&r.contentEditable){const e=await m(t.id);r.set({clipSrc:e})}else e.history.transaction((async()=>{var r;const o=((null==n?void 0:n.x)||e.width/2)-100,a=((null==n?void 0:n.y)||e.height/2)-100,l=null===(r=e.activePage)||void 0===r?void 0:r.addElement({type:"svg",width:200,height:200,x:o,y:a}),s=await m(t.id);(0,i.isAlive)(l)&&await l.set({src:s})}))},rowsNumber:4,loadMore:a}))};const y=[{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path stroke="currentColor" strokeWidth="4" d="M 1 8 L 30 8"></path>
|
||
</svg>
|
||
`,data:{}},{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path stroke="currentColor" strokeWidth="4" stroke-dasharray="4 2" d="M 1 8 L 30 8"></path>
|
||
</svg>
|
||
`,data:{dash:[4,2]}},{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path stroke="currentColor" strokeWidth="4" stroke-dasharray="1 1" d="M 1 8 L 30 8"></path>
|
||
</svg>
|
||
`,data:{dash:[1,1]}},{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="2"
|
||
d="M 25 6 L 29 8 L 25 10"
|
||
fill="none"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="4" d="M 1 8 L 29 8"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
</svg>
|
||
`,data:{endHead:"arrow"}},{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="2"
|
||
d="M 25 6 L 29 8 L 25 10 Z"
|
||
fill="currentColor"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="4" d="M 1 8 L 29 8"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
<circle cx="3" cy="8" r="2" fill="currentColor"></circle>
|
||
</svg>
|
||
`,data:{startHead:"circle",endHead:"arrow"}},{preview:u.svgToURL`
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="16">
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="2"
|
||
d="M 1 6 L 5 6 L 5 10 L 1 10 Z"
|
||
fill="currentColor"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="4" d="M 1 8 L 29 8"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
stroke-dasharray="2 1"
|
||
></path>
|
||
<path
|
||
stroke="currentColor"
|
||
strokeWidth="4" d="M 29 6 L 29 10"
|
||
strokeLinejoin="round"
|
||
strokeLinecap="round"
|
||
></path>
|
||
</svg>
|
||
`,data:{startHead:"circle",endHead:"bar",dash:[2,1]}}],b=({store:e})=>o.default.createElement(l.ImagesGrid,{shadowEnabled:!1,rowsNumber:3,images:y,getPreview:e=>e.preview,itemHeight:50,isLoading:!1,onSelect:async(t,n,r)=>{const o=e.activePage.computedWidth/3;e.activePage.addElement(Object.assign({type:"line",x:n?n.x:e.activePage.computedWidth/2-o/2,y:n?n.y:e.activePage.computedHeight/2,width:o},t.data))}}),w=({store:e})=>{const{data:t}=(0,s.default)((0,p.polotnoShapesList)(),f.fetcher),n=Math.ceil((null==t?void 0:t.items.length)/3)||1;return o.default.createElement("div",{style:{height:110*n+"px"}},o.default.createElement(l.ImagesGrid,{shadowEnabled:!1,rowsNumber:3,images:null==t?void 0:t.items,getPreview:e=>e.url,isLoading:!t,itemHeight:100,onSelect:async(t,n,r)=>{var o;const{width:i,height:a}=await(0,c.getImageSize)(t.url),l=await(0,u.urlToBase64)(t.url);if(r&&"image"===r.type&&r.contentEditable)return void r.set({clipSrc:l});const s=((null==n?void 0:n.x)||e.width/2)-i/2,d=((null==n?void 0:n.y)||e.height/2)-a/2;null===(o=e.activePage)||void 0===o||o.addElement({type:"svg",width:i,height:a,x:s,y:d,src:l,keepRatio:!1})}}))},_=(0,d.default)("div")`
|
||
height: 220px;
|
||
.bp4-dark & img {
|
||
filter: invert(1);
|
||
}
|
||
`;t.Shapes=({store:e})=>o.default.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",overflow:"auto"}},o.default.createElement("p",null,(0,h.t)("sidePanel.lines")),o.default.createElement(_,null,o.default.createElement(b,{store:e})),o.default.createElement("p",null,(0,h.t)("sidePanel.shapes")),o.default.createElement(w,{store:e})),t.ElementsPanel=({store:e})=>{const n=o.default.useRef(),[r,i]=o.default.useState(""),[l,s]=o.default.useState(r);o.default.useEffect((()=>(n.current=setTimeout((()=>{s(r)}),500),()=>{clearTimeout(n.current)})),[r]);const c=!!l;return o.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},o.default.createElement(a.InputGroup,{leftIcon:"search",placeholder:(0,h.t)("sidePanel.searchPlaceholder"),onChange:e=>{i(e.target.value)},style:{marginBottom:"20px"}}),c&&o.default.createElement(t.NounprojectPanel,{query:l,store:e}),!c&&o.default.createElement(t.Shapes,{store:e}))}},25883:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImagesGrid=void 0;const o=r(n(67294)),i=r(n(38165)),a=n(50757),l=n(13507),s=n(61450),c=n(84077),u=(0,i.default)("div",o.default.forwardRef)`
|
||
height: 100%;
|
||
overflow: auto;
|
||
`,d=(0,i.default)("div")`
|
||
width: 33%;
|
||
float: left;
|
||
`,h=(0,i.default)("div")`
|
||
padding: 5px;
|
||
width: 100%;
|
||
&:hover .credit {
|
||
opacity: 1;
|
||
}
|
||
${(0,c.mobileStyle)("\n .credit {\n opacity: 1;\n }\n ")}
|
||
`,f=(0,i.default)("div")`
|
||
border-radius: 5px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
box-shadow: ${e=>e["data-shadowenabled"]?"0 0 5px rgba(16, 22, 26, 0.3)":""};
|
||
`,p=(0,i.default)("img")`
|
||
width: 100%;
|
||
cursor: pointer;
|
||
display: block;
|
||
`,v=(0,i.default)("div")`
|
||
position: absolute;
|
||
bottom: 0px;
|
||
left: 0px;
|
||
font-size: 10px;
|
||
padding: 3px;
|
||
padding-top: 10px;
|
||
text-align: center;
|
||
background: linear-gradient(
|
||
to bottom,
|
||
rgba(0, 0, 0, 0),
|
||
rgba(0, 0, 0, 0.4),
|
||
rgba(0, 0, 0, 0.6)
|
||
);
|
||
width: 100%;
|
||
opacity: 0;
|
||
color: white;
|
||
`,m=(0,i.default)("p")`
|
||
text-align: center;
|
||
padding: 30px;
|
||
`,g=({url:e,credit:t,onSelect:n,crossOrigin:r,shadowEnabled:i,itemHeight:a,className:l,onLoad:c})=>{const u=null==i||i;return o.default.createElement(h,{onClick:()=>{n()},className:"polotno-close-panel"},o.default.createElement(f,{"data-shadowenabled":u},o.default.createElement(p,{className:l,style:{height:null!=a?a:"auto"},src:e,draggable:!0,crossOrigin:r,onDragStart:()=>{(0,s.registerNextDomDrop)((({x:e,y:t},r,o)=>{n({x:e,y:t},r,o)}))},onDragEnd:()=>{(0,s.registerNextDomDrop)(null)},onLoad:c}),t&&o.default.createElement(v,{className:"credit"},t)))};t.ImagesGrid=({images:e,onSelect:t,isLoading:n,getPreview:r,loadMore:i,getCredit:s,getImageClassName:c,rowsNumber:h,crossOrigin:f="anonymous",shadowEnabled:p,itemHeight:v,error:y})=>{const b=h||2,w=o.default.useRef(null),_=[];for(var E=0;E<b;E++)_.push((e||[]).filter(((e,t)=>t%b===E)));const x=o.default.useRef(null),S=()=>{var t,r,o;const a=(null===(t=w.current)||void 0===t?void 0:t.scrollHeight)>(null===(r=w.current)||void 0===r?void 0:r.offsetHeight)+5,l=e&&e.length,s=Array.from(null===(o=w.current)||void 0===o?void 0:o.querySelectorAll("img")).every((e=>e.complete));!a&&i&&!n&&l&&s&&(x.current||(x.current=window.setTimeout((()=>{x.current=null,i&&i()}),100)))},O=()=>{S()};return o.default.useEffect((()=>(S(),()=>{window.clearTimeout(x.current),x.current=null})),[e&&e.length,n]),o.default.createElement(u,{onScroll:e=>{const t=e.target.scrollHeight-e.target.scrollTop-e.target.offsetHeight;i&&!n&&t<200&&i()},ref:w},_.map(((e,i)=>o.default.createElement(d,{key:i,style:{width:100/b+"%"}},e.map(((e,n)=>o.default.createElement(g,{url:r(e),onSelect:(n,r,o)=>t(e,n,r,o),key:n,credit:s&&s(e),crossOrigin:f,shadowEnabled:p,itemHeight:v,className:c&&c(e),onLoad:O}))),n&&o.default.createElement("div",{style:{padding:"30px"}},o.default.createElement(a.Spinner,null))))),!n&&(!e||!e.length)&&!y&&o.default.createElement(m,null,(0,l.t)("sidePanel.noResults")),y&&o.default.createElement(m,null,(0,l.t)("sidePanel.error")))}},41929:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(90083),t)},91201:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LayersPanel=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(13507),s=n(16941),c=n(7415),u=(0,i.observer)((({element:e,store:t})=>{const n=t.selectedElements.indexOf(e)>=0,[r,i]=o.default.useState(!1),s=()=>i(!1),u=r?e.name:e.name||(0,c.removeTags)(e.text)||`#${e.id}`;return o.default.createElement(a.Card,{onMouseDown:n=>{const r=n.ctrlKey||n.metaKey||n.shiftKey?[...t.selectedElementsIds]:[];r.indexOf(e.id)<0&&r.push(e.id),t.selectElements(r)},style:{padding:"5px",margin:"0px 1px 5px 1px",backgroundColor:n?"rgb(0, 161, 255, 0.2)":"",display:e.selectable?"auto":"none"}},o.default.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},o.default.createElement("div",{style:{lineHeight:"30px",display:"flex"}},o.default.createElement("div",{className:"drag-handle",style:{display:"flex",justifyContent:"center",alignItems:"center",cursor:"move",height:"30px"}},o.default.createElement(a.Icon,{icon:"drag-handle-vertical"})),o.default.createElement("div",{style:{padding:"0 7px",opacity:.5,width:"55px"}},(0,l.t)("sidePanel.layerTypes."+e.type)),o.default.createElement("div",{style:{maxWidth:"142px"}},o.default.createElement(a.EditableText,{minWidth:130,placeholder:(0,l.t)("sidePanel.namePlaceholder"),value:u,maxLines:1,onEdit:()=>i(!0),onCancel:s,onConfirm:s,onChange:t=>{e.set({name:t})}}))),o.default.createElement("div",null,o.default.createElement(a.Button,{minimal:!0,icon:(null==e?void 0:e.visible)?"eye-open":"eye-off",onClick:()=>{e.set({visible:!e.visible})}}),o.default.createElement(a.Button,{minimal:!0,icon:(null==e?void 0:e.locked)?"lock":"unlock",onClick:()=>{e.set({draggable:e.locked,contentEditable:e.locked,styleEditable:e.locked,resizable:e.locked})}}),o.default.createElement(a.Button,{icon:"trash",minimal:!0,disabled:!e.removable,onClick:()=>{t.deleteElements([e.id])},style:{marginLeft:"auto"}}))))}));t.LayersPanel=(0,i.observer)((({store:e})=>{var t;const n=(null===(t=e.activePage)||void 0===t?void 0:t.children.map((e=>({id:e.id}))))||[];return n.reverse(),o.default.createElement("div",{style:{height:"100%",overflow:"auto"}},o.default.createElement("div",{style:{height:"40px",paddingTop:"5px"}},(0,l.t)("sidePanel.layersTip")),o.default.createElement("div",null,0===n.length?o.default.createElement("div",null,(0,l.t)("sidePanel.noLayers")):null,o.default.createElement(s.ReactSortable,{list:n,setList:t=>{t.forEach((({id:n},r)=>{var o,i;const a=t.length-r-1,l=e.getElementById(n);(null===(o=e.activePage)||void 0===o?void 0:o.children.indexOf(l))!==a&&(null===(i=e.activePage)||void 0===i||i.setElementZIndex(l.id,a))}))},direction:"horizontal"},n.map((({id:t})=>{const n=e.getElementById(t);return o.default.createElement(u,{element:n,store:e,key:t})})))))}))},7874:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PagesPanel=void 0;const o=r(n(67294)),i=n(50242),a=n(25883);t.PagesPanel=(0,i.observer)((({store:e})=>{const[t,n]=o.default.useState({}),r=()=>{const t={};e.pages.forEach((n=>{const r=e.toDataURL({pageId:n.id,pixelRatio:.2});t[n.id]=r})),n(t)};return o.default.useEffect((()=>{const e=setInterval(r,1e3);return()=>clearInterval(e)}),[]),o.default.createElement("div",{style:{height:"100%"}},o.default.createElement(a.ImagesGrid,{images:e.pages.slice(),getPreview:n=>t[n.id]||e.pages.indexOf(n),onSelect:async t=>{e.selectPage(t.id)},isLoading:!1,rowsNumber:2}))}))},40826:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PhotosPanel=void 0;const o=r(n(67294)),i=n(50757),a=n(25883),l=n(9246),s=n(55609),c=n(13507),u=n(89111),d=n(9246);t.PhotosPanel=({store:e})=>{const{setQuery:t,loadMore:n,isReachingEnd:r,data:h,isLoading:f,error:p}=(0,s.useInfiniteAPI)({defaultQuery:"",getAPI:({page:e,query:t})=>(0,u.unsplashList)({page:e,query:t})});return o.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},o.default.createElement(i.InputGroup,{leftIcon:"search",placeholder:(0,c.t)("sidePanel.searchPlaceholder"),onChange:e=>{t(e.target.value)},style:{marginBottom:"20px"}}),o.default.createElement("p",{style:{textAlign:"center"}},"Photos by"," ",o.default.createElement("a",{href:"https://unsplash.com/",target:"_blank"},"Unsplash")),o.default.createElement(a.ImagesGrid,{images:null==h?void 0:h.map((e=>e.results)).flat().filter(Boolean),getPreview:e=>e.urls.small,onSelect:async(t,n,r)=>{var o;if(fetch((0,u.unsplashDownload)(t.id)),r&&"svg"===r.type&&r.contentEditable)return void r.set({maskSrc:t.urls.regular});const{width:i,height:a}=await(0,l.getImageSize)(t.urls.small);if(r&&"image"===r.type&&r.contentEditable){const e=(0,d.getCrop)(r,{width:i,height:a});return void r.set(Object.assign({src:t.urls.regular},e))}const s=((null==n?void 0:n.x)||e.width/2)-i/2,c=((null==n?void 0:n.y)||e.height/2)-a/2;null===(o=e.activePage)||void 0===o||o.addElement({type:"image",src:t.urls.regular,width:i,height:a,x:s,y:c})},isLoading:f,error:p,loadMore:!r&&n,getCredit:e=>o.default.createElement("span",null,"Photo by"," ",o.default.createElement("a",{href:`https://unsplash.com/@${e.user.username}?utm_source=polotno&utm_medium=referral`,target:"_blank"},e.user.name)," ","on"," ",o.default.createElement("a",{href:"https://unsplash.com/?utm_source=polotno&utm_medium=referral",target:"_blank"},"Unsplash"))}))}},90083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SidePanel=t.DEFAULT_SECTIONS=t.SizeSection=t.LayersSection=t.PagesSection=t.BackgroundSection=t.UploadSection=t.ElementsSection=t.PhotosSection=t.TextSection=t.TemplatesSection=t.ImagesGrid=t.SectionTab=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=r(n(38165)),s=n(84077),c=r(n(67486)),u=r(n(85403)),d=n(13507),h=n(92861);var f=n(92861);Object.defineProperty(t,"SectionTab",{enumerable:!0,get:function(){return f.SectionTab}});var p=n(25883);Object.defineProperty(t,"ImagesGrid",{enumerable:!0,get:function(){return p.ImagesGrid}});const v=n(8986),m=n(96042),g=n(57828),y=n(40826),b=n(70123),w=n(72250),_=n(7874),E=n(47804),x=n(91201);t.TemplatesSection={name:"templates",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.templates")},e),o.default.createElement(a.Icon,{icon:"control"})))),Panel:({store:e})=>o.default.createElement(E.TemplatesPanel,{store:e})},t.TextSection={name:"text",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.text")},e),o.default.createElement(a.Icon,{icon:"new-text-box"})))),Panel:({store:e})=>o.default.createElement(v.TextPanel,{store:e})},t.PhotosSection={name:"photos",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.photos")},e),o.default.createElement(a.Icon,{icon:"media"})))),Panel:({store:e})=>o.default.createElement(y.PhotosPanel,{store:e})},t.ElementsSection={name:"elements",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.elements"),iconSize:16},e),o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(c.default,null))))),Panel:({store:e})=>o.default.createElement(w.ElementsPanel,{store:e})},t.UploadSection={name:"upload",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.upload")},e),o.default.createElement(a.Icon,{icon:"cloud-upload"})))),Panel:({store:e})=>o.default.createElement(g.UploadPanel,{store:e})},t.BackgroundSection={name:"background",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.background")},e),o.default.createElement(a.Icon,{icon:"layout-grid"})))),Panel:({store:e})=>o.default.createElement(b.BackgroundPanel,{store:e})},t.PagesSection={name:"pages",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.pages")},e),o.default.createElement(u.default,null)))),Panel:({store:e})=>o.default.createElement(_.PagesPanel,{store:e}),visibleInList:!1},t.LayersSection={name:"layers",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.layers")},e),o.default.createElement(a.Icon,{icon:"layers"})))),Panel:({store:e})=>o.default.createElement(x.LayersPanel,{store:e})},t.SizeSection={name:"size",Tab:(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.resize")},e),o.default.createElement(a.Icon,{icon:"fullscreen"})))),Panel:({store:e})=>o.default.createElement(m.SizePanel,{store:e})},(0,i.observer)((e=>o.default.createElement(h.SectionTab,Object.assign({name:(0,d.t)("sidePanel.more")},e),o.default.createElement(a.Icon,{icon:"more"})))),t.DEFAULT_SECTIONS=[t.TemplatesSection,t.TextSection,t.PhotosSection,t.ElementsSection,t.UploadSection,t.BackgroundSection,t.LayersSection,t.SizeSection];const S=(0,l.default)("div")`
|
||
display: flex;
|
||
height: 100% !important;
|
||
padding: 0px !important;
|
||
position: relative;
|
||
|
||
${(0,s.mobileStyle)("\n height: auto !important;\n width: 100%;\n position: relative;\n ")}
|
||
`,O=(0,l.default)("div",o.default.forwardRef)`
|
||
@media screen and (min-width: 501px) {
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
min-width: 72px;
|
||
}
|
||
${(0,s.mobileStyle)("\n width: 100%;\n overflow: auto;\n ")}
|
||
`,C=(0,l.default)("div",o.default.forwardRef)`
|
||
display: flex;
|
||
flex-direction: column;
|
||
|
||
${(0,s.mobileStyle)("\n flex-direction: row;\n min-width: min-content;\n ")}
|
||
`,M=(0,l.default)("div")`
|
||
padding: 10px 10px 0px 10px !important;
|
||
height: 100% !important;
|
||
|
||
&.bp4-navbar {
|
||
width: 350px;
|
||
}
|
||
|
||
&.bp4-navbar.collapsed {
|
||
width: 0px;
|
||
}
|
||
|
||
${(0,s.mobileStyle)("\n &.bp4-navbar {\n position: absolute;\n bottom: 54px;\n z-index: 100;\n height: 50vh !important;\n width: 100%;\n }\n ")}
|
||
`,z=(0,l.default)("div")`
|
||
display: none;
|
||
|
||
${(0,s.mobileStyle)("\n position: absolute;\n bottom: 72px;\n display: block;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.1);\n ")}
|
||
`,P=(0,l.default)("div")`
|
||
position: absolute;
|
||
right: -14px;
|
||
top: 50%;
|
||
height: 96px;
|
||
width: 15px;
|
||
fill: white;
|
||
cursor: pointer;
|
||
z-index: 10;
|
||
|
||
.bp4-dark & {
|
||
right: -13px;
|
||
}
|
||
|
||
& .stroke {
|
||
stroke: rgba(0, 0, 0, 0.3);
|
||
fill: none;
|
||
}
|
||
|
||
& .fill {
|
||
fill: white;
|
||
}
|
||
|
||
.bp4-dark & .fill {
|
||
fill: #383e47;
|
||
}
|
||
|
||
& .pointer {
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%) scaleY(2);
|
||
font-size: 0.5rem;
|
||
color: rgba(171, 179, 191, 0.6);
|
||
}
|
||
|
||
.bp4-dark & .pointer {
|
||
color: rgba(171, 179, 191, 0.6);
|
||
}
|
||
|
||
&:hover .pointer {
|
||
color: black;
|
||
}
|
||
|
||
.bp4-dark &:hover .pointer {
|
||
color: white;
|
||
}
|
||
|
||
${(0,s.mobileStyle)("\n display: none;\n ")}
|
||
`,T=({onClick:e})=>o.default.createElement(P,{onClick:e},o.default.createElement("svg",{width:"15",height:"96",viewBox:"0 0 16 96",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{className:"fill stroke",d:"M 1 7 C 2 9 4 10 7.2 13.28 C 7.45 13.4625 7.6 13.6 7.7 13.8048 L 7.8 13.8 C 9.8 15.8 11.6 17.6 12.9 19.7 C 14 21.6 14.7 23.9 14.9 27 H 15 V 68 C 15 71.7 14.3 74.3 13 76.6 C 11.7 78.8 9.9 80.5 7.8 82.6344 L 7.79 82.6 C 7.6 82.8 7.4507 83 7.2729 83.2127 C 3.9102 86.5228 2 87 1 90"})),o.default.createElement("div",{className:"pointer"},"<"));t.SidePanel=(0,i.observer)((({store:e,sections:n,defaultSection:r})=>{var i;o.default.useLayoutEffect((()=>{e.openSidePanel(r||"photos")}),[]);const a=n||t.DEFAULT_SECTIONS,l=a.filter((e=>{var t;return null===(t=e.visibleInList)||void 0===t||t})),c=null===(i=a.find((t=>t.name===e.openedSidePanel)))||void 0===i?void 0:i.Panel,u=(0,s.useMobile)();o.default.useEffect((()=>{u?e.openSidePanel(""):e.openSidePanel(r||"photos")}),[u]);const d=o.default.useRef(null);return o.default.createElement(S,{className:"bp4-navbar polotno-side-panel"+(e.openedSidePanel?"":" collapsed")},o.default.createElement(O,{ref:d,className:"polotno-side-tabs-container"},o.default.createElement(C,{className:"polotno-side-tabs-inner"},l.map((({name:t,Tab:n})=>o.default.createElement(n,{key:t,active:t===e.openedSidePanel,onClick:()=>{e.openSidePanel(t)}}))))),c&&o.default.createElement(M,{className:"bp4-navbar polotno-panel-container",onClick:t=>{const n=t.target.closest(".polotno-close-panel"),r=t.target.closest(".polotno-mobile");n&&(u||r)&&e.openSidePanel("")}},o.default.createElement(c,{store:e})),e.openedSidePanel&&o.default.createElement(z,{onClick:()=>e.openSidePanel("")}),e.openedSidePanel&&o.default.createElement(T,{onClick:()=>e.openSidePanel("")}))})),t.default=t.SidePanel},96042:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SizePanel=t.DEFAULT_SIZES=void 0;const i=o(n(67294)),a=n(50242),l=n(50757),s=n(49346),c=n(13507),u=o(n(18117)),d=o(n(53329)),h=o(n(45970)),f=o(n(55109)),p=o(n(51440)),v=o(n(71136)),m=n(6392);t.DEFAULT_SIZES=[["Instagram Post",1080,1080,"px",i.default.createElement(d.default,null)],["Instagram Story",1080,1920,"px",i.default.createElement(d.default,null)],["Instagram Ad",1080,1080,"px",i.default.createElement(d.default,null)],["Facebook Post",940,788,"px",i.default.createElement(u.default,null)],["Facebook Cover",851,315,"px",i.default.createElement(u.default,null)],["Facebook Ad",1200,628,"px",i.default.createElement(u.default,null)],["Youtube Thumbnail",1280,720,"px",i.default.createElement(h.default,null)],["Youtube Channel",2560,1440,"px",i.default.createElement(h.default,null)],["Full HD",1920,1080,"px",i.default.createElement(f.default,null)],["Invitation",14,14,"cm",i.default.createElement(p.default,null)],["A4",21,29.7,"cm",i.default.createElement(p.default,null)],["Business card",3.5,2,"in",i.default.createElement(v.default,null)]];const g=e=>{var{value:t,onChange:n}=e,o=r(e,["value","onChange"]);const[a,s]=i.default.useState(t),c=i.default.useRef(t);c.current=a;const u=()=>{n(Math.max(10,c.current))};return i.default.useEffect((()=>{s(t)}),[t]),i.default.createElement(l.NumericInput,Object.assign({},o,{value:a,onValueChange:e=>{Number.isNaN(e)||s(e)},onBlur:u,onKeyDown:e=>{"Enter"===e.key&&u()}}))};t.SizePanel=(0,a.observer)((({store:e})=>{var n,r;const[o,a]=i.default.useState(!0),[u,d]=i.default.useState(e.width),[h,f]=i.default.useState(e.height),p=(null===(n=e.activePage)||void 0===n?void 0:n.computedWidth)||e.width;i.default.useEffect((()=>{d((0,m.pxToUnitRounded)({px:p,unit:e.unit,dpi:e.dpi}))}),[p,e.unit,e.dpi]);const v=(null===(r=e.activePage)||void 0===r?void 0:r.computedHeight)||e.height;return i.default.useEffect((()=>{f((0,m.pxToUnitRounded)({px:v,unit:e.unit,dpi:e.dpi}))}),[v,e.unit,e.dpi]),i.default.createElement("div",{style:{height:"100%",overflow:"auto",paddingRight:"3px"}},i.default.createElement("div",{style:{paddingBottom:"15px"}},i.default.createElement(l.Switch,{checked:o,onChange:e=>{a(e.target.checked)},alignIndicator:l.Alignment.RIGHT,style:{marginTop:"8px",marginBottom:"25px"}},(0,c.t)("sidePanel.useMagicResize")," ",i.default.createElement(s.Tooltip2,{content:(0,c.t)("sidePanel.magicResizeDescription"),position:l.Position.BOTTOM},i.default.createElement(l.Icon,{icon:"help"}))),i.default.createElement("div",{style:{width:"50%",display:"inline-block"}},(0,c.t)("sidePanel.width")," (",e.unit,")"),i.default.createElement("div",{style:{width:"50%",display:"inline-block"}},i.default.createElement(g,{fill:!0,value:u,onChange:e=>{e||(e=10),d(e)},min:10,max:1e4,selectAllOnFocus:!0,minorStepSize:.01}))),i.default.createElement("div",{style:{paddingBottom:"15px"}},i.default.createElement("div",{style:{width:"50%",display:"inline-block"}},(0,c.t)("sidePanel.height")," (",e.unit,")"),i.default.createElement("div",{style:{width:"50%",display:"inline-block"}},i.default.createElement(g,{fill:!0,value:h,onChange:e=>{e||(e=10),f(e)},min:10,max:1e4,selectAllOnFocus:!0,minorStepSize:.01}))),i.default.createElement("div",{style:{paddingBottom:"15px"}},i.default.createElement(l.Button,{fill:!0,intent:"primary",onClick:()=>{var t,n,r,i;const a=(0,m.unitToPx)({unitVal:u,dpi:e.dpi,unit:e.unit}),l=(0,m.unitToPx)({unitVal:h,dpi:e.dpi,unit:e.unit});e.setSize(a,l,o),"auto"!==(null===(t=e.activePage)||void 0===t?void 0:t.width)&&(null===(n=e.activePage)||void 0===n||n.set({width:a})),"auto"!==(null===(r=e.activePage)||void 0===r?void 0:r.height)&&(null===(i=e.activePage)||void 0===i||i.set({height:l}))}},(0,c.t)("sidePanel.resize"))),t.DEFAULT_SIZES.map((([t,n,r,a,s])=>i.default.createElement(l.Button,{key:t,style:{width:"100%",paddingTop:"10px",paddingBottom:"10px",fontSize:"16px"},minimal:!0,onClick:()=>{var t,i,l,s;const c=(0,m.unitToPx)({unitVal:n,dpi:e.dpi,unit:a}),u=(0,m.unitToPx)({unitVal:r,dpi:e.dpi,unit:a});e.setUnit({unit:a,dpi:e.dpi}),e.setSize(c,u,o),"auto"!==(null===(t=e.activePage)||void 0===t?void 0:t.width)&&(null===(i=e.activePage)||void 0===i||i.set({width:c})),"auto"!==(null===(l=e.activePage)||void 0===l?void 0:l.height)&&(null===(s=e.activePage)||void 0===s||s.set({height:u}))},icon:s,alignText:"left"},t,i.default.createElement("span",{style:{fontSize:"0.7rem",paddingLeft:"20px",float:"right",lineHeight:"1.1rem"}},n," x ",r," ",a)))))}))},92861:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SectionTab=void 0;const o=r(n(67294)),i=r(n(38165)),a=n(84077),l=(0,i.default)("div")`
|
||
width: 100%;
|
||
height: 72px;
|
||
padding-top: 15px;
|
||
text-align: center;
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
|
||
.bp4-dark &:hover,
|
||
.bp4-dark &.active {
|
||
color: #48aff0 !important;
|
||
}
|
||
|
||
&:hover,
|
||
&.active {
|
||
background-color: rgba(19, 124, 189, 0.2);
|
||
}
|
||
|
||
${(0,a.mobileStyle)("\n height: 54px;\n padding-top: 9px;\n width: 72px;\n ")}
|
||
`;t.SectionTab=({children:e,name:t,onClick:n,active:r,iconSize:i})=>o.default.createElement(l,{onClick:n,className:"polotno-side-panel-tab"+(r?" active":"")},o.default.createElement("div",{style:{fontSize:(i||14)+"px"}},e),o.default.createElement("div",{style:{paddingTop:"5px"}},t))},47804:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplatesPanel=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(64296),s=n(13507),c=n(25883),u=n(89111),d=n(55609),h=(e,t)=>{const n=o.default.useRef(!0);o.default.useEffect((()=>{n.current?n.current=!1:e()}),t)},f=(0,i.observer)((({sizeQuery:e,query:t,store:n})=>{const{setQuery:r,loadMore:i,hasMore:a,data:s,isLoading:f,reset:p,error:v}=(0,d.useInfiniteAPI)({getAPI:({page:t,query:n})=>(0,u.templateList)({page:t,query:n,sizeQuery:e}),getSize:e=>e.totalPages});return h((()=>{p()}),[e]),h((()=>{r(t)}),[t]),o.default.createElement(c.ImagesGrid,{images:null==s?void 0:s.map((e=>e.items)).flat(),getPreview:e=>e.preview,isLoading:f,onSelect:async e=>{const t=await fetch(e.json),r=await t.json();if(n.pages.length<=1)n.loadJSON(r,!0);else{const e=JSON.parse(JSON.stringify(n.toJSON()));e.width===r.width&&e.height===r.height||r.pages.forEach((e=>{e.width=e.width||r.width,e.height=e.height||r.height})),r.pages.forEach((e=>{e.id=(0,l.nanoid)(10),e.children.forEach((e=>{e.id=(0,l.nanoid)(10)}))}));const t=n.pages.indexOf(n.activePage);e.pages.splice(t,1,...r.pages),n.loadJSON(e,!0)}},loadMore:a&&i,error:v})}));t.TemplatesPanel=(0,i.observer)((({store:e})=>{const[t,n]=o.default.useState(!0),[r,i]=o.default.useState(""),l=t?`${e.width}x${e.height}`:"all";return o.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},o.default.createElement(a.InputGroup,{leftIcon:"search",placeholder:(0,s.t)("sidePanel.searchPlaceholder"),onChange:e=>{i(e.target.value)},style:{marginBottom:"20px"}}),o.default.createElement(a.Switch,{checked:t,onChange:e=>{n(e.target.checked)},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"8px",marginBottom:"25px"}},(0,s.t)("sidePanel.searchTemplatesWithSameSize")," "),o.default.createElement(f,{store:e,sizeQuery:"size="+l,query:r}))}))},8986:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextPanel=void 0;const i=o(n(67294)),a=n(50242),l=n(50757),s=o(n(92898)),c=n(13507),u=o(n(38165)),d=n(84077),h=n(25883),f=n(89111),p=n(55609),v=n(61450),m=(0,u.default)("div")`
|
||
height: calc(100% - 40px);
|
||
display: flex;
|
||
flex-direction: column;
|
||
|
||
.bp4-dark & .polotno-text-preview-plain {
|
||
filter: invert(1);
|
||
}
|
||
`,g=(0,u.default)("div")`
|
||
height: 100px;
|
||
cursor: pointer;
|
||
box-shadow: 0 0 5px rgba(16, 22, 26, 0.3);
|
||
border-radius: 5px;
|
||
background-color: rgba(0, 0, 0, 0.4);
|
||
position: relative;
|
||
font-size: 25;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-content: center;
|
||
flex-direction: column;
|
||
text-align: center;
|
||
color: white;
|
||
margin-bottom: 10px;
|
||
`,y=e=>new Promise(((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)})),b=(0,a.observer)((({onSelect:e,onRemove:t,font:n})=>i.default.createElement(g,{style:{fontFamily:n.fontFamily},className:"polotno-font-item",onClick:e},n.fontFamily," text",i.default.createElement(l.Button,{style:{position:"absolute",right:0,bottom:0},minimal:!0,icon:"trash",onClick:e=>{e.stopPropagation(),t()}})))),w=e=>{var{onSelect:t}=e,n=r(e,["onSelect"]);return i.default.createElement(l.Button,Object.assign({},n,{draggable:!0,className:"polotno-close-panel",onClick:()=>t(),onDragStart:()=>{(0,v.registerNextDomDrop)((({x:e,y:n})=>{t({x:e,y:n})}))},onDragEnd:e=>{(0,v.registerNextDomDrop)(null)}}))};t.TextPanel=(0,a.observer)((({store:e})=>{i.default.useEffect((()=>{e.loadFont("Roboto")}),[]);const t=t=>{var n;const r=t.width||e.width/2,o=((null==t?void 0:t.x)||e.width/2)-r/2,i=((null==t?void 0:t.y)||e.height/2)-t.fontSize/2,a=(e.width+e.height)/2160,l=null===(n=e.activePage)||void 0===n?void 0:n.addElement(Object.assign(Object.assign({type:"text",fontFamily:"Roboto"},t),{x:o,y:i,width:r,fontSize:t.fontSize*a}));(0,d.isMobile)()||null==l||l.toggleEditMode(!0)};i.default.useEffect((()=>{e.fonts.forEach((t=>e.loadFont(t.fontFamily)))}),[e.fonts]);const{data:n,error:r}=(0,s.default)((0,f.textTemplateList)(),p.fetcher),[o,a]=i.default.useState("text");return i.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},i.default.createElement(l.Tabs,{large:!0,onChange:e=>a(e)},i.default.createElement(l.Tab,{id:"text"},(0,c.t)("sidePanel.text")),i.default.createElement(l.Tab,{id:"font"},(0,c.t)("sidePanel.myFonts"))),"text"===o&&i.default.createElement(m,null,i.default.createElement(w,{style:{marginBottom:"5px",width:"100%",fontSize:"25px",fontFamily:"Roboto"},minimal:!0,onSelect:e=>{t(Object.assign(Object.assign({},e),{fontSize:76,text:(0,c.t)("sidePanel.headerText"),fontFamily:"Roboto"}))}},(0,c.t)("sidePanel.createHeader")),i.default.createElement(w,{style:{marginBottom:"5px",width:"100%",fontSize:"18px",fontFamily:"Roboto"},minimal:!0,onSelect:e=>{t(Object.assign(Object.assign({},e),{fontSize:44,text:(0,c.t)("sidePanel.subHeaderText"),fontFamily:"Roboto"}))}},(0,c.t)("sidePanel.createSubHeader")),i.default.createElement(w,{style:{marginBottom:"5px",width:"100%",fontSize:"14px",fontFamily:"Roboto"},minimal:!0,onSelect:e=>{t(Object.assign(Object.assign({},e),{fontSize:30,text:(0,c.t)("sidePanel.bodyText"),fontFamily:"Roboto"}))}},(0,c.t)("sidePanel.createBody")),i.default.createElement(h.ImagesGrid,{shadowEnabled:!1,images:null==n?void 0:n.items,getPreview:e=>e.preview,getImageClassName:e=>e.json.indexOf("plain")>=0?"polotno-text-preview-plain":"",isLoading:!n,error:r,onSelect:async(t,n)=>{const r=await fetch(t.json),o=await r.json();if(!e.activePage)return;const i=(e.width+e.height)/2160,a=n?n.x-o.width/2*i:e.width/2-o.width/2*i,l=n?n.y-o.height/2*i:e.height/2-o.height/2*i;e.history.transaction((()=>{const t=o.pages[0].children,n=[];t.forEach((t=>{var r;delete t.id;const{id:o}=null===(r=e.activePage)||void 0===r?void 0:r.addElement(Object.assign(Object.assign({},t),{fontSize:t.fontSize*i,x:t.x*i+a,y:t.y*i+l,width:t.width*i,height:t.height*i}));n.push(o)})),e.selectElements(n)}))}})),"font"===o&&i.default.createElement("div",{style:{display:"flex",flexDirection:"column",height:"calc(100% - 50px)"}},i.default.createElement("label",{htmlFor:"polotno-font-upload"},i.default.createElement(l.Button,{icon:"upload",style:{width:"100%"},onClick:()=>{var e;null===(e=document.querySelector("#polotno-font-upload"))||void 0===e||e.click()}},(0,c.t)("sidePanel.uploadFont")),i.default.createElement("input",{type:"file",accept:".ttf, .otf, .woff, .woff2, .eot",id:"polotno-font-upload",style:{display:"none"},onChange:async t=>{const{target:n}=t;for(const t of n.files){const n=await y(t),r=t.name.split(".")[0];e.addFont({fontFamily:r,url:n})}n.value=null}})),i.default.createElement("div",{style:{paddingTop:"20px",overflow:"auto",height:"100%"}},e.fonts.map(((n,r)=>i.default.createElement(b,{font:n,key:r,onSelect:()=>{t({fontSize:80,text:"Cool text",fontFamily:n.fontFamily})},onRemove:()=>{e.removeFont(n.fontFamily)}}))))))}))},57828:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UploadPanel=t.setUploadFunc=void 0;const o=r(n(67294)),i=n(50757),a=n(9246),l=n(49926),s=n(25883),c=n(13507),u=n(9246);let d=async e=>(0,l.localFileToURL)(e);t.setUploadFunc=function(e){d=e};let h=[];t.UploadPanel=({store:e})=>{const[t,n]=o.default.useState(h),[r,l]=o.default.useState(!1),f=o.default.useRef(null);return o.default.useEffect((()=>{h=t}),[t]),o.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},o.default.createElement("div",{style:{height:"45px",paddingTop:"5px"}},(0,c.t)("sidePanel.uploadTip")),o.default.createElement("div",{style:{marginBottom:"20px"}},o.default.createElement("label",{htmlFor:"input-file"},o.default.createElement(i.Button,{icon:"upload",style:{width:"100%"},onClick:()=>{var e;null===(e=f.current)||void 0===e||e.click()}},(0,c.t)("sidePanel.uploadImage")),o.default.createElement("input",{type:"file",ref:f,style:{display:"none"},onChange:async e=>{const{target:t}=e;l(!0);for(const e of t.files){const t=await d(e);n((e=>e.concat([t])))}l(!1),t.value=""},multiple:!0}))),o.default.createElement(s.ImagesGrid,{images:t,isLoading:r,getPreview:e=>e,onSelect:async(t,n,r)=>{var o;let{width:i,height:l}=await(0,a.getImageSize)(t);const s=t.indexOf("svg+xml")>=0||t.indexOf(".svg")>=0?"svg":"image";if(r&&"svg"===r.type&&r.contentEditable&&"image"===s)return void r.set({maskSrc:t});if(r&&"image"===r.type&&r.contentEditable&&"image"==s){const e=(0,u.getCrop)(r,{width:i,height:l});return void r.set(Object.assign({src:t},e))}const c=Math.min(e.width/i,e.height/l,1);i*=c,l*=c;const d=((null==n?void 0:n.x)||e.width/2)-i/2,h=((null==n?void 0:n.y)||e.height/2)-l/2;null===(o=e.activePage)||void 0===o||o.addElement({type:s,src:t,x:d,y:h,width:i,height:l})}}))}},79920:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AdminButton=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(50757),c=n(13507);t.AdminButton=(0,i.observer)((({store:e})=>{const t=e.selectedElements.length>0,n=e.selectedElements[0]||{},r=t=>{e.selectedElements.forEach((e=>{e.set(t)}))};return o.default.createElement(l.Popover2,{disabled:!t,minimal:!1,content:o.default.createElement("div",{style:{padding:"15px",paddingTop:"25px",width:"220px"}},o.default.createElement(s.Switch,{checked:n.selectable,label:(0,c.t)("toolbar.selectable"),onChange:e=>{r({selectable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.draggable,label:(0,c.t)("toolbar.draggable"),onChange:e=>{r({draggable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.removable,label:(0,c.t)("toolbar.removable"),onChange:e=>{r({removable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.resizable,label:(0,c.t)("toolbar.resizable"),onChange:e=>{r({resizable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.contentEditable,label:(0,c.t)("toolbar.contentEditable"),onChange:e=>{r({contentEditable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.styleEditable,label:(0,c.t)("toolbar.styleEditable"),onChange:e=>{r({styleEditable:e.target.checked})},alignIndicator:s.Alignment.RIGHT}),o.default.createElement(s.Switch,{checked:n.alwaysOnTop,label:(0,c.t)("toolbar.alwaysOnTop"),onChange:e=>{r({alwaysOnTop:e.target.checked})},alignIndicator:s.Alignment.RIGHT,style:{marginTop:"20px"}}),o.default.createElement(s.Switch,{checked:n.showInExport,label:(0,c.t)("toolbar.showInExport"),onChange:e=>{r({showInExport:e.target.checked})},alignIndicator:s.Alignment.RIGHT,style:{marginTop:"20px"}})),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:"cog",minimal:!0,disabled:!t}))}))},62002:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationsPicker=t.NumberInput=void 0;const i=o(n(67294)),a=n(50757),l=n(49346),s=n(29828),c=n(50242),u=n(13507);t.NumberInput=e=>{var{value:t,onValueChange:n}=e,o=r(e,["value","onValueChange"]);const[l,s]=i.default.useState(t.toString());return i.default.useEffect((()=>{s(t.toString())}),[t]),i.default.createElement(a.NumericInput,Object.assign({value:l,onValueChange:(e,t)=>{s(t),Number.isNaN(e)||n(e)}},o))};const d=(0,c.observer)((({element:e,store:t,enabled:n})=>{const r=e.animations.find((e=>"enter"===e.type)),o=e.animations.find((e=>"exit"===e.type));return n?i.default.createElement(a.ButtonGroup,{style:{width:"100%"}},i.default.createElement(a.Button,{fill:!0,active:(null==r?void 0:r.enabled)&&!(null==o?void 0:o.enabled),onClick:()=>{t.history.transaction((()=>{e.setAnimation("enter",{enabled:!0}),e.setAnimation("exit",{enabled:!1})}))}},"Enter"),i.default.createElement(a.Button,{fill:!0,active:(null==r?void 0:r.enabled)&&(null==o?void 0:o.enabled),onClick:()=>{t.history.transaction((()=>{e.setAnimation("enter",{enabled:!0}),e.setAnimation("exit",{enabled:!0})}))}},"Both"),i.default.createElement(a.Button,{fill:!0,active:(null==o?void 0:o.enabled)&&!(null==r?void 0:r.enabled),onClick:()=>{t.history.transaction((()=>{e.setAnimation("enter",{enabled:!1}),e.setAnimation("exit",{enabled:!0})}))}},"Exit")):null})),h=(e,{handleClick:t,handleFocus:n,modifiers:r,query:o})=>r.matchesPredicate?i.default.createElement(a.MenuItem,{active:r.active,disabled:r.disabled,key:e,onClick:t,icon:"arrow-"+e,onFocus:n,roleStructure:"listoption",text:e,shouldDismissPopover:!1}):null,f=["right","left","up","down","bottom-right","bottom-left","top-right","top-left"],p=(0,c.observer)((({value:e,onChange:t})=>i.default.createElement("div",{style:{paddingTop:"10px"}},i.default.createElement(s.Select2,{items:f,itemRenderer:h,filterable:!1,activeItem:e,onItemSelect:e=>{t(e)}},i.default.createElement(a.Button,{text:e,icon:"arrow-"+e,fill:!0})))));t.AnimationsPicker=(0,c.observer)((({element:e,store:t,elements:n})=>{var r,o;const s=n||[e],c=s[0],h=(c.type,c.type,c.type,(e,n)=>{t.history.transaction((()=>{s.forEach((t=>{t.setAnimation("enter",Object.assign({name:e},n)),t.setAnimation("exit",Object.assign(Object.assign({name:e},n),{from:n.to,to:n.from}))}))})),n.enabled&&(t.play({animatedElementsIds:s.map((e=>e.id)),currentTime:c.page.startTime}),setTimeout((()=>{t.stop()}),1e3))}),f=e=>!!(e?c.animations.filter((t=>t.name===e)):c.animations).find((e=>e.enabled));return i.default.createElement(l.Popover2,{hasBackdrop:!1,autoFocus:!1,content:i.default.createElement("div",{style:{padding:"15px",paddingTop:"25px",width:"230px"}},i.default.createElement(a.Switch,{checked:f("fade"),label:(0,u.t)("toolbar.fade"),onChange:e=>{h("fade",{enabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT}),i.default.createElement(a.Switch,{checked:f("move"),label:(0,u.t)("toolbar.move"),onChange:e=>{h("move",{enabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT}),i.default.createElement(a.Switch,{checked:f("zoom"),label:(0,u.t)("toolbar.zoom"),onChange:e=>{h("zoom",{enabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT}),i.default.createElement(d,{element:c,store:t,name:"move",enabled:f()}),f("move")&&i.default.createElement(p,{value:(null===(o=null===(r=c.animations.find((e=>"move"===e.name)))||void 0===r?void 0:r.data)||void 0===o?void 0:o.direction)||"right",onChange:e=>{h("move",{data:{direction:e},enabled:!0})}})),position:a.Position.BOTTOM},i.default.createElement(a.Button,{text:(0,u.t)("toolbar.animate"),minimal:!0}))})),t.default=t.AnimationsPicker},57299:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPicker=t.setColorsPresetFunc=t.getUsedColors=t.DEFAULT_COLORS=void 0;const i=o(n(67294)),a=n(49346),l=n(50757),s=n(50757),c=o(n(90229)),u=o(n(38165)),d=n(29190),h=n(34824);t.DEFAULT_COLORS=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"].reverse(),t.getUsedColors=e=>{const t=[];e.pages.forEach((e=>{e.children.forEach((e=>{"text"===e.type&&t.push(e.fill),"svg"===e.type&&t.push(...e.colorsReplace.values())}))}));const n=[];return t.forEach((e=>{if((0,d.isGradient)(e)){const{stops:t}=(0,d.parseColor)(e);n.push(...t.map((e=>e.color)))}else n.push(e)})),[...new Set(n)]};const f=(0,u.default)("div")`
|
||
& .sketch-picker {
|
||
padding: 0px !important;
|
||
box-shadow: none !important;
|
||
background: none !important;
|
||
}
|
||
|
||
& .flexbox-fix {
|
||
border-top: none !important;
|
||
}
|
||
|
||
.bp4-dark & .sketch-picker {
|
||
background-color: #394b59;
|
||
}
|
||
|
||
.bp4-dark & .sketch-picker label {
|
||
color: #f5f8fa !important;
|
||
}
|
||
`,p=e=>{var{style:t,color:n,onChange:o}=e,a=r(e,["style","color","onChange"]);const[l,s]=i.default.useState(n);i.default.useEffect((()=>{s(n)}),[n]);const u=i.default.useRef(),d=i.default.useRef();return i.default.createElement(f,{style:t,onMouseDown:e=>{"INPUT"!==e.target.tagName&&e.preventDefault()}},i.default.createElement(c.default,Object.assign({color:l},a,{onChange:e=>{const{r:t,g:n,b:r,a:i}=e.rgb,a=`rgba(${t},${n},${r},${i})`;s(a),d.current=a,u.current||(u.current=window.setTimeout((()=>{u.current=0,o(a)}),50))}})))},v=e=>e.map((e=>`${e.color} ${100*e.offset}%`)).join(","),m=({value:e,onChange:t,store:n})=>{const{rotation:r,stops:o}=(0,d.parseColor)(e),a=i.default.useRef(o);a.current=o;const l=i.default.useRef(r);l.current=r;const[c,u]=i.default.useState(0),h=i.default.useRef(null),f=i.default.useRef(!1),m=()=>{f.current=!0};return i.default.useEffect((()=>{const e=e=>{if(f.current){const n=h.current.getBoundingClientRect(),r=e.clientX-n.left,i=r/n.width,s=i<-.5||i>1.5;if(o.length>2&&s)return u(0),f.current=!1,a.current.splice(c,1),void t(`linear-gradient(${l.current}deg, ${v(a.current)})`);const d=Math.min(1,Math.max(0,r/n.width)),p=[...a.current];p[c].offset=d,t(`linear-gradient(${l.current}deg, ${v(p)})`)}},n=()=>{f.current=!1};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",n),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",n)}}),[c,a]),i.default.createElement("div",null,i.default.createElement("div",{style:{width:"calc(100% - 35px)",height:"60px",position:"relative"}},i.default.createElement("div",{ref:h,style:{position:"absolute",top:0,left:0,width:"100%",marginLeft:"15px",height:"100%",zIndex:0},onMouseDown:e=>{const n=e.currentTarget.getBoundingClientRect(),i=e.clientX-n.left,a=Math.min(1,Math.max(0,i/n.width)),l=o[0].color;o.push({color:l,offset:a}),o.sort(((e,t)=>e.offset-t.offset));const s=o.findIndex((e=>e.offset===a));u(s),m(),t(`linear-gradient(${r}deg, ${v(o)})`)}}),o.map((({offset:e,color:t},n)=>i.default.createElement("div",{key:n,style:{position:"absolute",top:"10px",left:100*e+"%",border:n===c?"2px solid rgb(0, 161, 255)":"2px solid rgb(0, 0, 0, 0)",padding:"2px"},onMouseDown:e=>{e.stopPropagation(),u(n),m()}},i.default.createElement(y,{background:t,style:{margin:0}}))))),i.default.createElement("div",{style:{width:"calc(100% - 30px)",height:"10px",marginLeft:"15px",background:`linear-gradient(90deg,${v(o)})`}}),i.default.createElement("div",{style:{padding:"10px"}},i.default.createElement(s.Slider,{min:0,max:360,value:r,showTrackFill:!1,labelRenderer:!1,onChange:e=>{t(`linear-gradient(${e}deg,${v(o)})`)}})),i.default.createElement(p,{color:o[c].color,onChange:e=>{const n=[...o];n[c].color=e,t(`linear-gradient(${r}deg, ${v(n)})`)}}))},g=({value:e,onChange:t,preset:n,store:r})=>{const[o,a]=i.default.useState((0,d.isGradient)(e)?"gradient":"solid");return i.default.createElement("div",{style:{padding:"5px"}},i.default.createElement(l.Tabs,{id:"TabsExample",selectedTabId:o,onChange:e=>a(e)},i.default.createElement(l.Tab,{id:"solid",title:"Solid",panel:i.default.createElement(p,{color:e,onChange:t,presetColors:n,style:{padding:"0"}})}),i.default.createElement(l.Tab,{id:"gradient",title:"Linear",panel:i.default.createElement(m,{value:e,onChange:t,store:r}),panelClassName:"ember-panel"})))},y=e=>{var{size:t=30,background:n,style:o={},children:a=null}=e,l=r(e,["size","background","style","children"]);return i.default.createElement("div",Object.assign({onMouseDown:e=>e.preventDefault(),style:Object.assign({width:t+"px",height:t+"px",background:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 8 8'%3E%3Cg fill='rgba(112, 112, 116, 1)' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E\")",borderRadius:"2px",boxShadow:"0 0 2px grey",marginBottom:"-4px"},o)},l),i.default.createElement("div",{style:{width:t+"px",height:t+"px",background:n}},a))};let b=e=>{const n=(0,t.getUsedColors)(e).slice(0,8).filter((e=>!t.DEFAULT_COLORS.find((t=>(0,h.sameColors)(t,e)))));return n.concat(t.DEFAULT_COLORS.slice(0,16-n.length).reverse())};t.setColorsPresetFunc=function(e){b=e},t.ColorPicker=({value:e,onChange:t,size:n,store:r,gradientEnabled:o,children:l,style:s})=>{const c=b(r);return i.default.createElement(a.Popover2,{autoFocus:!1,enforceFocus:!0,interactionKind:"click",hasBackdrop:!0,content:o?i.default.createElement(g,{preset:c,value:e,onChange:t,store:r}):i.default.createElement("div",{style:{padding:"5px"}},i.default.createElement(p,{color:e,onChange:t,presetColors:c}))},i.default.createElement(y,{size:n,background:e,style:s},l))},t.default=t.ColorPicker},66:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DownloadButton=void 0;const o=r(n(67294)),i=n(50757),a=n(49346),l=n(13507);t.DownloadButton=({store:e})=>{const[t,n]=o.default.useState(!1);return o.default.createElement(a.Popover2,{content:o.default.createElement(i.Menu,null,o.default.createElement(i.MenuItem,{icon:"media",text:(0,l.t)("toolbar.saveAsImage"),onClick:async()=>{e.pages.forEach((t=>{e.saveAsImage({pageId:t.id})}))}}),o.default.createElement(i.MenuItem,{icon:"document",text:(0,l.t)("toolbar.saveAsPDF"),onClick:async()=>{n(!0),await e.saveAsPDF(),n(!1)}})),position:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:"import",text:(0,l.t)("toolbar.download"),minimal:!0,loading:t}))},t.default=t.DownloadButton},6543:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DuplicateButton=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(13507);t.DuplicateButton=(0,i.observer)((({store:e})=>{const t=e.selectedElements.length>0;return o.default.createElement(l.Tooltip2,{content:(0,s.t)("toolbar.duplicateElements"),disabled:!t,position:"bottom"},o.default.createElement(a.Button,{icon:"duplicate",minimal:!0,onClick:()=>{const t=[];e.selectedElements.forEach((e=>{const n=e.clone();"group"===e.type?n.children.forEach((e=>{e.set({x:e.x+50,y:e.y+50})})):n.set({x:e.x+50,y:e.y+50}),console.log(n.id),t.push(n.id)})),e.selectElements(t)},disabled:!t}))}))},73468:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ElementContainer=t.extendToolbar=void 0;const o=r(n(67294)),i=n(50757),a=n(49346),l=r(n(38165)),s=n(84077),c=(0,l.default)("div",o.default.forwardRef)`
|
||
${(0,s.mobileStyle)("\n width: auto !important;\n ")}
|
||
`;t.extendToolbar=({type:e,usedItems:t,components:n})=>{const r=[];return Object.keys(n).forEach((n=>{0===n.toLowerCase().indexOf(e)&&(t.includes(n)||r.push(n))})),t.concat(r)},t.ElementContainer=({items:e,itemRender:t})=>{const[n,r]=o.default.useState(0),l=o.default.useRef(),s=()=>{if(null===l.current)return;const e=l.current.parentElement;let t=0;[...l.current.parentElement.children].forEach((e=>{e!==l.current&&(t+=e.offsetWidth)})),r(Math.max(20,e.offsetWidth-t-10))};return o.default.useLayoutEffect((()=>{s()})),o.default.useLayoutEffect((()=>{const e=l.current.parentElement.parentElement;if(window.ResizeObserver){const t=new ResizeObserver(s);return t.observe(e),()=>t.unobserve(e)}{const e=setInterval(s,100);return()=>clearInterval(e)}}),[]),o.default.createElement(c,{style:{width:n+"px"},ref:l,className:"bp4-navbar-group bp4-align-left"},o.default.createElement(i.OverflowList,{items:e,style:{width:"100%"},visibleItemRenderer:t,collapseFrom:i.Boundary.END,overflowRenderer:e=>o.default.createElement(a.Popover2,{content:o.default.createElement("div",{style:{padding:"10px",display:"flex"}},e.map(t)),position:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:"more",minimal:!0,style:{marginLeft:"10px"}}))}))}},71215:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FiltersPicker=t.NumberInput=void 0;const i=o(n(67294)),a=n(50757),l=n(49346),s=n(50242),c=o(n(57299)),u=n(13507),d=(e,t,n)=>Math.max(t,Math.min(n,e));t.NumberInput=e=>{var{value:t,onValueChange:n}=e,o=r(e,["value","onValueChange"]);const[l,s]=i.default.useState(t.toString());return i.default.useEffect((()=>{s(t.toString())}),[t]),i.default.createElement(a.NumericInput,Object.assign({value:l,onValueChange:(e,t)=>{s(t),Number.isNaN(e)||n(e)}},o))},t.FiltersPicker=(0,s.observer)((({element:e,store:n,elements:r})=>{const o=r||[e],s=o[0],h="text"===s.type,f="image"===s.type,p="svg"===s.type,v=e=>{n.history.transaction((()=>{o.forEach((t=>{t.set(e)}))}))};return i.default.createElement(l.Popover2,{content:i.default.createElement("div",{style:{padding:"15px",paddingTop:"25px",width:"230px"}},i.default.createElement(a.Switch,{checked:s.blurEnabled,label:(0,u.t)("toolbar.blur"),onChange:e=>{v({blurEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT}),s.blurEnabled&&i.default.createElement(a.Slider,{value:s.blurRadius,labelStepSize:5,onChange:e=>{v({blurRadius:e})},min:0,max:20,showTrackFill:!1}),!h&&i.default.createElement(a.Switch,{checked:s.brightnessEnabled,label:(0,u.t)("toolbar.brightness"),onChange:e=>{v({brightnessEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),s.brightnessEnabled&&i.default.createElement(a.Slider,{value:100*s.brightness+100,onChange:e=>{v({brightness:(e-100)/100})},min:0,max:200,showTrackFill:!1,labelStepSize:50}),!h&&i.default.createElement(a.Switch,{checked:s.sepiaEnabled,label:(0,u.t)("toolbar.sepia"),onChange:e=>{v({sepiaEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),!h&&i.default.createElement(a.Switch,{checked:s.grayscaleEnabled,label:(0,u.t)("toolbar.grayscale"),onChange:e=>{v({grayscaleEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),h&&i.default.createElement(a.Switch,{checked:!!s.strokeWidth,label:(0,u.t)("toolbar.textStroke"),onChange:e=>{v({strokeWidth:e.target.checked?2:0})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.strokeWidth&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},i.default.createElement(c.default,{value:s.stroke,size:30,onChange:e=>{v({stroke:e})},store:n}),i.default.createElement(a.NumericInput,{defaultValue:s.strokeWidth,onValueChange:e=>{v({strokeWidth:d(e,1,30)})},style:{width:"80px"},min:1,max:Math.round(s.fontSize/2)}))),h&&i.default.createElement(a.Switch,{checked:!!s.backgroundEnabled,label:(0,u.t)("toolbar.textBackground"),onChange:e=>{v({backgroundEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.backgroundEnabled&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.backgroundCornerRadius")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:100*s.backgroundCornerRadius,onValueChange:e=>{v({backgroundCornerRadius:d(e,0,100)/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:100*s.backgroundCornerRadius,onChange:e=>{v({backgroundCornerRadius:d(e,0,100)/100})},min:0,max:100,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.backgroundPadding")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:Math.round(100*s.backgroundPadding),onValueChange:e=>{v({backgroundPadding:d(e,0,100)/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:Math.round(100*s.backgroundPadding),onChange:e=>{v({backgroundPadding:d(e,0,100)/100})},min:0,max:100,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.opacity")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:Math.round(100*s.backgroundOpacity),onValueChange:e=>{v({backgroundOpacity:e/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:100*s.backgroundOpacity,onChange:e=>{v({backgroundOpacity:e/100})},min:0,max:100,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",{style:{lineHeight:"30px"}},(0,u.t)("toolbar.color")),i.default.createElement(c.default,{value:s.backgroundColor,size:30,onChange:e=>{v({backgroundColor:e})},store:n}))),(f||p)&&i.default.createElement(a.Switch,{checked:!!s.borderSize,label:(0,u.t)("toolbar.border"),onChange:e=>{v({borderSize:e.target.checked?2:0})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.borderSize&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},i.default.createElement(c.default,{value:s.borderColor,size:30,onChange:e=>{v({borderColor:e})},store:n}),i.default.createElement(a.NumericInput,{defaultValue:s.borderSize,onValueChange:e=>{v({borderSize:d(e,1,Math.min(s.width,s.height)/2)})},style:{width:"80px"},min:1,max:Math.min(s.width,s.height)/2}))),!h&&i.default.createElement(a.Switch,{checked:!!s.cornerRadius,label:(0,u.t)("toolbar.cornerRadius"),onChange:e=>{v({cornerRadius:e.target.checked?Math.min(s.width/4,s.height/4):0})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),!h&&!!s.cornerRadius&&i.default.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},i.default.createElement("div",{style:{width:"150px",paddingTop:"7px"}},i.default.createElement(a.Slider,{value:Math.min(s.cornerRadius,Math.round(Math.min(s.width/2,s.height/2))),onChange:e=>{v({cornerRadius:e})},min:1,max:Math.round(Math.min(s.width/2,s.height/2)),labelStepSize:50,showTrackFill:!1,labelRenderer:!1})),i.default.createElement(a.NumericInput,{value:s.cornerRadius,onValueChange:e=>{v({cornerRadius:d(e,1,Math.min(s.width,s.height)/2)})},buttonPosition:"none",style:{width:"45px",padding:"0 5px"},min:1,max:Math.round(Math.min(s.width/2,s.height/2))})),i.default.createElement(a.Switch,{checked:s.shadowEnabled,label:(0,u.t)("toolbar.shadow"),onChange:e=>{v({shadowEnabled:e.target.checked})},alignIndicator:a.Alignment.RIGHT,style:{marginTop:"20px"}}),s.shadowEnabled&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.blur")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:s.shadowBlur,onValueChange:e=>{v({shadowBlur:d(e,-50,50)})},style:{width:"50px"},min:0,max:50,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:s.shadowBlur,onChange:e=>{v({shadowBlur:e})},min:0,max:50,showTrackFill:!1,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.offsetX")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:s.shadowOffsetX,onValueChange:e=>{v({shadowOffsetX:d(e,-50,50)})},style:{width:"50px"},min:-50,max:50,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:s.shadowOffsetX,onChange:e=>{v({shadowOffsetX:e})},min:-50,max:50,showTrackFill:!1,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.offsetY")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:s.shadowOffsetY,onValueChange:e=>{v({shadowOffsetY:d(e,-50,50)})},style:{width:"50px"},min:-50,max:50,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:s.shadowOffsetY,onChange:e=>{v({shadowOffsetY:e})},min:-50,max:50,showTrackFill:!1,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.opacity")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:Math.round(100*s.shadowOpacity),onValueChange:e=>{v({shadowOpacity:e/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),i.default.createElement(a.Slider,{value:100*s.shadowOpacity,onChange:e=>{v({shadowOpacity:e/100})},min:0,max:100,labelRenderer:!1}),i.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",{style:{lineHeight:"30px"}},(0,u.t)("toolbar.color")),i.default.createElement(c.default,{value:s.shadowColor,size:30,onChange:e=>{v({shadowColor:e})},store:n})))),position:a.Position.BOTTOM},i.default.createElement(a.Button,{icon:"left-join",text:(0,u.t)("toolbar.effects"),minimal:!0}))})),t.default=t.FiltersPicker},62849:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FlipButton=void 0;const o=r(n(67294)),i=n(50757),a=n(49346),l=n(13507);t.FlipButton=({element:e})=>o.default.createElement(a.Popover2,{content:o.default.createElement(i.Menu,null,o.default.createElement(i.MenuItem,{shouldDismissPopover:!1,icon:"arrows-horizontal",text:(0,l.t)("toolbar.flipHorizontally"),onClick:()=>{e.set({flipX:!e.flipX})}}),o.default.createElement(i.MenuItem,{shouldDismissPopover:!1,text:(0,l.t)("toolbar.flipVertically"),icon:"arrows-vertical",onClick:()=>{e.set({flipY:!e.flipY})}})),position:i.Position.BOTTOM},o.default.createElement(i.Button,{text:(0,l.t)("toolbar.flip"),minimal:!0})),t.default=t.FlipButton},92162:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GroupButton=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(13507);t.GroupButton=(0,i.observer)((({store:e})=>{const t=e.selectedElements.length>1,n=1===e.selectedElements.length&&"group"===e.selectedElements[0].type;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(a.Button,{minimal:!0,onClick:()=>{e.groupElements(e.selectedElements.map((e=>e.id)))},style:{marginLeft:"auto"}},(0,l.t)("toolbar.groupElements")),n&&o.default.createElement(a.Button,{minimal:!0,onClick:()=>{e.ungroupElements([e.selectedElements[0].id])},style:{marginLeft:"auto"}},(0,l.t)("toolbar.ungroupElements")))}))},71832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryButtons=void 0;const o=r(n(67294)),i=n(50242),a=n(50757);t.HistoryButtons=(0,i.observer)((({store:e})=>o.default.createElement(a.Navbar.Group,{align:a.Alignment.LEFT},o.default.createElement(a.Button,{icon:"undo",minimal:!0,onClick:()=>{e.history.undo()},disabled:!e.history.canUndo}),o.default.createElement(a.Button,{icon:"redo",minimal:!0,onClick:()=>{e.history.redo()},disabled:!e.history.canRedo}))))},84408:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HtmlToolbar=t.DirectionInput=t.SpacingInput=t.FontColorInput=t.FontStyleGroup=t.FontSizeInput=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(73468),c=r(n(57299)),u=r(n(71215)),d=r(n(89155)),h=r(n(77355)),f=r(n(24202)),p=r(n(94843)),v=r(n(70960)),m=r(n(60738)),g=n(62002),y=n(81922),b=n(38444),w=n(32142);t.FontSizeInput=(0,i.observer)((({element:e})=>o.default.createElement(a.NumericInput,{onValueChange:t=>{e.set({fontSize:t})},value:Math.round(e.fontSize),style:{width:"50px"},min:5})));const _=["left","center","right","justify"],E=["top","middle","bottom"],x={top:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(p.default,null)),middle:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(v.default,null)),bottom:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(m.default,null))};t.FontStyleGroup=(0,i.observer)((({element:e,store:t})=>o.default.createElement(a.ButtonGroup,null,o.default.createElement(a.Button,{minimal:!0,icon:"align-"+e.align,onClick:()=>{const t=(_.indexOf(e.align)+1+_.length)%_.length,n=_[t];e.set({align:n})}}),y.flags.textVerticalResizeEnabled&&o.default.createElement(a.Button,{minimal:!0,icon:x[e.verticalAlign],onClick:()=>{const n=(E.indexOf(e.verticalAlign)+1+E.length)%E.length,r=E[n];t.history.transaction((()=>{e.set({verticalAlign:r})}))}}),o.default.createElement(a.Button,{minimal:!0,icon:"bold",active:b.quillRef.currentFormat.bold||"bold"===e.fontWeight||"700"===e.fontWeight,onMouseDown:e=>{e.preventDefault()},onClick:t=>{const n=window.__polotnoQuill;if(n){const e=n.getSelection();n.formatText(e.index,e.length,"bold",!b.quillRef.currentFormat.bold,"user")}else"bold"===e.fontWeight||"700"===e.fontWeight?e.set({fontWeight:"normal"}):e.set({fontWeight:"bold"})}}),o.default.createElement(a.Button,{minimal:!0,icon:"italic",onMouseDown:e=>{e.preventDefault()},active:b.quillRef.currentFormat.italic||"italic"===e.fontStyle,onClick:()=>{const t=window.__polotnoQuill;if(t){const e=t.getSelection();t.formatText(e.index,e.length,"italic",!b.quillRef.currentFormat.italic,"user")}else"italic"===e.fontStyle?e.set({fontStyle:"normal"}):e.set({fontStyle:"italic"})}}),o.default.createElement(a.Button,{minimal:!0,icon:"underline",active:b.quillRef.currentFormat.underline||e.textDecoration.indexOf("underline")>=0,onMouseDown:e=>{e.preventDefault()},onClick:()=>{const t=window.__polotnoQuill;if(t){const e=t.getSelection();return void t.formatText(e.index,e.length,"underline",!b.quillRef.currentFormat.underline,"user")}let n=e.textDecoration.split(" ");n.indexOf("underline")>=0?n=n.filter((e=>"underline"!==e)):n.push("underline"),e.set({textDecoration:n.join(" ")})}}),o.default.createElement(a.Button,{minimal:!0,icon:"strikethrough",active:b.quillRef.currentFormat.strike||e.textDecoration.indexOf("line-through")>=0,onMouseDown:e=>{e.preventDefault()},onClick:()=>{const t=window.__polotnoQuill;if(t){const e=t.getSelection();return void t.formatText(e.index,e.length,"strike",!b.quillRef.currentFormat.strike,"user")}let n=e.textDecoration.split(" ");n.indexOf("line-through")>=0?n=n.filter((e=>"line-through"!==e)):n.push("line-through"),e.set({textDecoration:n.join(" ")})}})))),t.FontColorInput=(0,i.observer)((({element:e,store:t})=>o.default.createElement(c.default,{value:b.quillRef.currentFormat.color||e.fill,onChange:t=>{const n=window.__polotnoQuill,r=null==n?void 0:n.getSelection(),o=(null==r?void 0:r.length)>=(null==n?void 0:n.getLength())-1;if(n&&!o&&(null==r?void 0:r.length))n.formatText(r.index,r.length,"color",t,"user");else{var i=e.text.replace(/style=".*?"/g,"");e.set({fill:t,text:i})}},store:t}))),t.SpacingInput=(0,i.observer)((({element:e})=>o.default.createElement(l.Popover2,{content:o.default.createElement("div",{style:{padding:"15px 25px",width:"200px"}},o.default.createElement("p",null,"Line height"),o.default.createElement(a.Slider,{value:"number"==typeof e.lineHeight?100*e.lineHeight:120,labelStepSize:50,onChange:t=>{e.set({lineHeight:t/100})},min:50,max:250,stepSize:10,showTrackFill:!0}),o.default.createElement("p",null,"Letter spacing"),o.default.createElement(a.Slider,{value:100*e.letterSpacing,labelStepSize:50,onChange:t=>{e.set({letterSpacing:t/100})},min:-50,max:250,stepSize:10,showTrackFill:!1})),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:o.default.createElement(d.default,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0})))),t.DirectionInput=(0,i.observer)((({element:e})=>{const t="rtl"===e.dir?h.default:f.default;return o.default.createElement(a.Button,{icon:o.default.createElement(t,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0,onClick:()=>{e.set({dir:"rtl"===e.dir?"ltr":"rtl"})}})}));const S={TextFontFamily:w.FontFamilyInput,TextFontSize:t.FontSizeInput,TextFontVariant:t.FontStyleGroup,TextFilters:u.default,TextFill:t.FontColorInput,TextSpacing:t.SpacingInput,TextDirection:t.DirectionInput,TextAnimations:g.AnimationsPicker};t.HtmlToolbar=(0,i.observer)((({store:e,hideTextFontFamily:t,hideTextEffects:n,hideTextSpacing:r,hideTextBold:i,hideTextItalic:a,hideTextUnderline:l,components:c})=>{const u=e.selectedElements,d=e.selectedElements[0],h=["TextFill",!t&&"TextFontFamily","TextFontSize","TextFontVariant",!r&&"TextSpacing",y.flags.animationsEnabled&&"TextAnimations",!n&&"TextFilters"].filter((e=>!!e)),f=(0,s.extendToolbar)({type:"text",usedItems:h,components:c});return o.default.createElement(s.ElementContainer,{items:f,itemRender:t=>{const n=c[t]||S[t];return o.default.createElement(n,{element:d,elements:u,store:e,key:t,hideTextBold:i,hideTextItalic:a,hideTextUnderline:l})}})}))},50121:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImageToolbar=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(73468),s=r(n(38165)),c=n(84077),u=r(n(71215)),d=n(62002),h=r(n(62849)),f=n(81922),p=n(29954),v=n(13507),m={ImageFlip:h.default,ImageFilters:u.default,ImageFitToBackground:({element:e,store:t})=>o.default.createElement(a.Button,{text:(0,v.t)("toolbar.fitToBackground"),minimal:!0,onClick:()=>{const{page:t}=e;e.set({x:-t.bleed,y:-t.bleed,width:t.computedWidth+2*t.bleed,height:t.computedHeight+2*t.bleed,rotation:0,cropX:0,cropY:0,cropWidth:1,cropHeight:1})}}),ImageCrop:({element:e,store:t})=>o.default.createElement(a.Button,{text:(0,v.t)("toolbar.crop"),minimal:!0,onClickCapture:t=>{t.stopPropagation(),e.toggleCropMode(!0)}}),ImageRemoveClip:({element:e,store:t})=>o.default.createElement(a.Button,{text:(0,v.t)("toolbar.removeClip"),minimal:!0,onClickCapture:t=>{e.set({clipSrc:""})}}),ImageRemoveBackground:p.RemoveBackgroundButton,ImageAnimations:d.AnimationsPicker};(0,s.default)("div")`
|
||
${(0,c.mobileStyle)("\n width: auto;\n ")}
|
||
`,t.ImageToolbar=(0,i.observer)((({store:e,hideImageFlip:t,hideImageEffects:n,hideImageCrop:r,hideImageFit:i,hideImageRemoveBackground:s,components:c})=>{const u=e.selectedElements[0],d=u._cropModeEnabled,h=o.default.useRef({});o.default.useEffect((()=>{d&&(h.current={x:u.x,y:u.y,width:u.width,height:u.height,cropX:u.cropX,cropY:u.cropY,cropWidth:u.cropWidth,cropHeight:u.cropHeight})}),[d]);const p=[!t&&"ImageFlip",!n&&"ImageFilters",!i&&"ImageFitToBackground",!r&&"ImageCrop",f.flags.animationsEnabled&&"ImageAnimations",u.clipSrc&&"ImageRemoveClip",!s&&f.flags.removeBackgroundEnabled&&"ImageRemoveBackground"].filter((e=>!!e)),g=(0,l.extendToolbar)({type:"image",usedItems:p,components:c});return o.default.createElement(o.default.Fragment,null,!d&&o.default.createElement(l.ElementContainer,{items:g,itemRender:t=>{const n=c[t]||m[t];return o.default.createElement(n,{element:u,store:e,key:t})}}),d&&o.default.createElement(a.Navbar.Group,null,o.default.createElement(a.Button,{text:(0,v.t)("toolbar.cropDone"),minimal:!0,icon:"tick",onClickCapture:e=>{u.toggleCropMode(!1)}}),o.default.createElement(a.Button,{text:(0,v.t)("toolbar.cropCancel"),minimal:!0,icon:"cross",onClickCapture:e=>{u.set(Object.assign({},h.current)),u.toggleCropMode(!1)}})))})),t.default=t.ImageToolbar},13354:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LineToolbar=t.LineHeads=t.BasicHead=t.LineColor=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=r(n(57299)),c=n(62002),u=n(71215),d=n(73468),h=n(82900),f=n(13507),p=n(81922),v=(0,i.observer)((({store:e,elements:t})=>{const n=n=>{e.history.transaction((()=>{t.forEach((e=>{e.set(n)}))}))},r=n=>{e.history.transaction((()=>{t.forEach((e=>{const{middleLeft:t,middleRight:r}=(0,h.getMiddlePoints)(e),{x:o,y:i,rotation:a}=(0,h.getLinePositionFromMiddlePoints)(t,r,n);e.set({x:o,y:i,rotation:a,height:n})}))}))};return o.default.createElement(l.Popover2,{content:o.default.createElement("div",{style:{padding:"15px",paddingTop:"15px",width:"230px"}},o.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:"5px"}},o.default.createElement("div",null,(0,f.t)("toolbar.lineSize")),o.default.createElement("div",null,o.default.createElement(u.NumberInput,{value:t[0].height,onValueChange:e=>{r(e)},style:{width:"50px"},min:1,max:100,buttonPosition:"none"}))),o.default.createElement(a.Slider,{value:t[0].height,onChange:e=>{r(e)},min:1,max:100,labelRenderer:!1}),o.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:"5px",paddingTop:"15px"}},o.default.createElement(a.Button,{onClick:()=>{n({dash:[]})},active:0===t[0].dash.length},o.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("line",{x2:"24",y1:"50%",y2:"50%",stroke:"currentColor",strokeWidth:"2"}))),o.default.createElement(a.Button,{onClick:()=>{n({dash:[4,1]})},active:4===t[0].dash[0]},o.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("line",{x1:"-1",x2:"25",y1:"50%",y2:"50%",stroke:"currentColor",strokeDasharray:"12 2",strokeWidth:"2"}))),o.default.createElement(a.Button,{onClick:()=>{n({dash:[2,1]})},active:2===t[0].dash[0]},o.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("line",{x1:"1",x2:"23",y1:"50%",y2:"50%",stroke:"currentColor",strokeDasharray:"6 2",strokeWidth:"2"}))),o.default.createElement(a.Button,{onClick:()=>{n({dash:[1,1]})},active:1===t[0].dash[0]},o.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("line",{x1:"1",x2:"23",y1:"50%",y2:"50%",stroke:"currentColor",strokeDasharray:"2 2",strokeWidth:"2"}))))),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:"settings",minimal:!0}))}));t.LineColor=(0,i.observer)((({elements:e,store:t})=>o.default.createElement(s.default,{value:e[0].color,style:{marginRight:"5px"},gradientEnabled:!1,onChange:n=>t.history.transaction((()=>{e.forEach((e=>{e.set({color:n})}))})),store:t})));const m={"":o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 16 8"}))),arrow:o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 8 3 L 1 8 L 8 13",fill:"none",strokeLinejoin:"round",strokeLinecap:"round"}),o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 15 8",strokeLinejoin:"round",strokeLinecap:"round"}))),triangle:o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 8 3 L 1 8 L 8 13 Z",fill:"currentColor",strokeLinejoin:"round",strokeLinecap:"round"}),o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 15 8",strokeLinejoin:"round",strokeLinecap:"round"}))),bar:o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 3 L 1 13",strokeLinejoin:"round",strokeLinecap:"round"}),o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 15 8",strokeLinejoin:"round",strokeLinecap:"round"}))),square:o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 4 L 9 4 L 9 12 L 1 12 Z",fill:"currentColor",strokeLinejoin:"round",strokeLinecap:"round"}),o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 15 8",strokeLinejoin:"round",strokeLinecap:"round"}))),circle:o.default.createElement("span",{"aria-hidden":"true",className:"bp4-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},o.default.createElement("circle",{cx:"4",cy:"8",r:"4",fill:"currentColor"}),o.default.createElement("path",{stroke:"currentColor",strokeWidth:"2",d:"M 1 8 L 15 8",strokeLinejoin:"round",strokeLinecap:"round"})))},g=({type:e,active:t,onClick:n,flipped:r})=>{const i=m[e];return o.default.createElement(a.Button,{icon:r?o.default.createElement("span",{style:{transform:"scaleX(-1)"}},i):i,minimal:!0,onClick:n,active:t})};t.BasicHead=(0,i.observer)((({elements:e,store:t,property:n})=>{const r="endHead"===n,i=m[e[0][n]],s=r?o.default.createElement("span",{style:{transform:"scaleX(-1)"}},i):i,c=r=>{t.history.transaction((()=>{e.forEach((e=>{e.set({[n]:r})}))}))};return o.default.createElement(o.default.Fragment,null,o.default.createElement(l.Popover2,{content:o.default.createElement("div",{style:{width:"150px",padding:"10px"}},o.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},["","arrow","triangle"].map((t=>o.default.createElement(g,{key:t,type:t,active:e[0][n]===t,onClick:()=>{c(t)},flipped:r})))),o.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},["bar","square","circle"].map((t=>o.default.createElement(g,{key:t,type:t,active:e[0][n]===t,onClick:()=>{c(t)},flipped:r}))))),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:s,minimal:!0})))})),t.LineHeads=(0,i.observer)((({elements:e,store:n})=>o.default.createElement(o.default.Fragment,null,o.default.createElement(t.BasicHead,{elements:e,store:n,property:"startHead"}),o.default.createElement(t.BasicHead,{elements:e,store:n,property:"endHead"}))));const y={LineSettings:v,LineColor:t.LineColor,LineHeads:t.LineHeads,LineAnimations:c.AnimationsPicker};t.LineToolbar=(0,i.observer)((({store:e,components:t})=>{const n=e.selectedElements[0],r=["LineColor","LineSettings","LineHeads",p.flags.animationsEnabled&&"LineAnimations"].filter((e=>Boolean(e))),i=(0,d.extendToolbar)({type:"line",usedItems:r,components:t});return o.default.createElement(d.ElementContainer,{items:i,itemRender:r=>{const i=t[r]||y[r];return o.default.createElement(i,{element:n,store:e,key:r,elements:e.selectedElements})}})})),t.default=t.LineToolbar},75029:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LockButton=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(13507);t.LockButton=(0,i.observer)((({store:e})=>{const t=e.selectedShapes.length>0,n=e.selectedShapes[0],r=null==n?void 0:n.locked,i=r?"lock":"unlock",c=r?(0,s.t)("toolbar.lockedDescription"):(0,s.t)("toolbar.unlockedDescription");return o.default.createElement(l.Tooltip2,{content:c,disabled:!t,position:"bottom"},o.default.createElement(a.Button,{minimal:!0,disabled:!t,icon:i,onClick:()=>{e.selectedShapes.forEach((e=>e.set({draggable:r,contentEditable:r,styleEditable:r,resizable:r})))}}))}))},8825:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ManyToolbar=void 0;const o=r(n(67294)),i=n(50242),a=n(73468),l={ManyAnimations:n(62002).AnimationsPicker};t.ManyToolbar=(0,i.observer)((({store:e,components:t})=>{const n=e.selectedElements,r=(0,a.extendToolbar)({type:"many",usedItems:["ManyAnimations"],components:t});return o.default.createElement(a.ElementContainer,{items:r,itemRender:r=>{const i=t[r]||l[r];return o.default.createElement(i,{elements:n,element:n[0],store:e,key:r})}})})),t.default=t.ManyToolbar},64783:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.OpacityPicker=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(49346),c=r(n(22214)),u=n(13507);t.OpacityPicker=(0,i.observer)((({store:e})=>{var t;const n=e.selectedShapes.length>0,r=t=>{t=Math.max(0,Math.min(t,100)),e.selectedShapes.forEach((e=>{e.set({opacity:t/100})}))},i=Math.round(100*(null===(t=e.selectedShapes[0])||void 0===t?void 0:t.opacity));return o.default.createElement(s.Popover2,{disabled:!n,minimal:!1,content:o.default.createElement("div",{style:{padding:"10px 20px"}},o.default.createElement("div",{style:{textAlign:"center"}},(0,u.t)("toolbar.transparency")),o.default.createElement("div",{style:{display:"flex"}},o.default.createElement("div",{style:{paddingTop:"8px",paddingRight:"20px"}},o.default.createElement(a.Slider,{value:i,labelRenderer:!1,onChange:r,min:0,max:100})),o.default.createElement(a.NumericInput,{value:i,onValueChange:r,min:0,max:100,buttonPosition:"none",style:{width:"50px"},selectAllOnFocus:!0}))),position:a.Position.BOTTOM},o.default.createElement(l.Tooltip2,{content:(0,u.t)("toolbar.transparency"),disabled:!n,position:a.Position.BOTTOM},o.default.createElement(a.Button,{minimal:!0,disabled:!n},o.default.createElement(c.default,{className:"bp4-icon",style:{fontSize:"20px"}}))))}))},2933:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageToolbar=t.NumberInput=void 0;const i=o(n(67294)),a=n(50242),l=n(50757),s=n(49346),c=n(73468),u=n(13507),d=n(81922);t.NumberInput=e=>{var{value:t,onValueChange:n}=e,o=r(e,["value","onValueChange"]);const[a,s]=i.default.useState(t.toString());return i.default.useEffect((()=>{s(t.toString())}),[t]),i.default.createElement(l.NumericInput,Object.assign({value:a,onValueChange:(e,t)=>{s(t),Number.isNaN(e)||n(e)}},o))};const h={PageDuration:(0,a.observer)((({store:e})=>{if(!e.activePage)return null;const{duration:n}=e.activePage;return i.default.createElement(s.Popover2,{content:i.default.createElement("div",{style:{padding:"15px",paddingTop:"15px",width:"230px"}},i.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},i.default.createElement("div",null,(0,u.t)("toolbar.duration")),i.default.createElement("div",null,i.default.createElement(t.NumberInput,{value:n/1e3,onValueChange:t=>{e.activePage.set({duration:1e3*t})},style:{width:"50px"},min:0,buttonPosition:"none"}))),i.default.createElement(l.Slider,{value:Math.min(n/1e3,50),onChange:t=>{e.activePage.set({duration:1e3*t})},min:0,max:50,showTrackFill:!1,labelRenderer:!1}))},i.default.createElement(l.Button,{icon:"time",minimal:!0},(e.activePage.duration/1e3).toFixed(1),"s"))}))};t.PageToolbar=(0,a.observer)((({store:e,components:t})=>{const n=[d.flags.animationsEnabled&&"PageDuration"].filter((e=>!!e)),r=(0,c.extendToolbar)({type:"page",usedItems:n,components:t});return i.default.createElement(c.ElementContainer,{items:r,itemRender:n=>{const r=t[n]||h[n];return i.default.createElement(r,{store:e,key:n})}})})),t.default=t.PageToolbar},20778:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PositionPicker=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(240),c=n(13507);t.PositionPicker=(0,i.observer)((({store:e})=>{var t,n,r,i;const u=e.selectedElements.length>0,d=e.selectedElementsIds,h=e.selectedElements.every((e=>e.draggable)),f=!e.selectedElements.some((e=>"group"===e.type))&&h;return o.default.createElement(l.Popover2,{disabled:!u,content:o.default.createElement(a.Menu,null,o.default.createElement(a.MenuDivider,{title:(0,c.t)("toolbar.layering")}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"double-chevron-up",text:(0,c.t)("toolbar.toForward"),disabled:!(null===(t=e.activePage)||void 0===t?void 0:t.canMoveElementsTop(d)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsTop(d)}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"chevron-up",text:(0,c.t)("toolbar.up"),disabled:!(null===(n=e.activePage)||void 0===n?void 0:n.canMoveElementsUp(d)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsUp(d)}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"chevron-down",text:(0,c.t)("toolbar.down"),disabled:!(null===(r=e.activePage)||void 0===r?void 0:r.canMoveElementsDown(d)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsDown(d)}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"double-chevron-down",text:(0,c.t)("toolbar.toBottom"),disabled:!(null===(i=e.activePage)||void 0===i?void 0:i.canMoveElementsBottom(d)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsBottom(d)}}),f&&o.default.createElement(o.default.Fragment,null,o.default.createElement(a.MenuDivider,{title:(0,c.t)("toolbar.position")}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-left",text:(0,c.t)("toolbar.alignLeft"),onClick:()=>{var t;let n=null===(t=e.activePage)||void 0===t?void 0:t.computedWidth;e.selectedElements.forEach((e=>{n=Math.min(n,(0,s.getClientRect)(e).x)})),1===e.selectedElements.length&&(n=0),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);e.set({x:e.x-t.x+n})}))}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-vertical-center",text:(0,c.t)("toolbar.alignCenter"),onClick:()=>{var t,n;let r=null===(t=e.activePage)||void 0===t?void 0:t.computedWidth,o=0;e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);r=Math.min(r,t.x),o=Math.max(o,t.x+t.width)}));let i=(o+r)/2;1===e.selectedElements.length&&(i=(null===(n=e.activePage)||void 0===n?void 0:n.computedWidth)/2),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e),n=e.x-t.x;e.set({x:i+n-t.width/2})}))}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-right",text:(0,c.t)("toolbar.alignRight"),onClick:()=>{var t;let n=0;e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);n=Math.max(n,t.x+t.width)})),1===e.selectedElements.length&&(n=null===(t=e.activePage)||void 0===t?void 0:t.computedWidth),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);e.set({x:e.x-t.x+n-t.width})}))}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-top",text:(0,c.t)("toolbar.alignTop"),onClick:()=>{var t;let n=null===(t=e.activePage)||void 0===t?void 0:t.computedHeight;e.selectedElements.forEach((e=>{n=Math.min(n,(0,s.getClientRect)(e).y)})),1===e.selectedElements.length&&(n=0),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);e.set({y:e.y-t.y+n})}))}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-horizontal-center",text:(0,c.t)("toolbar.alignMiddle"),onClick:()=>{var t,n;let r=null===(t=e.activePage)||void 0===t?void 0:t.computedHeight,o=0;e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);r=Math.min(r,t.y),o=Math.max(o,t.y+t.height)}));let i=(o+r)/2;1===e.selectedElements.length&&(i=(null===(n=e.activePage)||void 0===n?void 0:n.computedHeight)/2),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e),n=e.y-t.y;e.set({y:i+n-t.height/2})}))}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"alignment-bottom",text:(0,c.t)("toolbar.alignBottom"),onClick:()=>{var t;let n=0;e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);n=Math.max(n,t.y+t.height)})),1===e.selectedElements.length&&(n=null===(t=e.activePage)||void 0===t?void 0:t.computedHeight),e.selectedElements.forEach((e=>{const t=(0,s.getClientRect)(e);e.set({y:e.y-t.y+n-t.height})}))}}))),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:"layers",minimal:!0,text:(0,c.t)("toolbar.position"),disabled:!u}))}))},29954:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveBackgroundButton=t.RemoveBackgroundDialog=t.setRemoveBackgroundFunc=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(89111),s=n(13507);let c=async e=>{const t=await fetch((0,l.removeBackground)(),{method:"POST",body:JSON.stringify({url:e})});return 200!==t.status?(alert((0,s.t)("error.removeBackground")),e):(await t.json()).url};t.setRemoveBackgroundFunc=function(e){c=e},t.RemoveBackgroundDialog=(0,i.observer)((({isOpen:e,onClose:t,element:n})=>{const[r,i]=o.default.useState(n.src);o.default.useEffect((()=>{i(n.src)}),[n.src]);const[l,u]=o.default.useState(!1),d=r!==n.src;return o.default.createElement(a.Dialog,{onClose:t,title:(0,s.t)("toolbar.removeBackgroundTitle"),isOpen:e,style:{width:"80%",maxWidth:"700px"}},o.default.createElement("div",{className:a.Classes.DIALOG_BODY},o.default.createElement("img",{src:r,style:{width:"100%",maxHeight:"400px",objectFit:"contain"}})),o.default.createElement("div",{className:a.Classes.DIALOG_FOOTER,style:{position:"relative"}},o.default.createElement("div",{style:{position:"absolute",top:"5px"}},"Powered by"," ",o.default.createElement("a",{href:"https://hotpot.ai/",target:"_blank"},"hotpot.ai")),o.default.createElement("div",{className:a.Classes.DIALOG_FOOTER_ACTIONS},!d&&o.default.createElement(a.Button,{onClick:async()=>{u(!0);try{i(await c(n.src))}catch(e){console.error(e)}u(!1)},loading:l},(0,s.t)("toolbar.removeBackground")),d&&o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Button,{onClick:()=>{i(n.src),t()},loading:l},(0,s.t)("toolbar.cancelRemoveBackground")),o.default.createElement(a.Button,{onClick:()=>{n.set({src:r}),t()},loading:l,intent:"primary"},(0,s.t)("toolbar.confirmRemoveBackground"))))))})),t.RemoveBackgroundButton=({element:e})=>{const[n,r]=o.default.useState(!1);return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Button,{text:(0,s.t)("toolbar.removeBackground"),minimal:!0,onClick:e=>{r(!0)}}),o.default.createElement(t.RemoveBackgroundDialog,{isOpen:n,onClose:()=>{r(!1)},element:e}))}},77515:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveButton=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(13507);t.RemoveButton=(0,i.observer)((({store:e})=>{const t=e.selectedElements.filter((e=>e.removable));return o.default.createElement(l.Tooltip2,{content:(0,s.t)("toolbar.removeElements"),disabled:!t.length,position:"bottom"},o.default.createElement(a.Button,{icon:"trash",minimal:!0,onClick:()=>{e.deleteElements(t.map((e=>e.id)))},disabled:!t.length,style:{marginLeft:"auto"}}))}))},90229:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;const o=r(n(67294)),i=r(n(45697)),a=r(n(79941)),l=r(n(82492)),s=n(50757),c=r(n(55933)),u=r(n(20185)),d=n(1150),h=r(n(24530)),f=r(n(13067)),p=e=>{const t=o.default.useRef(e);return t.current=e,o.default.useCallback(((...e)=>t.current(...e)),[])};t.Sketch=({width:e,rgb:t,hex:n,hsv:r,hsl:i,onChange:v,onSwatchHover:m,disableAlpha:g,presetColors:y,renderers:b,styles:w={},className:_=""})=>{const E=(0,a.default)((0,l.default)({default:Object.assign({picker:{width:e,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:`rgba(${t.r},${t.g},${t.b},${t.a})`,boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},w),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},w),{disableAlpha:g}),[x,S]=o.default.useState(!1),O=o.default.useRef(null),C=p((e=>{var t;if(x){const n=null===(t=O.current)||void 0===t?void 0:t.fill();n&&v(u.default.Util.colorToRGBA(n)),z(),function(e,t){let n=e.target;for(;n;){if(n.classList.contains("color-picker-button"))return!0;n=n.parentElement}return!1}(e)||S(!1),e.stopPropagation(),e.stopImmediatePropagation()}})),M=p((e=>{if(!x)return;const t=u.default.stages.find((t=>{const n=t.getContent().getBoundingClientRect();return n.left<e.clientX&&n.left+n.width>e.clientX&&n.top<e.clientY&&n.top+n.height>e.clientY}));if(!t)return void z();const n=t.getContent().getBoundingClientRect(),r=e.clientX-n.left,o=e.clientY-n.top,i=t.children[0],a=i.getNativeCanvasElement(),l=i.getCanvas().getPixelRatio(),{data:s}=a.getContext("2d").getImageData(r*l,o*l,1,1),c=t.findOne(".line-guides");c.findOne(".picker")||(O.current&&O.current.destroy(),O.current=new u.default.Circle({name:"picker",radius:14,stroke:"black",strokeWidth:1}),c.add(O.current)),O.current.setAbsolutePosition({x:r-15,y:o-15}),O.current.fill("rgb("+s[0]+","+s[1]+","+s[2]+")")}));o.default.useEffect((()=>(window.addEventListener("mousemove",M),window.addEventListener("mousedown",C,!0),window.addEventListener("touchstart",C,!0),()=>{window.removeEventListener("mousemove",M),window.removeEventListener("mousedown",C,!0),window.removeEventListener("touchstart",C,!0),z()})),[]),o.default.useEffect((()=>{x||z()}),[x]),o.default.useEffect((()=>(x&&(document.body.style.cursor="crosshair"),()=>{document.body.style.cursor="default"})),[x]);const z=p((()=>{O.current&&(O.current.destroy(),O.current=null)}));return o.default.createElement("div",{style:E.picker,className:`sketch-picker ${_}`},o.default.createElement("div",{style:E.saturation},o.default.createElement(d.Saturation,{style:E.Saturation,hsl:i,hsv:r,onChange:v})),o.default.createElement("div",{style:E.controls,className:"flexbox-fix"},o.default.createElement("div",{style:E.sliders},o.default.createElement("div",{style:E.hue},o.default.createElement(d.Hue,{style:E.Hue,hsl:i,onChange:v})),o.default.createElement("div",{style:E.alpha},o.default.createElement(d.Alpha,{style:E.Alpha,rgb:t,hsl:i,renderers:b,onChange:v}))),o.default.createElement("div",{style:E.color},o.default.createElement(d.Checkboard,null),o.default.createElement("div",{style:E.activeColor})),o.default.createElement("div",{style:E.color},o.default.createElement(s.Button,{icon:o.default.createElement(c.default,null),className:"color-picker-button",minimal:!0,style:{width:"24px",height:"24px",minWidth:"24px",minHeight:"24px",padding:0,margin:0},active:x,onClickCapture:e=>{S((e=>!e)),e.stopPropagation()}}))),o.default.createElement(h.default,{rgb:t,hsl:i,hex:n,onChange:v,disableAlpha:g}),o.default.createElement(f.default,{colors:y,onClick:v,onSwatchHover:m}))},t.Sketch.propTypes={disableAlpha:i.default.bool,width:i.default.oneOfType([i.default.string,i.default.number]),styles:i.default.object},t.Sketch.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,d.ColorWrap)(t.Sketch)},57611:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SvgToolbar=void 0;const l=a(n(67294)),s=n(50242),c=i(n(34824)),u=n(73468),d=a(n(71215)),h=a(n(57299)),f=a(n(62849)),p=n(62002),v=n(81922),m=(e,t)=>Array.from(e.keys()).find((e=>c.sameColors(e,t))),g=(e,t)=>{const n=m(e,t);return e.get(n||"")||t},y=(0,s.observer)((({element:e,elements:t,store:n})=>{const r=c.useSvgColors(e.src);return l.default.createElement(l.default.Fragment,null,!e.maskSrc&&r.slice(0,5).map((t=>l.default.createElement(h.default,{key:t,value:g(e.colorsReplace,t),style:{marginLeft:"5px"},onChange:n=>{const r=m(e.colorsReplace,t)||t;e.replaceColor(r,n)},store:n,gradientEnabled:!0}))))})),b={SvgFlip:f.default,SvgFilters:d.default,SvgColors:y,SvgAnimations:p.AnimationsPicker};t.SvgToolbar=(0,s.observer)((({store:e,hideSvgEffects:t,components:n})=>{const r=e.selectedElements,o=["SvgFlip",!t&&"SvgFilters","SvgColors",v.flags.animationsEnabled&&"SvgAnimations"].filter((e=>!!e)),i=(0,u.extendToolbar)({type:"svg",usedItems:o,components:n});return l.default.createElement(u.ElementContainer,{items:i,itemRender:t=>{const o=n[t]||b[t];return l.default.createElement(o,{elements:r,element:r[0],store:e,key:t})}})})),t.default=t.SvgToolbar},32142:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextToolbar=t.SpacingInput=t.FontColorInput=t.FontStyleGroup=t.FontSizeInput=t.FontFamilyInput=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=n(49346),s=n(84356),c=r(n(92898)),u=n(92275),d=n(89111),h=n(55609),f=r(n(57299)),p=r(n(71215)),v=n(62002),m=n(73468),g=r(n(89155)),y=r(n(38165)),b=r(n(94843)),w=r(n(70960)),_=r(n(60738)),E=n(13507),x=n(81922),S=(0,y.default)("img")`
|
||
height: 20px;
|
||
|
||
.bp4-dark & {
|
||
filter: invert(1);
|
||
}
|
||
`,O=(0,u.getFontsList)(),C=({fontFamily:e,handleClick:t,modifiers:n,store:r,isCustom:i})=>{const[l,s]=o.default.useState(!i);if(o.default.useEffect((()=>{l||r.loadFont(e)}),[e,l]),"_divider"===e)return o.default.createElement("div",{style:{paddingTop:"10px"}},o.default.createElement(a.MenuDivider,null));const c=l?o.default.createElement(S,{src:(0,d.getGoogleFontImage)(e),alt:e,onError:()=>{s(!1)}}):e;return o.default.createElement(a.MenuItem,{text:c,active:n.active,disabled:n.disabled,onClick:t,style:{fontFamily:'"'+e+'"'}})},M=({onChange:e,defaultValue:t})=>{const n=o.default.useRef(null);return o.default.useEffect((()=>{n.current&&n.current.focus()}),[]),o.default.createElement(a.InputGroup,{leftIcon:"search",inputRef:n,defaultValue:t,onChange:t=>e(t.target.value)})},z=({store:e,fonts:t,activeFont:n,activeFontLabel:r,onFontSelect:i})=>{const[c,d]=o.default.useState(""),h=t.filter((e=>e.toLowerCase().indexOf(c.toLowerCase())>=0));return o.default.createElement(l.Popover2,{content:o.default.createElement("div",null,o.default.createElement(M,{onChange:e=>d(e),defaultValue:c}),o.default.createElement("div",{style:{paddingTop:"5px"}},o.default.createElement(s.FixedSizeList,{innerElementType:o.default.forwardRef(((e,t)=>o.default.createElement(a.Menu,Object.assign({ref:t},e)))),height:Math.min(400,30*h.length)+10,width:210,itemCount:h.length,itemSize:30,children:({index:t,style:r})=>{const a=h[t];return o.default.createElement("div",{style:r},o.default.createElement(C,{key:a,fontFamily:a,modifiers:{active:n===a},handleClick:()=>i(a),store:e,isCustom:e.fonts.find((e=>e.fontFamily===a))||u.globalFonts.find((e=>e.fontFamily===a))}))}})))},o.default.createElement(a.Button,{text:r,rightIcon:"caret-down",minimal:!0,style:{marginRight:"5px",fontFamily:'"'+n+'"',overflow:"hidden",whiteSpace:"nowrap",maxHeight:"30px"}}))};t.FontFamilyInput=(0,i.observer)((({elements:e,store:t})=>{const{data:n,mutate:r}=(0,c.default)((0,d.getGoogleFontsListAPI)(),h.fetcher,{isPaused:()=>(0,u.isGoogleFontChanged)(),fallbackData:[]});o.default.useEffect((()=>{r()}),[(0,u.isGoogleFontChanged)()]);const i=t.fonts.concat(u.globalFonts).map((e=>e.fontFamily)).concat((null==n?void 0:n.length)&&!(0,u.isGoogleFontChanged)()?n:O);let a=e[0].fontFamily;a.length>15&&(a=a.slice(0,15)+"...");const l=[];t.find((e=>("text"===e.type&&l.push(e.fontFamily),!1)));const s=[...new Set(l.concat("_divider").concat(i))];return o.default.createElement(z,{fonts:s,activeFont:e[0].fontFamily,activeFontLabel:a,store:t,onFontSelect:n=>{t.history.transaction((()=>{e.forEach((e=>{e.set({fontFamily:n})}))}))}})})),t.FontSizeInput=(0,i.observer)((({elements:e,store:t})=>o.default.createElement(a.NumericInput,{onValueChange:n=>{t.history.transaction((()=>{e.forEach((e=>{e.set({fontSize:n,width:Math.max(n,e.width)})}))}))},value:Math.round(e[0].fontSize),style:{width:"50px"},min:5,max:4*t.height})));const P=["left","center","right","justify"],T=["top","middle","bottom"],A={top:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(b.default,null)),middle:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(w.default,null)),bottom:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(_.default,null))};t.FontStyleGroup=(0,i.observer)((({elements:e,store:t})=>{const n=e[0];return o.default.createElement(a.ButtonGroup,null,o.default.createElement(a.Button,{minimal:!0,icon:"align-"+n.align,onClick:()=>{const r=(P.indexOf(n.align)+1+P.length)%P.length,o=P[r];t.history.transaction((()=>{e.forEach((e=>{e.set({align:o})}))}))}}),x.flags.textVerticalResizeEnabled&&o.default.createElement(a.Button,{minimal:!0,icon:A[n.verticalAlign],onClick:()=>{const r=(T.indexOf(n.verticalAlign)+1+T.length)%T.length,o=T[r];t.history.transaction((()=>{e.forEach((e=>{e.set({verticalAlign:o})}))}))}}),o.default.createElement(a.Button,{minimal:!0,icon:"bold",active:"bold"===n.fontWeight||"700"===n.fontWeight,onClick:()=>{const r="bold"===n.fontWeight||"700"===n.fontWeight;t.history.transaction((()=>{e.forEach((e=>{r?e.set({fontWeight:"normal"}):e.set({fontWeight:"bold"})}))}))}}),o.default.createElement(a.Button,{minimal:!0,icon:"italic",active:"italic"===n.fontStyle,onClick:()=>{const r="italic"===n.fontStyle;t.history.transaction((()=>{e.forEach((e=>{r?e.set({fontStyle:"normal"}):e.set({fontStyle:"italic"})}))}))}}),o.default.createElement(a.Button,{minimal:!0,icon:"underline",active:n.textDecoration.indexOf("underline")>=0,onClick:()=>{let r=n.textDecoration.split(" ");r.indexOf("underline")>=0?r=r.filter((e=>"underline"!==e)):r.push("underline"),t.history.transaction((()=>{e.forEach((e=>{e.set({textDecoration:r.join(" ")})}))}))}}),o.default.createElement(a.Button,{minimal:!0,icon:"strikethrough",active:n.textDecoration.indexOf("line-through")>=0,onClick:()=>{let r=n.textDecoration.split(" ");r.indexOf("line-through")>=0?r=r.filter((e=>"line-through"!==e)):r.push("line-through"),t.history.transaction((()=>{e.forEach((e=>{e.set({textDecoration:r.join(" ")})}))}))}}))})),t.FontColorInput=(0,i.observer)((({elements:e,store:t})=>o.default.createElement(f.default,{value:e[0].fill,style:{marginRight:"5px"},gradientEnabled:!0,onChange:n=>t.history.transaction((()=>{e.forEach((e=>{e.set({fill:n})}))})),store:t}))),t.SpacingInput=(0,i.observer)((({elements:e,store:t})=>{const n=e[0];return o.default.createElement(l.Popover2,{content:o.default.createElement("div",{style:{padding:"15px 25px",width:"200px"}},o.default.createElement("p",null,(0,E.t)("toolbar.lineHeight")),o.default.createElement(a.Slider,{value:"number"==typeof n.lineHeight?100*n.lineHeight:120,labelStepSize:50,onChange:n=>{t.history.transaction((()=>{e.forEach((e=>{e.set({lineHeight:n/100})}))}))},min:50,max:250,stepSize:10,showTrackFill:!0}),o.default.createElement("p",null,(0,E.t)("toolbar.letterSpacing")),o.default.createElement(a.Slider,{value:100*n.letterSpacing,labelStepSize:50,onChange:n=>{t.history.transaction((()=>{e.forEach((e=>{e.set({letterSpacing:n/100})}))}))},min:-50,max:250,stepSize:10,showTrackFill:!1})),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:o.default.createElement(g.default,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0}))}));const L={TextFontFamily:t.FontFamilyInput,TextFontSize:t.FontSizeInput,TextFontVariant:t.FontStyleGroup,TextFilters:p.default,TextFill:t.FontColorInput,TextSpacing:t.SpacingInput,TextAnimations:v.AnimationsPicker};t.TextToolbar=(0,i.observer)((({store:e,hideTextFontFamily:t,hideTextEffects:n,hideTextSpacing:r,hideTextBold:i,hideTextItalic:a,hideTextUnderline:l,components:s})=>{const c=e.selectedElements,u=["TextFill",!t&&"TextFontFamily","TextFontSize","TextFontVariant",x.flags.animationsEnabled&&"TextAnimations",!r&&"TextSpacing",!n&&"TextFilters"].filter((e=>!!e)),d=(0,m.extendToolbar)({type:"text",usedItems:u,components:s});return o.default.createElement(m.ElementContainer,{items:d,itemRender:t=>{const n=s[t]||L[t];return o.default.createElement(n,{elements:c,element:c[0],store:e,key:t,hideTextBold:i,hideTextItalic:a,hideTextUnderline:l})}})})),t.default=t.TextToolbar},73967:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Toolbar=t.registerToolbarComponent=void 0;const o=r(n(67294)),i=n(50242),a=n(50757),l=r(n(38165)),s=n(84077),c=n(71832),u=n(32142),d=n(84408),h=n(50121),f=n(57611),p=n(13354),v=n(8825),m=n(2933),g=n(66),y=n(6543),b=n(77515),w=n(75029),_=n(20778),E=n(64783),x=n(79920),S=n(92162),O=n(81922),C={text:u.TextToolbar,image:h.ImageToolbar,svg:f.SvgToolbar,many:v.ManyToolbar,line:p.LineToolbar,page:m.PageToolbar};t.registerToolbarComponent=function(e,t){C[e]=t};const M=(0,l.default)("div")`
|
||
${(0,s.mobileStyle)("\n max-width: 100vw;\n overflow-x: auto;\n overflow-y: hidden;\n ")}
|
||
`,z=(0,l.default)("div")`
|
||
width: 100%;
|
||
height: 100%;
|
||
${(0,s.mobileStyle)("\n display: flex;\n ")}
|
||
`;t.Toolbar=(0,i.observer)((({store:e,downloadButtonEnabled:t,hideTextFontFamily:n,hideTextSpacing:r,hideTextEffects:i,hideImageFlip:l,hideImageEffects:s,hideImageCrop:u,hideImageFit:h,hideImageRemoveBackground:f,hideSvgEffects:p,hidePosition:v,hideOpacity:m,hideDuplicate:P,hideLock:T,hideRemove:A,components:L={}})=>{const k=1===new Set(e.selectedElements.map((e=>e.type))).size,N=1===e.selectedElements.length,I=e.selectedElements[0],R=e.selectedElements.every((e=>e.styleEditable));let H=R&&N&&C[I.type];k&&"text"===(null==I?void 0:I.type)?H=C[I.type]:e.selectedElements.length>1&&(H=C.many),0===e.selectedElements.length&&(H=C.page),N&&"text"===I.type&&O.flags.htmlRenderEnabled&&(H=d.HtmlToolbar);const V=N&&I._cropModeEnabled,D=(null==L?void 0:L.ActionControls)||(t?g.DownloadButton:null),j=(null==L?void 0:L.Position)||_.PositionPicker,F=(null==L?void 0:L.Opacity)||E.OpacityPicker,B=(null==L?void 0:L.Lock)||w.LockButton,U=(null==L?void 0:L.Duplicate)||y.DuplicateButton,G=(null==L?void 0:L.Remove)||b.RemoveButton,q=(null==L?void 0:L.Group)||S.GroupButton,W=(null==L?void 0:L.History)||c.HistoryButtons,K=[n,r,i,l,s,u,h,f,p,v,m,P,T,A],$=["hideTextFontFamily","hideTextSpacing","hideTextEffects","hideImageFlip","hideImageEffects","hideImageCrop","hideImageFit","hideImageRemoveBackground","hideSvgEffects","hidePosition","hideOpacity","hideDuplicate","hideLock","hideRemove"];return o.default.useEffect((()=>{const e=[];K.forEach(((t,n)=>{void 0!==t&&e.push(n)})),e.length>0&&console.warn(`Toolbar props ${e.map((e=>$[e])).join(", ")} are deprecated. Please use components API instead instead. See https://polotno.com/docs/toolbar`)}),K),o.default.createElement(M,{className:"bp4-navbar"},o.default.createElement(z,null,!V&&o.default.createElement(W,{store:e}),H&&R&&o.default.createElement(H,{store:e,hideTextFontFamily:n,hideTextSpacing:r,hideTextEffects:i,hideImageFlip:l,hideImageEffects:s,hideImageCrop:u,hideImageFit:h,hideSvgEffects:p,hideImageRemoveBackground:f,components:L}),!V&&o.default.createElement(a.Navbar.Group,{align:a.Alignment.RIGHT},"admin"===e.role&&o.default.createElement(x.AdminButton,{store:e}),o.default.createElement(q,{store:e}),!v&&o.default.createElement(j,{store:e}),!m&&R&&o.default.createElement(F,{store:e}),!T&&o.default.createElement(B,{store:e}),!P&&o.default.createElement(U,{store:e}),!A&&o.default.createElement(G,{store:e}),D&&o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Divider,{style:{height:"100%",margin:"0 15px"}}),o.default.createElement(D,{store:e})))))})),t.default=t.Toolbar},14096:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomButtons=t.ZoomGroup=void 0;const o=r(n(67294)),i=n(50757),a=n(49346),l=r(n(38165)),s=n(50242),c=n(13507),u=n(84077),d=(0,l.default)("div")`
|
||
position: absolute;
|
||
bottom: 5px;
|
||
width: auto;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
opacity: 0.8;
|
||
border-radius: 5px;
|
||
overflow: hidden;
|
||
box-shadow: 0 0 4px lightgrey;
|
||
|
||
&:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
${(0,u.mobileStyle)("\n display: none;\n ")}
|
||
`,h=[.1,.25,.5,.75,1,1.5,2,3];t.ZoomGroup=(0,s.observer)((({store:e})=>{const t=Math.max(2,e.scaleToFit),n=Math.min(.5,e.scaleToFit),r=e.scale<t,l=e.scale>n;return o.default.createElement(i.Navbar.Group,{align:i.Alignment.LEFT,style:{height:"35px"}},o.default.createElement(i.Button,{icon:"zoom-out",minimal:!0,onClick:()=>{e.setScale(e.scale/1.2)},disabled:!l}),o.default.createElement(a.Popover2,{content:o.default.createElement(i.Menu,{style:{minWidth:"80px"}},h.map((t=>o.default.createElement(i.MenuItem,{key:t,text:Math.round(100*t)+"%",onClick:async()=>{e.setScale(t)}}))),o.default.createElement(i.MenuItem,{text:(0,c.t)("scale.reset"),onClick:async()=>{e.setScale(e.scaleToFit)}}))},o.default.createElement(i.Button,{minimal:!0},Math.round(100*e.scale)+"%")),o.default.createElement(i.Button,{icon:"zoom-in",minimal:!0,onClick:()=>{e.setScale(1.2*e.scale)},disabled:!r}))})),t.ZoomButtons=(0,s.observer)((({store:e})=>o.default.createElement(d,null,o.default.createElement(i.Navbar,{style:{height:"35px",padding:"0 5px"}},o.default.createElement(t.ZoomGroup,{store:e}))))),t.default=t.ZoomButtons},97318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerAnimation=t.animate=t.animations=void 0;const n={right:{from:{x:-200},to:{x:0}},left:{from:{x:200},to:{x:0}},up:{from:{y:200},to:{y:0}},down:{from:{y:-200},to:{y:0}},"bottom-right":{from:{x:-200,y:-200},to:{x:0,y:0}},"bottom-left":{from:{x:200,y:-200},to:{x:0,y:0}},"top-right":{from:{x:-200,y:200},to:{x:0,y:0}},"top-left":{from:{x:200,y:200},to:{x:0,y:0}}};t.animations={fade:({dTime:e,element:t,animation:n})=>{const r=e/n.duration;return"enter"===n.type?{opacity:r*t.opacity}:{opacity:(1-r)*t.opacity}},move:({dTime:e,element:t,animation:r})=>{const o=n[r.data.direction]||n.right,i={};for(var a in o.from){let n=t[a]+o.from[a],l=t[a]+o.to[a];if("exit"===r.type){const e=n;n=l,l=-e}const s=l-n;i[a]=n+e/r.duration*s}return i},zoom:({dTime:e,element:t,animation:n})=>{const r={},o={x:t.x+t.width/3,y:t.y+t.height/3,width:t.width/3,height:t.height/3,fontSize:t.fontSize/3},i={x:t.x,y:t.y,width:t.width,height:t.height,fontSize:t.fontSize};for(var a in o){let t=o[a],l=i[a];if("exit"===n.type){const e=t;t=l,l=e}const s=l-t;r[a]=t+e/n.duration*s}return r}},t.animate=({element:e,dTime:n,animation:r})=>{const o=t.animations[r.name];return o?o({element:e,dTime:n,animation:r}):(console.error("Can not find animation type: "+r.name),{})},t.registerAnimation=(e,t)=>{}},89111:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAPI=t.iconscoutDownload=t.iconscoutList=t.svgapiDownload=t.svgapiList=t.unsplashDownload=t.unsplashList=t.textTemplateList=t.templateList=t.removeBackground=t.polotnoShapesList=t.getGoogleFontImage=t.getGoogleFontsListAPI=t.URLS=t.URL=t.API=void 0;const r=n(49202);t.API="https://api.polotno.dev/api",t.URL="https://api.polotno.dev";const o={},i=(e,t)=>{o[e]||(o[e]=!0,console.error(t))},a="API for iconscout is provided as a demonstration.\nFor production usage you have to use your own API endpoint.\nhttps://iconscout.com/developers, https://iconscout.com/legal/api-license-development-agreement\nhttps://polotno.com/docs/server-api";t.URLS={unsplashList:({query:e,page:n=1})=>`${t.API}/get-unsplash?query=${e}&per_page=20&page=${n}&KEY=${(0,r.getKey)()}`,unsplashDownload:e=>`${t.API}/download-unsplash?id=${e}&KEY=${(0,r.getKey)()}`,svgapiList:({query:e,page:n=0})=>`${t.API}/get-svgapi?query=${e}&page=${n}&per_page=20&KEY=${(0,r.getKey)()}`,svgapiDownload:e=>`${t.API}/download-svgapi?path=${e}&KEY=${(0,r.getKey)()}`,iconscoutList:({query:e,page:n=1})=>(i("iconscout",a),`${t.API}/get-iconscout?query=${e}&page=${n}&KEY=${(0,r.getKey)()}`),iconscoutDownload:e=>(i("iconscout",a),`${t.API}/download-iconscout?uuid=${e}&KEY=${(0,r.getKey)()}`),templateList:({query:e,page:n=1,sizeQuery:o})=>`${t.API}/get-templates?${o}&query=${e}&per_page=30&page=${n}&KEY=${(0,r.getKey)()}`},t.getGoogleFontsListAPI=()=>`${t.API}/get-google-fonts?KEY=${(0,r.getKey)()}`,t.getGoogleFontImage=e=>{return`${t.URL}/google-fonts-previews/black/${n=e,n.replace(new RegExp(" ","g"),"-")}.png`;var n},t.polotnoShapesList=()=>`${t.API}/get-basic-shapes?KEY=${(0,r.getKey)()}`,t.removeBackground=()=>`${t.API}/remove-image-background?KEY=${(0,r.getKey)()}`,t.templateList=e=>t.URLS.templateList(e),t.textTemplateList=()=>`${t.API}/get-text-templates?KEY=${(0,r.getKey)()}`,t.unsplashList=e=>t.URLS.unsplashList(e),t.unsplashDownload=e=>t.URLS.unsplashDownload(e),t.svgapiList=e=>t.URLS.svgapiList(e),t.svgapiDownload=e=>t.URLS.svgapiDownload(e),t.iconscoutList=e=>t.URLS.iconscoutList(e),t.iconscoutDownload=e=>t.URLS.iconscoutDownload(e),t.setAPI=(e,n)=>{t.URLS[e]=n}},3021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCrop=void 0,t.getCrop=function(e,t,n="scale"){const r=t.width/t.height;let o,i;r>=e.width/e.height?(o=e.width,i=e.width/r):(o=e.height*r,i=e.height);let a=0,l=0;return"left-top"===n?(a=0,l=0):"left-middle"===n?(a=0,l=(e.height-i)/2):"left-bottom"===n?(a=0,l=e.height-i):"center-top"===n?(a=(e.width-o)/2,l=0):"center-middle"===n?(a=(e.width-o)/2,l=(e.height-i)/2):"center-bottom"===n?(a=(e.width-o)/2,l=e.height-i):"right-top"===n?(a=e.width-o,l=0):"right-middle"===n?(a=e.width-o,l=(e.height-i)/2):"right-bottom"===n?(a=e.width-o,l=e.height-i):"scale"===n?(a=0,l=0,o=e.width,i=e.height):console.error(new Error("Unknown clip position property - "+n)),{cropX:a,cropY:l,cropWidth:o,cropHeight:i}}},2920:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepEqual=void 0,t.deepEqual=function(e,n){if(e===n)return!0;if("object"==typeof e&&null!=e&&"object"==typeof n&&null!=n){if(Object.keys(e).length!=Object.keys(n).length)return!1;for(var r in e){if(!n.hasOwnProperty(r))return!1;if(!(0,t.deepEqual)(e[r],n[r]))return!1}return!0}return!1}},60055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.downloadFile=void 0,t.downloadFile=async function(e,t){const n=await(await fetch(e)).blob(),r=document.createElement("a"),o=URL.createObjectURL(n);r.href=o,r.download=t,document.body.appendChild(r),r.click(),setTimeout((function(){document.body.removeChild(r),window.URL.revokeObjectURL(o)}),0)}},49926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localFileToURL=void 0,t.localFileToURL=async function(e){return new Promise(((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)}))}},81922:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.setAnimationsEnabled=t.setTextOverflow=t.setForceTextFit=t.useDownScaling=t.setDownScalingEnabled=t.useHtmlTextRender=t.useRemoveBackground=t.setTextVerticalResizeEnabled=t.flags=void 0;const a=i(n(21833));function l(e){t.flags.imageDownScalingEnabled=e}t.flags=a.observable({imageDownScalingEnabled:!0,removeBackgroundEnabled:!0,htmlRenderEnabled:!1,forceTextFitEnabled:!1,textVerticalResizeEnabled:!1,textOverflow:"resize",animationsEnabled:!1}),t.setTextVerticalResizeEnabled=function(e){t.flags.textVerticalResizeEnabled=e},t.useRemoveBackground=function(e){t.flags.removeBackgroundEnabled=e},t.useHtmlTextRender=function(e){t.flags.htmlRenderEnabled=e},t.setDownScalingEnabled=l,t.useDownScaling=function(e){console.warn("useDownScaling is deprecated. Use setDownScalingEnabled instead."),l(e)},t.setForceTextFit=function(e){console.warn("setForceTextFit is deprecated. Use setTextOverflow instead."),t.flags.textOverflow="change-font-size"},t.setTextOverflow=function(e){t.flags.textOverflow=e},t.setAnimationsEnabled=function(e){t.flags.animationsEnabled=e}},92275:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.injectCustomFont=t.injectGoogleFont=t.loadFont=t.isFontLoaded=t.replaceGlobalFonts=t.removeGlobalFont=t.addGlobalFont=t.globalFonts=t.getFontsList=t.setGoogleFonts=t.isGoogleFontChanged=void 0;const a=i(n(21833)),l=n(31284);let s=a.observable(["Roboto","Amatic SC","Press Start 2P","Marck Script","Rubik Mono One"]),c=a.observable({value:!1});t.isGoogleFontChanged=function(){return c.value},t.setGoogleFonts=function(e){"default"!==e?(c.value=!0,s.splice(0,s.length),s.push(...e)):c.value=!1},t.getFontsList=function(){return s},t.globalFonts=a.observable([]),t.addGlobalFont=function(e){t.globalFonts.push(e)},t.removeGlobalFont=function(e){const n=t.globalFonts.findIndex((t=>t.fontFamily===e));-1!==n&&t.globalFonts.splice(n,1)},t.replaceGlobalFonts=function(e){t.globalFonts.replace(e)};var u=document.createElement("canvas");function d(e,t="Arial"){var n=u.getContext("2d");return n.font=`normal 40px '${e}', ${t}`,n.measureText("Some test text;?#D-ПРИВЕТ!1230o9u8i7y6t5r4e3w2q1").width}const h={Arial:!0};t.isFontLoaded=e=>h[e],t.loadFont=async function(e){var t;if(h[e])return;const n=!!(null===(t=document.fonts)||void 0===t?void 0:t.load),r=d("Arial");if(n)try{if(await document.fonts.load(`16px '${e}'`),r!==d(e))return void(h[e]=!0)}catch(e){}const o=d("Times","Times"),i=d(e);for(let t=0;t<100;t++){const t=d(e,"Arial"),n=d(e,"Times");if(t!==i||t!==r||n!==o)return void(h[e]=!0);await new Promise((e=>setTimeout(e,60)))}console.warn(`Timeout for loading font "${e}". Looks like polotno can't load it. Is it a correct font family?`),(0,l.triggerLoadError)(`Timeout for loading font "${e}"`)};const f={};t.injectGoogleFont=function(e){if(f[e])return;const t=`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}`,n=document.createElement("link");n.type="text/css",n.href=t,n.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(n),f[e]=!0};const p={};t.injectCustomFont=function(e){const t=e.fontFamily;if(p[t])return;if(!e.url&&!e.styles)return;const n=document.createElement("style");n.type="text/css";const r=e.styles||(e.url?[{src:`url("${e.url}")`}]:[]);let o="";r.forEach((e=>{o+=`\n @font-face {\n font-family: '${t}';\n src: ${e.src};\n font-style: ${e.fontStyle||"normal"};\n font-weight: ${e.fontWeight||"normal"};\n }\n `})),n.innerHTML=o,document.getElementsByTagName("head")[0].appendChild(n),p[e.fontFamily]=!0}},34552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGIF=t.getGIF=void 0;function n(){return window.GIF?Promise.resolve(window.GIF):new Promise((e=>{var t=document.createElement("script");t.onload=function(){e(window.GIF)},t.src="https://cdnjs.cloudflare.com/ajax/libs/gif.js/0.2.0/gif.js",document.head.appendChild(t)}))}t.getGIF=n,t.createGIF=async function({width:e,height:t}){return new(await n())({workers:4,width:e,height:t,workerScript:URL.createObjectURL(new Blob(['// gif.worker.js 0.2.0 - https://github.com/jnordberg/gif.js\n (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module \'"+o+"\'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){var NeuQuant=require("./TypedNeuQuant.js");var LZWEncoder=require("./LZWEncoder.js");function ByteArray(){this.page=-1;this.pages=[];this.newPage()}ByteArray.pageSize=4096;ByteArray.charMap={};for(var i=0;i<256;i++)ByteArray.charMap[i]=String.fromCharCode(i);ByteArray.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(ByteArray.pageSize);this.cursor=0};ByteArray.prototype.getData=function(){var rv="";for(var p=0;p<this.pages.length;p++){for(var i=0;i<ByteArray.pageSize;i++){rv+=ByteArray.charMap[this.pages[p][i]]}}return rv};ByteArray.prototype.writeByte=function(val){if(this.cursor>=ByteArray.pageSize)this.newPage();this.pages[this.page][this.cursor++]=val};ByteArray.prototype.writeUTFBytes=function(string){for(var l=string.length,i=0;i<l;i++)this.writeByte(string.charCodeAt(i))};ByteArray.prototype.writeBytes=function(array,offset,length){for(var l=length||array.length,i=offset||0;i<l;i++)this.writeByte(array[i])};function GIFEncoder(width,height){this.width=~~width;this.height=~~height;this.transparent=null;this.transIndex=0;this.repeat=-1;this.delay=0;this.image=null;this.pixels=null;this.indexedPixels=null;this.colorDepth=null;this.colorTab=null;this.neuQuant=null;this.usedEntry=new Array;this.palSize=7;this.dispose=-1;this.firstFrame=true;this.sample=10;this.dither=false;this.globalPalette=false;this.out=new ByteArray}GIFEncoder.prototype.setDelay=function(milliseconds){this.delay=Math.round(milliseconds/10)};GIFEncoder.prototype.setFrameRate=function(fps){this.delay=Math.round(100/fps)};GIFEncoder.prototype.setDispose=function(disposalCode){if(disposalCode>=0)this.dispose=disposalCode};GIFEncoder.prototype.setRepeat=function(repeat){this.repeat=repeat};GIFEncoder.prototype.setTransparent=function(color){this.transparent=color};GIFEncoder.prototype.addFrame=function(imageData){this.image=imageData;this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null;this.getImagePixels();this.analyzePixels();if(this.globalPalette===true)this.globalPalette=this.colorTab;if(this.firstFrame){this.writeLSD();this.writePalette();if(this.repeat>=0){this.writeNetscapeExt()}}this.writeGraphicCtrlExt();this.writeImageDesc();if(!this.firstFrame&&!this.globalPalette)this.writePalette();this.writePixels();this.firstFrame=false};GIFEncoder.prototype.finish=function(){this.out.writeByte(59)};GIFEncoder.prototype.setQuality=function(quality){if(quality<1)quality=1;this.sample=quality};GIFEncoder.prototype.setDither=function(dither){if(dither===true)dither="FloydSteinberg";this.dither=dither};GIFEncoder.prototype.setGlobalPalette=function(palette){this.globalPalette=palette};GIFEncoder.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};GIFEncoder.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};GIFEncoder.prototype.analyzePixels=function(){if(!this.colorTab){this.neuQuant=new NeuQuant(this.pixels,this.sample);this.neuQuant.buildColormap();this.colorTab=this.neuQuant.getColormap()}if(this.dither){this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null)}else{this.indexPixels()}this.pixels=null;this.colorDepth=8;this.palSize=7;if(this.transparent!==null){this.transIndex=this.findClosest(this.transparent,true)}};GIFEncoder.prototype.indexPixels=function(imgq){var nPix=this.pixels.length/3;this.indexedPixels=new Uint8Array(nPix);var k=0;for(var j=0;j<nPix;j++){var index=this.findClosestRGB(this.pixels[k++]&255,this.pixels[k++]&255,this.pixels[k++]&255);this.usedEntry[index]=true;this.indexedPixels[j]=index}};GIFEncoder.prototype.ditherPixels=function(kernel,serpentine){var kernels={FalseFloydSteinberg:[[3/8,1,0],[3/8,0,1],[2/8,1,1]],FloydSteinberg:[[7/16,1,0],[3/16,-1,1],[5/16,0,1],[1/16,1,1]],Stucki:[[8/42,1,0],[4/42,2,0],[2/42,-2,1],[4/42,-1,1],[8/42,0,1],[4/42,1,1],[2/42,2,1],[1/42,-2,2],[2/42,-1,2],[4/42,0,2],[2/42,1,2],[1/42,2,2]],Atkinson:[[1/8,1,0],[1/8,2,0],[1/8,-1,1],[1/8,0,1],[1/8,1,1],[1/8,0,2]]};if(!kernel||!kernels[kernel]){throw"Unknown dithering kernel: "+kernel}var ds=kernels[kernel];var index=0,height=this.height,width=this.width,data=this.pixels;var direction=serpentine?-1:1;this.indexedPixels=new Uint8Array(this.pixels.length/3);for(var y=0;y<height;y++){if(serpentine)direction=direction*-1;for(var x=direction==1?0:width-1,xend=direction==1?width:0;x!==xend;x+=direction){index=y*width+x;var idx=index*3;var r1=data[idx];var g1=data[idx+1];var b1=data[idx+2];idx=this.findClosestRGB(r1,g1,b1);this.usedEntry[idx]=true;this.indexedPixels[index]=idx;idx*=3;var r2=this.colorTab[idx];var g2=this.colorTab[idx+1];var b2=this.colorTab[idx+2];var er=r1-r2;var eg=g1-g2;var eb=b1-b2;for(var i=direction==1?0:ds.length-1,end=direction==1?ds.length:0;i!==end;i+=direction){var x1=ds[i][1];var y1=ds[i][2];if(x1+x>=0&&x1+x<width&&y1+y>=0&&y1+y<height){var d=ds[i][0];idx=index+x1+y1*width;idx*=3;data[idx]=Math.max(0,Math.min(255,data[idx]+er*d));data[idx+1]=Math.max(0,Math.min(255,data[idx+1]+eg*d));data[idx+2]=Math.max(0,Math.min(255,data[idx+2]+eb*d))}}}}};GIFEncoder.prototype.findClosest=function(c,used){return this.findClosestRGB((c&16711680)>>16,(c&65280)>>8,c&255,used)};GIFEncoder.prototype.findClosestRGB=function(r,g,b,used){if(this.colorTab===null)return-1;if(this.neuQuant&&!used){return this.neuQuant.lookupRGB(r,g,b)}var c=b|g<<8|r<<16;var minpos=0;var dmin=256*256*256;var len=this.colorTab.length;for(var i=0,index=0;i<len;index++){var dr=r-(this.colorTab[i++]&255);var dg=g-(this.colorTab[i++]&255);var db=b-(this.colorTab[i++]&255);var d=dr*dr+dg*dg+db*db;if((!used||this.usedEntry[index])&&d<dmin){dmin=d;minpos=index}}return minpos};GIFEncoder.prototype.getImagePixels=function(){var w=this.width;var h=this.height;this.pixels=new Uint8Array(w*h*3);var data=this.image;var srcPos=0;var count=0;for(var i=0;i<h;i++){for(var j=0;j<w;j++){this.pixels[count++]=data[srcPos++];this.pixels[count++]=data[srcPos++];this.pixels[count++]=data[srcPos++];srcPos++}}};GIFEncoder.prototype.writeGraphicCtrlExt=function(){this.out.writeByte(33);this.out.writeByte(249);this.out.writeByte(4);var transp,disp;if(this.transparent===null){transp=0;disp=0}else{transp=1;disp=2}if(this.dispose>=0){disp=dispose&7}disp<<=2;this.out.writeByte(0|disp|0|transp);this.writeShort(this.delay);this.out.writeByte(this.transIndex);this.out.writeByte(0)};GIFEncoder.prototype.writeImageDesc=function(){this.out.writeByte(44);this.writeShort(0);this.writeShort(0);this.writeShort(this.width);this.writeShort(this.height);if(this.firstFrame||this.globalPalette){this.out.writeByte(0)}else{this.out.writeByte(128|0|0|0|this.palSize)}};GIFEncoder.prototype.writeLSD=function(){this.writeShort(this.width);this.writeShort(this.height);this.out.writeByte(128|112|0|this.palSize);this.out.writeByte(0);this.out.writeByte(0)};GIFEncoder.prototype.writeNetscapeExt=function(){this.out.writeByte(33);this.out.writeByte(255);this.out.writeByte(11);this.out.writeUTFBytes("NETSCAPE2.0");this.out.writeByte(3);this.out.writeByte(1);this.writeShort(this.repeat);this.out.writeByte(0)};GIFEncoder.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);var n=3*256-this.colorTab.length;for(var i=0;i<n;i++)this.out.writeByte(0)};GIFEncoder.prototype.writeShort=function(pValue){this.out.writeByte(pValue&255);this.out.writeByte(pValue>>8&255)};GIFEncoder.prototype.writePixels=function(){var enc=new LZWEncoder(this.width,this.height,this.indexedPixels,this.colorDepth);enc.encode(this.out)};GIFEncoder.prototype.stream=function(){return this.out};module.exports=GIFEncoder},{"./LZWEncoder.js":2,"./TypedNeuQuant.js":3}],2:[function(require,module,exports){var EOF=-1;var BITS=12;var HSIZE=5003;var masks=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535];function LZWEncoder(width,height,pixels,colorDepth){var initCodeSize=Math.max(2,colorDepth);var accum=new Uint8Array(256);var htab=new Int32Array(HSIZE);var codetab=new Int32Array(HSIZE);var cur_accum,cur_bits=0;var a_count;var free_ent=0;var maxcode;var clear_flg=false;var g_init_bits,ClearCode,EOFCode;function char_out(c,outs){accum[a_count++]=c;if(a_count>=254)flush_char(outs)}function cl_block(outs){cl_hash(HSIZE);free_ent=ClearCode+2;clear_flg=true;output(ClearCode,outs)}function cl_hash(hsize){for(var i=0;i<hsize;++i)htab[i]=-1}function compress(init_bits,outs){var fcode,c,i,ent,disp,hsize_reg,hshift;g_init_bits=init_bits;clear_flg=false;n_bits=g_init_bits;maxcode=MAXCODE(n_bits);ClearCode=1<<init_bits-1;EOFCode=ClearCode+1;free_ent=ClearCode+2;a_count=0;ent=nextPixel();hshift=0;for(fcode=HSIZE;fcode<65536;fcode*=2)++hshift;hshift=8-hshift;hsize_reg=HSIZE;cl_hash(hsize_reg);output(ClearCode,outs);outer_loop:while((c=nextPixel())!=EOF){fcode=(c<<BITS)+ent;i=c<<hshift^ent;if(htab[i]===fcode){ent=codetab[i];continue}else if(htab[i]>=0){disp=hsize_reg-i;if(i===0)disp=1;do{if((i-=disp)<0)i+=hsize_reg;if(htab[i]===fcode){ent=codetab[i];continue outer_loop}}while(htab[i]>=0)}output(ent,outs);ent=c;if(free_ent<1<<BITS){codetab[i]=free_ent++;htab[i]=fcode}else{cl_block(outs)}}output(ent,outs);output(EOFCode,outs)}function encode(outs){outs.writeByte(initCodeSize);remaining=width*height;curPixel=0;compress(initCodeSize+1,outs);outs.writeByte(0)}function flush_char(outs){if(a_count>0){outs.writeByte(a_count);outs.writeBytes(accum,0,a_count);a_count=0}}function MAXCODE(n_bits){return(1<<n_bits)-1}function nextPixel(){if(remaining===0)return EOF;--remaining;var pix=pixels[curPixel++];return pix&255}function output(code,outs){cur_accum&=masks[cur_bits];if(cur_bits>0)cur_accum|=code<<cur_bits;else cur_accum=code;cur_bits+=n_bits;while(cur_bits>=8){char_out(cur_accum&255,outs);cur_accum>>=8;cur_bits-=8}if(free_ent>maxcode||clear_flg){if(clear_flg){maxcode=MAXCODE(n_bits=g_init_bits);clear_flg=false}else{++n_bits;if(n_bits==BITS)maxcode=1<<BITS;else maxcode=MAXCODE(n_bits)}}if(code==EOFCode){while(cur_bits>0){char_out(cur_accum&255,outs);cur_accum>>=8;cur_bits-=8}flush_char(outs)}}this.encode=encode}module.exports=LZWEncoder},{}],3:[function(require,module,exports){var ncycles=100;var netsize=256;var maxnetpos=netsize-1;var netbiasshift=4;var intbiasshift=16;var intbias=1<<intbiasshift;var gammashift=10;var gamma=1<<gammashift;var betashift=10;var beta=intbias>>betashift;var betagamma=intbias<<gammashift-betashift;var initrad=netsize>>3;var radiusbiasshift=6;var radiusbias=1<<radiusbiasshift;var initradius=initrad*radiusbias;var radiusdec=30;var alphabiasshift=10;var initalpha=1<<alphabiasshift;var alphadec;var radbiasshift=8;var radbias=1<<radbiasshift;var alpharadbshift=alphabiasshift+radbiasshift;var alpharadbias=1<<alpharadbshift;var prime1=499;var prime2=491;var prime3=487;var prime4=503;var minpicturebytes=3*prime4;function NeuQuant(pixels,samplefac){var network;var netindex;var bias;var freq;var radpower;function init(){network=[];netindex=new Int32Array(256);bias=new Int32Array(netsize);freq=new Int32Array(netsize);radpower=new Int32Array(netsize>>3);var i,v;for(i=0;i<netsize;i++){v=(i<<netbiasshift+8)/netsize;network[i]=new Float64Array([v,v,v,0]);freq[i]=intbias/netsize;bias[i]=0}}function unbiasnet(){for(var i=0;i<netsize;i++){network[i][0]>>=netbiasshift;network[i][1]>>=netbiasshift;network[i][2]>>=netbiasshift;network[i][3]=i}}function altersingle(alpha,i,b,g,r){network[i][0]-=alpha*(network[i][0]-b)/initalpha;network[i][1]-=alpha*(network[i][1]-g)/initalpha;network[i][2]-=alpha*(network[i][2]-r)/initalpha}function alterneigh(radius,i,b,g,r){var lo=Math.abs(i-radius);var hi=Math.min(i+radius,netsize);var j=i+1;var k=i-1;var m=1;var p,a;while(j<hi||k>lo){a=radpower[m++];if(j<hi){p=network[j++];p[0]-=a*(p[0]-b)/alpharadbias;p[1]-=a*(p[1]-g)/alpharadbias;p[2]-=a*(p[2]-r)/alpharadbias}if(k>lo){p=network[k--];p[0]-=a*(p[0]-b)/alpharadbias;p[1]-=a*(p[1]-g)/alpharadbias;p[2]-=a*(p[2]-r)/alpharadbias}}}function contest(b,g,r){var bestd=~(1<<31);var bestbiasd=bestd;var bestpos=-1;var bestbiaspos=bestpos;var i,n,dist,biasdist,betafreq;for(i=0;i<netsize;i++){n=network[i];dist=Math.abs(n[0]-b)+Math.abs(n[1]-g)+Math.abs(n[2]-r);if(dist<bestd){bestd=dist;bestpos=i}biasdist=dist-(bias[i]>>intbiasshift-netbiasshift);if(biasdist<bestbiasd){bestbiasd=biasdist;bestbiaspos=i}betafreq=freq[i]>>betashift;freq[i]-=betafreq;bias[i]+=betafreq<<gammashift}freq[bestpos]+=beta;bias[bestpos]-=betagamma;return bestbiaspos}function inxbuild(){var i,j,p,q,smallpos,smallval,previouscol=0,startpos=0;for(i=0;i<netsize;i++){p=network[i];smallpos=i;smallval=p[1];for(j=i+1;j<netsize;j++){q=network[j];if(q[1]<smallval){smallpos=j;smallval=q[1]}}q=network[smallpos];if(i!=smallpos){j=q[0];q[0]=p[0];p[0]=j;j=q[1];q[1]=p[1];p[1]=j;j=q[2];q[2]=p[2];p[2]=j;j=q[3];q[3]=p[3];p[3]=j}if(smallval!=previouscol){netindex[previouscol]=startpos+i>>1;for(j=previouscol+1;j<smallval;j++)netindex[j]=i;previouscol=smallval;startpos=i}}netindex[previouscol]=startpos+maxnetpos>>1;for(j=previouscol+1;j<256;j++)netindex[j]=maxnetpos}function inxsearch(b,g,r){var a,p,dist;var bestd=1e3;var best=-1;var i=netindex[g];var j=i-1;while(i<netsize||j>=0){if(i<netsize){p=network[i];dist=p[1]-g;if(dist>=bestd)i=netsize;else{i++;if(dist<0)dist=-dist;a=p[0]-b;if(a<0)a=-a;dist+=a;if(dist<bestd){a=p[2]-r;if(a<0)a=-a;dist+=a;if(dist<bestd){bestd=dist;best=p[3]}}}}if(j>=0){p=network[j];dist=g-p[1];if(dist>=bestd)j=-1;else{j--;if(dist<0)dist=-dist;a=p[0]-b;if(a<0)a=-a;dist+=a;if(dist<bestd){a=p[2]-r;if(a<0)a=-a;dist+=a;if(dist<bestd){bestd=dist;best=p[3]}}}}}return best}function learn(){var i;var lengthcount=pixels.length;var alphadec=30+(samplefac-1)/3;var samplepixels=lengthcount/(3*samplefac);var delta=~~(samplepixels/ncycles);var alpha=initalpha;var radius=initradius;var rad=radius>>radiusbiasshift;if(rad<=1)rad=0;for(i=0;i<rad;i++)radpower[i]=alpha*((rad*rad-i*i)*radbias/(rad*rad));var step;if(lengthcount<minpicturebytes){samplefac=1;step=3}else if(lengthcount%prime1!==0){step=3*prime1}else if(lengthcount%prime2!==0){step=3*prime2}else if(lengthcount%prime3!==0){step=3*prime3}else{step=3*prime4}var b,g,r,j;var pix=0;i=0;while(i<samplepixels){b=(pixels[pix]&255)<<netbiasshift;g=(pixels[pix+1]&255)<<netbiasshift;r=(pixels[pix+2]&255)<<netbiasshift;j=contest(b,g,r);altersingle(alpha,j,b,g,r);if(rad!==0)alterneigh(rad,j,b,g,r);pix+=step;if(pix>=lengthcount)pix-=lengthcount;i++;if(delta===0)delta=1;if(i%delta===0){alpha-=alpha/alphadec;radius-=radius/radiusdec;rad=radius>>radiusbiasshift;if(rad<=1)rad=0;for(j=0;j<rad;j++)radpower[j]=alpha*((rad*rad-j*j)*radbias/(rad*rad))}}}function buildColormap(){init();learn();unbiasnet();inxbuild()}this.buildColormap=buildColormap;function getColormap(){var map=[];var index=[];for(var i=0;i<netsize;i++)index[network[i][3]]=i;var k=0;for(var l=0;l<netsize;l++){var j=index[l];map[k++]=network[j][0];map[k++]=network[j][1];map[k++]=network[j][2]}return map}this.getColormap=getColormap;this.lookupRGB=inxsearch}module.exports=NeuQuant},{}],4:[function(require,module,exports){var GIFEncoder,renderFrame;GIFEncoder=require("./GIFEncoder.js");renderFrame=function(frame){var encoder,page,stream,transfer;encoder=new GIFEncoder(frame.width,frame.height);if(frame.index===0){encoder.writeHeader()}else{encoder.firstFrame=false}encoder.setTransparent(frame.transparent);encoder.setRepeat(frame.repeat);encoder.setDelay(frame.delay);encoder.setQuality(frame.quality);encoder.setDither(frame.dither);encoder.setGlobalPalette(frame.globalPalette);encoder.addFrame(frame.data);if(frame.last){encoder.finish()}if(frame.globalPalette===true){frame.globalPalette=encoder.getGlobalPalette()}stream=encoder.stream();frame.data=stream.pages;frame.cursor=stream.cursor;frame.pageSize=stream.constructor.pageSize;if(frame.canTransfer){transfer=function(){var i,len,ref,results;ref=frame.data;results=[];for(i=0,len=ref.length;i<len;i++){page=ref[i];results.push(page.buffer)}return results}();return self.postMessage(frame,transfer)}else{return self.postMessage(frame)}};self.onmessage=function(event){return renderFrame(event.data)}},{"./GIFEncoder.js":1}]},{},[4]);\n'],{type:"application/javascript"}))})}},53889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styled=t.setup=t.keyframes=t.glob=t.extractCss=t.css=void 0;let n={data:""},r=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||n,o=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,i=/\/\*[^]*?\*\/|\s\s+|\n/g,a=(e,t)=>{let n="",r="",o="";for(let i in e){let l=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+l+";":r+="f"==i[1]?a(l,i):i+"{"+a(l,"k"==i[1]?"":t)+"}":"object"==typeof l?r+=a(l,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=l&&(i=i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=a.p?a.p(i,l):i+":"+l+";")}return n+(t&&o?t+"{"+o+"}":o)+r},l={},s=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+s(e[n]);return t}return e},c=(e,t,n,r,c)=>{let u=s(e),d=l[u]||(l[u]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(u));if(!l[d]){let t=u!==e?e:(e=>{let t,n=[{}];for(;t=o.exec(e.replace(i,""));)t[4]?n.shift():t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):n[0][t[1]]=t[2];return n[0]})(e);l[d]=a(c?{["@keyframes "+d]:t}:t,n?"":"."+d)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(l[d],t,r),d};function u(e){let t=this||{},n=e.call?e(t.p):e;return c(n.unshift?n.raw?((e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":a(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),""))(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,r(t.target),t.g,t.o,t.k)}t.extractCss=e=>{let t=r(e),n=t.data;return t.data="",n},t.css=u;let d,h,f,p=u.bind({g:1}),v=u.bind({k:1});t.glob=p,t.keyframes=v,t.setup=function(e,t,n,r){a.p=t,d=e,h=n,f=r},t.styled=function(e,t){let n=this||{};return function(){let r=arguments;function o(i,a){let l=Object.assign({},i),s=l.className||o.className;n.p=Object.assign({theme:h&&h()},l),n.o=/ *go\d+/.test(s),l.className=u.apply(n,r)+(s?" "+s:""),t&&(l.ref=a);let c=e;return e[0]&&(c=l.as||e,delete l.as),f&&c[0]&&f(l),d(c,l)}return t?t(o):o}}},29190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseColor=t.isGradient=void 0;const o=r(n(49948));t.isGradient=e=>e.indexOf("linear-gradient")>=0;const i=e=>"hex"===e.type?"#"+e.value:"literal"===e.type?e.value:`${e.type}(${e.value.join(",")})`;t.parseColor=e=>{if(!(0,t.isGradient)(e))return{rotation:0,stops:[{offset:0,color:e},{offset:1,color:e}]};const n=o.default.parse(e)[0];return{rotation:parseFloat(n.orientation.value),stops:n.colorStops.map(((e,t)=>({color:i(e),offset:e.length?parseFloat(e.length.value)/100:t/(n.colorStops.length-1)})))}}},30348:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.jsonToHTML=t.jsonToDOM=t.fixRatio=void 0;const a=n(9246),l=i(n(34824)),s=n(9246),c=(e,t,...n)=>({type:e,props:t,children:n||[]});t.fixRatio=function(e){var t=(new DOMParser).parseFromString(e,"image/svg+xml");return t.documentElement.setAttribute("preserveAspectRatio","none"),(new XMLSerializer).serializeToString(t)};const u=async({element:e,page:t,store:n})=>{let{src:r}=e;if("svg"===e.type){const t=await l.urlToString(r);r=l.replaceColors(t,new Map(Object.entries(e.colorsReplace)))}let o="";e.flipX&&(o+="scaleX(-1)"),e.flipY&&(o+="scaleY(-1)");const i={};if(e.clipSrc){const t=await l.urlToBase64(e.clipSrc);i["clip-path"]=`url(${t})`}const a=await(0,s.loadImage)(r),u=a.width*e.cropWidth,d=a.height*e.cropHeight,h=e.width/e.height;let f,p;const v=u/d;"svg"===e.type?(f=u,p=d):h>=v?(f=u,p=u/h):(f=d*h,p=d);const m=f/a.width,g=p/a.height,y=f/p>e.width/e.height?e.height/p:e.width/f,b=f*y/m,w=p*y/g,_=e.cropX*y*a.width,E=e.cropY*y*a.height;return c("div",{src:r,style:Object.assign(Object.assign({},i),{width:"100%",height:"100%","border-radius":e.cornerRadius+"px",border:e.borderSize?`${e.borderSize}px solid ${e.borderColor}`:"none",background:`url(${r})`,transform:o,"background-size":`${Math.round(b)}px ${Math.round(w)}px`,"background-position-x":`${Math.round(_)}px`,"background-position-y":`${Math.round(E)}px`})})},d=({element:e,type:t})=>{const n={"stroke-width":e.height,stroke:e.color,"line-cap":"round","stroke-linejoin":"round",opacity:e.opacity};return"arrow"===t||"triangle"===t?c("polyline",Object.assign({points:`${3*e.height},${2*-e.height} 0,0 ${3*e.height},${2*e.height}`},n)):"bar"===t?c("polyline",Object.assign({points:`0,${2*-e.height} 0,${2*e.height}`},n)):"circle"===t?c("circle",Object.assign({r:e.height},n)):"square"===t?c("polyline",Object.assign({points:`${-e.height},${-e.height} ${-e.height},${e.height} ${e.height},${e.height} ${e.height},${-e.height}`},n)):null},h={image:u,svg:u,text:async({element:e,page:t,store:n})=>{let r={};e.fill.indexOf("gradient")>=0&&(r=Object.assign(Object.assign({},r),{"background-color":e.fill,"background-image":e.fill,"background-clip":"text","text-fill-color":"transparent","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}));const o=e.backgroundPadding*(e.fontSize*e.lineHeight),i=c("div",{style:{position:"absolute",top:-o/2+"px",left:-o/2+"px",display:e.backgroundEnabled?"block":"none",width:e.width+o+"px",height:e.height+o+"px","background-color":e.backgroundColor,"border-radius":e.backgroundCornerRadius*(e.fontSize*e.lineHeight*.5)+"px"}}),a=c("div",{style:Object.assign(Object.assign({},r),{position:"absolute",top:0,left:0,width:e.width+"px",color:e.fill,"white-space":"pre-wrap","font-size":e.fontSize+"px","text-align":e.align,"font-family":e.fontFamily,"text-decoration":e.textDecoration||"none","line-height":e.lineHeight,"letter-spacing":e.letterSpacing+"em","font-style":e.fontStyle,"font-weight":e.fontWeight,"-webkit-text-stroke":`${e.strokeWidth}px ${e.stroke}`,"text-stroke":`${e.strokeWidth}px ${e.stroke}`})},e.text.split("\n").join("<br />"));return c("div",{style:{position:"relative"}},i,a)},line:async({element:e,page:t,store:n})=>c("svg",{style:{width:"100%",height:"100%",contain:"layout style size",overflow:"visible"}},c("rect",{x:0,y:0,width:e.width,height:e.height,fill:e.color}),c("g",{transform:`translate(0 ${e.height/2})`},d({element:e,type:e.startHead})),c("g",{transform:`translate(${e.width} ${e.height/2}) rotate(180)`},d({element:e,type:e.endHead}))),group:async({element:e,page:t,store:n,elementHook:r})=>{const o=await Promise.all(e.children.map((e=>f({element:e,page:t,store:n,elementHook:r})))),i=c("div",{style:{"transform-origin":"top left",opacity:e.opacity}},...o);return r&&r({dom:i,element:e})||i}};async function f({element:e,page:t,store:n,elementHook:r}){let o=await h[e.type];o||(o=()=>c("div",{}),console.error(`HTML export does not support ${e.type} type...`));const i=await o({element:e,page:t,store:n}),a=[];e.blurEnabled&&a.push(`blur(${e.blurRadius/2}px)`),e.brightnessEnabled&&a.push(`brightness(${100*e.brightness+100}%)`),e.sepiaEnabled&&a.push("sepia()"),e.grayscaleEnabled&&a.push("grayscale()"),e.shadowEnabled&&a.push(`drop-shadow(${e.shadowOffsetX}px ${e.shadowOffsetY}px ${e.shadowBlur}px ${e.shadowColor})`);const l=c("div",{style:{position:"absolute",left:e.x+"px",top:e.y+"px",width:e.width+"px",height:e.height+"px",transform:`rotate(${e.rotation}deg)`,"transform-origin":"top left",opacity:e.opacity,filter:a.join(" ")}},i);return r&&r({dom:l,element:e})||l}async function p({json:e,elementHook:t}){const n=await Promise.all(e.pages.map((n=>async function({page:e,store:t,elementHook:n}){const r=await Promise.all(e.children.map((r=>f({element:r,page:e,store:t,elementHook:n}))));let o={};if(e.background.indexOf("url")>=0||e.background.indexOf("http")>=0||e.background.indexOf(".jpg")>=0||e.background.indexOf(".png")>=0||e.background.indexOf(".jpeg")>=0){const n=await(0,s.loadImage)(e.background),r=await(0,s.cropImage)(e.background,Object.assign({width:t.width,height:t.height,x:0,y:0},(0,a.getCrop)({width:t.width,height:t.height},{width:n.width,height:n.height})));o=Object.assign(Object.assign({},o),{"background-image":`url(${r})`})}return c("div",{className:"page",style:Object.assign(Object.assign({},o),{width:t.width+"px",height:t.height+"px",background:e.background,border:"1px solid grey",overflow:"hidden",position:"relative"})},...r)}({page:n,store:e,elementHook:t})))),r=[];e.pages.forEach((e=>{e.children.forEach((e=>{"text"===e.type&&-1===r.indexOf(e.fontFamily)&&r.push(e.fontFamily)}))}));const o=r.map((t=>e.fonts.find((e=>e.fontFamily===t))?c("style",{},""):c("link",{href:`https://fonts.googleapis.com/css?family=${t}`,rel:"stylesheet"})));return c("div",{className:"design"},...o,...n)}t.jsonToDOM=p;const v=({dom:e})=>"string"==typeof e?e:e?`<${e.type} ${Object.keys(e.props).map((t=>((e,t)=>"object"==typeof t?`${e}="${Object.keys(t).map((e=>`${e}:${t[e]};`)).join(" ")}"`:`${e}="${t}"`)(t,e.props[t]))).join(" ")}>${e.children.map((e=>v({dom:e}))).join("")}</${e.type}>`:"";t.jsonToHTML=async function({json:e,elementHook:t}){const n=await p({json:e,elementHook:t});return v({dom:n})}},22147:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToCanvas=t.detectSize=void 0;const a=i(n(18151)),l=document.createElement("div");l.id="polotno-hidden-do-not-touch",l.style.overflow="hidden",l.style.position="relative",document.body.appendChild(l),l.innerHTML="<style>\n#polotno-hidden-do-not-touch p {\n margin: 0;\n padding: 0\n}\n#polotno-hidden-do-not-touch ul {\n list-style-position: inside;\n margin: 0;\n}\n</style>",t.detectSize=function(e){const t=document.createElement("div");t.innerHTML=e,t.style.display="inline-block",t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.zIndex="1000",l.appendChild(t);const n=t.getBoundingClientRect();return l.removeChild(t),{width:n.width,height:n.height}},t.htmlToCanvas=async function({html:e,width:t,height:n,fontFamily:r,padding:o,font:i,pixelRatio:l}){const s=document.createElement("canvas");"Arial"===r||i||(e+=`<link type="text/css" href="https://fonts.googleapis.com/css?family=${r}" rel="stylesheet">`),i&&(e+=`<style>@font-face {font-family: '${i.fontFamily}'; src: url("${i.url}")}</style>`),e+="\n<style>\n html, body {\n padding: 0;\n margin: 0;\n }\n p {\n margin: 0;\n padding: 0\n }\n ul {\n list-style-position: inside;\n margin: 0;\n }\n</style>\n";const c=await a.drawHTML(`<div style="padding: ${o}px;">${e}</div>`,s,{width:t+2*o,height:n+2*o});s.width=(t+2*o)*l,s.height=(n+2*o)*l;const u=s.getContext("2d");return null==u||u.drawImage(c.image,0,0,c.image.width*l,c.image.height*l),s}},9246:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCrop=t.cropImage=t.loadImage=t.getImageSize=void 0;const r=n(34824);function o(e){return new Promise(((t,n)=>{const r=document.createElement("img");r.onload=()=>{t(r)},r.onerror=e=>{n(e)},r.crossOrigin="anonymous",r.src=e}))}t.getImageSize=function(e){return new Promise((t=>{const n=document.createElement("img");n.onload=async()=>{0===n.width||0===n.height?t(await(0,r.getSvgSize)(e)):t({width:n.width,height:n.height})},n.crossOrigin="anonymous",n.src=e}))},t.loadImage=o,t.cropImage=async function(e,t){const n=await o(e),r=document.createElement("canvas");r.width=2*n.width,r.height=2*n.height,r.getContext("2d").drawImage(n,0,0,r.width,r.height);const i=document.createElement("canvas");i.width=t.width,i.height=t.height;const a=i.getContext("2d");let{cropX:l,cropY:s}=t;const c=r.width*t.cropWidth,u=r.height*t.cropHeight,d=t.width/t.height;let h,f;const p=c/u;return"svg"===t.type?(h=c,f=u):d>=p?(h=c,f=c/d):(h=u*d,f=u),a.drawImage(r,l*r.width,s*r.height,h,f,0,0,i.width,i.height),i.toDataURL("image/png")},t.getCrop=function(e,t){const{width:n,height:r}=e,o=n/r;let i,a;o>=t.width/t.height?(i=t.width,a=t.width/o):(i=t.height*o,a=t.height);const l=(t.width-i)/2,s=(t.height-a)/2;return{cropX:l/t.width,cropY:s/t.height,cropWidth:i/t.width,cropHeight:a/t.height}}},13507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t=t.getTranslations=t.setTranslations=void 0;const r=n(21833),o=(0,r.observable)({toolbar:{duration:"Duration",opacity:"Opacity",effects:"Effects",blur:"Blur",textBackground:"Background",backgroundCornerRadius:"Corner radius",backgroundOpacity:"Opacity",backgroundPadding:"Padding",brightness:"Brightness",sepia:"Sepia",grayscale:"Grayscale",textStroke:"Text Stroke",shadow:"Shadow",border:"Border",cornerRadius:"Corner Radius",position:"Position",layering:"Layering",toForward:"To forward",up:"Up",down:"Down",toBottom:"To bottom",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignTop:"Align top",alignMiddle:"Align middle",alignBottom:"Align bottom",flip:"Flip",flipHorizontally:"Flip horizontally",flipVertically:"Flip vertically",fitToBackground:"Fit to page",removeBackground:"Remove background",removeBackgroundTitle:"Remove background from image",cancelRemoveBackground:"Cancel",confirmRemoveBackground:"Confirm",crop:"Crop",cropDone:"Done",cropCancel:"Cancel",removeClip:"Remove clip",removeMask:"Remove mask",transparency:"Transparency",lockedDescription:"Object is locked. Unlock it to allow changes from canvas.",unlockedDescription:"Object is unlocked. Lock it to prevent changes from canvas.",removeElements:"Remove elements",duplicateElements:"Duplicate elements",download:"Download",saveAsImage:"Save as image",saveAsPDF:"Save as PDF",lineHeight:"Line height",letterSpacing:"Letter spacing",offsetX:"Offset X",offsetY:"Offset Y",color:"Color",selectable:"Selectable",draggable:"Draggable",removable:"Removable",resizable:"Resizable",contentEditable:"Can change content",styleEditable:"Can change style",alwaysOnTop:"Always on top",showInExport:"Show in export",ungroupElements:"Ungroup",groupElements:"Group",lineSize:"Line size"},workspace:{noPages:"There are no pages yet...",addPage:"Add page",removePage:"Remove page",duplicatePage:"Duplicate page",moveUp:"Move up",moveDown:"Move down"},scale:{reset:"Reset"},error:{removeBackground:"Ops! Something went wrong. Background can not be removed."},sidePanel:{templates:"Templates",searchTemplatesWithSameSize:"Show templates with the same size",searchPlaceholder:"Search...",otherFormats:"Other formats",noResults:"No results",error:"Loading is failed...",text:"Text",uploadFont:"Upload font",myFonts:"My fonts",photos:"Photos",elements:"Elements",shapes:"Shapes",lines:"Lines",upload:"Upload",uploadImage:"Upload Image",uploadTip:"Do you want to upload your own images?",background:"Background",resize:"Resize",layers:"Layers",layerTypes:{image:"Image",text:"Text",svg:"SVG",line:"Line",group:"Group"},layersTip:"Elements on your active page:",noLayers:"No elements on the page...",namePlaceholder:"Type element name...",useMagicResize:"Use magic resize",width:"Width",height:"Height",magicResizeDescription:"Magic resize will automatically resize and move all elements on the canvas",headerText:"Header",createHeader:"Create header",subHeaderText:"Sub Header",createSubHeader:"Create sub header",bodyText:"Body text",createBody:"Create body text"}}),i=e=>e&&"object"==typeof e;function a(e,t){Object.keys(t).forEach((n=>{const r=e[n],o=t[n];i(o)&&i(r)?a(r,o):e[n]=o}))}t.setTranslations=(0,r.action)((e=>{a(o,e)})),t.getTranslations=()=>(0,r.toJS)(o);const l={};t.t=e=>{const t=function(e,t){var n,r=t.split("."),o=e;for(n=0;n<r.length;++n){if(null==o[r[n]])return;o=o[r[n]]}return o}(o,e);if(void 0!==t)return t;l[e]||(l[e]=!0,console.warn(`Missing translation '${e}'`));const n=e.split("."),r=n[n.length-1]||" ";return r.charAt(0).toUpperCase()+r.slice(1)}},31284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.triggerLoadError=t.onLoadError=t.whenLoaded=t.decrementLoader=t.incrementLoader=t.setAssetLoadTimeout=void 0;const r=n(88474);let o=0,i=[],a=3e4;function l(){o-=1,0===o&&(i.forEach((e=>e())),i=[])}t.setAssetLoadTimeout=e=>{a=e},t.incrementLoader=function(e){o+=1;let t=!1;const n=setTimeout((()=>{t||(c(`Timeout loading image ${e}`),console.error("Timeout triggered for loader. Some assets may not have loaded.",e),t=!0,l())}),a);return()=>{t||(clearTimeout(n),l())}},t.decrementLoader=l,t.whenLoaded=function(){return new Promise((e=>function(e){0===o?e():i.push(e)}((()=>{(0,r.isAnimationUsed)()?setTimeout(e,300):e(!0)}))))};let s=[];function c(e){s.forEach((t=>t(e)))}t.onLoadError=function(e){s.push(e)},t.triggerLoadError=c},240:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getTotalClientRect=t.getClientRect=void 0;const o=r(n(20185));function i(e,t,n,r,o){const i=Math.sqrt(n*n+r*r);return o+=Math.atan2(r,n),{x:e+i*Math.cos(o),y:t+i*Math.sin(o)}}function a(e){const{x:t,y:n,width:r,height:a}=e,l=o.default.Util.degToRad(e.rotation),s=i(t,n,0,0,l),c=i(t,n,r,0,l),u=i(t,n,r,a,l),d=i(t,n,0,a,l),h=Math.min(s.x,c.x,u.x,d.x),f=Math.min(s.y,c.y,u.y,d.y),p=Math.max(s.x,c.x,u.x,d.x),v=Math.max(s.y,c.y,u.y,d.y);return{x:h,y:f,width:p-h,height:v-f,minX:h,minY:f,maxX:p,maxY:v}}t.getClientRect=a,t.getTotalClientRect=function(e){const t=e.map((e=>a(e))),n=Math.min(...t.map((e=>e.minX))),r=Math.min(...t.map((e=>e.minY))),o=Math.max(...t.map((e=>e.maxX))),i=Math.max(...t.map((e=>e.maxY)));return{x:n,y:r,width:o-n,height:i-r,minX:n,minY:r,maxX:o,maxY:i}}},49675:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.getJsPDF=void 0,t.getJsPDF=function(){return n?Promise.resolve(n):new Promise((e=>{var t=document.createElement("script");t.onload=function(){n=window.jspdf.jsPDF,e(n)},t.src="https://unpkg.com/jspdf@2.2.0/dist/jspdf.umd.min.js",document.head.appendChild(t)}))}},84077:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useMobile=t.mobileStyle=t.isMobile=t.MOBILE_BREAKPOINT=void 0;const o=r(n(67294));t.MOBILE_BREAKPOINT=500,t.isMobile=()=>window.innerWidth<=t.MOBILE_BREAKPOINT,t.mobileStyle=e=>`\n @media (max-width: ${t.MOBILE_BREAKPOINT}px) {\n ${e}\n }\n\n .polotno-mobile & {\n ${e}\n }\n`,t.useMobile=()=>{const[e,n]=o.default.useState((0,t.isMobile)());return o.default.useEffect((()=>{const e=()=>{n((0,t.isMobile)())};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},38165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(67294)),i=n(53889);(0,i.setup)(o.default.createElement),t.default=i.styled},34824:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useSvgColors=t.replaceColors=t.sameColors=t.fixSize=t.getSvgSize=t.svgToURL=t.getColors=t.urlToString=t.urlToBase64=void 0;const o=r(n(20185)),i=r(n(67294)),a=n(29190);function l(e){for(;e.parentNode;){if("defs"===e.nodeName)return!0;e=e.parentNode}return!1}function s(e){const t={fill:"",stroke:""};return e.getAttribute("fill")&&"none"!==e.getAttribute("fill")&&(t.fill=e.getAttribute("fill")),!t.fill&&e.style.fill&&"none"!==e.style.fill&&(t.fill=e.style.fill),e.getAttribute("stroke")&&(t.stroke=e.getAttribute("stroke")),!t.stroke&&e.style.stroke&&(t.stroke=e.style.stroke),t.stroke||t.fill||(t.fill="black"),t}const c=["path","rect","circle"];function u(e){for(var t=[],n=e.getElementsByTagName("*"),r=0,o=n.length;r<o;r++){const e=n[r];l(e)||(null!==e.getAttribute("fill")&&t.push(e),(null!==e.getAttribute("stroke")||e.style&&e.style.fill||c.indexOf(e.nodeName)>=0)&&t.push(e))}return t}async function d(e){const t=await fetch(e,{mode:"cors"});return await t.text()}function h(e){const t=u((new DOMParser).parseFromString(e,"image/svg+xml")),n=[];return t.forEach((e=>{const{fill:t,stroke:r}=s(e);[t,r].forEach((e=>{e&&o.default.Util.colorToRGBA(e)&&-1===n.indexOf(e)&&n.push(e)}))})),n}function f(e){return"data:image/svg+xml;base64,"+window.btoa(unescape(encodeURIComponent(e)))}t.urlToBase64=async function(e){const t=await fetch(e);return f(await t.text())},t.urlToString=d,t.getColors=h,t.svgToURL=f,t.getSvgSize=async function(e){const t=await d(e),n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.getAttribute("viewBox"),[r,o,i,a]=(null==n?void 0:n.split(" "))||[];return{width:parseFloat(i),height:parseFloat(a)}},t.fixSize=function(e){var t=(new DOMParser).parseFromString(e,"image/svg+xml");const n=t.documentElement.getAttribute("viewBox"),[r,o,i,a]=(null==n?void 0:n.split(" "))||[],l=t.documentElement.getAttribute("width");!l&&t.documentElement.setAttribute("width",i+"px");const s=t.documentElement.getAttribute("height");if((!s||s.indexOf("%")>=0)&&t.documentElement.setAttribute("height",a+"px"),l&&l.indexOf("%")>=0&&s&&-1===s.indexOf("%")){const e=parseFloat(s)/parseFloat(a);t.documentElement.setAttribute("width",e*parseFloat(i)+"px")}if(s&&s.indexOf("%")>=0&&l&&-1===l.indexOf("%")){const e=parseFloat(l)/parseFloat(i);t.documentElement.setAttribute("height",e*parseFloat(a)+"px")}return(new XMLSerializer).serializeToString(t)},t.sameColors=(e,t)=>{if(!e||!t)return!1;const n=o.default.Util.colorToRGBA(e),r=o.default.Util.colorToRGBA(t);return n&&r?n.r===r.r&&n.g===r.g&&n.b===r.b&&n.a===r.a:void 0},t.replaceColors=function(e,n){var r=(new DOMParser).parseFromString(e,"image/svg+xml");const i=u(r),l=Array.from(n.keys());return i.forEach((e=>{const{fill:i,stroke:c}=s(e);[{prop:"fill",color:i},{prop:"stroke",color:c}].forEach((({prop:i,color:s})=>{const c=l.find((e=>(0,t.sameColors)(e,s)));if(c){const t=n.get(c);if((0,a.isGradient)(t)){const{rotation:n,stops:l}=(0,a.parseColor)(t),s=l.map((e=>({offset:100*e.offset+"%","stop-color":e.color}))),c="color"+Math.round(1e8*Math.random());(function(e,t,n,r){var i=e.namespaceURI,a=document.createElementNS(i,"linearGradient");const l=o.default.Util.degToRad(n+90),s=(Math.cos(l)+1)/2,c=(Math.sin(l)+1)/2,u=(Math.cos(l+Math.PI)+1)/2,d=(Math.sin(l+Math.PI)+1)/2;a.setAttribute("x1",100*s+"%"),a.setAttribute("y1",100*c+"%"),a.setAttribute("x2",100*u+"%"),a.setAttribute("y2",100*d+"%"),a.setAttribute("gradientUnits","userSpaceOnUse"),a.setAttribute("id",t);for(var h=0;h<r.length;h++){var f=r[h],p=document.createElementNS(i,"stop");for(var v in f)f.hasOwnProperty(v)&&p.setAttribute(v,f[v]);a.appendChild(p)}(e.querySelector("defs")||e.insertBefore(document.createElementNS(i,"defs"),e.firstChild)).appendChild(a)})(r.children[0],c,n,s),e.style[i]=null,e.setAttribute(i,`url('#${c}')`)}else e.style[i]=n.get(c)}}))})),f((new XMLSerializer).serializeToString(r))},t.useSvgColors=e=>{const[t,n]=i.default.useState([]);return i.default.useEffect((()=>{let t=!1;return(async()=>{n([]);const r=h(await d(e));t||n(r)})(),()=>{t=!0}}),[e]),t}},7415:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTags=void 0,t.removeTags=function(e=""){return(e=e.replace(/<\/p>/gi,"\n")).replace(/(<([^>]+)>)/gi,"")}},59330:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.jsonToSVG=t.jsonToDOM=t.fixRatio=void 0;const a=n(9246),l=i(n(34824)),s=n(9246),c=(e,t,...n)=>({type:e,props:t,children:n||[]});t.fixRatio=function(e){var t=(new DOMParser).parseFromString(e,"image/svg+xml");return t.documentElement.setAttribute("preserveAspectRatio","none"),(new XMLSerializer).serializeToString(t)};const u=async e=>{const t=await(0,s.loadImage)(e),n=document.createElement("canvas");return n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0),n.toDataURL("image/png")},d=async({element:e,page:t,store:n})=>{let{src:r}=e;if("svg"===e.type){const t=await l.urlToString(r);r=l.replaceColors(t,new Map(Object.entries(e.colorsReplace)))}let o="";e.flipX&&(o+="scaleX(-1)"),e.flipY&&(o+="scaleY(-1)");const i={};if(e.clipSrc){const t=await l.urlToBase64(e.clipSrc);i["clip-path"]=`url(${t})`}const a=await(0,s.loadImage)(r),d=a.width*e.cropWidth,h=a.height*e.cropHeight,f=e.width/e.height;let p,v;const m=d/h;"svg"===e.type?(p=d,v=h):f>=m?(p=d,v=d/f):(p=h*f,v=h);const g=p/a.width,y=v/a.height,b=p/v>e.width/e.height?e.height/v:e.width/p,w=p*b/g,_=v*b/y,E=e.cropX*b*a.width,x=e.cropY*b*a.height,S=`clip-${Math.random()}`;return c("g",{style:{"clip-path":i["clip-path"],transform:o}},c("defs",{},c("clipPath",{id:S},c("rect",{x:E,y:x,width:w,height:_}))),c("image",{"xlink:href":await u(r),width:e.width,height:e.height,preserveAspectRatio:"none","clip-path":`url(#${S})`}))},h=({element:e,type:t})=>{const n={"stroke-width":e.height,stroke:e.color,"line-cap":"round","stroke-linejoin":"round",opacity:e.opacity};return"arrow"===t||"triangle"===t?c("polyline",Object.assign({points:`${3*e.height},${2*-e.height} 0,0 ${3*e.height},${2*e.height}`},n)):"bar"===t?c("polyline",Object.assign({points:`0,${2*-e.height} 0,${2*e.height}`},n)):"circle"===t?c("circle",Object.assign({r:e.height},n)):"square"===t?c("polyline",Object.assign({points:`${-e.height},${-e.height} ${-e.height},${e.height} ${e.height},${e.height} ${e.height},${-e.height}`},n)):null},f={image:d,svg:d,text:async({element:e,page:t,store:n})=>{let r={};e.fill.indexOf("gradient")>=0&&(r=Object.assign(Object.assign({},r),{"background-color":e.fill,"background-image":e.fill,"background-clip":"text","text-fill-color":"transparent","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}));const o=e.backgroundPadding*(e.fontSize*e.lineHeight),i=c("div",{style:{position:"absolute",top:-o/2+"px",left:-o/2+"px",display:e.backgroundEnabled?"block":"none",width:e.width+o+"px",height:e.height+o+"px","background-color":e.backgroundColor,"border-radius":e.backgroundCornerRadius*(e.fontSize*e.lineHeight*.5)+"px"}}),a=c("div",{style:Object.assign(Object.assign({},r),{position:"absolute",top:0,left:0,width:e.width+"px",color:e.fill,"white-space":"pre-wrap","font-size":e.fontSize+"px","text-align":e.align,"font-family":e.fontFamily,"text-decoration":e.textDecoration||"none","line-height":e.lineHeight,"letter-spacing":e.letterSpacing+"em","font-style":e.fontStyle,"font-weight":e.fontWeight,"-webkit-text-stroke":`${e.strokeWidth}px ${e.stroke}`,"text-stroke":`${e.strokeWidth}px ${e.stroke}`})},e.text.split("\n").join("<br />"));return c("foreignObject",{width:e.width,height:e.height},c("div",{style:{position:"relative"},xmlns:"http://www.w3.org/1999/xhtml"},i,a))},line:async({element:e,page:t,store:n})=>c("svg",{style:{width:"100%",height:"100%",contain:"layout style size",overflow:"visible"}},c("rect",{x:0,y:0,width:e.width,height:e.height,fill:e.color}),c("g",{transform:`translate(0 ${e.height/2})`},h({element:e,type:e.startHead})),c("g",{transform:`translate(${e.width} ${e.height/2}) rotate(180)`},h({element:e,type:e.endHead}))),group:async({element:e,page:t,store:n,elementHook:r})=>{const o=await Promise.all(e.children.map((e=>p({element:e,page:t,store:n,elementHook:r})))),i=c("g",{opacity:e.opacity,style:{"transform-origin":"top left"}},...o);return r&&r({dom:i,element:e})||i}};async function p({element:e,page:t,store:n,elementHook:r}){let o=await f[e.type];o||(o=()=>c("div",{}),console.error(`HTML export does not support ${e.type} type...`));const i=await o({element:e,page:t,store:n}),a=[];e.blurEnabled&&a.push(`blur(${e.blurRadius/2}px)`),e.brightnessEnabled&&a.push(`brightness(${100*e.brightness+100}%)`),e.sepiaEnabled&&a.push("sepia()"),e.grayscaleEnabled&&a.push("grayscale()"),e.shadowEnabled&&a.push(`drop-shadow(${e.shadowOffsetX}px ${e.shadowOffsetY}px ${e.shadowBlur}px ${e.shadowColor})`);const l=c("g",{transform:`translate(${e.x}, ${e.y}) rotate(${e.rotation})`,rotation:e.rotation,width:e.width,height:e.height,opacity:e.opacity,style:{"transform-origin":"top left",filter:a.join(" ")}},i);return r&&r({dom:l,element:e})||l}async function v({json:e,elementHook:t}){const n=await Promise.all(e.pages.map((n=>async function({page:e,store:t,elementHook:n}){const r=await Promise.all(e.children.map((r=>p({element:r,page:e,store:t,elementHook:n}))));let o={};if(e.background.indexOf("url")>=0||e.background.indexOf("http")>=0||e.background.indexOf(".jpg")>=0||e.background.indexOf(".png")>=0||e.background.indexOf(".jpeg")>=0){const n=await(0,s.loadImage)(e.background),r=await(0,s.cropImage)(e.background,Object.assign({width:t.width,height:t.height,x:0,y:0},(0,a.getCrop)({width:t.width,height:t.height},{width:n.width,height:n.height})));o=Object.assign(Object.assign({},o),{"background-image":`url(${r})`})}return c("g",{className:"page",style:Object.assign(Object.assign({},o),{background:e.background})},c("rect",{x:0,y:0,width:t.width,height:t.height,fill:e.background}),...r)}({page:n,store:e,elementHook:t})))),r=[];e.pages.forEach((e=>{e.children.forEach((e=>{"text"===e.type&&-1===r.indexOf(e.fontFamily)&&r.push(e.fontFamily)}))}));const o=r.map((t=>e.fonts.find((e=>e.fontFamily===t))?c("style",{},""):c("link",{href:`https://fonts.googleapis.com/css?family=${t}`,rel:"stylesheet"})));return c("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:`0 0 ${e.width} ${e.height}`,preserveAspectRatio:"xMidYMin slice"},...o,...n)}t.jsonToDOM=v;const m=({dom:e})=>"string"==typeof e?e:e?`<${e.type} ${Object.keys(e.props).map((t=>((e,t)=>"object"==typeof t?`${e}="${Object.keys(t).map((e=>`${e}:${t[e]};`)).join(" ")}"`:`${e}="${t}"`)(t,e.props[t]))).join(" ")}>${e.children.map((e=>m({dom:e}))).join("")}</${e.type}>\n`:"";t.jsonToSVG=async function({json:e,elementHook:t}){const n=await v({json:e,elementHook:t});return m({dom:n})}},6392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pxToUnitString=t.unitToPx=t.pxToUnitRounded=t.pxToUnit=void 0,t.pxToUnit=({px:e,unit:t="px",dpi:n})=>{switch(t){case"pt":default:return e;case"mm":return e/(n/25.4);case"cm":return e/(n/2.54);case"in":return e/n}},t.pxToUnitRounded=({px:e,precious:n=2,dpi:r=72,unit:o="px"})=>parseFloat((0,t.pxToUnit)({px:e,dpi:r,unit:o}).toFixed(n)),t.unitToPx=({unitVal:e,dpi:n,unit:r})=>e/(0,t.pxToUnit)({px:1,unit:r,dpi:n}),t.pxToUnitString=e=>{const n=parseFloat((0,t.pxToUnit)(e).toFixed(1));switch(e.unit){case"pt":return`${Math.round(n)}pt`;case"mm":return`${n}mm`;case"cm":return`${n}cm`;case"in":return`${n}in`;default:return`${Math.round(n)}px`}}},55609:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useInfiniteAPI=t.fetcher=void 0;const o=r(n(67294)),i=r(n(39050));t.fetcher=e=>fetch(e).then((e=>e.json())),t.useInfiniteAPI=({defaultQuery:e="",timeout:n=100,getAPI:r,getSize:a=(e=>e.total_pages),fetchFunc:l=t.fetcher})=>{var s;const c=o.default.useRef(e),u=o.default.useRef(),{data:d,error:h,size:f,setSize:p,mutate:v}=(0,i.default)((e=>r({query:c.current,page:e+1})),l,{revalidateAll:!1}),m=!d&&!h||!!(f>0&&d&&void 0===d[f-1]),g=0===(null===(s=null==d?void 0:d[0])||void 0===s?void 0:s.length)||d&&d[0]&&a(d[0])===f;return{setQuery:o.default.useCallback((e=>{c.current=e,clearTimeout(u.current),u.current=setTimeout((()=>{v()}),n)}),[n]),isLoading:m,loadMore:()=>{g||p(f+1)},isReachingEnd:g,data:null==d?void 0:d.filter((e=>e)),items:null==d?void 0:d.reduce(((e,t)=>e.concat(t)),[]),hasMore:!g,reset:v,error:h}}},49202:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.validateKey=t.isKeyPaid=t.getKey=t.shouldShowCredit=void 0;const a=i(n(21833)),l=n(89111),s=n(81922);t.shouldShowCredit=a.observable({value:!1});const c=a.action((()=>{t.shouldShowCredit.value=!0}));let u="";t.getKey=()=>u||"";let d=window.location.origin;const h=navigator.userAgent.indexOf("Headless")>-1,f=navigator.userAgent.indexOf("Electron")>-1;"file://"===d&&h&&(d="headless"),"file://"===d&&f&&(d="electron");const p=`%cPolotno error! Current domain is not allowed. It may lead to unexpected behavior and stop working. Please add "${d}" here: https://polotno.com/cabinet`;async function v(e){for(let t=0;t<5;t++)try{const t=await fetch(l.API+"/validate-key",{method:"POST",body:JSON.stringify({key:e,site:location.host})});if(!e)return console.warn("Polotno API is initialized without API key. It may lead to unexpected behavior and stop working. Please create API key here: https://polotno.com/cabinet"),!1;if(200!==t.status){await new Promise((e=>setTimeout(e,3e3)));continue}const n=await t.json();return n.is_valid||console.warn("Polotno API key is not valid. Please get new API key here: https://polotno.com/cabinet"),n.is_paid||console.log("%cPolotno Free Version. Development or non-commercial usage only. https://polotno.com/","background: rgb(0, 161, 255); color: white; padding: 5px; margin: 5px;"),n.is_domain_valid||console.log(p,"background: rgba(247, 101, 68, 1); color: white; padding: 5px; margin: 5px;"),(0,s.useRemoveBackground)(n.remove_background_enabled),n.is_paid||!1}catch(e){await new Promise((e=>setTimeout(e,3e3)))}return console.error("Can not validate Polotno API key. Please report to anton@polotno.com immediately."),!0}t.isKeyPaid=v,t.validateKey=async function(e,t){u=e,await v(e)&&!t||c()}},93550:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.waitTillAvailable=void 0,t.waitTillAvailable=async function(e){for(let t=0;t<30;t++){const t=await e();if(t)return t;await new Promise((e=>setTimeout(e,50)))}}},92703:(e,t,n)=>{"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55798:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},80129:(e,t,n)=>{"use strict";var r=n(58261),o=n(55235),i=n(55798);e.exports={formats:i,parse:o,stringify:r}},55235:(e,t,n)=>{"use strict";var r=n(12769),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,l=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=l?i.slice(0,l.index):i,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(l=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(l[1])}return l&&u.push("["+i.slice(l.index)+"]"),function(e,t,n,r){for(var o=r?t:s(t,n),i=e.length-1;i>=0;--i){var a,l=e[i];if("[]"===l&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&l!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,h=u.split(t.delimiter,d),f=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?p="utf-8":"utf8=%26%2310003%3B"===h[n]&&(p="iso-8859-1"),f=n,n=h.length);for(n=0;n<h.length;++n)if(n!==f){var v,m,g=h[n],y=g.indexOf("]="),b=-1===y?g.indexOf("="):y+1;-1===b?(v=t.decoder(g,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(v=t.decoder(g.slice(0,b),a.decoder,p,"key"),m=r.maybeMap(s(g.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,p,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=l(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(c,v)?c[v]=r.combine(c[v],m):c[v]=m}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},h=Object.keys(u),f=0;f<h.length;++f){var p=h[f],v=c(p,u[p],n,"string"==typeof e);d=r.merge(d,v,n)}return!0===n.allowSparse?d:r.compact(d)}},58261:(e,t,n)=>{"use strict";var r=n(37478),o=n(12769),i=n(55798),a=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},v=function e(t,n,i,a,l,c,d,h,v,m,g,y,b,w,_,E){for(var x,S=t,O=E,C=0,M=!1;void 0!==(O=O.get(p))&&!M;){var z=O.get(t);if(C+=1,void 0!==z){if(z===C)throw new RangeError("Cyclic object value");M=!0}void 0===O.get(p)&&(C=0)}if("function"==typeof h?S=h(n,S):S instanceof Date?S=g(S):"comma"===i&&s(S)&&(S=o.maybeMap(S,(function(e){return e instanceof Date?g(e):e}))),null===S){if(l)return d&&!w?d(n,f.encoder,_,"key",y):n;S=""}if("string"==typeof(x=S)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||o.isBuffer(S))return d?[b(w?n:d(n,f.encoder,_,"key",y))+"="+b(d(S,f.encoder,_,"value",y))]:[b(n)+"="+b(String(S))];var P,T=[];if(void 0===S)return T;if("comma"===i&&s(S))w&&d&&(S=o.maybeMap(S,d)),P=[{value:S.length>0?S.join(",")||null:void 0}];else if(s(h))P=h;else{var A=Object.keys(S);P=v?A.sort(v):A}for(var L=a&&s(S)&&1===S.length?n+"[]":n,k=0;k<P.length;++k){var N=P[k],I="object"==typeof N&&void 0!==N.value?N.value:S[N];if(!c||null!==I){var R=s(S)?"function"==typeof i?i(L,N):L:L+(m?"."+N:"["+N+"]");E.set(t,C);var H=r();H.set(p,E),u(T,e(I,R,i,a,l,c,"comma"===i&&w&&s(S)?null:d,h,v,m,g,y,b,w,_,H))}}return T};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=f.filter;return("function"==typeof e.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):s(c.filter)&&(n=c.filter);var d,h=[];if("object"!=typeof o||null===o)return"";d=t&&t.arrayFormat in l?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=l[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===p&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var g=r(),y=0;y<n.length;++y){var b=n[y];c.skipNulls&&null===o[b]||u(h,v(o[b],b,p,m,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var w=h.join(c.delimiter),_=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""}},12769:(e,t,n)=>{"use strict";var r=n(55798),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],l=Object.keys(a),s=0;s<l.length;++s){var c=l[s],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===n)return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",c=0;c<l.length;++c){var u=l.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===r.RFC1738&&(40===u||41===u)?s+=l.charAt(c):u<128?s+=a[u]:u<2048?s+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?s+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&l.charCodeAt(c)),s+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=l(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},76095:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),a=n(45),l=n(46),s=n(47),c=n(48),u=n(49),d=n(12),h=n(32),f=n(33),p=n(31),v=n(1),m={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:c.default,Scroll:a.default,Block:s.default,Inline:l.default,Text:u.default,Attributor:{Attribute:d.default,Class:h.default,Style:f.default,Store:p.default}};t.default=m},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=i;var a,l={},s={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=u[e]||l[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=u.block:e&a.LEVEL&a.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=s[r[o]])break;n=n||c[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:r.create(t);return new r(o,t)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");return u[r.blotName||r.attrName]=r,"string"==typeof r.keyName?l[r.keyName]=r:(null!=r.className&&(s[r.className]=r),null!=r.tagName&&(Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach((function(e){null!=c[e]&&null!=r.className||(c[e]=r)})))),r}},function(e,t,n){var r=n(51),o=n(11),i=n(3),a=n(20),l=String.fromCharCode(0),s=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};s.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},s.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},s.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},s.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},s.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},s.prototype.filter=function(e){return this.ops.filter(e)},s.prototype.forEach=function(e){this.ops.forEach(e)},s.prototype.map=function(e){return this.ops.map(e)},s.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},s.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},s.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},s.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},s.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o<t&&r.hasNext();){var i;o<e?i=r.next(e-o):(i=r.next(t-o),n.push(i)),o+=a.length(i)}return new s(n)},s.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),r=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var l=i.retain;"insert"===t.peekType()&&t.peekLength()<=l;)l-=t.peekLength(),r.push(t.next());i.retain-l>0&&n.next(i.retain-l)}for(var c=new s(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),h=n.next(u);if("number"==typeof h.retain){var f={};"number"==typeof d.retain?f.retain=u:f.insert=d.insert;var p=a.attributes.compose(d.attributes,h.attributes,"number"==typeof d.retain);if(p&&(f.attributes=p),c.push(f),!n.hasNext()&&o(c.ops[c.ops.length-1],f)){var v=new s(t.rest());return c.concat(v).chop()}}else"number"==typeof h.delete&&"number"==typeof d.retain&&c.push(h)}return c.chop()},s.prototype.concat=function(e){var t=new s(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},s.prototype.diff=function(e,t){if(this.ops===e.ops)return new s;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:l;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new s,c=r(n[0],n[1],t),u=a.iterator(this.ops),d=a.iterator(e.ops);return c.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var l=u.next(n),s=d.next(n);o(l.insert,s.insert)?i.retain(n,a.attributes.diff(l.attributes,s.attributes)):i.push(s).delete(n)}t-=n}})),i.chop()},s.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),l=a.length(i)-n.peekLength(),c="string"==typeof i.insert?i.insert.indexOf(t,l)-l:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&e(r,{},o)},s.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),r=a.iterator(e.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),l=n.next(i),c=r.next(i);if(l.delete)continue;c.delete?o.push(c):o.retain(i,a.attributes.transform(l.attributes,c.attributes,t))}else o.retain(a.length(n.next()));return o.chop()},s.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.exports=s},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},l=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)},s=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,i,u,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<f;++h)if(null!=(t=arguments[h]))for(n in t)r=c(d,n),d!==(o=c(t,n))&&(p&&o&&(l(o)||(i=a(o)))?(i?(i=!1,u=r&&a(r)?r:[]):u=r&&l(r)?r:{},s(d,{name:n,newValue:e(p,u,o)})):void 0!==o&&s(d,{name:n,newValue:o}));return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=d(n(3)),a=d(n(2)),l=d(n(0)),s=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return h(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),r(t,[{key:"attach",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new l.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=l.default.query(e,l.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"==typeof n&&n.endsWith("\n")){var i=l.default.create(m.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(l.default.Embed);v.scope=l.default.Scope.BLOCK_BLOT;var m=function(e){function t(e){h(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return p(t,e),r(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(l.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),g(t))}),new a.default).insert("\n",g(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,i){n<=0||(l.default.query(r,l.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,i):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,i),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var l=this;i.reduce((function(e,t){return(l=l.split(e,!0)).insertAt(0,t),t.length}),e+a.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof s.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(l.default.Block);function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:g(e.parent,t))}m.blotName="block",m.tagName="P",m.defaultChild="break",m.allowedChildren=[c.default,l.default.Embed,u.default],t.bubbleFormats=g,t.BlockEmbed=v,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(50);var a=m(n(2)),l=m(n(14)),s=m(n(8)),c=m(n(9)),u=m(n(0)),d=n(15),h=m(d),f=m(n(3)),p=m(n(10)),v=m(n(34));function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=(0,p.default)("quill"),b=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=w(t,r),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new s.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new l.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(s.default.events.EDITOR_CHANGE,(function(e){e===s.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(s.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;_.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),p.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,i=E(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],_.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;return _.call(this,(function(){var r=n.getSelection(!0),o=new a.default;if(null==r)return o;if(u.default.query(e,u.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,g({},e,t));else{if(0===r.length)return n.selection.format(e,t),o;o=n.editor.formatText(r.index,r.length,g({},e,t))}return n.setSelection(r,s.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(e,t,n,r,i){var a,l=this,s=E(e,t,n,r,i),c=o(s,4);return e=c[0],t=c[1],a=c[2],i=c[3],_.call(this,(function(){return l.editor.formatLine(e,t,a)}),i,e,0)}},{key:"formatText",value:function(e,t,n,r,i){var a,l=this,s=E(e,t,n,r,i),c=o(s,4);return e=c[0],t=c[1],a=c[2],i=c[3],_.call(this,(function(){return l.editor.formatText(e,t,a)}),i,e,0)}},{key:"getBounds",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t="number"==typeof e?this.selection.getBounds(e,n):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:t.bottom-r.top,height:t.height,left:t.left-r.left,right:t.right-r.left,top:t.top-r.top,width:t.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=E(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=E(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return _.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),i,t)}},{key:"insertText",value:function(e,t,n,r,i){var a,l=this,s=E(e,0,n,r,i),c=o(s,4);return e=c[0],a=c[2],i=c[3],_.call(this,(function(){return l.editor.insertText(e,t,a)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,i=E(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],_.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return _.call(this,(function(){e=new a.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=E(t,n,r),a=o(i,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new d.Range(t,n),r),r!==s.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return _.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function w(e,t){if((t=(0,f.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,f.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=b.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,f.default)(!0,{},b.DEFAULTS,{modules:r},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function _(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===s.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,l=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=x(o,l,t):0!==r&&(o=x(o,n,r,t)),this.setSelection(o,s.default.sources.SILENT)),l.length()>0){var c,u,d=[s.default.events.TEXT_CHANGE,l,i,t];(c=this.emitter).emit.apply(c,[s.default.events.EDITOR_CHANGE].concat(d)),t!==s.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return l}function E(e,t,n,o,i){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":r(n))?(a=n,i=o):"string"==typeof n&&(null!=o?a[n]=o:i=n),[e,t,a,i=i||s.default.sources.API]}function x(e,t,n,r){if(null==e)return null;var i=void 0,l=void 0;if(t instanceof a.default){var c=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==s.default.sources.USER)})),u=o(c,2);i=u[0],l=u[1]}else{var h=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===s.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),f=o(h,2);i=f[0],l=f[1]}return new d.Range(i,l-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=s.default.events,b.sources=s.default.sources,b.version="1.3.7",b.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},t.expandConfig=w,t.overload=E,t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(7)),a=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"formatAt",value:function(e,n,r,i){if(t.compare(this.statics.blotName,r)<0&&a.default.query(r,a.default.Scope.BLOT)){var l=this.isolate(e,n);i&&l.wrap(r,i)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i)}},{key:"optimize",value:function(e){if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),o=t.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e<n?-1:1}}]),t}(a.default.Inline);s.allowedChildren=[s,a.default.Embed,i.default],s.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=n(0))&&r.__esModule?r:{default:r}).default.Text);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=a(n(54));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",l.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"emit",value:function(){l.log.apply(l,arguments),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(t=console)[e].apply(t,i)}}function a(e){return r.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=a.level=function(e){o=e},t.default=a},function(e,t,n){var r=Array.prototype.slice,o=n(52),i=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(l(e)||l(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(s(e)){if(!s(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=o(e),h=o(t)}catch(e){return!1}if(d.length!=h.length)return!1;for(d.sort(),h.sort(),c=d.length-1;c>=0;c--)if(d[c]!=h[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function l(e){return null==e}function s(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=d(n(2)),l=d(n(0)),s=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(){return h(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),t}(c.default);v.blotName="code",v.tagName="CODE";var m=function(e){function t(){return h(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),o(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=r(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,o){if(0!==n&&null!=l.default.query(r,l.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var a=this.newlineIndex(e,!0)+1,s=i-a+1,c=this.isolate(a,s),u=c.next;c.format(r,o),u instanceof t&&u.formatAt(0,e-a+n-s,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(u.default,e),i=r(o,2),a=i[0],l=i[1];a.insertAt(l,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(l.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=l.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof l.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(s.default);m.blotName="code-block",m.tagName="PRE",m.TAB=" ",t.Code=v,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=g(n(2)),l=g(n(20)),s=g(n(0)),c=g(n(13)),u=g(n(24)),d=n(4),h=g(d),f=g(n(16)),p=g(n(21)),v=g(n(11)),m=g(n(3));function g(e){return e&&e.__esModule?e:{default:e}}var y=/^[ -~]*$/,b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,p.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,p.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new a.default)}(e)).reduce((function(e,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),e>=i&&!f.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,f);var p=t.scroll.line(e),v=o(p,2),g=v[0],y=v[1],b=(0,m.default)({},(0,d.bubbleFormats)(g));if(g instanceof h.default){var w=g.descendant(s.default.Leaf,y),_=o(w,1)[0];b=(0,m.default)(b,(0,d.bubbleFormats)(_))}u=l.default.attributes.diff(b,u)||{}}else if("object"===r(a.insert)){var E=Object.keys(a.insert)[0];if(null==E)return e;t.scroll.insertAt(e,E,a.insert[E])}i+=c}return Object.keys(u).forEach((function(n){t.scroll.formatAt(e,c,n,u[n])})),e+c}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),a=t;i.forEach((function(t){var i=t.length();if(t instanceof c.default){var l=e-t.offset(n.scroll),s=t.newlineIndex(l+a)-l+1;t.formatAt(l,s,o,r[o])}else t.format(o,r[o]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,p.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t,o,r[o])})),this.update((new a.default).retain(e).retain(t,(0,p.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=o(e,1)[0];t instanceof h.default?n.push(t):t instanceof s.default.Leaf&&r.push(t)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(s.default.Leaf,e,t));var i=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=w((0,d.bubbleFormats)(n),t)}return t}));return m.default.apply(m.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t.length,o,r[o])})),this.update((new a.default).retain(e).insert(t,(0,p.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===h.default.blotName&&!(e.children.length>1)&&e.children.head instanceof f.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),i=o(r,2),l=i[0],s=i[1],u=0,d=new a.default;null!=l&&(u=l instanceof c.default?l.newlineIndex(s)-s+1:l.length()-s,d=l.delta().slice(s,s+u-1).insert("\n"));var h=this.getContents(e,t+u).diff((new a.default).insert(n).concat(d)),f=(new a.default).retain(e).concat(h);return this.applyDelta(f)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(y)&&s.default.find(t[0].target)){var o=s.default.find(t[0].target),i=(0,d.bubbleFormats)(o),l=o.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),h=(new a.default).insert(c),f=(new a.default).insert(o.value());e=(new a.default).retain(l).concat(h.diff(f,n)).reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new a.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,v.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function w(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(0)),a=c(n(21)),l=c(n(11)),s=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=(0,c(n(10)).default)("quill:selection"),f=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},p=function(){function e(t,n){var r=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,s.default.sources.USER),1)})),this.emitter.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.TEXT_CHANGE&&t.length()>0&&r.update(s.default.sources.SILENT)})),this.emitter.on(s.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(s.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(s.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,a=n.endNode,l=n.endOffset;r.setNativeRange(o,i,a,l)}})),this.update(s.default.sources.SILENT)}return o(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(s.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,i=this.scroll.leaf(e),a=r(i,2),l=a[0],s=a[1];if(null==l)return null;var c=l.position(s,!0),u=r(c,2);o=u[0],s=u[1];var d=document.createRange();if(t>0){d.setStart(o,s);var h=this.scroll.leaf(e+t),f=r(h,2);if(l=f[0],s=f[1],null==l)return null;var p=l.position(s,!0),v=r(p,2);return o=v[0],s=v[1],d.setEnd(o,s),d.getBoundingClientRect()}var m="left",g=void 0;return o instanceof Text?(s<o.data.length?(d.setStart(o,s),d.setEnd(o,s+1)):(d.setStart(o,s-1),d.setEnd(o,s),m="right"),g=d.getBoundingClientRect()):(g=l.domNode.getBoundingClientRect(),s>0&&(m="right")),{bottom:g.top+g.height,height:g.height,left:g[m],right:g[m],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return h.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map((function(e){var n=r(e,2),o=n[0],a=n[1],l=i.default.find(o,!0),s=l.offset(t.scroll);return 0===a?s:l instanceof i.default.Container?s+l.length():s+l.index(o,a)})),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),l=Math.min.apply(Math,[a].concat(u(o)));return new f(l,a-l)}},{key:"normalizeNative",value:function(e){if(!v(this.root,e.startContainer)||!e.collapsed&&!v(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var a,l=t.scroll.leaf(e),s=r(l,2),c=s[0],u=s[1],d=c.position(u,0!==n),h=r(d,2);a=h[0],u=h[1],o.push(a,u)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),a=r(i,1)[0],l=a;if(t.length>0){var s=this.scroll.line(Math.min(t.index+t.length,o));l=r(s,1)[0]}if(null!=a&&null!=l){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var l=document.createRange();l.setStart(e,t),l.setEnd(n,r),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof t&&(n=t,t=!1),h.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,u(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],c=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,l.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,h=[s.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];(u=this.emitter).emit.apply(u,[s.default.events.EDITOR_CHANGE].concat(h)),e!==s.default.sources.SILENT&&(d=this.emitter).emit.apply(d,h)}}}]),e}();function v(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=f,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((r=n(0))&&r.__esModule?r:{default:r}).default.Embed);a.blotName="break",a.tagName="BR",t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),a=n(30),l=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return o(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof l.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),o=r[0],i=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,i]:o instanceof t?o.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,i))),i-=a})),o},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,o){e.formatAt(t,o,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),o=r[0],i=r[1];if(o)o.insertAt(i,t,n);else{var a=null==n?l.create("text",t):l.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new l.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=l.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),o=r[0],i=r[1],a=[[this,e]];return o instanceof t?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],o=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),o.push.apply(o,e.removedNodes))})),o.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=l.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=l.find(e.nextSibling));var r=c(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(a.default);function c(e){var t=l.find(e);if(null==t)try{t=l.create(e)}catch(n){t=l.create(l.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=n(31),l=n(17),s=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return o(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=s.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var o=e.prototype.wrap.call(this,n,r);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(l.default);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=l},function(e,t,n){var r=n(11),o=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=o(!0,{},t);for(var i in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(r[i]=e[i]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=i.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=i},function(e,t){var n=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{r=Promise}catch(e){r=function(){}}function o(i,l,s,c,u){"object"==typeof l&&(s=l.depth,c=l.prototype,u=l.includeNonEnumerable,l=l.circular);var d=[],h=[],f="undefined"!=typeof Buffer;return void 0===l&&(l=!0),void 0===s&&(s=1/0),function i(s,p){if(null===s)return null;if(0===p)return s;var v,m;if("object"!=typeof s)return s;if(e(s,t))v=new t;else if(e(s,n))v=new n;else if(e(s,r))v=new r((function(e,t){s.then((function(t){e(i(t,p-1))}),(function(e){t(i(e,p-1))}))}));else if(o.__isArray(s))v=[];else if(o.__isRegExp(s))v=new RegExp(s.source,a(s)),s.lastIndex&&(v.lastIndex=s.lastIndex);else if(o.__isDate(s))v=new Date(s.getTime());else{if(f&&Buffer.isBuffer(s))return v=Buffer.allocUnsafe?Buffer.allocUnsafe(s.length):new Buffer(s.length),s.copy(v),v;e(s,Error)?v=Object.create(s):void 0===c?(m=Object.getPrototypeOf(s),v=Object.create(m)):(v=Object.create(c),m=c)}if(l){var g=d.indexOf(s);if(-1!=g)return h[g];d.push(s),h.push(v)}for(var y in e(s,t)&&s.forEach((function(e,t){var n=i(t,p-1),r=i(e,p-1);v.set(n,r)})),e(s,n)&&s.forEach((function(e){var t=i(e,p-1);v.add(t)})),s){var b;m&&(b=Object.getOwnPropertyDescriptor(m,y)),b&&null==b.set||(v[y]=i(s[y],p-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(y=0;y<w.length;y++){var _=w[y];(!(x=Object.getOwnPropertyDescriptor(s,_))||x.enumerable||u)&&(v[_]=i(s[_],p-1),x.enumerable||Object.defineProperty(v,_,{enumerable:!1}))}}if(u){var E=Object.getOwnPropertyNames(s);for(y=0;y<E.length;y++){var x,S=E[y];(x=Object.getOwnPropertyDescriptor(s,S))&&x.enumerable||(v[S]=i(s[S],p-1),Object.defineProperty(v,S,{enumerable:!1}))}}return v}(i,s)}function i(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=i,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},o.__getRegExpFlags=a,o}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=f(n(0)),l=f(n(8)),s=n(4),c=f(s),u=f(n(16)),d=f(n(13)),h=f(n(25));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return e instanceof c.default||e instanceof s.BlockEmbed}var v=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var o=this.line(e),a=r(o,2),l=a[0],c=a[1],h=this.line(e+n),f=r(h,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=f&&l!==f&&c>0){if(l instanceof s.BlockEmbed||f instanceof s.BlockEmbed)return void this.optimize();if(l instanceof d.default){var p=l.newlineIndex(l.length(),!0);if(p>-1&&(l=l.split(p+1))===f)return void this.optimize()}else if(f instanceof d.default){var v=f.newlineIndex(0);v>-1&&f.split(v+1)}var m=f.children.head instanceof u.default?null:f.children.head;l.moveChildren(f,m),l.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var l=a.default.create(n,r);this.appendChild(l)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(e),e=r}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(p,e)}},{key:"lines",value:function(){return function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){p(t)?o.push(t):t instanceof a.default.Container&&(o=o.concat(e(t,n,i))),i-=r})),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(l.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=l.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(l.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(l.default.events.SCROLL_UPDATE,n,e)}}}]),t}(a.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,s.BlockEmbed,h.default],t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=v(n(21)),l=v(n(11)),s=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),h=v(n(5)),f=v(n(10)),p=v(n(9));function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,f.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",b=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},S),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},_),r.addBinding({key:t.keys.DELETE},{collapsed:!0},E)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},_),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},E)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},x),r.addBinding({key:t.keys.DELETE},{collapsed:!1},x),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},_),r.listen(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"match",value:function(e,t){return t=M(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=M(e);if(null==r||null==r.key)return g.warn("Attempted to add invalid keyboard binding",r);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),r=(0,s.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var c=e.quill.getLine(s.index),u=o(c,2),h=u[0],f=u[1],p=e.quill.getLeaf(s.index),v=o(p,2),m=v[0],g=v[1],y=0===s.length?[m,g]:e.quill.getLeaf(s.index+s.length),b=o(y,2),w=b[0],_=b[1],E=m instanceof d.default.Text?m.value().slice(0,g):"",x=w instanceof d.default.Text?w.value().slice(_):"",S={collapsed:0===s.length,empty:0===s.length&&h.length()<=1,format:e.quill.getFormat(s),offset:f,prefix:E,suffix:x};a.some((function(t){if(null!=t.collapsed&&t.collapsed!==S.collapsed)return!1;if(null!=t.empty&&t.empty!==S.empty)return!1;if(null!=t.offset&&t.offset!==S.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==S.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=S.format[e]:!1===t.format[e]?null==S.format[e]:(0,l.default)(t.format[e],S.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(S.prefix)||null!=t.suffix&&!t.suffix.test(S.suffix)||!0===t.handler.call(e,s,S))}))&&n.preventDefault()}}}}))}}]),t}(p.default);function w(e,t){var n,r=e===b.keys.LEFT?"prefix":"suffix";return m(n={key:e,shiftKey:t,altKey:null},r,/^$/),m(n,"handler",(function(n){var r=n.index;e===b.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof d.default.Embed&&(e===b.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),1))})),n}function _(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),l=o(a,1)[0];if(null!=l&&l.length()>1){var s=r.formats(),c=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(s,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,h.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-d,d,i,h.default.sources.USER),this.quill.focus()}}function E(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},i=0,a=this.quill.getLine(e.index),l=o(a,1)[0];if(t.offset>=l.length()-1){var s=this.quill.getLine(e.index+1),c=o(s,1)[0];if(c){var d=l.formats(),f=this.quill.getFormat(e.index,1);r=u.default.attributes.diff(d,f)||{},i=c.length()}}this.quill.deleteText(e.index,n,h.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+i-1,n,r,h.default.sources.USER)}}function x(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=u.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,h.default.sources.USER),this.quill.setSelection(e.index,h.default.sources.SILENT),this.quill.focus()}function S(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,h.default.sources.USER),this.quill.setSelection(e.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],h.default.sources.USER))}))}function O(e){return{key:b.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),r=t.index,i=t.length,a=this.quill.scroll.descendant(n,r),l=o(a,2),s=l[0],c=l[1];if(null!=s){var u=this.quill.getIndex(s),f=s.newlineIndex(c,!0)+1,p=s.newlineIndex(u+c+i),v=s.domNode.textContent.slice(f,p).split("\n");c=0,v.forEach((function(t,o){e?(s.insertAt(f+c,n.TAB),c+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(s.deleteAt(f+c,n.TAB.length),c-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),c+=t.length+1})),this.quill.update(h.default.sources.USER),this.quill.setSelection(r,i,h.default.sources.SILENT)}}}}function C(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],h.default.sources.USER)}}}function M(e){if("string"==typeof e||"number"==typeof e)return M({key:e});if("object"===(void 0===e?"undefined":r(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=b.keys[e.key.toUpperCase()])e.key=b.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[y]=e.shortKey,delete e.shortKey),e}b.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},b.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:b.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",h.default.sources.USER)}},outdent:{key:b.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",h.default.sources.USER)}},"outdent backspace":{key:b.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",h.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,h.default.sources.USER)}},"indent code-block":O(!0),"outdent code-block":O(!1),"remove tab":{key:b.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,h.default.sources.USER)}},tab:{key:b.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,h.default.sources.SILENT)}},"list empty enter":{key:b.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,h.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,h.default.sources.USER)}},"checklist enter":{key:b.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(0,s.default)({},r.formats(),{list:"checked"}),l=(new c.default).retain(e.index).insert("\n",a).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,h.default.sources.USER),this.quill.setSelection(e.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:b.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=o(n,2),i=r[0],a=r[1],l=(new c.default).retain(e.index).insert("\n",t.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(l,h.default.sources.USER),this.quill.setSelection(e.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),i=o(r,2),a=i[0],l=i[1];if(l>n)return!0;var s=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(e.index," ",h.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-l).delete(n+1).retain(a.length()-2-l).retain(1,{list:s});this.quill.updateContents(u,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,h.default.sources.SILENT)}},"code exit":{key:b.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(new c.default).retain(e.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,h.default.sources.USER)}},"embed left":w(b.keys.LEFT,!1),"embed left shift":w(b.keys.LEFT,!0),"embed right":w(b.keys.RIGHT,!1),"embed right shift":w(b.keys.RIGHT,!0)}},t.default=b,t.SHORTKEY=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(0)),a=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"value",value:function(){}}]),o(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var o=this,a=0;null!=o&&o.statics.scope!==i.default.Scope.BLOCK_BLOT;)a+=o.offset(o.parent),o=o.parent;null!=o&&(this._length=t.CONTENTS.length,o.optimize(),o.formatAt(a,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),r=void 0,o=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var s=[e,n.start.offset,n.end.offset];r=s[0],o=s[1],l=s[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof a.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(i.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var u=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}([o,l].map((function(e){return Math.max(0,Math.min(r.data.length,e-1))})),2);return o=u[0],l=u[1],{startNode:r,startOffset:o,endNode:r,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(i.default.Embed);s.blotName="cursor",s.className="ql-cursor",s.tagName="span",s.CONTENTS="\ufeff",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),o=n(4),i=a(o);function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Container);l.allowedChildren=[i.default,o.BlockEmbed,l],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=(r=n(0))&&r.__esModule?r:{default:r},l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?"#"+(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join(""):n}}]),t}(a.default.Attributor.Style),s=new a.default.Attributor.Class("color","ql-color",{scope:a.default.Scope.INLINE}),c=new l("color","color",{scope:a.default.Scope.INLINE});t.ColorAttributor=l,t.ColorClass=s,t.ColorStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return l(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((r=n(6))&&r.__esModule?r:{default:r}).default);function l(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=a,t.sanitize=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(23)),a=l(n(107));function l(e){return e&&e.__esModule?e:{default:e}}var s=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return o(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+s,s+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(0)),o=g(n(5)),i=n(4),a=g(i),l=g(n(16)),s=g(n(25)),c=g(n(24)),u=g(n(35)),d=g(n(6)),h=g(n(22)),f=g(n(7)),p=g(n(55)),v=g(n(42)),m=g(n(23));function g(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":l.default,"blots/container":s.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":h.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":v.default,"modules/keyboard":m.default}),r.default.register(a.default,l.default,c.default,d.default,h.default,f.default),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),l=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=o.default.keys(this.domNode),l=i.default.keys(this.domNode);t.concat(n).concat(l).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return r(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var s="\ufeff",c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(s),n.rightGuard=document.createTextNode(s),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(s).join("");if(e===this.leftGuard)if(this.prev instanceof a.default){var o=this.prev.length();this.prev.insertAt(o,r),t={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=s,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(i.default.Embed);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},a=new o.default.Attributor.Attribute("align","align",i),l=new o.default.Attributor.Class("align","ql-align",i),s=new o.default.Attributor.Style("align","text-align",i);t.AlignAttribute=a,t.AlignClass=l,t.AlignStyle=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=n(26),a=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),l=new i.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});t.BackgroundClass=a,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},a=new o.default.Attributor.Attribute("direction","dir",i),l=new o.default.Attributor.Class("direction","ql-direction",i),s=new o.default.Attributor.Style("direction","direction",i);t.DirectionAttribute=a,t.DirectionClass=l,t.DirectionStyle=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=(r=n(0))&&r.__esModule?r:{default:r},l={scope:a.default.Scope.INLINE,whitelist:["serif","monospace"]},s=new a.default.Attributor.Class("font","ql-font",l),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(a.default.Attributor.Style),u=new c("font","font-family",l);t.FontStyle=u,t.FontClass=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r,o=(r=n(0))&&r.__esModule?r:{default:r},i=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),a=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=i,t.SizeStyle=a},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(0)),i=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,o){e!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var r=s(n[e]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(a(n(9)).default);function s(e){var t=e.reduce((function(e,t){return e+(t.delete||0)}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}(e)&&(n-=1),n}l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=l,t.getLastChangeIndex=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=p(n(3)),a=p(n(2)),l=p(n(8)),s=p(n(23)),c=p(n(34)),u=p(n(59)),d=p(n(60)),h=p(n(28)),f=p(n(61));function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],w=[!1,"serif","monospace"],_=["1","2","3",!1],E=["small",!1,"large","huge"],x=function(e){function t(e,n){v(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),r}return g(t,e),r(t,[{key:"addModule",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice(3),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&O(e,y),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&O(e,b,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?O(e,w):e.classList.contains("ql-header")?O(e,_):e.classList.contains("ql-size")&&O(e,E)),new h.default(e)})),this.quill.on(l.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(c.default);x.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),l.default.sources.USER),e.quill.setSelection(r.index+1,l.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var S=function(e){function t(e,n){v(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return g(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){s.default.match(t,"enter")?(e.save(),t.preventDefault()):s.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e,t,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,l.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,l.default.sources.USER)),this.quill.root.scrollTop=r;break;case"video":n=(t=(e=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e;case"formula":if(!n)break;var o=this.quill.getSelection(!0);if(null!=o){var i=o.index+o.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),n,l.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",l.default.sources.USER),this.quill.setSelection(i+2,l.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(f.default);function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=S,t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var r,o=this.find(e),i=o[0],a=e-o[1],l=this.iterator(i);(r=l())&&a<e+t;){var s=r.length();e>a?n(r,e-a,Math.min(t,a+s-e)):n(r,0,Math.min(s,e+t-a)),a+=s}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),a=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,l),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&l(e.parent))},s=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(s),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(s),o=(c=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){null!=this.formats()[r]||a.query(r,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var r=a.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=a.query(r,a.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),i=a.create(n,r);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),a=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=l},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1,r=1,o=0;function i(e,t,u){if(e==t)return e?[[o,e]]:[];(u<0||e.length<u)&&(u=null);var h=l(e,t),f=e.substring(0,h);h=s(e=e.substring(h),t=t.substring(h));var p=e.substring(e.length-h),v=function(e,t){var c;if(!e)return[[r,t]];if(!t)return[[n,e]];var u=e.length>t.length?e:t,d=e.length>t.length?t:e,h=u.indexOf(d);if(-1!=h)return c=[[r,u.substring(0,h)],[o,d],[r,u.substring(h+d.length)]],e.length>t.length&&(c[0][0]=c[2][0]=n),c;if(1==d.length)return[[n,e],[r,t]];var f=function(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function o(e,t,n){for(var r,o,i,a,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var h=l(e.substring(n),t.substring(u)),f=s(e.substring(0,n),t.substring(0,u));d.length<f+h&&(d=t.substring(u-f,u)+t.substring(u,u+h),r=e.substring(0,n-f),o=e.substring(n+h),i=t.substring(0,u-f),a=t.substring(u+h))}return 2*d.length>=e.length?[r,o,i,a,d]:null}var i,a,c,u,d,h=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));return h||f?(i=f?h&&h[4].length>f[4].length?h:f:h,e.length>t.length?(a=i[0],c=i[1],u=i[2],d=i[3]):(u=i[0],d=i[1],a=i[2],c=i[3]),[a,c,u,d,i[4]]):null}(e,t);if(f){var p=f[0],v=f[1],m=f[2],g=f[3],y=f[4],b=i(p,m),w=i(v,g);return b.concat([[o,y]],w)}return function(e,t){for(var o=e.length,i=t.length,l=Math.ceil((o+i)/2),s=l,c=2*l,u=new Array(c),d=new Array(c),h=0;h<c;h++)u[h]=-1,d[h]=-1;u[s+1]=0,d[s+1]=0;for(var f=o-i,p=f%2!=0,v=0,m=0,g=0,y=0,b=0;b<l;b++){for(var w=-b+v;w<=b-m;w+=2){for(var _=s+w,E=(M=w==-b||w!=b&&u[_-1]<u[_+1]?u[_+1]:u[_-1]+1)-w;M<o&&E<i&&e.charAt(M)==t.charAt(E);)M++,E++;if(u[_]=M,M>o)m+=2;else if(E>i)v+=2;else if(p&&(O=s+f-w)>=0&&O<c&&-1!=d[O]&&M>=(S=o-d[O]))return a(e,t,M,E)}for(var x=-b+g;x<=b-y;x+=2){for(var S,O=s+x,C=(S=x==-b||x!=b&&d[O-1]<d[O+1]?d[O+1]:d[O-1]+1)-x;S<o&&C<i&&e.charAt(o-S-1)==t.charAt(i-C-1);)S++,C++;if(d[O]=S,S>o)y+=2;else if(C>i)g+=2;else if(!p){var M;if((_=s+f-x)>=0&&_<c&&-1!=u[_]&&(E=s+(M=u[_])-_,M>=(S=o-S)))return a(e,t,M,E)}}}return[[n,e],[r,t]]}(e,t)}(e=e.substring(0,e.length-h),t=t.substring(0,t.length-h));return f&&v.unshift([o,f]),p&&v.push([o,p]),c(v),null!=u&&(v=function(e,t){var r=function(e,t){if(0===t)return[o,e];for(var r=0,i=0;i<e.length;i++){var a=e[i];if(a[0]===n||a[0]===o){var l=r+a[1].length;if(t===l)return[i+1,e];if(t<l){e=e.slice();var s=t-r,c=[a[0],a[1].slice(0,s)],u=[a[0],a[1].slice(s)];return e.splice(i,1,c,u),[i+1,e]}r=l}}throw new Error("cursor_pos is out of bounds!")}(e,t),i=r[1],a=r[0],l=i[a],s=i[a+1];if(null==l)return e;if(l[0]!==o)return e;if(null!=s&&l[1]+s[1]===s[1]+l[1])return i.splice(a,2,s,l),d(i,a,2);if(null!=s&&0===s[1].indexOf(l[1])){i.splice(a,2,[s[0],l[1]],[0,l[1]]);var c=s[1].slice(l[1].length);return c.length>0&&i.splice(a+2,0,[s[0],c]),d(i,a,3)}return e}(v,u)),function(e){for(var t=!1,i=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=2;a<e.length;a+=1)e[a-2][0]===o&&((l=e[a-2][1]).charCodeAt(l.length-1)>=55296&&l.charCodeAt(l.length-1)<=56319)&&e[a-1][0]===n&&i(e[a-1][1])&&e[a][0]===r&&i(e[a][1])&&(t=!0,e[a-1][1]=e[a-2][1].slice(-1)+e[a-1][1],e[a][1]=e[a-2][1].slice(-1)+e[a][1],e[a-2][1]=e[a-2][1].slice(0,-1));var l;if(!t)return e;var s=[];for(a=0;a<e.length;a+=1)e[a][1].length>0&&s.push(e[a]);return s}(v)}function a(e,t,n,r){var o=e.substring(0,n),a=t.substring(0,r),l=e.substring(n),s=t.substring(r),c=i(o,a),u=i(l,s);return c.concat(u)}function l(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function s(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function c(e){e.push([o,""]);for(var t,i=0,a=0,u=0,d="",h="";i<e.length;)switch(e[i][0]){case r:u++,h+=e[i][1],i++;break;case n:a++,d+=e[i][1],i++;break;case o:a+u>1?(0!==a&&0!==u&&(0!==(t=l(h,d))&&(i-a-u>0&&e[i-a-u-1][0]==o?e[i-a-u-1][1]+=h.substring(0,t):(e.splice(0,0,[o,h.substring(0,t)]),i++),h=h.substring(t),d=d.substring(t)),0!==(t=s(h,d))&&(e[i][1]=h.substring(h.length-t)+e[i][1],h=h.substring(0,h.length-t),d=d.substring(0,d.length-t))),0===a?e.splice(i-u,a+u,[r,h]):0===u?e.splice(i-a,a+u,[n,d]):e.splice(i-a-u,a+u,[n,d],[r,h]),i=i-a-u+(a?1:0)+(u?1:0)+1):0!==i&&e[i-1][0]==o?(e[i-1][1]+=e[i][1],e.splice(i,1)):i++,u=0,a=0,d="",h=""}""===e[e.length-1][1]&&e.pop();var f=!1;for(i=1;i<e.length-1;)e[i-1][0]==o&&e[i+1][0]==o&&(e[i][1].substring(e[i][1].length-e[i-1][1].length)==e[i-1][1]?(e[i][1]=e[i-1][1]+e[i][1].substring(0,e[i][1].length-e[i-1][1].length),e[i+1][1]=e[i-1][1]+e[i+1][1],e.splice(i-1,1),f=!0):e[i][1].substring(0,e[i+1][1].length)==e[i+1][1]&&(e[i-1][1]+=e[i+1][1],e[i][1]=e[i][1].substring(e[i+1][1].length)+e[i+1][1],e.splice(i+1,1),f=!0)),i++;f&&c(e)}var u=i;function d(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var o=e[r],i=e[r+1];o[0]===i[1]&&e.splice(r,2,[o[0],o[1]+i[1]])}return e}u.INSERT=r,u.DELETE=n,u.EQUAL=o,e.exports=u},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?r:o).supported=r,t.unsupported=o},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,t,o=[];if(0===this._eventsCount)return o;for(t in e=this._events)n.call(e,t)&&o.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e,t){var n=r?r+e:e,o=this._events[n];if(t)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,l=new Array(a);i<a;i++)l[i]=o[i].fn;return l},a.prototype.emit=function(e,t,n,o,i,a){var l=r?r+e:e;if(!this._events[l])return!1;var s,c,u=this._events[l],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!s)for(h=1,s=new Array(d-1);h<d;h++)s[h-1]=arguments[h];u[c].fn.apply(u[c].context,s)}}return!0},a.prototype.on=function(e,t,n){var o=new i(t,n||this),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(e,t,n){var o=new i(t,n||this,!0),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return 0==--this._eventsCount?this._events=new o:delete this._events[a],this;var l=this._events[a];if(l.fn)l.fn!==t||i&&!l.once||n&&l.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==t||i&&!l[s].once||n&&l[s].context!==n)&&c.push(l[s]);c.length?this._events[a]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new o:delete this._events[t])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,void 0!==e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var r="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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=b(n(3)),l=b(n(2)),s=b(n(0)),c=b(n(5)),u=b(n(10)),d=b(n(9)),h=n(36),f=n(37),p=b(n(13)),v=n(26),m=n(38),g=n(39),y=n(40);function b(e){return e&&e.__esModule?e:{default:e}}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=(0,u.default)("quill:clipboard"),E="__ql-matcher",x=[[Node.TEXT_NODE,H],[Node.TEXT_NODE,I],["br",function(e,t){return P(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,I],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,k],[Node.ELEMENT_NODE,function(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===z(e).fontStyle&&(n.italic=!0),r.fontWeight&&(z(e).fontWeight.startsWith("bold")||parseInt(z(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=M(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new l.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=s.default.query(e);if(null==n||"list-item"!==n.blotName||!P(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(s.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new l.default).retain(t.length()-1).retain(1,{indent:r}))}],["b",L.bind(L,"bold")],["i",L.bind(L,"italic")],["style",function(){return new l.default}]],S=[h.AlignAttribute,m.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),O=[h.AlignStyle,f.BackgroundStyle,v.ColorStyle,m.DirectionStyle,g.FontStyle,y.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),C=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],x.concat(r.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],a=t[1];(n.matchVisual||a!==R)&&r.addMatcher(i,a)})),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[p.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new l.default).insert(n,w({},p.default.blotName,t[p.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),a=i[0],s=i[1],c=A(this.container,a,s);return P(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new l.default).retain(c.length()-1).delete(1))),_.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new l.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new l.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,c.default.sources.USER),t.quill.setSelection(r.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),a=i[0],l=i[1];switch(a){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:t.push(l);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[E]=e[E]||[],e[E].push(l)}))}})),[t,n]}}]),t}(d.default);function M(e,t,n){return"object"===(void 0===t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return M(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,a.default)({},w({},t,n),r.attributes))}),new l.default)}function z(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function P(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var o=e.ops[r];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*t.length)===t}function T(e){if(0===e.childNodes.length)return!1;var t=z(e);return["block","list-item"].indexOf(t.display)>-1}function A(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new l.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,o){var i=A(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[E]||[]).reduce((function(e,t){return t(o,e)}),i)),r.concat(i)}),new l.default):new l.default}function L(e,t,n){return M(n,e,!0)}function k(e,t){var n=s.default.Attributor.Attribute.keys(e),r=s.default.Attributor.Class.keys(e),o=s.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach((function(t){var n=s.default.query(t,s.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=S[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=O[t])||n.attrName!==t&&n.keyName!==t||(n=O[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=M(t,i)),t}function N(e,t){var n=s.default.query(e);if(null==n)return t;if(n.prototype instanceof s.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new l.default).insert(r,n.formats(e)))}else"function"==typeof n.formats&&(t=M(t,n.blotName,n.formats(e)));return t}function I(e,t){return P(t,"\n")||(T(e)||t.length()>0&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function R(e,t){if(T(e)&&null!=e.nextElementSibling&&!P(t,"\n\n")){var n=e.offsetHeight+parseFloat(z(e).marginTop)+parseFloat(z(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function H(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!z(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},t.default=C,t.matchAttributor=k,t.matchBlot=N,t.matchNewline=I,t.matchSpacing=R,t.matchText=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((r=n(6))&&r.__esModule?r:{default:r}).default);a.blotName="bold",a.tagName=["STRONG","B"],t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(2)),a=u(n(0)),l=u(n(5)),s=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(0,s.default)("quill:toolbar"),f=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,i=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");v(a,i.options.container),e.container.parentNode.insertBefore(a,e.container),i.container=a}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=r(e,1)[0];i.update(t)})),i):(o=h.error("Container required for toolbar",i.options),d(i,o))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice(3),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void h.warn("ignoring attaching to nonexistent format",n,e)}var o="SELECT"===e.tagName?"change":"click";e.addEventListener(o,(function(o){var s=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];s=!c.hasAttribute("selected")&&(c.value||!1)}else s=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),o.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=r(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,s);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(s=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,s)),l.default.sources.USER)}else t.quill.format(n,s,l.default.sources.USER);t.update(d)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var o=r(n,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var l=void 0;if(null==e)l=null;else if(null==t[i])l=a.querySelector("option[selected]");else if(!Array.isArray(t[i])){var s=t[i];"string"==typeof s&&(s=s.replace(/\"/g,'\\"')),l=a.querySelector('option[value="'+s+'"]')}null==l?(a.value="",a.selectedIndex=-1):l.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=t[i]===a.getAttribute("value")||null!=t[i]&&t[i].toString()===a.getAttribute("value")||null==t[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=t[i])}))}}]),t}(c.default);function p(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function v(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)p(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?function(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}(n,t,r):p(n,t,r)}})),e.appendChild(n)}))}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,l.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",l.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,l.default.sources.USER),this.quill.format("direction",e,l.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,l.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,l.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,l.default.sources.USER):this.quill.format("list","unchecked",l.default.sources.USER):this.quill.format("list",e,l.default.sources.USER)}}},t.default=f,t.addControls=v},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(((r=n(28))&&r.__esModule?r:{default:r}).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((r=n(28))&&r.__esModule?r:{default:r}).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=t+i+"px"),o.bottom>r.bottom){var a=o.bottom-o.top,l=e.bottom-e.top+a;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=h(n(3)),a=h(n(8)),l=n(43),s=h(l),c=h(n(27)),u=n(15),d=h(n(41));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],g=function(e){function t(e,n){f(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return v(t,e),o(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),d.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(s.default);g.DEFAULTS=(0,i.default)(!0,{},s.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){f(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return v(t,e),o(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,a.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(a.default.events.SELECTION_CHANGE,(function(t,n,r){if(null!=t){if(0===t.length&&r===a.default.sources.USER){var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.quill.scroll.descendant(c.default,t.index),2),i=o[0],l=o[1];if(null!=i){e.linkRange=new u.Range(t.index-l,i.length());var s=c.default.formats(i.domNode);return e.preview.textContent=s,e.preview.setAttribute("href",s),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(l.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=I(n(29)),o=n(36),i=n(38),a=n(64),l=I(n(65)),s=I(n(66)),c=n(67),u=I(c),d=n(37),h=n(26),f=n(39),p=n(40),v=I(n(56)),m=I(n(68)),g=I(n(27)),y=I(n(69)),b=I(n(70)),w=I(n(71)),_=I(n(72)),E=I(n(73)),x=n(13),S=I(x),O=I(n(74)),C=I(n(75)),M=I(n(57)),z=I(n(41)),P=I(n(28)),T=I(n(59)),A=I(n(60)),L=I(n(61)),k=I(n(108)),N=I(n(62));function I(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":p.SizeClass,"formats/blockquote":l.default,"formats/code-block":S.default,"formats/header":s.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":x.Code,"formats/italic":m.default,"formats/link":g.default,"formats/script":y.default,"formats/strike":b.default,"formats/underline":w.default,"formats/image":_.default,"formats/video":E.default,"formats/list/item":c.ListItem,"modules/formula":O.default,"modules/syntax":C.default,"modules/toolbar":M.default,"themes/bubble":k.default,"themes/snow":N.default,"ui/icons":z.default,"ui/picker":P.default,"ui/icon-picker":A.default,"ui/color-picker":T.default,"ui/tooltip":L.default},!0),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=(r=n(0))&&r.__esModule?r:{default:r},l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(a.default.Attributor.Class),s=new l("indent","ql-indent",{scope:a.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=n(4))&&r.__esModule?r:{default:r}).default);o.blotName="blockquote",o.tagName="blockquote",t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((r=n(4))&&r.__esModule?r:{default:r}).default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(4)),l=s(n(25));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"format",value:function(e,n){e!==f.blotName||n?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:o(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(a.default);h.blotName="list-item",h.tagName="LI";var f=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),o=i.default.find(t.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return d(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof h)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(l.default);f.blotName="list",f.scope=i.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[h],t.ListItem=h,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=n(56))&&r.__esModule?r:{default:r}).default);o.blotName="italic",o.tagName=["EM","I"],t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((r=n(6))&&r.__esModule?r:{default:r}).default);a.blotName="script",a.tagName=["SUB","SUP"],t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=n(6))&&r.__esModule?r:{default:r}).default);o.blotName="strike",o.tagName="S",t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((r=n(6))&&r.__esModule?r:{default:r}).default);o.blotName="underline",o.tagName="U",t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=(r=n(0))&&r.__esModule?r:{default:r},l=n(27),s=["alt","height","width"],c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){s.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return s.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);c.blotName="image",c.tagName="IMG",t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(4),l=(r=n(27))&&r.__esModule?r:{default:r},s=["height","width"],c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"format",value:function(e,n){s.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return s.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);c.blotName="video",c.className="ql-video",c.tagName="IFRAME",t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(35)),a=s(n(5)),l=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,null,[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var f=function(e){function t(){c(this,t);var e=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),r(t,null,[{key:"register",value:function(){a.default.register(h,!0)}}]),t}(l.default);t.FormulaBlot=h,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(5)),l=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(s(n(13)).default);h.className="ql-syntax";var f=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),p=function(e){function t(e,n){c(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return d(t,e),r(t,null,[{key:"register",value:function(){a.default.register(f,!0),a.default.register(h,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(h).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=t&&this.quill.setSelection(t,a.default.sources.SILENT)}}}]),t}(l.default);p.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=h,t.CodeToken=f,t.default=p},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=d(n(3)),a=d(n(8)),l=n(43),s=d(l),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(e){function t(e,n){h(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return p(t,e),o(t,[{key:"extendToolbar",value:function(e){this.tooltip=new g(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}(s.default);m.DEFAULTS=(0,i.default)(!0,{},s.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var g=function(e){function t(e,n){h(this,t);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t,n,o){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===a.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var l=i[i.length-1],s=r.quill.getIndex(l),u=Math.min(l.length()-1,t.index+t.length-s),d=r.quill.getBounds(new c.Range(s,u));r.position(d)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return p(t,e),o(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(l.BaseTooltip);g.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=g,t.default=m},function(e,t,n){e.exports=n(63)}]).default},e.exports=t()},18151:function(e,t,n){var r,o,i;void 0===(i=this)&&void 0!==window&&(i=window),r=[n(8575),n(1347),n(65722),n(44854)],o=function(e,t,n,r){return i.rasterizeHTML=(o=t,a=n,l=r,s=function(e){"use strict";var t={},n=[];t.joinUrl=function(t,n){return t?e.resolve(t,n):n},t.getConstantUniqueIdFor=function(e){return n.indexOf(e)<0&&n.push(e),n.indexOf(e)},t.clone=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n};return t.parseOptionalParameters=function(e){var n,r={canvas:null,options:{}};return null==e[0]||function(e){return"object"==typeof e&&null!==e}(n=e[0])&&Object.prototype.toString.apply(n).match(/\[object (Canvas|HTMLCanvasElement)\]/i)?(r.canvas=e[0]||null,r.options=t.clone(e[1])):r.options=t.clone(e[0]),r},t}(e),c=function(e){"use strict";var t={},n=function(e,t,n){var r=e[t];return e[t]=function(){var e=Array.prototype.slice.call(arguments);return n.apply(this,[e,r])},r};return t.baseUrlRespectingXhr=function(t,r){return function(){var o=new t;return n(o,"open",(function(t,n){var o=t.shift(),i=t.shift(),a=e.joinUrl(r,i);return n.apply(this,[o,a].concat(t))})),o}},t.finishNotifyingXhr=function(e){var t,r=0,o=0,i=!1,a=new Promise((function(e){t=function(){r-o<=0&&i&&e({totalCount:r})}})),l=function(){var i=new e;return n(i,"send",(function(e,t){return r+=1,t.apply(this,arguments)})),i.addEventListener("load",(function(){o+=1,t()})),i};return l.waitForRequestsToFinish=function(){return i=!0,t(),a},l},t}(s),u=function(){"use strict";var e={},t=function(e){return Array.prototype.slice.call(e)};e.addClassName=function(e,t){e.className+=" "+t},e.addClassNameRecursively=function(t,n){e.addClassName(t,n),t.parentNode!==t.ownerDocument&&e.addClassNameRecursively(t.parentNode,n)};var n=function(e,n){var r=e.cssText.replace(/^[^\{]+/,"");!function(e,n){var r=e.parentStyleSheet,o=t(r.cssRules).indexOf(e);r.insertRule(n,o+1),r.deleteRule(o)}(e,n+" "+r)},r=function(e){var n;e.textContent=(n=e.sheet.cssRules,t(n).reduce((function(e,t){return e+t.cssText}),""))},o=function(e,o,i){var a=function(e){return"((?:^|[^.#:\\w])|(?=\\W))("+e.join("|")+")(?=\\W|$)"}(o);t(e.querySelectorAll("style")).forEach((function(e){var o,l,s;void 0===e.sheet&&(o=e,l=document.implementation.createHTMLDocument(""),(s=document.createElement("style")).textContent=o.textContent,l.body.appendChild(s),o.sheet=s.sheet);var c=t(e.sheet.cssRules).filter((function(e){return e.selectorText&&new RegExp(a,"i").test(e.selectorText)}));c.length&&(c.forEach((function(e){var t=e.selectorText.replace(new RegExp(a,"gi"),(function(e,t,n){return t+i(n)}));t!==e.selectorText&&n(e,t)})),r(e))}))};return e.rewriteCssSelectorWith=function(e,t,n){o(e,[t],(function(){return n}))},e.lowercaseCssTypeSelectors=function(e,t){o(e,t,(function(e){return e.toLowerCase()}))},e.findHtmlOnlyNodeNames=function(e){var t,n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r={},o={};do{t=n.currentNode.tagName.toLowerCase(),"http://www.w3.org/1999/xhtml"===n.currentNode.namespaceURI?r[t]=!0:o[t]=!0}while(n.nextNode());return Object.keys(r).filter((function(e){return!o[e]}))},e}(),d=function(e){"use strict";var t={},n=function(e){return Array.prototype.slice.call(e)},r={active:!0,hover:!0,focus:!1,target:!1};return t.fakeUserAction=function(t,n,o){var i=t.querySelector(n),a=":"+o,l="rasterizehtml"+o;i&&(r[o]?e.addClassNameRecursively(i,l):e.addClassName(i,l),e.rewriteCssSelectorWith(t,a,"."+l))},t.persistInputValues=function(e){var t=e.querySelectorAll("input"),r=e.querySelectorAll("textarea"),o=function(e){return"checkbox"===e.type||"radio"===e.type};n(t).filter(o).forEach((function(e){e.checked?e.setAttribute("checked",""):e.removeAttribute("checked")})),n(t).filter((function(e){return!o(e)})).forEach((function(e){e.setAttribute("value",e.value)})),n(r).forEach((function(e){e.textContent=e.value}))},t.rewriteTagNameSelectorsToLowerCase=function(t){e.lowercaseCssTypeSelectors(t,e.findHtmlOnlyNodeNames(t))},t}(u),h=function(e,t,n,r){"use strict";var o={};o.executeJavascript=function(e,n){return new Promise((function(o){var i=function(e,t,n,r){var o=e.createElement(t);return o.style.visibility="hidden",o.style.width=n+"px",o.style.height=r+"px",o.style.position="absolute",o.style.top=-1e4-r+"px",o.style.left=-1e4-n+"px",e.getElementsByTagName("body")[0].appendChild(o),o}(r.document,"iframe",n.width,n.height),a=e.outerHTML,l=[],s=n.executeJsTimeout||0,c=function(){r.document.getElementsByTagName("body")[0].removeChild(i)},u=function(){var e=i.contentDocument;o({document:e,errors:l,cleanUp:c})},d=i.contentWindow.XMLHttpRequest,h=t.finishNotifyingXhr(d),f=t.baseUrlRespectingXhr(h,n.baseUrl);i.onload=function(){var e;(e=s,e>0?new Promise((function(t){setTimeout(t,e)})):Promise.resolve()).then(h.waitForRequestsToFinish).then(u)},i.contentDocument.open(),i.contentWindow.XMLHttpRequest=f,i.contentWindow.onerror=function(e){l.push({resourceType:"scriptExecution",msg:e})},i.contentDocument.write("<!DOCTYPE html>"),i.contentDocument.write(a),i.contentDocument.close()}))};var i=function(e,t,n,o,i){var a,l,s,c,u,d,h,f=Math.max(e.scrollWidth,e.clientWidth),p=Math.max(e.scrollHeight,e.clientHeight);return t?(a=(d=function(e,t){var n=e.querySelector(t);if(n)return n;if(e.ownerDocument.querySelector(t)===e)return e;throw{message:"Clipping selector not found"}}(e,t).getBoundingClientRect()).top,l=d.left,s=d.width,c=d.height):(a=0,l=0,s=f,c=p),h=function(e,t,n,r){return{width:Math.max(e.width*r,t),height:Math.max(e.height*r,n)}}({width:s,height:c},n,o,i),u=r.getComputedStyle(e.ownerDocument.documentElement).fontSize,{left:l,top:a,width:h.width,height:h.height,viewportWidth:f,viewportHeight:p,rootFontSize:u}};o.calculateDocumentContentSize=function(e,t){return new Promise((function(n,o){var a,l=t.zoom||1;a=function(e,t,n){var o=Math.floor(e/n),i=Math.floor(t/n);return function(e,t,n){var r=e.createElement("iframe");return r.style.width=t+"px",r.style.height=n+"px",r.style.visibility="hidden",r.style.position="absolute",r.style.top=-1e4-n+"px",r.style.left=-1e4-t+"px",r.style.borderWidth=0,r.sandbox="allow-same-origin",r.scrolling="no",r}(r.document,o,i)}(t.width,t.height,l),r.document.getElementsByTagName("body")[0].appendChild(a),a.onload=function(){var s,c=a.contentDocument;try{s=i(function(e,t){var n=e.tagName;return t.querySelector(n)}(e,c),t.clip,t.width,t.height,l),n(s)}catch(e){o(e)}finally{r.document.getElementsByTagName("body")[0].removeChild(a)}},a.contentDocument.open(),a.contentDocument.write("<!DOCTYPE html>"),a.contentDocument.write(function(e){var t=e.tagName.toLowerCase();return"html"===t||"body"===t?e.outerHTML:'<body style="margin: 0;">'+e.outerHTML+"</body>"}(e)),a.contentDocument.close()}))},o.parseHtmlFragment=function(e){var t=r.document.implementation.createHTMLDocument("");t.documentElement.innerHTML=e;var n=t.querySelector("body").firstChild;if(!n)throw"Invalid source";return n};o.parseHTML=function(e){var t=r.document.implementation.createHTMLDocument("");return t.documentElement.innerHTML=e,function(e,t){var n,o,i,a,l=/<html((?:\s+[^>]*)?)>/im.exec(t),s=r.document.implementation.createHTMLDocument("");if(l)for(n="<div"+l[1]+"></div>",s.documentElement.innerHTML=n,i=s.querySelector("div"),o=0;o<i.attributes.length;o++)a=i.attributes[o],e.documentElement.setAttribute(a.name,a.value)}(t,e),t};var a=function(e){try{return n.failOnParseError(e)}catch(e){throw{message:"Invalid source",originalError:e}}};o.validateXHTML=function(e){var t=(new DOMParser).parseFromString(e,"application/xml");a(t)};var l=null,s=function(t,n){return new Promise((function(r,o){var i=new window.XMLHttpRequest,a=function(e,t){return"none"===t||"repeated"===t?(null!==l&&"repeated"===t||(l=Date.now()),e+"?_="+l):e}(e.joinUrl(n.baseUrl,t),n.cache),s=function(e){o({message:"Unable to load page",originalError:e})};i.addEventListener("load",(function(){200===i.status||0===i.status?r(i.responseXML):s(i.statusText)}),!1),i.addEventListener("error",(function(e){s(e)}),!1);try{i.open("GET",a,!0),i.responseType="document",i.send(null)}catch(e){s(e)}}))};return o.loadDocument=function(e,t){return s(e,t).then((function(e){return a(e)}))},o}(s,c,a,window),f=function(e){"use strict";var t,n={},r=function(e,t){return t?URL.createObjectURL(new Blob([e],{type:"image/svg+xml"})):"data:image/svg+xml;charset=utf-8,"+encodeURIComponent(e)},o=function(e){e instanceof Blob&&URL.revokeObjectURL(e)},i='<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><foreignObject></foreignObject></svg>',a=function(e){return new Promise((function(t,n){var r=document.createElement("canvas"),o=new Image;o.onload=function(){var e=r.getContext("2d");try{e.drawImage(o,0,0),r.toDataURL("image/png"),t(!0)}catch(e){t(!1)}},o.onerror=n,o.src=e}))},l=function(){return new Promise((function(t,n){var l;(function(){if(e.Blob)try{return new Blob(["<b></b>"],{type:"text/xml"}),!0}catch(e){}return!1})()&&e.URL?(l=r(i,!0),a(l).then((function(e){return o(l),!e&&a(r(i,!1)).then((function(e){return e}))}),(function(){return!1}))).then((function(e){t(!e)}),(function(){n()})):t(!1)}))},s=function(e){return(void 0===t&&(t=l()),t).then((function(t){return r(e,t)}))};return n.renderSvg=function(e){return new Promise((function(t,n){var r,i,a=function(){r&&o(r)};(i=new Image).onload=function(){i.onload=null,i.onerror=null,a(),t(i)},i.onerror=function(){a(),n()},s(e).then((function(e){r=e,i.src=r}),n)}))},n}(window),p=function(e,t,n,r){"use strict";var o={},i=function(e){var t=Object.keys(e);return t.length?" "+t.map((function(t){return t+'="'+e[t]+'"'})).join(" "):""},a=function(e,n,o){var a=r.serializeToString(e);t.validateXHTML(a);var l,s,c=function(e){var t,n;return t=Math.round(e.viewportWidth),n=Math.round(e.viewportHeight),{x:-e.left,y:-e.top,width:t,height:n}}(n);return s=(l=c).style||"",l.style=s+"float: left;",function(e){e.externalResourcesRequired=!0}(c),'<svg xmlns="http://www.w3.org/2000/svg"'+i(function(e,t){var n=t||1,r={width:e.width,height:e.height,"font-size":e.rootFontSize};return 1!==n&&(r.style="transform:scale("+n+"); transform-origin: 0 0;"),r}(n,o))+'><style scoped="">html::-webkit-scrollbar { display: none; }</style><foreignObject'+i(c)+">"+a+"</foreignObject></svg>"};return o.getSvgForDocument=function(e,t,r){return n.rewriteTagNameSelectorsToLowerCase(e),a(e,t,r)},o.drawDocumentAsSvg=function(e,r){return["hover","active","focus","target"].forEach((function(t){r[t]&&n.fakeUserAction(e,r[t],t)})),t.calculateDocumentContentSize(e,r).then((function(t){return o.getSvgForDocument(e,t,r.zoom)}))},o}(0,h,d,o),v=function(e,t,n,r,o,i){"use strict";var a={},l=function(e){return{message:"Error rendering page",originalError:e}},s=function(e){return o.renderSvg(e).then((function(t){return{image:t,svg:e}}),(function(e){throw l(e)}))},c=function(e,t,n){return r.drawDocumentAsSvg(e,n).then(s).then((function(e){return t&&function(e,t){try{t.getContext("2d").drawImage(e,0,0)}catch(e){throw l(e)}}(e.image,t),e}))};return a.rasterize=function(r,o,a){var l;return(l=e.clone(a)).inlineScripts=!0===a.executeJs,i.inlineReferences(r,l).then((function(e){return a.executeJs?function(e,r){return t.executeJavascript(e,r).then((function(e){var t=e.document;return n.persistInputValues(t),{document:t,errors:e.errors,cleanUp:e.cleanUp}}))}(r,a).then((function(t){return{element:t.document.documentElement,errors:e.concat(t.errors),cleanUp:t.cleanUp}})):{element:r,errors:e,cleanUp:function(){}}})).then((function(e){return c(e.element,o,a).then((function(t){return e.cleanUp(),{image:t.image,svg:t.svg,errors:e.errors}}))}))},a}(s,h,d,p,f,l),m=function(e,t,n){"use strict";var r={};r.drawDocument=function(){var t=arguments[0],r=Array.prototype.slice.call(arguments,1),o=e.parseOptionalParameters(r),i=t.documentElement?t.documentElement:t;return n.rasterize(i,o.canvas,function(t){var n,r=function(e,t){var n=e?e.width:300,r=e?e.height:200;return{width:void 0!==t.width?t.width:n,height:void 0!==t.height?t.height:r}}(t.canvas,t.options);return(n=e.clone(t.options)).width=r.width,n.height=r.height,n}(o))};r.drawHTML=function(){var n=arguments[0],o=Array.prototype.slice.call(arguments,1),i=e.parseOptionalParameters(o);return function(e,n,o){var i=t.parseHTML(e);return r.drawDocument(i,n,o)}(n,i.canvas,i.options)};var o=function(n,o,i){return t.loadDocument(n,i).then((function(t){var a=function(t,n,r){var o=document.implementation.createHTMLDocument("");o.replaceChild(t.documentElement,o.documentElement);var i=r?e.clone(r):{};return r.baseUrl||(i.baseUrl=n),{document:o,options:i}}(t,n,i);return r.drawDocument(a.document,o,a.options)}))};return r.drawURL=function(){var t=arguments[0],n=Array.prototype.slice.call(arguments,1),r=e.parseOptionalParameters(n);return o(t,r.canvas,r.options)},r}(s,h,v),m);var o,a,l,s,c,u,d,h,f,p,v,m}.apply(t,r),void 0===o||(e.exports=o)},57319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(67294),a=u(i),l=u(n(79941)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(66713)),c=u(n(34349));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=t.Alpha=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=s.calculateChange(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},d(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return a.default.createElement("div",{style:n.alpha},a.default.createElement("div",{style:n.checkboard},a.default.createElement(c.default,{renderers:this.props.renderers})),a.default.createElement("div",{style:n.gradient}),a.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),t}(i.PureComponent||i.Component);t.default=h},34349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(67294),i=s(o),a=s(n(79941)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(45704));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.Checkboard=function(e){var t=e.white,n=e.grey,s=e.size,c=e.renderers,u=e.borderRadius,d=e.boxShadow,h=e.children,f=(0,a.default)({default:{grid:{borderRadius:u,boxShadow:d,absolute:"0px 0px 0px 0px",background:"url("+l.get(t,n,s,c.canvas)+") center left"}}});return(0,o.isValidElement)(h)?i.default.cloneElement(h,r({},h.props,{style:r({},h.props.style,f.grid)})):i.default.createElement("div",{style:f.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=c},88288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(67294),a=c(i),l=c(n(23279)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(64809));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(s.simpleCheckForValidColor(e)){var r=s.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(s.simpleCheckForValidColor(e)){var r=s.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},s.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return r({},s.toState(e.color,t.oldHue))}}]),n}(i.PureComponent||i.Component);return t.propTypes=r({},e.propTypes),t.defaultProps=r({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=u},27747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=l(o),a=l(n(79941));function l(e){return e&&e.__esModule?e:{default:e}}var s=[38,40],c=1,u=t.EditableInput=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,s.indexOf(t)>-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+c++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return i.default.createElement("div",{style:t.wrap},i.default.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?i.default.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=u},26358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=s(o),a=s(n(79941)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(33716));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=t.Hue=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=l.calculateChange(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},c(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,a.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return i.default.createElement("div",{style:r.hue},i.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=u},96207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var r=l(n(67294)),o=l(n(45697)),i=l(n(79941)),a=l(n(82492));function l(e){return e&&e.__esModule?e:{default:e}}var s=t.Raised=function(e){var t=e.zDepth,n=e.radius,o=e.background,l=e.children,s=e.styles,c=void 0===s?{}:s,u=(0,i.default)((0,a.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},c),{"zDepth-1":1===t});return r.default.createElement("div",{style:u.wrap},r.default.createElement("div",{style:u.bg}),r.default.createElement("div",{style:u.content},l))};s.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},s.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=s},76659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(67294),i=c(o),a=c(n(79941)),l=c(n(23493)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(37599));function c(e){return e&&e.__esModule?e:{default:e}}var u=t.Saturation=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,s.calculateChange(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,l.default)((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,l=t.pointer,s=t.circle,c=(0,a.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:l,circle:s}},{custom:!!this.props.style});return i.default.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),i.default.createElement("div",{style:c.white,className:"saturation-white"},i.default.createElement("div",{style:c.black,className:"saturation-black"}),i.default.createElement("div",{style:c.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:c.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=u},62489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(67294)),i=s(n(79941)),a=n(82538),l=s(n(34349));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.Swatch=function(e){var t=e.color,n=e.style,a=e.onClick,s=void 0===a?function(){}:a,c=e.onHover,u=e.title,d=void 0===u?t:u,h=e.children,f=e.focus,p=e.focusStyle,v=void 0===p?{}:p,m="transparent"===t,g=(0,i.default)({default:{swatch:r({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,f?v:{})}}),y={};return c&&(y.onMouseOver=function(e){return c(t,e)}),o.default.createElement("div",r({style:g.swatch,onClick:function(e){return s(t,e)},title:d,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&s(t,e)}},y),h,m&&o.default.createElement(l.default,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,a.handleFocus)(c)},1150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(57319);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return d(r).default}});var o=n(34349);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return d(o).default}});var i=n(27747);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return d(i).default}});var a=n(26358);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return d(a).default}});var l=n(96207);Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return d(l).default}});var s=n(76659);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return d(s).default}});var c=n(88288);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return d(c).default}});var u=n(62489);function d(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return d(u).default}})},24530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var r=l(n(67294)),o=l(n(79941)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(64809)),a=n(1150);function l(e){return e&&e.__esModule?e:{default:e}}var s=t.SketchFields=function(e){var t=e.onChange,n=e.rgb,l=e.hsl,s=e.hex,c=e.disableAlpha,u=(0,o.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:c}),d=function(e,r){e.hex?i.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},r))};return r.default.createElement("div",{style:u.fields,className:"flexbox-fix"},r.default.createElement("div",{style:u.double},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"hex",value:s.replace("#",""),onChange:d})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"r",value:n.r,onChange:d,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"g",value:n.g,onChange:d,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.single},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"b",value:n.b,onChange:d,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:u.alpha},r.default.createElement(a.EditableInput,{style:{input:u.input,label:u.label},label:"a",value:Math.round(100*n.a),onChange:d,dragLabel:"true",dragMax:"100"})))};t.default=s},13067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(67294)),i=s(n(45697)),a=s(n(79941)),l=n(1150);function s(e){return e&&e.__esModule?e:{default:e}}var c=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,i=void 0===n?function(){}:n,s=e.onSwatchHover,c=(0,a.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),u=function(e,t){i({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return o.default.createElement("div",{key:n,style:c.swatchWrap},o.default.createElement(l.Swatch,r({},t,{style:c.swatch,onClick:u,onHover:s,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};c.propTypes={colors:i.default.arrayOf(i.default.oneOfType([i.default.string,i.default.shape({color:i.default.string,title:i.default.string})])).isRequired},t.default=c},66713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,n,r,o){var i=o.clientWidth,a=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=l-(o.getBoundingClientRect().left+window.pageXOffset),u=s-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var d;if(d=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var h;if(r!==(h=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:h,source:"rgb"}}return null}},45704:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},r=t.render=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null};t.get=function(e,t,o,i){var a=e+"-"+t+"-"+o+(i?"-server":"");if(n[a])return n[a];var l=r(e,t,o,i);return n[a]=l,l}},64809:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isvalidColorString=t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var r=i(n(66073)),o=i(n(68207));function i(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","l","v"],(function(r){e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(n+=1)})),t===n&&e};var a=t.toState=function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),i=n.toHsv(),a=n.toRgb(),l=n.toHex();return 0===r.s&&(r.h=t||0,i.h=t||0),{hsl:r,hex:"000000"===l&&0===a.a?"transparent":"#"+l,rgb:a,hsv:i,oldHue:e.h||t||r.h,source:e.source}};t.isValidHex=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=a(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},t.isvalidColorString=function(e,t){var n=e.replace("°","");return(0,o.default)(t+" ("+n+")")._ok}},33716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,n,r){var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),c=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(d=s<0?0:s>o?359:100*s/o*360/100,n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}},82538:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=(r=n(67294))&&r.__esModule?r:{default:r};function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=n=l(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(i))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},l(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),i(r,[{key:"render",value:function(){return a.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},a.default.createElement(e,o({},this.props,this.state)))}}]),r}(a.default.Component)}},37599:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,i=r.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+window.pageXOffset),c=l-(n.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>o&&(s=o),c<0?c=0:c>i&&(c=i);var u=s/o,d=1-c/i;return{h:t.h,s:u,v:d,a:t.a,source:"hsv"}}},64448:(e,t,n)=>{"use strict";var r=n(67294),o=n(63840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(p,e)||!d.call(f,e)&&(h.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),M=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var k=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}var R,H=Object.assign;function V(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var D=!1;function j(e,t){if(!e||D)return"";D=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function F(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return j(e.type,!1);case 11:return j(e.type.render,!1);case 1:return j(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case E:return"Portal";case O:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case z:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return B(e(t))}catch(e){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function G(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){Z(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ie(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function he(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 fe={animationIterationCount:!0,aspectRatio:!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},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=H({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 ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(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}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ee=null,xe=null,Se=null;function Oe(e){if(e=wo(e)){if("function"!=typeof Ee)throw Error(i(280));var t=e.stateNode;t&&(t=Eo(t),Ee(e.stateNode,e.type,t))}}function Ce(e){xe?Se?Se.push(e):Se=[e]:xe=e}function Me(){if(xe){var e=xe,t=Se;if(Se=xe=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function ze(e,t){return e(t)}function Pe(){}var Te=!1;function Ae(e,t,n){if(Te)return e(t,n);Te=!0;try{return ze(e,t,n)}finally{Te=!1,(null!==xe||null!==Se)&&(Pe(),Me())}}function Le(e,t){var n=e.stateNode;if(null===n)return null;var r=Eo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ke=!1;if(u)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){ke=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ue){ke=!1}function Ie(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Re=!1,He=null,Ve=!1,De=null,je={onError:function(e){Re=!0,He=e}};function Fe(e,t,n,r,o,i,a,l,s){Re=!1,He=null,Ie.apply(je,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ge(e){if(Be(e)!==e)throw Error(i(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ge(o),e;if(a===r)return Ge(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,$e=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ze=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!=(i&=a)&&(r=dt(i))}else 0!=(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var _t,Et,xt,St,Ot,Ct=!1,Mt=[],zt=null,Pt=null,Tt=null,At=new Map,Lt=new Map,kt=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":zt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lt.delete(t.pointerId)}}function Rt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=wo(t))&&Et(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ht(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Ot(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&Et(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Dt(e,t,n){Vt(e)&&n.delete(t)}function jt(){Ct=!1,null!==zt&&Vt(zt)&&(zt=null),null!==Pt&&Vt(Pt)&&(Pt=null),null!==Tt&&Vt(Tt)&&(Tt=null),At.forEach(Dt),Lt.forEach(Dt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,jt)))}function Bt(e){function t(t){return Ft(t,e)}if(0<Mt.length){Ft(Mt[0],e);for(var n=1;n<Mt.length;n++){var r=Mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==zt&&Ft(zt,e),null!==Pt&&Ft(Pt,e),null!==Tt&&Ft(Tt,e),At.forEach(t),Lt.forEach(t),n=0;n<kt.length;n++)(r=kt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<kt.length&&null===(n=kt[0]).blockedOn;)Ht(n),null===n.blockedOn&&kt.shift()}var Ut=w.ReactCurrentBatchConfig,Gt=!0;function qt(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Wt(e,t,n,r){var o=bt,i=Ut.transition;Ut.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ut.transition=i}}function Kt(e,t,n,r){if(Gt){var o=Yt(e,t,n,r);if(null===o)Gr(e,t,r,$t,n),It(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return zt=Rt(zt,e,t,n,r,o),!0;case"dragenter":return Pt=Rt(Pt,e,t,n,r,o),!0;case"mouseover":return Tt=Rt(Tt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Rt(At.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Lt.set(i,Rt(Lt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Nt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&_t(i),null===(i=Yt(e,t,n,r))&&Gr(e,t,r,$t,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Gr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=bo(e=_e(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=H({},cn,{view:0,detail:0}),hn=on(dn),fn=H({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),pn=on(fn),vn=on(H({},fn,{dataTransfer:0})),mn=on(H({},dn,{relatedTarget:0})),gn=on(H({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=H({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(H({},cn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function On(){return Sn}var Cn=H({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=on(Cn),zn=on(H({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(H({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Tn=on(H({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=H({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=on(An),kn=[9,13,27,32],Nn=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Rn=u&&"TextEvent"in window&&!In,Hn=u&&(!Nn||In&&8<In&&11>=In),Vn=String.fromCharCode(32),Dn=!1;function jn(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1,Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function qn(e,t,n,r){Ce(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Kn=null;function $n(e){Vr(e,0)}function Yn(e){if(K(_o(e)))return e}function Xn(e,t){if("change"===e)return t}var Zn=!1;if(u){var Qn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Qn=Jn}else Qn=!1;Zn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Kn=Wn=null)}function nr(e){if("value"===e.propertyName&&Yn(Kn)){var t=[];qn(t,Kn,e,_e(e)),Ae($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(Wn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Kn)}function ir(e,t){if("click"===e)return Yn(t)}function ar(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==$(r)||(r="selectionStart"in(r=mr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Wr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Er={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},xr={},Sr={};function Or(e){if(xr[e])return xr[e];if(!Er[e])return e;var t,n=Er[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return xr[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);var Cr=Or("animationend"),Mr=Or("animationiteration"),zr=Or("animationstart"),Pr=Or("transitionend"),Tr=new Map,Ar="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){Tr.set(e,t),s(t,[e])}for(var kr=0;kr<Ar.length;kr++){var Nr=Ar[kr];Lr(Nr.toLowerCase(),"on"+(Nr[0].toUpperCase()+Nr.slice(1)))}Lr(Cr,"onAnimationEnd"),Lr(Mr,"onAnimationIteration"),Lr(zr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Hr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,c){if(Fe.apply(this,arguments),Re){if(!Re)throw Error(i(198));var u=He;Re=!1,He=null,Ve||(Ve=!0,De=u)}}(r,t,void 0,e),e.currentTarget=null}function Vr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Hr(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Hr(o,l,c),i=s}}}if(Ve)throw e=De,Ve=!1,De=null,e}function Dr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Fr]){e[Fr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||jr(t,!1,e),jr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Fr]||(t[Fr]=!0,jr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Xt(t)){case 1:var o=qt;break;case 4:o=Wt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!ke||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Gr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Ae((function(){var r=i,o=_e(n),a=[];e:{var l=Tr.get(e);if(void 0!==l){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Mn;break;case"focusin":c="focus",s=mn;break;case"focusout":c="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pn;break;case Cr:case Mr:case zr:s=gn;break;case Pr:s=Tn;break;case"scroll":s=hn;break;case"wheel":s=Ln;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=zn}var u=0!=(4&t),d=!u&&"scroll"===e,h=u?null!==l?l+"Capture":null:l;u=[];for(var f,p=r;null!==p;){var v=(f=p).stateNode;if(5===f.tag&&null!==v&&(f=v,null!==h&&null!=(v=Le(p,h))&&u.push(qr(p,v,f))),d)break;p=p.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[vo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=Be(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=pn,v="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=zn,v="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==s?l:_o(s),f=null==c?l:_o(c),(l=new u(v,p+"leave",s,n,o)).target=d,l.relatedTarget=f,v=null,bo(o)===r&&((u=new u(h,p+"enter",c,n,o)).target=f,u.relatedTarget=d,v=u),d=v,s&&c)e:{for(h=c,p=0,f=u=s;f;f=Kr(f))p++;for(f=0,v=h;v;v=Kr(v))f++;for(;0<p-f;)u=Kr(u),p--;for(;0<f-p;)h=Kr(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break e;u=Kr(u),h=Kr(h)}u=null}else u=null;null!==s&&$r(a,l,s,u,!1),null!==c&&null!==d&&$r(a,d,c,u,!0)}if("select"===(s=(l=r?_o(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Xn;else if(Gn(l))if(Zn)m=ar;else{m=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ir);switch(m&&(m=m(e,r))?qn(a,m,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?_o(r):window,e){case"focusin":(Gn(g)||"true"===g.contentEditable)&&(mr=g,gr=r,yr=null);break;case"focusout":yr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(Nn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?jn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Hn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Qt="value"in(Zt=o)?Zt.value:Zt.textContent,Bn=!0)),0<(g=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:g}),(y||null!==(y=Fn(n)))&&(b.data=y))),(y=Rn?function(e,t){switch(e){case"compositionend":return Fn(t);case"keypress":return 32!==t.which?null:(Dn=!0,Vn);case"textInput":return(e=t.data)===Vn&&Dn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!Nn&&jn(e,t)?(e=en(),Jt=Qt=Zt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}Vr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Le(e,n))&&r.unshift(qr(e,i,o)),null!=(i=Le(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Le(n,i))&&a.unshift(qr(n,s,l)):o||null!=(s=Le(n,i))&&a.push(qr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Qr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ho=Math.random().toString(36).slice(2),fo="__reactFiber$"+ho,po="__reactProps$"+ho,vo="__reactContainer$"+ho,mo="__reactEvents$"+ho,go="__reactListeners$"+ho,yo="__reactHandles$"+ho;function bo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vo]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[fo]||e[vo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _o(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Eo(e){return e[po]||null}var xo=[],So=-1;function Oo(e){return{current:e}}function Co(e){0>So||(e.current=xo[So],xo[So]=null,So--)}function Mo(e,t){So++,xo[So]=e.current,e.current=t}var zo={},Po=Oo(zo),To=Oo(!1),Ao=zo;function Lo(e,t){var n=e.type.contextTypes;if(!n)return zo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ko(e){return null!=e.childContextTypes}function No(){Co(To),Co(Po)}function Io(e,t,n){if(Po.current!==zo)throw Error(i(168));Mo(Po,t),Mo(To,n)}function Ro(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return H({},n,r)}function Ho(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zo,Ao=Po.current,Mo(Po,e),Mo(To,To.current),!0}function Vo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ro(e,t,Ao),r.__reactInternalMemoizedMergedChildContext=e,Co(To),Co(Po),Mo(Po,e)):Co(To),Mo(To,n)}var Do=null,jo=!1,Fo=!1;function Bo(e){null===Do?Do=[e]:Do.push(e)}function Uo(){if(!Fo&&null!==Do){Fo=!0;var e=0,t=bt;try{var n=Do;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Do=null,jo=!1}catch(t){throw null!==Do&&(Do=Do.slice(e+1)),Ke(Je,Uo),t}finally{bt=t,Fo=!1}}return null}var Go=[],qo=0,Wo=null,Ko=0,$o=[],Yo=0,Xo=null,Zo=1,Qo="";function Jo(e,t){Go[qo++]=Ko,Go[qo++]=Wo,Wo=e,Ko=t}function ei(e,t,n){$o[Yo++]=Zo,$o[Yo++]=Qo,$o[Yo++]=Xo,Xo=e;var r=Zo;e=Qo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Qo=i+e}else Zo=1<<i|n<<o|r,Qo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===Wo;)Wo=Go[--qo],Go[qo]=null,Ko=Go[--qo],Go[qo]=null;for(;e===Xo;)Xo=$o[--Yo],$o[Yo]=null,Qo=$o[--Yo],$o[Yo]=null,Zo=$o[--Yo],$o[Yo]=null}var ri=null,oi=null,ii=!1,ai=null;function li(e,t){var n=Lc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function si(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,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Zo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!si(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&si(e,t)?li(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function hi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw fi(),Error(i(418));for(;t;)li(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=oi;e;)e=co(e.nextSibling)}function pi(){oi=ri=null,ii=!1}function vi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=H({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Oo(null),bi=null,wi=null,_i=null;function Ei(){_i=wi=bi=null}function xi(e){var t=yi.current;Co(yi),e._currentValue=t}function Si(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){bi=e,_i=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(_i!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Mi=null;function zi(e){null===Mi?Mi=[e]:Mi.push(e)}function Pi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,zi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ti(e,r)}function Ti(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ai=!1;function Li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ki(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ni(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ps)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ti(e,n)}return null===(o=r.interleaved)?(t.next=t,zi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ti(e,n)}function Ri(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Hi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vi(e,t,n,r){var o=e.updateQueue;Ai=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s)}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var h=l.lane,f=l.eventTime;if((r&h)===h){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,v=l;switch(h=t,f=n,v.tag){case 1:if("function"==typeof(p=v.payload)){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=v.payload)?p.call(f,d,h):p))break e;d=H({},d,h);break e;case 2:Ai=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(h=o.effects)?o.effects=[l]:h.push(l))}else f={eventTime:f,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,a|=h;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Hs|=a,e.lanes=a,e.memoizedState=d}}function Di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var ji=(new r.Component).refs;function Fi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:H({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Bi={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ni(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(rc(t,e,o,r),Ri(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=Ni(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,o))&&(rc(t,e,o,r),Ri(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Ni(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ii(e,o,r))&&(rc(t,e,r,n),Ri(t,e,r))}};function Ui(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(o,i))}function Gi(e,t,n){var r=!1,o=zo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ci(i):(o=ko(t)?Ao:Po.current,i=(r=null!=(r=t.contextTypes))?Lo(e,o):zo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function qi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ji,Li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ci(i):(i=ko(t)?Ao:Po.current,o.context=Lo(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Fi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Bi.enqueueReplaceState(o,o.state,null),Vi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===ji&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function $i(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yi(e){return(0,e._init)(e._payload)}function Xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Nc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Vc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===L&&Yi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Rc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Vc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case E:return(t=Dc(t,e.mode,n)).return=e,t;case L:return h(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Rc(t,e.mode,n,null)).return=e,t;$i(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===o?c(e,t,n,r):null;case E:return n.key===o?u(e,t,n,r):null;case L:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);$i(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case L:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);$i(t,r)}return null}function v(o,i,l,s){for(var c=null,u=null,d=i,v=i=0,m=null;null!==d&&v<l.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=f(o,d,l[v],s);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,v),null===u?c=g:u.sibling=g,u=g,d=m}if(v===l.length)return n(o,d),ii&&Jo(o,v),c;if(null===d){for(;v<l.length;v++)null!==(d=h(o,l[v],s))&&(i=a(d,i,v),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,v),c}for(d=r(o,d);v<l.length;v++)null!==(m=p(d,o,v,l[v],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),i=a(m,i,v),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,v),c}function m(o,l,s,c){var u=I(s);if("function"!=typeof u)throw Error(i(150));if(null==(s=u.call(s)))throw Error(i(151));for(var d=u=null,v=l,m=l=0,g=null,y=s.next();null!==v&&!y.done;m++,y=s.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=f(o,v,y.value,c);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(o,v),l=a(b,l,m),null===d?u=b:d.sibling=b,d=b,v=g}if(y.done)return n(o,v),ii&&Jo(o,m),u;if(null===v){for(;!y.done;m++,y=s.next())null!==(y=h(o,y.value,c))&&(l=a(y,l,m),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,m),u}for(v=r(o,v);!y.done;m++,y=s.next())null!==(y=p(v,o,m,y.value,c))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),l=a(y,l,m),null===d?u=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}return function e(r,i,a,s){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case _:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===x){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===L&&Yi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Ki(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===x?((i=Rc(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Ic(a.type,a.key,a.props,null,r.mode,s)).ref=Ki(r,i,a),s.return=r,r=s)}return l(r);case E:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Dc(a,r.mode,s)).return=r,r=i}return l(r);case L:return e(r,i,(u=a._init)(a._payload),s)}if(te(a))return v(r,i,a,s);if(I(a))return m(r,i,a,s);$i(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Vc(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Zi=Xi(!0),Qi=Xi(!1),Ji={},ea=Oo(Ji),ta=Oo(Ji),na=Oo(Ji);function ra(e){if(e===Ji)throw Error(i(174));return e}function oa(e,t){switch(Mo(na,t),Mo(ta,e),Mo(ea,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ea),Mo(ea,t)}function ia(){Co(ea),Co(ta),Co(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=se(t,e.type);t!==n&&(Mo(ta,e),Mo(ea,n))}function la(e){ta.current===e&&(Co(ea),Co(ta))}var sa=Oo(0);function ca(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!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=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 ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var ha=w.ReactCurrentDispatcher,fa=w.ReactCurrentBatchConfig,pa=0,va=null,ma=null,ga=null,ya=!1,ba=!1,wa=0,_a=0;function Ea(){throw Error(i(321))}function xa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,o,a){if(pa=a,va=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ha.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ga=ma=null,t.updateQueue=null,ha.current=cl,e=n(r,o)}while(ba)}if(ha.current=al,t=null!==ma&&null!==ma.next,pa=0,ga=ma=va=null,ya=!1,t)throw Error(i(300));return e}function Oa(){var e=0!==wa;return wa=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?va.memoizedState=ga=e:ga=ga.next=e,ga}function Ma(){if(null===ma){var e=va.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ga?va.memoizedState:ga.next;if(null!==t)ga=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ga?va.memoizedState=ga=e:ga=ga.next=e}return ga}function za(e,t){return"function"==typeof t?t(e):t}function Pa(e){var t=Ma(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,c=null,u=a;do{var d=u.lane;if((pa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=h,l=r):c=c.next=h,va.lanes|=d,Hs|=d}u=u.next}while(null!==u&&u!==a);null===c?l=r:c.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,va.lanes|=a,Hs|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ta(e){var t=Ma(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);lr(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function La(e,t){var n=va,r=Ma(),o=t(),a=!lr(r.memoizedState,o);if(a&&(r.memoizedState=o,wl=!0),r=r.queue,Ga(Ia.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Da(9,Na.bind(null,n,r,o,t),void 0,null),null===Ts)throw Error(i(349));0!=(30&pa)||ka(n,t,o)}return o}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Na(e,t,n,r){t.value=n,t.getSnapshot=r,Ra(t)&&Ha(e)}function Ia(e,t,n){return n((function(){Ra(t)&&Ha(e)}))}function Ra(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Ha(e){var t=Ti(e,1);null!==t&&rc(t,e,1,-1)}function Va(e){var t=Ca();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,va,e),[t.memoizedState,e]}function Da(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=va.updateQueue)?(t={lastEffect:null,stores:null},va.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ja(){return Ma().memoizedState}function Fa(e,t,n,r){var o=Ca();va.flags|=e,o.memoizedState=Da(1|t,n,void 0,void 0===r?null:r)}function Ba(e,t,n,r){var o=Ma();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&xa(r,a.deps))return void(o.memoizedState=Da(t,n,i,r))}va.flags|=e,o.memoizedState=Da(1|t,n,i,r)}function Ua(e,t){return Fa(8390656,8,e,t)}function Ga(e,t){return Ba(2048,8,e,t)}function qa(e,t){return Ba(4,2,e,t)}function Wa(e,t){return Ba(4,4,e,t)}function Ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,Ba(4,4,Ka.bind(null,t,e),n)}function Ya(){}function Xa(e,t){var n=Ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=Ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t,n){return 0==(21&pa)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=vt(),va.lanes|=n,Hs|=n,e.baseState=!0),t)}function Ja(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{bt=n,fa.transition=r}}function el(){return Ma().memoizedState}function tl(e,t,n){var r=nc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e)?ol(t,n):null!==(n=Pi(e,t,n,r))&&(rc(n,e,r,tc()),il(n,t,r))}function nl(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,a)){var s=t.interleaved;return null===s?(o.next=o,zi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Pi(e,t,o,r))&&(rc(n,e,r,o=tc()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===va||null!==t&&t===va}function ol(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var al={readContext:Ci,useCallback:Ea,useContext:Ea,useEffect:Ea,useImperativeHandle:Ea,useInsertionEffect:Ea,useLayoutEffect:Ea,useMemo:Ea,useReducer:Ea,useRef:Ea,useState:Ea,useDebugValue:Ea,useDeferredValue:Ea,useTransition:Ea,useMutableSource:Ea,useSyncExternalStore:Ea,useId:Ea,unstable_isNewReconciler:!1},ll={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Ua,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Fa(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fa(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,va,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Va,useDebugValue:Ya,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Va(!1),t=e[0];return e=Ja.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=va,o=Ca();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ts)throw Error(i(349));0!=(30&pa)||ka(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ua(Ia.bind(null,r,a,e),[e]),r.flags|=2048,Da(9,Na.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Ts.identifierPrefix;if(ii){var n=Qo;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=_a++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Ci,useCallback:Xa,useContext:Ci,useEffect:Ga,useImperativeHandle:$a,useInsertionEffect:qa,useLayoutEffect:Wa,useMemo:Za,useReducer:Pa,useRef:ja,useState:function(){return Pa(za)},useDebugValue:Ya,useDeferredValue:function(e){return Qa(Ma(),ma.memoizedState,e)},useTransition:function(){return[Pa(za)[0],Ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:La,useId:el,unstable_isNewReconciler:!1},cl={readContext:Ci,useCallback:Xa,useContext:Ci,useEffect:Ga,useImperativeHandle:$a,useInsertionEffect:qa,useLayoutEffect:Wa,useMemo:Za,useReducer:Ta,useRef:ja,useState:function(){return Ta(za)},useDebugValue:Ya,useDeferredValue:function(e){var t=Ma();return null===ma?t.memoizedState=e:Qa(t,ma.memoizedState,e)},useTransition:function(){return[Ta(za)[0],Ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:La,useId:el,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=F(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function hl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=Ni(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qs||(qs=!0,Ws=r),hl(0,t)},n}function vl(e,t,n){(n=Ni(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){hl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){hl(0,t),"function"!=typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ni(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?Qi(t,null,n,r):Zi(t,e.child,n,r)}function El(e,t,n,r,o){n=n.render;var i=t.ref;return Oi(t,o),r=Sa(e,t,n,r,i,o),n=Oa(),null===e||wl?(ii&&n&&ti(t),t.flags|=1,_l(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function xl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||kc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Sl(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&e.ref===t.ref)return ql(e,t,o)}return t.flags|=1,(e=Nc(i,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,ql(e,t,o);0!=(131072&e.flags)&&(wl=!0)}}return Ml(e,t,n,r,o)}function Ol(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mo(Ns,ks),ks|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Mo(Ns,ks),ks|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Mo(Ns,ks),ks|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Mo(Ns,ks),ks|=r;return _l(e,t,o,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ml(e,t,n,r,o){var i=ko(n)?Ao:Po.current;return i=Lo(t,i),Oi(t,o),n=Sa(e,t,n,r,i,o),r=Oa(),null===e||wl?(ii&&r&&ti(t),t.flags|=1,_l(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function zl(e,t,n,r,o){if(ko(n)){var i=!0;Ho(t)}else i=!1;if(Oi(t,o),null===t.stateNode)Gl(e,t),Gi(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Ci(c):Lo(t,c=ko(n)?Ao:Po.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==c)&&qi(t,a,r,c),Ai=!1;var h=t.memoizedState;a.state=h,Vi(t,r,a,o),s=t.memoizedState,l!==r||h!==s||To.current||Ai?("function"==typeof u&&(Fi(t,n,u,r),s=t.memoizedState),(l=Ai||Ui(t,n,l,r,h,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ki(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:gi(t.type,l),a.props=c,d=t.pendingProps,h=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Ci(s):Lo(t,s=ko(n)?Ao:Po.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||h!==s)&&qi(t,a,r,s),Ai=!1,h=t.memoizedState,a.state=h,Vi(t,r,a,o);var p=t.memoizedState;l!==d||h!==p||To.current||Ai?("function"==typeof f&&(Fi(t,n,f,r),p=t.memoizedState),(c=Ai||Ui(t,n,c,r,h,p,s)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,i,o)}function Pl(e,t,n,r,o,i){Cl(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Vo(t,n,!1),ql(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Zi(t,e.child,null,i),t.child=Zi(t,null,l,i)):_l(e,t,l,i),t.memoizedState=r.state,o&&Vo(t,n,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),oa(e,t.containerInfo)}function Al(e,t,n,r,o){return pi(),vi(o),t.flags|=256,_l(e,t,n,r),t.child}var Ll,kl,Nl,Il,Rl={dehydrated:null,treeContext:null,retryLane:0};function Hl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vl(e,t,n){var r,o=t.pendingProps,a=sa.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Mo(sa,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Hc(s,o,0,null),e=Rc(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Hl(n),t.memoizedState=Rl,e):Dl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,jl(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Hc({mode:"visible",children:r.children},o,0,null),(a=Rc(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Zi(t,e.child,null,l),t.child.memoizedState=Hl(l),t.memoizedState=Rl,a);if(0==(1&t.mode))return jl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,jl(e,t,l,r=dl(a=Error(i(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=Ts)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ti(e,o),rc(r,e,o,-1))}return mc(),jl(e,t,l,r=dl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=zc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&($o[Yo++]=Zo,$o[Yo++]=Qo,$o[Yo++]=Xo,Zo=e.id,Qo=e.overflow,Xo=t),(t=Dl(t,r.children)).flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Nc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Nc(r,l):(l=Rc(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Hl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Rl,o}return e=(l=e.child).sibling,o=Nc(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Dl(e,t){return(t=Hc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function jl(e,t,n,r){return null!==r&&vi(r),Zi(t,e.child,null,n),(e=Dl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Si(e.return,t,n)}function Bl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(_l(e,t,r.children,n),0!=(2&(r=sa.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fl(e,n,t);else if(19===e.tag)Fl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Mo(sa,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,i);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ql(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Hs|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Nc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $l(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return ko(t.type)&&No(),Kl(t),null;case 3:return r=t.stateNode,ia(),Co(To),Co(Po),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(hi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(lc(ai),ai=null))),kl(e,t),Kl(t),null;case 5:la(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Nl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Kl(t),null}if(e=ra(ea.current),hi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fo]=t,r[po]=a,e=0!=(1&t.mode),n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(o=0;o<Ir.length;o++)Dr(Ir[o],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":X(r,a),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Dr("invalid",r);break;case"textarea":oe(r,a),Dr("invalid",r)}for(var s in ye(n,a),o=null,a)if(a.hasOwnProperty(s)){var c=a[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",""+c]):l.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Dr("scroll",r)}switch(n){case"input":W(r),J(r,a,!0);break;case"textarea":W(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[po]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),o=r;break;case"iframe":case"object":case"embed":Dr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ir.length;o++)Dr(Ir[o],e);o=r;break;case"source":Dr("error",e),o=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),o=r;break;case"details":Dr("toggle",e),o=r;break;case"input":X(e,r),o=Y(e,r),Dr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=H({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Dr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&he(e,u):"number"==typeof u&&he(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Dr("scroll",e):null!=u&&b(e,a,u,s))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),hi(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Qr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return Kl(t),null;case 13:if(Co(sa),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))fi(),pi(),t.flags|=98560,a=!1;else if(a=hi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else pi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),a=!1}else null!==ai&&(lc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&sa.current)?0===Is&&(Is=3):mc())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ia(),kl(e,t),null===e&&Br(t.stateNode.containerInfo),Kl(t),null;case 10:return xi(t.type._context),Kl(t),null;case 19:if(Co(sa),null===(a=t.memoizedState))return Kl(t),null;if(r=0!=(128&t.flags),null===(s=a.rendering))if(r)Wl(a,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ca(e))){for(t.flags|=128,Wl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Mo(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Us&&(t.flags|=128,r=!0,Wl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ii)return Kl(t),null}else 2*Ze()-a.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Wl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=sa.current,Mo(sa,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return hc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&ks)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Yl(e,t){switch(ni(t),t.tag){case 1:return ko(t.type)&&No(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Co(To),Co(Po),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return la(t),null;case 13:if(Co(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(sa),null;case 4:return ia(),null;case 10:return xi(t.type._context),null;case 22:case 23:return hc(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},kl=function(){},Nl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=H({},o,{value:void 0}),r=H({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var s=o[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Dr("scroll",e),a||s===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Zl=!1,Ql="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Oc(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Oc(e,t,n)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&ts(t,n,i)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fo],delete t[po],delete t[mo],delete t[go],delete t[yo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var ds=null,hs=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Zl||es(n,t);case 6:var r=ds,o=hs;ds=null,fs(e,t,n),hs=o,null!==(ds=r)&&(hs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(hs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=hs,ds=n.stateNode.containerInfo,hs=!0,fs(e,t,n),ds=r,hs=o;break;case 0:case 11:case 14:case 15:if(!Zl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&ts(n,t,a),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Zl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Oc(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,fs(e,t,n),Zl=r):fs(e,t,n);break;default:fs(e,t,n)}}function vs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ql),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,hs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,hs=!0;break e}s=s.return}if(null===ds)throw Error(i(160));ps(a,l,o),ds=null,hs=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Oc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(t){Oc(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Oc(e,e.return,t)}}break;case 1:ms(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(ms(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{he(o,"")}catch(t){Oc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===a.type&&null!=a.name&&Z(o,a),be(s,l);var u=be(s,a);for(l=0;l<c.length;l+=2){var d=c[l],h=c[l+1];"style"===d?me(o,h):"dangerouslySetInnerHTML"===d?de(o,h):"children"===d?he(o,h):b(o,d,h,u)}switch(s){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(o,!!a.multiple,p,!1):f!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(t){Oc(e,e.return,t)}}break;case 6:if(ms(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Oc(e,e.return,t)}}break;case 3:if(ms(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){Oc(e,e.return,t)}break;case 4:default:ms(t,e),ys(e);break;case 13:ms(t,e),ys(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Bs=Ze())),4&r&&vs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zl=(u=Zl)||d,ms(t,e),Zl=u):ms(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(h=Jl=d;null!==Jl;){switch(p=(f=Jl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var v=f.stateNode;if("function"==typeof v.componentWillUnmount){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){Oc(r,n,e)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){Es(h);continue}}null!==p?(p.return=f,Jl=p):Es(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{o=h.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=h.stateNode,l=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=ve("display",l))}catch(t){Oc(e,e.return,t)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(t){Oc(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ms(t,e),ys(e),4&r&&vs(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(he(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cs(e,ss(e),a);break;default:throw Error(i(161))}}catch(t){Oc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var o=Jl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Zl;l=Xl;var c=Zl;if(Xl=a,(Zl=s)&&!c)for(Jl=o;null!==Jl;)s=(a=Jl).child,22===a.tag&&null!==a.memoizedState?xs(o):null!==s?(s.return=a,Jl=s):xs(o);for(;null!==i;)Jl=i,ws(i,t,n),i=i.sibling;Jl=o,Xl=l,Zl=c}_s(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Jl=i):_s(e)}}function _s(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Di(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Di(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Bt(h)}}}break;default:throw Error(i(163))}Zl||512&t.flags&&is(t)}catch(e){Oc(t,t.return,e)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function Es(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function xs(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(e){Oc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Oc(t,o,e)}}var i=t.return;try{is(t)}catch(e){Oc(t,i,e)}break;case 5:var a=t.return;try{is(t)}catch(e){Oc(t,a,e)}}}catch(e){Oc(t,t.return,e)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Ss,Os=Math.ceil,Cs=w.ReactCurrentDispatcher,Ms=w.ReactCurrentOwner,zs=w.ReactCurrentBatchConfig,Ps=0,Ts=null,As=null,Ls=0,ks=0,Ns=Oo(0),Is=0,Rs=null,Hs=0,Vs=0,Ds=0,js=null,Fs=null,Bs=0,Us=1/0,Gs=null,qs=!1,Ws=null,Ks=null,$s=!1,Ys=null,Xs=0,Zs=0,Qs=null,Js=-1,ec=0;function tc(){return 0!=(6&Ps)?Ze():-1!==Js?Js:Js=Ze()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Ps)&&0!==Ls?Ls&-Ls:null!==mi.transition?(0===ec&&(ec=vt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function rc(e,t,n,r){if(50<Zs)throw Zs=0,Qs=null,Error(i(185));gt(e,n,r),0!=(2&Ps)&&e===Ts||(e===Ts&&(0==(2&Ps)&&(Vs|=n),4===Is&&sc(e,Ls)),oc(e,r),1===n&&0===Ps&&0==(1&t.mode)&&(Us=Ze()+500,jo&&Uo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!=(l&n)&&0==(l&r)||(o[a]=ft(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ht(e,e===Ts?Ls:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){jo=!0,Bo(e)}(cc.bind(null,e)):Bo(cc.bind(null,e)),ao((function(){0==(6&Ps)&&Uo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Js=-1,ec=0,0!=(6&Ps))throw Error(i(327));var n=e.callbackNode;if(xc()&&e.callbackNode!==n)return null;var r=ht(e,e===Ts?Ls:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Ps;Ps|=2;var a=vc();for(Ts===e&&Ls===t||(Gs=null,Us=Ze()+500,fc(e,t));;)try{bc();break}catch(t){pc(e,t)}Ei(),Cs.current=a,Ps=o,null!==As?t=0:(Ts=null,Ls=0,t=Is)}if(0!==t){if(2===t&&0!==(o=pt(e))&&(r=o,t=ac(e,o)),1===t)throw n=Rs,fc(e,0),sc(e,r),oc(e,Ze()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!lr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gc(e,r))&&0!==(a=pt(e))&&(r=a,t=ac(e,a)),1===t))throw n=Rs,fc(e,0),sc(e,r),oc(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Ec(e,Fs,Gs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Bs+500-Ze())){if(0!==ht(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Ec.bind(null,e,Fs,Gs),t);break}Ec(e,Fs,Gs);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Os(r/1960))-r)){e.timeoutHandle=ro(Ec.bind(null,e,Fs,Gs),r);break}Ec(e,Fs,Gs);break;default:throw Error(i(329))}}}return oc(e,Ze()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=js;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fs,Fs=n,null!==t&&lc(t)),e}function lc(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function sc(e,t){for(t&=~Ds,t&=~Vs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Ps))throw Error(i(327));xc();var t=ht(e,0);if(0==(1&t))return oc(e,Ze()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Rs,fc(e,0),sc(e,t),oc(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ec(e,Fs,Gs),oc(e,Ze()),null}function uc(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&(Us=Ze()+500,jo&&Uo())}}function dc(e){null!==Ys&&0===Ys.tag&&0==(6&Ps)&&xc();var t=Ps;Ps|=1;var n=zs.transition,r=bt;try{if(zs.transition=null,bt=1,e)return e()}finally{bt=r,zs.transition=n,0==(6&(Ps=t))&&Uo()}}function hc(){ks=Ns.current,Co(Ns)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&No();break;case 3:ia(),Co(To),Co(Po),da();break;case 5:la(r);break;case 4:ia();break;case 13:case 19:Co(sa);break;case 10:xi(r.type._context);break;case 22:case 23:hc()}n=n.return}if(Ts=e,As=e=Nc(e.current,null),Ls=ks=t,Is=0,Rs=null,Ds=Vs=Hs=0,Fs=js=null,null!==Mi){for(t=0;t<Mi.length;t++)if(null!==(r=(n=Mi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Mi=null}return e}function pc(e,t){for(;;){var n=As;try{if(Ei(),ha.current=al,ya){for(var r=va.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(pa=0,ga=ma=va=null,ba=!1,wa=0,Ms.current=null,null===n||null===n.return){Is=1,Rs=t,As=null;break}e:{var a=e,l=n.return,s=n,c=t;if(t=Ls,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,h=d.tag;if(0==(1&d.mode)&&(0===h||11===h||15===h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gl(l);if(null!==p){p.flags&=-257,yl(p,l,s,0,t),1&p.mode&&ml(a,u,t),c=u;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(c),t.updateQueue=m}else v.add(c);break e}if(0==(1&t)){ml(a,u,t),mc();break e}c=Error(i(426))}else if(ii&&1&s.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),vi(ul(c,s));break e}}a=c=ul(c,s),4!==Is&&(Is=2),null===js?js=[a]:js.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,pl(0,c,t));break e;case 1:s=c;var y=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,vl(a,s,t));break e}}a=a.return}while(null!==a)}_c(n)}catch(e){t=e,As===n&&null!==n&&(As=n=n.return);continue}break}}function vc(){var e=Cs.current;return Cs.current=al,null===e?al:e}function mc(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===Ts||0==(268435455&Hs)&&0==(268435455&Vs)||sc(Ts,Ls)}function gc(e,t){var n=Ps;Ps|=2;var r=vc();for(Ts===e&&Ls===t||(Gs=null,fc(e,t));;)try{yc();break}catch(t){pc(e,t)}if(Ei(),Ps=n,Cs.current=r,null!==As)throw Error(i(261));return Ts=null,Ls=0,Is}function yc(){for(;null!==As;)wc(As)}function bc(){for(;null!==As&&!Ye();)wc(As)}function wc(e){var t=Ss(e.alternate,e,ks);e.memoizedProps=e.pendingProps,null===t?_c(e):As=t,Ms.current=null}function _c(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=$l(n,t,ks)))return void(As=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(As=n);if(null===e)return Is=6,void(As=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===Is&&(Is=5)}function Ec(e,t,n){var r=bt,o=zs.transition;try{zs.transition=null,bt=1,function(e,t,n,r){do{xc()}while(null!==Ys);if(0!=(6&Ps))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ts&&(As=Ts=null,Ls=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||$s||($s=!0,Tc(tt,(function(){return xc(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=zs.transition,zs.transition=null;var l=bt;bt=1;var s=Ps;Ps|=4,Ms.current=null,function(e,t){if(eo=Gt,fr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,s=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||0!==o&&3!==h.nodeType||(s=l+o),h!==a||0!==r&&3!==h.nodeType||(c=l+r),3===h.nodeType&&(l+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===o&&(s=l),f===a&&++d===r&&(c=l),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Gt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var v=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:gi(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){Oc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}v=ns,ns=!1}(e,n),gs(n,e),pr(to),Gt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Xe(),Ps=s,bt=l,zs.transition=a}else e.current=n;if($s&&($s=!1,Ys=e,Xs=o),0===(a=e.pendingLanes)&&(Ks=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),oc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(qs)throw qs=!1,e=Ws,Ws=null,e;0!=(1&Xs)&&0!==e.tag&&xc(),0!=(1&(a=e.pendingLanes))?e===Qs?Zs++:(Zs=0,Qs=e):Zs=0,Uo()}(e,t,n,r)}finally{zs.transition=o,bt=r}return null}function xc(){if(null!==Ys){var e=wt(Xs),t=zs.transition,n=bt;try{if(zs.transition=null,bt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Xs=0,0!=(6&Ps))throw Error(i(331));var o=Ps;for(Ps|=4,Jl=e.current;null!==Jl;){var a=Jl,l=a.child;if(0!=(16&Jl.flags)){var s=a.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,a)}var h=d.child;if(null!==h)h.return=d,Jl=h;else for(;null!==Jl;){var f=(d=Jl).sibling,p=d.return;if(as(d),d===u){Jl=null;break}if(null!==f){f.return=p,Jl=f;break}Jl=p}}}var v=a.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Jl=a}}if(0!=(2064&a.subtreeFlags)&&null!==l)l.return=a,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(a=Jl).flags))switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Jl=y;break e}Jl=a.return}}var b=e.current;for(Jl=b;null!==Jl;){var w=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=b;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(e){Oc(s,s.return,e)}if(s===l){Jl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Jl=_;break e}Jl=s.return}}if(Ps=o,Uo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,zs.transition=t}}return!1}function Sc(e,t,n){e=Ii(e,t=pl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Oc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Ii(t,e=vl(t,e=ul(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Ls&n)===n&&(4===Is||3===Is&&(130023424&Ls)===Ls&&500>Ze()-Bs?fc(e,0):Ds|=n),oc(e,t)}function Mc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Ti(e,t))&&(gt(e,t,n),oc(e,n))}function zc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Mc(e,n)}function Tc(e,t){return Ke(e,t)}function Ac(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lc(e,t,n,r){return new Ac(e,t,n,r)}function kc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nc(e,t){var n=e.alternate;return null===n?((n=Lc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)kc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case x:return Rc(n.children,o,a,t);case S:l=8,o|=8;break;case O:return(e=Lc(12,n,t,2|o)).elementType=O,e.lanes=a,e;case P:return(e=Lc(13,n,t,o)).elementType=P,e.lanes=a,e;case T:return(e=Lc(19,n,t,o)).elementType=T,e.lanes=a,e;case k:return Hc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case M:l=9;break e;case z:l=11;break e;case A:l=14;break e;case L:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Lc(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Rc(e,t,n,r){return(e=Lc(7,e,r,t)).lanes=n,e}function Hc(e,t,n,r){return(e=Lc(22,e,r,t)).elementType=k,e.lanes=n,e.stateNode={isHidden:!1},e}function Vc(e,t,n){return(e=Lc(6,e,null,t)).lanes=n,e}function Dc(e,t,n){return(t=Lc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,l,s){return e=new jc(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Lc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Li(i),e}function Bc(e){if(!e)return zo;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ko(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(ko(n))return Ro(e,n,t)}return t}function Uc(e,t,n,r,o,i,a,l,s){return(e=Fc(n,r,!0,e,0,i,0,l,s)).context=Bc(null),n=e.current,(i=Ni(r=tc(),o=nc(n))).callback=null!=t?t:null,Ii(n,i,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function Gc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ni(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(o,t,a))&&(rc(e,o,a,i),Ri(e,o,a)),a}function qc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}Ss=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||To.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Tl(t),pi();break;case 5:aa(t);break;case 1:ko(t.type)&&Ho(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Mo(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Mo(sa,1&sa.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Vl(e,t,n):(Mo(sa,1&sa.current),null!==(e=ql(e,t,n))?e.sibling:null);Mo(sa,1&sa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Mo(sa,sa.current),r)break;return null;case 22:case 23:return t.lanes=0,Ol(e,t,n)}return ql(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ii&&0!=(1048576&t.flags)&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gl(e,t),e=t.pendingProps;var o=Lo(t,Po.current);Oi(t,n),o=Sa(null,t,r,e,o,n);var a=Oa();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ko(r)?(a=!0,Ho(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Li(t),o.updater=Bi,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=Pl(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),_l(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return kc(e)?1:0;if(null!=e){if((e=e.$$typeof)===z)return 11;if(e===A)return 14}return 2}(r),e=gi(r,e),o){case 0:t=Ml(null,t,r,e,n);break e;case 1:t=zl(null,t,r,e,n);break e;case 11:t=El(null,t,r,e,n);break e;case 14:t=xl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ml(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,zl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Tl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,ki(e,t),Vi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Al(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=Al(e,t,r,n,o=ul(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Qi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=ql(e,t,n);break e}_l(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==a&&no(r,a)&&(t.flags|=32),Cl(e,t),_l(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Vl(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zi(t,null,r,n):_l(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,El(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return _l(e,t,t.pendingProps,n),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Mo(yi,r._currentValue),r._currentValue=l,null!==a)if(lr(a.value,l)){if(a.children===o.children&&!To.current){t=ql(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ni(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Si(a.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Si(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),r=r(o=Ci(o)),t.flags|=1,_l(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),xl(e,t,r,o=gi(r.type,o),n);case 15:return Sl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Gl(e,t),t.tag=1,ko(r)?(e=!0,Ho(t)):e=!1,Oi(t,n),Gi(t,r,o),Wi(t,r,o,n),Pl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return Ol(e,t,n)}throw Error(i(156,t.tag))};var $c="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=qc(a);l.call(e)}}Gc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=qc(a);i.call(e)}}var a=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[vo]=a.current,Br(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=qc(s);l.call(e)}}var s=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=s,e[vo]=s.current,Br(8===e.nodeType?e.parentNode:e),dc((function(){Gc(t,s,n,r)})),s}(n,t,e,o,r);return qc(a)}Xc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Gc(e,t,null,null)},Xc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Gc(null,e,null,null)})),t[vo]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kt.length&&0!==t&&t<kt[n].priority;n++);kt.splice(n,0,e),0===n&&Ht(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Ze()),0==(6&Ps)&&(Us=Ze()+500,Uo()))}break;case 13:dc((function(){var t=Ti(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Kc(e,1)}},Et=function(e){if(13===e.tag){var t=Ti(e,134217728);null!==t&&rc(t,e,134217728,tc()),Kc(e,134217728)}},xt=function(e){if(13===e.tag){var t=nc(e),n=Ti(e,t);null!==n&&rc(n,e,t,tc()),Kc(e,t)}},St=function(){return bt},Ot=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ee=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Eo(r);if(!o)throw Error(i(90));K(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ze=uc,Pe=dc;var tu={usingClientEntryPoint:!1,Events:[wo,_o,Eo,Ce,Me,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(i(299));var n=!1,r="",o=$c;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=$c;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,a,l),e[vo]=t.current,Br(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xc(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[vo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},20745:(e,t,n)=>{"use strict";var r=n(73935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},73935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},69590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(!i(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!i(e[c[s]],a[c[s]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},16755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Html:()=>l,Portal:()=>s,useEvent:()=>a,useImage:()=>u()});var r=n(67294),o=n(20745),i=n(34503);function a(e=(()=>{})){const t=r.useRef(e);return t.current=e,r.useCallback(((...e)=>t.current.apply(null,e)),[])}const l=({children:e,groupProps:t,divProps:n,transform:l,transformFunc:s})=>{const c=r.useRef(null),[u]=(r.useRef(),r.useState((()=>document.createElement("div")))),d=r.useMemo((()=>o.createRoot(u)),[u]),h=null==l||l,f=a((()=>{if(h&&c.current){let e=c.current.getAbsoluteTransform().decompose();s&&(e=s(e)),u.style.position="absolute",u.style.zIndex="10",u.style.top="0px",u.style.left="0px",u.style.transform=`translate(${e.x}px, ${e.y}px) rotate(${e.rotation}deg) scaleX(${e.scaleX}) scaleY(${e.scaleY})`,u.style.transformOrigin="top left"}else u.style.position="",u.style.zIndex="",u.style.top="",u.style.left="",u.style.transform="",u.style.transformOrigin="";const e=n||{},{style:t}=e,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["style"]);Object.assign(u.style,t),Object.assign(u,r)}));return r.useLayoutEffect((()=>{var e;const t=c.current;if(!t)return;const n=null===(e=t.getStage())||void 0===e?void 0:e.container();return n?(n.appendChild(u),h&&(e=>{const t=window.getComputedStyle(e).position;return!("absolute"===t||"relative"===t)})(n)&&(n.style.position="relative"),t.on("absoluteTransformChange",f),f(),()=>{var e;t.off("absoluteTransformChange",f),null===(e=u.parentNode)||void 0===e||e.removeChild(u)}):void 0}),[h]),r.useLayoutEffect((()=>{f()}),[n,s]),r.useLayoutEffect((()=>{d.render(e)})),r.useLayoutEffect((()=>()=>{setTimeout((()=>{d.unmount()}))}),[]),r.createElement(i.Group,Object.assign({ref:c},t))},s=({selector:e,enabled:t,children:n})=>{const o=r.useRef(null),a=r.useRef(null),l=r.useRef(),s=null==t||t;return r.useLayoutEffect((()=>{if(!o.current||!a.current)return;l.current=a.current;const t=o.current.getStage().findOne(e);s&&t?a.current.moveTo(t):a.current.moveTo(o.current);const n=o.current.getLayer();if(n&&(n.batchDraw(),t)){const e=t.getLayer();if(!e)return;e.batchDraw()}}),[e,s]),r.useEffect((()=>()=>{var e;null===(e=l.current)||void 0===e||e.destroy()}),[]),r.createElement(i.Group,{name:"_outer_portal",ref:o},r.createElement(i.Group,{name:"_inner_portal",ref:a},n))};var c=n(84420),u=n.n(c)},34503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>He,Arrow:()=>Fe,Circle:()=>Me,Ellipse:()=>ze,FastLayer:()=>xe,Group:()=>Se,Image:()=>Le,KonvaRenderer:()=>Ge,Label:()=>Oe,Layer:()=>Ee,Line:()=>Te,Path:()=>De,Rect:()=>Ce,RegularPolygon:()=>je,Ring:()=>Re,Shape:()=>Be,Sprite:()=>Ae,Stage:()=>qe,Star:()=>Ie,Tag:()=>Ve,Text:()=>ke,TextPath:()=>Ne,Transformer:()=>Ue,Wedge:()=>Pe,useStrictMode:()=>We});var r={};n.r(r),n.d(r,{appendChild:()=>G,appendChildToContainer:()=>q,appendInitialChild:()=>S,cancelTimeout:()=>V,clearContainer:()=>re,commitMount:()=>Z,commitTextUpdate:()=>X,commitUpdate:()=>Q,createInstance:()=>O,createTextInstance:()=>C,detachDeletedInstance:()=>oe,finalizeInitialChildren:()=>M,getChildHostContext:()=>R,getCurrentEventPriority:()=>ie,getPublicInstance:()=>z,getRootHostContext:()=>I,hideInstance:()=>J,hideTextInstance:()=>ee,idlePriority:()=>_.unstable_IdlePriority,insertBefore:()=>W,insertInContainerBefore:()=>K,isPrimaryRenderer:()=>F,noTimeout:()=>D,now:()=>_.unstable_now,prepareForCommit:()=>P,preparePortalMount:()=>T,prepareUpdate:()=>A,removeChild:()=>$,removeChildFromContainer:()=>Y,resetAfterCommit:()=>L,resetTextContent:()=>k,run:()=>_.unstable_runWithPriority,scheduleTimeout:()=>H,shouldDeprioritizeSubtree:()=>N,shouldSetTextContent:()=>j,supportsMutation:()=>U,unhideInstance:()=>te,unhideTextInstance:()=>ne,warnsIfNotActing:()=>B}),n(20185);var o=n(67294),i=n(87185),a=n.n(i),l=n(76525),s=n.n(l),c=n(32576),u=n(54417);const d={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let h=!1,f=!1;const p=".react-konva-event";let v=!1;const m="ReactKonva: You have a Konva node with draggable = true and position defined but no onDragMove or onDragEnd events are handled.\nPosition of a node will be changed during drag&drop, so you should update state of the react app as well.\nConsider to add onDragMove or onDragEnd events.\nFor more info see: https://github.com/konvajs/react-konva/issues/256\n",g='ReactKonva: You are using "zIndex" attribute for a Konva node.\nreact-konva may get confused with ordering. Just define correct order of elements in your render function of a component.\nFor more info see: https://github.com/konvajs/react-konva/issues/194\n',y={};function b(e,t,n=y){if(!h&&"zIndex"in t&&(console.warn(g),h=!0),!f&&t.draggable){var r=void 0!==t.x||void 0!==t.y,o=t.onDragEnd||t.onDragMove;r&&!o&&(console.warn(m),f=!0)}for(var i in n)if(!d[i]){var a="on"===i.slice(0,2),l=n[i]!==t[i];a&&l&&("content"===(E=i.substr(2).toLowerCase()).substr(0,7)&&(E="content"+E.substr(7,1).toUpperCase()+E.substr(8)),e.off(E,n[i])),!t.hasOwnProperty(i)&&e.setAttr(i,void 0)}var s=v||t._useStrictMode,c={},u=!1;const b={};for(var i in t)if(!d[i]){a="on"===i.slice(0,2);var _=n[i]!==t[i];a&&_&&("content"===(E=i.substr(2).toLowerCase()).substr(0,7)&&(E="content"+E.substr(7,1).toUpperCase()+E.substr(8)),t[i]&&(b[E]=t[i])),!a&&(t[i]!==n[i]||s&&t[i]!==e.getAttr(i))&&(u=!0,c[i]=t[i])}for(var E in u&&(e.setAttrs(c),w(e)),b)e.on(E+p,b[E])}function w(e){if(!u.Konva.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}var _=n(63840);const E={},x={};function S(e,t){"string"!=typeof t?(e.add(t),w(e)):console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`)}function O(e,t,n){let r=a()[e];r||(console.error(`Konva has no node with the type ${e}. Group will be used instead. If you use minimal version of react-konva, just import required nodes into Konva: "import "konva/lib/shapes/${e}" If you want to render DOM elements as part of canvas tree take a look into this demo: https://konvajs.github.io/docs/react/DOM_Portal.html`),r=a().Group);const o={},i={};for(var l in t)"on"===l.slice(0,2)?i[l]=t[l]:o[l]=t[l];const s=new r(o);return b(s,i),s}function C(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function M(e,t,n){return!1}function z(e){return e}function P(){return null}function T(){return null}function A(e,t,n,r){return x}function L(){}function k(e){}function N(e,t){return!1}function I(){return E}function R(){return E}a().Node.prototype._applyProps=b;const H=setTimeout,V=clearTimeout,D=-1;function j(e,t){return!1}const F=!1,B=!0,U=!0;function G(e,t){t.parent===e?t.moveToTop():e.add(t),w(e)}function q(e,t){t.parent===e?t.moveToTop():e.add(t),w(e)}function W(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),w(e)}function K(e,t,n){W(e,t,n)}function $(e,t){t.destroy(),t.off(p),w(e)}function Y(e,t){t.destroy(),t.off(p),w(e)}function X(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function Z(e,t,n){}function Q(e,t,n,r,o){b(e,o,r)}function J(e){e.hide(),w(e)}function ee(e){}function te(e,t){(null==t.visible||t.visible)&&e.show()}function ne(e,t){}function re(e){}function oe(){}const ie=()=>c.DefaultEventPriority;var ae=Object.defineProperty,le=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(e,t,n)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fe=(e,t)=>{for(var n in t||(t={}))ue.call(t,n)&&he(e,n,t[n]);if(ce)for(var n of ce(t))de.call(t,n)&&he(e,n,t[n]);return e};function pe(e,t,n){if(!e)return;if(!0===n(e))return e;let r=t?e.return:e.child;for(;r;){const e=pe(r,t,n);if(e)return e;r=t?null:r.sibling}}function ve(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}const me=ve(o.createContext(null));class ge extends o.Component{render(){return o.createElement(me.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:ye,ReactCurrentDispatcher:be}=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function we(){const e=function(){var e,t;const n=function(){const e=o.useContext(me);if(null===e)throw new Error("its-fine: useFiber must be called within a <FiberProvider />!");const t=o.useId();return o.useMemo((()=>{for(const n of[null==ye?void 0:ye.current,e,null==e?void 0:e.alternate]){if(!n)continue;const e=pe(n,!1,(e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}}));if(e)return e}}),[e,t])}(),[r]=o.useState((()=>new Map));r.clear();let i=n;for(;i;){const n=null==(e=i.type)?void 0:e._context;n&&n!==me&&!r.has(n)&&r.set(n,null==(t=null==be?void 0:be.current)?void 0:t.readContext(ve(n))),i=i.return}return r}();return o.useMemo((()=>Array.from(e.keys()).reduce(((t,n)=>r=>{return o.createElement(t,null,o.createElement(n.Provider,(i=fe({},r),a={value:e.get(n)},le(i,se(a)))));var i,a}),(e=>o.createElement(ge,fe({},e))))),[e])}const _e=e=>{const t=o.useRef(),n=o.useRef(),r=o.useRef(),i=function(e){const t=o.useRef({});return o.useLayoutEffect((()=>{t.current=e})),o.useLayoutEffect((()=>()=>{t.current={}}),[]),t.current}(e),l=we(),s=t=>{const{forwardedRef:n}=e;n&&("function"==typeof n?n(t):n.current=t)};return o.useLayoutEffect((()=>(n.current=new(a().Stage)({width:e.width,height:e.height,container:t.current}),s(n.current),r.current=Ge.createContainer(n.current,c.LegacyRoot,!1,null),Ge.updateContainer(o.createElement(l,{},e.children),r.current),()=>{a().isBrowser&&(s(null),Ge.updateContainer(null,r.current,null),n.current.destroy())})),[]),o.useLayoutEffect((()=>{s(n.current),b(n.current,e,i),Ge.updateContainer(o.createElement(l,{},e.children),r.current,null)})),o.createElement("div",{ref:t,id:e.id,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},Ee="Layer",xe="FastLayer",Se="Group",Oe="Label",Ce="Rect",Me="Circle",ze="Ellipse",Pe="Wedge",Te="Line",Ae="Sprite",Le="Image",ke="Text",Ne="TextPath",Ie="Star",Re="Ring",He="Arc",Ve="Tag",De="Path",je="RegularPolygon",Fe="Arrow",Be="Shape",Ue="Transformer",Ge=s()(r);Ge.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:o.version,rendererPackageName:"react-konva"});const qe=o.forwardRef(((e,t)=>o.createElement(ge,{},o.createElement(_e,{...e,forwardedRef:t})))),We=function(e){v=e}},46511:(e,t)=>{"use strict";t.DefaultEventPriority=16,t.LegacyRoot=0},67287:(e,t,n)=>{e.exports=function(e){var t={},r=n(67294),o=n(63840),i=Object.assign;function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=Symbol.for("react.element"),c=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),p=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var w=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var _=Symbol.iterator;function E(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=_&&e[_]||e["@@iterator"])?e:null}function x(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case u:return"Fragment";case c:return"Portal";case h:return"Profiler";case d:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case p:return(e.displayName||"Context")+".Consumer";case f:return(e._context.displayName||"Context")+".Provider";case v:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case y:return null!==(t=e.displayName||null)?t:x(e.type)||"Memo";case b:t=e._payload,e=e._init;try{return x(e(t))}catch(e){}}return null}function S(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return x(t);case 8:return t===d?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function O(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function C(e){if(O(e)!==e)throw Error(a(188))}function M(e){var t=e.alternate;if(!t){if(null===(t=O(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return C(o),e;if(i===r)return C(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}function z(e){return null!==(e=M(e))?P(e):null}function P(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=P(e);if(null!==t)return t;e=e.sibling}return null}function T(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){if(4!==e.tag){var t=T(e);if(null!==t)return t}e=e.sibling}return null}var A,L=Array.isArray,k=e.getPublicInstance,N=e.getRootHostContext,I=e.getChildHostContext,R=e.prepareForCommit,H=e.resetAfterCommit,V=e.createInstance,D=e.appendInitialChild,j=e.finalizeInitialChildren,F=e.prepareUpdate,B=e.shouldSetTextContent,U=e.createTextInstance,G=e.scheduleTimeout,q=e.cancelTimeout,W=e.noTimeout,K=e.isPrimaryRenderer,$=e.supportsMutation,Y=e.supportsPersistence,X=e.supportsHydration,Z=e.getInstanceFromNode,Q=e.preparePortalMount,J=e.getCurrentEventPriority,ee=e.detachDeletedInstance,te=e.supportsMicrotasks,ne=e.scheduleMicrotask,re=e.supportsTestSelectors,oe=e.findFiberRoot,ie=e.getBoundingRect,ae=e.getTextContent,le=e.isHiddenSubtree,se=e.matchAccessibilityRole,ce=e.setFocusIfFocusable,ue=e.setupIntersectionObserver,de=e.appendChild,he=e.appendChildToContainer,fe=e.commitTextUpdate,pe=e.commitMount,ve=e.commitUpdate,me=e.insertBefore,ge=e.insertInContainerBefore,ye=e.removeChild,be=e.removeChildFromContainer,we=e.resetTextContent,_e=e.hideInstance,Ee=e.hideTextInstance,xe=e.unhideInstance,Se=e.unhideTextInstance,Oe=e.clearContainer,Ce=e.cloneInstance,Me=e.createContainerChildSet,ze=e.appendChildToContainerChildSet,Pe=e.finalizeContainerChildren,Te=e.replaceContainerChildren,Ae=e.cloneHiddenInstance,Le=e.cloneHiddenTextInstance,ke=e.canHydrateInstance,Ne=e.canHydrateTextInstance,Ie=e.canHydrateSuspenseInstance,Re=e.isSuspenseInstancePending,He=e.isSuspenseInstanceFallback,Ve=e.getSuspenseInstanceFallbackErrorDetails,De=e.registerSuspenseInstanceRetry,je=e.getNextHydratableSibling,Fe=e.getFirstHydratableChild,Be=e.getFirstHydratableChildWithinContainer,Ue=e.getFirstHydratableChildWithinSuspenseInstance,Ge=e.hydrateInstance,qe=e.hydrateTextInstance,We=e.hydrateSuspenseInstance,Ke=e.getNextHydratableInstanceAfterSuspenseInstance,$e=e.commitHydratedContainer,Ye=e.commitHydratedSuspenseInstance,Xe=e.clearSuspenseBoundary,Ze=e.clearSuspenseBoundaryFromContainer,Qe=e.shouldDeleteUnhydratedTailInstances,Je=e.didNotMatchHydratedContainerTextInstance,et=e.didNotMatchHydratedTextInstance;function tt(e){if(void 0===A)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var nt=!1;function rt(e,t){if(!e||nt)return"";nt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{nt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tt(e):""}var ot=Object.prototype.hasOwnProperty,it=[],at=-1;function lt(e){return{current:e}}function st(e){0>at||(e.current=it[at],it[at]=null,at--)}function ct(e,t){at++,it[at]=e.current,e.current=t}var ut={},dt=lt(ut),ht=lt(!1),ft=ut;function pt(e,t){var n=e.type.contextTypes;if(!n)return ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vt(e){return null!=e.childContextTypes}function mt(){st(ht),st(dt)}function gt(e,t,n){if(dt.current!==ut)throw Error(a(168));ct(dt,t),ct(ht,n)}function yt(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,S(e)||"Unknown",o));return i({},n,r)}function bt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ut,ft=dt.current,ct(dt,e),ct(ht,ht.current),!0}function wt(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yt(e,t,ft),r.__reactInternalMemoizedMergedChildContext=e,st(ht),st(dt),ct(dt,e)):st(ht),ct(ht,n)}var _t=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Et(e)/xt|0)|0},Et=Math.log,xt=Math.LN2,St=64,Ot=4194304;function Ct(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=Ct(l):0!=(i&=a)&&(r=Ct(i))}else 0!=(a=n&~o)?r=Ct(a):0!==i&&(r=Ct(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-_t(t)),r|=e[n],t&=~o;return r}function zt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Tt(){var e=St;return 0==(4194240&(St<<=1))&&(St=64),e}function At(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Lt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-_t(t)]=n}function kt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Nt=0;function It(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Rt=o.unstable_scheduleCallback,Ht=o.unstable_cancelCallback,Vt=o.unstable_shouldYield,Dt=o.unstable_requestPaint,jt=o.unstable_now,Ft=o.unstable_ImmediatePriority,Bt=o.unstable_UserBlockingPriority,Ut=o.unstable_NormalPriority,Gt=o.unstable_IdlePriority,qt=null,Wt=null,Kt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},$t=null,Yt=!1,Xt=!1;function Zt(e){null===$t?$t=[e]:$t.push(e)}function Qt(){if(!Xt&&null!==$t){Xt=!0;var e=0,t=Nt;try{var n=$t;for(Nt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}$t=null,Yt=!1}catch(t){throw null!==$t&&($t=$t.slice(e+1)),Rt(Ft,Qt),t}finally{Nt=t,Xt=!1}}return null}var Jt=[],en=0,tn=null,nn=0,rn=[],on=0,an=null,ln=1,sn="";function cn(e,t){Jt[en++]=nn,Jt[en++]=tn,tn=e,nn=t}function un(e,t,n){rn[on++]=ln,rn[on++]=sn,rn[on++]=an,an=e;var r=ln;e=sn;var o=32-_t(r)-1;r&=~(1<<o),n+=1;var i=32-_t(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,ln=1<<32-_t(t)+o|n<<o|r,sn=i+e}else ln=1<<i|n<<o|r,sn=e}function dn(e){null!==e.return&&(cn(e,1),un(e,1,0))}function hn(e){for(;e===tn;)tn=Jt[--en],Jt[en]=null,nn=Jt[--en],Jt[en]=null;for(;e===an;)an=rn[--on],rn[on]=null,sn=rn[--on],rn[on]=null,ln=rn[--on],rn[on]=null}var fn=null,pn=null,vn=!1,mn=!1,gn=null;function yn(e,t){var n=ll(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function bn(e,t){switch(e.tag){case 5:return null!==(t=ke(t,e.type,e.pendingProps))&&(e.stateNode=t,fn=e,pn=Fe(t),!0);case 6:return null!==(t=Ne(t,e.pendingProps))&&(e.stateNode=t,fn=e,pn=null,!0);case 13:if(null!==(t=Ie(t))){var n=null!==an?{id:ln,overflow:sn}:null;return e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=ll(18,null,null,0)).stateNode=t,n.return=e,e.child=n,fn=e,pn=null,!0}return!1;default:return!1}}function wn(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function _n(e){if(vn){var t=pn;if(t){var n=t;if(!bn(e,t)){if(wn(e))throw Error(a(418));t=je(n);var r=fn;t&&bn(e,t)?yn(r,n):(e.flags=-4097&e.flags|2,vn=!1,fn=e)}}else{if(wn(e))throw Error(a(418));e.flags=-4097&e.flags|2,vn=!1,fn=e}}}function En(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;fn=e}function xn(e){if(!X||e!==fn)return!1;if(!vn)return En(e),vn=!0,!1;if(3!==e.tag&&(5!==e.tag||Qe(e.type)&&!B(e.type,e.memoizedProps))){var t=pn;if(t){if(wn(e))throw Sn(),Error(a(418));for(;t;)yn(e,t),t=je(t)}}if(En(e),13===e.tag){if(!X)throw Error(a(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));pn=Ke(e)}else pn=fn?je(e.stateNode):null;return!0}function Sn(){for(var e=pn;e;)e=je(e)}function On(){X&&(pn=fn=null,mn=vn=!1)}function Cn(e){null===gn?gn=[e]:gn.push(e)}var Mn=l.ReactCurrentBatchConfig;function zn(e,t){if(Kt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ot.call(t,o)||!Kt(e[o],t[o]))return!1}return!0}function Pn(e){switch(e.tag){case 5:return tt(e.type);case 16:return tt("Lazy");case 13:return tt("Suspense");case 19:return tt("SuspenseList");case 0:case 2:case 15:return rt(e.type,!1);case 11:return rt(e.type.render,!1);case 1:return rt(e.type,!0);default:return""}}function Tn(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var An=lt(null),Ln=null,kn=null,Nn=null;function In(){Nn=kn=Ln=null}function Rn(e,t,n){K?(ct(An,t._currentValue),t._currentValue=n):(ct(An,t._currentValue2),t._currentValue2=n)}function Hn(e){var t=An.current;st(An),K?e._currentValue=t:e._currentValue2=t}function Vn(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Dn(e,t){Ln=e,Nn=kn=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Io=!0),e.firstContext=null)}function jn(e){var t=K?e._currentValue:e._currentValue2;if(Nn!==e)if(e={context:e,memoizedValue:t,next:null},null===kn){if(null===Ln)throw Error(a(308));kn=e,Ln.dependencies={lanes:0,firstContext:e}}else kn=kn.next=e;return t}var Fn=null;function Bn(e){null===Fn?Fn=[e]:Fn.push(e)}function Un(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Bn(t)):(n.next=o.next,o.next=n),t.interleaved=n,Gn(e,r)}function Gn(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var qn=!1;function Wn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kn(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function $n(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&ra)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Gn(e,n)}return null===(o=r.interleaved)?(t.next=t,Bn(r)):(t.next=o.next,o.next=t),r.interleaved=t,Gn(e,n)}function Xn(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,kt(e,n)}}function Zn(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qn(e,t,n,r){var o=e.updateQueue;qn=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var c=s,u=c.next;c.next=null,null===l?a=u:l.next=u,l=c;var d=e.alternate;null!==d&&(s=(d=d.updateQueue).lastBaseUpdate)!==l&&(null===s?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c)}if(null!==a){var h=o.baseState;for(l=0,d=u=c=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==d&&(d=d.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(v=m.payload)){h=v.call(p,h,f);break e}h=v;break e;case 3:v.flags=-65537&v.flags|128;case 0:if(null==(f="function"==typeof(v=m.payload)?v.call(p,h,f):v))break e;h=i({},h,f);break e;case 2:qn=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(u=d=p,c=h):d=d.next=p,l|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===d&&(c=h),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,null!==(t=o.shared.interleaved)){o=t;do{l|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);da|=l,e.lanes=l,e.memoizedState=h}}function Jn(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var er=(new r.Component).refs;function tr(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var nr={isMounted:function(e){return!!(e=e._reactInternals)&&O(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Aa(),o=La(e),i=$n(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Yn(e,i,o))&&(ka(t,e,o,r),Xn(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Aa(),o=La(e),i=$n(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Yn(e,i,o))&&(ka(t,e,o,r),Xn(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Aa(),r=La(e),o=$n(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Yn(e,o,r))&&(ka(t,e,r,n),Xn(t,e,r))}};function rr(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&zn(n,r)&&zn(o,i))}function or(e,t,n){var r=!1,o=ut,i=t.contextType;return"object"==typeof i&&null!==i?i=jn(i):(o=vt(t)?ft:dt.current,i=(r=null!=(r=t.contextTypes))?pt(e,o):ut),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=nr,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ir(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&nr.enqueueReplaceState(t,t.state,null)}function ar(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=er,Wn(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=jn(i):(i=vt(t)?ft:dt.current,o.context=pt(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(tr(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&nr.enqueueReplaceState(o,o.state,null),Qn(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function lr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===er&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function sr(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cr(e){return(0,e._init)(e._payload)}function ur(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=cl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function d(e,t,n,r){return null===t||6!==t.tag?((t=fl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function h(e,t,n,r){var i=n.type;return i===u?p(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===b&&cr(i)===t.type)?((r=o(t,n.props)).ref=lr(e,t,n),r.return=e,r):((r=ul(n.type,n.key,n.props,null,e.mode,r)).ref=lr(e,t,n),r.return=e,r)}function f(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=pl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function p(e,t,n,r,i){return null===t||7!==t.tag?((t=dl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function v(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=fl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case s:return(n=ul(t.type,t.key,t.props,null,e.mode,n)).ref=lr(e,null,t),n.return=e,n;case c:return(t=pl(t,e.mode,n)).return=e,t;case b:return v(e,(0,t._init)(t._payload),n)}if(L(t)||E(t))return(t=dl(t,e.mode,n,null)).return=e,t;sr(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:d(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case s:return n.key===o?h(e,t,n,r):null;case c:return n.key===o?f(e,t,n,r):null;case b:return m(e,t,(o=n._init)(n._payload),r)}if(L(n)||E(n))return null!==o?null:p(e,t,n,r,null);sr(e,n)}return null}function g(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return d(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case s:return h(t,e=e.get(null===r.key?n:r.key)||null,r,o);case c:return f(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return g(e,t,n,(0,r._init)(r._payload),o)}if(L(r)||E(r))return p(t,e=e.get(n)||null,r,o,null);sr(t,r)}return null}function y(o,a,l,s){for(var c=null,u=null,d=a,h=a=0,f=null;null!==d&&h<l.length;h++){d.index>h?(f=d,d=null):f=d.sibling;var p=m(o,d,l[h],s);if(null===p){null===d&&(d=f);break}e&&d&&null===p.alternate&&t(o,d),a=i(p,a,h),null===u?c=p:u.sibling=p,u=p,d=f}if(h===l.length)return n(o,d),vn&&cn(o,h),c;if(null===d){for(;h<l.length;h++)null!==(d=v(o,l[h],s))&&(a=i(d,a,h),null===u?c=d:u.sibling=d,u=d);return vn&&cn(o,h),c}for(d=r(o,d);h<l.length;h++)null!==(f=g(d,o,h,l[h],s))&&(e&&null!==f.alternate&&d.delete(null===f.key?h:f.key),a=i(f,a,h),null===u?c=f:u.sibling=f,u=f);return e&&d.forEach((function(e){return t(o,e)})),vn&&cn(o,h),c}function w(o,l,s,c){var u=E(s);if("function"!=typeof u)throw Error(a(150));if(null==(s=u.call(s)))throw Error(a(151));for(var d=u=null,h=l,f=l=0,p=null,y=s.next();null!==h&&!y.done;f++,y=s.next()){h.index>f?(p=h,h=null):p=h.sibling;var b=m(o,h,y.value,c);if(null===b){null===h&&(h=p);break}e&&h&&null===b.alternate&&t(o,h),l=i(b,l,f),null===d?u=b:d.sibling=b,d=b,h=p}if(y.done)return n(o,h),vn&&cn(o,f),u;if(null===h){for(;!y.done;f++,y=s.next())null!==(y=v(o,y.value,c))&&(l=i(y,l,f),null===d?u=y:d.sibling=y,d=y);return vn&&cn(o,f),u}for(h=r(o,h);!y.done;f++,y=s.next())null!==(y=g(h,o,f,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?f:y.key),l=i(y,l,f),null===d?u=y:d.sibling=y,d=y);return e&&h.forEach((function(e){return t(o,e)})),vn&&cn(o,f),u}return function e(r,i,a,d){if("object"==typeof a&&null!==a&&a.type===u&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case s:e:{for(var h=a.key,f=i;null!==f;){if(f.key===h){if((h=a.type)===u){if(7===f.tag){n(r,f.sibling),(i=o(f,a.props.children)).return=r,r=i;break e}}else if(f.elementType===h||"object"==typeof h&&null!==h&&h.$$typeof===b&&cr(h)===f.type){n(r,f.sibling),(i=o(f,a.props)).ref=lr(r,f,a),i.return=r,r=i;break e}n(r,f);break}t(r,f),f=f.sibling}a.type===u?((i=dl(a.props.children,r.mode,d,a.key)).return=r,r=i):((d=ul(a.type,a.key,a.props,null,r.mode,d)).ref=lr(r,i,a),d.return=r,r=d)}return l(r);case c:e:{for(f=a.key;null!==i;){if(i.key===f){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=pl(a,r.mode,d)).return=r,r=i}return l(r);case b:return e(r,i,(f=a._init)(a._payload),d)}if(L(a))return y(r,i,a,d);if(E(a))return w(r,i,a,d);sr(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=fl(a,r.mode,d)).return=r,r=i),l(r)):n(r,i)}}var dr=ur(!0),hr=ur(!1),fr={},pr=lt(fr),vr=lt(fr),mr=lt(fr);function gr(e){if(e===fr)throw Error(a(174));return e}function yr(e,t){ct(mr,t),ct(vr,e),ct(pr,fr),e=N(t),st(pr),ct(pr,e)}function br(){st(pr),st(vr),st(mr)}function wr(e){var t=gr(mr.current),n=gr(pr.current);n!==(t=I(n,e.type,t))&&(ct(vr,e),ct(pr,t))}function _r(e){vr.current===e&&(st(pr),st(vr))}var Er=lt(0);function xr(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Re(n)||He(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=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 Sr=[];function Or(){for(var e=0;e<Sr.length;e++){var t=Sr[e];K?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}Sr.length=0}var Cr=l.ReactCurrentDispatcher,Mr=l.ReactCurrentBatchConfig,zr=0,Pr=null,Tr=null,Ar=null,Lr=!1,kr=!1,Nr=0,Ir=0;function Rr(){throw Error(a(321))}function Hr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Kt(e[n],t[n]))return!1;return!0}function Vr(e,t,n,r,o,i){if(zr=i,Pr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Cr.current=null===e||null===e.memoizedState?Eo:xo,e=n(r,o),kr){i=0;do{if(kr=!1,Nr=0,25<=i)throw Error(a(301));i+=1,Ar=Tr=null,t.updateQueue=null,Cr.current=So,e=n(r,o)}while(kr)}if(Cr.current=_o,t=null!==Tr&&null!==Tr.next,zr=0,Ar=Tr=Pr=null,Lr=!1,t)throw Error(a(300));return e}function Dr(){var e=0!==Nr;return Nr=0,e}function jr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ar?Pr.memoizedState=Ar=e:Ar=Ar.next=e,Ar}function Fr(){if(null===Tr){var e=Pr.alternate;e=null!==e?e.memoizedState:null}else e=Tr.next;var t=null===Ar?Pr.memoizedState:Ar.next;if(null!==t)Ar=t,Tr=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Tr=e).memoizedState,baseState:Tr.baseState,baseQueue:Tr.baseQueue,queue:Tr.queue,next:null},null===Ar?Pr.memoizedState=Ar=e:Ar=Ar.next=e}return Ar}function Br(e,t){return"function"==typeof t?t(e):t}function Ur(e){var t=Fr(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Tr,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,c=null,u=i;do{var d=u.lane;if((zr&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=h,l=r):c=c.next=h,Pr.lanes|=d,da|=d}u=u.next}while(null!==u&&u!==i);null===c?l=r:c.next=s,Kt(r,t.memoizedState)||(Io=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,Pr.lanes|=i,da|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gr(e){var t=Fr(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);Kt(i,t.memoizedState)||(Io=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function qr(){}function Wr(e,t){var n=Pr,r=Fr(),o=t(),i=!Kt(r.memoizedState,o);if(i&&(r.memoizedState=o,Io=!0),r=r.queue,oo(Yr.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==Ar&&1&Ar.memoizedState.tag){if(n.flags|=2048,Jr(9,$r.bind(null,n,r,o,t),void 0,null),null===oa)throw Error(a(349));0!=(30&zr)||Kr(n,t,o)}return o}function Kr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Pr.updateQueue)?(t={lastEffect:null,stores:null},Pr.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function $r(e,t,n,r){t.value=n,t.getSnapshot=r,Xr(t)&&Zr(e)}function Yr(e,t,n){return n((function(){Xr(t)&&Zr(e)}))}function Xr(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kt(e,n)}catch(e){return!0}}function Zr(e){var t=Gn(e,1);null!==t&&ka(t,e,1,-1)}function Qr(e){var t=jr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Br,lastRenderedState:e},t.queue=e,e=e.dispatch=go.bind(null,Pr,e),[t.memoizedState,e]}function Jr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Pr.updateQueue)?(t={lastEffect:null,stores:null},Pr.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function eo(){return Fr().memoizedState}function to(e,t,n,r){var o=jr();Pr.flags|=e,o.memoizedState=Jr(1|t,n,void 0,void 0===r?null:r)}function no(e,t,n,r){var o=Fr();r=void 0===r?null:r;var i=void 0;if(null!==Tr){var a=Tr.memoizedState;if(i=a.destroy,null!==r&&Hr(r,a.deps))return void(o.memoizedState=Jr(t,n,i,r))}Pr.flags|=e,o.memoizedState=Jr(1|t,n,i,r)}function ro(e,t){return to(8390656,8,e,t)}function oo(e,t){return no(2048,8,e,t)}function io(e,t){return no(4,2,e,t)}function ao(e,t){return no(4,4,e,t)}function lo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function so(e,t,n){return n=null!=n?n.concat([e]):null,no(4,4,lo.bind(null,t,e),n)}function co(){}function uo(e,t){var n=Fr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Hr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ho(e,t){var n=Fr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Hr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fo(e,t,n){return 0==(21&zr)?(e.baseState&&(e.baseState=!1,Io=!0),e.memoizedState=n):(Kt(n,t)||(n=Tt(),Pr.lanes|=n,da|=n,e.baseState=!0),t)}function po(e,t){var n=Nt;Nt=0!==n&&4>n?n:4,e(!0);var r=Mr.transition;Mr.transition={};try{e(!1),t()}finally{Nt=n,Mr.transition=r}}function vo(){return Fr().memoizedState}function mo(e,t,n){var r=La(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yo(e)?bo(t,n):null!==(n=Un(e,t,n,r))&&(ka(n,e,r,Aa()),wo(n,t,r))}function go(e,t,n){var r=La(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yo(e))bo(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,Kt(l,a)){var s=t.interleaved;return null===s?(o.next=o,Bn(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Un(e,t,o,r))&&(ka(n,e,r,o=Aa()),wo(n,t,r))}}function yo(e){var t=e.alternate;return e===Pr||null!==t&&t===Pr}function bo(e,t){kr=Lr=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wo(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,kt(e,n)}}var _o={readContext:jn,useCallback:Rr,useContext:Rr,useEffect:Rr,useImperativeHandle:Rr,useInsertionEffect:Rr,useLayoutEffect:Rr,useMemo:Rr,useReducer:Rr,useRef:Rr,useState:Rr,useDebugValue:Rr,useDeferredValue:Rr,useTransition:Rr,useMutableSource:Rr,useSyncExternalStore:Rr,useId:Rr,unstable_isNewReconciler:!1},Eo={readContext:jn,useCallback:function(e,t){return jr().memoizedState=[e,void 0===t?null:t],e},useContext:jn,useEffect:ro,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,to(4194308,4,lo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return to(4194308,4,e,t)},useInsertionEffect:function(e,t){return to(4,2,e,t)},useMemo:function(e,t){var n=jr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jr();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mo.bind(null,Pr,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},jr().memoizedState=e},useState:Qr,useDebugValue:co,useDeferredValue:function(e){return jr().memoizedState=e},useTransition:function(){var e=Qr(!1),t=e[0];return e=po.bind(null,e[1]),jr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pr,o=jr();if(vn){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===oa)throw Error(a(349));0!=(30&zr)||Kr(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ro(Yr.bind(null,r,i,e),[e]),r.flags|=2048,Jr(9,$r.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=jr(),t=oa.identifierPrefix;if(vn){var n=sn;t=":"+t+"R"+(n=(ln&~(1<<32-_t(ln)-1)).toString(32)+n),0<(n=Nr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ir++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},xo={readContext:jn,useCallback:uo,useContext:jn,useEffect:oo,useImperativeHandle:so,useInsertionEffect:io,useLayoutEffect:ao,useMemo:ho,useReducer:Ur,useRef:eo,useState:function(){return Ur(Br)},useDebugValue:co,useDeferredValue:function(e){return fo(Fr(),Tr.memoizedState,e)},useTransition:function(){return[Ur(Br)[0],Fr().memoizedState]},useMutableSource:qr,useSyncExternalStore:Wr,useId:vo,unstable_isNewReconciler:!1},So={readContext:jn,useCallback:uo,useContext:jn,useEffect:oo,useImperativeHandle:so,useInsertionEffect:io,useLayoutEffect:ao,useMemo:ho,useReducer:Gr,useRef:eo,useState:function(){return Gr(Br)},useDebugValue:co,useDeferredValue:function(e){var t=Fr();return null===Tr?t.memoizedState=e:fo(t,Tr.memoizedState,e)},useTransition:function(){return[Gr(Br)[0],Fr().memoizedState]},useMutableSource:qr,useSyncExternalStore:Wr,useId:vo,unstable_isNewReconciler:!1};function Oo(e,t){try{var n="",r=t;do{n+=Pn(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function Co(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Mo(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var zo="function"==typeof WeakMap?WeakMap:Map;function Po(e,t,n){(n=$n(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_a||(_a=!0,Ea=r),Mo(0,t)},n}function To(e,t,n){(n=$n(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Mo(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){Mo(0,t),"function"!=typeof r&&(null===xa?xa=new Set([this]):xa.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Ao(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new zo;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=tl.bind(null,e,t,n),t.then(e,e))}function Lo(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ko(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=$n(-1,1)).tag=2,Yn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var No=l.ReactCurrentOwner,Io=!1;function Ro(e,t,n,r){t.child=null===e?hr(t,null,n,r):dr(t,e.child,n,r)}function Ho(e,t,n,r,o){n=n.render;var i=t.ref;return Dn(t,o),r=Vr(e,t,n,r,i,o),n=Dr(),null===e||Io?(vn&&n&&dn(t),t.flags|=1,Ro(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ai(e,t,o))}function Vo(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||sl(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ul(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Do(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:zn)(a,r)&&e.ref===t.ref)return ai(e,t,o)}return t.flags|=1,(e=cl(i,r)).ref=t.ref,e.return=t,t.child=e}function Do(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(zn(i,r)&&e.ref===t.ref){if(Io=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,ai(e,t,o);0!=(131072&e.flags)&&(Io=!0)}}return Bo(e,t,n,r,o)}function jo(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ct(sa,la),la|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ct(sa,la),la|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ct(sa,la),la|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ct(sa,la),la|=r;return Ro(e,t,o,n),t.child}function Fo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bo(e,t,n,r,o){var i=vt(n)?ft:dt.current;return i=pt(t,i),Dn(t,o),n=Vr(e,t,n,r,i,o),r=Dr(),null===e||Io?(vn&&r&&dn(t),t.flags|=1,Ro(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ai(e,t,o))}function Uo(e,t,n,r,o){if(vt(n)){var i=!0;bt(t)}else i=!1;if(Dn(t,o),null===t.stateNode)ii(e,t),or(t,n,r),ar(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;c="object"==typeof c&&null!==c?jn(c):pt(t,c=vt(n)?ft:dt.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==c)&&ir(t,a,r,c),qn=!1;var h=t.memoizedState;a.state=h,Qn(t,r,a,o),s=t.memoizedState,l!==r||h!==s||ht.current||qn?("function"==typeof u&&(tr(t,n,u,r),s=t.memoizedState),(l=qn||rr(t,n,l,r,h,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Kn(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Tn(t.type,l),a.props=c,d=t.pendingProps,h=a.context,s="object"==typeof(s=n.contextType)&&null!==s?jn(s):pt(t,s=vt(n)?ft:dt.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||h!==s)&&ir(t,a,r,s),qn=!1,h=t.memoizedState,a.state=h,Qn(t,r,a,o);var p=t.memoizedState;l!==d||h!==p||ht.current||qn?("function"==typeof f&&(tr(t,n,f,r),p=t.memoizedState),(c=qn||rr(t,n,c,r,h,p,s)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Go(e,t,n,r,i,o)}function Go(e,t,n,r,o,i){Fo(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&wt(t,n,!1),ai(e,t,i);r=t.stateNode,No.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=dr(t,e.child,null,i),t.child=dr(t,null,l,i)):Ro(e,t,l,i),t.memoizedState=r.state,o&&wt(t,n,!0),t.child}function qo(e){var t=e.stateNode;t.pendingContext?gt(0,t.pendingContext,t.pendingContext!==t.context):t.context&>(0,t.context,!1),yr(e,t.containerInfo)}function Wo(e,t,n,r,o){return On(),Cn(o),t.flags|=256,Ro(e,t,n,r),t.child}var Ko,$o,Yo,Xo,Zo={dehydrated:null,treeContext:null,retryLane:0};function Qo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jo(e,t,n){var r,o=t.pendingProps,i=Er.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),ct(Er,1&i),null===e)return _n(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:He(e)?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=hl(s,o,0,null),e=dl(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Qo(n),t.memoizedState=Zo,e):ei(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,ti(e,t,l,r=Co(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=hl({mode:"visible",children:r.children},o,0,null),(i=dl(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&dr(t,e.child,null,l),t.child.memoizedState=Qo(l),t.memoizedState=Zo,i);if(0==(1&t.mode))return ti(e,t,l,null);if(He(o))return r=Ve(o).digest,ti(e,t,l,r=Co(i=Error(a(419)),r,void 0));if(n=0!=(l&e.childLanes),Io||n){if(null!==(r=oa)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Gn(e,o),ka(r,e,o,-1))}return qa(),ti(e,t,l,r=Co(Error(a(421))))}return Re(o)?(t.flags|=128,t.child=e.child,t=rl.bind(null,e),De(o,t),null):(e=i.treeContext,X&&(pn=Ue(o),fn=t,vn=!0,gn=null,mn=!1,null!==e&&(rn[on++]=ln,rn[on++]=sn,rn[on++]=an,ln=e.id,sn=e.overflow,an=t)),(t=ei(t,r.children)).flags|=4096,t)}(e,t,s,o,r,i,n);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=cl(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=cl(r,l):(l=dl(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Qo(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Zo,o}return e=(l=e.child).sibling,o=cl(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function ei(e,t){return(t=hl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ti(e,t,n,r){return null!==r&&Cn(r),dr(t,e.child,null,n),(e=ei(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function ni(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Vn(e.return,t,n)}function ri(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function oi(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ro(e,t,r.children,n),0!=(2&(r=Er.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ni(e,n,t);else if(19===e.tag)ni(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ct(Er,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===xr(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ri(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===xr(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ri(t,!0,n,null,i);break;case"together":ri(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ii(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ai(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),da|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=cl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=cl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function li(e){e.flags|=4}function si(e,t){if(null!==e&&e.child===t.child)return!0;if(0!=(16&t.flags))return!1;for(e=t.child;null!==e;){if(0!=(12854&e.flags)||0!=(12854&e.subtreeFlags))return!1;e=e.sibling}return!0}if($)Ko=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)D(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},$o=function(){},Yo=function(e,t,n,r,o){if((e=e.memoizedProps)!==r){var i=t.stateNode,a=gr(pr.current);n=F(i,n,e,r,o,a),(t.updateQueue=n)&&li(t)}},Xo=function(e,t,n,r){n!==r&&li(t)};else if(Y){Ko=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var i=o.stateNode;n&&r&&(i=Ae(i,o.type,o.memoizedProps,o)),D(e,i)}else if(6===o.tag)i=o.stateNode,n&&r&&(i=Le(i,o.memoizedProps,o)),D(e,i);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(i=o.child)&&(i.return=o),Ko(e,o,!0,!0);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};var ci=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var i=o.stateNode;n&&r&&(i=Ae(i,o.type,o.memoizedProps,o)),ze(e,i)}else if(6===o.tag)i=o.stateNode,n&&r&&(i=Le(i,o.memoizedProps,o)),ze(e,i);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(i=o.child)&&(i.return=o),ci(e,o,!0,!0);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}};$o=function(e,t){var n=t.stateNode;if(!si(e,t)){e=n.containerInfo;var r=Me(e);ci(r,t,!1,!1),n.pendingChildren=r,li(t),Pe(e,r)}},Yo=function(e,t,n,r,o){var i=e.stateNode,a=e.memoizedProps;if((e=si(e,t))&&a===r)t.stateNode=i;else{var l=t.stateNode,s=gr(pr.current),c=null;a!==r&&(c=F(l,n,a,r,o,s)),e&&null===c?t.stateNode=i:(i=Ce(i,c,n,a,r,t,e,l),j(i,n,r,o,s)&&li(t),t.stateNode=i,e?li(t):Ko(i,t,!1,!1))}},Xo=function(e,t,n,r){n!==r?(e=gr(mr.current),n=gr(pr.current),t.stateNode=U(r,e,n,t),li(t)):t.stateNode=e.stateNode}}else $o=function(){},Yo=function(){},Xo=function(){};function ui(e,t){if(!vn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function di(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hi(e,t,n){var r=t.pendingProps;switch(hn(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return di(t),null;case 1:case 17:return vt(t.type)&&mt(),di(t),null;case 3:return n=t.stateNode,br(),st(ht),st(dt),Or(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(xn(t)?li(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==gn&&(Ha(gn),gn=null))),$o(e,t),di(t),null;case 5:_r(t),n=gr(mr.current);var o=t.type;if(null!==e&&null!=t.stateNode)Yo(e,t,o,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return di(t),null}if(e=gr(pr.current),xn(t)){if(!X)throw Error(a(175));e=Ge(t.stateNode,t.type,t.memoizedProps,n,e,t,!mn),t.updateQueue=e,null!==e&&li(t)}else{var i=V(o,r,n,e,t);Ko(i,t,!1,!1),t.stateNode=i,j(i,o,r,n,e)&&li(t)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return di(t),null;case 6:if(e&&null!=t.stateNode)Xo(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(e=gr(mr.current),n=gr(pr.current),xn(t)){if(!X)throw Error(a(176));if(e=t.stateNode,n=t.memoizedProps,(r=qe(e,n,t,!mn))&&null!==(o=fn))switch(o.tag){case 3:Je(o.stateNode.containerInfo,e,n,0!=(1&o.mode));break;case 5:et(o.type,o.memoizedProps,o.stateNode,e,n,0!=(1&o.mode))}r&&li(t)}else t.stateNode=U(r,e,n,t)}return di(t),null;case 13:if(st(Er),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(vn&&null!==pn&&0!=(1&t.mode)&&0==(128&t.flags))Sn(),On(),t.flags|=98560,o=!1;else if(o=xn(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!X)throw Error(a(344));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));We(o,t)}else On(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;di(t),o=!1}else null!==gn&&(Ha(gn),gn=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((n=null!==r)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&Er.current)?0===ca&&(ca=3):qa())),null!==t.updateQueue&&(t.flags|=4),di(t),null);case 4:return br(),$o(e,t),null===e&&Q(t.stateNode.containerInfo),di(t),null;case 10:return Hn(t.type._context),di(t),null;case 19:if(st(Er),null===(o=t.memoizedState))return di(t),null;if(r=0!=(128&t.flags),null===(i=o.rendering))if(r)ui(o,!1);else{if(0!==ca||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=xr(e))){for(t.flags|=128,ui(o,!1),null!==(e=i.updateQueue)&&(t.updateQueue=e,t.flags|=4),t.subtreeFlags=0,e=n,n=t.child;null!==n;)o=e,(r=n).flags&=14680066,null===(i=r.alternate)?(r.childLanes=0,r.lanes=o,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=i.childLanes,r.lanes=i.lanes,r.child=i.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=i.memoizedProps,r.memoizedState=i.memoizedState,r.updateQueue=i.updateQueue,r.type=i.type,o=i.dependencies,r.dependencies=null===o?null:{lanes:o.lanes,firstContext:o.firstContext}),n=n.sibling;return ct(Er,1&Er.current|2),t.child}e=e.sibling}null!==o.tail&&jt()>ga&&(t.flags|=128,r=!0,ui(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=xr(i))){if(t.flags|=128,r=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),ui(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!vn)return di(t),null}else 2*jt()-o.renderingStartTime>ga&&1073741824!==n&&(t.flags|=128,r=!0,ui(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=jt(),t.sibling=null,e=Er.current,ct(Er,r?1&e|2:1&e),t):(di(t),null);case 22:case 23:return Fa(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&la)&&(di(t),$&&6&t.subtreeFlags&&(t.flags|=8192)):di(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function fi(e,t){switch(hn(t),t.tag){case 1:return vt(t.type)&&mt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return br(),st(ht),st(dt),Or(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return _r(t),null;case 13:if(st(Er),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));On()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return st(Er),null;case 4:return br(),null;case 10:return Hn(t.type._context),null;case 22:case 23:return Fa(),null;default:return null}}var pi=!1,vi=!1,mi="function"==typeof WeakSet?WeakSet:Set,gi=null;function yi(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){el(e,t,n)}else n.current=null}function bi(e,t,n){try{n()}catch(n){el(e,t,n)}}var wi=!1;function _i(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&bi(t,n,i)}o=o.next}while(o!==r)}}function Ei(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xi(e){var t=e.ref;if(null!==t){var n=e.stateNode;e=5===e.tag?k(n):n,"function"==typeof t?t(e):t.current=e}}function Si(e){var t=e.alternate;null!==t&&(e.alternate=null,Si(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&ee(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Oi(e){return 5===e.tag||3===e.tag||4===e.tag}function Ci(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Oi(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Mi(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?ge(n,e,t):he(n,e);else if(4!==r&&null!==(e=e.child))for(Mi(e,t,n),e=e.sibling;null!==e;)Mi(e,t,n),e=e.sibling}function zi(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?me(n,e,t):de(n,e);else if(4!==r&&null!==(e=e.child))for(zi(e,t,n),e=e.sibling;null!==e;)zi(e,t,n),e=e.sibling}var Pi=null,Ti=!1;function Ai(e,t,n){for(n=n.child;null!==n;)Li(e,t,n),n=n.sibling}function Li(e,t,n){if(Wt&&"function"==typeof Wt.onCommitFiberUnmount)try{Wt.onCommitFiberUnmount(qt,n)}catch(e){}switch(n.tag){case 5:vi||yi(n,t);case 6:if($){var r=Pi,o=Ti;Pi=null,Ai(e,t,n),Ti=o,null!==(Pi=r)&&(Ti?be(Pi,n.stateNode):ye(Pi,n.stateNode))}else Ai(e,t,n);break;case 18:$&&null!==Pi&&(Ti?Ze(Pi,n.stateNode):Xe(Pi,n.stateNode));break;case 4:$?(r=Pi,o=Ti,Pi=n.stateNode.containerInfo,Ti=!0,Ai(e,t,n),Pi=r,Ti=o):(Y&&(r=n.stateNode.containerInfo,o=Me(r),Te(r,o)),Ai(e,t,n));break;case 0:case 11:case 14:case 15:if(!vi&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&bi(n,t,a),o=o.next}while(o!==r)}Ai(e,t,n);break;case 1:if(!vi&&(yi(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){el(n,t,e)}Ai(e,t,n);break;case 21:Ai(e,t,n);break;case 22:1&n.mode?(vi=(r=vi)||null!==n.memoizedState,Ai(e,t,n),vi=r):Ai(e,t,n);break;default:Ai(e,t,n)}}function ki(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new mi),t.forEach((function(t){var r=ol.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ni(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t;if($){var s=l;e:for(;null!==s;){switch(s.tag){case 5:Pi=s.stateNode,Ti=!1;break e;case 3:case 4:Pi=s.stateNode.containerInfo,Ti=!0;break e}s=s.return}if(null===Pi)throw Error(a(160));Li(i,l,o),Pi=null,Ti=!1}else Li(i,l,o);var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){el(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Ii(t,e),t=t.sibling}function Ii(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ni(t,e),Ri(e),4&r){try{_i(3,e,e.return),Ei(3,e)}catch(t){el(e,e.return,t)}try{_i(5,e,e.return)}catch(t){el(e,e.return,t)}}break;case 1:Ni(t,e),Ri(e),512&r&&null!==n&&yi(n,n.return);break;case 5:if(Ni(t,e),Ri(e),512&r&&null!==n&&yi(n,n.return),$){if(32&e.flags){var o=e.stateNode;try{we(o)}catch(t){el(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps;if(n=null!==n?n.memoizedProps:i,r=e.type,t=e.updateQueue,e.updateQueue=null,null!==t)try{ve(o,t,r,n,i,e)}catch(t){el(e,e.return,t)}}}break;case 6:if(Ni(t,e),Ri(e),4&r&&$){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps,n=null!==n?n.memoizedProps:i;try{fe(o,n,i)}catch(t){el(e,e.return,t)}}break;case 3:if(Ni(t,e),Ri(e),4&r){if($&&X&&null!==n&&n.memoizedState.isDehydrated)try{$e(t.containerInfo)}catch(t){el(e,e.return,t)}if(Y){o=t.containerInfo,i=t.pendingChildren;try{Te(o,i)}catch(t){el(e,e.return,t)}}}break;case 4:if(Ni(t,e),Ri(e),4&r&&Y){o=(i=e.stateNode).containerInfo,i=i.pendingChildren;try{Te(o,i)}catch(t){el(e,e.return,t)}}break;case 13:Ni(t,e),Ri(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(ma=jt())),4&r&&ki(e);break;case 22:var l=null!==n&&null!==n.memoizedState;if(1&e.mode?(vi=(n=vi)||l,Ni(t,e),vi=n):Ni(t,e),Ri(e),8192&r){if(n=null!==e.memoizedState,(e.stateNode.isHidden=n)&&!l&&0!=(1&e.mode))for(gi=e,r=e.child;null!==r;){for(t=gi=r;null!==gi;){var s=(l=gi).child;switch(l.tag){case 0:case 11:case 14:case 15:_i(4,l,l.return);break;case 1:yi(l,l.return);var c=l.stateNode;if("function"==typeof c.componentWillUnmount){var u=l,d=l.return;try{var h=u;c.props=h.memoizedProps,c.state=h.memoizedState,c.componentWillUnmount()}catch(e){el(u,d,e)}}break;case 5:yi(l,l.return);break;case 22:if(null!==l.memoizedState){ji(t);continue}}null!==s?(s.return=l,gi=s):ji(t)}r=r.sibling}if($)e:if(r=null,$)for(t=e;;){if(5===t.tag){if(null===r){r=t;try{o=t.stateNode,n?_e(o):xe(t.stateNode,t.memoizedProps)}catch(t){el(e,e.return,t)}}}else if(6===t.tag){if(null===r)try{i=t.stateNode,n?Ee(i):Se(i,t.memoizedProps)}catch(t){el(e,e.return,t)}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}}break;case 19:Ni(t,e),Ri(e),4&r&&ki(e);break;case 21:break;default:Ni(t,e),Ri(e)}}function Ri(e){var t=e.flags;if(2&t){try{if($){e:{for(var n=e.return;null!==n;){if(Oi(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(we(o),r.flags&=-33),zi(e,Ci(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;Mi(e,Ci(e),i);break;default:throw Error(a(161))}}}catch(t){el(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Hi(e,t,n){gi=e,Vi(e,t,n)}function Vi(e,t,n){for(var r=0!=(1&e.mode);null!==gi;){var o=gi,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||pi;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||vi;l=pi;var c=vi;if(pi=a,(vi=s)&&!c)for(gi=o;null!==gi;)s=(a=gi).child,22===a.tag&&null!==a.memoizedState?Fi(o):null!==s?(s.return=a,gi=s):Fi(o);for(;null!==i;)gi=i,Vi(i,t,n),i=i.sibling;gi=o,pi=l,vi=c}Di(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,gi=i):Di(e)}}function Di(e){for(;null!==gi;){var t=gi;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:vi||Ei(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!vi)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Tn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Jn(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=k(t.child.stateNode);break;case 1:n=t.child.stateNode}Jn(t,l,n)}break;case 5:var s=t.stateNode;null===n&&4&t.flags&&pe(s,t.type,t.memoizedProps,t);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(X&&null===t.memoizedState){var c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&Ye(d)}}}break;default:throw Error(a(163))}vi||512&t.flags&&xi(t)}catch(e){el(t,t.return,e)}}if(t===e){gi=null;break}if(null!==(n=t.sibling)){n.return=t.return,gi=n;break}gi=t.return}}function ji(e){for(;null!==gi;){var t=gi;if(t===e){gi=null;break}var n=t.sibling;if(null!==n){n.return=t.return,gi=n;break}gi=t.return}}function Fi(e){for(;null!==gi;){var t=gi;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ei(4,t)}catch(e){el(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){el(t,o,e)}}var i=t.return;try{xi(t)}catch(e){el(t,i,e)}break;case 5:var a=t.return;try{xi(t)}catch(e){el(t,a,e)}}}catch(e){el(t,t.return,e)}if(t===e){gi=null;break}var l=t.sibling;if(null!==l){l.return=t.return,gi=l;break}gi=t.return}}var Bi=0,Ui=1,Gi=2,qi=3,Wi=4;if("function"==typeof Symbol&&Symbol.for){var Ki=Symbol.for;Bi=Ki("selector.component"),Ui=Ki("selector.has_pseudo_class"),Gi=Ki("selector.role"),qi=Ki("selector.test_id"),Wi=Ki("selector.text")}function $i(e){var t=Z(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(a(364));return t}if(null===(e=oe(e)))throw Error(a(362));return e.stateNode.current}function Yi(e,t){switch(t.$$typeof){case Bi:if(e.type===t.value)return!0;break;case Ui:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],o=e[n++],i=t[o];if(5!==r.tag||!le(r)){for(;null!=i&&Yi(r,i);)i=t[++o];if(o===t.length){t=!0;break e}for(r=r.child;null!==r;)e.push(r,o),r=r.sibling}}t=!1}return t;case Gi:if(5===e.tag&&se(e.stateNode,t.value))return!0;break;case Wi:if((5===e.tag||6===e.tag)&&null!==(e=ae(e))&&0<=e.indexOf(t.value))return!0;break;case qi:if(5===e.tag&&"string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase())return!0;break;default:throw Error(a(365))}return!1}function Xi(e){switch(e.$$typeof){case Bi:return"<"+(x(e.value)||"Unknown")+">";case Ui:return":has("+(Xi(e)||"")+")";case Gi:return'[role="'+e.value+'"]';case Wi:return'"'+e.value+'"';case qi:return'[data-testname="'+e.value+'"]';default:throw Error(a(365))}}function Zi(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var o=e[r++],i=e[r++],a=t[i];if(5!==o.tag||!le(o)){for(;null!=a&&Yi(o,a);)a=t[++i];if(i===t.length)n.push(o);else for(o=o.child;null!==o;)e.push(o,i),o=o.sibling}}return n}function Qi(e,t){if(!re)throw Error(a(363));e=Zi(e=$i(e),t),t=[],e=Array.from(e);for(var n=0;n<e.length;){var r=e[n++];if(5===r.tag)le(r)||t.push(r.stateNode);else for(r=r.child;null!==r;)e.push(r),r=r.sibling}return t}var Ji=Math.ceil,ea=l.ReactCurrentDispatcher,ta=l.ReactCurrentOwner,na=l.ReactCurrentBatchConfig,ra=0,oa=null,ia=null,aa=0,la=0,sa=lt(0),ca=0,ua=null,da=0,ha=0,fa=0,pa=null,va=null,ma=0,ga=1/0,ya=null;function ba(){ga=jt()+500}var wa,_a=!1,Ea=null,xa=null,Sa=!1,Oa=null,Ca=0,Ma=0,za=null,Pa=-1,Ta=0;function Aa(){return 0!=(6&ra)?jt():-1!==Pa?Pa:Pa=jt()}function La(e){return 0==(1&e.mode)?1:0!=(2&ra)&&0!==aa?aa&-aa:null!==Mn.transition?(0===Ta&&(Ta=Tt()),Ta):0!==(e=Nt)?e:J()}function ka(e,t,n,r){if(50<Ma)throw Ma=0,za=null,Error(a(185));Lt(e,n,r),0!=(2&ra)&&e===oa||(e===oa&&(0==(2&ra)&&(ha|=n),4===ca&&Va(e,aa)),Na(e,r),1===n&&0===ra&&0==(1&t.mode)&&(ba(),Yt&&Qt()))}function Na(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-_t(i),l=1<<a,s=o[a];-1===s?0!=(l&n)&&0==(l&r)||(o[a]=zt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=Mt(e,e===oa?aa:0);if(0===r)null!==n&&Ht(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ht(n),1===t)0===e.tag?function(e){Yt=!0,Zt(e)}(Da.bind(null,e)):Zt(Da.bind(null,e)),te?ne((function(){0==(6&ra)&&Qt()})):Rt(Ft,Qt),n=null;else{switch(It(r)){case 1:n=Ft;break;case 4:n=Bt;break;case 16:default:n=Ut;break;case 536870912:n=Gt}n=il(n,Ia.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ia(e,t){if(Pa=-1,Ta=0,0!=(6&ra))throw Error(a(327));var n=e.callbackNode;if(Qa()&&e.callbackNode!==n)return null;var r=Mt(e,e===oa?aa:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Wa(e,r);else{t=r;var o=ra;ra|=2;var i=Ga();for(oa===e&&aa===t||(ya=null,ba(),Ba(e,t));;)try{$a();break}catch(t){Ua(e,t)}In(),ea.current=i,ra=o,null!==ia?t=0:(oa=null,aa=0,t=ca)}if(0!==t){if(2===t&&0!==(o=Pt(e))&&(r=o,t=Ra(e,o)),1===t)throw n=ua,Ba(e,0),Va(e,r),Na(e,jt()),n;if(6===t)Va(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Kt(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=Wa(e,r))&&0!==(i=Pt(e))&&(r=i,t=Ra(e,i)),1===t))throw n=ua,Ba(e,0),Va(e,r),Na(e,jt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:Za(e,va,ya);break;case 3:if(Va(e,r),(130023424&r)===r&&10<(t=ma+500-jt())){if(0!==Mt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Aa(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=G(Za.bind(null,e,va,ya),t);break}Za(e,va,ya);break;case 4:if(Va(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-_t(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=jt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ji(r/1960))-r)){e.timeoutHandle=G(Za.bind(null,e,va,ya),r);break}Za(e,va,ya);break;default:throw Error(a(329))}}}return Na(e,jt()),e.callbackNode===n?Ia.bind(null,e):null}function Ra(e,t){var n=pa;return e.current.memoizedState.isDehydrated&&(Ba(e,t).flags|=256),2!==(e=Wa(e,t))&&(t=va,va=n,null!==t&&Ha(t)),e}function Ha(e){null===va?va=e:va.push.apply(va,e)}function Va(e,t){for(t&=~fa,t&=~ha,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function Da(e){if(0!=(6&ra))throw Error(a(327));Qa();var t=Mt(e,0);if(0==(1&t))return Na(e,jt()),null;var n=Wa(e,t);if(0!==e.tag&&2===n){var r=Pt(e);0!==r&&(t=r,n=Ra(e,r))}if(1===n)throw n=ua,Ba(e,0),Va(e,t),Na(e,jt()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Za(e,va,ya),Na(e,jt()),null}function ja(e){null!==Oa&&0===Oa.tag&&0==(6&ra)&&Qa();var t=ra;ra|=1;var n=na.transition,r=Nt;try{if(na.transition=null,Nt=1,e)return e()}finally{Nt=r,na.transition=n,0==(6&(ra=t))&&Qt()}}function Fa(){la=sa.current,st(sa)}function Ba(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==W&&(e.timeoutHandle=W,q(n)),null!==ia)for(n=ia.return;null!==n;){var r=n;switch(hn(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&mt();break;case 3:br(),st(ht),st(dt),Or();break;case 5:_r(r);break;case 4:br();break;case 13:case 19:st(Er);break;case 10:Hn(r.type._context);break;case 22:case 23:Fa()}n=n.return}if(oa=e,ia=e=cl(e.current,null),aa=la=t,ca=0,ua=null,fa=ha=da=0,va=pa=null,null!==Fn){for(t=0;t<Fn.length;t++)if(null!==(r=(n=Fn[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Fn=null}return e}function Ua(e,t){for(;;){var n=ia;try{if(In(),Cr.current=_o,Lr){for(var r=Pr.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Lr=!1}if(zr=0,Ar=Tr=Pr=null,kr=!1,Nr=0,ta.current=null,null===n||null===n.return){ca=1,ua=t,ia=null;break}e:{var i=e,l=n.return,s=n,c=t;if(t=aa,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,h=d.tag;if(0==(1&d.mode)&&(0===h||11===h||15===h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Lo(l);if(null!==p){p.flags&=-257,ko(p,l,s,0,t),1&p.mode&&Ao(i,u,t),c=u;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(c),t.updateQueue=m}else v.add(c);break e}if(0==(1&t)){Ao(i,u,t),qa();break e}c=Error(a(426))}else if(vn&&1&s.mode){var g=Lo(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),ko(g,l,s,0,t),Cn(Oo(c,s));break e}}i=c=Oo(c,s),4!==ca&&(ca=2),null===pa?pa=[i]:pa.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Zn(i,Po(0,c,t));break e;case 1:s=c;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===xa||!xa.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Zn(i,To(i,s,t));break e}}i=i.return}while(null!==i)}Xa(n)}catch(e){t=e,ia===n&&null!==n&&(ia=n=n.return);continue}break}}function Ga(){var e=ea.current;return ea.current=_o,null===e?_o:e}function qa(){0!==ca&&3!==ca&&2!==ca||(ca=4),null===oa||0==(268435455&da)&&0==(268435455&ha)||Va(oa,aa)}function Wa(e,t){var n=ra;ra|=2;var r=Ga();for(oa===e&&aa===t||(ya=null,Ba(e,t));;)try{Ka();break}catch(t){Ua(e,t)}if(In(),ra=n,ea.current=r,null!==ia)throw Error(a(261));return oa=null,aa=0,ca}function Ka(){for(;null!==ia;)Ya(ia)}function $a(){for(;null!==ia&&!Vt();)Ya(ia)}function Ya(e){var t=wa(e.alternate,e,la);e.memoizedProps=e.pendingProps,null===t?Xa(e):ia=t,ta.current=null}function Xa(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=hi(n,t,la)))return void(ia=n)}else{if(null!==(n=fi(n,t)))return n.flags&=32767,void(ia=n);if(null===e)return ca=6,void(ia=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(ia=t);ia=t=e}while(null!==t);0===ca&&(ca=5)}function Za(e,t,n){var r=Nt,o=na.transition;try{na.transition=null,Nt=1,function(e,t,n,r){do{Qa()}while(null!==Oa);if(0!=(6&ra))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-_t(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===oa&&(ia=oa=null,aa=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Sa||(Sa=!0,il(Ut,(function(){return Qa(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=na.transition,na.transition=null;var l=Nt;Nt=1;var s=ra;ra|=4,ta.current=null,function(e,t){for(R(e.containerInfo),gi=t;null!==gi;)if(t=(e=gi).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,gi=t;else for(;null!==gi;){e=gi;try{var n=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode,l=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:Tn(e.type,r),o);i.__reactInternalSnapshotBeforeUpdate=l}break;case 3:$&&Oe(e.stateNode.containerInfo);break;default:throw Error(a(163))}}catch(t){el(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,gi=t;break}gi=e.return}n=wi,wi=!1}(e,n),Ii(n,e),H(e.containerInfo),e.current=n,Hi(n,e,o),Dt(),ra=s,Nt=l,na.transition=i}else e.current=n;if(Sa&&(Sa=!1,Oa=e,Ca=o),0===(i=e.pendingLanes)&&(xa=null),function(e){if(Wt&&"function"==typeof Wt.onCommitFiberRoot)try{Wt.onCommitFiberRoot(qt,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),Na(e,jt()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(_a)throw _a=!1,e=Ea,Ea=null,e;0!=(1&Ca)&&0!==e.tag&&Qa(),0!=(1&(i=e.pendingLanes))?e===za?Ma++:(Ma=0,za=e):Ma=0,Qt()}(e,t,n,r)}finally{na.transition=o,Nt=r}return null}function Qa(){if(null!==Oa){var e=It(Ca),t=na.transition,n=Nt;try{if(na.transition=null,Nt=16>e?16:e,null===Oa)var r=!1;else{if(e=Oa,Oa=null,Ca=0,0!=(6&ra))throw Error(a(331));var o=ra;for(ra|=4,gi=e.current;null!==gi;){var i=gi,l=i.child;if(0!=(16&gi.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(gi=u;null!==gi;){var d=gi;switch(d.tag){case 0:case 11:case 15:_i(8,d,i)}var h=d.child;if(null!==h)h.return=d,gi=h;else for(;null!==gi;){var f=(d=gi).sibling,p=d.return;if(Si(d),d===u){gi=null;break}if(null!==f){f.return=p,gi=f;break}gi=p}}}var v=i.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}gi=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,gi=l;else e:for(;null!==gi;){if(0!=(2048&(i=gi).flags))switch(i.tag){case 0:case 11:case 15:_i(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,gi=y;break e}gi=i.return}}var b=e.current;for(gi=b;null!==gi;){var w=(l=gi).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,gi=w;else e:for(l=b;null!==gi;){if(0!=(2048&(s=gi).flags))try{switch(s.tag){case 0:case 11:case 15:Ei(9,s)}}catch(e){el(s,s.return,e)}if(s===l){gi=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,gi=_;break e}gi=s.return}}if(ra=o,Qt(),Wt&&"function"==typeof Wt.onPostCommitFiberRoot)try{Wt.onPostCommitFiberRoot(qt,e)}catch(e){}r=!0}return r}finally{Nt=n,na.transition=t}}return!1}function Ja(e,t,n){e=Yn(e,t=Po(0,t=Oo(n,t),1),1),t=Aa(),null!==e&&(Lt(e,1,t),Na(e,t))}function el(e,t,n){if(3===e.tag)Ja(e,e,n);else for(;null!==t;){if(3===t.tag){Ja(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===xa||!xa.has(r))){t=Yn(t,e=To(t,e=Oo(n,e),1),1),e=Aa(),null!==t&&(Lt(t,1,e),Na(t,e));break}}t=t.return}}function tl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Aa(),e.pingedLanes|=e.suspendedLanes&n,oa===e&&(aa&n)===n&&(4===ca||3===ca&&(130023424&aa)===aa&&500>jt()-ma?Ba(e,0):fa|=n),Na(e,t)}function nl(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ot,0==(130023424&(Ot<<=1))&&(Ot=4194304)));var n=Aa();null!==(e=Gn(e,t))&&(Lt(e,t,n),Na(e,n))}function rl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),nl(e,n)}function ol(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),nl(e,n)}function il(e,t){return Rt(e,t)}function al(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ll(e,t,n,r){return new al(e,t,n,r)}function sl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function cl(e,t){var n=e.alternate;return null===n?((n=ll(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ul(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)sl(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case u:return dl(n.children,o,i,t);case d:l=8,o|=8;break;case h:return(e=ll(12,n,t,2|o)).elementType=h,e.lanes=i,e;case m:return(e=ll(13,n,t,o)).elementType=m,e.lanes=i,e;case g:return(e=ll(19,n,t,o)).elementType=g,e.lanes=i,e;case w:return hl(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case f:l=10;break e;case p:l=9;break e;case v:l=11;break e;case y:l=14;break e;case b:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=ll(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function dl(e,t,n,r){return(e=ll(7,e,r,t)).lanes=n,e}function hl(e,t,n,r){return(e=ll(22,e,r,t)).elementType=w,e.lanes=n,e.stateNode={isHidden:!1},e}function fl(e,t,n){return(e=ll(6,e,null,t)).lanes=n,e}function pl(e,t,n){return(t=ll(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vl(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=W,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=At(0),this.expirationTimes=At(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=At(0),this.identifierPrefix=r,this.onRecoverableError=o,X&&(this.mutableSourceEagerHydrationData=null)}function ml(e,t,n,r,o,i,a,l,s){return e=new vl(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=ll(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wn(i),e}function gl(e){if(!e)return ut;e:{if(O(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(vt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(vt(n))return yt(e,n,t)}return t}function yl(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=z(t))?null:e.stateNode}function bl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function wl(e,t){bl(e,t),(e=e.alternate)&&bl(e,t)}function _l(e){return null===(e=z(e))?null:e.stateNode}function El(){return null}return wa=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ht.current)Io=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Io=!1,function(e,t,n){switch(t.tag){case 3:qo(t),On();break;case 5:wr(t);break;case 1:vt(t.type)&&bt(t);break;case 4:yr(t,t.stateNode.containerInfo);break;case 10:Rn(0,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ct(Er,1&Er.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Jo(e,t,n):(ct(Er,1&Er.current),null!==(e=ai(e,t,n))?e.sibling:null);ct(Er,1&Er.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return oi(e,t,n);t.flags|=128}var o=t.memoizedState;if(null!==o&&(o.rendering=null,o.tail=null,o.lastEffect=null),ct(Er,Er.current),r)break;return null;case 22:case 23:return t.lanes=0,jo(e,t,n)}return ai(e,t,n)}(e,t,n);Io=0!=(131072&e.flags)}else Io=!1,vn&&0!=(1048576&t.flags)&&un(t,nn,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ii(e,t),e=t.pendingProps;var o=pt(t,dt.current);Dn(t,n),o=Vr(null,t,r,e,o,n);var i=Dr();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,vt(r)?(i=!0,bt(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Wn(t),o.updater=nr,t.stateNode=o,o._reactInternals=t,ar(t,r,e,n),t=Go(null,t,r,!0,i,n)):(t.tag=0,vn&&i&&dn(t),Ro(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ii(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return sl(e)?1:0;if(null!=e){if((e=e.$$typeof)===v)return 11;if(e===y)return 14}return 2}(r),e=Tn(r,e),o){case 0:t=Bo(null,t,r,e,n);break e;case 1:t=Uo(null,t,r,e,n);break e;case 11:t=Ho(null,t,r,e,n);break e;case 14:t=Vo(null,t,r,Tn(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bo(e,t,r,o=t.elementType===r?o:Tn(r,o),n);case 1:return r=t.type,o=t.pendingProps,Uo(e,t,r,o=t.elementType===r?o:Tn(r,o),n);case 3:e:{if(qo(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Kn(e,t),Qn(t,r,null,n);var l=t.memoizedState;if(r=l.element,X&&i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Wo(e,t,r,n,o=Oo(Error(a(423)),t));break e}if(r!==o){t=Wo(e,t,r,n,o=Oo(Error(a(424)),t));break e}for(X&&(pn=Be(t.stateNode.containerInfo),fn=t,vn=!0,gn=null,mn=!1),n=hr(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(On(),r===o){t=ai(e,t,n);break e}Ro(e,t,r,n)}t=t.child}return t;case 5:return wr(t),null===e&&_n(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,B(r,o)?l=null:null!==i&&B(r,i)&&(t.flags|=32),Fo(e,t),Ro(e,t,l,n),t.child;case 6:return null===e&&_n(t),null;case 13:return Jo(e,t,n);case 4:return yr(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=dr(t,null,r,n):Ro(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ho(e,t,r,o=t.elementType===r?o:Tn(r,o),n);case 7:return Ro(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ro(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,Rn(0,r,l=o.value),null!==i)if(Kt(i.value,l)){if(i.children===o.children&&!ht.current){t=ai(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=$n(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Vn(i.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Vn(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}Ro(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Dn(t,n),r=r(o=jn(o)),t.flags|=1,Ro(e,t,r,n),t.child;case 14:return o=Tn(r=t.type,t.pendingProps),Vo(e,t,r,o=Tn(r.type,o),n);case 15:return Do(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tn(r,o),ii(e,t),t.tag=1,vt(r)?(e=!0,bt(t)):e=!1,Dn(t,n),or(t,r,o),ar(t,r,o,n),Go(null,t,r,!0,e,n);case 19:return oi(e,t,n);case 22:return jo(e,t,n)}throw Error(a(156,t.tag))},t.attemptContinuousHydration=function(e){if(13===e.tag){var t=Gn(e,134217728);null!==t&&ka(t,e,134217728,Aa()),wl(e,134217728)}},t.attemptDiscreteHydration=function(e){if(13===e.tag){var t=Gn(e,1);null!==t&&ka(t,e,1,Aa()),wl(e,1)}},t.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=La(e),n=Gn(e,t);null!==n&&ka(n,e,t,Aa()),wl(e,t)}},t.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ct(t.pendingLanes);0!==n&&(kt(t,1|n),Na(t,jt()),0==(6&ra)&&(ba(),Qt()))}break;case 13:ja((function(){var t=Gn(e,1);if(null!==t){var n=Aa();ka(t,e,1,n)}})),wl(e,1)}},t.batchedUpdates=function(e,t){var n=ra;ra|=1;try{return e(t)}finally{0===(ra=n)&&(ba(),Yt&&Qt())}},t.createComponentSelector=function(e){return{$$typeof:Bi,value:e}},t.createContainer=function(e,t,n,r,o,i,a){return ml(e,t,!1,null,0,r,0,i,a)},t.createHasPseudoClassSelector=function(e){return{$$typeof:Ui,value:e}},t.createHydrationContainer=function(e,t,n,r,o,i,a,l,s){return(e=ml(n,r,!0,e,0,i,0,l,s)).context=gl(null),n=e.current,(i=$n(r=Aa(),o=La(n))).callback=null!=t?t:null,Yn(n,i,o),e.current.lanes=o,Lt(e,o,r),Na(e,r),e},t.createPortal=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:c,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}},t.createRoleSelector=function(e){return{$$typeof:Gi,value:e}},t.createTestNameSelector=function(e){return{$$typeof:qi,value:e}},t.createTextSelector=function(e){return{$$typeof:Wi,value:e}},t.deferredUpdates=function(e){var t=Nt,n=na.transition;try{return na.transition=null,Nt=16,e()}finally{Nt=t,na.transition=n}},t.discreteUpdates=function(e,t,n,r,o){var i=Nt,a=na.transition;try{return na.transition=null,Nt=1,e(t,n,r,o)}finally{Nt=i,na.transition=a,0===ra&&ba()}},t.findAllNodes=Qi,t.findBoundingRects=function(e,t){if(!re)throw Error(a(363));t=Qi(e,t),e=[];for(var n=0;n<t.length;n++)e.push(ie(t[n]));for(t=e.length-1;0<t;t--)for(var r=(n=e[t]).x,o=r+n.width,i=n.y,l=i+n.height,s=t-1;0<=s;s--)if(t!==s){var c=e[s],u=c.x,d=u+c.width,h=c.y,f=h+c.height;if(r>=u&&i>=h&&o<=d&&l<=f){e.splice(t,1);break}if(!(r!==u||n.width!==c.width||f<i||h>l)){h>i&&(c.height+=h-i,c.y=i),f<l&&(c.height=l-h),e.splice(t,1);break}if(!(i!==h||n.height!==c.height||d<r||u>o)){u>r&&(c.width+=u-r,c.x=r),d<o&&(c.width=o-u),e.splice(t,1);break}}return e},t.findHostInstance=yl,t.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=M(e))?T(e):null)?null:e.stateNode},t.findHostInstanceWithWarning=function(e){return yl(e)},t.flushControlled=function(e){var t=ra;ra|=1;var n=na.transition,r=Nt;try{na.transition=null,Nt=1,e()}finally{Nt=r,na.transition=n,0===(ra=t)&&(ba(),Qt())}},t.flushPassiveEffects=Qa,t.flushSync=ja,t.focusWithin=function(e,t){if(!re)throw Error(a(363));for(t=Zi(e=$i(e),t),t=Array.from(t),e=0;e<t.length;){var n=t[e++];if(!le(n)){if(5===n.tag&&ce(n.stateNode))return!0;for(n=n.child;null!==n;)t.push(n),n=n.sibling}}return!1},t.getCurrentUpdatePriority=function(){return Nt},t.getFindAllNodesFailureDescription=function(e,t){if(!re)throw Error(a(363));var n=0,r=[];e=[$i(e),0];for(var o=0;o<e.length;){var i=e[o++],l=e[o++],s=t[l];if((5!==i.tag||!le(i))&&(Yi(i,s)&&(r.push(Xi(s)),++l>n&&(n=l)),l<t.length))for(i=i.child;null!==i;)e.push(i,l),i=i.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push(Xi(t[n]));return"findAllNodes was able to match part of the selector:\n "+r.join(" > ")+"\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?k(e.child.stateNode):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,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:l.ReactCurrentDispatcher,findHostInstanceByFiber:_l,findFiberByHostInstance:e.findFiberByHostInstance||El,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{qt=t.inject(e),Wt=t}catch(e){}e=!!t.checkDCE}}return e},t.isAlreadyRendering=function(){return!1},t.observeVisibleRects=function(e,t,n,r){if(!re)throw Error(a(363));e=Qi(e,t);var o=ue(e,n,r).disconnect;return{disconnect:function(){o()}}},t.registerMutableSourceForHydration=function(e,t){var n=t._getVersion;n=n(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)},t.runWithPriority=function(e,t){var n=Nt;try{return Nt=e,t()}finally{Nt=n}},t.shouldError=function(){return null},t.shouldSuspend=function(){return!1},t.updateContainer=function(e,t,n,r){var o=t.current,i=Aa(),a=La(o);return n=gl(n),null===t.context?t.context=n:t.pendingContext=n,(t=$n(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Yn(o,t,a))&&(ka(e,o,a,i),Xn(e,o,a)),a},t}},32576:(e,t,n)=>{"use strict";e.exports=n(46511)},76525:(e,t,n)=>{"use strict";e.exports=n(67287)},16941:(e,t,n)=>{var r=n(51474),o=n(64045),i=n(67294),a=n(2177);function l(e){return e&&e.__esModule?e.default:e}function s(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function c(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e){e.forEach((e=>c(e.element)))}function d(e){e.forEach((e=>{!function(e,t,n){const r=e.children[n]||null;e.insertBefore(t,r)}(e.parentElement,e.element,e.oldIndex)}))}function h(e,t){const n=v(e),r={parentElement:e.from};let o=[];switch(n){case"normal":o=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":o=[{element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex,...r},{element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex,...r}];break;case"multidrag":o=e.oldIndicies.map(((t,n)=>({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[n].index,...r})))}const i=function(e,t){return e.map((e=>({...e,item:t[e.oldIndex]}))).sort(((e,t)=>e.oldIndex-t.oldIndex))}(o,t);return i}function f(e,t){const n=[...t];return e.concat().reverse().forEach((e=>n.splice(e.oldIndex,1))),n}function p(e,t,n,r){const o=[...t];return e.forEach((e=>{const t=r&&n&&r(e.item,n);o.splice(e.newIndex,0,t||e.item)})),o}function v(e){return e.oldIndicies&&e.oldIndicies.length>0?"multidrag":e.swapItem?"swap":"normal"}s(e.exports,"Sortable",(()=>$882b6d93070905b3$re_export$Sortable)),s(e.exports,"Direction",(()=>$882b6d93070905b3$re_export$Direction)),s(e.exports,"DOMRect",(()=>$882b6d93070905b3$re_export$DOMRect)),s(e.exports,"GroupOptions",(()=>$882b6d93070905b3$re_export$GroupOptions)),s(e.exports,"MoveEvent",(()=>$882b6d93070905b3$re_export$MoveEvent)),s(e.exports,"Options",(()=>$882b6d93070905b3$re_export$Options)),s(e.exports,"PullResult",(()=>$882b6d93070905b3$re_export$PullResult)),s(e.exports,"PutResult",(()=>$882b6d93070905b3$re_export$PutResult)),s(e.exports,"SortableEvent",(()=>$882b6d93070905b3$re_export$SortableEvent)),s(e.exports,"SortableOptions",(()=>$882b6d93070905b3$re_export$SortableOptions)),s(e.exports,"Utils",(()=>$882b6d93070905b3$re_export$Utils)),s(e.exports,"ReactSortable",(()=>g));const m={dragging:null};class g extends i.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,i.createRef)();const t=[...e.list].map((e=>Object.assign(e,{chosen:!1,selected:!1})));e.setList(t,this.sortable,m),l(a)(!e.plugins,'\nPlugins prop is no longer supported.\nInstead, mount it with "Sortable.mount(new MultiDrag())"\nPlease read the updated README.md at https://github.com/SortableJS/react-sortablejs.\n ')}componentDidMount(){if(null===this.ref.current)return;const e=this.makeOptions();l(r).create(this.ref.current,e)}componentDidUpdate(e){e.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:e,style:t,className:n,id:r}=this.props,o={style:t,className:n,id:r},a=e&&null!==e?e:"div";return(0,i.createElement)(a,{ref:this.ref,...o},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:n="sortable-selected",chosenClass:r="sortable-chosen",dragClass:a="sortable-drag",fallbackClass:s="sortable-falback",ghostClass:c="sortable-ghost",swapClass:u="sortable-swap-highlight",filter:d="sortable-filter",list:h}=this.props;if(!e||null==e)return null;const f=t||"data-id";return i.Children.map(e,((e,t)=>{if(void 0===e)return;const a=h[t]||{},{className:s}=e.props,c="string"==typeof d&&{[d.replace(".","")]:!!a.filtered},u=l(o)(s,{[n]:a.selected,[r]:a.chosen,...c});return(0,i.cloneElement)(e,{[f]:e.key,className:u})}))}get sortable(){const e=this.ref.current;if(null===e)return null;const t=Object.keys(e).find((e=>e.includes("Sortable")));return t?e[t]:null}makeOptions(){const e=function(e){const{list:t,setList:n,children:r,tag:o,style:i,className:a,clone:l,onAdd:s,onChange:c,onChoose:u,onClone:d,onEnd:h,onFilter:f,onRemove:p,onSort:v,onStart:m,onUnchoose:g,onUpdate:y,onMove:b,onSpill:w,onSelect:_,onDeselect:E,...x}=e;return x}(this.props);return["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"].forEach((t=>e[t]=this.prepareOnHandlerPropAndDOM(t))),["onChange","onClone","onFilter","onSort"].forEach((t=>e[t]=this.prepareOnHandlerProp(t))),{...e,onMove:(e,t)=>{const{onMove:n}=this.props,r=e.willInsertAfter||-1;if(!n)return r;const o=n(e,t,this.sortable,m);return void 0!==o&&o}}}prepareOnHandlerPropAndDOM(e){return t=>{this.callOnHandlerProp(t,e),this[e](t)}}prepareOnHandlerProp(e){return t=>{this.callOnHandlerProp(t,e)}}callOnHandlerProp(e,t){const n=this.props[t];n&&n(e,this.sortable,m)}onAdd(e){const{list:t,setList:n,clone:r}=this.props,o=h(e,[...m.dragging.props.list]);u(o),n(p(o,t,e,r).map((e=>Object.assign(e,{selected:!1}))),this.sortable,m)}onRemove(e){const{list:t,setList:n}=this.props,r=v(e),o=h(e,t);d(o);let i=[...t];if("clone"!==e.pullMode)i=f(o,i);else{let t=o;switch(r){case"multidrag":t=o.map(((t,n)=>({...t,element:e.clones[n]})));break;case"normal":t=o.map((t=>({...t,element:e.clone})));break;default:l(a)(!0,`mode "${r}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${r}" plugin`)}u(t),o.forEach((t=>{const n=t.oldIndex,r=this.props.clone(t.item,e);i.splice(n,1,r)}))}i=i.map((e=>Object.assign(e,{selected:!1}))),n(i,this.sortable,m)}onUpdate(e){const{list:t,setList:n}=this.props,r=h(e,t);return u(r),d(r),n(function(e,t){return p(e,f(e,t))}(r,t),this.sortable,m)}onStart(){m.dragging=this}onEnd(){m.dragging=null}onChoose(e){const{list:t,setList:n}=this.props;n(t.map(((t,n)=>{let r=t;return n===e.oldIndex&&(r=Object.assign(t,{chosen:!0})),r})),this.sortable,m)}onUnchoose(e){const{list:t,setList:n}=this.props;n(t.map(((t,n)=>{let r=t;return n===e.oldIndex&&(r=Object.assign(r,{chosen:!1})),r})),this.sortable,m)}onSpill(e){const{removeOnSpill:t,revertOnSpill:n}=this.props;t&&!n&&c(e.item)}onSelect(e){const{list:t,setList:n}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((t=>{const n=t.index;if(-1===n)return console.log(`"${e.type}" had indice of "${t.index}", which is probably -1 and doesn't usually happen here.`),void console.log(e);r[n].selected=!0})),n(r,this.sortable,m)}onDeselect(e){const{list:t,setList:n}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((e=>{const t=e.index;-1!==t&&(r[t].selected=!0)})),n(r,this.sortable,m)}}var y,b;y=e.exports,b={},Object.keys(b).forEach((function(e){"default"===e||"__esModule"===e||y.hasOwnProperty(e)||Object.defineProperty(y,e,{enumerable:!0,get:function(){return b[e]}})}))},64045:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},19670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(87462),o=n(63366),i=n(51721);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(67294),s=n(73935);var c=n(220),u=function(e){return e.scrollTop},d="unmounted",h="exited",f="entering",p="entered",v="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=h,r.appearStatus=f):o=p:o=t.unmountOnExit||t.mountOnEnter?d:h,r.state={status:o},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(t=f):n!==f&&n!==p||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&u(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[s.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),c=r?l.appear:l.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:f},(function(){t.props.onEntering(i,a),t.onTransitionEnd(c,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:p},(function(){t.props.onEntered(i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(c.Z.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function g(){}m.contextType=c.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=d,m.EXITED=h,m.ENTERING=f,m.ENTERED=p,m.EXITING=v;const y=m;var b=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&u(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&b(e,r),o&&b(e,o),i&&b(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return l.createElement(y,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);w.defaultProps={classNames:""},w.propTypes={};const _=w},94537:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(63366),o=n(87462),i=n(97326),a=n(51721),l=n(67294),s=n(220);function c(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=c(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,l.isValidElement)(a)){var s=i in t,c=i in r,d=t[i],h=(0,l.isValidElement)(d)&&!d.props.in;!c||s&&!h?c||!s||h?c&&s&&(0,l.isValidElement)(d)&&(o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:d.props.in,exit:u(a,"exit",e),enter:u(a,"enter",e)})):o[i]=(0,l.cloneElement)(a,{in:!1}):o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:u(a,"exit",e),enter:u(a,"enter",e)})}})),o}var h=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,i.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,c(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):d(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,r.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=h(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?l.createElement(s.Z.Provider,{value:i},a):l.createElement(s.Z.Provider,{value:i},l.createElement(t,o,a))},t}(l.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const p=f},220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(67294).createContext(null)},84356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FixedSizeGrid:()=>R,FixedSizeList:()=>H,VariableSizeGrid:()=>z,VariableSizeList:()=>I,areEqual:()=>F,shouldComponentUpdate:()=>B});var r=n(87462),o=n(97326),i=n(51721),a=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function l(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||a(r)&&a(o)))return!1;var r,o;return!0}const s=function(e,t){var n;void 0===t&&(t=l);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};var c=n(67294),u=n(63366),d="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function h(e){cancelAnimationFrame(e.id)}function f(e,t){var n=d(),r={id:requestAnimationFrame((function o(){d()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var p=-1;function v(e){if(void 0===e&&(e=!1),-1===p||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),p=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return p}var m=null;function g(e){if(void 0===e&&(e=!1),null===m||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?m="positive-descending":(t.scrollLeft=1,m=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),m}return m}var y=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function b(e){var t,n=e.getColumnOffset,a=e.getColumnStartIndexForOffset,l=e.getColumnStopIndexForStartIndex,u=e.getColumnWidth,d=e.getEstimatedTotalHeight,p=e.getEstimatedTotalWidth,m=e.getOffsetForColumnAndAlignment,b=e.getOffsetForRowAndAlignment,_=e.getRowHeight,E=e.getRowOffset,x=e.getRowStartIndexForOffset,S=e.getRowStopIndexForStartIndex,O=e.initInstanceProps,C=e.shouldResetStyleCacheOnItemSizeChange,M=e.validateProps;return(t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=O(r.props,(0,o.Z)(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:(0,o.Z)(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=s((function(e,t,n,o,i,a,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=s((function(e,t,n,o,i){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,i=r.props,a=i.columnWidth,l=i.direction,s=i.rowHeight,c=r._getItemStyleCache(C&&a,C&&l,C&&s),d=e+":"+t;if(c.hasOwnProperty(d))o=c[d];else{var h=n(r.props,t,r._instanceProps),f="rtl"===l;c[d]=o={position:"absolute",left:f?void 0:h,right:f?h:void 0,top:E(r.props,e,r._instanceProps),height:_(r.props,e,r._instanceProps),width:u(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=s((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=r.props.direction,c=i;if("rtl"===t)switch(g()){case"negative":c=-i;break;case"positive-descending":c=s-o-i}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(a,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&h(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=f(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return w(e,t),M(e),null};var z=t.prototype;return z.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},z.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,i=this.props,a=i.columnCount,l=i.height,s=i.rowCount,c=i.width,u=this.state,h=u.scrollLeft,f=u.scrollTop,g=v();void 0!==r&&(r=Math.max(0,Math.min(r,a-1))),void 0!==o&&(o=Math.max(0,Math.min(o,s-1)));var y=d(this.props,this._instanceProps),w=p(this.props,this._instanceProps)>c?g:0,_=y>l?g:0;this.scrollTo({scrollLeft:void 0!==r?m(this.props,r,n,h,this._instanceProps,_):h,scrollTop:void 0!==o?b(this.props,o,n,f,this._instanceProps,w):f})},z.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},z.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(g()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},z.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&h(this._resetIsScrollingTimeoutId)},z.render=function(){var e=this.props,t=e.children,n=e.className,o=e.columnCount,i=e.direction,a=e.height,l=e.innerRef,s=e.innerElementType,u=e.innerTagName,h=e.itemData,f=e.itemKey,v=void 0===f?y:f,m=e.outerElementType,g=e.outerTagName,b=e.rowCount,w=e.style,_=e.useIsScrolling,E=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),O=S[0],C=S[1],M=this._getVerticalRangeToRender(),z=M[0],P=M[1],T=[];if(o>0&&b)for(var A=z;A<=P;A++)for(var L=O;L<=C;L++)T.push((0,c.createElement)(t,{columnIndex:L,data:h,isScrolling:_?x:void 0,key:v({columnIndex:L,data:h,rowIndex:A}),rowIndex:A,style:this._getItemStyle(A,L)}));var k=d(this.props,this._instanceProps),N=p(this.props,this._instanceProps);return(0,c.createElement)(m||g||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:(0,r.Z)({position:"relative",height:a,width:E,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},w)},(0,c.createElement)(s||u||"div",{children:T,ref:l,style:{height:k,pointerEvents:x?"none":void 0,width:N}}))},z._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],l=i[1],s=i[2],c=i[3],u=this._getVerticalRangeToRender(),d=u[0],h=u[1],f=u[2],p=u[3];this._callOnItemsRendered(a,l,d,h,s,c,f,p)}if("function"==typeof r){var v=this.state,m=v.horizontalScrollDirection,g=v.scrollLeft,y=v.scrollTop,b=v.scrollUpdateWasRequested,w=v.verticalScrollDirection;this._callOnScroll(g,y,m,w,b)}},z._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,o=e.overscanCount,i=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,h=n||r||o||1;if(0===t||0===i)return[0,0,0,0];var f=a(this.props,d,this._instanceProps),p=l(this.props,f,d,this._instanceProps),v=u&&"backward"!==c?1:Math.max(1,h),m=u&&"forward"!==c?1:Math.max(1,h);return[Math.max(0,f-v),Math.max(0,Math.min(t-1,p+m)),f,p]},z._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,l=a.isScrolling,s=a.verticalScrollDirection,c=a.scrollTop,u=r||o||n||1;if(0===t||0===i)return[0,0,0,0];var d=x(this.props,c,this._instanceProps),h=S(this.props,d,c,this._instanceProps),f=l&&"backward"!==s?1:Math.max(1,u),p=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-f),Math.max(0,Math.min(i-1,h+p)),d,h]},t}(c.PureComponent)).defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var w=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},_=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},E=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},x=function(e,t,n,r){var o,i,a;if("column"===e?(o=r.columnMetadataMap,i=t.columnWidth,a=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=t.rowHeight,a=r.lastMeasuredRowIndex),n>a){var l=0;if(a>=0){var s=o[a];l=s.offset+s.size}for(var c=a+1;c<=n;c++){var u=i(c);o[c]={offset:l,size:u},l+=u}"column"===e?r.lastMeasuredColumnIndex=n:r.lastMeasuredRowIndex=n}return o[n]},S=function(e,t,n,r){var o,i;return"column"===e?(o=n.columnMetadataMap,i=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=n.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=r?O(e,t,n,i,0,r):C(e,t,n,Math.max(0,i),r)},O=function(e,t,n,r,o,i){for(;o<=r;){var a=o+Math.floor((r-o)/2),l=x(e,t,a,n).offset;if(l===i)return a;l<i?o=a+1:l>i&&(r=a-1)}return o>0?o-1:0},C=function(e,t,n,r,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;r<i&&x(e,t,r,n).offset<o;)r+=a,a*=2;return O(e,t,n,Math.min(r,i-1),Math.floor(r/2),o)},M=function(e,t,n,r,o,i,a){var l="column"===e?t.width:t.height,s=x(e,t,n,i),c="column"===e?E(t,i):_(t,i),u=Math.max(0,Math.min(c-l,s.offset)),d=Math.max(0,s.offset-l+a+s.size);switch("smart"===r&&(r=o>=d-l&&o<=u+l?"auto":"center"),r){case"start":return u;case"end":return d;case"center":return Math.round(d+(u-d)/2);default:return o>=d&&o<=u?o:d>u||o<d?d:u}},z=b({getColumnOffset:function(e,t,n){return x("column",e,t,n).offset},getColumnStartIndexForOffset:function(e,t,n){return S("column",e,n,t)},getColumnStopIndexForStartIndex:function(e,t,n,r){for(var o=e.columnCount,i=e.width,a=x("column",e,t,r),l=n+i,s=a.offset+a.size,c=t;c<o-1&&s<l;)c++,s+=x("column",e,c,r).size;return c},getColumnWidth:function(e,t,n){return n.columnMetadataMap[t].size},getEstimatedTotalHeight:_,getEstimatedTotalWidth:E,getOffsetForColumnAndAlignment:function(e,t,n,r,o,i){return M("column",e,t,n,r,o,i)},getOffsetForRowAndAlignment:function(e,t,n,r,o,i){return M("row",e,t,n,r,o,i)},getRowOffset:function(e,t,n){return x("row",e,t,n).offset},getRowHeight:function(e,t,n){return n.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,n){return S("row",e,n,t)},getRowStopIndexForStartIndex:function(e,t,n,r){for(var o=e.rowCount,i=e.height,a=x("row",e,t,r),l=n+i,s=a.offset+a.size,c=t;c<o-1&&s<l;)c++,s+=x("row",e,c,r).size;return c},initInstanceProps:function(e,t){var n=e,r={columnMetadataMap:{},estimatedColumnWidth:n.estimatedColumnWidth||50,estimatedRowHeight:n.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:n})},t.resetAfterRowIndex=function(e,n){void 0===n&&(n=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:n})},t.resetAfterIndices=function(e){var n=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof n&&(r.lastMeasuredColumnIndex=Math.min(r.lastMeasuredColumnIndex,n-1)),"number"==typeof o&&(r.lastMeasuredRowIndex=Math.min(r.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),P=function(e,t){return e};function T(e){var t,n=e.getItemOffset,a=e.getEstimatedTotalSize,l=e.getItemSize,u=e.getOffsetForIndexAndAlignment,d=e.getStartIndexForOffset,p=e.getStopIndexForStartIndex,m=e.initInstanceProps,y=e.shouldResetStyleCacheOnItemSizeChange,b=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,(0,o.Z)(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:(0,o.Z)(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=s((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=s((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,a=o.itemSize,s=o.layout,c=r._getItemStyleCache(y&&a,y&&s,y&&i);if(c.hasOwnProperty(e))t=c[e];else{var u=n(r.props,e,r._instanceProps),d=l(r.props,e,r._instanceProps),h="horizontal"===i||"horizontal"===s,f="rtl"===i,p=h?u:0;c[e]=t={position:"absolute",left:f?void 0:p,right:f?p:void 0,top:h?0:u,height:h?"100%":d,width:h?d:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=s((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(g()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;r.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&h(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=f(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return A(e,t),b(e),null};var w=t.prototype;return w.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},w.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,i=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var a=0;if(this._outerRef){var l=this._outerRef;a="vertical"===o?l.scrollWidth>l.clientWidth?v():0:l.scrollHeight>l.clientHeight?v():0}this.scrollTo(u(this.props,e,t,i,this._instanceProps,a))},w.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},w.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(g()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},w.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&h(this._resetIsScrollingTimeoutId)},w.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,u=e.innerTagName,d=e.itemCount,h=e.itemData,f=e.itemKey,p=void 0===f?P:f,v=e.layout,m=e.outerElementType,g=e.outerTagName,y=e.style,b=e.useIsScrolling,w=e.width,_=this.state.isScrolling,E="horizontal"===o||"horizontal"===v,x=E?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),O=S[0],C=S[1],M=[];if(d>0)for(var z=O;z<=C;z++)M.push((0,c.createElement)(t,{data:h,key:p(z,h),index:z,isScrolling:b?_:void 0,style:this._getItemStyle(z)}));var T=a(this.props,this._instanceProps);return(0,c.createElement)(m||g||"div",{className:n,onScroll:x,ref:this._outerRefSetter,style:(0,r.Z)({position:"relative",height:i,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},y)},(0,c.createElement)(s||u||"div",{children:M,ref:l,style:{height:E?"100%":T,pointerEvents:_?"none":void 0,width:E?T:"100%"}}))},w._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},w._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var l=d(this.props,a,this._instanceProps),s=p(this.props,l,a,this._instanceProps),c=o&&"backward"!==i?1:Math.max(1,n),u=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,l-c),Math.max(0,Math.min(t-1,s+u)),l,s]},t}(c.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var A=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},L=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var l=o[i];a=l.offset+l.size}for(var s=i+1;s<=t;s++){var c=r(s);o[s]={offset:a,size:c},a+=c}n.lastMeasuredIndex=t}return o[t]},k=function(e,t,n,r,o){for(;r<=n;){var i=r+Math.floor((n-r)/2),a=L(e,i,t).offset;if(a===o)return i;a<o?r=i+1:a>o&&(n=i-1)}return r>0?r-1:0},N=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},I=T({getItemOffset:function(e,t,n){return L(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:N,getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,l=e.height,s=e.layout,c=e.width,u="horizontal"===a||"horizontal"===s?c:l,d=L(e,t,o),h=N(e,o),f=Math.max(0,Math.min(h-u,d.offset)),p=Math.max(0,d.offset-u+d.size+i);switch("smart"===n&&(n=r>=p-u&&r<=f+u?"auto":"center"),n){case"start":return f;case"end":return p;case"center":return Math.round(p+(f-p)/2);default:return r>=p&&r<=f?r:r<p?p:f}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var r=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?r[o].offset:0)>=n?k(e,t,o,0,n):function(e,t,n,r){for(var o=e.itemCount,i=1;n<o&&L(e,n,t).offset<r;)n+=i,i*=2;return k(e,t,Math.min(n,o-1),Math.floor(n/2),r)}(e,t,Math.max(0,o),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var o=e.direction,i=e.height,a=e.itemCount,l=e.layout,s=e.width,c="horizontal"===o||"horizontal"===l?s:i,u=L(e,t,r),d=n+c,h=u.offset+u.size,f=t;f<a-1&&h<d;)f++,h+=L(e,f,r).size;return f},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),R=b({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,i){var a=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,a*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+i+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var h=Math.round(d+(u-d)/2);return h<Math.ceil(s/2)?0:h>c+Math.floor(s/2)?c:h;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,i){var a=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*a-l),u=Math.min(c,t*a),d=Math.max(0,t*a-l+i+a);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var h=Math.round(d+(u-d)/2);return h<Math.ceil(l/2)?0:h>c+Math.floor(l/2)?c:h;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,i=e.width,a=t*r,l=Math.ceil((i+n-a)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,i=e.height,a=t*r,l=Math.ceil((i+n-a)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),H=T({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,h="horizontal"===a||"horizontal"===u?d:l,f=Math.max(0,s*c-h),p=Math.min(f,t*c),v=Math.max(0,t*c-h+c+i);switch("smart"===n&&(n=r>=v-h&&r<=p+h?"auto":"center"),n){case"start":return p;case"end":return v;case"center":var m=Math.round(v+(p-v)/2);return m<Math.ceil(h/2)?0:m>f+Math.floor(h/2)?f:m;default:return r>=v&&r<=p?r:r<v?v:p}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,c=t*a,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/a);return Math.max(0,Math.min(i-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});function V(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var D=["style"],j=["style"];function F(e,t){var n=e.style,r=(0,u.Z)(e,D),o=t.style,i=(0,u.Z)(t,j);return!V(n,o)&&!V(r,i)}function B(e,t){return!F(this.props,e)||V(this.state,t)}},72408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,v(w,g.prototype),w.isPureReactComponent=!0;var _=Array.isArray,E=Object.prototype.hasOwnProperty,x={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+z(s,0):i,_(a)?(o="",null!=e&&(o=e.replace(M,"$&/")+"/"),P(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(M,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",_(e))for(var c=0;c<e.length;c++){var u=i+z(l=e[c],c);s+=P(l,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(l=e.next()).done;)s+=P(l=l.value,t,o,u=i+z(l,c++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function T(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},k={transition:null},N={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:k,ReactCurrentOwner:x};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)E.call(t,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=k.transition;k.transition={};try{e()}finally{k.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},67294:(e,t,n)=>{"use strict";e.exports=n(72408)},24754:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=(r=n(2525))&&r.__esModule?r:{default:r},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){return t[e]||{extend:e}}},l=t.autoprefix=function(e){var t={};return(0,o.default)(e,(function(e,n){var r={};(0,o.default)(e,(function(e,t){var n=a[t];n?r=i({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=l},36002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(r=n(67294))&&r.__esModule?r:{default:r};function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,l,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return l=s=a(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return i.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},i.default.createElement(e,o({},s.props,s.state)))},a(s,l)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(i.default.Component)};t.default=l},91765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=(r=n(67294))&&r.__esModule?r:{default:r};function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,l,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return l=s=a(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return i.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},i.default.createElement(e,o({},s.props,s.state)))},a(s,l)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(i.default.Component)};t.default=l},14147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n(47037)),o=l(n(2525)),i=l(n(68630)),a=l(n(35161));function l(e){return e&&e.__esModule?e:{default:e}}var s=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=s},79941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n(14147)),o=c(n(18556)),i=c(n(24754)),a=c(n(91765)),l=c(n(36002)),s=c(n(57742));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=l.default,t.loop=s.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var l=(0,r.default)(n),s=(0,o.default)(e,l);return(0,i.default)(s)};t.default=u},57742:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},18556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(2525)),o=a(n(50361)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=i({},n[t],o[t])})),t})),n};t.default=l},53697:(e,t,n)=>{"use strict";var r=n(25972).functionsHaveConfigurableNames(),o=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},r&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2847:(e,t,n)=>{"use strict";var r=n(4289),o=n(55559),i=n(53697),a=n(71721),l=n(32753),s=o(a());r(s,{getPolyfill:a,implementation:i,shim:l}),e.exports=s},71721:(e,t,n)=>{"use strict";var r=n(53697),o=n(4289).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},32753:(e,t,n)=>{"use strict";var r=n(4289).supportsDescriptors,o=n(71721),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,l=TypeError,s=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!s)throw new l("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=s(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},65722:(e,t)=>{"use strict";var n=[new RegExp("^<h3[^>]*>This page contains the following errors:</h3><div[^>]*>(.+?)\n?</div>"),new RegExp("^(.+)\n")];t.failOnParseError=function(e){return function(e){var t;if(null===e)throw new Error("Parse error");var r=function(e){return"parsererror"===e.documentElement.tagName&&"http://www.mozilla.org/newlayout/xml/parsererror.xml"===e.documentElement.namespaceURI?e.documentElement:("xml"===e.documentElement.tagName||"html"===e.documentElement.tagName)&&e.documentElement.childNodes&&e.documentElement.childNodes.length>0&&"parsererror"===e.documentElement.childNodes[0].nodeName?e.documentElement.childNodes[0]:"html"===e.documentElement.tagName&&e.documentElement.childNodes&&e.documentElement.childNodes.length>0&&"body"===e.documentElement.childNodes[0].nodeName&&e.documentElement.childNodes[0].childNodes&&e.documentElement.childNodes[0].childNodes.length&&"parsererror"===e.documentElement.childNodes[0].childNodes[0].nodeName?e.documentElement.childNodes[0].childNodes[0]:void 0}(e);if(void 0!==r)throw t=function(e){var t,r,o,i,a=(t=e,r=new XMLSerializer,Array.prototype.map.call(t.childNodes,(function(e){return r.serializeToString(e)})).join(""));for(o=0;o<n.length;o++)if(i=n[o].exec(a))return i[1]}(r)||"Parse error",new Error(t)}(e),e}},60053:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>i(s,n))c<o&&0>i(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,h=null,f=3,p=!1,v=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function _(e){if(m=!1,w(e),!v)if(null!==r(c))v=!0,k(E);else{var t=r(u);null!==t&&N(_,t.startTime-e)}}function E(e,n){v=!1,m&&(m=!1,y(C),C=-1),p=!0;var i=f;try{for(w(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!P());){var a=h.callback;if("function"==typeof a){h.callback=null,f=h.priorityLevel;var l=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?h.callback=l:h===r(c)&&o(c),w(n)}else o(c);h=r(c)}if(null!==h)var s=!0;else{var d=r(u);null!==d&&N(_,d.startTime-n),s=!1}return s}finally{h=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,O=null,C=-1,M=5,z=-1;function P(){return!(t.unstable_now()-z<M)}function T(){if(null!==O){var e=t.unstable_now();z=e;var n=!0;try{n=O(!0,e)}finally{n?x():(S=!1,O=null)}}else S=!1}if("function"==typeof b)x=function(){b(T)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=T,x=function(){L.postMessage(null)}}else x=function(){g(T,0)};function k(e){O=e,S||(S=!0,x())}function N(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||p||(v=!0,k(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(m?(y(C),C=-1):m=!0,N(_,i-a))):(e.sortIndex=l,n(c,e),v||p||(v=!0,k(E))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},63840:(e,t,n)=>{"use strict";e.exports=n(60053)},37478:(e,t,n)=>{"use strict";var r=n(40210),o=n(21924),i=n(70631),a=r("%TypeError%"),l=r("%WeakMap%",!0),s=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),h=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(s){if(t)return h(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(s){if(t)return p(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,o){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),u(e,r,o)):s?(t||(t=new s),f(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},51474:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return i="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},i(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}n.r(t),n.d(t,{MultiDrag:()=>bt,Sortable:()=>je,Swap:()=>st,default:()=>Et});var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),h=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),v=c(/chrome/i)&&c(/android/i),m={capture:!1,passive:!1};function g(e,t,n){e.addEventListener(t,n,!u&&m)}function y(e,t,n){e.removeEventListener(t,n,!u&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||r&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var E,x=/\s+/g;function S(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(x," ")}}function O(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function C(e,t){var n="";if("string"==typeof e)n=e;else do{var r=O(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function M(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function z(){return document.scrollingElement||document.documentElement}function P(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var i,a,l,s,c,d,h;if(e!==window&&e.parentNode&&e!==z()?(a=(i=e.getBoundingClientRect()).top,l=i.left,s=i.bottom,c=i.right,d=i.height,h=i.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==O(o,"transform")||n&&"static"!==O(o,"position"))){var f=o.getBoundingClientRect();a-=f.top+parseInt(O(o,"border-top-width")),l-=f.left+parseInt(O(o,"border-left-width")),s=a+i.height,c=l+i.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=C(o||e),v=p&&p.a,m=p&&p.d;p&&(s=(a/=m)+(d/=m),c=(l/=v)+(h/=v))}return{top:a,left:l,bottom:s,right:c,width:h,height:d}}}function T(e,t,n){for(var r=I(e,!0),o=P(e)[t];r;){var i=P(r)[n];if(!("top"===n||"left"===n?o>=i:o<=i))return r;if(r===z())break;r=I(r,!1)}return!1}function A(e,t,n,r){for(var o=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==je.ghost&&(r||a[i]!==je.dragged)&&_(a[i],n.draggable,e,!1)){if(o===t)return a[i];o++}i++}return null}function L(e,t){for(var n=e.lastElementChild;n&&(n===je.ghost||"none"===O(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function k(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===je.clone||t&&!b(e,t)||n++;return n}function N(e){var t=0,n=0,r=z();if(e)do{var o=C(e),i=o.a,a=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function I(e,t){if(!e||!e.getBoundingClientRect)return z();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=O(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return z();if(r||t)return n;r=!0}}}while(n=n.parentNode);return z()}function R(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function H(e,t){return function(){if(!E){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),E=setTimeout((function(){E=void 0}),t)}}}function V(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function D(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function j(e,t){O(e,"position","absolute"),O(e,"top",t.top),O(e,"left",t.left),O(e,"width",t.width),O(e,"height",t.height)}function F(e){O(e,"position",""),O(e,"top",""),O(e,"left",""),O(e,"width",""),O(e,"height","")}var B="Sortable"+(new Date).getTime();var U=[],G={initializeByDefault:!0},q={mount:function(e){for(var t in G)G.hasOwnProperty(t)&&!(t in e)&&(e[t]=G[t]);U.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),U.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";U.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](o({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var o in U.forEach((function(r){var o=r.pluginName;if(e.options[o]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[o]=i,l(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var i=this.modifyOption(e,o,e.options[o]);void 0!==i&&(e.options[o]=i)}},getEventProperties:function(e,t){var n={};return U.forEach((function(r){"function"==typeof r.eventProperties&&l(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return U.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(r=o.optionListeners[t].call(e[o.pluginName],n))})),r}};function W(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,a=e.cloneEl,l=e.toEl,s=e.fromEl,c=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,v=e.originalEvent,m=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[B]){var y,b=t.options,w="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||d?(y=document.createEvent("Event")).initEvent(r,!0,!0):y=new CustomEvent(r,{bubbles:!0,cancelable:!0}),y.to=l||n,y.from=s||n,y.item=i||n,y.clone=a,y.oldIndex=c,y.newIndex=h,y.oldDraggableIndex=f,y.newDraggableIndex=p,y.originalEvent=v,y.pullMode=m?m.lastPutMode:void 0;var _=o(o({},g),q.getEventProperties(r,t));for(var E in _)y[E]=_[E];n&&n.dispatchEvent(y),b[w]&&b[w].call(t,y)}}var K=["evt"],$=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,K);q.pluginEvent.bind(je)(e,t,o({dragEl:X,parentEl:Z,ghostEl:Q,rootEl:J,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:me,putSortable:ce,activeSortable:je.active,originalEvent:r,oldIndex:oe,oldDraggableIndex:ae,newIndex:ie,newDraggableIndex:le,hideGhostForTarget:Re,unhideGhostForTarget:He,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Y({sortable:t,name:e,originalEvent:r})}},i))};function Y(e){W(o({putSortable:ce,cloneEl:ne,targetEl:X,rootEl:J,oldIndex:oe,oldDraggableIndex:ae,newIndex:ie,newDraggableIndex:le},e))}var X,Z,Q,J,ee,te,ne,re,oe,ie,ae,le,se,ce,ue,de,he,fe,pe,ve,me,ge,ye,be,we,_e=!1,Ee=!1,xe=[],Se=!1,Oe=!1,Ce=[],Me=!1,ze=[],Pe="undefined"!=typeof document,Te=p,Ae=d||u?"cssFloat":"float",Le=Pe&&!v&&!p&&"draggable"in document.createElement("div"),ke=function(){if(Pe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ne=function(e,t){var n=O(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=A(e,0,t),i=A(e,1,t),a=o&&O(o),l=i&&O(i),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+P(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+P(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!i||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=r&&"none"===n[Ae]||i&&"none"===n[Ae]&&s+c>r)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(r,o,i,a){var l=r.options.group.name&&o.options.group.name&&r.options.group.name===o.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,o,i,a),n)(r,o,i,a);var s=(n?r:o).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},r=e.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Re=function(){!ke&&Q&&O(Q,"display","none")},He=function(){!ke&&Q&&O(Q,"display","")};Pe&&!v&&document.addEventListener("click",(function(e){if(Ee)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ee=!1,!1}),!0);var Ve=function(e){if(X){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,i=e.clientY,xe.some((function(e){var t=e[B].options.emptyInsertThreshold;if(t&&!L(e)){var n=P(e),r=o>=n.left-t&&o<=n.right+t,l=i>=n.top-t&&i<=n.bottom+t;return r&&l?a=e:void 0}})),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[B]._onDragOver(n)}}var o,i,a},De=function(e){X&&X.parentNode[B]._isOutsideThisEl(e.target)};function je(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=l({},t),e[B]=this;var n,r,i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ne(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==je.supportPointer&&"PointerEvent"in window&&!f,emptyInsertThreshold:5};for(var a in q.initializePlugins(this,e,i),i)!(a in t)&&(t[a]=i[a]);for(var s in Ie(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&Le,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?g(e,"pointerdown",this._onTapStart):(g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),l(this,(r=[],{captureAnimationState:function(){r=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==O(e,"display")&&e!==je.ghost){r.push({target:e,rect:P(e)});var t=o({},r[r.length-1].rect);if(e.thisAnimationDuration){var n=C(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}}))},addAnimationState:function(e){r.push(e)},removeAnimationState:function(e){r.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(r,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var o=!1,i=0;r.forEach((function(e){var n=0,r=e.target,a=r.fromRect,l=P(r),s=r.prevFromRect,c=r.prevToRect,u=e.rect,d=C(r,!0);d&&(l.top-=d.f,l.left-=d.e),r.toRect=l,r.thisAnimationDuration&&R(s,l)&&!R(a,l)&&(u.top-l.top)/(u.left-l.left)==(a.top-l.top)/(a.left-l.left)&&(n=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,s,c,t.options)),R(l,a)||(r.prevFromRect=a,r.prevToRect=l,n||(n=t.options.animation),t.animate(r,u,l,n)),n&&(o=!0,i=Math.max(i,n),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),n),r.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof e&&e()}),i):"function"==typeof e&&e(),r=[]},animate:function(e,t,n,r){if(r){O(e,"transition",""),O(e,"transform","");var o=C(this.el),i=o&&o.a,a=o&&o.d,l=(t.left-n.left)/(i||1),s=(t.top-n.top)/(a||1);e.animatingX=!!l,e.animatingY=!!s,O(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),O(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),O(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){O(e,"transition",""),O(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}))}function Fe(e,t,n,r,o,i,a,l){var s,c,h=e[B],f=h.options.onMove;return!window.CustomEvent||u||d?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=r,s.related=o||t,s.relatedRect=i||P(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),f&&(c=f.call(h,s,a)),c}function Be(e){e.draggable=!1}function Ue(){Me=!1}function Ge(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function qe(e){return setTimeout(e,0)}function We(e){return clearTimeout(e)}je.prototype={constructor:je,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ge=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,X):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=r.filter;if(function(e){ze.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&ze.push(r)}}(n),!X&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=_(l,r.draggable,n,!1))&&l.animated||te===l)){if(oe=k(l),ae=k(l,r.draggable),"function"==typeof c){if(c.call(this,e,l,this))return Y({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),$("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=_(s,r.trim(),n,!1))return Y({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:n,toEl:n}),$("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!_(s,r.handle,n,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,l=i.ownerDocument;if(n&&!X&&n.parentNode===i){var s=P(n);if(J=i,Z=(X=n).parentNode,ee=X.nextSibling,te=n,se=a.group,je.dragged=X,ue={target:X,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-s.left,ve=ue.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,X.style["will-change"]="all",r=function(){$("delayEnded",o,{evt:e}),je.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!h&&o.nativeDraggable&&(X.draggable=!0),o._triggerDragStart(e,t),Y({sortable:o,name:"choose",originalEvent:e}),S(X,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){M(X,e.trim(),Be)})),g(l,"dragover",Ve),g(l,"mousemove",Ve),g(l,"touchmove",Ve),g(l,"mouseup",o._onDrop),g(l,"touchend",o._onDrop),g(l,"touchcancel",o._onDrop),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,X.draggable=!0),$("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))r();else{if(je.eventCanceled)return void this._onDrop();g(l,"mouseup",o._disableDelayedDrag),g(l,"touchend",o._disableDelayedDrag),g(l,"touchcancel",o._disableDelayedDrag),g(l,"mousemove",o._delayedDragTouchMoveHandler),g(l,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&g(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){X&&Be(X),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,t?"touchmove":"mousemove",this._onTouchMove):(g(X,"dragend",this),g(J,"dragstart",this._onDragStart));try{document.selection?qe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,J&&X){$("dragStarted",this,{evt:t}),this.nativeDraggable&&g(document,"dragover",De);var n=this.options;!e&&S(X,n.dragClass,!1),S(X,n.ghostClass,!0),je.active=this,e&&this._appendGhost(),Y({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Re();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(X.parentNode[B]._isOutsideThisEl(e),t)do{if(t[B]&&t[B]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);He()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,i=Q&&C(Q,!0),a=Q&&i&&i.a,l=Q&&i&&i.d,s=Te&&we&&N(we),c=(o.clientX-ue.clientX+r.x)/(a||1)+(s?s[0]-Ce[0]:0)/(a||1),u=(o.clientY-ue.clientY+r.y)/(l||1)+(s?s[1]-Ce[1]:0)/(l||1);if(!je.active&&!_e){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Q){i?(i.e+=c-(he||0),i.f+=u-(fe||0)):i={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");O(Q,"webkitTransform",d),O(Q,"mozTransform",d),O(Q,"msTransform",d),O(Q,"transform",d),he=c,fe=u,de=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Q){var e=this.options.fallbackOnBody?document.body:J,t=P(X,!0,Te,!0,e),n=this.options;if(Te){for(we=e;"static"===O(we,"position")&&"none"===O(we,"transform")&&we!==document;)we=we.parentNode;we!==document.body&&we!==document.documentElement?(we===document&&(we=z()),t.top+=we.scrollTop,t.left+=we.scrollLeft):we=z(),Ce=N(we)}S(Q=X.cloneNode(!0),n.ghostClass,!1),S(Q,n.fallbackClass,!0),S(Q,n.dragClass,!0),O(Q,"transition",""),O(Q,"transform",""),O(Q,"box-sizing","border-box"),O(Q,"margin",0),O(Q,"top",t.top),O(Q,"left",t.left),O(Q,"width",t.width),O(Q,"height",t.height),O(Q,"opacity","0.8"),O(Q,"position",Te?"absolute":"fixed"),O(Q,"zIndex","100000"),O(Q,"pointerEvents","none"),je.ghost=Q,e.appendChild(Q),O(Q,"transform-origin",pe/parseInt(Q.style.width)*100+"% "+ve/parseInt(Q.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,o=n.options;$("dragStart",this,{evt:e}),je.eventCanceled?this._onDrop():($("setupClone",this),je.eventCanceled||((ne=D(X)).removeAttribute("id"),ne.draggable=!1,ne.style["will-change"]="",this._hideClone(),S(ne,this.options.chosenClass,!1),je.clone=ne),n.cloneId=qe((function(){$("clone",n),je.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(ne,X),n._hideClone(),Y({sortable:n,name:"clone"}))})),!t&&S(X,o.dragClass,!0),t?(Ee=!0,n._loopId=setInterval(n._emulateDragOver,50)):(y(document,"mouseup",n._onDrop),y(document,"touchend",n._onDrop),y(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",o.setData&&o.setData.call(n,r,X)),g(document,"drop",n),O(X,"transform","translateZ(0)")),_e=!0,n._dragStartId=qe(n._dragStarted.bind(n,t,e)),g(document,"selectstart",n),me=!0,f&&O(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,a=this.el,l=e.target,s=this.options,c=s.group,u=je.active,d=se===c,h=s.sort,f=ce||u,p=this,v=!1;if(!Me){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=_(l,s.draggable,a,!0),D("dragOver"),je.eventCanceled)return v;if(X.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(Ee=!1,u&&!s.disabled&&(d?h||(r=Z!==J):ce===this||(this.lastPutMode=se.checkPull(this,u,X,e))&&c.checkPut(this,u,X,e))){if(i="vertical"===this._getDirection(e,l),t=P(X),D("dragOverValid"),je.eventCanceled)return v;if(r)return Z=J,j(),this._hideClone(),D("revert"),je.eventCanceled||(ee?J.insertBefore(X,ee):J.appendChild(X)),F(!0);var m=L(a,s.draggable);if(!m||function(e,t,n){var r=P(L(n.el,n.options.draggable));return t?e.clientX>r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,i,this)&&!m.animated){if(m===X)return F(!1);if(m&&a===e.target&&(l=m),l&&(n=P(l)),!1!==Fe(J,a,X,t,l,n,e,!!l))return j(),m&&m.nextSibling?a.insertBefore(X,m.nextSibling):a.appendChild(X),Z=a,U(),F(!0)}else if(m&&function(e,t,n){var r=P(A(n.el,0,n.options,!0));return t?e.clientX<r.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var g=A(a,0,s,!0);if(g===X)return F(!1);if(n=P(l=g),!1!==Fe(J,a,X,t,l,n,e,!1))return j(),a.insertBefore(X,g),Z=a,U(),F(!0)}else if(l.parentNode===a){n=P(l);var y,b,w,E=X.parentNode!==a,x=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return r===a||o===l||r+i/2===a+s/2}(X.animated&&X.toRect||t,l.animated&&l.toRect||n,i),C=i?"top":"left",M=T(l,"top","top")||T(X,"top","top"),z=M?M.scrollTop:void 0;if(ge!==l&&(b=n[C],Se=!1,Oe=!x&&s.invertSwap||E),y=function(e,t,n,r,o,i,a,l){var s=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,h=!1;if(!a)if(l&&be<c*o){if(!Se&&(1===ye?s>u+c*i/2:s<d-c*i/2)&&(Se=!0),Se)h=!0;else if(1===ye?s<u+be:s>d-be)return-ye}else if(s>u+c*(1-o)/2&&s<d-c*(1-o)/2)return function(e){return k(X)<k(e)?1:-1}(t);return(h=h||a)&&(s<u+c*i/2||s>d-c*i/2)?s>u+c/2?1:-1:0}(e,l,n,i,x?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Oe,ge===l),0!==y){var N=k(X);do{N-=y,w=Z.children[N]}while(w&&("none"===O(w,"display")||w===Q))}if(0===y||w===l)return F(!1);ge=l,ye=y;var I=l.nextElementSibling,R=!1,H=Fe(J,a,X,t,l,n,e,R=1===y);if(!1!==H)return 1!==H&&-1!==H||(R=1===H),Me=!0,setTimeout(Ue,30),j(),R&&!I?a.appendChild(X):l.parentNode.insertBefore(X,R?I:l),M&&V(M,0,z-M.scrollTop),Z=X.parentNode,void 0===b||Oe||(be=Math.abs(b-P(l)[C])),U(),F(!0)}if(a.contains(X))return F(!1)}return!1}function D(s,c){$(s,p,o({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:l,completed:F,onMove:function(n,r){return Fe(J,a,X,t,n,P(n),e,r)},changed:U},c))}function j(){D("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(t){return D("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==f&&(S(X,ce?ce.options.ghostClass:u.options.ghostClass,!1),S(X,s.ghostClass,!0)),ce!==p&&p!==je.active?ce=p:p===je.active&&ce&&(ce=null),f===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){D("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(l===X&&!X.animated||l===a&&!l.animated)&&(ge=null),s.dragoverBubble||e.rootEl||l===document||(X.parentNode[B]._isOutsideThisEl(e.target),!t&&Ve(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),v=!0}function U(){ie=k(X),le=k(X,s.draggable),Y({sortable:p,name:"change",toEl:a,newIndex:ie,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",Ve),y(document,"mousemove",Ve),y(document,"touchmove",Ve)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ie=k(X),le=k(X,n.draggable),$("drop",this,{evt:e}),Z=X&&X.parentNode,ie=k(X),le=k(X,n.draggable),je.eventCanceled||(_e=!1,Oe=!1,Se=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),We(this.cloneId),We(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&O(document.body,"user-select",""),O(X,"transform",""),e&&(me&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Q&&Q.parentNode&&Q.parentNode.removeChild(Q),(J===Z||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),X&&(this.nativeDraggable&&y(X,"dragend",this),Be(X),X.style["will-change"]="",me&&!_e&&S(X,ce?ce.options.ghostClass:this.options.ghostClass,!1),S(X,this.options.chosenClass,!1),Y({sortable:this,name:"unchoose",toEl:Z,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==Z?(ie>=0&&(Y({rootEl:Z,name:"add",toEl:Z,fromEl:J,originalEvent:e}),Y({sortable:this,name:"remove",toEl:Z,originalEvent:e}),Y({rootEl:Z,name:"sort",toEl:Z,fromEl:J,originalEvent:e}),Y({sortable:this,name:"sort",toEl:Z,originalEvent:e})),ce&&ce.save()):ie!==oe&&ie>=0&&(Y({sortable:this,name:"update",toEl:Z,originalEvent:e}),Y({sortable:this,name:"sort",toEl:Z,originalEvent:e})),je.active&&(null!=ie&&-1!==ie||(ie=oe,le=ae),Y({sortable:this,name:"end",toEl:Z,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){$("nulling",this),J=X=Z=Q=ee=ne=te=re=ue=de=me=ie=le=oe=ae=ge=ye=ce=se=je.dragged=je.ghost=je.clone=je.active=null,ze.forEach((function(e){e.checked=!0})),ze.length=he=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":X&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,o=n.length,i=this.options;r<o;r++)_(e=n[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Ge(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var o=r.children[t];_(o,this.options.draggable,r,!1)&&(n[e]=o)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return _(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=q.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Ie(n)},destroy:function(){$("destroy",this);var e=this.el;e[B]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),xe.splice(xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if($("hideClone",this),je.eventCanceled)return;O(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if($("showClone",this),je.eventCanceled)return;X.parentNode!=J||this.options.group.revertClone?ee?J.insertBefore(ne,ee):J.appendChild(ne):J.insertBefore(ne,X),this.options.group.revertClone&&this.animate(X,ne),O(ne,"display",""),re=!1}}else this._hideClone()}},Pe&&g(document,"touchmove",(function(e){(je.active||_e)&&e.cancelable&&e.preventDefault()})),je.utils={on:g,off:y,css:O,find:M,is:function(e,t){return!!_(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:H,closest:_,toggleClass:S,clone:D,index:k,nextTick:qe,cancelNextTick:We,detectDirection:Ne,getChild:A},je.get=function(e){return e[B]},je.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(je.utils=o(o({},je.utils),e.utils)),q.mount(e)}))},je.create=function(e,t){return new je(e,t)},je.version="1.15.0";var Ke,$e,Ye,Xe,Ze,Qe,Je=[],et=!1;function tt(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function nt(){clearInterval(Qe)}var rt,ot=H((function(e,t,n,r){if(t.scroll){var o,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,c=z(),u=!1;$e!==n&&($e=n,tt(),Ke=t.scroll,o=t.scrollFn,!0===Ke&&(Ke=I(n,!0)));var d=0,h=Ke;do{var f=h,p=P(f),v=p.top,m=p.bottom,g=p.left,y=p.right,b=p.width,w=p.height,_=void 0,E=void 0,x=f.scrollWidth,S=f.scrollHeight,C=O(f),M=f.scrollLeft,T=f.scrollTop;f===c?(_=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),E=w<S&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(_=b<x&&("auto"===C.overflowX||"scroll"===C.overflowX),E=w<S&&("auto"===C.overflowY||"scroll"===C.overflowY));var A=_&&(Math.abs(y-i)<=l&&M+b<x)-(Math.abs(g-i)<=l&&!!M),L=E&&(Math.abs(m-a)<=l&&T+w<S)-(Math.abs(v-a)<=l&&!!T);if(!Je[d])for(var k=0;k<=d;k++)Je[k]||(Je[k]={});Je[d].vx==A&&Je[d].vy==L&&Je[d].el===f||(Je[d].el=f,Je[d].vx=A,Je[d].vy=L,clearInterval(Je[d].pid),0==A&&0==L||(u=!0,Je[d].pid=setInterval(function(){r&&0===this.layer&&je.active._onTouchMove(Ze);var t=Je[this.layer].vy?Je[this.layer].vy*s:0,n=Je[this.layer].vx?Je[this.layer].vx*s:0;"function"==typeof o&&"continue"!==o.call(je.dragged.parentNode[B],n,t,e,Ze,Je[this.layer].el)||V(Je[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==c&&(h=I(h,!1)));et=u}}),30),it=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||o;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);l(),s&&!s.el.contains(u)&&(i("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function at(){}function lt(){}function st(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,o=e.activeSortable,i=e.changed,a=e.cancel;if(o.options.swap){var l=this.sortable.el,s=this.options;if(n&&n!==l){var c=rt;!1!==r(n)?(S(n,s.swapClass,!0),rt=n):rt=null,c&&c!==rt&&S(c,s.swapClass,!1)}i(),t(!0),a()}},drop:function(e){var t,n,r,o,i,a,l=e.activeSortable,s=e.putSortable,c=e.dragEl,u=s||this.sortable,d=this.options;rt&&S(rt,d.swapClass,!1),rt&&(d.swap||s&&s.options.swap)&&c!==rt&&(u.captureAnimationState(),u!==l&&l.captureAnimationState(),n=rt,i=(t=c).parentNode,a=n.parentNode,i&&a&&!i.isEqualNode(n)&&!a.isEqualNode(t)&&(r=k(t),o=k(n),i.isEqualNode(a)&&r<o&&o++,i.insertBefore(n,i.children[r]),a.insertBefore(t,a.children[o])),u.animateAll(),u!==l&&l.animateAll())},nulling:function(){rt=null}},l(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}at.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=A(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:it},l(at,{pluginName:"revertOnSpill"}),lt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:it},l(lt,{pluginName:"removeOnSpill"});var ct,ut,dt,ht,ft,pt=[],vt=[],mt=!1,gt=!1,yt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.avoidImplicitDeselect||(e.options.supportPointer?g(document,"pointerup",this._deselectMultiDrag):(g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag))),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(t,n){var r="";pt.length&&ut===e?pt.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;dt=t},delayEnded:function(){this.isMultiDrag=~pt.indexOf(dt)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<pt.length;r++)vt.push(D(pt[r])),vt[r].sortableIndex=pt[r].sortableIndex,vt[r].draggable=!1,vt[r].style["will-change"]="",S(vt[r],this.options.selectedClass,!1),pt[r]===dt&&S(vt[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pt.length&&ut===t&&(wt(!0,n),r("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(wt(!1,n),vt.forEach((function(e){O(e,"display","")})),t(),ft=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(vt.forEach((function(e){O(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),ft=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),pt.forEach((function(e){e.sortableIndex=k(e)})),pt=pt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){pt.forEach((function(e){e!==dt&&O(e,"position","absolute")}));var r=P(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&j(e,r)})),gt=!0,mt=!0}n.animateAll((function(){gt=!1,mt=!1,t.options.animation&&pt.forEach((function(e){F(e)})),t.options.sort&&_t()}))}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;gt&&~pt.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,o=e.dragRect;pt.length>1&&(pt.forEach((function(e){r.addAnimationState({target:e,rect:gt?P(e):o}),F(e),e.fromRect=o,t.removeAnimationState(e)})),gt=!1,function(e,t){pt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,o=e.activeSortable,i=e.parentEl,a=e.putSortable,l=this.options;if(r){if(n&&o._hideClone(),mt=!1,l.animation&&pt.length>1&&(gt||!n&&!o.options.sort&&!a)){var s=P(dt,!1,!0,!0);pt.forEach((function(e){e!==dt&&(j(e,s),i.appendChild(e))})),gt=!0}if(!n)if(gt||_t(),pt.length>1){var c=ft;o._showClone(t),o.options.animation&&!ft&&c&&vt.forEach((function(e){o.addAnimationState({target:e,rect:ht}),e.fromRect=ht,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(pt.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){ht=l({},t);var o=C(dt,!0);ht.top-=o.f,ht.left-=o.e}},dragOverAnimationComplete:function(){gt&&(gt=!1,_t())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,i=e.dispatchSortableEvent,a=e.oldIndex,l=e.putSortable,s=l||this.sortable;if(t){var c=this.options,u=r.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),S(dt,c.selectedClass,!~pt.indexOf(dt)),~pt.indexOf(dt))pt.splice(pt.indexOf(dt),1),ct=null,W({sortable:o,rootEl:n,name:"deselect",targetEl:dt,originalEvent:t});else{if(pt.push(dt),W({sortable:o,rootEl:n,name:"select",targetEl:dt,originalEvent:t}),t.shiftKey&&ct&&o.el.contains(ct)){var d,h,f=k(ct),p=k(dt);if(~f&&~p&&f!==p)for(p>f?(h=f,d=p):(h=p,d=f+1);h<d;h++)~pt.indexOf(u[h])||(S(u[h],c.selectedClass,!0),pt.push(u[h]),W({sortable:o,rootEl:n,name:"select",targetEl:u[h],originalEvent:t}))}else ct=dt;ut=s}if(yt&&this.isMultiDrag){if(gt=!1,(r[B].options.sort||r!==n)&&pt.length>1){var v=P(dt),m=k(dt,":not(."+this.options.selectedClass+")");if(!mt&&c.animation&&(dt.thisAnimationDuration=null),s.captureAnimationState(),!mt&&(c.animation&&(dt.fromRect=v,pt.forEach((function(e){if(e.thisAnimationDuration=null,e!==dt){var t=gt?P(e):v;e.fromRect=t,s.addAnimationState({target:e,rect:t})}}))),_t(),pt.forEach((function(e){u[m]?r.insertBefore(e,u[m]):r.appendChild(e),m++})),a===k(dt))){var g=!1;pt.forEach((function(e){e.sortableIndex===k(e)||(g=!0)})),g&&i("update")}pt.forEach((function(e){F(e)})),s.animateAll()}ut=s}(n===r||l&&"clone"!==l.lastPutMode)&&vt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,vt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||ut!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];S(t,this.options.selectedClass,!1),pt.shift(),W({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvent:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},l(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[B];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),S(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[B],n=pt.indexOf(e);t&&t.options.multiDrag&&~n&&(S(e,t.options.selectedClass,!1),pt.splice(n,1))}},eventProperties:function(){var e,t=this,n=[],r=[];return pt.forEach((function(e){var o;n.push({multiDragElement:e,index:e.sortableIndex}),o=gt&&e!==dt?-1:gt?k(e,":not(."+t.options.selectedClass+")"):k(e),r.push({multiDragElement:e,index:o})})),{items:(e=pt,function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),clones:[].concat(vt),oldIndicies:n,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function wt(e,t){vt.forEach((function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function _t(){pt.forEach((function(e){e!==dt&&e.parentNode&&e.parentNode.removeChild(e)}))}je.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):t.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(E),E=void 0},nulling:function(){Ze=$e=Ke=et=Qe=Ye=Xe=null,Je.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,o);if(Ze=e,t||this.options.forceAutoScrollFallback||d||u||f){ot(e,this.options,i,t);var a=I(i,!0);!et||Qe&&r===Ye&&o===Xe||(Qe&&nt(),Qe=setInterval((function(){var i=I(document.elementFromPoint(r,o),!0);i!==a&&(a=i,tt()),ot(e,n.options,i,t)}),10),Ye=r,Xe=o)}else{if(!this.options.bubbleScroll||I(i,!0)===z())return void tt();ot(e,this.options,I(i,!1),!1)}}},l(e,{pluginName:"scroll",initializeByDefault:!0})}),je.mount(lt,at);const Et=je},32152:(e,t,n)=>{"use strict";function r(e,t,n){const o=t-1,i=n[a(o,n.length)];return"Z"!==i.marker?i:r(e,o,n)}function o(e,t,n){const r=t+1,i=n[a(r,n.length)];return"Z"===i.marker?o(e,r,n):i}function i(e,t,n){let r=n[t-1]||{values:{x:0,y:0}};if(e.marker===e.marker.toLowerCase())switch(e.marker=e.marker.toUpperCase(),e.marker){case"M":case"L":case"A":case"T":e.values.x+=r.values.x,e.values.y+=r.values.y;break;case"H":e.marker="L",e.values.x+=r.values.x,e.values.y=r.values.y;break;case"V":e.marker="L",e.values.x=r.values.x,e.values.y+=r.values.y;break;case"C":e.values.x+=r.values.x,e.values.y+=r.values.y,e.values.x1+=r.values.x,e.values.y1+=r.values.y,e.values.x2+=r.values.x,e.values.y2+=r.values.y;break;case"S":e.values.x+=r.values.x,e.values.y+=r.values.y,e.values.x2+=r.values.x,e.values.y2+=r.values.y;break;case"Q":e.values.x+=r.values.x,e.values.y+=r.values.y,e.values.x1+=r.values.x,e.values.y1+=r.values.y}else if(e.marker===e.marker.toUpperCase())switch(e.marker){case"H":e.marker="L",e.values.y=r.values.y;break;case"V":e.marker="L",e.values.x=r.values.x}if("Z"===e.marker){function o(e,t){return"M"===e[t].marker?e[t]:o(e,t-1)}let i=o(n,t);e.values.x=i.values.x,e.values.y=i.values.y}return e}function a(e,t){return(e%t+t)%t}function l(e,t,n){if(0!==t&&"L"===e.marker){let r=n[t-1];["x","y"].every((t=>0===Math.round(Math.abs(r.values[t]-e.values[t]))))&&(e.overlap=!0)}return e}function s(e,t){const n=["x","y"].every((n=>0===Math.round(Math.abs(e[t].values[n]-e[0].values[n]))));"L"===e[t].marker&&n&&(e[t].overlap=!0,s(e,t-1)),"Z"===e[t].marker&&s(e,t-1)}function c(e,t){return Math.atan2(t.x-e.x,t.y-e.y)}function u(e,t){const n=e.x-t.x,r=e.y-t.y;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}function d(e,t){return Math.sin(e)*t}function h(e,t){return Math.cos(e)*t}function f(e,t){const n=t/Math.tan(e);return n===1/0||n===-1/0||isNaN(n)?t:n}function p(e){const t=["radiusX","radiusY","rotation","largeArc","sweep","x1","y1","x2","y2","x","y"];return e.map((e=>{let n="";if("Z"!==e.marker){const r=Object.keys(e.values);n=t.filter((e=>-1!==r.indexOf(e))).map((t=>e.values[t])).join()}return`${e.marker}${n}`})).join("").trim()}function v(e){const t=/-?[0-9]*\.?\d+/g;return[...e.matchAll(/[MmLlSsQqLlHhVvCcSsQqTtAaZz]/g)].map((e=>({marker:e[0],index:e.index}))).reduceRight(((t,n)=>{const r=e.substring(n.index,t.length?t[t.length-1].index:e.length);return t.concat([{marker:n.marker,index:n.index,chunk:r.length>0?r.substr(1,r.length-1):r}])}),[]).reverse().flatMap((e=>{const n=e.chunk.match(t),r=n?n.map(parseFloat):[];return function(e,t){const n=[];switch(e.toUpperCase()){case"M":for(let r=0;r<t.length;r+=2){let o;o=e===e.toUpperCase()?0===r?"M":"L":0===r?"m":"l",n.push({marker:o,values:{x:t[r],y:t[r+1]}})}break;case"L":for(let r=0;r<t.length;r+=2)n.push({marker:e,values:{x:t[r],y:t[r+1]}});break;case"H":for(let r=0;r<t.length;r++)n.push({marker:e,values:{x:t[r],y:0}});break;case"V":for(let r=0;r<t.length;r++)n.push({marker:e,values:{x:0,y:t[r]}});break;case"C":for(let r=0;r<t.length;r+=6)n.push({marker:e,values:{x1:t[r],y1:t[r+1],x2:t[r+2],y2:t[r+3],x:t[r+4],y:t[r+5]}});break;case"S":for(let r=0;r<t.length;r+=4)n.push({marker:e,values:{x2:t[r],y2:t[r+1],x:t[r+2],y:t[r+3]}});break;case"Q":for(let r=0;r<t.length;r+=4)n.push({marker:e,values:{x1:t[r],y1:t[r+1],x:t[r+2],y:t[r+3]}});break;case"T":for(let r=0;r<t.length;r+=2)n.push({marker:e,values:{x:t[r],y:t[r+1]}});break;case"A":for(let r=0;r<t.length;r+=7)n.push({marker:e,values:{radiusX:t[r],radiusY:t[r+1],rotation:t[r+2],largeArc:t[r+3],sweep:t[r+4],x:t[r+5],y:t[r+6]}});break;case"Z":n.push({marker:e,values:{x:0,y:0}})}return n}(e.marker,r)})).map(i)}function m(e,t,n){let i=[],a=[];return n&&e.forEach((e=>function(e,t){return Object.keys(e.values).forEach((n=>e.values[n]=e.values[n]&&parseFloat(e.values[n].toFixed(t)))),e}(e,n))),e.forEach((e=>{"M"===e.marker&&i.push([]),i[i.length-1].push(e)})),i.forEach((e=>{e.map(l),s(e,e.length-1);const n="Z"==e[e.length-1].marker;e.filter((e=>!e.overlap)).map(((e,i,l)=>{const s=r(e,i,l),p=o(e,i,l),v=c(e.values,s.values),m=c(e.values,p.values),g=m-v,y=g*(180/Math.PI),b=function(e,t,n){const r=u(e.values,n.values),o=u(t.values,e.values);return Math.min(o,r)}(e,s,p),w=Math.abs(function(e,t){return t*Math.tan(e)}(g/2,b/2)),_=Math.min(t,w),E=function(e,t){let n,r=0,o=e*(180/Math.PI);return o<0&&o>=-180||o>180&&o<360?n=f(e/2,-t):(n=f(e/2,t),r=1,n===1/0&&(n=t)),{offset:n,sweepFlag:r}}(g,_),x=E.offset,S=E.sweepFlag,O=(0==i||i==l.length-1)&&!n;switch(e.marker){case"M":case"L":const t=[e.values.x+d(v,x),e.values.y+h(v,x)],n=[e.values.x+d(m,x),e.values.y+h(m,x)];O?a.push({marker:e.marker,values:e.values}):a.push({marker:e.marker,values:{x:parseFloat(t[0].toFixed(3)),y:parseFloat(t[1].toFixed(3))}}),O||"L"!==p.marker&&"M"!==p.marker||a.push({marker:"A",radius:_,values:{radiusX:_,radiusY:_,rotation:y,largeArc:0,sweep:S,x:parseFloat(n[0].toFixed(3)),y:parseFloat(n[1].toFixed(3))}});break;case"C":case"S":case"Q":case"T":case"A":case"Z":a.push({marker:e.marker,values:e.values})}}))})),{path:p(a),commands:a}}function g(e,t,n){return m([...v(e)],t,n)}n.r(t),n.d(t,{parsePath:()=>v,roundCommands:()=>m,roundCorners:()=>g})},92898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SWRConfig:()=>c,default:()=>u,mutate:()=>i.JG,preload:()=>i.MA,unstable_serialize:()=>a,useSWRConfig:()=>i.kY});var r=n(67294),o=n(61688),i=n(11753);const a=e=>(0,i.qC)(e)[0],l=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),s={dedupe:!0},c=i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_}),u=(0,i.s6)(((e,t,n)=>{const{cache:a,compare:c,suspense:u,fallbackData:d,revalidateOnMount:h,revalidateIfStale:f,refreshInterval:p,refreshWhenHidden:v,refreshWhenOffline:m,keepPreviousData:g}=n,[y,b,w,_]=i.DY.get(a),[E,x]=(0,i.qC)(e),S=(0,r.useRef)(!1),O=(0,r.useRef)(!1),C=(0,r.useRef)(E),M=(0,r.useRef)(t),z=(0,r.useRef)(n),P=()=>z.current,T=()=>P().isVisible()&&P().isOnline(),[A,L,k,N]=(0,i.JN)(a,E),I=(0,r.useRef)({}).current,R=(0,i.o8)(d)?n.fallback[E]:d,H=(e,t)=>{for(const n in I){const r=n;if("data"===r){if(!c(e[r],t[r])){if(!(0,i.o8)(e[r]))return!1;if(!c(W,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},V=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.o8)(h)?!P().isPaused()&&!u&&(!!(0,i.o8)(f)||f):h),n=t=>{const n=(0,i.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=A(),o=N(),a=n(r),l=r===o?a:n(o);let s=a;return[()=>{const e=n(A());return H(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>l]}),[a,E]),D=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>k(E,((t,n)=>{H(n,t)||e()}))),[a,E]),V[0],V[1]),j=!S.current,F=y[E]&&y[E].length>0,B=D.data,U=(0,i.o8)(B)?R:B,G=D.error,q=(0,r.useRef)(U),W=g?(0,i.o8)(B)?q.current:B:U,K=!(F&&!(0,i.o8)(G))&&(j&&!(0,i.o8)(h)?h:!P().isPaused()&&(u?!(0,i.o8)(U)&&f:(0,i.o8)(U)||f)),$=!!(E&&t&&j&&K),Y=(0,i.o8)(D.isValidating)?$:D.isValidating,X=(0,i.o8)(D.isLoading)?$:D.isLoading,Z=(0,r.useCallback)((async e=>{const t=M.current;if(!E||!t||O.current||P().isPaused())return!1;let r,o,a=!0;const l=e||{},s=!w[E]||!l.dedupe,u=()=>i.w6?!O.current&&E===C.current&&S.current:E===C.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},f=()=>{const e=w[E];e&&e[1]===o&&delete w[E]},p={isValidating:!0};(0,i.o8)(A().data)&&(p.isLoading=!0);try{if(s&&(L(p),n.loadingTimeout&&(0,i.o8)(A().data)&&setTimeout((()=>{a&&u()&&P().onLoadingSlow(E,n)}),n.loadingTimeout),w[E]=[t(x),(0,i.u3)()]),[r,o]=w[E],r=await r,s&&setTimeout(f,n.dedupingInterval),!w[E]||w[E][1]!==o)return s&&u()&&P().onDiscarded(E),!1;d.error=i.i_;const e=b[E];if(!(0,i.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return h(),s&&u()&&P().onDiscarded(E),!1;const l=A().data;d.data=c(l,r)?l:r,s&&u()&&P().onSuccess(r,E,n)}catch(e){f();const t=P(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,s&&u()&&(t.onError(e,E,t),(!0===n||(0,i.mf)(n)&&n(e))&&T()&&t.onErrorRetry(e,E,t,(e=>{const t=y[E];t&&t[0]&&t[0](i.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,h(),!0}),[E,a]),Q=(0,r.useCallback)(((...e)=>(0,i.BN)(a,C.current,...e)),[]);if((0,i.LI)((()=>{M.current=t,z.current=n,(0,i.o8)(B)||(q.current=B)})),(0,i.LI)((()=>{if(!E)return;const e=Z.bind(i.i_,s);let t=0;const n=(0,i.ko)(E,y,((n,r={})=>{if(n==i.sj.FOCUS_EVENT){const n=Date.now();P().revalidateOnFocus&&n>t&&T()&&(t=n+P().focusThrottleInterval,e())}else if(n==i.sj.RECONNECT_EVENT)P().revalidateOnReconnect&&T()&&e();else{if(n==i.sj.MUTATE_EVENT)return Z();if(n==i.sj.ERROR_REVALIDATE_EVENT)return Z(r)}}));return O.current=!1,C.current=E,S.current=!0,L({_k:x}),K&&((0,i.o8)(U)||i.W6?e():(0,i.kw)(e)),()=>{O.current=!0,n()}}),[E]),(0,i.LI)((()=>{let e;function t(){const t=(0,i.mf)(p)?p(A().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){A().error||!v&&!P().isVisible()||!m&&!P().isOnline()?t():Z(s).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[p,v,m,E]),(0,r.useDebugValue)(W),u&&(0,i.o8)(U)&&E){if(!i.w6&&i.W6)throw new Error("Fallback data is required when using suspense in SSR.");M.current=t,z.current=n,O.current=!1;const e=_[E];if(!(0,i.o8)(e)){const t=Q(e);l(t)}if(!(0,i.o8)(G))throw G;{const e=Z(s);(0,i.o8)(W)||(e.status="fulfilled",e.value=!0),l(e)}}return{mutate:Q,get data(){return I.data=!0,W},get error(){return I.error=!0,G},get isValidating(){return I.isValidating=!0,Y},get isLoading(){return I.isLoading=!0,X}}}))},39050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f,infinite:()=>h,unstable_serialize:()=>u});var r=n(67294),o=n(61688),i=n(11753);const a=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),l={dedupe:!0},s=(i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_}),(0,i.s6)(((e,t,n)=>{const{cache:s,compare:c,suspense:u,fallbackData:d,revalidateOnMount:h,revalidateIfStale:f,refreshInterval:p,refreshWhenHidden:v,refreshWhenOffline:m,keepPreviousData:g}=n,[y,b,w,_]=i.DY.get(s),[E,x]=(0,i.qC)(e),S=(0,r.useRef)(!1),O=(0,r.useRef)(!1),C=(0,r.useRef)(E),M=(0,r.useRef)(t),z=(0,r.useRef)(n),P=()=>z.current,T=()=>P().isVisible()&&P().isOnline(),[A,L,k,N]=(0,i.JN)(s,E),I=(0,r.useRef)({}).current,R=(0,i.o8)(d)?n.fallback[E]:d,H=(e,t)=>{for(const n in I){const r=n;if("data"===r){if(!c(e[r],t[r])){if(!(0,i.o8)(e[r]))return!1;if(!c(W,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},V=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.o8)(h)?!P().isPaused()&&!u&&(!!(0,i.o8)(f)||f):h),n=t=>{const n=(0,i.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=A(),o=N(),a=n(r),l=r===o?a:n(o);let s=a;return[()=>{const e=n(A());return H(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>l]}),[s,E]),D=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>k(E,((t,n)=>{H(n,t)||e()}))),[s,E]),V[0],V[1]),j=!S.current,F=y[E]&&y[E].length>0,B=D.data,U=(0,i.o8)(B)?R:B,G=D.error,q=(0,r.useRef)(U),W=g?(0,i.o8)(B)?q.current:B:U,K=!(F&&!(0,i.o8)(G))&&(j&&!(0,i.o8)(h)?h:!P().isPaused()&&(u?!(0,i.o8)(U)&&f:(0,i.o8)(U)||f)),$=!!(E&&t&&j&&K),Y=(0,i.o8)(D.isValidating)?$:D.isValidating,X=(0,i.o8)(D.isLoading)?$:D.isLoading,Z=(0,r.useCallback)((async e=>{const t=M.current;if(!E||!t||O.current||P().isPaused())return!1;let r,o,a=!0;const l=e||{},s=!w[E]||!l.dedupe,u=()=>i.w6?!O.current&&E===C.current&&S.current:E===C.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},f=()=>{const e=w[E];e&&e[1]===o&&delete w[E]},p={isValidating:!0};(0,i.o8)(A().data)&&(p.isLoading=!0);try{if(s&&(L(p),n.loadingTimeout&&(0,i.o8)(A().data)&&setTimeout((()=>{a&&u()&&P().onLoadingSlow(E,n)}),n.loadingTimeout),w[E]=[t(x),(0,i.u3)()]),[r,o]=w[E],r=await r,s&&setTimeout(f,n.dedupingInterval),!w[E]||w[E][1]!==o)return s&&u()&&P().onDiscarded(E),!1;d.error=i.i_;const e=b[E];if(!(0,i.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return h(),s&&u()&&P().onDiscarded(E),!1;const l=A().data;d.data=c(l,r)?l:r,s&&u()&&P().onSuccess(r,E,n)}catch(e){f();const t=P(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,s&&u()&&(t.onError(e,E,t),(!0===n||(0,i.mf)(n)&&n(e))&&T()&&t.onErrorRetry(e,E,t,(e=>{const t=y[E];t&&t[0]&&t[0](i.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,h(),!0}),[E,s]),Q=(0,r.useCallback)(((...e)=>(0,i.BN)(s,C.current,...e)),[]);if((0,i.LI)((()=>{M.current=t,z.current=n,(0,i.o8)(B)||(q.current=B)})),(0,i.LI)((()=>{if(!E)return;const e=Z.bind(i.i_,l);let t=0;const n=(0,i.ko)(E,y,((n,r={})=>{if(n==i.sj.FOCUS_EVENT){const n=Date.now();P().revalidateOnFocus&&n>t&&T()&&(t=n+P().focusThrottleInterval,e())}else if(n==i.sj.RECONNECT_EVENT)P().revalidateOnReconnect&&T()&&e();else{if(n==i.sj.MUTATE_EVENT)return Z();if(n==i.sj.ERROR_REVALIDATE_EVENT)return Z(r)}}));return O.current=!1,C.current=E,S.current=!0,L({_k:x}),K&&((0,i.o8)(U)||i.W6?e():(0,i.kw)(e)),()=>{O.current=!0,n()}}),[E]),(0,i.LI)((()=>{let e;function t(){const t=(0,i.mf)(p)?p(A().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){A().error||!v&&!P().isVisible()||!m&&!P().isOnline()?t():Z(l).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[p,v,m,E]),(0,r.useDebugValue)(W),u&&(0,i.o8)(U)&&E){if(!i.w6&&i.W6)throw new Error("Fallback data is required when using suspense in SSR.");M.current=t,z.current=n,O.current=!1;const e=_[E];if(!(0,i.o8)(e)){const t=Q(e);a(t)}if(!(0,i.o8)(G))throw G;{const e=Z(l);(0,i.o8)(W)||(e.status="fulfilled",e.value=!0),a(e)}}return{mutate:Q,get data(){return I.data=!0,W},get error(){return I.error=!0,G},get isValidating(){return I.isValidating=!0,Y},get isLoading(){return I.isLoading=!0,X}}}))),c=e=>(0,i.qC)(e?e(0,null):null)[0],u=e=>i.UG+c(e),d=Promise.resolve(),h=e=>(t,n,a)=>{const l=(0,r.useRef)(!1),{cache:s,initialSize:u=1,revalidateAll:h=!1,persistSize:f=!1,revalidateFirstPage:p=!0,revalidateOnMount:v=!1,parallel:m=!1}=a,[,,,g]=i.DY.get(i.Fs);let y;try{y=c(t),y&&(y=i.UG+y)}catch(e){}const[b,w,_]=(0,i.JN)(s,y),E=(0,r.useCallback)((()=>(0,i.o8)(b()._l)?u:b()._l),[s,y,u]);(0,o.useSyncExternalStore)((0,r.useCallback)((e=>y?_(y,(()=>{e()})):()=>{}),[s,y]),E,E);const x=(0,r.useCallback)((()=>{const e=b()._l;return(0,i.o8)(e)?u:e}),[y,u]),S=(0,r.useRef)(x());(0,i.LI)((()=>{l.current?y&&w({_l:f?S.current:x()}):l.current=!0}),[y,s]);const O=v&&!l.current,C=e(y,(async e=>{const r=b()._i,o=[],l=x(),[c]=(0,i.JN)(s,e),u=c().data,d=[];let f=null;for(let e=0;e<l;++e){const[l,c]=(0,i.qC)(t(e,m?null:f));if(!l)break;const[v,y]=(0,i.JN)(s,l);let b=v().data;const w=h||r||(0,i.o8)(b)||p&&!e&&!(0,i.o8)(u)||O||u&&!(0,i.o8)(u[e])&&!a.compare(u[e],b);if(n&&w){const t=async()=>{if(l in g){const e=g[l];delete g[l],b=await e}else b=await n(c);y({data:b,_k:c}),o[e]=b};m?d.push(t):await t()}else o[e]=b;m||(f=b)}return m&&await Promise.all(d.map((e=>e()))),w({_i:i.i_}),o}),a),M=(0,r.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return y?(r&&((0,i.o8)(e)?w({_i:!0}):w({_i:!1})),arguments.length?C.mutate(e,{...n,revalidate:r}):C.mutate()):d}),[y,s]),z=(0,r.useCallback)((e=>{if(!y)return d;const[,n]=(0,i.JN)(s,y);let r;if((0,i.mf)(e)?r=e(x()):"number"==typeof e&&(r=e),"number"!=typeof r)return d;n({_l:r}),S.current=r;const o=[],[a]=(0,i.JN)(s,y);let l=null;for(let e=0;e<r;++e){const[n]=(0,i.qC)(t(e,l)),[r]=(0,i.JN)(s,n),c=n?r().data:i.i_;if((0,i.o8)(c))return M(a().data);o.push(c),l=c}return M(o)}),[y,s,M,x]);return{size:x(),setSize:z,mutate:M,get data(){return C.data},get error(){return C.error},get isValidating(){return C.isValidating},get isLoading(){return C.isLoading}}},f=(0,i.xD)(s,h)},2177:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=!0,o="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t;throw new Error(n?o+": "+n:o)}}},52511:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var a,l=2147483647,s=36,c=26,u=38,d=700,h=/^xn--/,f=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=s-1,g=Math.floor,y=String.fromCharCode;function b(e){throw new RangeError(v[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function _(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(p,".")).split("."),t).join(".")}function E(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function x(e){return w(e,(function(e){var t="";return e>65535&&(t+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+y(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,n){var r=0;for(e=n?g(e/d):e>>1,e+=g(e/t);e>m*c>>1;r+=s)e=g(e/m);return g(r+(m+1)*e/(e+u))}function C(e){var t,n,r,o,i,a,u,d,h,f,p,v=[],m=e.length,y=0,w=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&b("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=y,a=1,u=s;o>=m&&b("invalid-input"),((d=(p=e.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:s)>=s||d>g((l-y)/a))&&b("overflow"),y+=d*a,!(d<(h=u<=_?1:u>=_+c?c:u-_));u+=s)a>g(l/(f=s-h))&&b("overflow"),a*=f;_=O(y-i,t=v.length+1,0==i),g(y/t)>l-w&&b("overflow"),w+=g(y/t),y%=t,v.splice(y++,0,w)}return x(v)}function M(e){var t,n,r,o,i,a,u,d,h,f,p,v,m,w,_,x=[];for(v=(e=E(e)).length,t=128,n=0,i=72,a=0;a<v;++a)(p=e[a])<128&&x.push(y(p));for(r=o=x.length,o&&x.push("-");r<v;){for(u=l,a=0;a<v;++a)(p=e[a])>=t&&p<u&&(u=p);for(u-t>g((l-n)/(m=r+1))&&b("overflow"),n+=(u-t)*m,t=u,a=0;a<v;++a)if((p=e[a])<t&&++n>l&&b("overflow"),p==t){for(d=n,h=s;!(d<(f=h<=i?1:h>=i+c?c:h-i));h+=s)_=d-f,w=s-f,x.push(y(S(f+_%w,0))),d=g(_/w);x.push(y(S(d,0))),i=O(n,m,r==o),n=0,++r}++n,++t}return x.join("")}a={version:"1.4.1",ucs2:{decode:E,encode:x},decode:C,encode:M,toASCII:function(e){return _(e,(function(e){return f.test(e)?"xn--"+M(e):e}))},toUnicode:function(e){return _(e,(function(e){return h.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},8575:(e,t,n)=>{"use strict";var r=n(52511);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),u=["%","/","?",";","#"].concat(c),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(80129);function y(e,t,n){if(e&&"object"==typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",s=e.split(a);s[0]=s[0].replace(/\\/g,"/");var y=e=s.join(a);if(y=y.trim(),!n&&1===e.split("#").length){var b=l.exec(y);if(b)return this.path=y,this.href=y,this.pathname=b[1],b[2]?(this.search=b[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(y);if(w){var _=(w=w[0]).toLowerCase();this.protocol=_,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@/]+@[^@/]+/)){var E="//"===y.substr(0,2);!E||w&&v[w]||(y=y.substr(2),this.slashes=!0)}if(!v[w]&&(E||w&&!m[w])){for(var x,S,O=-1,C=0;C<d.length;C++)-1!==(M=y.indexOf(d[C]))&&(-1===O||M<O)&&(O=M);for(-1!==(S=-1===O?y.lastIndexOf("@"):y.lastIndexOf("@",O))&&(x=y.slice(0,S),y=y.slice(S+1),this.auth=decodeURIComponent(x)),O=-1,C=0;C<u.length;C++){var M;-1!==(M=y.indexOf(u[C]))&&(-1===O||M<O)&&(O=M)}-1===O&&(O=y.length),this.host=y.slice(0,O),y=y.slice(O),this.parseHost(),this.hostname=this.hostname||"";var z="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!z)for(var P=this.hostname.split(/\./),T=(C=0,P.length);C<T;C++){var A=P[C];if(A&&!A.match(h)){for(var L="",k=0,N=A.length;k<N;k++)A.charCodeAt(k)>127?L+="x":L+=A[k];if(!L.match(h)){var I=P.slice(0,C),R=P.slice(C+1),H=A.match(f);H&&(I.push(H[1]),R.unshift(H[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),z||(this.hostname=r.toASCII(this.hostname));var V=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+V,this.href+=this.host,z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[_])for(C=0,T=c.length;C<T;C++){var j=c[C];if(-1!==y.indexOf(j)){var F=encodeURIComponent(j);F===j&&(F=escape(j)),y=y.split(j).join(F)}}var B=y.indexOf("#");-1!==B&&(this.hash=y.substr(B),y=y.slice(0,B));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),m[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){V=this.pathname||"";var G=this.search||"";this.path=V+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=g.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if("string"==typeof e){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var c=l[s];"protocol"!==c&&(n[c]=e[c])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var h=u[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",g=n.search||"";n.path=p+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=b||y||n.host&&e.pathname,_=w,E=n.pathname&&n.pathname.split("/")||[],x=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),w=w&&(""===f[0]||""===E[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,E=f;else if(f.length)E||(E=[]),E.pop(),E=E.concat(f),n.search=e.search,n.query=e.query;else if(null!=e.search)return x&&(n.host=E.shift(),n.hostname=n.host,(z=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=z.shift(),n.hostname=z.shift(),n.host=n.hostname)),n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=E.slice(-1)[0],O=(n.host||e.host||E.length>1)&&("."===S||".."===S)||""===S,C=0,M=E.length;M>=0;M--)"."===(S=E[M])?E.splice(M,1):".."===S?(E.splice(M,1),C++):C&&(E.splice(M,1),C--);if(!w&&!_)for(;C--;C)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),O&&"/"!==E.join("/").substr(-1)&&E.push("");var z,P=""===E[0]||E[0]&&"/"===E[0].charAt(0);return x&&(n.hostname=P?"":E.length?E.shift():"",n.host=n.hostname,(z=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=z.shift(),n.hostname=z.shift(),n.host=n.hostname)),(w=w||n.host&&E.length)&&!P&&E.unshift(""),E.length>0?n.pathname=E.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return"string"==typeof e&&(e=y(e)),e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o},84420:(e,t,n)=>{var r=n(67294);e.exports=function(e,t,n){const o=r.useRef("loading"),i=r.useRef(),[a,l]=r.useState(0),s=r.useRef(),c=r.useRef(),u=r.useRef();return s.current===e&&c.current===t&&u.current===n||(o.current="loading",i.current=void 0,s.current=e,c.current=t,u.current=n),r.useLayoutEffect((function(){if(e){var r=document.createElement("img");return r.addEventListener("load",a),r.addEventListener("error",s),t&&(r.crossOrigin=t),n&&(r.referrerPolicy=n),r.src=e,function(){r.removeEventListener("load",a),r.removeEventListener("error",s)}}function a(){o.current="loaded",i.current=r,l(Math.random())}function s(){o.current="failed",i.current=void 0,l(Math.random())}}),[e,t,n]),[i.current,o.current]}},53250:(e,t,n)=>{"use strict";var r=n(67294),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,l=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return l((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},61688:(e,t,n)=>{"use strict";e.exports=n(53250)},42473:e=>{"use strict";e.exports=function(){}},1347:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){var e=function(e){var t=e.tagName;return"http://www.w3.org/1999/xhtml"===e.namespaceURI&&(t=t.toLowerCase()),t},t=function(e){return Array.prototype.map.call(e.childNodes,(function(e){return r(e)})).join("")},n=function(n,r){var o="<"+e(n);return o+=function(e,t){return Array.prototype.map.call(e.attributes||e.attrs,(function(e){return e.name})).indexOf("xmlns")>=0||!t&&e.namespaceURI===e.parentNode.namespaceURI?"":' xmlns="'+e.namespaceURI+'"'}(n,r),Array.prototype.forEach.call(n.attributes||n.attrs,(function(e){o+=function(e){var t=e.value;return" "+e.name+'="'+function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}(t)+'"'}(e)})),n.childNodes.length>0?(o+=">",o+=t(n),o+="</"+e(n)+">"):o+="/>",o},r=function(e,r){var o=r&&r.rootNode;return"#document"===e.nodeName||"#document-fragment"===e.nodeName?t(e):e.tagName?n(e,o):"#text"===e.nodeName?function(e){var t=e.nodeValue||e.value||"";return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}(e):"#comment"===e.nodeName?function(e){return"\x3c!--"+e.data.replace(/-/g,"-")+"--\x3e"}(e):"#cdata-section"===e.nodeName?function(e){return"<![CDATA["+e.nodeValue+"]]>"}(e):void 0};return{serializeToString:function(e){return r(e,{rootNode:!0}).replace(/[\x00-\x08\x0B\x0C\x0E-\x1F]/g,"")}}})?n.apply(t,[]):n)||(e.exports=r)},24654:()=>{},68207:function(e){e.exports=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},e(t)}var t=/^\s+/,n=/\s+$/;function r(o,i){if(i=i||{},(o=o||"")instanceof r)return o;if(!(this instanceof r))return new r(o,i);var a=function(r){var o={r:0,g:0,b:0},i=1,a=null,l=null,s=null,c=!1,u=!1;return"string"==typeof r&&(r=function(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r,o=!1;if(w[e])e=w[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(r=k.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=k.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=k.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=k.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=k.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=k.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=k.hex8.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),a:P(r[4]),format:o?"name":"hex8"}:(r=k.hex6.exec(e))?{r:O(r[1]),g:O(r[2]),b:O(r[3]),format:o?"name":"hex"}:(r=k.hex4.exec(e))?{r:O(r[1]+""+r[1]),g:O(r[2]+""+r[2]),b:O(r[3]+""+r[3]),a:P(r[4]+""+r[4]),format:o?"name":"hex8"}:!!(r=k.hex3.exec(e))&&{r:O(r[1]+""+r[1]),g:O(r[2]+""+r[2]),b:O(r[3]+""+r[3]),format:o?"name":"hex"}}(r)),"object"==e(r)&&(N(r.r)&&N(r.g)&&N(r.b)?(d=r.r,h=r.g,f=r.b,o={r:255*x(d,255),g:255*x(h,255),b:255*x(f,255)},c=!0,u="%"===String(r.r).substr(-1)?"prgb":"rgb"):N(r.h)&&N(r.s)&&N(r.v)?(a=M(r.s),l=M(r.v),o=function(e,t,n){e=6*x(e,360),t=x(t,100),n=x(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6;return{r:255*[n,a,i,i,l,n][s],g:255*[l,n,n,a,i,i][s],b:255*[i,i,l,n,n,a][s]}}(r.h,a,l),c=!0,u="hsv"):N(r.h)&&N(r.s)&&N(r.l)&&(a=M(r.s),s=M(r.l),o=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=x(e,360),t=x(t,100),n=x(n,100),0===t)r=o=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=a(s,l,e+1/3),o=a(s,l,e),i=a(s,l,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(r.h,a,s),c=!0,u="hsl"),r.hasOwnProperty("a")&&(i=r.a)),i=E(i),{ok:c,format:r.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:i};var d,h,f}(o);this._originalInput=o,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=Math.round(100*this._a)/100,this._format=i.format||a.format,this._gradientType=i.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=a.ok}function o(e,t,n){e=x(e,255),t=x(t,255),n=x(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),l=(i+a)/2;if(i==a)r=o=0;else{var s=i-a;switch(o=l>.5?s/(2-i-a):s/(i+a),i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:o,l}}function i(e,t,n){e=x(e,255),t=x(t,255),n=x(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),l=i,s=i-a;if(o=0===i?0:s/i,i==a)r=0;else{switch(i){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:o,v:l}}function a(e,t,n,r){var o=[C(Math.round(e).toString(16)),C(Math.round(t).toString(16)),C(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function l(e,t,n,r){return[C(z(r)),C(Math.round(e).toString(16)),C(Math.round(t).toString(16)),C(Math.round(n).toString(16))].join("")}function s(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s-=t/100,n.s=S(n.s),r(n)}function c(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.s+=t/100,n.s=S(n.s),r(n)}function u(e){return r(e).desaturate(100)}function d(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l+=t/100,n.l=S(n.l),r(n)}function h(e,t){t=0===t?0:t||10;var n=r(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),r(n)}function f(e,t){t=0===t?0:t||10;var n=r(e).toHsl();return n.l-=t/100,n.l=S(n.l),r(n)}function p(e,t){var n=r(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,r(n)}function v(e){var t=r(e).toHsl();return t.h=(t.h+180)%360,r(t)}function m(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=r(e).toHsl(),o=[r(e)],i=360/t,a=1;a<t;a++)o.push(r({h:(n.h+a*i)%360,s:n.s,l:n.l}));return o}function g(e){var t=r(e).toHsl(),n=t.h;return[r(e),r({h:(n+72)%360,s:t.s,l:t.l}),r({h:(n+216)%360,s:t.s,l:t.l})]}function y(e,t,n){t=t||6,n=n||30;var o=r(e).toHsl(),i=360/n,a=[r(e)];for(o.h=(o.h-(i*t>>1)+720)%360;--t;)o.h=(o.h+i)%360,a.push(r(o));return a}function b(e,t){t=t||6;for(var n=r(e).toHsv(),o=n.h,i=n.s,a=n.v,l=[],s=1/t;t--;)l.push(r({h:o,s:i,v:a})),a=(a+s)%1;return l}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=E(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=i(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return a(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[C(Math.round(e).toString(16)),C(Math.round(t).toString(16)),C(Math.round(n).toString(16)),C(z(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*x(this._r,255))+"%",g:Math.round(100*x(this._g,255))+"%",b:Math.round(100*x(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*x(this._r,255))+"%, "+Math.round(100*x(this._g,255))+"%, "+Math.round(100*x(this._b,255))+"%)":"rgba("+Math.round(100*x(this._r,255))+"%, "+Math.round(100*x(this._g,255))+"%, "+Math.round(100*x(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(_[a(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+l(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var i=r(e);n="#"+l(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(h,arguments)},darken:function(){return this._applyModification(f,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(c,arguments)},greyscale:function(){return this._applyModification(u,arguments)},spin:function(){return this._applyModification(p,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(v,arguments)},monochromatic:function(){return this._applyCombination(b,arguments)},splitcomplement:function(){return this._applyCombination(g,arguments)},triad:function(){return this._applyCombination(m,[3])},tetrad:function(){return this._applyCombination(m,[4])}},r.fromRatio=function(t,n){if("object"==e(t)){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]="a"===i?t[i]:M(t[i]));t=o}return r(t,n)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},r.mix=function(e,t,n){n=0===n?0:n||50;var o=r(e).toRgb(),i=r(t).toRgb(),a=n/100;return r({r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b,a:(i.a-o.a)*a+o.a})},r.readability=function(e,t){var n=r(e),o=r(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)},r.isReadable=function(e,t,n){var o,i,a,l,s,c=r.readability(e,t);switch(i=!1,(a=n,"AA"!==(l=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==l&&(l="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),o={level:l,size:s}).level+o.size){case"AAsmall":case"AAAlarge":i=c>=4.5;break;case"AAlarge":i=c>=3;break;case"AAAsmall":i=c>=7}return i},r.mostReadable=function(e,t,n){var o,i,a,l,s=null,c=0;i=(n=n||{}).includeFallbackColors,a=n.level,l=n.size;for(var u=0;u<t.length;u++)(o=r.readability(e,t[u]))>c&&(c=o,s=r(t[u]));return r.isReadable(e,s,{level:a,size:l})||!i?s:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var w=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},_=r.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(w);function E(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function x(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function S(e){return Math.min(1,Math.max(0,e))}function O(e){return parseInt(e,16)}function C(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function z(e){return Math.round(255*parseFloat(e)).toString(16)}function P(e){return O(e)/255}var T,A,L,k=(A="[\\s|\\(]+("+(T="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",L="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",{CSS_UNIT:new RegExp(T),rgb:new RegExp("rgb"+A),rgba:new RegExp("rgba"+L),hsl:new RegExp("hsl"+A),hsla:new RegExp("hsla"+L),hsv:new RegExp("hsv"+A),hsva:new RegExp("hsva"+L),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function N(e){return!!k.CSS_UNIT.exec(e)}return r}()},97326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},51721:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},63366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},18465:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,_T:()=>a,ev:()=>l,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create},57222:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,_T:()=>a,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create},64296:(e,t,n)=>{"use strict";n.r(t),n.d(t,{customAlphabet:()=>a,customRandom:()=>i,nanoid:()=>l,random:()=>o,urlAlphabet:()=>r});let r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(o),l=o;for(;l--;)if(a+=e[t[l]&r]||"",a.length===i)return a}}},a=(e,t=21)=>i(e,t,o),l=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),"")},11753:(e,t,n)=>{"use strict";n.d(t,{$l:()=>a,BN:()=>H,DY:()=>p,Fs:()=>j,J$:()=>q,JG:()=>F,JN:()=>w,LI:()=>P,MA:()=>Z,PM:()=>c,UG:()=>W,W6:()=>M,i_:()=>i,kY:()=>X,ko:()=>ee,kw:()=>z,mf:()=>s,o8:()=>l,qC:()=>L,s6:()=>J,sj:()=>R,u3:()=>N,u_:()=>B,w6:()=>C,xD:()=>te});var r=n(67294);const o=()=>{},i=o(),a=Object,l=e=>e===i,s=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),u=e=>s(e.then),d=new WeakMap;let h=0;const f=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(a(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=d.get(e),o)return o;if(o=++h+"~",d.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=f(e[i])+",";d.set(e,o)}if(n==a){o="#";const t=a.keys(e).sort();for(;!l(i=t.pop());)l(e[i])||(o+=i+":"+f(e[i])+",");d.set(e,o)}}return o},p=new WeakMap,v={},m={},g="undefined",y=typeof window!=g,b=typeof document!=g,w=(e,t)=>{const n=p.get(e);return[()=>!l(t)&&e.get(t)||v,r=>{if(!l(t)){const o=e.get(t);t in m||(m[t]=o),n[5](t,c(o,r),o||v)}},n[6],()=>!l(t)&&t in m?m[t]:!l(t)&&e.get(t)||v]};let _=!0;const[E,x]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],S={isOnline:()=>_,isVisible:()=>{const e=b&&document.visibilityState;return l(e)||"hidden"!==e}},O={initFocus:e=>(b&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{b&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{const t=()=>{_=!0,e()},n=()=>{_=!1};return E("online",t),E("offline",n),()=>{x("online",t),x("offline",n)}}},C=!r.useId,M=!y||"Deno"in window,z=e=>y&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),P=M?r.useEffect:r.useLayoutEffect,T="undefined"!=typeof navigator&&navigator.connection,A=!M&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),L=e=>{if(s(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?f(e):"",t]};let k=0;const N=()=>++k,I=2;var R={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:I,RECONNECT_EVENT:1};async function H(...e){const[t,n,r,o]=e,a=c({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let d=a.populateCache;const h=a.rollbackOnError;let f=a.optimisticData;const v=!1!==a.revalidate,m=a.throwOnError;if(s(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(g))}return g(n);async function g(n){const[o]=L(n);if(!o)return;const[a,c]=w(t,o),[g,y,b,_]=p.get(t),E=()=>{const e=g[o];return v&&(delete b[o],delete _[o],e&&e[0])?e[0](I).then((()=>a().data)):a().data};if(e.length<3)return E();let x,S=r;const O=N();y[o]=[O,0];const C=!l(f),M=a(),z=M.data,P=M._c,T=l(P)?z:P;if(C&&(f=s(f)?f(T,z):f,c({data:f,_c:T})),s(S))try{S=S(T)}catch(e){x=e}if(S&&u(S)){if(S=await S.catch((e=>{x=e})),O!==y[o][0]){if(x)throw x;return S}x&&C&&(e=>"function"==typeof h?h(e):!1!==h)(x)&&(d=!0,c({data:T,_c:i}))}if(d&&!x)if(s(d)){const e=d(S,T);c({data:e,error:i,_c:i})}else c({data:S,error:i,_c:i});if(y[o][1]=N(),Promise.resolve(E()).then((()=>{c({_c:i})})),!x)return S;if(m)throw x}}const V=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},D=(e,t)=>{if(!p.has(e)){const n=c(O,t),r={},a=H.bind(i,e);let l=o;const s={},u=(e,t)=>{const n=s[e]||[];return s[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);const o=s[t];if(o)for(const e of o)e(n,r)},h=()=>{if(!p.has(e)&&(p.set(e,[r,{},{},{},a,d,u]),!M)){const t=n.initFocus(setTimeout.bind(i,V.bind(i,r,0))),o=n.initReconnect(setTimeout.bind(i,V.bind(i,r,1)));l=()=>{t&&t(),o&&o(),p.delete(e)}}};return h(),[e,a,h,l]}return[e,p.get(e)[4]]},[j,F]=D(new Map),B=c({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!l(i)&&a>i||setTimeout(r,s,o)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>f(e)==f(t),isPaused:()=>!1,cache:j,mutate:F,fallback:{}},S),U=(e,t)=>{const n=c(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=c(o,a))}return n},G=(0,r.createContext)({}),q=e=>{const{value:t}=e,n=(0,r.useContext)(G),o=s(t),a=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),l=(0,r.useMemo)((()=>o?a:U(n,a)),[o,n,a]),u=a&&a.provider,d=(0,r.useRef)(i);u&&!d.current&&(d.current=D(u(l.cache||j),a));const h=d.current;return h&&(l.cache=h[0],l.mutate=h[1]),P((()=>{if(h)return h[2]&&h[2](),h[3]}),[]),(0,r.createElement)(G.Provider,c(e,{value:l}))},W="$inf$",K=y&&window.__SWR_DEVTOOLS_USE__,$=K?window.__SWR_DEVTOOLS_USE__:[],Y=e=>s(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=()=>c(B,(0,r.useContext)(G)),Z=(e,t)=>{const[n,r]=L(e),[,,,o]=p.get(j);if(o[n])return o[n];const i=t(r);return o[n]=i,i},Q=$.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=L(t),[,,,o]=p.get(j);if(r.startsWith(W))return n(...e);const i=o[r];return l(i)?n(...e):(delete o[r],i)}),r))),J=e=>function(...t){const n=X(),[r,o,i]=Y(t),a=U(n,i);let l=e;const{use:s}=a,c=(s||[]).concat(Q);for(let e=c.length;e--;)l=c[e](l);return l(r,o||a.fetcher||null,a)},ee=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},te=(e,t)=>(...n)=>{const[r,o,i]=Y(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};K&&(window.__SWR_DEVTOOLS_REACT__=r)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e,t,r=n(67294),o=n(20745),i=n(11500),a=n(73967),l=n(14096),s=n(41929),c=n(62982),u=n(9246),d=n(78466),h=n(25883),f=n(50242),p=(n(90083),n(66));function v(e){return v="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},v(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function g(){g=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),l=new L(r||[]);return o(a,"_invoke",{value:z(e,n,l)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",m="completed",y={};function b(){}function w(){}function _(){}var E={};c(E,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(k([])));S&&S!==n&&r.call(S,a)&&(E=S);var O=_.prototype=b.prototype=Object.create(E);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(o,i,a,l){var s=d(e[o],e,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==v(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function z(t,n,r){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var s=P(l,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:f,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function P(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(v(t)+" is not iterable")}return w.prototype=_,o(O,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:w,configurable:!0}),w.displayName=c(_,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},C(M.prototype),c(M.prototype,l,(function(){return this})),t.AsyncIterator=M,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new M(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(O),c(O,s,"Generator"),c(O,a,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return l.type="throw",l.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function y(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){y(i,r,o,a,l,"next",e)}function l(e){y(i,r,o,a,l,"throw",e)}a(void 0)}))}}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E,x,S=2,O=2,C={name:"sd-txt2img",Tab:function(e){return r.createElement(s.SectionTab,m({name:"Txt2img"},e))},Panel:(0,f.observer)((function(t){var n=t.store,o=w(r.useState([]),2),i=o[0],a=o[1];function l(){return s.apply(this,arguments)}function s(){return(s=b(g().mark((function t(){return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a(e),t.next=3,new Promise((function(e){return setTimeout(e,3e3)}));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}return r.useEffect((function(){l()}),[]),r.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},r.createElement("p",null,"txt2img Library"),r.createElement(h.ImagesGrid,{images:i,getPreview:function(e){return e.url},onSelect:function(){var e=b(g().mark((function e(t,r){var o,i,a;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.getImageSize)(t.url);case 2:o=e.sent,i=o.width,a=o.height,n.activePage.addElement({type:"image",src:t.url,width:i,height:a,x:r?r.x:n.width/2-i/2,y:r?r.y:n.height/2-a/2});case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),rowsNumber:2,isLoading:!i.length,loadMore:b(g().mark((function t(){var n,r,o;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(n='{"type": "txt2img", "num": pageNum, "size": 15}').replace("pageNum",S.toString()),t.next=4,E("getImgFilePaths",n);case 4:return r=t.sent,o=JSON.parse(r),e=e.concat(o),t.next=9,l();case 9:S+=1;case 10:case"end":return t.stop()}}),t)})))}))}))},M={name:"sd-img2img",Tab:function(e){return r.createElement(s.SectionTab,m({name:"Img2img"},e))},Panel:(0,f.observer)((function(e){var n=e.store,o=w(r.useState([]),2),i=o[0],a=o[1];function l(){return s.apply(this,arguments)}function s(){return(s=b(g().mark((function e(){return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a(t),e.next=3,new Promise((function(e){return setTimeout(e,3e3)}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return r.useEffect((function(){l()}),[]),r.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},r.createElement("p",null,"img2img Library"),r.createElement(h.ImagesGrid,{images:i,getPreview:function(e){return e.url},onSelect:function(){var e=b(g().mark((function e(t,r){var o,i,a;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.getImageSize)(t.url);case 2:o=e.sent,i=o.width,a=o.height,n.activePage.addElement({type:"image",src:t.url,width:i,height:a,x:r?r.x:n.width/2-i/2,y:r?r.y:n.height/2-a/2});case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),rowsNumber:2,isLoading:!i.length,loadMore:b(g().mark((function e(){var n,r,o;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(n='{"type": "img2img", "num": pageNum, "size": 15}').replace("pageNum",O.toString()),e.next=4,E("getImgFilePaths",n);case 4:return r=e.sent,o=JSON.parse(r),t=t.concat(o),e.next=9,l();case 9:O+=1;case 10:case"end":return e.stop()}}),e)})))}))}))},z=[s.TextSection,s.PhotosSection,s.ElementsSection,s.UploadSection,s.BackgroundSection,s.LayersSection,s.SizeSection,C,M],P=function(e){var t=e.store;return r.createElement("div",null,r.createElement(p.DownloadButton,{store:t}))},T=function(e){var t=e.store;return r.createElement(a.Toolbar,{store:t,components:{ActionControls:P}})},A=function(e){var t=e.store;return r.createElement(i.PolotnoContainer,{style:{width:"95vw",height:"90vh"}},r.createElement(i.SidePanelWrap,null,r.createElement(s.SidePanel,{store:t,sections:z})),r.createElement(i.WorkspaceWrap,null,r.createElement(T,{store:t}),r.createElement(c.Workspace,{store:t}),r.createElement(l.ZoomButtons,{store:t})))};window.createPolotnoApp=function(e){var t=e.key,n=e.container,i=e.width,a=e.height,l=(0,d.createStore)({key:t,showCredit:!0});l.addPage(),l.setSize(Number(i),Number(a),!0),o.createRoot(n).render(r.createElement(A,{store:l})),x=l},window.getPolotnoStore=function(){return x},window.setTxt2imgInfoJSON=function(t){e=t},window.setImg2imgInfoJSON=function(e){t=e},window.setLoadMoreFunc=function(e){E=e}})()})(); |