sd-canvas-editor/js/polotno.bundle.js

392 lines
2.0 MiB
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

/*! For license information please see polotno.bundle.js.LICENSE.txt */
(()=>{var e={8060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Colors=void 0;const n={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"},r={COBALT1:n.CERULEAN1,COBALT2:n.CERULEAN2,COBALT3:n.CERULEAN3,COBALT4:n.CERULEAN4,COBALT5:n.CERULEAN5};t.Colors=Object.assign(Object.assign(Object.assign(Object.assign({},{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"}),n),r)},5746:(e,t,n)=>{"use strict";t.wL=void 0;var r=n(8060);Object.defineProperty(t,"wL",{enumerable:!0,get:function(){return r.Colors}});n(1920)},1920:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegacyColors=void 0,t.LegacyColors={BLACK:"#10161A",BLUE1:"#0E5A8A",BLUE2:"#106BA3",BLUE3:"#137CBD",BLUE4:"#2B95D6",BLUE5:"#48AFF0",COBALT1:"#1F4B99",COBALT2:"#2458B3",COBALT3:"#2965CC",COBALT4:"#4580E6",COBALT5:"#669EFF",DARK_GRAY1:"#182026",DARK_GRAY2:"#202B33",DARK_GRAY3:"#293742",DARK_GRAY4:"#30404D",DARK_GRAY5:"#394B59",FOREST1:"#1D7324",FOREST2:"#238C2C",FOREST3:"#29A634",FOREST4:"#43BF4D",FOREST5:"#62D96B",GOLD1:"#A67908",GOLD2:"#BF8C0A",GOLD3:"#D99E0B",GOLD4:"#F2B824",GOLD5:"#FFC940",GRAY1:"#5C7080",GRAY2:"#738694",GRAY3:"#8A9BA8",GRAY4:"#A7B6C2",GRAY5:"#BFCCD6",GREEN1:"#0A6640",GREEN2:"#0D8050",GREEN3:"#0F9960",GREEN4:"#15B371",GREEN5:"#3DCC91",INDIGO1:"#5642A6",INDIGO2:"#634DBF",INDIGO3:"#7157D9",INDIGO4:"#9179F2",INDIGO5:"#AD99FF",LIGHT_GRAY1:"#CED9E0",LIGHT_GRAY2:"#D8E1E8",LIGHT_GRAY3:"#E1E8ED",LIGHT_GRAY4:"#EBF1F5",LIGHT_GRAY5:"#F5F8FA",LIME1:"#728C23",LIME2:"#87A629",LIME3:"#9BBF30",LIME4:"#B6D94C",LIME5:"#D1F26D",ORANGE1:"#A66321",ORANGE2:"#BF7326",ORANGE3:"#D9822B",ORANGE4:"#F29D49",ORANGE5:"#FFB366",RED1:"#A82A2A",RED2:"#C23030",RED3:"#DB3737",RED4:"#F55656",RED5:"#FF7373",ROSE1:"#A82255",ROSE2:"#C22762",ROSE3:"#DB2C6F",ROSE4:"#F5498B",ROSE5:"#FF66A1",SEPIA1:"#63411E",SEPIA2:"#7D5125",SEPIA3:"#96622D",SEPIA4:"#B07B46",SEPIA5:"#C99765",TURQUOISE1:"#008075",TURQUOISE2:"#00998C",TURQUOISE3:"#00B3A4",TURQUOISE4:"#14CCBD",TURQUOISE5:"#2EE6D6",VERMILION1:"#9E2B0E",VERMILION2:"#B83211",VERMILION3:"#D13913",VERMILION4:"#EB532D",VERMILION5:"#FF6E4A",VIOLET1:"#5C255C",VIOLET2:"#752F75",VIOLET3:"#8F398F",VIOLET4:"#A854A8",VIOLET5:"#C274C2",WHITE:"#FFFFFF"}},5307:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(655),o=n(7294),a=n(322),i=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,a.KV)("production")||r.validateProps(r.props),r}return(0,r.ZT)(t,e),t.prototype.componentDidUpdate=function(e,t,n){(0,a.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)},1229:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var r={CENTER:"center",LEFT:"left",RIGHT:"right"}},4958:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var r={START:"start",END:"end"}},451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ACTIVE:()=>d,ALERT:()=>ce,ALERT_BODY:()=>ue,ALERT_CONTENTS:()=>he,ALERT_FOOTER:()=>de,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:()=>Ee,CALLOUT_ICON:()=>xe,CARD:()=>_e,CHECKBOX:()=>gt,CODE:()=>re,CODE_BLOCK:()=>oe,COLLAPSE:()=>Se,COLLAPSE_BODY:()=>Ce,COLLAPSIBLE_LIST:()=>Oe,COMPACT:()=>v,CONTEXT_MENU:()=>ze,CONTEXT_MENU_POPOVER_TARGET:()=>Me,CONTROL:()=>pt,CONTROL_GROUP:()=>Te,CONTROL_INDICATOR:()=>vt,CONTROL_INDICATOR_CHILD:()=>mt,DARK:()=>m,DIALOG:()=>Pe,DIALOG_BODY:()=>Le,DIALOG_BODY_SCROLL_CONTAINER:()=>Re,DIALOG_CLOSE_BUTTON:()=>Ne,DIALOG_CONTAINER:()=>ke,DIALOG_FOOTER:()=>He,DIALOG_FOOTER_ACTIONS:()=>De,DIALOG_FOOTER_FIXED:()=>Ie,DIALOG_FOOTER_MAIN_SECTION:()=>Ve,DIALOG_HEADER:()=>Ae,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:()=>Ye,DRAWER_HEADER:()=>Ze,EDITABLE_TEXT:()=>$e,EDITABLE_TEXT_CONTENT:()=>Xe,EDITABLE_TEXT_EDITING:()=>Qe,EDITABLE_TEXT_INPUT:()=>Je,EDITABLE_TEXT_PLACEHOLDER:()=>et,ELEVATION_0:()=>I,ELEVATION_1:()=>V,ELEVATION_2:()=>D,ELEVATION_3:()=>j,ELEVATION_4:()=>F,END:()=>Qn,FILE_INPUT:()=>Et,FILE_INPUT_HAS_SELECTION:()=>xt,FILE_UPLOAD_INPUT:()=>_t,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:()=>Rt,FORM_GROUP:()=>Lt,FORM_GROUP_SUB_LABEL:()=>Ht,FORM_HELPER_TEXT:()=>Nt,HEADING:()=>ae,HOTKEY:()=>Mt,HOTKEY_COLUMN:()=>Pt,HOTKEY_DIALOG:()=>kt,HOTKEY_LABEL:()=>Tt,HTML_SELECT:()=>nt,HTML_TABLE:()=>ot,HTML_TABLE_BORDERED:()=>at,HTML_TABLE_CONDENSED:()=>it,HTML_TABLE_STRIPED:()=>lt,ICON:()=>Hr,ICON_LARGE:()=>Vr,ICON_STANDARD:()=>Ir,INLINE:()=>E,INPUT:()=>st,INPUT_ACTION:()=>dt,INPUT_GHOST:()=>ct,INPUT_GROUP:()=>ut,INPUT_LEFT_CONTAINER:()=>ht,INTENT_DANGER:()=>q,INTENT_PRIMARY:()=>B,INTENT_SUCCESS:()=>U,INTENT_WARNING:()=>G,INTERACTIVE:()=>x,KEY:()=>Ct,KEY_COMBO:()=>Ot,LABEL:()=>At,LARGE:()=>_,LIST:()=>ie,LIST_UNSTYLED:()=>le,LOADING:()=>S,MENU:()=>It,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:()=>C,MODIFIER_KEY:()=>zt,MONOSPACE_TEXT:()=>$,MULTILINE:()=>z,MULTISTEP_DIALOG:()=>qt,MULTISTEP_DIALOG_FOOTER:()=>Zt,MULTISTEP_DIALOG_LEFT_PANEL:()=>Kt,MULTISTEP_DIALOG_NAV_RIGHT:()=>Xt,MULTISTEP_DIALOG_NAV_TOP:()=>$t,MULTISTEP_DIALOG_PANELS:()=>Wt,MULTISTEP_DIALOG_RIGHT_PANEL:()=>Yt,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:()=>O,OVERFLOW_LIST:()=>ln,OVERFLOW_LIST_SPACER:()=>sn,OVERLAY:()=>cn,OVERLAY_BACKDROP:()=>un,OVERLAY_CONTAINER:()=>hn,OVERLAY_CONTENT:()=>dn,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:()=>xn,PANEL_STACK2_HEADER:()=>_n,PANEL_STACK2_HEADER_BACK:()=>Sn,PANEL_STACK2_VIEW:()=>Cn,PANEL_STACK_HEADER:()=>bn,PANEL_STACK_HEADER_BACK:()=>wn,PANEL_STACK_VIEW:()=>En,POPOVER:()=>On,POPOVER_ARROW:()=>zn,POPOVER_BACKDROP:()=>Mn,POPOVER_CAPTURING_DISMISS:()=>Tn,POPOVER_CONTENT:()=>Pn,POPOVER_CONTENT_SIZING:()=>kn,POPOVER_DISMISS:()=>An,POPOVER_DISMISS_OVERRIDE:()=>Ln,POPOVER_OPEN:()=>Rn,POPOVER_OUT_OF_BOUNDARIES:()=>Nn,POPOVER_TARGET:()=>Hn,POPOVER_WRAPPER:()=>In,PORTAL:()=>Un,POSITION_BOTTOM:()=>R,POSITION_LEFT:()=>N,POSITION_RIGHT:()=>H,POSITION_TOP:()=>L,PROGRESS_BAR:()=>Dn,PROGRESS_METER:()=>jn,PROGRESS_NO_ANIMATION:()=>Bn,PROGRESS_NO_STRIPES:()=>Fn,RADIO:()=>yt,READ_ONLY:()=>M,RESIZABLE_INPUT_SPAN:()=>ft,ROUND:()=>T,RTL:()=>se,RUNNING_TEXT:()=>Z,SELECT:()=>rt,SELECTED:()=>P,SKELETON:()=>Gn,SLIDER:()=>qn,SLIDER_AXIS:()=>Wn,SLIDER_HANDLE:()=>Kn,SLIDER_LABEL:()=>Yn,SLIDER_PROGRESS:()=>$n,SLIDER_TRACK:()=>Zn,SMALL:()=>k,SPINNER:()=>Jn,SPINNER_ANIMATION:()=>er,SPINNER_HEAD:()=>tr,SPINNER_NO_SPIN:()=>nr,SPINNER_TRACK:()=>rr,START:()=>Xn,SWITCH:()=>bt,SWITCH_INNER_TEXT:()=>wt,TAB:()=>or,TABS:()=>hr,TAB_ICON:()=>ar,TAB_INDICATOR:()=>lr,TAB_INDICATOR_WRAPPER:()=>sr,TAB_LIST:()=>cr,TAB_PANEL:()=>ur,TAB_TAG:()=>ir,TAG:()=>dr,TAG_INPUT:()=>pr,TAG_INPUT_ICON:()=>vr,TAG_INPUT_VALUES:()=>mr,TAG_REMOVE:()=>fr,TEXT_DISABLED:()=>ee,TEXT_LARGE:()=>X,TEXT_MUTED:()=>J,TEXT_OVERFLOW_ELLIPSIS:()=>te,TEXT_SMALL:()=>Q,TOAST:()=>gr,TOAST_CONTAINER:()=>yr,TOAST_MESSAGE:()=>br,TOOLTIP:()=>wr,TOOLTIP_INDICATOR:()=>Er,TRANSITION_CONTAINER:()=>Vn,TREE:()=>xr,TREE_NODE:()=>_r,TREE_NODE_CARET:()=>Sr,TREE_NODE_CARET_CLOSED:()=>Cr,TREE_NODE_CARET_NONE:()=>Or,TREE_NODE_CARET_OPEN:()=>zr,TREE_NODE_CONTENT:()=>Mr,TREE_NODE_EXPANDED:()=>Tr,TREE_NODE_ICON:()=>Pr,TREE_NODE_LABEL:()=>kr,TREE_NODE_LIST:()=>Ar,TREE_NODE_SECONDARY_LABEL:()=>Lr,TREE_NODE_SELECTED:()=>Rr,TREE_ROOT:()=>Nr,UI_TEXT:()=>Y,VERTICAL:()=>A,alignmentClass:()=>jr,elevationClass:()=>Fr,getClassNamespace:()=>Dr,iconClass:()=>Br,intentClass:()=>Ur,positionClass:()=>Gr});var r,o,a,i,l=n(1229),s=n(762),c=n(2609),u=n(3766),h="bp4";"undefined"!=typeof process&&(h=null!==(i=null!==(o=null===(r=process.env)||void 0===r?void 0:r.BLUEPRINT_NAMESPACE)&&void 0!==o?o:null===(a=process.env)||void 0===a?void 0:a.REACT_APP_BLUEPRINT_NAMESPACE)&&void 0!==i?i:h);var d="".concat(h,"-active"),f="".concat(h,"-align-left"),p="".concat(h,"-align-right"),v="".concat(h,"-compact"),m="".concat(h,"-dark"),g="".concat(h,"-disabled"),y="".concat(h,"-fill"),b="".concat(h,"-fixed"),w="".concat(h,"-fixed-top"),E="".concat(h,"-inline"),x="".concat(h,"-interactive"),_="".concat(h,"-large"),S="".concat(h,"-loading"),C="".concat(h,"-minimal"),O="".concat(h,"-outlined"),z="".concat(h,"-multiline"),M="".concat(h,"-read-only"),T="".concat(h,"-round"),P="".concat(h,"-selected"),k="".concat(h,"-small"),A="".concat(h,"-vertical"),L=Gr(u.Ly.TOP),R=Gr(u.Ly.BOTTOM),N=Gr(u.Ly.LEFT),H=Gr(u.Ly.RIGHT),I=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(h,"-focus-disabled"),K="".concat(h,"-focus-style-manager-ignore"),Y="".concat(h,"-ui-text"),Z="".concat(h,"-running-text"),$="".concat(h,"-monospace-text"),X="".concat(h,"-text-large"),Q="".concat(h,"-text-small"),J="".concat(h,"-text-muted"),ee="".concat(h,"-text-disabled"),te="".concat(h,"-text-overflow-ellipsis"),ne="".concat(h,"-blockquote"),re="".concat(h,"-code"),oe="".concat(h,"-code-block"),ae="".concat(h,"-heading"),ie="".concat(h,"-list"),le="".concat(h,"-list-unstyled"),se="".concat(h,"-rtl"),ce="".concat(h,"-alert"),ue="".concat(ce,"-body"),he="".concat(ce,"-contents"),de="".concat(ce,"-footer"),fe="".concat(h,"-breadcrumb"),pe="".concat(fe,"-current"),ve="".concat(fe,"s"),me="".concat(fe,"s-collapsed"),ge="".concat(h,"-button"),ye="".concat(ge,"-group"),be="".concat(ge,"-spinner"),we="".concat(ge,"-text"),Ee="".concat(h,"-callout"),xe="".concat(Ee,"-icon"),_e="".concat(h,"-card"),Se="".concat(h,"-collapse"),Ce="".concat(Se,"-body"),Oe="".concat(h,"-collapse-list"),ze="".concat(h,"-context-menu"),Me="".concat(ze,"-popover-target"),Te="".concat(h,"-control-group"),Pe="".concat(h,"-dialog"),ke="".concat(Pe,"-container"),Ae="".concat(Pe,"-header"),Le="".concat(Pe,"-body"),Re="".concat(Pe,"-body-scroll-container"),Ne="".concat(Pe,"-close-button"),He="".concat(Pe,"-footer"),Ie="".concat(Pe,"-footer-fixed"),Ve="".concat(Pe,"-footer-main-section"),De="".concat(Pe,"-footer-actions"),je="".concat(h,"-dialog-step"),Fe="".concat(je,"-container"),Be="".concat(je,"-title"),Ue="".concat(je,"-icon"),Ge="".concat(je,"-viewed"),qe="".concat(h,"-divider"),We="".concat(h,"-drawer"),Ke="".concat(We,"-body"),Ye="".concat(We,"-footer"),Ze="".concat(We,"-header"),$e="".concat(h,"-editable-text"),Xe="".concat($e,"-content"),Qe="".concat($e,"-editing"),Je="".concat($e,"-input"),et="".concat($e,"-placeholder"),tt="".concat(h,"-flex-expander"),nt="".concat(h,"-html-select"),rt="".concat(h,"-select"),ot="".concat(h,"-html-table"),at="".concat(ot,"-bordered"),it="".concat(ot,"-condensed"),lt="".concat(ot,"-striped"),st="".concat(h,"-input"),ct="".concat(st,"-ghost"),ut="".concat(st,"-group"),ht="".concat(st,"-left-container"),dt="".concat(st,"-action"),ft="".concat(h,"-resizable-input-span"),pt="".concat(h,"-control"),vt="".concat(pt,"-indicator"),mt="".concat(vt,"-child"),gt="".concat(h,"-checkbox"),yt="".concat(h,"-radio"),bt="".concat(h,"-switch"),wt="".concat(bt,"-inner-text"),Et="".concat(h,"-file-input"),xt="".concat(h,"-file-input-has-selection"),_t="".concat(h,"-file-upload-input"),St="".concat(h,"-file-upload-input-custom-text"),Ct="".concat(h,"-key"),Ot="".concat(Ct,"-combo"),zt="".concat(h,"-modifier-key"),Mt="".concat(h,"-hotkey"),Tt="".concat(Mt,"-label"),Pt="".concat(Mt,"-column"),kt="".concat(Mt,"-dialog"),At="".concat(h,"-label"),Lt="".concat(h,"-form-group"),Rt="".concat(h,"-form-content"),Nt="".concat(h,"-form-helper-text"),Ht="".concat(h,"-form-group-sub-label"),It="".concat(h,"-menu"),Vt="".concat(It,"-item"),Dt="".concat(Vt,"-icon"),jt="".concat(Vt,"-label"),Ft="".concat(h,"-submenu"),Bt="".concat(Ft,"-icon"),Ut="".concat(It,"-divider"),Gt="".concat(It,"-header"),qt="".concat(h,"-multistep-dialog"),Wt="".concat(qt,"-panels"),Kt="".concat(qt,"-left-panel"),Yt="".concat(qt,"-right-panel"),Zt="".concat(qt,"-footer"),$t="".concat(qt,"-nav-top"),Xt="".concat(qt,"-nav-right"),Qt="".concat(h,"-navbar"),Jt="".concat(Qt,"-group"),en="".concat(Qt,"-heading"),tn="".concat(Qt,"-divider"),nn="".concat(h,"-non-ideal-state"),rn="".concat(nn,"-visual"),on="".concat(nn,"-text"),an="".concat(h,"-numeric-input"),ln="".concat(h,"-overflow-list"),sn="".concat(ln,"-spacer"),cn="".concat(h,"-overlay"),un="".concat(cn,"-backdrop"),hn="".concat(cn,"-container"),dn="".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(h,"-panel-stack"),bn="".concat(yn,"-header"),wn="".concat(yn,"-header-back"),En="".concat(yn,"-view"),xn="".concat(h,"-panel-stack2"),_n="".concat(yn,"-header"),Sn="".concat(yn,"-header-back"),Cn="".concat(yn,"-view"),On="".concat(h,"-popover"),zn="".concat(On,"-arrow"),Mn="".concat(On,"-backdrop"),Tn="".concat(On,"-capturing-dismiss"),Pn="".concat(On,"-content"),kn="".concat(Pn,"-sizing"),An="".concat(On,"-dismiss"),Ln="".concat(An,"-override"),Rn="".concat(On,"-open"),Nn="".concat(On,"-out-of-boundaries"),Hn="".concat(On,"-target"),In="".concat(On,"-wrapper"),Vn="".concat(h,"-transition-container"),Dn="".concat(h,"-progress-bar"),jn="".concat(h,"-progress-meter"),Fn="".concat(h,"-no-stripes"),Bn="".concat(h,"-no-animation"),Un="".concat(h,"-portal"),Gn="".concat(h,"-skeleton"),qn="".concat(h,"-slider"),Wn="".concat(qn,"-axis"),Kn="".concat(qn,"-handle"),Yn="".concat(qn,"-label"),Zn="".concat(qn,"-track"),$n="".concat(qn,"-progress"),Xn="".concat(h,"-start"),Qn="".concat(h,"-end"),Jn="".concat(h,"-spinner"),er="".concat(Jn,"-animation"),tr="".concat(Jn,"-head"),nr="".concat(h,"-no-spin"),rr="".concat(Jn,"-track"),or="".concat(h,"-tab"),ar="".concat(or,"-icon"),ir="".concat(or,"-tag"),lr="".concat(or,"-indicator"),sr="".concat(lr,"-wrapper"),cr="".concat(or,"-list"),ur="".concat(or,"-panel"),hr="".concat(or,"s"),dr="".concat(h,"-tag"),fr="".concat(dr,"-remove"),pr="".concat(h,"-tag-input"),vr="".concat(pr,"-icon"),mr="".concat(pr,"-values"),gr="".concat(h,"-toast"),yr="".concat(gr,"-container"),br="".concat(gr,"-message"),wr="".concat(h,"-tooltip"),Er="".concat(wr,"-indicator"),xr="".concat(h,"-tree"),_r="".concat(h,"-tree-node"),Sr="".concat(_r,"-caret"),Cr="".concat(Sr,"-closed"),Or="".concat(Sr,"-none"),zr="".concat(Sr,"-open"),Mr="".concat(_r,"-content"),Tr="".concat(_r,"-expanded"),Pr="".concat(_r,"-icon"),kr="".concat(_r,"-label"),Ar="".concat(_r,"-list"),Lr="".concat(_r,"-secondary-label"),Rr="".concat(_r,"-selected"),Nr="".concat(h,"-tree-root"),Hr="".concat(h,"-icon"),Ir="".concat(Hr,"-standard"),Vr="".concat(Hr,"-large");function Dr(){return h}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(h,"-elevation-").concat(e)}function Br(e){if(null!=e)return 0===e.indexOf("".concat(h,"-icon-"))?e:"".concat(h,"-icon-").concat(e)}function Ur(e){if(null!=e&&e!==c.S.NONE)return"".concat(h,"-intent-").concat(e.toLowerCase())}function Gr(e){if(void 0!==e)return"".concat(h,"-position-").concat(e)}},2435:(e,t,n)=>{"use strict";"undefined"!=typeof window&&"undefined"!=typeof document&&n(3839)},762:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var r={ZERO:0,ONE:1,TWO:2,THREE:3,FOUR:4}},836:(e,t,n)=>{"use strict";n.d(t,{Am:()=>$,Bv:()=>I,C0:()=>Z,DJ:()=>s,EG:()=>E,Fp:()=>V,GO:()=>k,HK:()=>d,Ig:()=>N,J$:()=>Y,Nd:()=>F,Q2:()=>M,R6:()=>o,RH:()=>c,SE:()=>i,Sw:()=>C,Vx:()=>h,WQ:()=>L,XY:()=>w,YQ:()=>H,Yf:()=>f,Zc:()=>A,_d:()=>S,aL:()=>X,an:()=>x,b7:()=>b,c2:()=>p,e7:()=>g,ek:()=>B,fq:()=>T,hq:()=>u,kP:()=>U,l3:()=>l,nJ:()=>v,oo:()=>P,rV:()=>a,sy:()=>q,vS:()=>G,vy:()=>m,wT:()=>O,wi:()=>W,x1:()=>D,xC:()=>y,xM:()=>K,xl:()=>R,y4:()=>j,yV:()=>_,zZ:()=>z});var r="[Blueprint]",o=r+" clamp: max cannot be less than min",a=r+" <Alert> cancelButtonText and onCancel should be set together.",i=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.',h=r+" <Hotkeys> only accepts <Hotkey> children.",d=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.",E=r+" <NumericInput> requires majorStepSize to be strictly greater than zero.",x=r+" <NumericInput> requires stepSize to be strictly greater than zero.",_=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",C=r+" <PanelStack> requires at least one panel in the stack",O=r+" <OverflowList> does not support changing observeParents after mounting.",z=r+" <Popover> requires target prop or at least one child element.",M=r+" <Popover hasBackdrop={true}> requires interactionKind={PopoverInteractionKind.CLICK}.",T=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.",P=r+" <Popover> with two children ignores content prop; use either prop or children.",k=r+" <Popover> with children ignores target prop; use either prop or children.",A=r+" Disabling <Popover> with empty/whitespace content...",L=r+" <Popover usePortal={false}> ignores hasBackdrop",R=r+" <Popover> supports either placement or position prop, not both.",N=r+" <Popover> onInteraction is ignored when uncontrolled.",H=r+" <Portal> context blueprintPortalClassName must be string",I=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+" Toaster.create() is not supported inside React lifecycle methods in React 16. See usage example on the docs site.",K=r+" Toaster.create() ignores inline prop as it always creates a new element.",Y=r+" <Dialog> iconName is ignored if title is omitted.",Z=r+" <Dialog> isCloseButtonShown prop is ignored if title is omitted.",$=r+" <Drawer> all angle positions are casted into pure position (TOP, BOTTOM, LEFT or RIGHT)",X=r+" <Toaster> maxToasts is set to an invalid number, must be greater than 0"},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:()=>d,ARROW_LEFT:()=>c,ARROW_RIGHT:()=>h,ARROW_UP:()=>u,BACKSPACE:()=>r,DELETE:()=>f,ENTER:()=>a,ESCAPE:()=>l,SHIFT:()=>i,SPACE:()=>s,TAB:()=>o,isKeyboardClick:()=>p});var r=8,o=9,a=13,i=16,l=27,s=32,c=37,u=38,h=39,d=40,f=46;function p(e){return e===a||e===s}},3766:(e,t,n)=>{"use strict";n.d(t,{Bg:()=>a,L3:()=>i,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 a(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 i(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}},2778:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,g:()=>o});var r=n(655),o="Blueprint4",a=["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 i(e,t,n){return void 0===t&&(t=a),void 0===n&&(n=!1),n&&(t=t.concat(a)),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 a(e,t){r(e)?e.current=t:o(e)&&e(t)}function i(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){a(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,a(n,r)}}n.d(t,{HE:()=>o,Ik:()=>r,Km:()=>c,Uq:()=>s,k$:()=>a,lq:()=>l,zb:()=>i})},8261:(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 a(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,a);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),i=Object.keys(t);return null!=o&&null!=i&&(0===o.length&&0===i.length||r(o,i)&&s(e,t,o))}function i(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 a(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),a=u(r.concat(o));return n.exclude.forEach((function(e){return delete a[e]})),Object.keys(a)}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)&&a(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$:()=>a,MX:()=>i,cO:()=>r,ms:()=>o})},3835:(e,t,n)=>{"use strict";function r(e,t){return e===t||e.contains(t)}function o(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 i(e,t,n){var r=c((function(t){e.dispatchEvent(new CustomEvent(n,t))}));return e.addEventListener(t,r),r}function l(e,t){return void 0===t&&(t={}),c(e,(function(e){t.preventDefault&&e.preventDefault()}),(function(e){return e.persist()}))}function s(e){return c(e)}function c(e,t,n){var r=!1;return function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];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})))}}n.d(t,{C2:()=>r,P2:()=>s,T6:()=>l,Xc:()=>i,jA:()=>o,vY:()=>a})},3251:(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(2435);var r=n(451);function o(e){return null!=e&&e instanceof Element&&null!=e.closest(".".concat(r.DARK))}},322:(e,t,n)=>{"use strict";n.d(t,{EL:()=>u,KV:()=>o,h3:()=>a,mQ:()=>i,uZ:()=>l,vk:()=>s});var r=n(836);function o(e){return"undefined"!=typeof process&&process.env&&"production"===e}function a(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length-t.length}function i(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)}},7755:(e,t,n)=>{"use strict";n.d(t,{Ej:()=>a,Gf:()=>l,Mc:()=>s,h7:()=>i,qA:()=>o});var r=n(7294);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 a(e){return!o(e,!0)&&!0!==e}function i(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(655),o=n(7294),a=n(2778),i=n(4408),l=n(4184),s=n.n(l),c=n(9421),u=n(451),h=n(7755),d=n(5307),f=n(1774),p=n(8673),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,a=t.fill,i=t.large,l=t.loading,c=void 0!==l&&l,h=t.outlined,d=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]=a,e[u.LARGE]=i,e[u.LOADING]=c,e[u.MINIMAL]=d,e[u.OUTLINED]=h,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,a=e.rightIcon,i=e.text,l=!h.qA(i)||!h.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},i,t),o.createElement(f.I,{key:"rightIcon",icon:a})]},t}(d.U),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttonRef=null,t.handleRef=(0,i.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,a.B)(this.props),this.getCommonButtonProps()),this.renderChildren())},t.prototype.componentDidUpdate=function(e){e.elementRef!==this.props.elementRef&&((0,i.k$)(e.elementRef,null),this.handleRef=(0,i.Km)(this,"buttonRef",this.props.elementRef),(0,i.k$)(this.props.elementRef,this.buttonRef))},t.displayName="".concat(a.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,i.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,i=void 0===n?0:n,l=this.getCommonButtonProps();return o.createElement("a",(0,r.pi)({role:"button",ref:this.handleRef},(0,a.B)(this.props),l,{href:l.disabled?void 0:t,tabIndex:l.disabled?-1:i}),this.renderChildren())},t.prototype.componentDidUpdate=function(e){e.elementRef!==this.props.elementRef&&((0,i.k$)(e.elementRef,null),this.handleRef=(0,i.Km)(this,"buttonRef",this.props.elementRef),(0,i.k$)(this.props.elementRef,this.buttonRef))},t.displayName="".concat(a.g,".AnchorButton"),t}(v)},9685:(e,t,n)=>{"use strict";n.d(t,{V:()=>m});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),s=n(5307),c=n(836),u=n(2778),h=n(322),d=n(4366),f=n(8587),p=n(1774),v=n(1624),m=function(e){function t(t){var n=e.call(this,t)||this,r=(0,h.EL)("bp-dialog");return n.titleId="title-".concat(r),n}return(0,r.ZT)(t,e),t.prototype.render=function(){return i.createElement(v.a,(0,r.pi)({},this.props,{className:l.OVERLAY_SCROLL_CONTAINER,hasBackdrop:!0}),i.createElement("div",{className:l.DIALOG_CONTAINER,ref:this.props.containerRef},i.createElement("div",{className:a()(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?i.createElement(d.z,{"aria-label":"Close",className:l.DIALOG_CLOSE_BUTTON,icon:i.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 i.createElement("div",{className:l.DIALOG_HEADER},i.createElement(p.I,{icon:t,size:p.J.STANDARD,"aria-hidden":!0,tabIndex:-1}),i.createElement(f.H6,{id:this.titleId},n),this.maybeRenderCloseButton())},t.defaultProps={canOutsideClickClose:!0,isOpen:!1},t.displayName="".concat(u.g,".Dialog"),t}(s.U)},3640:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),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 i.createElement("div",{role:"dialogbody",className:a()(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(5307).U)},9837:(e,t,n)=>{"use strict";n.d(t,{q:()=>h});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),s=n(2778),c=n(5307),u=n(5035),h=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=a()(l.HOTKEY,n);return i.createElement("div",{className:s},i.createElement("div",{className:l.HOTKEY_LABEL},t),i.createElement(u.M,(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)},4064:(e,t,n)=>{"use strict";n.d(t,{$w:()=>h,A6:()=>c,SG:()=>u,cU:()=>f,q1:()=>d});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"},a={alt:1,ctrl:2,meta:4,shift:8},i={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!=i[s]&&(s=i[s]),null!=a[s]?n+=a[s]:null!=l[s]?(n+=a.shift,t=l[s]):t=s.toLowerCase()}return{modifiers:n,key:t}},h=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(" + ")},d=function(e){var t,n=e.which;null!=o[n]||(t=null!=r[n]?r[n]:String.fromCharCode(n).toLowerCase());var i=0;return e.altKey&&(i+=a.alt),e.ctrlKey&&(i+=a.ctrl),e.metaKey&&(i+=a.meta),e.shiftKey&&(i+=a.shift),{modifiers:i,key:t}},f=function(e,t){return e.replace(/\s/g,"").split("+").map((function(e){var n=null!=i[e]?i[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)}},3656:(e,t,n)=>{"use strict";n.d(t,{S:()=>p});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),s=n(2778),c=n(5307),u=n(836),h=n(7755),d=n(8587),f=n(9837),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,h.Ej)(this.props.children))return null;var e,t=i.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(i.createElement(d.H4,{key:"group-".concat(n.length)},u)),e=u),n.push(i.createElement(f.q,(0,r.pi)({key:n.length},c)))}var p=a()(l.HOTKEY_COLUMN,this.props.className);return i.createElement("div",{className:p},n)},t.prototype.validateProps=function(e){(0,h.Ej)(e.children)&&i.Children.forEach(e.children,(function(e){if(!(0,h.Mc)(e,f.q))throw new Error(u.Vx)}))},t.displayName="".concat(s.g,".Hotkeys"),t.defaultProps={tabIndex:0},t}(c.U)},9242:(e,t,n)=>{"use strict";n.d(t,{m:()=>d});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),s=n(9685),c=n(3640),u=n(9837),h=n(3656),d=function(e){var t=e.globalGroupName,n=void 0===t?"Global":t,o=e.hotkeys,d=(0,r._T)(e,["globalGroupName","hotkeys"]);return i.createElement(s.V,(0,r.pi)({},d,{className:a()(l.HOTKEY_DIALOG,d.className)}),i.createElement(c.a,null,i.createElement(h.S,null,o.map((function(e,t){return i.createElement(u.q,(0,r.pi)({key:t},e,{group:!0===e.global&&null==e.group?n:e.group}))})))))}},5035:(e,t,n)=>{"use strict";n.d(t,{M:()=>f});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451),s=n(2778),c=n(5307),u=n(1774),h=n(4064),d={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=d[e],o="key-".concat(t);return i.createElement("kbd",{className:a()(l.KEY,(n={},n[l.MODIFIER_KEY]=null!=r,n)),key:o},null!=r&&i.createElement(u.I,{icon:r.icon,title:r.iconTitle}),e)},t.renderMinimalKey=function(e,t){var n=d[e];return null==n?e:i.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,h.cU)(n).map((function(e){return 1===e.length?e.toUpperCase():e})).map(r?this.renderMinimalKey:this.renderKey);return i.createElement("span",{className:a()(l.KEY_COMBO,t)},o)},t.displayName="".concat(s.g,".KeyCombo"),t}(c.U)},8587:(e,t,n)=>{"use strict";n.d(t,{EK:()=>m,H1:()=>c,H2:()=>u,H3:()=>h,H4:()=>d,H5:()=>f,H6:()=>p,OL:()=>b,SU:()=>g,UL:()=>w,V6:()=>v,__:()=>y});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(451);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 i.createElement(e,(0,r.pi)((0,r.pi)({},c),{className:a()(t,o),ref:l}),s)}}var c=s("h1",l.HEADING),u=s("h2",l.HEADING),h=s("h3",l.HEADING),d=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)},1774:(e,t,n)=>{"use strict";n.d(t,{I:()=>Sw,J:()=>bw});var r={};n.r(r),n.d(r,{Add:()=>c,AddClip:()=>u,AddColumnLeft:()=>h,AddColumnRight:()=>d,AddLocation:()=>f,AddRowBottom:()=>p,AddRowTop:()=>v,AddToArtifact:()=>m,AddToFolder:()=>g,AimpointsTarget:()=>y,Airplane:()=>b,AlignCenter:()=>w,AlignJustify:()=>E,AlignLeft:()=>x,AlignRight:()=>_,AlignmentBottom:()=>S,AlignmentHorizontalCenter:()=>C,AlignmentLeft:()=>O,AlignmentRight:()=>z,AlignmentTop:()=>M,AlignmentVerticalCenter:()=>T,Anchor:()=>P,Annotation:()=>k,Antenna:()=>A,AppHeader:()=>L,Application:()=>R,Applications:()=>N,Archive:()=>H,AreaOfInterest:()=>I,Array:()=>V,ArrayBoolean:()=>D,ArrayDate:()=>j,ArrayFloatingPoint:()=>F,ArrayNumeric:()=>B,ArrayString:()=>U,ArrayTimestamp:()=>G,ArrowBottomLeft:()=>q,ArrowBottomRight:()=>W,ArrowDown:()=>K,ArrowLeft:()=>Y,ArrowRight:()=>Z,ArrowTopLeft:()=>$,ArrowTopRight:()=>X,ArrowUp:()=>Q,ArrowsHorizontal:()=>J,ArrowsVertical:()=>ee,Asterisk:()=>te,At:()=>ne,AutomaticUpdates:()=>re,Axle:()=>oe,Backlink:()=>ae,Badge:()=>ie,BanCircle:()=>le,BankAccount:()=>se,Barcode:()=>ce,Blank:()=>ue,BlockedPerson:()=>he,Bold:()=>de,Book:()=>fe,Bookmark:()=>pe,Box:()=>ve,Briefcase:()=>me,BringData:()=>ge,Bug:()=>ye,Buggy:()=>be,Build:()=>we,Calculator:()=>Ee,Calendar:()=>xe,Camera:()=>_e,CaretDown:()=>Se,CaretLeft:()=>Ce,CaretRight:()=>Oe,CaretUp:()=>ze,CargoShip:()=>Me,CellTower:()=>Te,Changes:()=>Pe,Chart:()=>ke,Chat:()=>Ae,ChevronBackward:()=>Le,ChevronDown:()=>Re,ChevronForward:()=>Ne,ChevronLeft:()=>He,ChevronRight:()=>Ie,ChevronUp:()=>Ve,Circle:()=>De,CircleArrowDown:()=>je,CircleArrowLeft:()=>Fe,CircleArrowRight:()=>Be,CircleArrowUp:()=>Ue,Citation:()=>Ge,Clean:()=>qe,Clip:()=>We,Clipboard:()=>Ke,Cloud:()=>Ye,CloudDownload:()=>Ze,CloudUpload:()=>$e,Code:()=>Xe,CodeBlock:()=>Qe,Cog:()=>Je,CollapseAll:()=>et,ColorFill:()=>tt,ColumnLayout:()=>nt,Comment:()=>rt,Comparison:()=>ot,Compass:()=>at,Compressed:()=>it,Confirm:()=>lt,Console:()=>st,Contrast:()=>ct,Control:()=>ut,CreditCard:()=>ht,Cross:()=>dt,CrossCircle:()=>ft,Crown:()=>pt,Cube:()=>vt,CubeAdd:()=>mt,CubeRemove:()=>gt,CurvedRangeChart:()=>yt,Cut:()=>bt,Cycle:()=>wt,Dashboard:()=>Et,DataConnection:()=>xt,DataLineage:()=>_t,Database:()=>St,Delete:()=>Ct,Delta:()=>Ot,DeriveColumn:()=>zt,Desktop:()=>Mt,Diagnosis:()=>Tt,DiagramTree:()=>Pt,DirectionLeft:()=>kt,DirectionRight:()=>At,Disable:()=>Lt,Divide:()=>Rt,Document:()=>Nt,DocumentOpen:()=>Ht,DocumentShare:()=>It,Dollar:()=>Vt,Dot:()=>Dt,DoubleCaretHorizontal:()=>jt,DoubleCaretVertical:()=>Ft,DoubleChevronDown:()=>Bt,DoubleChevronLeft:()=>Ut,DoubleChevronRight:()=>Gt,DoubleChevronUp:()=>qt,DoughnutChart:()=>Wt,Download:()=>Kt,DragHandleHorizontal:()=>Yt,DragHandleVertical:()=>Zt,Draw:()=>$t,DrawerLeft:()=>Xt,DrawerLeftFilled:()=>Qt,DrawerRight:()=>Jt,DrawerRightFilled:()=>en,DriveTime:()=>tn,Duplicate:()=>nn,Edit:()=>rn,Eject:()=>on,Emoji:()=>an,Endorsed:()=>ln,Envelope:()=>sn,Equals:()=>cn,Eraser:()=>un,Error:()=>hn,Euro:()=>dn,Exchange:()=>fn,ExcludeRow:()=>pn,ExpandAll:()=>vn,Export:()=>mn,EyeOff:()=>gn,EyeOn:()=>yn,EyeOpen:()=>bn,FastBackward:()=>wn,FastForward:()=>En,Feed:()=>xn,FeedSubscribed:()=>_n,Film:()=>Sn,Filter:()=>Cn,FilterKeep:()=>On,FilterList:()=>zn,FilterOpen:()=>Mn,FilterRemove:()=>Tn,Flag:()=>Pn,Flame:()=>kn,Flash:()=>An,FloatingPoint:()=>Ln,FloppyDisk:()=>Rn,FlowBranch:()=>Nn,FlowEnd:()=>Hn,FlowLinear:()=>In,FlowReview:()=>Vn,FlowReviewBranch:()=>Dn,Flows:()=>jn,FolderClose:()=>Fn,FolderNew:()=>Bn,FolderOpen:()=>Un,FolderShared:()=>Gn,FolderSharedOpen:()=>qn,Follower:()=>Wn,Following:()=>Kn,Font:()=>Yn,Fork:()=>Zn,Form:()=>$n,Fuel:()=>Xn,FullCircle:()=>Qn,FullStackedChart:()=>Jn,Fullscreen:()=>er,Function:()=>tr,GanttChart:()=>nr,Geofence:()=>rr,Geolocation:()=>or,Geosearch:()=>ar,GitBranch:()=>ir,GitCommit:()=>lr,GitMerge:()=>sr,GitNewBranch:()=>cr,GitPull:()=>ur,GitPush:()=>hr,GitRepo:()=>dr,Glass:()=>fr,Globe:()=>pr,GlobeNetwork:()=>vr,Graph:()=>mr,GraphRemove:()=>gr,GreaterThan:()=>yr,GreaterThanOrEqualTo:()=>br,Grid:()=>wr,GridView:()=>Er,GroupObjects:()=>xr,GroupedBarChart:()=>_r,Hand:()=>Sr,HandDown:()=>Cr,HandLeft:()=>Or,HandRight:()=>zr,HandUp:()=>Mr,Hat:()=>Tr,Header:()=>Pr,HeaderOne:()=>kr,HeaderThree:()=>Ar,HeaderTwo:()=>Lr,Headset:()=>Rr,Heart:()=>Nr,HeartBroken:()=>Hr,HeatGrid:()=>Ir,Heatmap:()=>Vr,Helicopter:()=>Dr,Help:()=>jr,HelperManagement:()=>Fr,HighPriority:()=>Br,HighVoltagePole:()=>Ur,Highlight:()=>Gr,History:()=>qr,Home:()=>Wr,HorizontalBarChart:()=>Kr,HorizontalBarChartAsc:()=>Yr,HorizontalBarChartDesc:()=>Zr,HorizontalDistribution:()=>$r,HorizontalInbetween:()=>Xr,Hurricane:()=>Qr,IdNumber:()=>Jr,ImageRotateLeft:()=>eo,ImageRotateRight:()=>to,Import:()=>no,Inbox:()=>ro,InboxFiltered:()=>oo,InboxGeo:()=>ao,InboxSearch:()=>io,InboxUpdate:()=>lo,InfoSign:()=>so,Inheritance:()=>co,InheritedGroup:()=>uo,InnerJoin:()=>ho,Insert:()=>fo,Intelligence:()=>po,Intersection:()=>vo,IpAddress:()=>mo,Issue:()=>go,IssueClosed:()=>yo,IssueNew:()=>bo,Italic:()=>wo,JoinTable:()=>Eo,Key:()=>xo,KeyBackspace:()=>_o,KeyCommand:()=>So,KeyControl:()=>Co,KeyDelete:()=>Oo,KeyEnter:()=>zo,KeyEscape:()=>Mo,KeyOption:()=>To,KeyShift:()=>Po,KeyTab:()=>ko,KnownVehicle:()=>Ao,LabTest:()=>Lo,Label:()=>Ro,Layer:()=>No,LayerOutline:()=>Ho,Layers:()=>Io,Layout:()=>Vo,LayoutAuto:()=>Do,LayoutBalloon:()=>jo,LayoutCircle:()=>Fo,LayoutGrid:()=>Bo,LayoutGroupBy:()=>Uo,LayoutHierarchy:()=>Go,LayoutLinear:()=>qo,LayoutSkewGrid:()=>Wo,LayoutSortedClusters:()=>Ko,Learning:()=>Yo,LeftJoin:()=>Zo,LessThan:()=>$o,LessThanOrEqualTo:()=>Xo,Lifesaver:()=>Qo,Lightbulb:()=>Jo,Lightning:()=>ea,Link:()=>ta,List:()=>na,ListColumns:()=>ra,ListDetailView:()=>oa,Locate:()=>aa,Lock:()=>ia,LogIn:()=>la,LogOut:()=>sa,LowVoltagePole:()=>ca,Manual:()=>ua,ManuallyEnteredData:()=>ha,ManyToMany:()=>da,ManyToOne:()=>fa,Map:()=>pa,MapCreate:()=>va,MapMarker:()=>ma,Maximize:()=>ga,Media:()=>ya,Menu:()=>ba,MenuClosed:()=>wa,MenuOpen:()=>Ea,MergeColumns:()=>xa,MergeLinks:()=>_a,Minimize:()=>Sa,Minus:()=>Ca,MobilePhone:()=>Oa,MobileVideo:()=>za,Modal:()=>Ma,ModalFilled:()=>Ta,Moon:()=>Pa,More:()=>ka,Mountain:()=>Aa,Move:()=>La,Mugshot:()=>Ra,MultiSelect:()=>Na,Music:()=>Ha,Nest:()=>Ia,NewDrawing:()=>Va,NewGridItem:()=>Da,NewLayer:()=>ja,NewLayers:()=>Fa,NewLink:()=>Ba,NewObject:()=>Ua,NewPerson:()=>Ga,NewPrescription:()=>qa,NewTextBox:()=>Wa,Ninja:()=>Ka,NotEqualTo:()=>Ya,Notifications:()=>Za,NotificationsSnooze:()=>$a,NotificationsUpdated:()=>Xa,NumberedList:()=>Qa,Numerical:()=>Ja,Office:()=>ei,Offline:()=>ti,OilField:()=>ni,OneColumn:()=>ri,OneToMany:()=>oi,OneToOne:()=>ai,OpenApplication:()=>ii,Outdated:()=>li,PageLayout:()=>si,PanelStats:()=>ci,PanelTable:()=>ui,Paperclip:()=>hi,Paragraph:()=>di,Path:()=>fi,PathSearch:()=>pi,Pause:()=>vi,People:()=>mi,Percentage:()=>gi,Person:()=>yi,Phone:()=>bi,PieChart:()=>wi,Pin:()=>Ei,Pivot:()=>xi,PivotTable:()=>_i,Play:()=>Si,Playbook:()=>Ci,Plus:()=>Oi,PolygonFilter:()=>zi,Power:()=>Mi,PredictiveAnalysis:()=>Ti,Prescription:()=>Pi,Presentation:()=>ki,Print:()=>Ai,Projects:()=>Li,Properties:()=>Ri,Property:()=>Ni,PublishFunction:()=>Hi,Pulse:()=>Ii,Rain:()=>Vi,Random:()=>Di,Record:()=>ji,RectHeight:()=>Fi,RectWidth:()=>Bi,Rectangle:()=>Ui,Redo:()=>Gi,Refresh:()=>qi,Regex:()=>Wi,RegressionChart:()=>Ki,Remove:()=>Yi,RemoveColumn:()=>Zi,RemoveColumnLeft:()=>$i,RemoveColumnRight:()=>Xi,RemoveRowBottom:()=>Qi,RemoveRowTop:()=>Ji,Repeat:()=>el,Reset:()=>tl,Resolve:()=>nl,Rig:()=>rl,RightJoin:()=>ol,Ring:()=>al,Rocket:()=>il,RocketSlant:()=>ll,RotateDocument:()=>sl,RotatePage:()=>cl,Route:()=>ul,Satellite:()=>hl,Saved:()=>dl,ScatterPlot:()=>fl,Search:()=>pl,SearchAround:()=>vl,SearchTemplate:()=>ml,SearchText:()=>gl,SegmentedControl:()=>yl,Select:()=>bl,Selection:()=>wl,SendMessage:()=>El,SendTo:()=>xl,SendToGraph:()=>_l,SendToMap:()=>Sl,SeriesAdd:()=>Cl,SeriesConfiguration:()=>Ol,SeriesDerived:()=>zl,SeriesFiltered:()=>Ml,SeriesSearch:()=>Tl,Settings:()=>Pl,Shapes:()=>kl,Share:()=>Al,SharedFilter:()=>Ll,Shield:()=>Rl,Ship:()=>Nl,Shop:()=>Hl,ShoppingCart:()=>Il,SignalSearch:()=>Vl,SimCard:()=>Dl,Slash:()=>jl,SmallCross:()=>Fl,SmallInfoSign:()=>Bl,SmallMinus:()=>Ul,SmallPlus:()=>Gl,SmallSquare:()=>ql,SmallTick:()=>Wl,Snowflake:()=>Kl,SocialMedia:()=>Yl,Sort:()=>Zl,SortAlphabetical:()=>$l,SortAlphabeticalDesc:()=>Xl,SortAsc:()=>Ql,SortDesc:()=>Jl,SortNumerical:()=>es,SortNumericalDesc:()=>ts,SplitColumns:()=>ns,Square:()=>rs,StackedChart:()=>os,StadiumGeometry:()=>as,Star:()=>is,StarEmpty:()=>ls,StepBackward:()=>ss,StepChart:()=>cs,StepForward:()=>us,Stop:()=>hs,Stopwatch:()=>ds,Strikethrough:()=>fs,Style:()=>ps,SwapHorizontal:()=>vs,SwapVertical:()=>ms,Switch:()=>gs,SymbolCircle:()=>ys,SymbolCross:()=>bs,SymbolDiamond:()=>ws,SymbolRectangle:()=>Es,SymbolSquare:()=>xs,SymbolTriangleDown:()=>_s,SymbolTriangleUp:()=>Ss,Syringe:()=>Cs,Tag:()=>Os,TakeAction:()=>zs,Tank:()=>Ms,Target:()=>Ts,Taxi:()=>Ps,Temperature:()=>ks,TextHighlight:()=>As,Th:()=>Ls,ThDerived:()=>Rs,ThDisconnect:()=>Ns,ThFiltered:()=>Hs,ThList:()=>Is,ThirdParty:()=>Vs,ThumbsDown:()=>Ds,ThumbsUp:()=>js,Tick:()=>Fs,TickCircle:()=>Bs,Time:()=>Us,TimelineAreaChart:()=>Gs,TimelineBarChart:()=>qs,TimelineEvents:()=>Ws,TimelineLineChart:()=>Ks,Tint:()=>Ys,Torch:()=>Zs,Tractor:()=>$s,Train:()=>Xs,Translate:()=>Qs,Trash:()=>Js,Tree:()=>ec,TrendingDown:()=>tc,TrendingUp:()=>nc,Truck:()=>rc,TwoColumns:()=>oc,Unarchive:()=>ac,Underline:()=>ic,Undo:()=>lc,UngroupObjects:()=>sc,UnknownVehicle:()=>cc,Unlock:()=>uc,Unpin:()=>hc,Unresolve:()=>dc,Updated:()=>fc,Upload:()=>pc,User:()=>vc,Variable:()=>mc,VerticalBarChartAsc:()=>gc,VerticalBarChartDesc:()=>yc,VerticalDistribution:()=>bc,VerticalInbetween:()=>wc,Video:()=>Ec,Virus:()=>xc,VolumeDown:()=>_c,VolumeOff:()=>Sc,VolumeUp:()=>Cc,Walk:()=>Oc,WarningSign:()=>zc,WaterfallChart:()=>Mc,Waves:()=>Tc,Widget:()=>Pc,WidgetButton:()=>kc,WidgetFooter:()=>Ac,WidgetHeader:()=>Lc,Wind:()=>Rc,Wrench:()=>Nc,ZoomIn:()=>Hc,ZoomOut:()=>Ic,ZoomToFit:()=>Vc});var o={};n.r(o),n.d(o,{Add:()=>Dc,AddClip:()=>jc,AddColumnLeft:()=>Fc,AddColumnRight:()=>Bc,AddLocation:()=>Uc,AddRowBottom:()=>Gc,AddRowTop:()=>qc,AddToArtifact:()=>Wc,AddToFolder:()=>Kc,AimpointsTarget:()=>Yc,Airplane:()=>Zc,AlignCenter:()=>$c,AlignJustify:()=>Xc,AlignLeft:()=>Qc,AlignRight:()=>Jc,AlignmentBottom:()=>eu,AlignmentHorizontalCenter:()=>tu,AlignmentLeft:()=>nu,AlignmentRight:()=>ru,AlignmentTop:()=>ou,AlignmentVerticalCenter:()=>au,Anchor:()=>iu,Annotation:()=>lu,Antenna:()=>su,AppHeader:()=>cu,Application:()=>uu,Applications:()=>hu,Archive:()=>du,AreaOfInterest:()=>fu,Array:()=>pu,ArrayBoolean:()=>vu,ArrayDate:()=>mu,ArrayFloatingPoint:()=>gu,ArrayNumeric:()=>yu,ArrayString:()=>bu,ArrayTimestamp:()=>wu,ArrowBottomLeft:()=>Eu,ArrowBottomRight:()=>xu,ArrowDown:()=>_u,ArrowLeft:()=>Su,ArrowRight:()=>Cu,ArrowTopLeft:()=>Ou,ArrowTopRight:()=>zu,ArrowUp:()=>Mu,ArrowsHorizontal:()=>Tu,ArrowsVertical:()=>Pu,Asterisk:()=>ku,At:()=>Au,AutomaticUpdates:()=>Lu,Axle:()=>Ru,Backlink:()=>Nu,Badge:()=>Hu,BanCircle:()=>Iu,BankAccount:()=>Vu,Barcode:()=>Du,Blank:()=>ju,BlockedPerson:()=>Fu,Bold:()=>Bu,Book:()=>Uu,Bookmark:()=>Gu,Box:()=>qu,Briefcase:()=>Wu,BringData:()=>Ku,Bug:()=>Yu,Buggy:()=>Zu,Build:()=>$u,Calculator:()=>Xu,Calendar:()=>Qu,Camera:()=>Ju,CaretDown:()=>eh,CaretLeft:()=>th,CaretRight:()=>nh,CaretUp:()=>rh,CargoShip:()=>oh,CellTower:()=>ah,Changes:()=>ih,Chart:()=>lh,Chat:()=>sh,ChevronBackward:()=>ch,ChevronDown:()=>uh,ChevronForward:()=>hh,ChevronLeft:()=>dh,ChevronRight:()=>fh,ChevronUp:()=>ph,Circle:()=>vh,CircleArrowDown:()=>mh,CircleArrowLeft:()=>gh,CircleArrowRight:()=>yh,CircleArrowUp:()=>bh,Citation:()=>wh,Clean:()=>Eh,Clip:()=>xh,Clipboard:()=>_h,Cloud:()=>Sh,CloudDownload:()=>Ch,CloudUpload:()=>Oh,Code:()=>zh,CodeBlock:()=>Mh,Cog:()=>Th,CollapseAll:()=>Ph,ColorFill:()=>kh,ColumnLayout:()=>Ah,Comment:()=>Lh,Comparison:()=>Rh,Compass:()=>Nh,Compressed:()=>Hh,Confirm:()=>Ih,Console:()=>Vh,Contrast:()=>Dh,Control:()=>jh,CreditCard:()=>Fh,Cross:()=>Bh,CrossCircle:()=>Uh,Crown:()=>Gh,Cube:()=>qh,CubeAdd:()=>Wh,CubeRemove:()=>Kh,CurvedRangeChart:()=>Yh,Cut:()=>Zh,Cycle:()=>$h,Dashboard:()=>Xh,DataConnection:()=>Qh,DataLineage:()=>Jh,Database:()=>ed,Delete:()=>td,Delta:()=>nd,DeriveColumn:()=>rd,Desktop:()=>od,Diagnosis:()=>ad,DiagramTree:()=>id,DirectionLeft:()=>ld,DirectionRight:()=>sd,Disable:()=>cd,Divide:()=>ud,Document:()=>hd,DocumentOpen:()=>dd,DocumentShare:()=>fd,Dollar:()=>pd,Dot:()=>vd,DoubleCaretHorizontal:()=>md,DoubleCaretVertical:()=>gd,DoubleChevronDown:()=>yd,DoubleChevronLeft:()=>bd,DoubleChevronRight:()=>wd,DoubleChevronUp:()=>Ed,DoughnutChart:()=>xd,Download:()=>_d,DragHandleHorizontal:()=>Sd,DragHandleVertical:()=>Cd,Draw:()=>Od,DrawerLeft:()=>zd,DrawerLeftFilled:()=>Md,DrawerRight:()=>Td,DrawerRightFilled:()=>Pd,DriveTime:()=>kd,Duplicate:()=>Ad,Edit:()=>Ld,Eject:()=>Rd,Emoji:()=>Nd,Endorsed:()=>Hd,Envelope:()=>Id,Equals:()=>Vd,Eraser:()=>Dd,Error:()=>jd,Euro:()=>Fd,Exchange:()=>Bd,ExcludeRow:()=>Ud,ExpandAll:()=>Gd,Export:()=>qd,EyeOff:()=>Wd,EyeOn:()=>Kd,EyeOpen:()=>Yd,FastBackward:()=>Zd,FastForward:()=>$d,Feed:()=>Xd,FeedSubscribed:()=>Qd,Film:()=>Jd,Filter:()=>ef,FilterKeep:()=>tf,FilterList:()=>nf,FilterOpen:()=>rf,FilterRemove:()=>of,Flag:()=>af,Flame:()=>lf,Flash:()=>sf,FloatingPoint:()=>cf,FloppyDisk:()=>uf,FlowBranch:()=>hf,FlowEnd:()=>df,FlowLinear:()=>ff,FlowReview:()=>pf,FlowReviewBranch:()=>vf,Flows:()=>mf,FolderClose:()=>gf,FolderNew:()=>yf,FolderOpen:()=>bf,FolderShared:()=>wf,FolderSharedOpen:()=>Ef,Follower:()=>xf,Following:()=>_f,Font:()=>Sf,Fork:()=>Cf,Form:()=>Of,Fuel:()=>zf,FullCircle:()=>Mf,FullStackedChart:()=>Tf,Fullscreen:()=>Pf,Function:()=>kf,GanttChart:()=>Af,Geofence:()=>Lf,Geolocation:()=>Rf,Geosearch:()=>Nf,GitBranch:()=>Hf,GitCommit:()=>If,GitMerge:()=>Vf,GitNewBranch:()=>Df,GitPull:()=>jf,GitPush:()=>Ff,GitRepo:()=>Bf,Glass:()=>Uf,Globe:()=>Gf,GlobeNetwork:()=>qf,Graph:()=>Wf,GraphRemove:()=>Kf,GreaterThan:()=>Yf,GreaterThanOrEqualTo:()=>Zf,Grid:()=>$f,GridView:()=>Xf,GroupObjects:()=>Qf,GroupedBarChart:()=>Jf,Hand:()=>ep,HandDown:()=>tp,HandLeft:()=>np,HandRight:()=>rp,HandUp:()=>op,Hat:()=>ap,Header:()=>ip,HeaderOne:()=>lp,HeaderThree:()=>sp,HeaderTwo:()=>cp,Headset:()=>up,Heart:()=>hp,HeartBroken:()=>dp,HeatGrid:()=>fp,Heatmap:()=>pp,Helicopter:()=>vp,Help:()=>mp,HelperManagement:()=>gp,HighPriority:()=>yp,HighVoltagePole:()=>bp,Highlight:()=>wp,History:()=>Ep,Home:()=>xp,HorizontalBarChart:()=>_p,HorizontalBarChartAsc:()=>Sp,HorizontalBarChartDesc:()=>Cp,HorizontalDistribution:()=>Op,HorizontalInbetween:()=>zp,Hurricane:()=>Mp,IdNumber:()=>Tp,ImageRotateLeft:()=>Pp,ImageRotateRight:()=>kp,Import:()=>Ap,Inbox:()=>Lp,InboxFiltered:()=>Rp,InboxGeo:()=>Np,InboxSearch:()=>Hp,InboxUpdate:()=>Ip,InfoSign:()=>Vp,Inheritance:()=>Dp,InheritedGroup:()=>jp,InnerJoin:()=>Fp,Insert:()=>Bp,Intelligence:()=>Up,Intersection:()=>Gp,IpAddress:()=>qp,Issue:()=>Wp,IssueClosed:()=>Kp,IssueNew:()=>Yp,Italic:()=>Zp,JoinTable:()=>$p,Key:()=>Xp,KeyBackspace:()=>Qp,KeyCommand:()=>Jp,KeyControl:()=>ev,KeyDelete:()=>tv,KeyEnter:()=>nv,KeyEscape:()=>rv,KeyOption:()=>ov,KeyShift:()=>av,KeyTab:()=>iv,KnownVehicle:()=>lv,LabTest:()=>sv,Label:()=>cv,Layer:()=>uv,LayerOutline:()=>hv,Layers:()=>dv,Layout:()=>fv,LayoutAuto:()=>pv,LayoutBalloon:()=>vv,LayoutCircle:()=>mv,LayoutGrid:()=>gv,LayoutGroupBy:()=>yv,LayoutHierarchy:()=>bv,LayoutLinear:()=>wv,LayoutSkewGrid:()=>Ev,LayoutSortedClusters:()=>xv,Learning:()=>_v,LeftJoin:()=>Sv,LessThan:()=>Cv,LessThanOrEqualTo:()=>Ov,Lifesaver:()=>zv,Lightbulb:()=>Mv,Lightning:()=>Tv,Link:()=>Pv,List:()=>kv,ListColumns:()=>Av,ListDetailView:()=>Lv,Locate:()=>Rv,Lock:()=>Nv,LogIn:()=>Hv,LogOut:()=>Iv,LowVoltagePole:()=>Vv,Manual:()=>Dv,ManuallyEnteredData:()=>jv,ManyToMany:()=>Fv,ManyToOne:()=>Bv,Map:()=>Uv,MapCreate:()=>Gv,MapMarker:()=>qv,Maximize:()=>Wv,Media:()=>Kv,Menu:()=>Yv,MenuClosed:()=>Zv,MenuOpen:()=>$v,MergeColumns:()=>Xv,MergeLinks:()=>Qv,Minimize:()=>Jv,Minus:()=>em,MobilePhone:()=>tm,MobileVideo:()=>nm,Modal:()=>rm,ModalFilled:()=>om,Moon:()=>am,More:()=>im,Mountain:()=>lm,Move:()=>sm,Mugshot:()=>cm,MultiSelect:()=>um,Music:()=>hm,Nest:()=>dm,NewDrawing:()=>fm,NewGridItem:()=>pm,NewLayer:()=>vm,NewLayers:()=>mm,NewLink:()=>gm,NewObject:()=>ym,NewPerson:()=>bm,NewPrescription:()=>wm,NewTextBox:()=>Em,Ninja:()=>xm,NotEqualTo:()=>_m,Notifications:()=>Sm,NotificationsSnooze:()=>Cm,NotificationsUpdated:()=>Om,NumberedList:()=>zm,Numerical:()=>Mm,Office:()=>Tm,Offline:()=>Pm,OilField:()=>km,OneColumn:()=>Am,OneToMany:()=>Lm,OneToOne:()=>Rm,OpenApplication:()=>Nm,Outdated:()=>Hm,PageLayout:()=>Im,PanelStats:()=>Vm,PanelTable:()=>Dm,Paperclip:()=>jm,Paragraph:()=>Fm,Path:()=>Bm,PathSearch:()=>Um,Pause:()=>Gm,People:()=>qm,Percentage:()=>Wm,Person:()=>Km,Phone:()=>Ym,PieChart:()=>Zm,Pin:()=>$m,Pivot:()=>Xm,PivotTable:()=>Qm,Play:()=>Jm,Playbook:()=>eg,Plus:()=>tg,PolygonFilter:()=>ng,Power:()=>rg,PredictiveAnalysis:()=>og,Prescription:()=>ag,Presentation:()=>ig,Print:()=>lg,Projects:()=>sg,Properties:()=>cg,Property:()=>ug,PublishFunction:()=>hg,Pulse:()=>dg,Rain:()=>fg,Random:()=>pg,Record:()=>vg,RectHeight:()=>mg,RectWidth:()=>gg,Rectangle:()=>yg,Redo:()=>bg,Refresh:()=>wg,Regex:()=>Eg,RegressionChart:()=>xg,Remove:()=>_g,RemoveColumn:()=>Sg,RemoveColumnLeft:()=>Cg,RemoveColumnRight:()=>Og,RemoveRowBottom:()=>zg,RemoveRowTop:()=>Mg,Repeat:()=>Tg,Reset:()=>Pg,Resolve:()=>kg,Rig:()=>Ag,RightJoin:()=>Lg,Ring:()=>Rg,Rocket:()=>Ng,RocketSlant:()=>Hg,RotateDocument:()=>Ig,RotatePage:()=>Vg,Route:()=>Dg,Satellite:()=>jg,Saved:()=>Fg,ScatterPlot:()=>Bg,Search:()=>Ug,SearchAround:()=>Gg,SearchTemplate:()=>qg,SearchText:()=>Wg,SegmentedControl:()=>Kg,Select:()=>Yg,Selection:()=>Zg,SendMessage:()=>$g,SendTo:()=>Xg,SendToGraph:()=>Qg,SendToMap:()=>Jg,SeriesAdd:()=>ey,SeriesConfiguration:()=>ty,SeriesDerived:()=>ny,SeriesFiltered:()=>ry,SeriesSearch:()=>oy,Settings:()=>ay,Shapes:()=>iy,Share:()=>ly,SharedFilter:()=>sy,Shield:()=>cy,Ship:()=>uy,Shop:()=>hy,ShoppingCart:()=>dy,SignalSearch:()=>fy,SimCard:()=>py,Slash:()=>vy,SmallCross:()=>my,SmallInfoSign:()=>gy,SmallMinus:()=>yy,SmallPlus:()=>by,SmallSquare:()=>wy,SmallTick:()=>Ey,Snowflake:()=>xy,SocialMedia:()=>_y,Sort:()=>Sy,SortAlphabetical:()=>Cy,SortAlphabeticalDesc:()=>Oy,SortAsc:()=>zy,SortDesc:()=>My,SortNumerical:()=>Ty,SortNumericalDesc:()=>Py,SplitColumns:()=>ky,Square:()=>Ay,StackedChart:()=>Ly,StadiumGeometry:()=>Ry,Star:()=>Ny,StarEmpty:()=>Hy,StepBackward:()=>Iy,StepChart:()=>Vy,StepForward:()=>Dy,Stop:()=>jy,Stopwatch:()=>Fy,Strikethrough:()=>By,Style:()=>Uy,SwapHorizontal:()=>Gy,SwapVertical:()=>qy,Switch:()=>Wy,SymbolCircle:()=>Ky,SymbolCross:()=>Yy,SymbolDiamond:()=>Zy,SymbolRectangle:()=>$y,SymbolSquare:()=>Xy,SymbolTriangleDown:()=>Qy,SymbolTriangleUp:()=>Jy,Syringe:()=>eb,Tag:()=>tb,TakeAction:()=>nb,Tank:()=>rb,Target:()=>ob,Taxi:()=>ab,Temperature:()=>ib,TextHighlight:()=>lb,Th:()=>sb,ThDerived:()=>cb,ThDisconnect:()=>ub,ThFiltered:()=>hb,ThList:()=>db,ThirdParty:()=>fb,ThumbsDown:()=>pb,ThumbsUp:()=>vb,Tick:()=>mb,TickCircle:()=>gb,Time:()=>yb,TimelineAreaChart:()=>bb,TimelineBarChart:()=>wb,TimelineEvents:()=>Eb,TimelineLineChart:()=>xb,Tint:()=>_b,Torch:()=>Sb,Tractor:()=>Cb,Train:()=>Ob,Translate:()=>zb,Trash:()=>Mb,Tree:()=>Tb,TrendingDown:()=>Pb,TrendingUp:()=>kb,Truck:()=>Ab,TwoColumns:()=>Lb,Unarchive:()=>Rb,Underline:()=>Nb,Undo:()=>Hb,UngroupObjects:()=>Ib,UnknownVehicle:()=>Vb,Unlock:()=>Db,Unpin:()=>jb,Unresolve:()=>Fb,Updated:()=>Bb,Upload:()=>Ub,User:()=>Gb,Variable:()=>qb,VerticalBarChartAsc:()=>Wb,VerticalBarChartDesc:()=>Kb,VerticalDistribution:()=>Yb,VerticalInbetween:()=>Zb,Video:()=>$b,Virus:()=>Xb,VolumeDown:()=>Qb,VolumeOff:()=>Jb,VolumeUp:()=>ew,Walk:()=>tw,WarningSign:()=>nw,WaterfallChart:()=>rw,Waves:()=>ow,Widget:()=>aw,WidgetButton:()=>iw,WidgetFooter:()=>lw,WidgetHeader:()=>sw,Wind:()=>cw,Wrench:()=>uw,ZoomIn:()=>hw,ZoomOut:()=>dw,ZoomToFit:()=>fw});var a=n(655),i=n(4184),l=n.n(i),s=n(7294);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"],h=["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"],d=["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"],E=["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"],x=["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"],_=["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"],C=["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"],O=["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"],z=["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"],M=["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"],T=["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"],P=["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"],k=["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"],A=["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"],L=["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"],R=["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"],N=["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"],I=["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"],V=["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"],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 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"],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 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"],F=["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"],B=["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"],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 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"],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 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"],q=["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"],W=["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"],K=["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"],Z=["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"],$=["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"],X=["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"],Q=["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"],J=["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"],ee=["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"],te=["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"],ne=["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"],re=["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"],oe=["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"],ie=["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"],le=["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"],se=["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"],ce=["M0 14h2V2H0v12zm6 0h1V2H6v12zm2 0h1V2H8v12zm-5 0h2V2H3v12zM15 2v12h1V2h-1zm-5 12h1V2h-1v12zm2 0h2V2h-2v12z"],ue=[],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"],de=["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"],fe=["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"],pe=["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"],ve=["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"],me=["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"],ge=["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"],ye=["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"],be=["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"],we=["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"],_e=["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"],Se=["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"],Oe=["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"],Me=["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"],Pe=["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"],ke=["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"],Ae=["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"],Le=["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"],Re=["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"],Ne=["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"],Ie=["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"],Ve=["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"],De=["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"],je=["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"],Fe=["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"],Be=["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"],Ue=["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"],Ge=["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"],qe=["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"],We=["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"],Ke=["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"],Ze=["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"],$e=["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"],Xe=["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"],Qe=["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"],Je=["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"],et=["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"],tt=["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"],nt=["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"],rt=["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"],ot=["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"],it=["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"],lt=["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"],st=["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"],ct=["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"],ut=["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"],dt=["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"],ft=["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"],pt=["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"],vt=["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"],mt=["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"],gt=["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"],yt=["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"],bt=["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"],wt=["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"],_t=["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"],St=["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"],Ot=["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"],Mt=["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=["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"],Pt=["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"],At=["M16 7.99l-16-6 4 6-4 6z"],Lt=["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"],Nt=["M9 0H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5L9 0zm3 14H4V2h4v4h4v8z"],Ht=["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"],It=["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"],Vt=["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"],Dt=["M8 5a3 3 0 100 6 3 3 0 100-6z"],jt=["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"],Ft=["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"],Bt=["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"],Ut=["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"],Gt=["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"],qt=["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"],Wt=["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"],Kt=["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"],Yt=["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"],$t=["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"],Xt=["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"],Qt=["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"],Jt=["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"],en=["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"],tn=["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"],nn=["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"],rn=["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"],on=["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"],an=["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"],ln=["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"],sn=["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"],cn=["M3 5h10a1 1 0 010 2H3a1 1 0 110-2zm0 4h10a1 1 0 010 2H3a1 1 0 010-2z"],un=["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"],hn=["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"],dn=["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"],fn=["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"],pn=["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"],vn=["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"],mn=["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"],gn=["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"],yn=["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"],bn=["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"],wn=["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"],En=["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"],xn=["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"],_n=["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"],Sn=["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"],Cn=["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"],On=["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"],zn=["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"],Mn=["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"],Tn=["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"],Pn=["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"],An=["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"],Ln=["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"],Nn=["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"],Hn=["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"],In=["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"],Vn=["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"],Dn=["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"],jn=["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"],Fn=["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"],Bn=["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"],Un=["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"],Gn=["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"],qn=["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"],Wn=["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"],Kn=["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"],Yn=["M13.93 14.67L8.94.67h-.01C8.79.28 8.43 0 8 0s-.79.28-.93.67h-.01l-5 14h.01c-.04.1-.07.21-.07.33 0 .55.45 1 1 1 .43 0 .79-.28.93-.67h.01L5.49 11h5.02l1.55 4.34h.01c.14.38.5.66.93.66.55 0 1-.45 1-1 0-.12-.03-.23-.07-.33zM6.2 9L8 3.97 9.8 9H6.2z"],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"],$n=["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"],Xn=["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"],Qn=["M8 0a8 8 0 100 16A8 8 0 108 0z"],Jn=["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"],er=["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"],tr=["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"],nr=["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"],rr=["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"],or=["M-.01 6.66l7.34 2 2 7.33 6.66-16z"],ar=["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"],ir=["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"],lr=["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"],sr=["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"],cr=["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"],ur=["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"],hr=["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"],dr=["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"],fr=["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"],pr=["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"],vr=["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"],mr=["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"],gr=["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"],yr=["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"],br=["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"],wr=["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"],Er=["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"],xr=["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"],_r=["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"],Sr=["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"],Cr=["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"],Or=["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"],zr=["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"],Mr=["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"],Tr=["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"],Pr=["M13 1c-.55 0-1 .45-1 1v5H4V2c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55.45 1 1 1s1-.45 1-1V9h8v5c0 .55.45 1 1 1s1-.45 1-1V2c0-.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 0c-.56 0-1 .45-1 1v4H2V1c0-.55-.45-1-1-1-.56 0-1 .45-1 1v10c0 .55.45 1 1 1 .56 0 1-.45 1-1V7h4v4c0 .55.45 1 1 1 .56 0 1-.45 1-1V1c0-.54-.45-1-1-1z"],Ar=["M1 0C.44 0 0 .45 0 1v10c0 .54.45 1 1 1 .56 0 1-.45 1-1V7h4v4c0 .54.45 1 1 1 .56 0 1-.45 1-1V1c0-.54-.45-1-1-1-.56 0-1 .45-1 1v4H2V1c0-.54-.45-1-1-1zm13.71 11.72c.41.08.72.3.95.65.23.35.34.77.34 1.27 0 .37-.07.7-.2.97-.14.29-.32.54-.55.74-.23.2-.5.36-.8.47-.3.11-.62.16-.96.16-.41 0-.77-.06-1.08-.19-.31-.12-.56-.31-.77-.54-.21-.24-.36-.52-.47-.85-.11-.33-.16-.7-.17-1.1h1.14c-.01.47.09.86.32 1.17.23.31.57.47 1.02.47.39 0 .71-.12.97-.36s.39-.58.39-1.02c0-.3-.05-.53-.16-.71-.11-.17-.25-.31-.43-.4-.17-.09-.37-.15-.59-.17-.22-.02-.44-.03-.67-.02v-.93c.19.01.38 0 .57-.04.19-.03.36-.1.51-.19.14-.09.26-.22.35-.38.09-.16.14-.36.14-.59 0-.33-.1-.59-.31-.79-.2-.2-.47-.3-.79-.3-.21 0-.38.04-.53.13-.15.09-.27.21-.37.36-.1.15-.17.32-.22.51-.05.19-.07.38-.06.58h-1.15c.01-.38.08-.72.19-1.04.11-.32.27-.6.47-.83.19-.23.44-.42.72-.55.28-.13.6-.2.96-.2.28 0 .55.04.82.13.27.08.51.21.72.38.21.17.38.38.51.64s.19.56.19.9c0 .39-.08.73-.24 1.02-.16.29-.42.5-.76.63v.02z"],Lr=["M13.17 13.93c-.17.15-.33.29-.46.44-.13.16-.22.32-.27.49h3.55V16H11c.01-.65.16-1.22.44-1.71s.67-.91 1.17-1.27c.24-.18.49-.36.75-.54.25-.18.49-.36.71-.57.21-.2.39-.42.53-.65.14-.24.21-.51.22-.82 0-.14-.02-.29-.05-.45-.03-.16-.09-.31-.18-.45a1.13 1.13 0 00-.37-.35c-.16-.09-.37-.14-.63-.14-.24 0-.43.05-.59.15-.16.1-.29.24-.38.42-.1.17-.17.38-.21.62-.05.24-.07.5-.08.77h-1.19c0-.43.05-.83.16-1.2s.27-.69.49-.96c.21-.25.48-.46.79-.62.31-.15.67-.23 1.07-.23.45 0 .82.08 1.11.23.3.16.55.36.73.6.19.24.32.5.39.79.08.28.12.54.12.79 0 .31-.04.6-.13.85s-.22.49-.37.7c-.15.21-.32.41-.52.59s-.4.35-.61.51l-.63.45c-.21.14-.39.28-.57.42zM0 1c0-.55.44-1 1-1 .55 0 1 .46 1 1v10c0 .55-.44 1-1 1-.55 0-1-.46-1-1V1zm6 0c0-.55.44-1 1-1 .55 0 1 .46 1 1v10c0 .55-.44 1-1 1-.55 0-1-.46-1-1V1zM2 5h4v2H2V5z"],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"],Nr=["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"],Hr=["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"],Ir=["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"],Vr=["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"],Dr=["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"],jr=["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"],Fr=["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"],Br=["M9 14v2H7v-2h2zm1-14L9 12H7L6 0h4z"],Ur=["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"],Gr=["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"],qr=["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"],Wr=["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"],Kr=["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"],Yr=["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"],$r=["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"],Xr=["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"],Qr=["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"],Jr=["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"],eo=["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"],to=["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"],no=["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"],ro=["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"],oo=["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"],ao=["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"],io=["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"],lo=["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"],so=["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"],co=["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"],uo=["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"],ho=["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"],fo=["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"],po=["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"],vo=["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"],mo=["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"],go=["M8 16A8 8 0 118 0a8 8 0 010 16zm0-2A6 6 0 108 2a6 6 0 000 12zm1-2H7v-2h2v2zm0-3H7V4h2v5z"],yo=["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"],bo=["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"],wo=["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"],Eo=["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"],xo=["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"],_o=["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"],So=["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"],Co=["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"],Oo=["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"],zo=["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"],Mo=["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"],To=["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"],Po=["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"],Ao=["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"],Lo=["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"],No=["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"],Ho=["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"],Io=["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"],Vo=["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"],Do=["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"],jo=["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"],Fo=["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"],Bo=["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"],Uo=["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"],Go=["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"],qo=["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"],Wo=["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"],Ko=["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"],Yo=["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"],$o=["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"],Xo=["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"],Qo=["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"],Jo=["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"],ea=["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"],ta=["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"],na=["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"],ra=["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"],oa=["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"],aa=["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"],ia=["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"],la=["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"],sa=["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"],ca=["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"],ua=["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"],ha=["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"],da=["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"],fa=["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"],pa=["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"],va=["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"],ma=["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"],ga=["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"],ya=["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"],ba=["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"],wa=["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"],Ea=["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"],xa=["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"],_a=["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"],Sa=["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"],Ca=["M13 7H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1z"],Oa=["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"],za=["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"],Ma=["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"],Ta=["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"],Pa=["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"],ka=["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"],Aa=["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"],La=["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"],Ra=["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"],Na=["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"],Ha=["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"],Ia=["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"],Va=["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"],Da=["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"],ja=["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"],Fa=["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"],Ba=["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"],Ua=["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"],Ga=["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"],qa=["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"],Wa=["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"],Ka=["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"],Ya=["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"],Za=["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"],$a=["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"],Xa=["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"],Qa=["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"],Ja=["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"],ei=["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"],ti=["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"],ni=["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"],ri=["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"],oi=["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"],ai=["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"],ii=["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"],li=["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"],si=["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"],ci=["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"],ui=["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"],hi=["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"],di=["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"],fi=["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"],pi=["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"],vi=["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"],mi=["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"],gi=["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"],yi=["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"],bi=["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"],wi=["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"],Ei=["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"],xi=["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"],_i=["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"],Si=["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"],Ci=["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"],Oi=["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"],zi=["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"],Mi=["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"],Ti=["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"],Pi=["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"],ki=["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"],Ai=["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"],Li=["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"],Ri=["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"],Ni=["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"],Hi=["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"],Ii=["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"],Vi=["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"],Di=["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"],ji=["M8 3a5 5 0 100 10A5 5 0 108 3z"],Fi=["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"],Bi=["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"],Ui=["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"],Gi=["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"],qi=["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"],Wi=["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"],Ki=["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"],Yi=["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"],Zi=["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"],$i=["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"],Xi=["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"],Qi=["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"],Ji=["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"],el=["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"],tl=["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"],nl=["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"],rl=["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"],ol=["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"],al=["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"],il=["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"],ll=["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"],sl=["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"],cl=["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"],ul=["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"],hl=["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"],dl=["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"],fl=["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"],pl=["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"],vl=["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"],ml=["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"],gl=["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"],yl=["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"],bl=["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"],wl=["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"],El=["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"],xl=["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"],_l=["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"],Sl=["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"],Cl=["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"],Ol=["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"],zl=["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"],Ml=["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"],Tl=["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"],Pl=["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"],kl=["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"],Al=["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"],Ll=["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"],Rl=["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"],Nl=["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"],Hl=["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"],Il=["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"],Vl=["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"],Dl=["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"],jl=["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"],Fl=["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"],Bl=["M14 8A6 6 0 112 8a6 6 0 0112 0zM9 4v2H7V4h2zm0 3v4h1v1H6v-1h1V8H6V7h3z"],Ul=["M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1z"],Gl=["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"],Wl=["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"],Kl=["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"],Yl=["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"],Zl=["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"],$l=["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"],Xl=["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"],Ql=["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"],Jl=["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"],es=["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"],ts=["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"],ns=["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"],rs=["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"],os=["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"],as=["M12 6H4a2 2 0 100 4h8a2 2 0 100-4zM4 4a4 4 0 100 8h8a4 4 0 000-8H4z"],is=["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"],ls=["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"],ss=["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"],cs=["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"],us=["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"],hs=["M12 3H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],ds=["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"],fs=["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"],ps=["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"],vs=["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"],ms=["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"],gs=["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"],ys=["M8 3.01a5 5 0 100 10 5 5 0 100-10z"],bs=["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"],ws=["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"],Es=["M13 4H3c-.5 0-1 .5-1 1v6c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1z"],xs=["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"],_s=["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"],Ss=["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"],Cs=["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"],Os=["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"],zs=["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"],Ms=["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"],Ts=["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"],Ps=["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"],ks=["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"],As=["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"],Ls=["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"],Rs=["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"],Ns=["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"],Hs=["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"],Is=["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"],Vs=["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"],Ds=["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"],js=["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"],Fs=["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"],Bs=["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"],Us=["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"],Gs=["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"],qs=["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"],Ws=["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"],Ks=["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"],Ys=["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"],Zs=["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"],$s=["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"],Xs=["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"],Qs=["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"],Js=["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"],ec=["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"],tc=["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"],nc=["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"],rc=["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"],oc=["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"],ac=["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"],ic=["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"],lc=["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"],sc=["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"],cc=["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"],uc=["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"],hc=["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"],dc=["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"],fc=["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"],pc=["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"],vc=["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"],mc=["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"],gc=["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"],yc=["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"],bc=["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"],wc=["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"],Ec=["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"],xc=["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"],_c=["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"],Sc=["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"],Cc=["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"],Oc=["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"],zc=["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"],Mc=["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"],Tc=["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"],Pc=["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"],kc=["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"],Ac=["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"],Lc=["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"],Rc=["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"],Nc=["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"],Hc=["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"],Ic=["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"],Vc=["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"],Dc=["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"],jc=["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"],Fc=["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"],Bc=["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"],Uc=["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"],Gc=["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"],qc=["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"],Wc=["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"],Kc=["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"],Yc=["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"],Zc=["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"],$c=["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"],Xc=["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"],Qc=["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"],Jc=["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"],eu=["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"],tu=["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"],nu=["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"],ru=["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"],ou=["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"],au=["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"],iu=["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"],lu=["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"],su=["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"],cu=["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"],uu=["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"],hu=["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"],du=["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"],fu=["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"],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 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"],vu=["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"],gu=["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"],yu=["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"],bu=["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"],wu=["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"],Eu=["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"],xu=["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"],_u=["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"],Su=["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"],Cu=["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"],Ou=["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"],zu=["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"],Mu=["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"],Tu=["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"],Pu=["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"],ku=["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"],Au=["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"],Lu=["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"],Ru=["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"],Nu=["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"],Hu=["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"],Iu=["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"],Vu=["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"],Du=["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"],ju=[],Fu=["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"],Bu=["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"],Uu=["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"],Gu=["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"],qu=["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"],Wu=["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"],Ku=["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"],Yu=["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"],Zu=["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"],$u=["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"],Xu=["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"],Qu=["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"],Ju=["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"],eh=["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"],th=["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"],nh=["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"],rh=["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"],oh=["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"],ah=["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"],ih=["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"],lh=["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"],sh=["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"],ch=["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"],uh=["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"],hh=["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"],dh=["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"],fh=["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"],ph=["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"],vh=["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"],mh=["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"],gh=["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"],yh=["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"],bh=["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"],wh=["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"],Eh=["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"],xh=["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"],_h=["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"],Sh=["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"],Ch=["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"],Oh=["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"],zh=["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"],Mh=["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"],Th=["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"],Ph=["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"],kh=["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"],Ah=["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"],Lh=["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"],Rh=["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"],Nh=["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"],Hh=["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"],Ih=["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"],Vh=["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"],Dh=["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"],jh=["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"],Fh=["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"],Bh=["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"],Uh=["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"],Gh=["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"],qh=["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"],Wh=["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"],Kh=["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"],Yh=["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"],Zh=["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"],$h=["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"],Xh=["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"],Qh=["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"],Jh=["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"],ed=["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"],td=["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"],nd=["M10 0L0 20h20L10 0zM9 6l6 12H3L9 6z"],rd=["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"],od=["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"],ad=["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"],id=["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"],ld=["M20 3.02l-20 7 20 7-5-7z"],sd=["M20 10.02l-20-7 5 7-5 7z"],cd=["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"],ud=["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"],hd=["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"],dd=["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"],fd=["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"],pd=["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"],vd=["M10 6a4 4 0 100 8 4 4 0 100-8z"],md=["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"],gd=["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"],yd=["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"],bd=["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"],wd=["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"],Ed=["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"],xd=["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"],_d=["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"],Sd=["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"],Cd=["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"],Od=["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"],zd=["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"],Md=["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"],Td=["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"],Pd=["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"],kd=["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"],Ad=["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"],Ld=["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"],Rd=["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"],Nd=["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"],Hd=["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"],Id=["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"],Vd=["M4 7h12a1 1 0 010 2H4a1 1 0 110-2zm0 4h12a1 1 0 010 2H4a1 1 0 010-2z"],Dd=["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"],jd=["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"],Fd=["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"],Bd=["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"],Ud=["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"],Gd=["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"],qd=["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"],Wd=["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"],Kd=["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"],Yd=["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"],Zd=["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"],$d=["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"],Xd=["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"],Qd=["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"],Jd=["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"],ef=["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"],tf=["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"],nf=["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"],rf=["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"],of=["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"],af=["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"],lf=["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"],sf=["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"],cf=["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"],uf=["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"],hf=["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"],df=["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"],ff=["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"],pf=["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"],vf=["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"],mf=["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"],gf=["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"],yf=["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"],bf=["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"],wf=["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"],Ef=["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"],xf=["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"],_f=["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"],Sf=["M17.93 18.64l-7-18C10.78.27 10.42 0 10 0s-.78.27-.93.64l-7 18c-.04.11-.07.23-.07.36 0 .55.45 1 1 1 .42 0 .78-.27.93-.64L6.41 13h7.19l2.47 6.36c.15.37.51.64.93.64.55 0 1-.45 1-1 0-.13-.03-.25-.07-.36zM7.18 11L10 3.76 12.82 11H7.18z"],Cf=["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"],Of=["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"],zf=["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"],Mf=["M9.96 0a10 10 0 100 20 10 10 0 100-20z"],Tf=["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"],Pf=["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"],kf=["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"],Af=["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"],Lf=["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"],Rf=["M0 8.33l9.17 2.5 2.5 9.17L20 0z"],Nf=["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"],Hf=["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"],If=["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"],Vf=["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"],Df=["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"],jf=["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"],Ff=["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"],Bf=["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"],Uf=["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"],Gf=["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"],qf=["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"],Wf=["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"],Kf=["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"],Yf=["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"],Zf=["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"],$f=["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"],Xf=["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"],Qf=["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"],Jf=["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"],ep=["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"],tp=["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"],np=["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"],rp=["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"],op=["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"],ap=["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"],ip=["M16 1c-.55 0-1 .45-1 1v7H5V2c0-.55-.45-1-1-1s-1 .45-1 1v16c0 .55.45 1 1 1s1-.45 1-1v-7h10v7c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1z"],lp=["M10 0c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1s-1-.45-1-1V9H2v6c0 .55-.45 1-1 1s-1-.45-1-1V1c0-.55.45-1 1-1s1 .45 1 1v6h7V1c0-.55.45-1 1-1zm7.4 10.77c.17-.2.29-.46.34-.77H19v10h-1.5v-7.11H15v-1.24c.32 0 .63-.03.93-.08.31-.06.58-.16.83-.29.26-.12.47-.3.64-.51z"],sp=["M10.989 1c0-.55-.45-1-.999-1-.55 0-.999.45-.999 1v6H1.998V1c0-.55-.45-1-.999-1C.449 0 0 .45 0 1v14c0 .55.45 1 .999 1 .55 0 .999-.45.999-1V9h6.993v6c0 .55.45 1 .999 1 .55 0 .999-.45.999-1V1zm7.461 13.645c.49.11.87.38 1.14.82.27.44.41.97.41 1.61a3 3 0 01-.24 1.23c-.16.36-.38.67-.66.92-.27.25-.59.44-.96.58-.37.14-.75.21-1.16.21-.5 0-.93-.08-1.3-.24a2.55 2.55 0 01-.93-.68c-.25-.29-.44-.65-.57-1.06-.13-.42-.2-.88-.21-1.38h1.39c-.02.58.11 1.07.38 1.46.28.39.68.58 1.23.58.47 0 .86-.15 1.17-.45.31-.3.47-.72.47-1.27 0-.37-.07-.67-.2-.89-.13-.22-.3-.39-.51-.5-.21-.11-.45-.18-.71-.21-.26-.03-.53-.04-.81-.03v-1.17c.22.01.45 0 .68-.05.23-.05.43-.13.61-.24.18-.11.32-.27.43-.47.11-.2.16-.45.16-.74 0-.41-.12-.74-.37-.99s-.57-.37-.96-.37c-.24 0-.45.06-.63.17-.18.11-.33.26-.45.45s-.2.4-.26.63c-.05.23-.08.47-.07.72h-1.39c.01-.47.09-.9.23-1.3s.33-.75.57-1.04c.24-.3.53-.53.87-.69.34-.17.73-.25 1.16-.25.33 0 .66.05.98.16.32.11.61.27.87.48.26.21.47.47.62.8.15.32.23.7.23 1.12 0 .48-.09.91-.29 1.27-.2.36-.5.63-.92.79v.02z"],cp=["M16.6 17.41c-.22.17-.4.36-.56.55-.16.19-.27.4-.33.61h4.28V20H14c.01-.81.18-1.52.53-2.13.35-.6.81-1.13 1.41-1.58.28-.23.58-.46.89-.68.31-.22.59-.46.85-.71.26-.26.48-.53.63-.83.16-.3.25-.64.26-1.02 0-.18-.02-.37-.06-.57-.04-.2-.11-.39-.22-.56s-.26-.31-.45-.43-.44-.18-.75-.18c-.28 0-.52.06-.71.19s-.34.3-.45.52c-.11.22-.2.48-.25.78-.05.3-.08.62-.09.97h-1.43c0-.54.07-1.04.2-1.5.13-.47.32-.87.58-1.2.26-.34.58-.6.95-.78.37-.19.81-.29 1.3-.29.54 0 .99.09 1.35.29.36.19.65.44.87.74.22.29.38.62.47.97.09.35.14.68.14 1 0 .4-.05.75-.16 1.07-.11.32-.26.61-.44.88-.19.27-.4.52-.63.74-.24.22-.48.43-.73.63s-.5.38-.75.56c-.26.17-.5.35-.71.53zM10 0c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1s-1-.45-1-1V9H2v6c0 .55-.45 1-1 1s-1-.45-1-1V1c0-.55.45-1 1-1s1 .45 1 1v6h7V1c0-.55.45-1 1-1z"],up=["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"],hp=["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"],dp=["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"],fp=["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"],pp=["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"],vp=["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"],mp=["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"],gp=["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"],yp=["M12 16v4H8v-4h4zm1-16l-1 14H8L7 0h6z"],bp=["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"],wp=["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"],Ep=["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"],xp=["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"],_p=["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"],Sp=["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"],Cp=["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"],Op=["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"],zp=["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"],Mp=["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"],Tp=["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"],Pp=["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"],kp=["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"],Ap=["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"],Lp=["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"],Rp=["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"],Np=["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"],Hp=["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"],Ip=["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"],Vp=["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"],Dp=["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"],jp=["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"],Fp=["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"],Bp=["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"],Up=["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"],Gp=["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"],qp=["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"],Wp=["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"],Kp=["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"],Yp=["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"],Zp=["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"],$p=["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"],Xp=["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"],Qp=["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"],Jp=["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"],ev=["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"],tv=["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"],nv=["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"],rv=["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"],ov=["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"],av=["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"],iv=["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"],lv=["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"],sv=["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"],cv=["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"],uv=["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"],hv=["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"],dv=["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"],fv=["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"],pv=["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"],vv=["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"],mv=["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"],gv=["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"],yv=["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"],bv=["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"],wv=["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"],Ev=["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"],xv=["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"],_v=["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"],Sv=["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"],Cv=["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"],Ov=["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"],zv=["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"],Mv=["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"],Tv=["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"],Pv=["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"],kv=["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"],Av=["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"],Lv=["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"],Rv=["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"],Nv=["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"],Hv=["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"],Iv=["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"],Vv=["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"],Dv=["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"],jv=["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"],Fv=["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"],Bv=["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"],Uv=["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"],Gv=["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"],qv=["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"],Wv=["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"],Kv=["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"],Yv=["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"],Zv=["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"],$v=["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"],Xv=["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"],Qv=["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"],Jv=["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"],em=["M16 9H4c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z"],tm=["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"],nm=["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"],rm=["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"],om=["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"],am=["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"],im=["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"],lm=["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"],sm=["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"],cm=["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"],um=["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"],hm=["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"],dm=["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"],fm=["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"],vm=["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"],mm=["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"],gm=["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"],ym=["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"],bm=["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"],wm=["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"],Em=["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"],xm=["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"],_m=["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"],Sm=["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"],Cm=["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"],Om=["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"],zm=["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"],Mm=["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"],Tm=["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"],Pm=["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"],km=["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"],Am=["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"],Lm=["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"],Rm=["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"],Nm=["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"],Hm=["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"],Im=["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"],Vm=["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"],Dm=["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"],jm=["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"],Fm=["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"],Bm=["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"],Um=["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"],Gm=["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"],qm=["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"],Wm=["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"],Km=["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"],Ym=["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"],Zm=["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"],$m=["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"],Xm=["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"],Qm=["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"],Jm=["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"],eg=["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"],tg=["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"],ng=["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"],rg=["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"],og=["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"],ag=["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"],ig=["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"],lg=["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"],sg=["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"],cg=["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"],ug=["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"],hg=["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"],dg=["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"],fg=["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"],vg=["M10 3a7 7 0 100 14 7 7 0 100-14z"],mg=["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"],gg=["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"],yg=["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"],bg=["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"],wg=["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"],Eg=["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"],xg=["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"],_g=["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"],Sg=["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"],Cg=["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"],Og=["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"],zg=["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"],Mg=["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"],Tg=["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"],Pg=["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"],kg=["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"],Ag=["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"],Lg=["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"],Rg=["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"],Ng=["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"],Hg=["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"],Ig=["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"],Vg=["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"],Dg=["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"],jg=["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"],Fg=["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"],Bg=["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"],Ug=["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"],Gg=["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"],qg=["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"],Wg=["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"],Kg=["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"],Yg=["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"],Zg=["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"],$g=["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"],Xg=["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"],Qg=["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"],Jg=["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"],ey=["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"],ty=["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"],ny=["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"],ry=["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"],oy=["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"],ay=["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"],iy=["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"],ly=["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"],cy=["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"],uy=["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"],hy=["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"],dy=["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"],fy=["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"],py=["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"],vy=["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"],my=["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"],gy=["M17 10a7 7 0 11-14 0 7 7 0 0114 0zm-6-5v2H9V5h2zm0 3v6h1v1H8v-1h1V9H8V8h3z"],yy=["M14 9H6c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1z"],by=["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"],wy=["M5 5v10h10V5H5zM4 3a1 1 0 00-1 1v12a1 1 0 001 1h12a1 1 0 001-1V4a1 1 0 00-1-1H4z"],Ey=["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"],xy=["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"],_y=["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"],Sy=["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"],Cy=["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"],Oy=["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"],zy=["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"],My=["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"],Ty=["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"],Py=["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"],ky=["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"],Ay=["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"],Ly=["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"],Ry=["M15 7H5a3 3 0 000 6h10a3 3 0 100-6zM5 5a5 5 0 000 10h10a5 5 0 000-10H5z"],Ny=["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"],Hy=["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"],Iy=["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"],Vy=["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"],Dy=["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"],jy=["M16 3H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"],Fy=["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"],By=["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"],Uy=["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"],Gy=["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"],qy=["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"],Wy=["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"],Ky=["M10 4.01a6 6 0 100 12 6 6 0 100-12z"],Yy=["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"],Zy=["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"],$y=["M16 5H4c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V6c0-.5-.5-1-1-1z"],Xy=["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"],Qy=["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"],Jy=["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"],eb=["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"],tb=["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"],nb=["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"],rb=["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"],ob=["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"],ab=["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"],ib=["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"],lb=["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"],sb=["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"],cb=["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"],ub=["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"],hb=["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"],db=["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"],fb=["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"],pb=["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"],vb=["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"],mb=["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"],gb=["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"],yb=["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"],bb=["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"],wb=["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"],Eb=["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"],xb=["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"],_b=["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"],Sb=["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"],Cb=["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"],Ob=["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"],zb=["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"],Mb=["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"],Tb=["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"],Pb=["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"],kb=["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"],Ab=["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"],Lb=["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"],Rb=["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"],Nb=["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"],Hb=["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"],Ib=["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"],Vb=["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"],Db=["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"],jb=["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"],Fb=["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"],Bb=["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"],Ub=["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"],Gb=["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"],qb=["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"],Wb=["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"],Kb=["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"],Yb=["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"],Zb=["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"],$b=["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"],Xb=["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"],Qb=["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"],Jb=["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"],ew=["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"],tw=["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"],nw=["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"],rw=["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"],ow=["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"],aw=["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"],iw=["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"],lw=["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"],sw=["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"],cw=["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"],uw=["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"],hw=["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"],dw=["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"],fw=["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"];function pw(e){return e.toLowerCase()}var vw=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],mw=/[^A-Z0-9]+/gi;function gw(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}function yw(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 bw,ww=n(451),Ew=n(2778),xw=n(5307),_w=n(322);!function(e){e[e.STANDARD=16]="STANDARD",e[e.LARGE=20]="LARGE"}(bw||(bw={}));var Sw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.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,i=t.iconSize,c=t.intent,u=t.size,h=void 0===u?null!=i?i:bw.STANDARD:u,d=t.svgProps,f=t.title,p=t.tagName,v=void 0===p?"span":p,m=(0,a._T)(t,["className","color","htmlTitle","iconSize","intent","size","svgProps","title","tagName"]),g=h>=bw.LARGE?bw.LARGE:bw.STANDARD,y=this.renderSvgPaths(g,e),b=l()(ww.ICON,ww.iconClass(e),ww.intentClass(c),n),w="0 0 ".concat(g," ").concat(g),E=(0,_w.EL)("iconTitle");return s.createElement(v,(0,a.pi)((0,a.pi)({"aria-hidden":!f||void 0},m),{className:b,title:o}),s.createElement("svg",(0,a.pi)({fill:r,"data-icon":e,width:h,height:h,viewBox:w,"aria-labelledby":f?E:void 0,role:"img"},d),f&&s.createElement("title",{id:E},f),y))},t.prototype.renderSvgPaths=function(e,t){var n,i,l,c=(e===bw.STANDARD?r:o)[(n=t,i=n,void 0===l&&(l={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?vw:n,o=t.stripRegexp,a=void 0===o?mw:o,i=t.transform,l=void 0===i?pw:i,s=t.delimiter,c=void 0===s?" ":s,u=gw(gw(e,r,"$1\0$2"),a,"\0"),h=0,d=u.length;"\0"===u.charAt(h);)h++;for(;"\0"===u.charAt(d-1);)d--;return u.slice(h,d).split("\0").map(l).join(c)}(i,(0,a.pi)({delimiter:"",transform:yw},l)))];return null==c?null:c.map((function(e,t){return s.createElement("path",{key:t,d:e,fillRule:"evenodd"})}))},t.displayName="".concat(Ew.g,".Icon"),t}(xw.U)},9702:(e,t,n)=>{"use strict";n.d(t,{bZ:()=>pt,AN:()=>ht.A,sy:()=>Ot,V6:()=>Pt.V6,aG:()=>vt,Oo:()=>zt,zx:()=>ht.z,hE:()=>Mt,UW:()=>kt,Zb:()=>Lt,XZ:()=>on,EK:()=>Pt.EK,UO:()=>Rt,iT:()=>Nt,xV:()=>Lr,Tb:()=>Vt,eQ:()=>en,Vq:()=>dt.V,a7:()=>Dt.a,cN:()=>jt,yd:()=>Ft,iz:()=>Wt,dy:()=>Kt,mC:()=>qt,sL:()=>Xt,xH:()=>wr,S2:()=>an,cw:()=>ln,H1:()=>Pt.H1,H2:()=>Pt.H2,H3:()=>Pt.H3,H4:()=>Pt.H4,H5:()=>Pt.H5,H6:()=>Pt.H6,Lu:()=>xn,vl:()=>_n,qB:()=>tr,gZ:()=>er,qm:()=>Cn.q,SV:()=>Sn.S,m:()=>Nn.m,No:()=>Ln,hj:()=>In,JO:()=>ft.I,Jh:()=>ft.J,BZ:()=>cn,M2:()=>On.M,__:()=>Pt.__,v2:()=>gt,R:()=>Vn,sN:()=>bt,Zz:()=>sr,E:()=>Ut,wp:()=>Un,ox:()=>Dn,fT:()=>Fn,ym:()=>Bn,tR:()=>Gn,jZ:()=>Rn,Af:()=>mn,OL:()=>Pt.OL,Dj:()=>_t,aV:()=>Be.a,qA:()=>Pr,lc:()=>Yn,hg:()=>$n,J2:()=>ot,V3:()=>rt,I2:()=>Xn,h_:()=>Qn.h,SU:()=>Pt.SU,ko:()=>Jn,Y8:()=>rn,Ee:()=>wn,U2:()=>dr,z_:()=>Ge,iR:()=>fr,$j:()=>pr.$,Ey:()=>pr.E,rs:()=>nn,OK:()=>vr,mQ:()=>xr,Vp:()=>mr,EG:()=>zr,xv:()=>yt,Kx:()=>En,FN:()=>Mr,x7:()=>Tr,u:()=>qe,mp:()=>Ar,OF:()=>kr,UL:()=>Pt.UL,A6:()=>zn.A6,q1:()=>zn.q1,$w:()=>zn.$w,dX:()=>kn,SG:()=>zn.SG,wq:()=>Pn});var r={};n.r(r),n.d(r,{hide:()=>st,isOpen:()=>ct,show:()=>lt}),n(2435);var o=n(655),a=n(4184),i=n.n(a),l=n(7294),s=n(3935),c=n(451),u=n(3766),h=n(5307),d=n(7462),f=n(1721),p=n(7326);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(2473),y=n.n(g),b=n(8740),w=n.n(b),E=w()(),x=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,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(E.Provider,{value:this.referenceNode},l.createElement(x.Provider,{value:this.setReferenceNode},this.props.children))},t}(l.Component),S=function(e){return Array.isArray(e)?e[0]:e},C=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)}},O=function(e,t){if("function"==typeof e)return C(e,t);null!=e&&(e.current=t)},z=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){O(t.props.innerRef,e),C(t.props.setReferenceNode,e)})),t}(0,f.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){O(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 M(e){return l.createElement(x.Consumer,null,(function(t){return l.createElement(z,(0,d.Z)({setReferenceNode:t},e))}))}var T=n(3366),P=n(251),k=n.n(P),A="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,L=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(A&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),R=A&&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()}),L))}};function N(e){return e&&"[object Function]"==={}.toString.call(e)}function H(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function I(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=H(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:V(I(e))}function D(e){return e&&e.referenceNode?e.referenceNode:e}var j=A&&!(!window.MSInputMethodContext||!document.documentMode),F=A&&/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"===H(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,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i,l,s=a.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(l=(i=s).nodeName)||"HTML"!==l&&U(i.firstElementChild)!==i?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 Y(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 Z(e){var t=e.body,n=e.documentElement,r=B(10)&&getComputedStyle(n);return{height:Y("Height",t,n,r),width:Y("Width",t,n,r)}}var $=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}}(),X=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},a="HTML"===e.nodeName?Z(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,l=a.height||e.clientHeight||o.height,s=e.offsetWidth-i,c=e.offsetHeight-l;if(s||c){var u=H(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,a=ee(e),i=ee(t),l=V(e),s=H(t),c=parseFloat(s.borderTopWidth),u=parseFloat(s.borderLeftWidth);n&&o&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var h=J({top:a.top-i.top-c,left:a.left-i.left-u,width:a.width,height:a.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var d=parseFloat(s.marginTop),f=parseFloat(s.marginLeft);h.top-=c-d,h.bottom-=c-d,h.left-=u-f,h.right-=u-f,h.marginTop=d,h.marginLeft=f}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=W(t,"top"),o=W(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}(h,t)),h}function ne(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===H(e,"position"))return!0;var n=I(e);return!!n&&ne(n)}function re(e){if(!e||!e.parentElement||B())return document.documentElement;for(var t=e.parentElement;t&&"none"===H(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],a={top:0,left:0},i=o?re(e):q(e,D(t));if("viewport"===r)a=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),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:W(n),l=t?0:W(n,"left");return J({top:i-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:a})}(i,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=V(I(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var s=te(l,i,o);if("HTML"!==l.nodeName||ne(i))a=s;else{var c=Z(e.ownerDocument),u=c.height,h=c.width;a.top+=s.top-s.marginTop,a.bottom=u+s.top,a.left+=s.left-s.marginLeft,a.right=h+s.left}}var d="number"==typeof(n=n||0);return a.left+=d?n:n.left||0,a.top+=d?n:n.top||0,a.right-=d?n:n.right||0,a.bottom-=d?n:n.bottom||0,a}function ae(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=oe(n,r,a,o),l={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.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,h=e.split("-")[1];return u+(h?"-"+h:"")}function ie(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},a=-1!==["right","left"].indexOf(n),i=a?"top":"left",l=a?"left":"top",s=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+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 he(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&&N(n)&&(t.offsets.popper=J(t.offsets.popper),t.offsets.reference=J(t.offsets.reference),t=n(t,e))})),t}function de(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ie(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ae(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=he(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],a=o?""+o+n:e;if(void 0!==document.body.style[a])return a}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,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||ge(V(a.parentNode),t,n,r),r.push(a)}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 Ee(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function xe(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Ee(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var _e=A&&/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 a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}var Ce=["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"],Oe=Ce.slice(3);function ze(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Oe.indexOf(e),r=Oe.slice(n+1).concat(Oe.slice(0,n));return t?r.reverse():r}var Me={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,a=o.reference,i=o.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",c=l?"width":"height",u={start:X({},s,a[s]),end:X({},s,a[s]+a[c]-i[c])};e.offsets.popper=Q({},i,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r=t.offset,o=e.placement,a=e.offsets,i=a.popper,l=a.reference,s=o.split("-")[0];return n=Ee(+r)?[+r,0]:function(e,t,n,r){var o=[0,0],a=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=i.indexOf(ue(i,(function(e){return-1!==e.search(/,|\s/)})));i[l]&&-1===i[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==l?[i.slice(0,l).concat([i[l].split(s)[0]]),[i[l].split(s)[1]].concat(i.slice(l+1))]:[i];return(c=c.map((function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];return a?0===i.indexOf("%")?J("%p"===i?n:r)[t]/100*a:"vh"===i||"vw"===i?("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a:a:e}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Ee(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}(r,i,l,s),"left"===s?(i.top+=n[0],i.left-=n[1]):"right"===s?(i.top+=n[0],i.left+=n[1]):"top"===s?(i.left+=n[0],i.top-=n[1]):"bottom"===s&&(i.left+=n[0],i.top+=n[1]),e.popper=i,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,a=o.top,i=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=a,o.left=i,o[r]=l,t.boundaries=s;var c=t.priority,u=e.offsets.popper,h={primary:function(e){var n=u[e];return u[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(u[e],s[e])),X({},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))),X({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Q({},u,h[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],a=Math.floor,i=-1!==["top","bottom"].indexOf(o),l=i?"right":"bottom",s=i?"left":"top",c=i?"width":"height";return n[l]<a(r[s])&&(e.offsets.popper[s]=a(r[s])-n[c]),n[s]>a(r[l])&&(e.offsets.popper[s]=a(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],a=e.offsets,i=a.popper,l=a.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",u=s?"Top":"Left",h=u.toLowerCase(),d=s?"left":"top",f=s?"bottom":"right",p=le(r)[c];l[f]-p<i[h]&&(e.offsets.popper[h]-=i[h]-(l[f]-p)),l[h]+p>i[f]&&(e.offsets.popper[h]+=l[h]+p-i[f]),e.offsets.popper=J(e.offsets.popper);var v=l[h]+l[c]/2-p/2,m=H(e.instance.popper),g=parseFloat(m["margin"+u]),y=parseFloat(m["border"+u+"Width"]),b=v-e.offsets.popper[h]-g-y;return b=Math.max(Math.min(i[c]-p,b),0),e.arrowElement=r,e.offsets.arrow=(X(n={},h,Math.round(b)),X(n,d,""),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),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case"flip":i=[r,o];break;case"clockwise":i=ze(r);break;case"counterclockwise":i=ze(r,!0);break;default:i=t.behavior}return i.forEach((function(l,s){if(r!==l||i.length===s+1)return e;r=e.placement.split("-")[0],o=se(r);var c=e.offsets.popper,u=e.offsets.reference,h=Math.floor,d="left"===r&&h(c.right)>h(u.left)||"right"===r&&h(c.left)<h(u.right)||"top"===r&&h(c.bottom)>h(u.top)||"bottom"===r&&h(c.top)<h(u.bottom),f=h(c.left)<h(n.left),p=h(c.right)>h(n.right),v=h(c.top)<h(n.top),m=h(c.bottom)>h(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"===a&&f||y&&"end"===a&&p||!y&&"start"===a&&v||!y&&"end"===a&&m),w=!!t.flipVariationsByContent&&(y&&"start"===a&&p||y&&"end"===a&&f||!y&&"start"===a&&m||!y&&"end"===a&&v),E=b||w;(d||g||E)&&(e.flipped=!0,(d||g)&&(r=i[s+1]),E&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=Q({},e.offsets.popper,ce(e.instance.popper,e.offsets.reference,e.placement)),e=he(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,a=r.reference,i=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=a[n]-(l?o[i?"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,a=ue(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i,l,s=void 0!==a?a:t.gpuAcceleration,c=U(e.instance.popper),u=ee(c),h={position:o.position},d=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,a=Math.round,i=Math.floor,l=function(e){return e},s=a(o.width),c=a(r.width),u=-1!==["left","right"].indexOf(e.placement),h=-1!==e.placement.indexOf("-"),d=t?u||h||s%2==c%2?a:i:l,f=t?a:l;return{left:d(s%2==1&&c%2==1&&!h&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!_e),f="bottom"===n?"top":"bottom",p="right"===r?"left":"right",v=pe("transform");if(l="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+d.bottom:-u.height+d.bottom:d.top,i="right"===p?"HTML"===c.nodeName?-c.clientWidth+d.right:-u.width+d.right:d.left,s&&v)h[v]="translate3d("+i+"px, "+l+"px, 0)",h[f]=0,h[p]=0,h.willChange="transform";else{var m="bottom"===f?-1:1,g="right"===p?-1:1;h[f]=l*m,h[p]=i*g,h.willChange=f+", "+p}var y={"x-placement":e.placement};return e.attributes=Q({},y,e.attributes),e.styles=Q({},h,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 xe(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&&xe(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=ie(o,t,e,n.positionFixed),i=ae(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),xe(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},Te={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Me},Pe=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=R(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&&N(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return $(e,[{key:"update",value:function(){return de.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}();Pe.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Pe.placements=Ce,Pe.Defaults=Te;const ke=Pe;var Ae={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},Le={},Re=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&&(O(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,d.Z)({},t.props.modifiers,{arrow:(0,d.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,d.Z)({position:t.state.data.offsets.popper.position},t.state.data.styles):Ae})),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:Le})),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 ke(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&&k()(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(){O(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 Ne(e){var t=e.referenceElement,n=(0,T.Z)(e,["referenceElement"]);return l.createElement(E.Consumer,null,(function(e){return l.createElement(Re,(0,d.Z)({referenceElement:void 0!==t?t:e},n))}))}m(Re,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1}),ke.placements;var He=n(4408),Ie=n(836),Ve=n(2778),De=n(7755),je=n(3835),Fe=n(322),Be=n(1624),Ue=n(6254),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}(h.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,a=n.intent,s=n.popoverClassName,u=(0,o._T)(n,["children","intent","popoverClassName"]),h=i()(c.TOOLTIP,((e={})[c.MINIMAL]=this.props.minimal,e),c.intentClass(a),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:h,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}(h.U);function We(e){return e.split("-")[0]}function Ke(e){return-1!==["left","right"].indexOf(e)}function Ye(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function Ze(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function $e(e){var t=We(e.placement);if(null==e.arrowElement)return Ke(t)?"".concat(Ye(t)," ").concat(Ze(t)):"".concat(Ze(t)," ").concat(Ye(t));var n=e.arrowElement.clientHeight/2,r=e.offsets.arrow;return Ke(t)?"".concat(Ye(t)," ").concat(r.top+n,"px"):"".concat(r.left+n,"px ").concat(Ye(t))}var Xe=function(e){if(null==e.arrowElement)return e;var t=e.arrowElement.clientWidth,n=We(e.placement),r=Ke(n),o=r?"width":"height",a=r?"left":"top",i=Math.round(t/2/Math.sqrt(2));return"top"===n||"left"===n?(e.offsets.popper[a]-=i+4,e.offsets.arrow[a]=e.offsets.popper[o]-t+i):(e.offsets.popper[a]+=i+4,e.offsets.arrow[a]=-i),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,He.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,a=r.interactionKind,s=r.usePortal,u=t.state.transformOrigin;t.popperScheduleUpdate=e.scheduleUpdate;var h={onClick:t.handlePopoverClick};(a===rt.HOVER||!s&&a===rt.HOVER_TARGET_ONLY)&&(h.onMouseEnter=t.handleMouseEnter,h.onMouseLeave=t.handleMouseLeave);var d=i()(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:d,style:{transformOrigin:u},ref:t.popoverRef},h),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,a=t.props,s=a.fill,u=a.openOnTargetFocus,h=a.targetClassName,d=a.targetProps,f=void 0===d?{}:d,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=i()(c.POPOVER_TARGET,((n={})[c.POPOVER_OPEN]=p,n),f.className,h),y.ref=e.ref;var b=De.h7(t.understandChildren().target);if(void 0===b)return null;var w=b.props.tabIndex,E=null==w&&u&&m?0:w,x=l.cloneElement(b,{className:i()(b.props.className,(r={},r[c.ACTIVE]=p&&!v&&!m,r)),disabled:!(!p||!De.Mc(b,qe))||b.props.disabled,tabIndex:E}),_=l.createElement(g,(0,o.pi)((0,o.pi)({},f),y),x);return l.createElement(Ge,{onResize:t.reposition},_)},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,a=null==r?void 0:r.classList.contains(c.POPOVER_CAPTURING_DISMISS),i=n.closest(".".concat(c.POPOVER_DISMISS,", .").concat(c.POPOVER_DISMISS_OVERRIDE)),l=null!=i&&i.classList.contains(c.POPOVER_DISMISS),s=null!=n.closest(":disabled, .".concat(c.DISABLED));!l||s||a&&!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:$e(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,a=n.fill,s=n.placement,u=n.position,h=void 0===u?"auto":u,d=n.shouldReturnFocusOnClose,f=this.state.isOpen,p=this.props.wrapperTagName;a&&(p="div");var v=null==De.h7(this.understandChildren().content);!v||o||!1===f||Fe.KV("production")||console.warn(Ie.Zc);var m=i()(c.POPOVER_WRAPPER,r,((e={})[c.FILL]=a,e)),g=!this.isHoverInteractionKind()&&void 0,y=l.createElement(p,{className:m},l.createElement(M,{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()&&d},l.createElement(Ne,{innerRef:this.handlePopoverRef,placement:null!=s?s:et(h),modifiers:this.getPopperModifiers()},this.renderPopover)));return l.createElement(_,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,He.k$)(t.popoverRef,null),this.handlePopoverRef=(0,He.Km)(this,"popoverElement",this.props.popoverRef),(0,He.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(Ie.Ig),e.hasBackdrop&&!e.usePortal&&console.warn(Ie.WQ),e.hasBackdrop&&e.interactionKind!==rt.CLICK&&console.error(Ie.Q2),void 0!==e.placement&&void 0!==e.position&&console.warn(Ie.xl);var t=l.Children.count(e.children),n=void 0!==e.content,r=void 0!==e.target;0!==t||r||console.error(Ie.zZ),t>2&&console.warn(Ie.fq),t>0&&r&&console.warn(Ie.GO),2===t&&n&&console.warn(Ie.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),a=o[0],i=o[1];return{content:null==i?n:i,target:null==a?r:a}},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,a=r.flip,i=void 0===a?{}:a,l=r.preventOverflow,s=void 0===l?{}:l;return(0,o.pi)((0,o.pi)({},n),{arrowOffset:{enabled:this.isArrowEnabled(),fn:Xe,order:510},flip:(0,o.pi)({boundariesElement:t},i),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,a,i,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===(a=(o=this.props).onInteraction)||void 0===a||a.call(o,e,t),e||null===(l=(i=this.props).onClose)||void 0===l||l.call(i,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}(h.U),at={preventOverflow:{boundariesElement:"viewport"}},it=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=i()(((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:at,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}(h.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(it,{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 ht=n(4366),dt=n(9685),ft=n(1774),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,a=e.className,s=e.icon,u=e.intent,h=e.loading,d=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(dt.V,(0,o.pi)({},p,{className:i()(c.ALERT,a),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(ht.z,{loading:h,intent:u,text:f,onClick:this.handleConfirm}),d&&l.createElement(ht.z,{text:d,disabled:h,onClick:this.handleCancel})))},t.prototype.validateProps=function(e){null==e.onClose&&null==e.cancelButtonText!=(null==e.onCancel)&&console.warn(Ie.rV);var t=null!=e.onCancel||null!=e.onClose;e.canEscapeKeyCancel&&!t&&console.warn(Ie.SE),e.canOutsideClickCancel&&!t&&console.warn(Ie.l3)},t.prototype.internalHandleCallbacks=function(e,t){var n,r=this.props,o=r.onCancel,a=r.onClose,i=r.onConfirm;null===(n=e?i:o)||void 0===n||n(t),null==a||a(e,t)},t.defaultProps={canEscapeKeyCancel:!1,canOutsideClickCancel:!1,confirmButtonText:"OK",isOpen:!1,loading:!1},t.displayName="".concat(Ve.g,".Alert"),t}(h.U),vt=function(e){var t,n=i()(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(4958),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,a=t.large,s=t.ulRef,u=(0,o._T)(t,["className","children","large","ulRef"]),h=i()(c.MENU,((e={})[c.LARGE]=a,e),n);return l.createElement("ul",(0,o.pi)({role:"menu"},u,{className:h,ref:s}),r)},t.displayName="".concat(Ve.g,".Menu"),t}(h.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,a=n.className,s=n.ellipsize,u=n.tagName,h=void 0===u?"div":u,d=n.title,f=(0,o._T)(n,["children","className","ellipsize","tagName","title"]),p=i()(a,((e={})[c.TEXT_OVERFLOW_ELLIPSIS]=s,e));return l.createElement(h,(0,o.pi)((0,o.pi)({},f),{className:p,ref:function(e){return t.textRef=e},title:null!=d?d: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}(h.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,a=n.className,s=n.children,u=n.disabled,h=n.elementRef,d=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),E=n.textClassName,x=n.tagName,_=void 0===x?"a":x,S=n.htmlTitle,C=(0,o._T)(n,["active","className","children","disabled","elementRef","icon","intent","labelClassName","labelElement","multiline","popoverProps","roleStructure","selected","shouldDismissPopover","submenuProps","text","textClassName","tagName","htmlTitle"]),O=null!=d,z=null!=s,M=c.intentClass(f),T=i()(c.MENU_ITEM,M,((e={})[c.ACTIVE]=r,e[c.DISABLED]=u,e[c.POPOVER_DISMISS]=b&&!u&&!z,e[c.SELECTED]=y||r&&void 0===M,e),a),P="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],k=P[0],A=P[1],L=P[2],R=l.createElement(_,(0,o.pi)((0,o.pi)((0,o.pi)({role:A,tabIndex:0},C),u?Et:{}),{className:T}),O?l.createElement("span",{className:c.MENU_ITEM_ICON},l.createElement(ft.I,{icon:d,"aria-hidden":!0,tabIndex:-1})):void 0,l.createElement(yt,{className:i()(c.FILL,E),ellipsize:!v,title:S},w),this.maybeRenderLabel(p),z?l.createElement(ft.I,{className:c.MENU_SUBMENU_ICON,icon:"caret-right"}):void 0),N=i()(((t={})[c.MENU_SUBMENU]=z,t));return l.createElement("li",{className:N,ref:h,role:k,"aria-selected":L},this.maybeRenderPopover(R,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:i()(c.MENU_ITEM_LABEL,r)},n,e)},t.prototype.maybeRenderPopover=function(e,t){if(null==t)return e;var n=this.props,r=n.disabled,a=n.popoverProps,s=n.submenuProps;return l.createElement(ot,(0,o.pi)({autoFocus:!1,captureDismiss:!1,disabled:r,enforceFocus:!1,hoverCloseDelay:0,interactionKind:rt.HOVER,modifiers:wt,position:u.Ly.RIGHT_TOP,usePortal:!1},a,{content:l.createElement(gt,(0,o.pi)({},s),t),minimal:!0,popoverClassName:i()(c.MENU_SUBMENU,null==a?void 0:a.popoverClassName),target:e}))},t.defaultProps={active:!1,disabled:!1,multiline:!1,popoverProps:{},selected:!1,shouldDismissPopover:!0,text:""},t.displayName="".concat(Ve.g,".MenuItem"),t}(h.U),wt={flip:{boundariesElement:"viewport",padding:20},offset:{offset:-5},preventOverflow:{boundariesElement:"viewport",padding:20}},Et={href:void 0,onClick:void 0,onMouseDown:void 0,onMouseEnter:void 0,onMouseLeave:void 0,tabIndex:-1},xt=n(8261),_t=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,xt.ms)(this.state,t))},t.prototype.componentDidUpdate=function(e,t){var n,r;e.observeParents!==this.props.observeParents&&console.warn(Ie.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,a=o.repartitioning,i=o.overflow,l=o.lastOverflowCount;!1===a&&!0===t.repartitioning?i.length!==l&&(null===(r=(n=this.props).onOverflow)||void 0===r||r.call(n,i.slice())):(0,xt.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,a=t.style,s=t.tagName,u=void 0===s?"div":s,h=t.visibleItemRenderer,d=this.maybeRenderOverflow(),f=l.createElement(u,{className:i()(c.OVERFLOW_LIST,n),style:a},r===mt.E.START?d:null,this.state.visible.map(h),r===mt.E.END?d: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,a=(this.spacer.offsetWidth>=1||this.state.visible.length<r)&&this.state.overflow.length>0&&!n;o||a?this.setState((function(e){var n,r,a;return t.props.collapseFrom===mt.E.END?(n=(a=Ct(e.visible,e.overflow,t.state.chopSize*(o?1:-1)))[0],r=a[1]):(r=(a=Ct(e.overflow,e.visible,t.state.chopSize*(o?-1:1)))[0],n=a[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 Ct(e,t,n){var r=e.concat(t),o=e.length-n;if(o<=0)return[[],r];if(o>=r.length)return[r,[]];var a=r.length-o;return[r.slice(0,-a),r.slice(-a)]}var Ot,zt=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,a=e;return n===mt.E.START&&(a=e.slice().reverse()),l.createElement("li",null,l.createElement(ot,(0,o.pi)({position:r,disabled:0===a.length,content:l.createElement(gt,null,a.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,a=e.minVisibleItems,s=e.overflowListProps,u=void 0===s?{}:s;return l.createElement(_t,(0,o.pi)({collapseFrom:n,minVisibleItems:a,tagName:"ul"},u,{className:i()(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}(h.U),Mt=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,a=t.elementRef,s=t.fill,u=t.minimal,h=t.large,d=t.vertical,f=(0,o._T)(t,["alignText","className","elementRef","fill","minimal","large","vertical"]),p=i()(c.BUTTON_GROUP,((e={})[c.FILL]=s,e[c.LARGE]=h,e[c.MINIMAL]=u,e[c.VERTICAL]=d,e),c.alignmentClass(n),r);return l.createElement("div",(0,o.pi)({},f,{className:p,ref:a}),this.props.children)},t.displayName="".concat(Ve.g,".ButtonGroup"),t}(h.U),Tt=n(2609),Pt=n(8587),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.children,a=t.icon,s=t.intent,u=t.title,h=(0,o._T)(t,["className","children","icon","intent","title"]),d=this.getIconName(a,s),f=i()(c.CALLOUT,c.intentClass(s),((e={})[c.CALLOUT_ICON]=null!=d,e),n);return l.createElement("div",(0,o.pi)({className:f},h),d&&l.createElement(ft.I,{icon:d,"aria-hidden":!0,tabIndex:-1}),u&&l.createElement(Pt.H5,null,u),r)},t.prototype.getIconName=function(e,t){if(null!==e){if(void 0!==e)return e;switch(t){case Tt.S.DANGER:return"error";case Tt.S.PRIMARY:return"info-sign";case Tt.S.WARNING:return"warning-sign";case Tt.S.SUCCESS:return"tick";default:return}}},t.displayName="".concat(Ve.g,".Callout"),t}(h.U),At=n(762),Lt=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,a=t.interactive,s=(0,o._T)(t,["className","elevation","interactive"]),u=i()(c.CARD,((e={})[c.INTERACTIVE]=a,e),c.elevationClass(r),n);return l.createElement("div",(0,o.pi)({className:u},s))},t.displayName="".concat(Ve.g,".Card"),t.defaultProps={elevation:At.u.ZERO,interactive:!1},t}(h.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"}(Ot||(Ot={}));var Rt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={animationState:t.props.isOpen?Ot.OPEN:Ot.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?Ot.OPEN:Ot.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 Ot.OPEN:case Ot.OPENING:break;default:return{animationState:Ot.OPEN_START}}else switch(r){case Ot.CLOSED:case Ot.CLOSING:break;default:return{animationState:Ot.CLOSING_START,height:"".concat(t.heightWhenOpen,"px")}}return null},t.prototype.render=function(){var e=this.state.animationState!==Ot.CLOSED,t=e||this.props.keepChildrenMounted,n=e&&this.state.animationState!==Ot.CLOSING,r="auto"===this.state.height,o={height:e?this.state.height:void 0,overflowY:r?"visible":void 0,transition:r?"none":void 0},a={transform:n?"translateY(0)":"translateY(-".concat(this.state.heightWhenOpen,"px)"),transition:r?"none":void 0};return l.createElement(this.props.component,{className:i()(c.COLLAPSE,this.props.className),style:o},l.createElement("div",{className:c.COLLAPSE_BODY,ref:this.contentsRefHandler,style:a,"aria-hidden":!e},t?this.props.children:null))},t.prototype.componentDidMount=function(){this.forceUpdate(),this.props.isOpen?this.setState({animationState:Ot.OPEN,height:"auto"}):this.setState({animationState:Ot.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===Ot.OPEN_START){var r=this.contents.clientHeight;this.setState({animationState:Ot.OPENING,height:"".concat(r,"px"),heightWhenOpen:r}),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}else if(n===Ot.CLOSING_START){var o=this.contents.clientHeight;this.setTimeout((function(){return e.setState({animationState:Ot.CLOSING,height:"0px",heightWhenOpen:o})})),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}}},t.prototype.onDelayedStateChange=function(){switch(this.state.animationState){case Ot.OPENING:this.setState({animationState:Ot.OPEN,height:"auto"});break;case Ot.CLOSING:this.setState({animationState:Ot.CLOSED})}},t.displayName="".concat(Ve.g,".Collapse"),t.defaultProps={component:"div",isOpen:!1,keepChildrenMounted:!1,transitionDuration:200},t}(h.U),Nt=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),a=this.partitionChildren(),s=a[0],h=a[1],d=s.map((function(e,o){var a=n===mt.E.START?r-1-o:o;return l.createElement("li",{className:t.props.visibleItemClassName,key:a},t.props.visibleItemRenderer(e.props,a))}));if(n===mt.E.START&&d.reverse(),h.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,h),position:f},this.props.dropdownProps),this.props.dropdownTarget))}return l.createElement("ul",{className:i()(c.COLLAPSIBLE_LIST,this.props.className)},n===mt.E.START?e:null,d,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(Ie.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),Ht=n(3251),It=n(4908);function Vt(e){var t;return(0,Ht.m)(e.prototype.renderContextMenu)||console.warn(Ie.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(Ie.hq),n;var r=n.props.onContextMenu;return l.cloneElement(n,{onContextMenu:function(e){if(!e.defaultPrevented){if((0,Ht.m)(t.renderContextMenu)){var n=t.renderContextMenu(e);if(null!=n){var o=(0,It.$)(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(3640),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:i()(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}(h.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},l.createElement("div",{className:i()(c.DIALOG_STEP,e),role:"dialogsteplist"}))},t.displayName="".concat(Ve.g,".DialogStep"),t}(h.U);function Bt(e){var t=e.tooltipContent,n=(0,o._T)(e,["tooltipContent"]),r=l.createElement(ht.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,a=t.state.lastViewedIndex>=n,s=t.state.selectedIndex===n;return l.createElement("div",{className:i()(c.DIALOG_STEP_CONTAINER,(r={},r[c.ACTIVE]=s,r[c.DIALOG_STEP_VIEWED]=a,r)),key:n},l.createElement("div",{className:c.DIALOG_STEP,onClick:t.handleClickDialogStep(n)},l.createElement("div",{className:c.DIALOG_STEP_ICON},o),l.createElement("div",{className:c.DIALOG_STEP_TITLE},e.props.title)))},t.handleClickDialogStep=function(e){if(!(e>t.state.lastViewedIndex))return t.getDialogStepChangeHandler(e)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.navigationPosition,a=(t.showCloseButtonInFooter,t.isCloseButtonShown),s=(0,o._T)(t,["className","navigationPosition","showCloseButtonInFooter","isCloseButtonShown"]);return l.createElement(dt.V,(0,o.pi)({isCloseButtonShown:a},s,{className:i()((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},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:i()(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,a=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()},a)},t.prototype.renderButtons=function(){var e,t,n=this.state.selectedIndex,r=this.getDialogStepChildren(),a=[];if(this.state.selectedIndex>0){var i=null!==(e=r[n].props.backButtonProps)&&void 0!==e?e:this.props.backButtonProps;a.push(l.createElement(Bt,(0,o.pi)({key:"back",onClick:this.getDialogStepChangeHandler(n-1),text:"Back"},i)))}if(n===this.getDialogStepChildren().length-1)a.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;a.push(l.createElement(Bt,(0,o.pi)({intent:"primary",key:"next",onClick:this.getDialogStepChangeHandler(n+1),text:"Next"},s)))}return a},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,a=r[e].props.id;t.props.onChange(a,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}(h.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,a=(0,o._T)(e,["className","tagName"]),s=i()(c.DIVIDER,t);return l.createElement(r,(0,o.pi)((0,o.pi)({},a),{className:s}))},t.displayName="".concat(Ve.g,".Divider"),t}(h.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,a=r.size,s=r.style,h=r.position,d=(0,u.L3)(h),f=i()(c.DRAWER,((e={})[null!==(n=c.positionClass(d))&&void 0!==n?n:""]=!0,e),this.props.className),p=null==a?s:(0,o.pi)((0,o.pi)({},s),((t={})[(0,u.lM)(d)?"height":"width"]=a,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(Ie.J$),null!=e.isCloseButtonShown&&console.warn(Ie.C0)),null!=e.position&&e.position!==(0,u.L3)(e.position)&&console.warn(Ie.Am)},t.prototype.maybeRenderCloseButton=function(){return!1!==this.props.isCloseButtonShown?l.createElement(ht.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(Pt.H4,null,n),this.maybeRenderCloseButton())},t.displayName="".concat(Ve.g,".Drawer"),t.defaultProps={canOutsideClickClose:!0,isOpen:!1,position:"right",style:{}},t}(h.U),Yt=n(9421),Zt="undefined"!=typeof navigator?navigator.userAgent:"",$t={isEdge:/Edge/.test(Zt),isInternetExplorer:/Trident|rv:11/.test(Zt),isWebkit:/AppleWebKit/.test(Zt)},Xt=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,a=r.state,i=a.lastValue,l=a.value;r.setState({isEditing:!1,value:i}),l!==i&&(null===(t=(e=r.props).onChange)||void 0===t||t.call(e,i)),null===(o=(n=r.props).onCancel)||void 0===o||o.call(n,i)},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 a=r.inputElement.value.length;r.inputElement.setSelectionRange(0,a)}},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,a=e.shiftKey,i=e.which;if(i!==Yt.ESCAPE){var l=t||n||o||a;i===Yt.ENTER&&((t||a)&&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 a=o.substring(0,r),i=o.substring(n,o.length),l="\n".length;e.value="".concat(a).concat("\n").concat(i),e.selectionStart=r+l,e.selectionEnd=r+l}}(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,a=r.alwaysRenderInput,s=r.disabled,u=r.multiline,h=r.contentId,d=null!==(t=this.props.value)&&void 0!==t?t:this.state.value,f=null!=d&&""!==d,p=i()(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=a||this.state.isEditing||s?void 0:0,m=a&&!this.state.isEditing,g=null!=h?{id:h}:{};return l.createElement("div",{className:p,onFocus:this.handleFocus,tabIndex:v},a||this.state.isEditing?this.renderInput(d):void 0,m?void 0:l.createElement("span",(0,o.pi)({},g,{className:c.EDITABLE_TEXT_CONTENT,ref:this.refHandlers.content,style:n}),f?d: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,a=t.multiline,i=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},h=this.state,d=h.inputHeight,f=h.inputWidth;return 0!==d&&0!==f&&(u.style={height:d,lineHeight:a||null==d?void 0:"".concat(d,"px"),width:a?"100%":f}),a?l.createElement("textarea",(0,o.pi)({ref:this.refHandlers.input},u)):l.createElement("input",(0,o.pi)({ref:this.refHandlers.input,type:i},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,a=this.valueElement,i=a.parentElement,l=a.textContent,s=this.valueElement,c=s.scrollHeight,u=s.scrollWidth,h=Qt(this.valueElement);o&&this.state.isEditing&&/\n$/.test(null!=l?l:"")&&(c+=h),h>0&&(c=(0,Fe.uZ)(c,n*h,t*h)),c=Math.max(c,(d=this.valueElement,(""===(f=getComputedStyle(d).fontSize)?0:parseInt(f.slice(0,-2),10))+1),Qt(i)),u+=$t.isInternetExplorer?30:5,this.setState({inputHeight:c,inputWidth:Math.max(u,r)}),o&&this.state.isEditing&&this.setTimeout((function(){return i.style.height="".concat(c,"px")}))}var d,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}(h.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,a=t.elementRef,s=t.fill,u=t.vertical,h=(0,o._T)(t,["children","className","elementRef","fill","vertical"]),d=i()(c.CONTROL_GROUP,((e={})[c.FILL]=s,e[c.VERTICAL]=u,e),r);return l.createElement("div",(0,o.pi)({},h,{className:d,ref:a}),n)},t.displayName="".concat(Ve.g,".ControlGroup"),t}(h.U),tn=function(e){var t,n=e.alignIndicator,r=e.children,a=e.className,s=e.indicatorChildren,u=e.inline,h=e.inputRef,d=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"]),E=i()(c.CONTROL,g,((t={})[c.DISABLED]=w.disabled,t[c.INLINE]=u,t[c.LARGE]=p,t),c.alignmentClass(n),a);return l.createElement(b,{className:E,style:v},l.createElement("input",(0,o.pi)({},w,{ref:h,type:m})),l.createElement("span",{className:c.CONTROL_INDICATOR},s),d,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"]),a=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:a}))},t.displayName="".concat(Ve.g,".Switch"),t}(h.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}(h.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,He.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,He.k$)(e.inputRef,null),this.handleInputRef=(0,He.Km)(this,"input",this.props.inputRef),(0,He.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}(h.U),an=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleInputChange=function(e){var n,r,o,a;null===(r=(n=t.props).onInputChange)||void 0===r||r.call(n,e),null===(a=null===(o=t.props.inputProps)||void 0===o?void 0:o.onChange)||void 0===a||a.call(o,e)},t}return(0,o.ZT)(t,e),t.prototype.render=function(){var e,t,n,r=this.props,a=r.buttonText,s=r.className,u=r.disabled,h=r.fill,d=r.hasSelection,f=r.inputProps,p=r.large,v=(r.onInputChange,r.text),m=(0,o._T)(r,["buttonText","className","disabled","fill","hasSelection","inputProps","large","onInputChange","text"]),g=i()(c.FILE_INPUT,((e={})[c.FILE_INPUT_HAS_SELECTION]=d,e[c.DISABLED]=u,e[c.FILL]=h,e[c.LARGE]=p,e),s),y=c.getClassNamespace(),b=((t={})["".concat(y,"-button-text")]=a,t.className=i()(c.FILE_UPLOAD_INPUT,((n={})[c.FILE_UPLOAD_INPUT_CUSTOM_TEXT]=!!a,n)),t);return l.createElement("label",(0,o.pi)({},m,{className:g}),l.createElement("input",(0,o.pi)({},f,{onChange:this.handleInputChange,type:"file",disabled:u})),l.createElement("span",(0,o.pi)({},b),v))},t.displayName="".concat(Ve.g,".FileInput"),t.defaultProps={hasSelection:!1,inputProps:{},text:"Choose file..."},t}(h.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,a=e.labelFor,s=e.labelInfo,u=e.style,h=e.subLabel;return l.createElement("div",{className:this.getClassName(),style:u},o&&l.createElement("label",{className:c.LABEL,htmlFor:a},o," ",l.createElement("span",{className:c.TEXT_MUTED},s)),h&&l.createElement("div",{className:c.FORM_GROUP_SUB_LABEL},h),l.createElement("div",{className:i()(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,a=t.intent;return i()(c.FORM_GROUP,c.intentClass(a),((e={})[c.DISABLED]=r,e[c.INLINE]=o,e),n)},t.displayName="".concat(Ve.g,".FormGroup"),t}(h.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,a=e.nextValue,i=this.props,s=i.inputRef,c=(0,o._T)(i,["inputRef"]);return l.createElement("input",(0,o.pi)({},c,{ref:s,value:t||n?a:r,onCompositionStart:this.handleCompositionStart,onCompositionEnd:this.handleCompositionEnd,onChange:this.handleChange}))},t.displayName="".concat(Ve.g,".AsyncControllableInput"),t.COMPOSITION_END_DELAY=10,t}(h.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,a=t.className,s=t.disabled,u=t.fill,h=t.inputClassName,d=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=i()(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),a),E=(0,o.pi)((0,o.pi)({},this.props.style),{paddingLeft:this.state.leftElementWidth,paddingRight:this.state.rightElementWidth}),x=(0,o.pi)((0,o.pi)({type:"text"},(0,Ve.B)(this.props)),{className:i()(c.INPUT,h),style:E}),_=r?l.createElement(sn,(0,o.pi)({},x,{inputRef:d})):l.createElement("input",(0,o.pi)({},x,{ref:d}));return l.createElement(b,{className:w},this.maybeRenderLeftElement(),_,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(Ie.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}(h.U);function un(e){var t=1.9.toLocaleString(e),n=1..toLocaleString(e),r=9..toLocaleString(e),o="".concat(n,"(.+)").concat(r),a=new RegExp(o).exec(t);return a&&a[1]||"."}function hn(e,t){return void 0===t&&(t="en-US"),pn(e.toLocaleString(t),t)}function dn(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,He.Km)(o,"inputElement",o.props.inputRef),o.incrementButtonHandlers=o.getButtonEventHandlers(Jt.UP),o.decrementButtonHandlers=o.getButtonEventHandlers(Jt.DOWN),o.getCurrentValueAsNumber=function(){return Number(dn(o.state.value,o.props.locale))},o.handleButtonClick=function(e,t){var n,r,a=o.updateDelta(t,e),i=o.incrementValue(a);null===(r=(n=o.props).onButtonClick)||void 0===r||r.call(n,Number(dn(i,o.props.locale)),i)},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 a=null!==(e=o.props.min)&&void 0!==e?e:-1/0,i=null!==(t=o.props.max)&&void 0!==t?t:1/0,l=o.getCurrentValueAsNumber();if(l<=a||l>=i)return void o.stopContinuousChange()}var s=o.incrementValue(o.delta);null===(r=(n=o.props).onButtonClick)||void 0===r||r.call(n,Number(dn(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,a=e.keyCode;if(a===Yt.ARROW_UP?r=Jt.UP:a===Yt.ARROW_DOWN&&(r=Jt.DOWN),void 0!==r){e.preventDefault();var i=o.updateDelta(r,e);o.incrementValue(i)}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,a,i={prevMaxProp:e.max,prevMinProp:e.min},l=e.min!==n.prevMinProp,s=e.max!==n.prevMaxProp,c=l||s,u=null!==(a=null===(r=e.value)||void 0===r?void 0:r.toString())&&void 0!==a?a:n.value,h=t.getStepMaxPrecision(e),d=u!==t.VALUE_EMPTY?t.roundAndClampValue(u,h,e.min,e.max,0,e.locale):t.VALUE_EMPTY;return c&&d!==n.value?(0,o.pi)((0,o.pi)({},i),{stepMaxPrecision:h,value:d}):(0,o.pi)((0,o.pi)({},i),{stepMaxPrecision:h,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,a,i){if(void 0===a&&(a=0),!function(e,t){var n=dn(e,t);return null!=e&&n-parseFloat(n)+1>=0}(e,i))return t.VALUE_EMPTY;var l=dn(e,i),s=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Number(l)+a,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 hn(c,i)},t.prototype.render=function(){var e,t=this.props,n=t.buttonPosition,r=t.className,o=t.fill,a=t.large,s=i()(c.NUMERIC_INPUT,((e={})[c.LARGE]=a,e),r),h=this.renderButtons();return l.createElement(en,{className:s,fill:o},n===u.Ly.LEFT&&h,this.renderInput(),n===u.Ly.RIGHT&&h)},t.prototype.componentDidUpdate=function(n,r){var o,a,i;e.prototype.componentDidUpdate.call(this,n,r),n.inputRef!==this.props.inputRef&&((0,He.k$)(n.inputRef,null),this.inputRef=(0,He.Km)(this,"inputElement",this.props.inputRef),(0,He.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,h=this.state.value!==r.value;if(c&&h||u&&r.value!==t.VALUE_EMPTY){var d=dn(u?r.value:this.state.value,n.locale),f=hn(+d,this.props.locale);null===(i=(a=this.props).onValueChange)||void 0===i||i.call(a,+d,f,this.inputElement)}},t.prototype.validateProps=function(e){var n=e.majorStepSize,r=e.max,o=e.min,a=e.minorStepSize,i=e.stepSize,l=e.value;if(null!=o&&null!=r&&o>r&&console.error(Ie.e7),i<=0&&console.error(Ie.an),a&&a<=0&&console.error(Ie.XY),n&&n<=0&&console.error(Ie.EG),a&&a>i&&console.error(Ie.xC),n&&n<i&&console.error(Ie.b7),null!=l){var s=t.getStepMaxPrecision(e),c=t.roundAndClampValue(l.toString(),s,o,r,0,this.props.locale),u=c!==l.toString(),h=hn(Number(dn(l,this.props.locale)),this.props.locale);u&&c!==h&&console.warn(Ie.yV)}},t.prototype.renderButtons=function(){var e=this.props,t=e.intent,n=e.max,r=e.min,a=e.locale,i=dn(this.state.value,a),s=this.props.disabled||this.props.readOnly,u=void 0!==n&&""!==i&&+i>=n,h=void 0!==r&&""!==i&&+i<=r;return l.createElement(Mt,{className:c.FIXED,key:"button-group",vertical:!0},l.createElement(ht.z,(0,o.pi)({"aria-label":"increment","aria-controls":this.numericInputId,disabled:s||u,icon:"chevron-up",intent:t},this.incrementButtonHandlers)),l.createElement(ht.z,(0,o.pi)({"aria-label":"decrement","aria-controls":this.numericInputId,disabled:s||h,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?Tt.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,value:this.state.value}))},t.prototype.getButtonEventHandlers=function(e){var t=this;return{onKeyDown:function(n){!t.props.disabled&&Yt.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(dn(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,a=r.minorStepSize,i=r.stepSize;return t&&null!=o?e*o:n&&null!=a?e*a:e*i},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,stepSize:1},t.CONTINUOUS_CHANGE_DELAY=300,t.CONTINUOUS_CHANGE_INTERVAL=100,t}(h.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(Ie.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}(h.U),En=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={},t.textareaElement=null,t.handleRef=(0,He.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,He.k$)(e.inputRef,null),this.handleRef=(0,He.Km)(this,"textareaElement",this.props.inputRef),(0,He.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,a=(t.inputRef,t.intent),s=t.large,u=t.small,h=t.growVertically,d=(0,o._T)(t,["className","fill","inputRef","intent","large","small","growVertically"]),f=i()(c.INPUT,c.intentClass(a),((e={})[c.FILL]=r,e[c.LARGE]=s,e[c.SMALL]=u,e),n),p=d.style,v=void 0===p?{}:p;return h&&null!=this.state.height&&(v=(0,o.pi)((0,o.pi)({},v),{height:"".concat(this.state.height,"px")})),l.createElement("textarea",(0,o.pi)({},d,{className:f,onChange:this.handleChange,ref:this.handleRef,style:v}))},t.displayName="".concat(Ve.g,".TextArea"),t}(h.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.className,r=t.disabled,a=t.elementRef,s=t.fill,u=t.iconProps,h=t.large,d=t.minimal,f=t.options,p=void 0===f?[]:f,v=(0,o._T)(t,["className","disabled","elementRef","fill","iconProps","large","minimal","options"]),m=i()(c.HTML_SELECT,((e={})[c.DISABLED]=r,e[c.FILL]=s,e[c.LARGE]=h,e[c.MINIMAL]=d,e),n),g=p.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:m},l.createElement("select",(0,o.pi)({disabled:r,ref:a,value:this.props.value},v,{multiple:!1}),g,v.children),l.createElement(ft.I,(0,o.pi)({icon:"double-caret-vertical",title:"Open dropdown"},u)))},t}(h.U),_n=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,a=t.compact,s=t.condensed,u=t.elementRef,h=t.interactive,d=t.striped,f=(0,o._T)(t,["bordered","className","compact","condensed","elementRef","interactive","striped"]),p=i()(c.HTML_TABLE,((e={})[c.COMPACT]=a,e[c.HTML_TABLE_BORDERED]=n,e[c.HTML_TABLE_CONDENSED]=s,e[c.HTML_TABLE_STRIPED]=d,e[c.INTERACTIVE]=h,e),r);return l.createElement("table",(0,o.pi)({},f,{ref:u,className:p}))},t}(h.U),Sn=n(3656),Cn=n(9837),On=n(5035),zn=n(4064),Mn=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(dt.V,(0,o.pi)({},this.componentProps,{className:i()(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(Cn.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 Tn(){return Mn.isShowing()}function Pn(e){for(var t in e)e.hasOwnProperty(t)&&(Mn.componentProps[t]=e[t])}function kn(){Mn.hide()}!function(e){e.LOCAL="local",e.GLOBAL="global"}(bn||(bn={}));var An=function(){function e(e){var t=this;this.scope=e,this.actions=[],this.handleKeyDown=function(e){var n,r=(0,zn.q1)(e);t.isTextInput(e)||!(0,zn.A6)((0,zn.SG)("?"),r)?Tn()||t.invokeNamedCallbackIfComboRecognized(r,"onKeyDown",e):Tn()?Mn.hideAfterDelay():(n=t.actions.map((function(e){return e.props})),Mn.enqueueHotkeysForDisplay(n))},this.handleKeyUp=function(e){Tn()||t.invokeNamedCallbackIfComboRecognized((0,zn.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,Cn.q)&&t.isScope(e.props)&&n.push({combo:(0,zn.SG)(e.props.combo),props:e.props})})),this.actions=n},e.prototype.invokeNamedCallbackIfComboRecognized=function(e,t,n){for(var r,o,a=this.isTextInput(n),i=0,l=this.actions;i<l.length;i++){var s=l[i];!(a&&!s.props.allowInInput||s.props.disabled)&&(0,zn.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 Ln(e){var t;return(0,Ht.m)(e.prototype.renderHotkeys)||console.warn(Ie.HK),t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.globalHotkeysEvents=new An(bn.GLOBAL),t.localHotkeysEvents=new An(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(Ie.Yf),n;if((0,Ht.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,a=n.props,i=a.onKeyDown,s=a.onKeyUp;return l.cloneElement(n,{onKeyDown:function(e){t.localHotkeysEvents.handleKeyDown(e.nativeEvent),null==i||i(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 Rn,Nn=n(9242),Hn=n(7335),In=function(e){var t=e.children,n=e.hotkeys,r=e.options,o=(0,Hn.y)(n,r),a=o.handleKeyDown,i=o.handleKeyUp;return l.useEffect((function(){(0,Fe.KV)("production")||"function"!=typeof t&&n.some((function(e){return!e.global}))&&console.error(Ie.nJ)}),[n]),"function"==typeof t?t({handleKeyDown:a,handleKeyUp:i}):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:i()(c.MENU_DIVIDER,t),role:"separator"}):l.createElement("li",{className:i()(c.MENU_HEADER,t),role:"separator"},l.createElement(Pt.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:i()(c.NAVBAR_DIVIDER,t)},n))},t.displayName="".concat(Ve.g,".NavbarDivider"),t}(h.U),jn=n(1229),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,a=(0,o._T)(e,["align","children","className"]),s=i()(c.NAVBAR_GROUP,c.alignmentClass(t),r);return l.createElement("div",(0,o.pi)({className:s},a),n)},t.displayName="".concat(Ve.g,".NavbarGroup"),t.defaultProps={align:jn.v.LEFT},t}(h.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:i()(c.NAVBAR_HEADING,n)},r),t)},t.displayName="".concat(Ve.g,".NavbarHeading"),t}(h.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,a=t.fixedToTop,s=(0,o._T)(t,["children","className","fixedToTop"]),u=i()(c.NAVBAR,((e={})[c.FIXED_TOP]=a,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}(h.U);!function(e){e[e.STANDARD=48]="STANDARD",e[e.SMALL=32]="SMALL",e[e.EXTRA_SMALL=20]="EXTRA_SMALL"}(Rn||(Rn={}));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:i()(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(Pt.H4,null,n),t&&(0,De.h7)(t,"div"))},t.displayName="".concat(Ve.g,".NonIdealState"),t.defaultProps={iconSize:Rn.STANDARD,layout:"vertical"},t}(h.U),qn=n(9670),Wn=n(4537),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(ht.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}(h.U),Yn=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,a=r.showPanelHeader,i=void 0===a||a,s=t.state.stack,u=s.length-n,h=o?s.length:u;return l.createElement(qn.Z,{classNames:c.PANEL_STACK,key:h,timeout:400},l.createElement(Kn,{onClose:t.handlePanelClose,onOpen:t.handlePanelOpen,panel:e,previousPanel:s[n+1],showHeader:i}))},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=i()(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(Ie._d),null!=e.stack&&0===e.stack.length&&console.error(Ie.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}(h.U),Zn=function(e){var t=l.useCallback((function(){return e.onClose(e.panel)}),[e.onClose,e.panel]),n=void 0===e.previousPanel?null:l.createElement(ht.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))};Zn.displayName="".concat(Ve.g,".PanelView2");var $n=function(e){var t=e.renderActivePanelOnly,n=void 0===t||t,r=e.showPanelHeader,a=void 0===r||r,s=e.stack,u=l.useState("push"),h=u[0],d=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&&d(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(Zn,{onClose:b,onOpen:y,panel:e,previousPanel:m[t+1],showHeader:a}))})).reverse(),E=i()(c.PANEL_STACK2,"".concat(c.PANEL_STACK2,"-").concat(h),e.className);return l.createElement(Wn.Z,{className:E,component:"div"},w)};$n.displayName="".concat(Ve.g,".PanelStack2");var Xn=(0,o.pi)((0,o.pi)({},u.Ly),{AUTO:"auto",AUTO_END:"auto-end",AUTO_START:"auto-start"}),Qn=n(3551),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,a=t.intent,s=t.stripes,u=void 0===s||s,h=t.value,d=i()(c.PROGRESS_BAR,c.intentClass(a),((e={})[c.PROGRESS_NO_ANIMATION]=!r,e[c.PROGRESS_NO_STRIPES]=!u,e),o),f=null==h?void 0:100*(0,Fe.uZ)(h,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:d,role:"progressbar"},l.createElement("div",{className:c.PROGRESS_METER,style:{width:p}}))},t.displayName="".concat(Ve.g,".ProgressBar"),t}(h.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,a=t;a!==n+o;a+=o)e[a]=r}var or=["max","min","stepSize","tickSize","value"],ar=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,a=e.value,i=e.vertical,l=t.getHandleMidpointAndOffset(t.handleElement,!0).handleMidpoint,s="calc(".concat(nr((a-r)*o)," - ").concat(l,"px)");return i?{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,a=e.which;a===Yt.ARROW_DOWN||a===Yt.ARROW_LEFT?(t.changeValue(o-r),e.preventDefault()):a!==Yt.ARROW_UP&&a!==Yt.ARROW_RIGHT||(t.changeValue(o+r),e.preventDefault())},t.handleKeyUp=function(e){var n,r;[Yt.ARROW_UP,Yt.ARROW_DOWN,Yt.ARROW_LEFT,Yt.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,a=t.label,s=t.min,u=t.max,h=t.value,d=t.vertical,f=t.htmlProps,p=this.state.isMoving;return l.createElement("span",(0,o.pi)({role:"slider",tabIndex:0},f,{className:i()(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":h,"aria-orientation":d?"vertical":"horizontal"}),null==a?null:l.createElement("span",{className:c.SLIDER_LABEL},a))},t.prototype.componentWillUnmount=function(){this.removeDocumentEventListeners()},t.prototype.clientToValue=function(e){var t=this.props,n=t.stepSize,r=t.tickSize,o=t.value,a=t.vertical;if(null==this.handleElement)return o;var i=(a?window.innerHeight-e:e)-this.getHandleElementCenterPixel(this.handleElement);return isNaN(i)?o:o+Math.round(i/(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",a=n?window.innerHeight-(r.top+r[o]):r.left;return{handleMidpoint:r[o]/2,handleOffset:a}},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}(h.U),ir=function(){return null};ir.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),a=o.map((function(e){return e.value}));xt.cO(e,a)||(null===(r=(n=t.props).onChange)||void 0===r||r.call(n,e),o.forEach((function(t,n){var r;a[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=i()(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(Ie.Fp);if(void 0!==e.labelStepSize&&void 0!==e.labelValues)throw new Error(Ie.vS);if(void 0!==e.labelStepSize&&e.labelStepSize<=0)throw new Error(Ie.x1);if(void 0!==e.min&&!isFinite(e.min))throw new Error(Ie.y4);if(void 0!==e.max&&!isFinite(e.max))throw new Error(Ie.Nd);var n=!1;if(l.Children.forEach(e.children,(function(e){e&&!De.Mc(e,t.Handle)&&(n=!0)})),n)throw new Error(Ie.kP)},t.prototype.formatLabel=function(e,t){void 0===t&&(t=!1);var n=this.props.labelRenderer;return!1===n?void 0:Ht.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 a=nr((t-o)/(r-o)),i=e.props.vertical?{bottom:a}:{left:a};return l.createElement("div",{className:c.SLIDER_LABEL,key:n,style:i},e.formatLabel(t))}))},t.prototype.renderTracks=function(){var e=hr(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})),a=r[0],s=r[1],u=nr(a),h=nr(1-s),d=this.props.vertical?{bottom:u,top:h,left:0}:{left:u,right:h,top:0},f=(0,o.pi)((0,o.pi)({},d),t.trackStyleAfter||n.trackStyleBefore||{}),p=i()(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,a=t.stepSize,s=t.vertical,u=ur(this.props);return 0===u.length?null:u.map((function(t,h){var d,f=t.value,p=t.type,v=t.className,m=t.htmlProps;return l.createElement(ar,{htmlProps:m,className:i()((d={},d[c.START]=p===er.START,d[c.END]=p===er.END,d),v),disabled:n,key:"".concat(h,"-").concat(u.length),label:e.formatLabel(f,!0),max:r,min:o,onChange:e.getHandlerForIndex(h,e.handleChange),onRelease:e.getHandlerForIndex(h,e.handleRelease),ref:e.addHandleRef,stepSize:a,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 a=e[o],i=t(a);i<r&&(n=a,r=i)}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),a=this.findFirstLockedHandleIndex(t,o);return-1!==a?(rr(n,t,a,n[a]),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,a=[];if(void 0!==n)a=n.slice();else for(var i=r;i<o||Fe.mQ(i,o);i+=null!=t?t:1)a.push(i);return a},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:Tt.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:Tt.S.NONE}),t.displayName="".concat(Ve.g,".MultiSlider"),t.Handle=ir,t}(h.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 hr(e,(function(e){return e.interactionKind!==tr.NONE}))}function hr(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 dr=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(Ie.ek)},t.defaultProps=(0,o.pi)((0,o.pi)({},sr.defaultSliderProps),{intent:Tt.S.PRIMARY,value:[0,10]}),t.displayName="".concat(Ve.g,".RangeSlider"),t}(h.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,a=e.onChange,i=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:a,onRelease:i,htmlProps:s}),l.createElement(sr.Handle,{value:t,interactionKind:"none"}))},t.defaultProps=(0,o.pi)((0,o.pi)({},sr.defaultSliderProps),{initialValue:0,intent:Tt.S.PRIMARY,value:0}),t.displayName="".concat(Ve.g,".Slider"),t}(h.U),pr=n(8673),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:i()(c.TAB_PANEL,t),role:"tablist"},n)},t.defaultProps={disabled:!1},t.displayName="".concat(Ve.g,".Tab"),t}(h.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,a=t.className,s=t.fill,u=t.icon,h=t.intent,d=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,E=t.htmlTitle,x=t.elementRef,_=(0,o._T)(t,["active","children","className","fill","icon","intent","interactive","large","minimal","multiline","onRemove","rightIcon","round","tabIndex","htmlTitle","elementRef"]),S=Ht.m(m),C=i()(c.TAG,c.intentClass(h),((e={})[c.ACTIVE]=n,e[c.FILL]=s,e[c.INTERACTIVE]=d,e[c.LARGE]=f,e[c.MINIMAL]=p,e[c.ROUND]=y,e),a),O=f||C.indexOf(c.LARGE)>=0,z=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:O?ft.J.LARGE:ft.J.STANDARD})):null;return l.createElement("span",(0,o.pi)({},_,{className:C,tabIndex:d?w:void 0,ref:x}),l.createElement(ft.I,{icon:u}),!(0,De.qA)(r)&&l.createElement(yt,{className:c.FILL,ellipsize:!v,tagName:"span",title:E},r),l.createElement(ft.I,{icon:g}),z)},t.displayName="".concat(Ve.g,".Tag"),t}(h.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,a=e.id,s=e.parentId,u=e.selected,h=e.title,d=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?Tt.S.PRIMARY:Tt.S.NONE;return l.createElement("div",(0,o.pi)({},(0,Ve.B)(v),{"aria-controls":yr(s,a),"aria-disabled":r,"aria-expanded":u,"aria-selected":u,className:i()(c.TAB,t),"data-tab-id":a,id:br(s,a),onClick:r?void 0:this.handleClick,role:"tab",tabIndex:r?void 0:u?0:-1}),null!=d&&l.createElement(ft.I,{icon:d,intent:m,className:c.TAB_ICON}),h,n,null!=f&&l.createElement(mr,(0,o.pi)({minimal:!0,intent:m},p,{className:i()(c.TAB_TAG,null==p?void 0:p.className)}),f))},t.displayName="".concat(Ve.g,".TabTitle"),t}(h.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})},Er=".".concat(c.TAB),xr=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(Er);if(null!=r){var o=n.getTabElements().filter((function(e){return"false"===e.getAttribute("aria-disabled")})),a=o.indexOf(r),i=n.getKeyCodeDirection(e);if(a>=0&&void 0!==i){e.preventDefault();var l=o.length;o[(a+i+l)%l].focus()}}},n.handleKeyPress=function(e){var t=e.target.closest(Er);null!=t&&Yt.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,a=t.id,s=t.panelClassName;if(void 0!==o)return l.createElement("div",{"aria-labelledby":br(n.props.id,a),"aria-hidden":a!==n.state.selectedTabId,className:i()(c.TAB_PANEL,r,s),id:yr(n.props.id,a),key:a,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,a=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,h=i()(c.TABS,this.props.className,((e={})[c.VERTICAL]=this.props.vertical,e[c.FILL]=this.props.fill,e)),d=i()(c.TAB_LIST,((t={})[c.LARGE]=this.props.large,t));return l.createElement("div",{className:h},l.createElement("div",{className:d,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,ref:this.refHandlers.tablist,role:"tablist"},u,a),s)},t.prototype.componentDidMount=function(){this.moveSelectionIndicator(!1)},t.prototype.componentDidUpdate=function(e,t){(this.state.selectedTabId!==t.selectedTabId||null!=t.selectedTabId&&!xt.cO(this.getTabChildrenProps(e),this.getTabChildrenProps(),xt.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 _r(e,Yt.ARROW_LEFT,Yt.ARROW_UP)?-1:_r(e,Yt.ARROW_RIGHT,Yt.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(Er+e))},t.prototype.moveSelectionIndicator=function(e){if(void 0===e&&(e=!0),null!=this.tablistElement&&this.props.animate){var t="".concat(Er,'[data-tab-id="').concat(this.state.selectedTabId,'"]'),n=this.tablistElement.querySelector(t),r={display:"none"};if(null!=n){var o=n.clientHeight,a=n.clientWidth,i=n.offsetLeft,l=n.offsetTop;r={height:o,transform:"translateX(".concat(Math.floor(i),"px) translateY(").concat(Math.floor(l),"px)"),width:a},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}(h.U);function _r(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 Cr=(0,l.forwardRef)((function(e,t){var n=(0,l.useState)(""),r=n[0],a=n[1],i=(0,l.useState)(0),s=i[0],u=i[1],h=(0,l.useRef)(null);(0,l.useEffect)((function(){null!=h.current&&u(h.current.offsetWidth)}),[r]);var d=e.onChange,f=e.style,p=(0,o._T)(e,["onChange","style"]);return l.createElement(l.Fragment,null,l.createElement("span",{ref:h,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==d||d(e),a(null!==(n=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)&&void 0!==n?n:"")},ref:t})))}));Cr.displayName="".concat(Ve.g,".ResizableInput");var Or=-1,zr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={activeIndex:Or,inputValue:t.props.inputValue||"",isInputFocused:!1},t.inputElement=null,t.handleRef=(0,He.Km)(t,"inputElement",t.props.inputRef),t.addTags=function(e,n){void 0===n&&(n="default");var r=t.props,a=r.inputValue,i=r.onAdd,l=r.onChange,s=r.values,c=t.getValues(e),u=!1!==(null==i?void 0:i(c,n))&&void 0===a;Ht.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,a=r.large,i=r.tagProps,s=Ht.m(i)?i(e,n):i;return l.createElement(mr,(0,o.pi)({active:n===t.state.activeIndex,"data-tag-index":n,key:e+"__"+n,large:a,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:Or,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,a;t.setState({activeIndex:Or,inputValue:e.currentTarget.value}),null===(r=(n=t.props).onInputChange)||void 0===r||r.call(n,e),null===(a=null===(o=t.props.inputProps)||void 0===o?void 0:o.onChange)||void 0===a||a.call(o,e)},t.handleInputKeyDown=function(e){var n=e.currentTarget,r=n.selectionEnd,o=n.value,a=t.state.activeIndex,i=a;if(e.which===Yt.ENTER&&o.length>0)t.addTags(o,"default");else if(0===r&&t.props.values.length>0)if(e.which===Yt.ARROW_LEFT||e.which===Yt.ARROW_RIGHT){var l=t.getNextActiveIndex(e.which===Yt.ARROW_RIGHT?1:-1);l!==a&&(e.stopPropagation(),i=l,t.setState({activeIndex:l}))}else e.which===Yt.BACKSPACE?t.handleBackspaceToRemove(e):e.which===Yt.DELETE&&t.handleDeleteToRemove(e);t.invokeKeyPressCallback("onKeyDown",e,i)},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,a=t.disabled,s=t.fill,u=t.inputProps,h=t.intent,d=t.large,f=t.leftIcon,p=t.placeholder,v=t.values,m=i()(c.INPUT,c.TAG_INPUT,((e={})[c.ACTIVE]=this.state.isInputFocused,e[c.DISABLED]=a,e[c.FILL]=s,e[c.LARGE]=d,e),c.intentClass(h),r),g=m.indexOf(c.LARGE)>Or,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:i()(c.INPUT_GHOST,null==u?void 0:u.className),disabled:a,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(Cr,(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,He.k$)(e.inputRef,null),this.handleRef=(0,He.Km)(this,"inputElement",this.props.inputRef),(0,He.k$)(this.props.inputRef,this.inputElement))},t.prototype.getNextActiveIndex=function(e){var t=this.state.activeIndex;return t===Or?e<0?this.findNextIndex(this.props.values.length,-1):Or: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,a,i;null===(o=(r=this.props)[e])||void 0===o||o.call(r,t,n===Or?void 0:n),null===(i=(a=this.props.inputProps)[e])||void 0===i||i.call(a,t)},t.prototype.isValidIndex=function(e){return e!==Or&&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}(h.U),Mr=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,a=e.isCloseButtonShown;return l.createElement("div",{className:i()(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(Mt,{minimal:!0},this.maybeRenderActionButton(),a&&l.createElement(ht.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(ht.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}(h.U),Tr=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(Mr,(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===Yt.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(Ie.xM);var r=document.createElement("div");n.appendChild(r);var a=s.render(l.createElement(t,(0,o.pi)({},e,{usePortal:!1})),r);if(null==a)throw new Error(Ie.wi);return a},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=i()(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(Ie.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,".Toaster"),t.defaultProps={autoFocus:!1,canEscapeKeyClear:!0,position:u.Ly.TOP,usePortal:!0},t}(h.U),Pr=Tr,kr=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,a=r.onCollapse,i=r.onExpand;null===(n=o?a:i)||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,a=t.disabled,s=t.icon,u=t.isExpanded,h=t.isSelected,d=t.label,f=i()(c.TREE_NODE,((e={})[c.DISABLED]=a,e[c.TREE_NODE_SELECTED]=h,e[c.TREE_NODE_EXPANDED]=u,e),r),p=i()(c.TREE_NODE_CONTENT,"".concat(c.TREE_NODE_CONTENT,"-").concat(this.props.depth)),v=!0===a?{}:{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},d),this.maybeRenderSecondaryLabel()),l.createElement(Rt,{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 a=i()(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:a,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),Ar=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:i()(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 a=e.map((function(e,n){var a=t.concat(n);return l.createElement(kr,(0,o.pi)({},e,{key:e.id,contentRef:r.handleContentRef,depth:a.length-1,onClick:r.handleNodeClick,onContextMenu:r.handleNodeContextMenu,onCollapse:r.handleNodeCollapse,onDoubleClick:r.handleNodeDoubleClick,onExpand:r.handleNodeExpand,onMouseEnter:r.handleNodeMouseEnter,onMouseLeave:r.handleNodeMouseLeave,path:a}),r.renderNodes(e.childNodes,a))}));return l.createElement("ul",{className:i()(c.TREE_NODE_LIST,n)},a)},t.prototype.handlerHelper=function(e,n,r){(0,Ht.m)(e)&&e(t.nodeFromPath(n.props.path,this.props.contents),n.props.path,r)},t.displayName="".concat(Ve.g,".Tree"),t}(l.Component),Lr=r},1624:(e,t,n)=>{"use strict";n.d(t,{a:()=>g});var r=n(655),o=n(4184),a=n.n(o),i=n(7294),l=n(3935),s=n(9670),c=n(4537),u=n(451),h=n(9421),d=n(5307),f=n(2778),p=n(3251),v=n(3835),m=n(3551),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?i.cloneElement(e,{className:a()(e.props.className,u.OVERLAY_CONTENT)}):i.createElement("span",{className:u.OVERLAY_CONTENT},e),r=n.props,o=r.onOpening,l=r.onOpened,c=r.onClosing,h=r.transitionDuration,d=r.transitionName;return i.createElement(s.Z,{classNames:d,onEntering:o,onEntered:l,onExiting:c,onExited:n.handleTransitionExited,timeout:h,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===h.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 a=n.getKeyboardFocusableElements().pop();null!=a?a.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,a=r.canOutsideClickClose,i=r.enforceFocus,l=r.onClose;a&&(null==l||l(e)),i&&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,a=r.isOpen,i=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)}));a&&!c&&o&&(null==i||i(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,h=n.usePortal,d=n.isOpen,f=d&&null!==(t=i.Children.map(o,this.maybeRenderChild))&&void 0!==t?t:[],p=this.maybeRenderBackdrop();null!==p&&f.unshift(p),d&&(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=a()(u.OVERLAY,((e={})[u.OVERLAY_OPEN]=d,e[u.OVERLAY_INLINE]=!h,e),l),g=i.createElement(c.Z,{appear:!0,"aria-live":"polite",className:v,component:"div",onKeyDown:this.handleKeyDown,ref:this.refHandlers.container},f);return h?i.createElement(m.h,{className:this.props.portalClassName,container:this.props.portalContainer},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,h=e.transitionName;return o&&l?i.createElement(s.Z,{classNames:h,key:"__backdrop",timeout:c,addEndListener:this.handleTransitionAddEnd},i.createElement("div",(0,r.pi)({},n,{className:a()(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,a=n.transitionName;return i.createElement(s.Z,{classNames:a,key:e,addEndListener:this.handleTransitionAddEnd,timeout:o,unmountOnExit:!0},i.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}(d.U)},3551:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(655),o=n(7294),a=n(3935),i=n(451),l=n(836),s=n(2778),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?a.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.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(" ")),h(this.portalElement.classList,this.props.className))},t.prototype.componentWillUnmount=function(){var e;null===(e=this.portalElement)||void 0===e||e.remove()},t.prototype.createContainerElement=function(){var e=document.createElement("div");return e.classList.add(i.PORTAL),h(e.classList,this.props.className),null!=this.context&&h(e.classList,this.context.blueprintPortalClassName),e},t.displayName="".concat(s.g,".Portal"),t.contextTypes=c,t.defaultProps={container:"undefined"!=typeof document?document.body:void 0},t}(o.Component);function h(e,t){null!=t&&""!==t&&e.add.apply(e,t.split(" "))}},8673:(e,t,n)=>{"use strict";n.d(t,{$:()=>m,E:()=>r});var r,o=n(655),a=n(4184),i=n.n(a),l=n(7294),s=n(451),c=n(5307),u=n(836),h=n(2778),d=n(322);!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,a=t.intent,c=t.value,u=t.tagName,h=void 0===u?"div":u,f=(0,o._T)(t,["className","intent","value","tagName"]),m=this.getSize(),g=i()(s.SPINNER,s.intentClass(a),((e={})[s.SPINNER_NO_SPIN]=null!=c,e),n),y=Math.min(16,4*r.LARGE/m),b=v-v*(null==c?.25:(0,d.uZ)(c,0,1));return l.createElement(h,(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(h,{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(h.g,".Spinner"),t}(c.U)},1661:(e,t,n)=>{"use strict";n.d(t,{B:()=>s,N:()=>u});var r=n(655),o=n(7294),a=n(8261),i=n(9242),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,i=t.payload;o<i.length;o++){for(var l=i[o],s=!0,c=0,u=e.hotkeys;c<u.length;c++){var h=u[c];s&&(s=!(0,a.ms)(l,h,{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,a=e.dialogProps,u=e.renderDialog,h=e.value,d=null!=h,f=null!=h?h: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(i.m,(0,r.pi)({},a,{isOpen:p.isDialogOpen,hotkeys:p.hotkeys,onClose:m}));return o.createElement(s.Provider,{value:[p,v]},n,d?void 0:g)}},7335:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(655),o=n(7294),a=n(836),i=n(3835),l=n(4064),s=n(1661);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,h=void 0===u?"?":u,d=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(a.c2)}),[]),o.useEffect((function(){var e=(0,r.ev)((0,r.ev)([],f.map((function(e){return e.config})),!0),d.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,a,s=(0,i.jA)(r.target),c=0,u=e?f:d;c<u.length;c++){var h=u[c],p=h.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,E=p.stopPropagation,x=void 0!==E&&E;!(s&&!m||y)&&(0,l.A6)(h.combo,t)&&(w&&r.preventDefault(),x&&(r.isPropagationStopped=!0,r.stopPropagation()),null===(a=(o=h.config)[n])||void 0===a||a.call(o,r))}},y=o.useCallback((function(e){var t=(0,l.q1)(e);!(0,i.jA)(e.target)&&(0,l.A6)((0,l.SG)(h),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)}),[d]),E=o.useCallback((function(e){return g(!1,(0,l.q1)(e.nativeEvent),"onKeyUp",e.nativeEvent)}),[d]);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:E}}},3659:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AbstractComponent:()=>h,AbstractComponent2:()=>d,AbstractPureComponent:()=>f,AbstractPureComponent2:()=>p.U,Alert:()=>T.bZ,Alignment:()=>v.v,AnchorButton:()=>T.AN,AnimationStates:()=>T.sy,Blockquote:()=>T.V6,Boundary:()=>m.E,Breadcrumb:()=>T.aG,Breadcrumbs:()=>T.Oo,Button:()=>T.zx,ButtonGroup:()=>T.hE,Callout:()=>T.UW,Card:()=>T.Zb,Checkbox:()=>T.XZ,Classes:()=>o,Code:()=>T.EK,Collapse:()=>T.UO,CollapsibleList:()=>T.iT,Colors:()=>x.wL,ContextMenu:()=>T.xV,ContextMenuTarget:()=>T.Tb,ControlGroup:()=>T.eQ,DISPLAYNAME_PREFIX:()=>w.g,Dialog:()=>T.Vq,DialogBody:()=>T.a7,DialogFooter:()=>T.cN,DialogStep:()=>T.yd,Divider:()=>T.iz,Drawer:()=>T.dy,DrawerSize:()=>T.mC,EditableText:()=>T.sL,Elevation:()=>g.u,Expander:()=>T.xH,FileInput:()=>T.S2,FocusStyleManager:()=>l,FormGroup:()=>T.cw,H1:()=>T.H1,H2:()=>T.H2,H3:()=>T.H3,H4:()=>T.H4,H5:()=>T.H5,H6:()=>T.H6,HTMLSelect:()=>T.Lu,HTMLTable:()=>T.vl,HandleInteractionKind:()=>T.qB,HandleType:()=>T.gZ,Hotkey:()=>T.qm,Hotkeys:()=>T.SV,HotkeysContext:()=>P.B,HotkeysDialog2:()=>T.m,HotkeysProvider:()=>P.N,HotkeysTarget:()=>T.No,HotkeysTarget2:()=>T.hj,Icon:()=>T.JO,IconSize:()=>T.Jh,InputGroup:()=>T.BZ,Intent:()=>y.S,KeyCombo:()=>T.M2,Keys:()=>_,Label:()=>T.__,Menu:()=>T.v2,MenuDivider:()=>T.R,MenuItem:()=>T.sN,MultiSlider:()=>T.Zz,MultistepDialog:()=>T.E,Navbar:()=>T.wp,NavbarDivider:()=>T.ox,NavbarGroup:()=>T.fT,NavbarHeading:()=>T.ym,NonIdealState:()=>T.tR,NonIdealStateIconSize:()=>T.jZ,NumericInput:()=>T.Af,OL:()=>T.OL,OverflowList:()=>T.Dj,Overlay:()=>T.aV,OverlayToaster:()=>T.qA,PanelStack:()=>T.lc,PanelStack2:()=>T.hg,Popover:()=>T.J2,PopoverInteractionKind:()=>T.V3,PopoverPosition:()=>T.I2,Portal:()=>T.h_,PortalContext:()=>k,PortalProvider:()=>A,Position:()=>b.Ly,Pre:()=>T.SU,ProgressBar:()=>T.ko,Radio:()=>T.Y8,RadioGroup:()=>T.Ee,RangeSlider:()=>T.U2,ResizeSensor:()=>T.z_,Slider:()=>T.iR,Spinner:()=>T.$j,SpinnerSize:()=>T.Ey,Switch:()=>T.rs,Tab:()=>T.OK,Tabs:()=>T.mQ,Tag:()=>T.Vp,TagInput:()=>T.EG,Text:()=>T.xv,TextArea:()=>T.Kx,Toast:()=>T.FN,Toaster:()=>T.x7,Tooltip:()=>T.u,Tree:()=>T.mp,TreeNode:()=>T.OF,UL:()=>T.UL,Utils:()=>r,combineRefs:()=>E.zb,comboMatches:()=>T.A6,getKeyCombo:()=>T.q1,getKeyComboString:()=>T.$w,getPositionIgnoreAngles:()=>b.L3,getRef:()=>E.Uq,hideHotkeysDialog:()=>T.dX,isPositionHorizontal:()=>b.lM,isPositionVertical:()=>b.Bg,isRefCallback:()=>E.HE,isRefObject:()=>E.Ik,mergeRefs:()=>E.lq,parseKeyCombo:()=>T.SG,refHandler:()=>E.Km,removeNonHTMLProps:()=>w.B,setHotkeysDialogProps:()=>T.wq,setRef:()=>E.k$,useHotkeys:()=>L.y});var r={};n.r(r),n.d(r,{approxEqual:()=>u.mQ,arrayLengthCompare:()=>u.h3,arraysEqual:()=>S.cO,clamp:()=>u.uZ,countDecimalPlaces:()=>u.vk,deepCompareKeys:()=>S.D$,elementIsOrContains:()=>C.C2,elementIsTextInput:()=>C.jA,ensureElement:()=>z.h7,getActiveElement:()=>C.vY,getDeepUnequalKeyValues:()=>S.MX,getDisplayName:()=>z.Gf,getRef:()=>E.Uq,isDarkTheme:()=>M.$,isElementOfType:()=>z.Mc,isFunction:()=>O.m,isNodeEnv:()=>u.KV,isReactChildrenElementOrElements:()=>z.Ej,isReactNodeEmpty:()=>z.qA,setRef:()=>E.k$,shallowCompareKeys:()=>S.ms,throttle:()=>C.P2,throttleEvent:()=>C.Xc,throttleReactEventCallback:()=>C.T6,uniqueId:()=>u.EL});var o=n(451),a=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}(),i="undefined"!=typeof document?new a(document.documentElement,o.FOCUS_DISABLED):{isActive:function(){return!0},start:function(){return!0},stop:function(){return!0}},l={alwaysShowFocus:function(){return i.stop()},isActive:function(){return i.isActive()},onlyShowFocusOnTabs:function(){return i.start()}},s=n(655),c=n(7294),u=n(322),h=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),d=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,u.KV)("production")||r.validateProps(r.props),r}return(0,s.ZT)(t,e),t.prototype.componentDidUpdate=function(e,t,n){(0,u.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}(c.Component),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(5307),v=n(1229),m=n(4958),g=n(762),y=n(2609),b=n(3766),w=n(2778),E=n(4408),x=n(5746),_=n(9421),S=n(8261),C=n(3835),O=n(3251),z=n(7755),M=n(4908),T=n(9702),P=n(1661),k=c.createContext({}),A=function(e){var t=e.children,n=(0,s._T)(e,["children"]);return c.createElement(k.Provider,{value:n},t)},L=n(7335)},5531:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs2:()=>qt,Classes:()=>r,ContextMenu2:()=>Xt,ContextMenu2Popover:()=>Yt,Errors:()=>o,MenuItem2:()=>nn,PlacementOptions:()=>De,Popover2:()=>Ut,Popover2InteractionKind:()=>Bt,PopupKind:()=>tn,ResizeSensor2:()=>It,Tooltip2:()=>Ft,hideContextMenu:()=>Jt,showContextMenu:()=>Qt});var r={};n.r(r),n.d(r,{CONTEXT_MENU2:()=>l,CONTEXT_MENU2_BACKDROP:()=>u,CONTEXT_MENU2_POPOVER2:()=>c,CONTEXT_MENU2_VIRTUAL_TARGET:()=>s,POPOVER2:()=>h,POPOVER2_ARROW:()=>d,POPOVER2_BACKDROP:()=>f,POPOVER2_CAPTURING_DISMISS:()=>p,POPOVER2_CONTENT:()=>v,POPOVER2_CONTENT_PLACEMENT:()=>m,POPOVER2_CONTENT_SIZING:()=>g,POPOVER2_DISMISS:()=>y,POPOVER2_DISMISS_OVERRIDE:()=>b,POPOVER2_MATCH_TARGET_WIDTH:()=>w,POPOVER2_OPEN:()=>E,POPOVER2_POPPER_ESCAPED:()=>x,POPOVER2_REFERENCE_HIDDEN:()=>_,POPOVER2_TARGET:()=>S,POPOVER2_TRANSITION_CONTAINER:()=>C,TOOLTIP2:()=>O,TOOLTIP2_INDICATOR:()=>z});var o={};n.r(o),n.d(o,{POPOVER2_HAS_BACKDROP_INTERACTION:()=>P,POPOVER2_REQUIRES_TARGET:()=>T,POPOVER2_WARN_DOUBLE_TARGET:()=>A,POPOVER2_WARN_EMPTY_CONTENT:()=>L,POPOVER2_WARN_HAS_BACKDROP_INLINE:()=>R,POPOVER2_WARN_PLACEMENT_AND_POSITION_MUTEX:()=>N,POPOVER2_WARN_TARGET_PROPS_WITH_RENDER_TARGET:()=>I,POPOVER2_WARN_TOO_MANY_CHILDREN:()=>k,POPOVER2_WARN_UNCONTROLLED_ONINTERACTION:()=>H});var a=n(451),i=a.getClassNamespace(),l="".concat(i,"-context-menu2"),s="".concat(l,"-virtual-target"),c="".concat(l,"-popover2"),u="".concat(l,"-backdrop"),h="".concat(i,"-popover2"),d="".concat(h,"-arrow"),f="".concat(h,"-backdrop"),p="".concat(h,"-capturing-dismiss"),v="".concat(h,"-content"),m="".concat(h,"-placement"),g="".concat(v,"-sizing"),y="".concat(h,"-dismiss"),b="".concat(y,"-override"),w="".concat(h,"-match-target-width"),E="".concat(h,"-open"),x="".concat(h,"-popper-escaped"),_="".concat(h,"-reference-hidden"),S="".concat(h,"-target"),C="".concat(h,"-transition-container"),O="".concat(i,"-tooltip2"),z="".concat(O,"-indicator"),M="[Blueprint]",T="".concat(M," <Popover2> requires renderTarget prop or a child element."),P="".concat(M,' <Popover2 hasBackdrop={true}> requires interactionKind="click".'),k="".concat(M," <Popover2> supports only one child which is rendered as its target; additional children are ignored."),A=M+" <Popover2> with children ignores renderTarget prop; use either prop or children.",L=M+" Disabling <Popover2> with empty/whitespace content...",R=M+" <Popover2 usePortal={false}> ignores hasBackdrop",N=M+" <Popover2> supports either placement or position prop, not both.",H=M+" <Popover2> onInteraction is ignored when uncontrolled.",I=M+" <Popover2> targetProps value is ignored when renderTarget API is used.",V=n(655),D=n(4184),j=n.n(D),F=n(7294),B=n(4958),U=n(9702),G=n(2778),q=n(5307),W=F.createContext(),K=F.createContext();function Y(e){var t=e.children,n=F.useState(null),r=n[0],o=n[1],a=F.useRef(!1);F.useEffect((function(){return function(){a.current=!0}}),[]);var i=F.useCallback((function(e){a.current||o(e)}),[]);return F.createElement(W.Provider,{value:r},F.createElement(K.Provider,{value:i},t))}var Z=n(2473),$=n.n(Z),X=function(e){return Array.isArray(e)?e[0]:e},Q=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)}},J=function(e,t){if("function"==typeof e)return Q(e,t);null!=e&&(e.current=t)},ee=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},te="undefined"!=typeof window&&window.document&&window.document.createElement?F.useLayoutEffect:F.useEffect;function ne(e){var t=e.children,n=e.innerRef,r=F.useContext(K),o=F.useCallback((function(e){J(n,e),Q(r,e)}),[n,r]);return F.useEffect((function(){return function(){return J(n,null)}}),[]),F.useEffect((function(){$()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),X(t)({ref:o})}var re=n(3935);function oe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ae(e){return e instanceof oe(e).Element||e instanceof Element}function ie(e){return e instanceof oe(e).HTMLElement||e instanceof HTMLElement}function le(e){return"undefined"!=typeof ShadowRoot&&(e instanceof oe(e).ShadowRoot||e instanceof ShadowRoot)}var se=Math.max,ce=Math.min,ue=Math.round;function he(){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 de(){return!/^((?!chrome|android).)*safari/i.test(he())}function fe(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&ie(e)&&(o=e.offsetWidth>0&&ue(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ue(r.height)/e.offsetHeight||1);var i=(ae(e)?oe(e):window).visualViewport,l=!de()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,h=r.height/a;return{width:u,height:h,top:c,right:s+u,bottom:c+h,left:s,x:s,y:c}}function pe(e){var t=oe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ve(e){return e?(e.nodeName||"").toLowerCase():null}function me(e){return((ae(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return fe(me(e)).left+pe(e).scrollLeft}function ye(e){return oe(e).getComputedStyle(e)}function be(e){var t=ye(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function we(e,t,n){void 0===n&&(n=!1);var r,o,a=ie(t),i=ie(t)&&function(e){var t=e.getBoundingClientRect(),n=ue(t.width)/e.offsetWidth||1,r=ue(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=me(t),s=fe(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==ve(t)||be(l))&&(c=(r=t)!==oe(r)&&ie(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:pe(r)),ie(t)?((u=fe(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):l&&(u.x=ge(l))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Ee(e){var t=fe(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 xe(e){return"html"===ve(e)?e:e.assignedSlot||e.parentNode||(le(e)?e.host:null)||me(e)}function _e(e){return["html","body","#document"].indexOf(ve(e))>=0?e.ownerDocument.body:ie(e)&&be(e)?e:_e(xe(e))}function Se(e,t){var n;void 0===t&&(t=[]);var r=_e(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=oe(r),i=o?[a].concat(a.visualViewport||[],be(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Se(xe(i)))}function Ce(e){return["table","td","th"].indexOf(ve(e))>=0}function Oe(e){return ie(e)&&"fixed"!==ye(e).position?e.offsetParent:null}function ze(e){for(var t=oe(e),n=Oe(e);n&&Ce(n)&&"static"===ye(n).position;)n=Oe(n);return n&&("html"===ve(n)||"body"===ve(n)&&"static"===ye(n).position)?t:n||function(e){var t=/firefox/i.test(he());if(/Trident/i.test(he())&&ie(e)&&"fixed"===ye(e).position)return null;var n=xe(e);for(le(n)&&(n=n.host);ie(n)&&["html","body"].indexOf(ve(n))<0;){var r=ye(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 Me="top",Te="bottom",Pe="right",ke="left",Ae="auto",Le=[Me,Te,Pe,ke],Re="start",Ne="end",He="viewport",Ie="popper",Ve=Le.reduce((function(e,t){return e.concat([t+"-"+Re,t+"-"+Ne])}),[]),De=[].concat(Le,[Ae]).reduce((function(e,t){return e.concat([t,t+"-"+Re,t+"-"+Ne])}),[]),je=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Fe(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 Be={placement:"bottom",modifiers:[],strategy:"absolute"};function Ue(){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 Ge(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Be:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Be,a),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;h(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:ae(e)?Se(e):e.contextElement?Se(e.contextElement):[],popper:Se(t)};var i,c,d=function(e){var t=Fe(e);return je.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.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=d.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 a=o({state:l,name:t,instance:u,options:r});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Ue(t,n)){l.rects={reference:we(t,ze(n),"fixed"===l.options.strategy),popper:Ee(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],a=o.fn,i=o.options,s=void 0===i?{}:i,h=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:h,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){h(),c=!0}};if(!Ue(e,t))return u;function h(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var qe={passive:!0};function We(e){return e.split("-")[0]}function Ke(e){return e.split("-")[1]}function Ye(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ze(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?We(o):null,i=o?Ke(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Me:t={x:l,y:n.y-r.height};break;case Te:t={x:l,y:n.y+n.height};break;case Pe:t={x:n.x+n.width,y:s};break;case ke:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Ye(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Re:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ne:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var $e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xe(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=e.isFixed,d=i.x,f=void 0===d?0:d,p=i.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=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=ke,w=Me,E=window;if(c){var x=ze(n),_="clientHeight",S="clientWidth";x===oe(n)&&"static"!==ye(x=me(n)).position&&"absolute"===l&&(_="scrollHeight",S="scrollWidth"),(o===Me||(o===ke||o===Pe)&&a===Ne)&&(w=Te,v-=(h&&x===E&&E.visualViewport?E.visualViewport.height:x[_])-r.height,v*=s?1:-1),o!==ke&&(o!==Me&&o!==Te||a!==Ne)||(b=Pe,f-=(h&&x===E&&E.visualViewport?E.visualViewport.width:x[S])-r.width,f*=s?1:-1)}var C,O=Object.assign({position:l},c&&$e),z=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ue(n*o)/o||0,y:ue(r*o)/o||0}}({x:f,y:v},oe(n)):{x:f,y:v};return f=z.x,v=z.y,s?Object.assign({},O,((C={})[w]=y?"0":"",C[b]=g?"0":"",C.transform=(E.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",C)):Object.assign({},O,((t={})[w]=y?v+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Qe={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e){return e.replace(/left|right|bottom|top/g,(function(e){return Qe[e]}))}var et={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,(function(e){return et[e]}))}function nt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&le(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function rt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ot(e,t,n){return t===He?rt(function(e,t){var n=oe(e),r=me(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=de();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+ge(e),y:s}}(e,n)):ae(t)?function(e,t){var n=fe(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):rt(function(e){var t,n=me(e),r=pe(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=se(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=se(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+ge(e),s=-r.scrollTop;return"rtl"===ye(o||n).direction&&(l+=se(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(me(e)))}function at(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function it(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function lt(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?He:c,h=n.elementContext,d=void 0===h?Ie:h,f=n.altBoundary,p=void 0!==f&&f,v=n.padding,m=void 0===v?0:v,g=at("number"!=typeof m?m:it(m,Le)),y=d===Ie?"reference":Ie,b=e.rects.popper,w=e.elements[p?y:d],E=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Se(xe(e)),n=["absolute","fixed"].indexOf(ye(e).position)>=0&&ie(e)?ze(e):e;return ae(n)?t.filter((function(e){return ae(e)&&nt(e,n)&&"body"!==ve(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=ot(e,n,r);return t.top=se(o.top,t.top),t.right=ce(o.right,t.right),t.bottom=ce(o.bottom,t.bottom),t.left=se(o.left,t.left),t}),ot(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(ae(w)?w:w.contextElement||me(e.elements.popper),s,u,i),x=fe(e.elements.reference),_=Ze({reference:x,element:b,strategy:"absolute",placement:o}),S=rt(Object.assign({},b,_)),C=d===Ie?S:x,O={top:E.top-C.top+g.top,bottom:C.bottom-E.bottom+g.bottom,left:E.left-C.left+g.left,right:C.right-E.right+g.right},z=e.modifiersData.offset;if(d===Ie&&z){var M=z[o];Object.keys(O).forEach((function(e){var t=[Pe,Te].indexOf(e)>=0?1:-1,n=[Me,Te].indexOf(e)>=0?"y":"x";O[e]+=M[n]*t}))}return O}const st={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,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,p=void 0===f||f,v=n.allowedAutoPlacements,m=t.options.placement,g=We(m),y=s||(g!==m&&p?function(e){if(We(e)===Ae)return[];var t=Je(e);return[tt(e),t,tt(t)]}(m):[Je(m)]),b=[m].concat(y).reduce((function(e,n){return e.concat(We(n)===Ae?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?De:s,u=Ke(r),h=u?l?Ve:Ve.filter((function(e){return Ke(e)===u})):Le,d=h.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=h);var f=d.reduce((function(t,n){return t[n]=lt(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[We(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,E=t.rects.popper,x=new Map,_=!0,S=b[0],C=0;C<b.length;C++){var O=b[C],z=We(O),M=Ke(O)===Re,T=[Me,Te].indexOf(z)>=0,P=T?"width":"height",k=lt(t,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),A=T?M?Pe:ke:M?Te:Me;w[P]>E[P]&&(A=Je(A));var L=Je(A),R=[];if(a&&R.push(k[z]<=0),l&&R.push(k[A]<=0,k[L]<=0),R.every((function(e){return e}))){S=O,_=!1;break}x.set(O,R)}if(_)for(var N=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},H=p?3:1;H>0&&"break"!==N(H);H--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ct(e,t,n){return se(e,ce(t,n))}const ut={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,f=void 0===d||d,p=n.tetherOffset,v=void 0===p?0:p,m=lt(t,{boundary:s,rootBoundary:c,padding:h,altBoundary:u}),g=We(t.placement),y=Ke(t.placement),b=!y,w=Ye(g),E="x"===w?"y":"x",x=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,C="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(a){var T,P="y"===w?Me:ke,k="y"===w?Te:Pe,A="y"===w?"height":"width",L=x[w],R=L+m[P],N=L-m[k],H=f?-S[A]/2:0,I=y===Re?_[A]:S[A],V=y===Re?-S[A]:-_[A],D=t.elements.arrow,j=f&&D?Ee(D):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[P],U=F[k],G=ct(0,_[A],j[A]),q=b?_[A]/2-H-G-B-O.mainAxis:I-G-B-O.mainAxis,W=b?-_[A]/2+H+G+U+O.mainAxis:V+G+U+O.mainAxis,K=t.elements.arrow&&ze(t.elements.arrow),Y=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,Z=null!=(T=null==z?void 0:z[w])?T:0,$=L+W-Z,X=ct(f?ce(R,L+q-Z-Y):R,L,f?se(N,$):N);x[w]=X,M[w]=X-L}if(l){var Q,J="x"===w?Me:ke,ee="x"===w?Te:Pe,te=x[E],ne="y"===E?"height":"width",re=te+m[J],oe=te-m[ee],ae=-1!==[Me,ke].indexOf(g),ie=null!=(Q=null==z?void 0:z[E])?Q:0,le=ae?re:te-_[ne]-S[ne]-ie+O.altAxis,ue=ae?te+_[ne]+S[ne]-ie-O.altAxis:oe,he=f&&ae?function(e,t,n){var r=ct(e,t,n);return r>n?n:r}(le,te,ue):ct(f?le:re,te,f?ue:oe);x[E]=he,M[E]=he-te}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ht(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 dt(e){return[Me,Pe,Te,ke].some((function(t){return e[t]>=0}))}var ft=Ge({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,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=oe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,qe)})),l&&s.addEventListener("resize",n.update,qe),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,qe)})),l&&s.removeEventListener("resize",n.update,qe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ze({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,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:We(t.placement),variation:Ke(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,Xe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xe(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];ie(o)&&ve(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});ie(r)&&ve(r)&&(Object.assign(r.style,a),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,a=void 0===o?[0,0]:o,i=De.reduce((function(e,n){return e[n]=function(e,t,n){var r=We(e),o=[ke,Me].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[ke,Pe].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[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]=i}},st,ut,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=We(n.placement),s=Ye(l),c=[ke,Pe].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return at("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:it(e,Le))}(o.padding,n),h=Ee(a),d="y"===s?Me:ke,f="y"===s?Te:Pe,p=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],v=i[s]-n.rects.reference[s],m=ze(a),g=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=p/2-v/2,b=u[d],w=g-h[c]-u[f],E=g/2-h[c]/2+y,x=ct(b,E,w),_=s;n.modifiersData[r]=((t={})[_]=x,t.centerOffset=x-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)))&&nt(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,a=t.modifiersData.preventOverflow,i=lt(t,{elementContext:"reference"}),l=lt(t,{altBoundary:!0}),s=ht(i,r),c=ht(l,o,a),u=dt(s),h=dt(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]}),pt=n(9590),vt=n.n(pt),mt=[],gt=function(){},yt=function(){return Promise.resolve(null)},bt=[];function wt(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,a=e.modifiers,i=void 0===a?bt:a,l=e.referenceElement,s=e.onFirstUpdate,c=e.innerRef,u=e.children,h=F.useContext(W),d=F.useState(null),f=d[0],p=d[1],v=F.useState(null),m=v[0],g=v[1];F.useEffect((function(){J(c,f)}),[c,f]);var y=F.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:s,modifiers:[].concat(i,[{name:"arrow",enabled:null!=m,options:{element:m}}])}}),[n,o,s,i,m]),b=function(e,t,n){void 0===n&&(n={});var r=F.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||mt},a=F.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=a[0],l=a[1],s=F.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);re.flushSync((function(){l({styles:ee(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:ee(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),c=F.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[s,{name:"applyStyles",enabled:!1}])};return vt()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,s]),u=F.useRef();return te((function(){u.current&&u.current.setOptions(c)}),[c]),te((function(){if(null!=e&&null!=t){var r=(n.createPopper||ft)(e,t,c);return u.current=r,function(){r.destroy(),u.current=null}}}),[e,t,n.createPopper]),{state:u.current?u.current.state:null,styles:i.styles,attributes:i.attributes,update:u.current?u.current.update:null,forceUpdate:u.current?u.current.forceUpdate:null}}(l||h,f,y),w=b.state,E=b.styles,x=b.forceUpdate,_=b.update,S=F.useMemo((function(){return{ref:p,style:E.popper,placement:w?w.placement:n,hasPopperEscaped:w&&w.modifiersData.hide?w.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:w&&w.modifiersData.hide?w.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:E.arrow,ref:g},forceUpdate:x||gt,update:_||yt}}),[p,g,n,w,E,_,x]);return X(u)(S)}var Et=n(4408),xt=n(9421),_t=n(7755),St=n(3835),Ct=n(322),Ot={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")}};function zt(e){return e.split("-")[0]}function Mt(e){return-1!==["left","right"].indexOf(e)}function Tt(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function Pt(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}var kt=30;function At(e){if(null==e)return 0;switch(zt(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}function Lt(e){var t=kt/2-4;switch(zt(e)){case"top":return{bottom:-t};case"left":return{right:-t};case"bottom":return{top:-t};default:return{left:-t}}}var Rt=function(e){var t=e.arrowProps,n=t.ref,r=t.style,o=e.placement;return F.createElement("div",{"aria-hidden":!0,className:d,"data-popper-arrow":!0,ref:n,style:(0,V.pi)((0,V.pi)({},r),Lt(o))},F.createElement("svg",{viewBox:"0 0 ".concat(kt," ").concat(kt),style:{transform:"rotate(".concat(At(o),"deg)")}},F.createElement("path",{className:d+"-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"}),F.createElement("path",{className:d+"-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 Nt(e){switch(e){case U.I2.TOP_LEFT:return"top-start";case U.I2.TOP:return"top";case U.I2.TOP_RIGHT:return"top-end";case U.I2.RIGHT_TOP:return"right-start";case U.I2.RIGHT:return"right";case U.I2.RIGHT_BOTTOM:return"right-end";case U.I2.BOTTOM_RIGHT:return"bottom-end";case U.I2.BOTTOM:return"bottom";case U.I2.BOTTOM_LEFT:return"bottom-start";case U.I2.LEFT_BOTTOM:return"left-end";case U.I2.LEFT:return"left";case U.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)}}Rt.displayName="".concat(G.g,".Popover2Arrow");var Ht=n(6254),It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.targetRef=F.createRef(),t.prevElement=void 0,t.observer=new Ht.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,V.ZT)(t,e),t.prototype.render=function(){var e=F.Children.only(this.props.children);return void 0!==this.props.targetRef?e:F.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(G.g,".ResizeSensor2"),t}(q.U),Vt=F.createContext([{},function(){return null}]),Dt=function(e,t){switch(t.type){case"FORCE_DISABLED_STATE":return{forceDisabled:!0};case"RESET_DISABLED_STATE":return{};default:return e}},jt=function(e){var t=e.children,n=e.forceDisable,r=F.useReducer(Dt,{}),o=r[0],a=r[1];return F.useEffect((function(){a(n?{type:"FORCE_DISABLED_STATE"}:{type:"RESET_DISABLED_STATE"})}),[n]),F.createElement(Vt.Provider,{value:[o,a]},"function"==typeof t?t(o):t)},Ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=F.createRef(),t.renderPopover=function(e){var n,r,o=t.props,i=o.children,l=o.compact,s=o.disabled,c=o.intent,u=o.popoverClassName,h=(0,V._T)(o,["children","compact","disabled","intent","popoverClassName"]),d=j()(O,a.intentClass(c),u,((n={})[a.COMPACT]=l,n));return F.createElement(Ut,(0,V.pi)({modifiers:{arrow:{enabled:!t.props.minimal},offset:{options:{offset:[0,11]}}}},h,{autoFocus:!1,canEscapeKeyClose:!1,disabled:null!==(r=e.forceDisabled)&&void 0!==r?r:s,enforceFocus:!1,lazy:!0,popoverClassName:d,portalContainer:t.props.portalContainer,ref:t.popoverRef}),i)},t}return(0,V.ZT)(t,e),t.prototype.render=function(){var e=this;return F.createElement(Vt.Consumer,null,(function(t){var n=t[0];return F.createElement(jt,(0,V.pi)({},n),e.renderPopover)}))},t.prototype.reposition=function(){var e;null===(e=this.popoverRef.current)||void 0===e||e.reposition()},t.displayName="".concat(G.g,".Tooltip2"),t.defaultProps={compact:!1,hoverCloseDelay:0,hoverOpenDelay:100,interactionKind:"hover-target",minimal:!1,transitionDuration:100},t}(F.PureComponent),Bt={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},Ut=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,Et.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===Bt.HOVER||t.props.interactionKind===Bt.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,r,o,i,l=e.ref,s=t.props,c=s.children,u=s.className,h=s.fill,d=s.openOnTargetFocus,f=s.renderTarget,p=t.state.isOpen,v=t.isControlled(),m=t.isHoverInteractionKind(),g=t.props.targetTagName;h&&(g="div");var y,b=(0,Et.lq)(l,t.targetRef),w=m?{onBlur:t.handleTargetBlur,onContextMenu:t.handleTargetContextMenu,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick,onKeyDown:function(e){return xt.isKeyboardClick(e.keyCode)&&t.handleTargetClick(e)}},x=d&&m?0:void 0,_=(0,V.pi)({"aria-haspopup":null!==(o=t.props.popupKind)&&void 0!==o?o:t.props.interactionKind===Bt.HOVER_TARGET_ONLY?void 0:"true",className:j()(u,S,(n={},n[E]=p,n[a.ACTIVE]=p&&!v&&!m,n)),ref:b},w),C=((r={})[a.ACTIVE]=p&&!v&&!m,r[a.FILL]=h,r);if(void 0!==f)y=f((0,V.pi)((0,V.pi)({},_),{className:j()(_.className,C),isOpen:p,tabIndex:x}));else{var O=_t.h7(F.Children.toArray(c)[0]);if(void 0===O)return null;var z=F.cloneElement(O,{className:j()(O.props.className,C),disabled:!(!p||!_t.Mc(O,Ft))||O.props.disabled,tabIndex:null!==(i=O.props.tabIndex)&&void 0!==i?i:x});y=F.createElement(g,(0,V.pi)((0,V.pi)({},_),t.props.targetProps),z)}return F.createElement(It,{targetRef:b,onResize:t.reposition},y)},t.renderPopover=function(e){var n,r,o=t.props,i=o.interactionKind,l=o.shouldReturnFocusOnClose,s=o.usePortal,c=t.state.isOpen,u=function(e,t){var n=zt(e);return void 0===t?Mt(n)?"".concat(Tt(n)," ").concat(Pt(n)):"".concat(Pt(n)," ").concat(Tt(n)):Mt(n)?"".concat(Tt(n)," ").concat(parseInt(t.top,10)+15,"px"):"".concat(parseInt(t.left,10)+15,"px ").concat(Tt(n))}(e.placement,t.isArrowEnabled()?e.arrowProps.style:void 0);t.popperScheduleUpdate=e.update;var d={onClick:t.handlePopoverClick,onKeyDown:function(e){return xt.isKeyboardClick(e.keyCode)&&t.handlePopoverClick(e)}};(i===Bt.HOVER||!s&&i===Bt.HOVER_TARGET_ONLY)&&(d.onMouseEnter=t.handleMouseEnter,d.onMouseLeave=t.handleMouseLeave);var g=zt(e.placement),y=j()(h,((n={})[a.DARK]=t.props.inheritDarkTheme&&t.state.hasDarkParent,n[a.MINIMAL]=t.props.minimal,n[p]=t.props.captureDismiss,n[w]=t.props.matchTargetWidth,n[_]=!0===e.isReferenceHidden,n[x]=!0===e.hasPopperEscaped,n),"".concat(m,"-").concat(g),t.props.popoverClassName),b=!t.isHoverInteractionKind()&&void 0;return F.createElement(U.aV,{autoFocus:null!==(r=t.props.autoFocus)&&void 0!==r?r:b,backdropClassName:f,backdropProps:t.props.backdropProps,canEscapeKeyClose:t.props.canEscapeKeyClose,canOutsideClickClose:t.props.interactionKind===Bt.CLICK,enforceFocus:t.props.enforceFocus,hasBackdrop:t.props.hasBackdrop,isOpen:c,onClose:t.handleOverlayClose,onClosed:t.props.onClosed,onClosing:t.props.onClosing,onOpened:t.props.onOpened,onOpening:t.props.onOpening,transitionDuration:t.props.transitionDuration,transitionName:h,usePortal:t.props.usePortal,portalClassName:t.props.portalClassName,portalContainer:t.props.portalContainer,shouldReturnFocusOnClose:!t.isHoverInteractionKind()&&l},F.createElement("div",{className:C,ref:e.ref,style:e.style},F.createElement(It,{onResize:t.reposition},F.createElement("div",(0,V.pi)({className:y,style:{transformOrigin:u},ref:t.popoverRef},d),t.isArrowEnabled()&&F.createElement(Rt,{arrowProps:e.arrowProps,placement:e.placement}),F.createElement("div",{className:v},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!==Bt.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,l=e.target,s=l.closest(".".concat(h)),c=l.closest(".".concat(a.POPOVER)),u=(null!=s?s:c)===t.getPopoverElement(),d=null!==(r=null!==(n=null==s?void 0:s.classList.contains(p))&&void 0!==n?n:null==c?void 0:c.classList.contains(a.POPOVER_CAPTURING_DISMISS))&&void 0!==r&&r,f=l.closest(".".concat(y,", .").concat(b)),v=l.closest(".".concat(a.POPOVER_DISMISS,", .").concat(a.POPOVER_DISMISS_OVERRIDE)),m=null!==(i=null!==(o=null==f?void 0:f.classList.contains(y))&&void 0!==o?o:null==v?void 0:v.classList.contains(a.POPOVER_DISMISS))&&void 0!==i&&i,g=null!=l.closest(":disabled, .".concat(a.DISABLED));!m||g||d&&!u||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;(!St.C2(t.targetElement,o)||e.nativeEvent instanceof KeyboardEvent)&&t.setOpenState(!1,e)}},t.handleTargetClick=function(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}return(0,V.ZT)(t,e),t.prototype.getPopoverElement=function(){var e;return null===(e=this.popoverElement)||void 0===e?void 0:e.querySelector(".".concat(h))},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,a=void 0===o?"auto":o,i=e.positioningStrategy,l=this.state.isOpen;return null==n||"string"==typeof n&&""===n.trim()?(t||!1===l||Ct.KV("production")||console.warn(L),this.renderTarget({ref:Gt})):F.createElement(Y,null,F.createElement(ne,null,this.renderTarget),F.createElement(wt,{innerRef:this.popoverRef,placement:null!=r?r:Nt(a),strategy:i,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(H),e.hasBackdrop&&!e.usePortal&&console.warn(R),e.hasBackdrop&&e.interactionKind!==Bt.CLICK&&console.warn(P),void 0!==e.placement&&void 0!==e.position&&console.warn(N);var t=F.Children.count(e.children),n=void 0!==e.renderTarget,r=void 0!==e.targetProps;0!==t||n||console.warn(T),t>1&&console.warn(k),t>0&&n&&console.warn(A),n&&r&&console.warn(I)},t.prototype.getPopperModifiers=function(){var e,t,n,r,o=this.props,a=o.matchTargetWidth,i=o.modifiers,l=o.modifiersCustom,s=[(0,V.pi)({enabled:this.isArrowEnabled(),name:"arrow"},null==i?void 0:i.arrow),(0,V.pi)((0,V.pi)({name:"computeStyles"},null==i?void 0:i.computeStyles),{options:(0,V.pi)({adaptive:!0,gpuAcceleration:!1},null===(e=null==i?void 0:i.computeStyles)||void 0===e?void 0:e.options)}),(0,V.pi)((0,V.pi)({enabled:this.isArrowEnabled(),name:"offset"},null==i?void 0:i.offset),{options:(0,V.pi)({offset:[0,kt/2]},null===(t=null==i?void 0:i.offset)||void 0===t?void 0:t.options)}),(0,V.pi)((0,V.pi)({name:"flip"},null==i?void 0:i.flip),{options:(0,V.pi)({boundary:this.props.boundary,rootBoundary:this.props.rootBoundary},null===(n=null==i?void 0:i.flip)||void 0===n?void 0:n.options)}),(0,V.pi)((0,V.pi)({name:"preventOverflow"},null==i?void 0:i.preventOverflow),{options:(0,V.pi)({boundary:this.props.boundary,rootBoundary:this.props.rootBoundary},null===(r=null==i?void 0:i.preventOverflow)||void 0===r?void 0:r.options)})];return a&&s.push(Ot),void 0!==l&&s.push.apply(s,l),s},t.prototype.setOpenState=function(e,t,n){var r,o,a,i,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===(a=(o=this.props).onInteraction)||void 0===a||a.call(o,e,t),e||null===(l=(i=this.props).onClose)||void 0===l||l.call(i,t))},t.prototype.updateDarkParent=function(){if(this.props.usePortal&&this.state.isOpen){var e=null!=this.targetElement&&null!=this.targetElement.closest(".".concat(a.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(G.g,".Popover2"),t.defaultProps={boundary:"clippingParents",captureDismiss:!1,defaultIsOpen:!1,disabled:!1,fill:!1,hasBackdrop:!1,hoverCloseDelay:300,hoverOpenDelay:150,inheritDarkTheme:!0,interactionKind:Bt.CLICK,matchTargetWidth:!1,minimal:!1,openOnTargetFocus:!0,positioningStrategy:"absolute",renderTarget:void 0,shouldReturnFocusOnClose:!1,targetTagName:"span",transitionDuration:300,usePortal:!0},t}(q.U);function Gt(){}var qt=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,i=e;return r===B.E.START&&(i=e.slice().reverse()),F.createElement("li",null,F.createElement(Ut,(0,V.pi)({placement:r===B.E.END?"bottom-end":"bottom-start",disabled:0===i.length,content:F.createElement(U.v2,null,i.map(t.renderOverflowBreadcrumb))},o),F.createElement("span",{className:a.BREADCRUMBS_COLLAPSED})))},t.renderOverflowBreadcrumb=function(e,t){var n=null!=e.href||null!=e.onClick,r=(0,G.B)(e);return F.createElement(U.sN,(0,V.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 F.createElement("li",{key:n},t.renderBreadcrumb(e,r))},t}return(0,V.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.collapseFrom,r=e.items,o=e.minVisibleItems,i=e.overflowListProps,l=void 0===i?{}:i;return F.createElement(U.Dj,(0,V.pi)({collapseFrom:n,minVisibleItems:o,tagName:"ul"},l,{className:j()(a.BREADCRUMBS,l.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):F.createElement(U.aG,(0,V.pi)({current:t},e))},t.defaultProps={collapseFrom:B.E.START},t}(q.U),Wt=n(4908),Kt=n(3251),Yt=F.memo((function(e){var t,n=e.content,r=e.popoverClassName,o=e.onClose,i=e.isDarkTheme,l=void 0!==i&&i,h=e.rootBoundary,d=void 0===h?"viewport":h,f=e.targetOffset,p=e.transitionDuration,v=void 0===p?100:p,m=(0,V._T)(e,["content","popoverClassName","onClose","isDarkTheme","rootBoundary","targetOffset","transitionDuration"]),g=F.useCallback((function(e){return e.preventDefault()}),[]),y=F.useCallback((function(e){var t=e.ref;return F.createElement(U.h_,null,F.createElement("div",{className:s,style:f,ref:t}))}),[f]),b=F.useCallback((function(e){e||null==o||o()}),[]);return F.createElement(Ut,(0,V.pi)({},m,{content:F.createElement("div",{onContextMenu:g},n),enforceFocus:!1,key:Zt(f),hasBackdrop:!0,backdropProps:{className:u},minimal:!0,onInteraction:b,popoverClassName:j()(c,r,(t={},t[a.DARK]=l,t)),placement:"right-start",positioningStrategy:"fixed",rootBoundary:d,renderTarget:y,transitionDuration:v}))}));function Zt(e){return void 0===e?"default":"".concat(e.left,"x").concat(e.top)}Yt.displayName="".concat(G.g,".ContextMenu2Popover");var $t,Xt=F.forwardRef((function(e,t){var n=e.className,r=e.children,o=e.content,a=e.disabled,i=void 0!==a&&a,s=e.onClose,c=e.onContextMenu,u=e.popoverProps,h=e.tagName,d=void 0===h?"div":h,f=(0,V._T)(e,["className","children","content","disabled","onClose","onContextMenu","popoverProps","tagName"]),p=F.useContext(Vt)[1],v=F.useState(void 0),m=v[0],g=v[1],y=F.useState(),b=y[0],w=y[1],E=F.useState(!1),x=E[0],_=E[1],S=F.useRef(null);F.useEffect((function(){_(!1),p({type:"RESET_DISABLED_STATE"})}),[i]);var C=F.useCallback((function(){_(!1),w(void 0),p({type:"RESET_DISABLED_STATE"}),null==s||s()}),[]),O=F.useMemo((function(){return Wt.$(S.current)}),[S,x]),z={isOpen:x,mouseEvent:b,targetOffset:m},M=i?void 0:Kt.m(o)?o(z):o,T=void 0===M?void 0:F.createElement(Yt,(0,V.pi)({},u,{content:M,isDarkTheme:O,isOpen:x,targetOffset:m,onClose:C})),P=F.useCallback((function(e){e.defaultPrevented||(!i&&(Kt.m(r)||Kt.m(o)||void 0!==T)&&(e.preventDefault(),e.persist(),w(e),g({left:e.clientX,top:e.clientY}),_(!0),p({type:"FORCE_DISABLED_STATE"})),null==c||c(e))}),[c,i]),k=j()(n,l),A=Kt.m(r)?r({className:k,contentProps:z,onContextMenu:P,popover:T,ref:S}):F.createElement(F.Fragment,null,T,F.createElement(d,(0,V.pi)({className:k,onContextMenu:P,ref:(0,Et.lq)(S,t)},f),r));return F.createElement(jt,{forceDisable:x},A)}));function Qt(e){void 0===$t?(($t=document.createElement("div")).classList.add(l),document.body.appendChild($t)):re.unmountComponentAtNode($t),re.render(F.createElement(en,(0,V.pi)({},e)),$t)}function Jt(){void 0!==$t&&(re.unmountComponentAtNode($t),$t=void 0)}function en(e){var t=F.useState(!0),n=t[0],r=t[1],o=F.useCallback((function(){var t;r(!1),null===(t=e.onClose)||void 0===t||t.call(e)}),[e.onClose]);return F.createElement(Yt,(0,V.pi)({isOpen:n},e,{onClose:o}))}Xt.displayName="Blueprint.ContextMenu2";var tn,nn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,V.ZT)(t,e),t.prototype.render=function(){var e,t,n,r=this.props,o=r.active,i=r.className,l=r.children,s=r.disabled,c=r.elementRef,u=r.intent,h=(r.labelClassName,r.labelElement),d=r.multiline,f=(r.popoverProps,r.roleStructure),p=void 0===f?"menuitem":f,v=r.selected,m=r.shouldDismissPopover,g=(r.submenuProps,r.text),b=r.textClassName,w=r.tagName,E=void 0===w?"a":w,x=r.htmlTitle,_=(0,V._T)(r,["active","className","children","disabled","elementRef","intent","labelClassName","labelElement","multiline","popoverProps","roleStructure","selected","shouldDismissPopover","submenuProps","text","textClassName","tagName","htmlTitle"]),S="listoption"===p?["option",void 0,null!==(n=this.props.icon)&&void 0!==n?n:void 0===v?void 0:v?"small-tick":"blank",Boolean(v)]:"menuitem"===p?["none","menuitem",this.props.icon,void 0]:"none"===p?["none",void 0,this.props.icon,void 0]:[void 0,void 0,this.props.icon,void 0],C=S[0],O=S[1],z=S[2],M=S[3],T=null!=z,P=null!=l,k=a.intentClass(u),A=j()(a.MENU_ITEM,k,((e={})[a.ACTIVE]=o,e[a.DISABLED]=s,e[y]=m&&!s&&!P,e[a.SELECTED]=o&&void 0===k,e),i),L=F.createElement(E,(0,V.pi)((0,V.pi)((0,V.pi)({role:P?"none":O,tabIndex:P?-1:0},(0,G.B)(_)),s?on:{}),{className:A}),T?F.createElement("span",{className:a.MENU_ITEM_ICON},F.createElement(U.JO,{icon:z,"aria-hidden":!0,tabIndex:-1})):void 0,F.createElement(U.xv,{className:j()(a.FILL,b),ellipsize:!d,title:x},g),this.maybeRenderLabel(h),P?F.createElement(U.JO,{className:a.MENU_SUBMENU_ICON,icon:"caret-right"}):void 0),R=j()(((t={})[a.MENU_SUBMENU]=P,t));return F.createElement("li",{className:R,ref:c,role:C,"aria-selected":M},this.maybeRenderPopover(L,{role:O,tabIndex:0},l))},t.prototype.maybeRenderLabel=function(e){var t=this.props,n=t.label,r=t.labelClassName;return null==n&&null==e?null:F.createElement("span",{className:j()(a.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,i=r.popoverProps,l=r.submenuProps;return F.createElement(Ut,(0,V.pi)({autoFocus:!1,captureDismiss:!1,disabled:o,enforceFocus:!1,hoverCloseDelay:0,interactionKind:"hover",modifiers:rn,targetProps:t,placement:"right-start",usePortal:!1},i,{content:F.createElement(U.v2,(0,V.pi)({},l),n),minimal:!0,popoverClassName:j()(a.MENU_SUBMENU,null==i?void 0:i.popoverClassName)}),e)},t.defaultProps={active:!1,disabled:!1,multiline:!1,popoverProps:{},selected:void 0,shouldDismissPopover:!0,text:""},t.displayName="".concat(G.g,".MenuItem2"),t}(q.U),rn={flip:{options:{rootBoundary:"viewport",padding:20},enabled:!0},offset:{options:{offset:[-5,0]},enabled:!0},preventOverflow:{options:{rootBoundary:"viewport",padding:20},enabled:!0}},on={href:void 0,onClick:void 0,onMouseDown:void 0,onMouseEnter:void 0,onMouseLeave:void 0,tabIndex:-1};!function(e){e.MENU="menu",e.LISTBOX="listbox",e.TREE="tree",e.GRID="grid",e.DIALOG="dialog"}(tn||(tn={}))},5897:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(7294),o=(i(r),i(n(5697))),a=i(n(7815));function i(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)}i(n(2473));var u=1073741823;t.default=function(e,t){var n,i,h="__create-react-context-"+(0,a.default)()+"__",d=function(e){function n(){var t,r,o,a;l(this,n);for(var i=arguments.length,c=Array(i),u=0;u<i;u++)c[u]=arguments[u];return t=r=s(this,e.call.apply(e,[this].concat(c))),r.emitter=(o=r.props.value,a=[],{on:function(e){a.push(e)},off:function(e){a=a.filter((function(t){return t!==e}))},get:function(){return o},set:function(e,t){o=e,a.forEach((function(e){return e(o,t)}))}}),s(r,t)}return c(n,e),n.prototype.getChildContext=function(){var e;return(e={})[h]=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;((a=n)===(i=r)?0!==a||1/a==1/i:a!=a&&i!=i)?o=0:(o="function"==typeof t?t(n,r):u,0!=(o|=0)&&this.emitter.set(e.value,o))}var a,i},n.prototype.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[h]=o.default.object.isRequired,n);var f=function(t){function n(){var e,r;l(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return e=r=s(this,t.call.apply(t,[this].concat(a))),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[h]&&this.context[h].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},n.prototype.componentWillUnmount=function(){this.context[h]&&this.context[h].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[h]?this.context[h].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=((i={})[h]=o.default.object,i),{Provider:d,Consumer:f}},e.exports=t.default},8740:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(7294)),o=a(n(5897));function a(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},597:(e,t,n)=>{"use strict";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},a=(r=n(7294))&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,c=e.style,u=void 0===c?{}:c,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},u)},h),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},3891:(e,t,n)=>{"use strict";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},a=(r=n(7294))&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,c=e.style,u=void 0===c?{}:c,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},u)},h),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},6254:(e,t,n)=>{"use strict";n.d(t,{do:()=>j});var r,o=[],a="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 i,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},h=function(e){if(u(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,a=o.offsetWidth,i=o.offsetHeight;return!(a||i||e.getClientRects().length)},d=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)}),E=function(e,t){if(void 0===t&&(t=!1),p.has(e)&&!t)return p.get(e);if(h(e))return p.set(e,w),w;var n=getComputedStyle(e),r=u(e)&&e.ownerSVGElement&&e.getBBox(),o=!g&&"border-box"===n.boxSizing,a=m.test(n.writingMode||""),i=!r&&v.test(n.overflowY||""),s=!r&&v.test(n.overflowX||""),d=r?0:y(n.paddingTop),f=r?0:y(n.paddingRight),E=r?0:y(n.paddingBottom),x=r?0:y(n.paddingLeft),_=r?0:y(n.borderTopWidth),S=r?0:y(n.borderRightWidth),C=r?0:y(n.borderBottomWidth),O=x+f,z=d+E,M=(r?0:y(n.borderLeftWidth))+S,T=_+C,P=s?e.offsetHeight-T-e.clientHeight:0,k=i?e.offsetWidth-M-e.clientWidth:0,A=o?O+M:0,L=o?z+T:0,R=r?r.width:y(n.width)-A-k,N=r?r.height:y(n.height)-L-P,H=R+O+k+M,I=N+z+P+T,V=l({devicePixelContentBoxSize:b(Math.round(R*devicePixelRatio),Math.round(N*devicePixelRatio),a),borderBoxSize:b(H,I,a),contentBoxSize:b(R,N,a),contentRect:new c(x,d,R,N)});return p.set(e,V),V},x=function(e,t,n){var o=E(e,n),a=o.borderBoxSize,i=o.contentBoxSize,l=o.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return l;case r.BORDER_BOX:return a;default:return i}},_=function(e){var t=E(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(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},C=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 _(t.target),o=S(t.target);r.push(n),t.lastReportedSize=x(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},O=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))}))}))},z=[],M=0,T={attributes:!0,characterData:!0,childList:!0,subtree:!0},P=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],k=function(e){return void 0===e&&(e=0),Date.now()+e},A=!1,L=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),!A){A=!0;var n,r=k(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(O(t);o.some((function(e){return e.activeTargets.length>0}));)t=C(),O(t);return o.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:a}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=a),window.dispatchEvent(e)),t>0}()}finally{if(A=!1,e=r-k(),!M)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!i){var t=0,n=document.createTextNode("");new MutationObserver((function(){return z.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),i=function(){n.textContent="".concat(t?t--:t++)}}z.push(e),i()}((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,T)};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(),P.forEach((function(t){return f.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),P.forEach((function(t){return f.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),R=function(e){!M&&e>0&&L.start(),!(M+=e)&&L.stop()},N=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=x(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}(),H=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=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 H(e,t);I.set(e,n)},e.observe=function(e,t,n){var r=I.get(e),a=0===r.observationTargets.length;V(r.observationTargets,t)<0&&(a&&o.push(r),r.observationTargets.push(new N(t,n&&n.box)),R(1),L.schedule())},e.unobserve=function(e,t){var n=I.get(e),r=V(n.observationTargets,t),a=1===n.observationTargets.length;r>=0&&(a&&o.splice(o.indexOf(n),1),n.observationTargets.splice(r,1),R(-1))},e.disconnect=function(e){var t=this,n=I.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(!d(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(!d(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}()},8117:(e,t,n)=>{var r=n(2123).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)}},3329:(e,t,n)=>{var r=n(2123).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)}},5109:(e,t,n)=>{var r=n(2123).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)}},5970:(e,t,n)=>{var r=n(2123).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)}},7486:(e,t,n)=>{var r=n(2123).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)}},7917:(e,t,n)=>{var r=n(2123).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)}},9708:(e,t,n)=>{var r=n(2123).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)}},2123:(e,t,n)=>{"use strict";n.d(t,{w_:()=>u});var r=n(7294),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=r.createContext&&r.createContext(o),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)},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,i({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(h,i({attr:i({},e.attr)},t,{hasStrokes:c(e)}),s(e.child))}}function h(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 a=e.attr,s=e.fill,c=e.title,u=e.hasStrokes,h=l(e,["attr","fill","title","hasStrokes"]),d=u?null:{strokeWidth:0};return r.createElement("svg",i({stroke:"currentColor",fill:s},d,t.attr,a,h,{className:n,style:i(i({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!==a?r.createElement(a.Consumer,null,(function(e){return t(e)})):t(o)}},4202:(e,t,n)=>{var r=n(2123).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)}},7355:(e,t,n)=>{var r=n(2123).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)}},2214:(e,t,n)=>{var r=n(2123).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)}},9155:(e,t,n)=>{var r=n(2123).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)}},738:(e,t,n)=>{var r=n(2123).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)}},960:(e,t,n)=>{var r=n(2123).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)}},4843:(e,t,n)=>{var r=n(2123).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)}},1924:(e,t,n)=>{"use strict";var r=n(210),o=n(5559),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},5559:(e,t,n)=>{"use strict";var r=n(8612),o=n(210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(i,a),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,i,arguments);return s&&c&&s(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var h=function(){return l(r,a,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},4184:(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 a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){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)}()},2402:e=>{e.exports=function e(t,n,r){function o(i,l){if(!n[i]){if(!t[i]){if(a)return a(i,!0);var s=new Error("Cannot find module '"+i+"'");throw s.code="MODULE_NOT_FOUND",s}var c=n[i]={exports:{}};t[i][0].call(c.exports,(function(e){return o(t[i][1][e]||e)}),c,c.exports,e,t,n,r)}return n[i].exports}for(var a=void 0,i=0;i<r.length;i++)o(r[i]);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?a(e.parts[t][0])+"-"+a(e.parts[t][1]):a(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 a(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,a=new Array(e.length);for(t=0;t<e.length;t++)a[t]=(o=e[t],n[o.type](o));if(a.sort(),a.length>0){for(t=1,r=1;t<a.length;t++)a[t-1]!==a[t]&&(a[r]=a[t],r++);a.length=r}switch(a.length){case 1:return a[0];case 2:return a[0]+" or "+a[1];default:return a.slice(0,-1).join(", ")+", or "+a[a.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,a={},i={start:F},l=F,s="",c=function(){return[]},u=",",h=H(",",!1),d=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=H("url(",!1),y=")",b=H(")",!1),w=function(e){return e},E="format(",x=H("format(",!1),_="local(",S=H("local(",!1),C=function(e){return{local:e}},O=/^[^)]/,z=I([")"],!0,!1),M=function(e){return K.extractValue(e.join(""))},T=/^[ \t\r\n\f]/,P=I([" ","\t","\r","\n","\f"],!1,!1),k=0,A=[{line:1,column:1}],L=0,R=[],N=0;if("startRule"in n){if(!(n.startRule in i))throw new Error("Can't start parsing from rule \""+n.startRule+'".');l=i[n.startRule]}function H(e,t){return{type:"literal",text:e,ignoreCase:t}}function I(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function V(e){var n,r=A[e];if(r)return r;for(n=e-1;!A[n];)n--;for(r={line:(r=A[n]).line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return A[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){k<L||(k>L&&(L=k,R=[]),R.push(e))}function F(){var e,t;return(e=B())===a&&(e=k,(t=s)!==a&&(t=c()),e=t),e}function B(){var e,n,r,o,i,l;if(e=k,(n=U())!==a){for(r=[],o=W();o!==a;)r.push(o),o=W();if(r!==a)if(44===t.charCodeAt(k)?(o=u,k++):(o=a,0===N&&j(h)),o!==a){for(i=[],l=W();l!==a;)i.push(l),l=W();i!==a&&(l=B())!==a?e=n=d(n,l):(k=e,e=a)}else k=e,e=a;else k=e,e=a}else k=e,e=a;return e===a&&(e=k,(n=U())!==a&&(n=f(n)),e=n),e}function U(){var e;return(e=function(){var e,n,r,o;if(e=k,(n=G())!==a){if(r=[],(o=W())!==a)for(;o!==a;)r.push(o),o=W();else r=a;r!==a&&(o=function(){var e,n,r,o;return e=k,t.substr(k,7)===E?(n=E,k+=7):(n=a,0===N&&j(x)),n!==a&&(r=q())!==a?(41===t.charCodeAt(k)?(o=y,k++):(o=a,0===N&&j(b)),o!==a?e=n=w(r):(k=e,e=a)):(k=e,e=a),e}())!==a?e=n=p(n,o):(k=e,e=a)}else k=e,e=a;return e===a&&(e=k,(n=G())!==a&&(n=v(n)),e=n),e}())===a&&(e=function(){var e,n,r,o;return e=k,t.substr(k,6)===_?(n=_,k+=6):(n=a,0===N&&j(S)),n!==a&&(r=q())!==a?(41===t.charCodeAt(k)?(o=y,k++):(o=a,0===N&&j(b)),o!==a?e=n=C(r):(k=e,e=a)):(k=e,e=a),e}()),e}function G(){var e,n,r,o;return e=k,t.substr(k,4)===m?(n=m,k+=4):(n=a,0===N&&j(g)),n!==a&&(r=q())!==a?(41===t.charCodeAt(k)?(o=y,k++):(o=a,0===N&&j(b)),o!==a?e=n=w(r):(k=e,e=a)):(k=e,e=a),e}function q(){var e,n;if(e=[],O.test(t.charAt(k))?(n=t.charAt(k),k++):(n=a,0===N&&j(z)),n!==a)for(;n!==a;)e.push(n),O.test(t.charAt(k))?(n=t.charAt(k),k++):(n=a,0===N&&j(z));else e=a;return e!==a&&(e=M(e)),e}function W(){var e;return T.test(t.charAt(k))?(e=t.charAt(k),k++):(e=a,0===N&&j(P)),e}var K=e("../util");if((o=l())!==a&&k===t.length)return o;throw o!==a&&k<t.length&&j({type:"end"}),function(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}(R,L<t.length?t.charAt(L):null,L<t.length?D(L,L+1):D(L,L))}}},{"../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)},251:(e,t,n)=>{var r=n(2215),o=n(2584),a=n(609),i=n(8420),l=n(2847),s=n(8923),c=Date.prototype.getTime;function u(e){return null==e}function h(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,d){var f=d||{};return!!(f.strict?a(t,n):t===n)||(!t||!n||"object"!=typeof t&&"object"!=typeof n?f.strict?a(t,n):t==n:function(t,n,a){var d,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=i(t),v=i(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=h(t),g=h(n);if(m!==g)return!1;if(m||g){if(t.length!==n.length)return!1;for(d=0;d<t.length;d++)if(t[d]!==n[d])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(),d=y.length-1;d>=0;d--)if(y[d]!=b[d])return!1;for(d=y.length-1;d>=0;d--)if(!e(t[f=y[d]],n[f],a))return!1;return!0}(t,n,f))}},4289:(e,t,n)=>{"use strict";var r=n(2215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,l=Object.defineProperty,s=n(1044)(),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]"!==a.call(o)||!r())return;var o;c?l(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},h=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var l=0;l<a.length;l+=1)u(e,a[l],t[a[l]],n[a[l]])};h.supportsDescriptors=!!c,e.exports=h},3839:()=>{!function(e){"use strict";function t(){return h.createDocumentFragment()}function n(e){return h.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 a(e[0]);for(var n=t(),r=L.call(e),o=0;o<e.length;o++)n.appendChild(a(r[o]));return n}function a(e){return"object"==typeof e?e:h.createTextNode(e)}for(var i,l,s,c,u,h=e.document,d=Object.prototype.hasOwnProperty,f=Object.defineProperty||function(e,t,n){return d.call(n,"value")?e[t]=n.value:(d.call(n,"get")&&e.__defineGetter__(t,n.get),d.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&&A.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=e.DocumentFragment&&DocumentFragment.prototype,x=e.Node,_=(x||Element).prototype,S=e.CharacterData||x,C=S&&S.prototype,O=e.DocumentType,z=O&&O.prototype,M=(e.Element||x||e.HTMLElement).prototype,T=e.HTMLSelectElement||n("select").constructor,P=T.prototype.remove,k=e.SVGElement,A=["matches",M.matchesSelector||M.webkitMatchesSelector||M.khtmlMatchesSelector||M.mozMatchesSelector||M.msMatchesSelector||M.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)}],L=A.slice,R=A.length;R;R-=2)if((l=A[R-2])in M||(M[l]=A[R-1]),"remove"!==l||P._dom4||((T.prototype[l]=function(){return 0<arguments.length?P.apply(this,arguments):M.remove.call(this)})._dom4=!0),/^(?:before|after|replace|replaceWith|remove)$/.test(l)&&(S&&!(l in C)&&(C[l]=A[R-1]),O&&!(l in z)&&(z[l]=A[R-1])),/^(?:append|prepend)$/.test(l))if(E)l in E||(E[l]=A[R-1]);else try{t().constructor.prototype[l]=A[R-1]}catch(e){}var N;n("a").matches("a")||(M[l]=(N=M[l],function(e){return N.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)||A.push.call(this,l);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return R=e.call(this,l=function(e){if(!e)throw"SyntaxError";if(y.test(e))throw"InvalidCharacterError";return e}(t)),-1<R}}([].indexOf||function(e){for(R=this.length;R--&&this[R]!==e;);return R}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&A.splice.call(this,R,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:w,toString:function(){return A.join.call(this," ")}},k&&!(b in k.prototype)&&f(k.prototype,b,m),b in h.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(M,b,m),"contains"in _||f(_,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in h||f(h,"head",{get:function(){return i||(i=h.getElementsByTagName("head")[0])}}),function(){for(var t,n=e.requestAnimationFrame,r=e.cancelAnimationFrame,o=["o","ms","moz","webkit"],a=o.length;!r&&a--;)n=n||e[o[a]+"RequestAnimationFrame"],r=e[o[a]+"CancelAnimationFrame"]||e[o[a]+"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 a=h.createEvent(e);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==e&&(a.initCustomEvent=n),null==o&&(o=t),a.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),a}}(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=h.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,a={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 i=h.createEvent("KeyboardEvent");i.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),o="+"==(i.keyIdentifier||i.key)&&3==(i.keyLocation||i.location)&&(i.ctrlKey?i.altKey?1:3:i.shiftKey?2:4)||9}catch(e){}function l(e,t,n){try{t[e]=n[e]}catch(e){}}function s(t,i){r(arguments.length,"KeyboardEvent"),i=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!t.hasOwnProperty.call(e,n)&&(e[n]=t[n]);return e}(i||{},a);var s,c=h.createEvent(n),u=i.ctrlKey,d=i.shiftKey,f=i.altKey,p=i.metaKey,v=i.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(" ")}(i):null,g=String(i.key),y=String(i.char),b=i.location,w=i.keyCode||(i.keyCode=g)&&g.charCodeAt(0)||0,E=i.charCode||(i.charCode=y)&&y.charCodeAt(0)||0,x=i.bubbles,_=i.cancelable,S=i.repeat,C=i.locale,O=i.view||e;if(i.which||(i.which=i.keyCode),"initKeyEvent"in c)c.initKeyEvent(t,x,_,O,u,f,d,p,w,E);else if(0<o&&"initKeyboardEvent"in c){switch(s=[t,x,_,O],o){case 1:s.push(g,b,u,d,f,p,v);break;case 2:s.push(u,f,d,p,w,E);break;case 3:s.push(g,b,u,f,d,p,v);break;case 4:s.push(g,b,m,S,C);break;default:s.push(char,g,b,m,S,C)}c.initKeyboardEvent.apply(c,s)}else c.initEvent(t,x,_);for(g in c)a.hasOwnProperty(g)&&c[g]!==i[g]&&l(g,c,i);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=h.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)}h.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(h),e(Element.prototype)}();try{h.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!=h.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,a){r=a,n=!1,e=void 0,t.dispatchEvent(o)}function a(e){this.value=e}function l(){t++,this.__ce__=new i("@DOMMap:"+t+Math.random())}return a.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 a(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,a,i=e.CustomEvent,l=e.dispatchEvent,s=e.addEventListener,c=e.removeEventListener,u=0,h=function(){u++},d=[].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("_",h,{once:!0}),l(new i("_")),l(new i("_")),c("_",h,{once:!0})}catch(e){}1!==u&&(a=new t,o=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,o,i){if(i&&"boolean"!=typeof i){var l,s,c,u=a.get(this),h=f(i);u||a.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),s=u[t],(l=d.call(s.handler,o))<0?(l=s.handler.push(o)-1,s.wrap[l]=c=new n):c=s.wrap[l],h in c||(c[h]=r(t,o,i),e.call(this,t,c[h],c[h].capture))}else e.call(this,t,o,i)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,r){if(r&&"boolean"!=typeof r){var o,i,l,s,c=a.get(this);if(c&&t in c&&(l=c[t],-1<(i=d.call(l.handler,n))&&(o=f(r))in(s=l.wrap[i]))){for(o in e.call(this,t,s[o],s[o].capture),delete s[o],s)return;l.handler.splice(i,1),l.wrap.splice(i,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)},7648: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,a=t.call(arguments,1),i=Math.max(0,r.length-a.length),l=[],s=0;s<i;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,a.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,a.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}},8612:(e,t,n)=>{"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},5972: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},210:(e,t,n)=>{"use strict";var r,o=SyntaxError,a=Function,i=TypeError,l=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new i},u=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,h=n(1405)(),d=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"==typeof Uint8Array?r:d(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":h?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":a,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&h?d((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&&h?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h?d(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":p,"%TypeError%":i,"%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};try{null.error}catch(e){var m=d(d(e));v["%Error.prototype%"]=m}var g=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&&(n=d(o.prototype))}return v[t]=n,n},y={"%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"]},b=n(8612),w=n(7642),E=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),_=b.call(Function.call,String.prototype.replace),S=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),O=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,M=function(e,t){var n,r=e;if(w(y,r)&&(r="%"+(n=y[r])[0]+"%"),w(v,r)){var a=v[r];if(a===f&&(a=g(r)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"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=S(e,0,1),n=S(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 _(e,O,(function(e,t,n,o){r[r.length]=n?_(o,z,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",a=M("%"+r+"%",t),l=a.name,c=a.value,u=!1,h=a.alias;h&&(r=h[0],x(n,E([0,1],h)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=S(p,0,1),g=S(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==p&&f||(u=!0),w(v,l="%"+(r+="."+p)+"%"))c=v[l];else if(null!=c){if(!(p in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=n.length){var y=s(c,p);c=(f=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[p]}else f=w(c,p),c=c[p];f&&!u&&(v[l]=c)}}return c}},9948:(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,i)||o("repeating-linear-gradient",e.repeatingLinearGradient,i)||o("radial-gradient",e.radialGradient,l)||o("repeating-radial-gradient",e.repeatingRadialGradient,l)}function o(t,r,o){return a(r,(function(r){var a=o();return a&&(y(e.comma)||n("Missing comma before color stops")),{type:t,orientation:a,colorStops:d(f)}}))}function a(t,r){var o=y(t);if(o){y(e.startCall)||n("Missing (");var a=r(o);return y(e.endCall)||n("Missing )"),a}}function i(){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 a=h();a&&(n={type:"default-radial",at:a})}}return n}function c(){return g("extent-keyword",e.extentKeywords,1)}function u(){if(g("position",/^at/,0)){var e=h();return e||n("Missing positioning value"),e}}function h(){var e={x:v(),y:v()};if(e.x||e.y)return{type:"position",value:e}}function d(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)||a(e.rgbaColor,(function(){return{type:"rgba",value:d(p)}}))||a(e.rgbColor,(function(){return{type:"rgb",value:d(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=d(r),t.length>0&&n("Invalid input not EOF"),o;var o}}(),t.parse=r.parse,t.stringify=r.stringify},7815:(e,t,n)=>{"use strict";var r="__global_unique_id__";e.exports=function(){return n.g[r]=(n.g[r]||0)+1}},1044:(e,t,n)=>{"use strict";var r=n(210)("%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},1405:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},5419: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}},6410:(e,t,n)=>{"use strict";var r=n(5419);e.exports=function(){return r()&&!!Symbol.toStringTag}},7642:(e,t,n)=>{"use strict";var r=n(8612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},6860:(e,t,n)=>{"use strict";var r=n(2871);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*$",a=new RegExp(r,"g"),i=[],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=a.exec(e);t;)i.push(l(t[0])),t=a.exec(e);return i}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(", ")}},2871:(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)}},4854:(e,t,n)=>{"use strict";var r=n(101),o=n(1783),a=n(7591),i=n(1181),l=n(2871),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 i.loadCSSImportsForRules(r,t,n).then((function(t){return i.loadAndInlineCSSResourcesForRules(r,n).then((function(n){var o=t.errors.concat(n.errors),a=t.hasChanges||n.hasChanges;return a&&(e=l.cssRulesToText(r)),{hasChanges:a,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),a=[],i=[];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,i).then((function(e){a=a.concat(e)}))}))).then((function(){return a}))};var h=function(e,t){return r.ajax(e,t).then((function(e){return{content:e,cssRules:l.rulesForCssText(e)}})).then((function(t){var n=i.adjustPathsOfCssResources(e,t.cssRules);return{content:t.content,cssRules:t.cssRules,hasChanges:n}})).then((function(e){return i.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 i.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),a=r.clone(t);return!a.baseUrl&&o&&(a.baseUrl=o),c(h,t)(n,a).then((function(e){return{content:e.content,errors:r.cloneArray(e.errors)}}))}(e,t).then((function(t){var n,r,a,i;n=e,r=t.content+"\n",i=n.parentNode,(r=r.trim())&&((a=n.ownerDocument.createElement("style")).type="text/css",a.appendChild(n.ownerDocument.createTextNode(r)),i.insertBefore(a,n)),i.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=a.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}))}},1181:(e,t,n)=>{"use strict";var r=n(101),o=n(2871),a=n(6860),i=n(2402),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")}))},h=function(e){return e.filter((function(e){return e.type===window.CSSRule.IMPORT_RULE&&e.href}))},d=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=a.parse(t.value),i=d(o);i.length>0&&(i.forEach((function(t){var n=o[t].url,a=r.joinUrl(e,n);o[t].url=a})),n=a.serialize(o),l(t.rule,t.property,n),v=!0)})),u(t).forEach((function(n){var a,l,s=n.style.getPropertyValue("src");try{a=i.parse(s)}catch(e){return}(l=f(a)).length>0&&(l.forEach((function(t){var n=a[t].url,o=r.joinUrl(e,n);a[t].url=o})),o.changeFontFaceRuleSrc(t,n,i.serialize(a)),v=!0)})),h(t).forEach((function(n){var a=n.href,i=r.joinUrl(e,a);o.exchangeRule(t,n,"@import url("+i+");"),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,a){var i=h(e),l=[],s=!1;return Promise.all(i.map((function(i){return function(e,n,a,i){var l,s=n.href;return s=o.unquoteString(s),l=r.joinUrl(i.baseUrl,s),a.indexOf(l)>=0?(p(e,n,[]),Promise.resolve([])):(a.push(l),r.ajax(s,i).then((function(r){var l=o.rulesForCssText(r);return t.loadCSSImportsForRules(l,a,i).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,i,n,a).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),i=[],u=!1;return Promise.all(o.map((function(e){return function(e,t){var n=a.parse(e),o=d(n),i=!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,i=!0}),(function(e){throw{resourceType:"backgroundImage",url:e.url,msg:"Unable to load background-image "+e.url}}))}))).then((function(e){return{backgroundValue:a.serialize(n),hasChanges:i,errors:e}}))}(e.value,t).then((function(t){t.hasChanges&&(l(e.rule,e.property,t.backgroundValue),u=!0),i=i.concat(t.errors)}))}))).then((function(){return{hasChanges:u,errors:i}}))},m=function(e,t){var n=u(e),a=[],l=!1;return Promise.all(n.map((function(n){return function(e,t){var n,o,a=!1;try{n=i.parse(e)}catch(e){n=[]}return o=f(n),r.collectAndReportErrors(o.map((function(e){var o=n[e],i=o.format||"woff";return r.binaryAjax(o.url,t).then((function(e){var t=btoa(e);o.url="data:font/"+i+";base64,"+t,a=!0}),(function(e){throw{resourceType:"fontFace",url:e.url,msg:"Unable to load font-face "+e.url}}))}))).then((function(e){return{srcDeclarationValue:i.serialize(n),hasChanges:a,errors:e}}))}(n.style.getPropertyValue("src"),t).then((function(t){t.hasChanges&&(o.changeFontFaceRuleSrc(e,n,t.srcDeclarationValue),l=!0),a=a.concat(t.errors)}))}))).then((function(){return{hasChanges:l,errors:a}}))};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}}))}},1783:(e,t,n)=>{"use strict";var r=n(101),o=function(e){return Array.prototype.slice.call(e)};t.inline=function(e,t){var n,a=o(e.getElementsByTagName("img")),i=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)}))}(a=(a=a.concat(i)).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),a=r.clone(t);return!a.baseUrl&&o&&(a.baseUrl=o),r.getDataURIForImageURL(n,a).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)}))})))}},7591:(e,t,n)=>{"use strict";var r=n(101);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),a=r.clone(t);return!a.baseUrl&&o&&(a.baseUrl=o),r.ajax(n,a).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)}))})))}},101:(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,a){var i,l=new window.XMLHttpRequest,s=t.joinUrl(n.baseUrl,e),c=function(){a({msg:"Unable to load url",url:s})};i=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",i,!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 a=[];t.memoize=function(e,t,n){if("object"!=typeof n)throw new Error("cacheBucket is not an object");return function(){var r,o,i=Array.prototype.slice.call(arguments),l=t(i),s=(o=e,a.indexOf(o)<0&&a.push(o),a.indexOf(o));return n[s]&&n[s][l]?n[s][l]:(r=e.apply(null,i),n[s]=n[s]||{},n[s][l]=r,r)}}},2584:(e,t,n)=>{"use strict";var r=n(6410)(),o=n(1924)("Object.prototype.toString"),a=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},i=function(e){return!!a(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 a(arguments)}();a.isLegacyArguments=i,e.exports=l?a:i},8923:(e,t,n)=>{"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a=n(6410)();e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},8420:(e,t,n)=>{"use strict";var r,o,a,i,l=n(1924),s=n(6410)();if(s){r=l("Object.prototype.hasOwnProperty"),o=l("RegExp.prototype.exec"),a={};var c=function(){throw a};i={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=c)}var u=l("Object.prototype.toString"),h=Object.getOwnPropertyDescriptor;e.exports=s?function(e){if(!e||"object"!=typeof e)return!1;var t=h(e,"lastIndex");if(!t||!r(t,"value"))return!1;try{o(e,i)}catch(e){return e===a}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},8552:(e,t,n)=>{var r=n(852)(n(5639),"DataView");e.exports=r},1989:(e,t,n)=>{var r=n(1789),o=n(401),a=n(7667),i=n(1327),l=n(1866);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=a,s.prototype.has=i,s.prototype.set=l,e.exports=s},8407:(e,t,n)=>{var r=n(7040),o=n(4125),a=n(2117),i=n(7529),l=n(4705);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=a,s.prototype.has=i,s.prototype.set=l,e.exports=s},7071:(e,t,n)=>{var r=n(852)(n(5639),"Map");e.exports=r},3369:(e,t,n)=>{var r=n(4785),o=n(1285),a=n(6e3),i=n(9916),l=n(5265);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=a,s.prototype.has=i,s.prototype.set=l,e.exports=s},3818:(e,t,n)=>{var r=n(852)(n(5639),"Promise");e.exports=r},8525:(e,t,n)=>{var r=n(852)(n(5639),"Set");e.exports=r},8668:(e,t,n)=>{var r=n(3369),o=n(619),a=n(2385);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},6384:(e,t,n)=>{var r=n(8407),o=n(7465),a=n(3779),i=n(7599),l=n(4758),s=n(4309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},2705:(e,t,n)=>{var r=n(5639).Symbol;e.exports=r},1149:(e,t,n)=>{var r=n(5639).Uint8Array;e.exports=r},577:(e,t,n)=>{var r=n(852)(n(5639),"WeakMap");e.exports=r},7412: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}},4963:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},4636:(e,t,n)=>{var r=n(2545),o=n(5694),a=n(1469),i=n(4144),l=n(5776),s=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),h=!n&&!u&&i(e),d=!n&&!u&&!h&&s(e),f=n||u||h||d,p=f?r(e.length,String):[],v=p.length;for(var m in e)!t&&!c.call(e,m)||f&&("length"==m||h&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||l(m,v))||p.push(m);return p}},9932: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}},2488: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}},2908: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}},4865:(e,t,n)=>{var r=n(9465),o=n(7813),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:(e,t,n)=>{var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4037:(e,t,n)=>{var r=n(8363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},3886:(e,t,n)=>{var r=n(8363),o=n(1704);e.exports=function(e,t){return e&&r(t,o(t),e)}},9465:(e,t,n)=>{var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:(e,t,n)=>{var r=n(6384),o=n(7412),a=n(4865),i=n(4037),l=n(3886),s=n(4626),c=n(278),u=n(8805),h=n(1911),d=n(8234),f=n(6590),p=n(4160),v=n(3824),m=n(9148),g=n(8517),y=n(1469),b=n(4144),w=n(6688),E=n(3218),x=n(2928),_=n(3674),S=n(1704),C="[object Arguments]",O="[object Function]",z="[object Object]",M={};M[C]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[z]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[O]=M["[object WeakMap]"]=!1,e.exports=function e(t,n,T,P,k,A){var L,R=1&n,N=2&n,H=4&n;if(T&&(L=k?T(t,P,k,A):T(t)),void 0!==L)return L;if(!E(t))return t;var I=y(t);if(I){if(L=v(t),!R)return c(t,L)}else{var V=p(t),D=V==O||"[object GeneratorFunction]"==V;if(b(t))return s(t,R);if(V==z||V==C||D&&!k){if(L=N||D?{}:g(t),!R)return N?h(t,l(L,t)):u(t,i(L,t))}else{if(!M[V])return k?t:{};L=m(t,V,R)}}A||(A=new r);var j=A.get(t);if(j)return j;A.set(t,L),x(t)?t.forEach((function(r){L.add(e(r,n,T,r,t,A))})):w(t)&&t.forEach((function(r,o){L.set(o,e(r,n,T,o,t,A))}));var F=I?void 0:(H?N?f:d:N?S:_)(t);return o(F||t,(function(r,o){F&&(r=t[o=r]),a(L,o,e(r,n,T,o,t,A))})),L}},3118:(e,t,n)=>{var r=n(3218),o=Object.create,a=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=a},9881:(e,t,n)=>{var r=n(7816),o=n(9291)(r);e.exports=o},8483:(e,t,n)=>{var r=n(5063)();e.exports=r},7816:(e,t,n)=>{var r=n(8483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},7786:(e,t,n)=>{var r=n(1811),o=n(327);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},8866:(e,t,n)=>{var r=n(2488),o=n(1469);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},4239:(e,t,n)=>{var r=n(2705),o=n(9607),a=n(2333),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},939:(e,t,n)=>{var r=n(2492),o=n(7005);e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},2492:(e,t,n)=>{var r=n(6384),o=n(7114),a=n(8351),i=n(6096),l=n(4160),s=n(1469),c=n(4144),u=n(6719),h="[object Arguments]",d="[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?d:l(e),E=b?d:l(t),x=(w=w==h?f:w)==f,_=(E=E==h?f:E)==f,S=w==E;if(S&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(S&&!x)return g||(g=new r),y||u(e)?o(e,t,n,v,m,g):a(e,t,w,n,v,m,g);if(!(1&n)){var C=x&&p.call(e,"__wrapped__"),O=_&&p.call(t,"__wrapped__");if(C||O){var z=C?e.value():e,M=O?t.value():t;return g||(g=new r),m(z,M,n,v,g)}}return!!S&&(g||(g=new r),i(e,t,n,v,m,g))}},5588:(e,t,n)=>{var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},2958:(e,t,n)=>{var r=n(6384),o=n(939);e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],h=e[u],d=c[1];if(s&&c[2]){if(void 0===h&&!(u in e))return!1}else{var f=new r;if(a)var p=a(h,d,u,e,t,f);if(!(void 0===p?o(d,h,3,a,f):p))return!1}}return!0}},8458:(e,t,n)=>{var r=n(3560),o=n(5346),a=n(3218),i=n(346),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,h=c.hasOwnProperty,d=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?d:l).test(i(e))}},9221:(e,t,n)=>{var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},8749:(e,t,n)=>{var r=n(4239),o=n(1780),a=n(7005),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},7206:(e,t,n)=>{var r=n(1573),o=n(6432),a=n(6557),i=n(1469),l=n(9601);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},280:(e,t,n)=>{var r=n(5726),o=n(6916),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:(e,t,n)=>{var r=n(3218),o=n(5726),a=n(3498),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);return n}},9199:(e,t,n)=>{var r=n(9881),o=n(1240);e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},1573:(e,t,n)=>{var r=n(2958),o=n(1499),a=n(2634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},6432:(e,t,n)=>{var r=n(939),o=n(7361),a=n(9095),i=n(5403),l=n(9162),s=n(2634),c=n(327);e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:(e,t,n)=>{var r=n(7786);e.exports=function(e){return function(t){return r(t,e)}}},2545:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},531:(e,t,n)=>{var r=n(2705),o=n(9932),a=n(1469),i=n(3448),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4290:(e,t,n)=>{var r=n(6557);e.exports=function(e){return"function"==typeof e?e:r}},1811:(e,t,n)=>{var r=n(1469),o=n(5403),a=n(5514),i=n(9833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},4318:(e,t,n)=>{var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:(e,t,n)=>{e=n.nmd(e);var r=n(5639),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,l=i?i.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}},7157:(e,t,n)=>{var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:(e,t,n)=>{var r=n(2705),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},7133:(e,t,n)=>{var r=n(4318);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}},8363:(e,t,n)=>{var r=n(4865),o=n(9465);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var l=-1,s=t.length;++l<s;){var c=t[l],u=a?a(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),i?o(n,c,u):r(n,c,u)}return n}},8805:(e,t,n)=>{var r=n(8363),o=n(9551);e.exports=function(e,t){return r(e,o(e),t)}},1911:(e,t,n)=>{var r=n(8363),o=n(1442);e.exports=function(e,t){return r(e,o(e),t)}},4429:(e,t,n)=>{var r=n(5639)["__core-js_shared__"];e.exports=r},9291:(e,t,n)=>{var r=n(1240);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,l=Object(n);(t?i--:++i<a)&&!1!==o(l[i],i,l););return n}}},5063:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),l=i.length;l--;){var s=i[e?l:++o];if(!1===n(a[s],s,a))break}return t}}},8777:(e,t,n)=>{var r=n(852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},7114:(e,t,n)=>{var r=n(8668),o=n(2908),a=n(4757);e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,h=t.length;if(u!=h&&!(c&&h>u))return!1;var d=s.get(e),f=s.get(t);if(d&&f)return d==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(i)var b=c?i(y,g,p,t,e,s):i(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(!a(m,t)&&(g===e||l(g,e,n,i,s)))return m.push(t)}))){v=!1;break}}else if(g!==y&&!l(g,y,n,i,s)){v=!1;break}}return s.delete(e),s.delete(t),v}},8351:(e,t,n)=>{var r=n(2705),o=n(1149),a=n(7813),i=n(7114),l=n(8776),s=n(1814),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,h,d){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||!h(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+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=d.get(e);if(v)return v==t;r|=2,d.set(e,t);var m=i(f(e),f(t),r,c,h,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,n)=>{var r=n(8234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var h=u;h--;){var d=c[h];if(!(s?d in t:o.call(t,d)))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;++h<u;){var g=e[d=c[h]],y=t[d];if(a)var b=s?a(y,g,d,t,e,l):a(g,y,d,e,t,l);if(!(void 0===b?g===y||i(g,y,n,a,l):b)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(v=!1)}return l.delete(e),l.delete(t),v}},1957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:(e,t,n)=>{var r=n(8866),o=n(9551),a=n(3674);e.exports=function(e){return r(e,a,o)}},6590:(e,t,n)=>{var r=n(8866),o=n(1442),a=n(1704);e.exports=function(e){return r(e,a,o)}},5050:(e,t,n)=>{var r=n(7019);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(9162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},852:(e,t,n)=>{var r=n(8458),o=n(7801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},5924:(e,t,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:(e,t,n)=>{var r=n(2705),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[l]=n:delete e[l]),o}},9551:(e,t,n)=>{var r=n(4963),o=n(479),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},1442:(e,t,n)=>{var r=n(2488),o=n(5924),a=n(9551),i=n(479),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=l},4160:(e,t,n)=>{var r=n(8552),o=n(7071),a=n(3818),i=n(8525),l=n(577),s=n(4239),c=n(346),u="[object Map]",h="[object Promise]",d="[object Set]",f="[object WeakMap]",p="[object DataView]",v=c(r),m=c(o),g=c(a),y=c(i),b=c(l),w=s;(r&&w(new r(new ArrayBuffer(1)))!=p||o&&w(new o)!=u||a&&w(a.resolve())!=h||i&&w(new i)!=d||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 h;case y:return d;case b:return f}return t}),e.exports=w},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var r=n(1811),o=n(5694),a=n(1469),i=n(5776),l=n(1780),s=n(327);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,h=!1;++c<u;){var d=s(t[c]);if(!(h=null!=e&&n(e,d)))break;e=e[d]}return h||++c!=u?h:!!(u=null==e?0:e.length)&&l(u)&&i(d,u)&&(a(e)||o(e))}},1789:(e,t,n)=>{var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var r=n(4536),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}},1327:(e,t,n)=>{var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1866:(e,t,n)=>{var r=n(4536);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}},3824: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}},9148:(e,t,n)=>{var r=n(4318),o=n(7157),a=n(3147),i=n(419),l=n(7133);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 a(e);case"[object Symbol]":return i(e)}}},8517:(e,t,n)=>{var r=n(3118),o=n(5924),a=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},5776: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}},5403:(e,t,n)=>{var r=n(1469),o=n(3448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\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))||i.test(e)||!a.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var r,o=n(4429),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},9162:(e,t,n)=>{var r=n(3218);e.exports=function(e){return e==e&&!r(e)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var r=n(8470),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))}},2117:(e,t,n)=>{var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7529:(e,t,n)=>{var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:(e,t,n)=>{var r=n(8470);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}},4785:(e,t,n)=>{var r=n(1989),o=n(8407),a=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},1285:(e,t,n)=>{var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:(e,t,n)=>{var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:(e,t,n)=>{var r=n(5050);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}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},2634:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},4523:(e,t,n)=>{var r=n(8306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4536:(e,t,n)=>{var r=n(852)(Object,"create");e.exports=r},6916:(e,t,n)=>{var r=n(5569)(Object.keys,Object);e.exports=r},3498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:(e,t,n)=>{e=n.nmd(e);var r=n(1957),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.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))}}},5639:(e,t,n)=>{var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var r=n(8407),o=n(7071),a=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},5514:(e,t,n)=>{var r=n(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=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(a,"$1"):n||e)})),t}));e.exports=i},327:(e,t,n)=>{var r=n(3448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346: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""}},361:(e,t,n)=>{var r=n(5990);e.exports=function(e){return r(e,5)}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},2525:(e,t,n)=>{var r=n(7816),o=n(4290);e.exports=function(e,t){return e&&r(e,o(t))}},7361:(e,t,n)=>{var r=n(7786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},9095:(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}},5694:(e,t,n)=>{var r=n(9454),o=n(7005),a=Object.prototype,i=a.hasOwnProperty,l=a.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},1469:e=>{var t=Array.isArray;e.exports=t},1240:(e,t,n)=>{var r=n(3560),o=n(1780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},4144:(e,t,n)=>{e=n.nmd(e);var r=n(5639),o=n(5062),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},3560:(e,t,n)=>{var r=n(4239),o=n(3218);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}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:(e,t,n)=>{var r=n(5588),o=n(7518),a=n(1167),i=a&&a.isMap,l=i?o(i):r;e.exports=l},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8630:(e,t,n)=>{var r=n(4239),o=n(5924),a=n(7005),i=Function.prototype,l=Object.prototype,s=i.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!a(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}},2928:(e,t,n)=>{var r=n(9221),o=n(7518),a=n(1167),i=a&&a.isSet,l=i?o(i):r;e.exports=l},7037:(e,t,n)=>{var r=n(4239),o=n(1469),a=n(7005);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},3448:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},6719:(e,t,n)=>{var r=n(8749),o=n(7518),a=n(1167),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},3674:(e,t,n)=>{var r=n(4636),o=n(280),a=n(1240);e.exports=function(e){return a(e)?r(e):o(e)}},1704:(e,t,n)=>{var r=n(4636),o=n(313),a=n(1240);e.exports=function(e){return a(e)?r(e,!0):o(e)}},5161:(e,t,n)=>{var r=n(9932),o=n(7206),a=n(9199),i=n(1469);e.exports=function(e,t){return(i(e)?r:a)(e,o(t,3))}},8306:(e,t,n)=>{var r=n(3369);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],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},9601:(e,t,n)=>{var r=n(371),o=n(9152),a=n(5403),i=n(327);e.exports=function(e){return a(e)?r(i(e)):o(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},9833:(e,t,n)=>{var r=n(531);e.exports=function(e){return null==e?"":r(e)}},242:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Observer:()=>C,clearTimers:()=>k,enableStaticRendering:()=>f,isObserverBatched:()=>s,isUsingStaticRendering:()=>p,observer:()=>_,observerBatching:()=>l,useAsObservableSource:()=>T,useLocalObservable:()=>O,useLocalStore:()=>P,useObserver:()=>A,useStaticRendering:()=>L});var r=n(8949),o=n(7294);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var a=n(3935);function i(e){e()}function l(e){e||(e=i),(0,r.configure)({reactionScheduler:e})}var s=function(){return!0};function c(e){return(0,r.getDependencyTree)(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}(),h=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:u)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),d=!1;function f(e){d=e}function p(){return d}var v=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i};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],a=v(o.useState(),2)[1],i=function(){return a([])},l=o.useRef(null);l.current||(l.current={reaction:null,mounted:!1,changedBeforeMount:!1});var s,u,d=l.current;if(d.reaction||(d.reaction=new r.Reaction(m(t),(function(){d.mounted?i():d.changedBeforeMount=!0})),h.register(n,d,d)),o.useDebugValue(d.reaction,c),o.useEffect((function(){return h.unregister(d),d.mounted=!0,d.reaction?d.changedBeforeMount&&(d.changedBeforeMount=!1,i()):(d.reaction=new r.Reaction(m(t),(function(){i()})),i()),function(){d.reaction.dispose(),d.reaction=null,d.mounted=!1,d.changedBeforeMount=!1}}),[]),d.reaction.track((function(){try{s=e()}catch(e){u=e}})),u)throw u;return s}var w="function"==typeof Symbol&&Symbol.for,E=w?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)((function(e){return null})).$$typeof,x=w?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)((function(e){return null})).$$typeof;function _(e,t){var n;if(x&&e.$$typeof===x)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,a=e,i=e.displayName||e.name;if(E&&e.$$typeof===E&&(r=!0,"function"!=typeof(a=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 a(e,t)}),i)};return""!==i&&(c.displayName=i),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 C(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:b(r)}function O(e,t){return(0,o.useState)((function(){return(0,r.observable)(e(),t,{autoBind:!0})}))[0]}C.displayName="Observer";var z,M=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i};function T(e){var t=M((0,o.useState)((function(){return(0,r.observable)(e,{},{deep:!1})})),1)[0];return(0,r.runInAction)((function(){Object.assign(t,e)})),t}function P(e,t){var n=t&&T(t);return(0,o.useState)((function(){return(0,r.observable)(e(n),void 0,{autoBind:!0})}))[0]}l(a.unstable_batchedUpdates);var k=null!==(z=h.finalizeAllImmediately)&&void 0!==z?z:function(){};function A(e,t){return void 0===t&&(t="observed"),b(e,t)}function L(e){f(e)}},7090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addDisposer:()=>W,addMiddleware:()=>Pe,applyAction:()=>we,applyPatch:()=>w,applySnapshot:()=>C,cast:()=>X,castFlowReturn:()=>At,castToReferenceSnapshot:()=>J,castToSnapshot:()=>Q,clone:()=>B,createActionTrackingMiddleware:()=>me,createActionTrackingMiddleware2:()=>ye,decorate:()=>ke,destroy:()=>G,detach:()=>U,escapeJsonPath:()=>It,flow:()=>kt,getChildType:()=>g,getEnv:()=>K,getIdentifier:()=>I,getLivelinessChecking:()=>l,getMembers:()=>$,getNodeId:()=>ee,getParent:()=>M,getParentOfType:()=>P,getPath:()=>A,getPathParts:()=>L,getPropertyMembers:()=>Z,getRelativePath:()=>F,getRoot:()=>k,getRunningActionContext:()=>Le,getSnapshot:()=>O,getType:()=>m,hasParent:()=>z,hasParentOfType:()=>T,isActionContextChildOf:()=>Ne,isActionContextThisOrChildOf:()=>He,isAlive:()=>q,isArrayType:()=>Jt,isFrozenType:()=>Hn,isIdentifierType:()=>Zn,isLateType:()=>Ln,isLiteralType:()=>bn,isMapType:()=>Yt,isModelType:()=>an,isOptionalType:()=>Mn,isPrimitiveType:()=>mn,isProtected:()=>S,isReferenceType:()=>Un,isRefinementType:()=>En,isRoot:()=>R,isStateTreeNode:()=>$e,isType:()=>fe,isUnionType:()=>Sn,isValidReference:()=>D,joinJsonPath:()=>Dt,onAction:()=>xe,onPatch:()=>y,onSnapshot:()=>b,process:()=>lt,protect:()=>x,recordActions:()=>Ee,recordPatches:()=>E,resolveIdentifier:()=>H,resolvePath:()=>N,setLivelinessChecking:()=>i,setLivelynessChecking:()=>s,splitJsonPath:()=>jt,toGenerator:()=>Rt,toGeneratorFunction:()=>Lt,tryReference:()=>V,tryResolve:()=>j,typecheck:()=>Ge,types:()=>Jn,unescapeJsonPath:()=>Vt,unprotect:()=>_,walk:()=>Y});var r,o=n(8949),a="warn";function i(e){a=e}function l(){return a}function s(e){i(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 h=function(){return h=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},h.apply(this,arguments)};function d(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,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,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}function m(e){return Xe(e,1),Qe(e).type}function g(e,t){return Xe(e,1),Qe(e).getChildType(t)}function y(e,t){return Xe(e,1),zt(),Qe(e).onPatch(t)}function b(e,t){return Xe(e,1),zt(),Qe(e).onSnapshot(t)}function w(e,t){Xe(e,1),Ot(),Qe(e).applyPatches(mt(t))}function E(e,t){Xe(e,1);var n,r={patches:[],reversedInversePatches:[]},o={},a={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,Le())||(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 a.resume(),a}function x(e){Xe(e,1);var t=Qe(e);if(!t.isRoot)throw dt("`protect` can only be invoked on root nodes");t.isProtectionEnabled=!0}function _(e){Xe(e,1);var t=Qe(e);if(!t.isRoot)throw dt("`unprotect` can only be invoked on root nodes");t.isProtectionEnabled=!1}function S(e){return Qe(e).isProtected}function C(e,t){return Xe(e,1),Qe(e).applySnapshot(t)}function O(e,t){void 0===t&&(t=!0),Xe(e,1);var n=Qe(e);return t?n.snapshot:n.type.getSnapshot(n,!1)}function z(e,t){void 0===t&&(t=1),Xe(e,1),Mt(0,0,0);for(var n=Qe(e).parent;n;){if(0==--t)return!0;n=n.parent}return!1}function M(e,t){void 0===t&&(t=1),Xe(e,1),Mt(0,0,0);for(var n=t,r=Qe(e).parent;r;){if(0==--n)return r.storedValue;r=r.parent}throw dt("Failed to find the parent of "+Qe(e)+" at depth "+t)}function T(e,t){Xe(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 P(e,t){Xe(e,1),pe(t,2);for(var n=Qe(e).parent;n;){if(t.is(n.storedValue))return n.storedValue;n=n.parent}throw dt("Failed to find the parent of "+Qe(e)+" of a given type")}function k(e){return Xe(e,1),Qe(e).root.storedValue}function A(e){return Xe(e,1),Qe(e).path}function L(e){return Xe(e,1),jt(Qe(e).path)}function R(e){return Xe(e,1),Qe(e).isRoot}function N(e,t){Xe(e,1),Tt();var n=rt(Qe(e),t);return n?n.value:void 0}function H(e,t,n){pe(e,1),Xe(t,2),Ot();var r=Qe(t).root.identifierCache.resolve(e,$n(n));return null==r?void 0:r.value}function I(e){return Xe(e,1),Qe(e).identifier}function V(e,t){void 0===t&&(t=!0);try{var n=e();if(null==n)return;if($e(n))return t?q(n)?n:void 0:n;throw dt("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($e(n))return!t||q(n);throw dt("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){Xe(e,1),Tt();var n=rt(Qe(e),t,!1);if(void 0!==n)try{return n.value}catch(e){return}}function F(e,t){return Xe(e,1),Xe(t,2),nt(Qe(e),Qe(t))}function B(e,t){void 0===t&&(t=!0),Xe(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 Xe(e,1),Qe(e).detach(),e}function G(e){Xe(e,1);var t=Qe(e);t.isRoot?t.die():t.parent.removeChild(t.subpath)}function q(e){return Xe(e,1),Qe(e).observableIsAlive}function W(e,t){return Xe(e,1),zt(),Qe(e).addDisposer(t),t}function K(e){return Xe(e,1),Qe(e).root.environment||ut}function Y(e,t){Xe(e,1),zt();var n=Qe(e);n.getChildren().forEach((function(e){$e(e.storedValue)&&Y(e.storedValue,t)})),t(n.storedValue)}function Z(e){var t;return Ot(t=$e(e)?m(e):e),{name:t.name,properties:h({},t.properties)}}function $(e){var t=Qe(e).type,n=h(h({},Z(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.isComputedProp)(e,t)?n.views.push(t):n.volatile.push(t):!0===r.value._isMSTAction?n.actions.push(t):(0,o.isObservableProp)(e,t)?n.volatile.push(t):n.views.push(t)}})),n}function X(e){return e}function Q(e){return e}function J(e){return e}function ee(e){return Xe(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 xt),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.createAtom)("path")),this.pathAtom.reportObserved()),this.parent?(void 0===this._escapedSubpath&&(this._escapedSubpath=this._subpath?It(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.createAtom)("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,a){var i=e.call(this,t,n,r,o)||this;try{i.storedValue=t.createNewInstance(a)}catch(e){throw i.state=qe.DEAD,e}return i.state=qe.CREATED,i.finalizeCreation(),i}return u(t,e),Object.defineProperty(t.prototype,"root",{get:function(){if(!this.parent)throw dt("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.action)(ne.prototype.die);var re,oe,ae=1,ie={onError:function(e){throw e}},le=function(e){function t(t,n,r,a,i){var l=e.call(this,t,n,r,a)||this;if(Object.defineProperty(l,"nodeId",{enumerable:!0,configurable:!0,writable:!0,value:++ae}),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.computed)((function(){return l.getSnapshot()})),l.unbox=l.unbox.bind(l),l._initialSnapshot=i,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 dt("Instance identifier '"+l.identifierAttribute+"' for type '"+l.type.name+"' must be a string or a number");l.identifier=$n(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 a=f(n),i=a.next();!i.done;i=a.next())i.value.createObservableInstanceIfNeeded()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}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._allowStateChangesInsideComputed?(0,o._allowStateChangesInsideComputed)((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 dt(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&&It(e.subpath)||"",r=e.actionContext||Ce();r&&"action"!==r.type&&r.parentActionEvent&&(r=r.parentActionEvent);var o="";return r&&null!=r.name&&(o=(r&&r.context&&A(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):at(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 dt("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()),a=o.next();!a.done;a=o.next())a.value.finalizeCreation()}catch(e){t={error:e}}finally{try{a&&!a.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 dt("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=Te(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=Te(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 a in o)e[a]=o[a]}return e}({},e,{path:t.path.substr(this.path.length)+"/"+e.path}),r=p(function(e){if(!("oldValue"in e))throw dt("Patches without `oldValue` field cannot be inversed");return[Nt(e),Ht(e)]}(n),2),o=r[0],a=r[1];this._internalEventsEmit("patch",o,a)}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 dt("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 dt("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.reaction)((function(){return e.snapshot}),(function(t){return e.emitSnapshot(t)}),ie);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 xt),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.action)(le.prototype.createObservableInstance),le.prototype.detach=(0,o.action)(le.prototype.detach),le.prototype.die=(0,o.action)(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 dt("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 dt("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 dt("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 dt("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 dt("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.action)(ue.prototype.create);var he=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===$n(t[e.identifierAttribute])}}),Object.defineProperty(t.prototype,"tryToReconcileNode",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){return!(e.isDetaching||e.snapshot!==t&&(!$e(t)||Qe(t)!==e)&&(e.type!==this||!yt(t)||$e(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(),$e(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);he.prototype.create=(0,o.action)(he.prototype.create);var de=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){Ot()}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 a=n(t);return e.onSuspend(t,o),!1===ve.get(t.id).async&&(ve.delete(t.id),e.onSuccess(t,o,a)),a}catch(n){throw ve.delete(t.id),e.onFail(t,o,n),n}case"flow_spawn":return(i=ve.get(t.rootId)).async=!0,n(t);case"flow_resume":case"flow_resume_error":var i=ve.get(t.rootId);e.onResume(t,i.context);try{return n(t)}finally{e.onSuspend(t,i.context)}case"flow_throw":return i=ve.get(t.rootId),ve.delete(t.rootId),e.onFail(t,i.context,t.args[0]),n(t);case"flow_return":return i=ve.get(t.rootId),ve.delete(t.rootId),e.onSuccess(t,i.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 a=h(h({},n),{env:o&&o.call.env,parentCall:o&&o.call}),i=!e.filter||e.filter(a),l=new ge(i?e:void 0,a);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){Xe(e,1),Ot(),(0,o.runInAction)((function(){mt(t).forEach((function(t){return function(e,t){var n=j(e,t.path||"");if(!n)throw dt("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 C.call(null,n,t.args[0]);if("function"!=typeof n[t.name])throw dt("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 Ee(e,t){Xe(e,1);var n,r=[],o=function(e){(!t||t(e,Le()))&&r.push(e)},a={actions:r,get recording(){return!!n},stop:function(){n&&(n(),n=void 0)},resume:function(){n||(n=xe(e,o))},replay:function(e){we(e,r)}};return a.resume(),a}function xe(e,t,n){return void 0===n&&(n=!1),Xe(e,1),Pe(e,(function(r,o){if("action"===r.type&&r.id===r.rootId){var a=Qe(r.context),i={name:r.name,path:nt(Qe(e),a),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($e(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(i),l}return t(i),o(r)}return o(r)}))}var _e,Se=1;function Ce(){return _e}function Oe(){return Se++}function ze(e,t){var n=Qe(e.context);"action"===e.type&&n.assertAlive({actionContext:e});var a=n._isRunningAction;n._isRunningAction=!0;var i=_e;_e=e;try{return function(e,t,n){var a=new Ae(e,n);if(a.isEmpty)return(0,o.action)(n).apply(null,t.args);var i=null;return function e(t){var l=a.getNextMiddleware(),s=l&&l.handler;return s?!l.includeHooks&&r[t.name]?e(t):(s(t,(function(t,n){i=e(t),n&&(i=n(i))}),(function(e){i=e})),i):(0,o.action)(n).apply(null,t.args)}(t)}(n,e,t)}finally{_e=i,n._isRunningAction=a}}function Me(e){if(e)return"action"===e.type?e:e.parentActionEvent}function Te(e,t,n){var r=function(){var r=Oe(),o=_e,a=Me(o);return ze({type:"action",name:t,id:r,args:_t(arguments),context:e,tree:k(e),rootId:o?o.rootId:r,parentId:o?o.id:0,allParentIds:o?v(o.allParentIds,[o.id]):[],parentEvent:o,parentActionEvent:a},n)};return r._isMSTAction=!0,r}function Pe(e,t,n){return void 0===n&&(n=!0),Qe(e).addMiddleWare(t,n)}function ke(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 Ae=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 Le(){for(var e=Ce();e&&"action"!==e.type;)e=e.parentActionEvent;return e}function Re(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 Ne(e,t){return Re(e,t,!1)}function He(e,t){return Re(e,t,!0)}function Ie(e){return"function"==typeof e?"<function"+(e.name?" "+e.name:"")+">":$e(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+'" ':"",a=$e(t)?"value of type "+Qe(t).type.name+":":bt(t)?"value":"snapshot",i=n&&$e(t)&&n.is(Qe(t).snapshot);return""+o+a+" "+Ie(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."+(i?" (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 dt(function(e,t,n){var r;if(0!==n.length)return"Error while converting "+(((r=Ie(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.observable.map()}),Object.defineProperty(this,"lastCacheModificationPerId",{enumerable:!0,configurable:!0,writable:!0,value:o.observable.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.observable.array([],ht));var r=this.cache.get(n);if(-1!==r.indexOf(e))throw dt("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.values)(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,a=t.path;return(0,o.entries)(this.cache).forEach((function(e){for(var t=p(e,2),o=t[0],i=t[1],l=!1,s=i.length-1;s>=0;s--)0===i[s].path.indexOf(a)&&(r.addNodeToCache(i[s],!1),i.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 dt("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 Ye(e,t,n,r,o){var a=Je(o);if(a){if(a.parent)throw dt("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 '"+a.path+"'");return t&&a.setParent(t,n),a}return new le(e,t,n,r,o)}function Ze(e,t,n,r,o){return new ne(e,t,n,r,o)}function $e(e){return!(!e||!e.$treenode)}function Xe(e,t){Ot()}function Qe(e){if(!$e(e))throw dt("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 dt("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 a=t[o];if(".."===a){if(r=r.parent)continue}else{if("."===a)continue;if(r){if(r instanceof ne)try{var i=r.value;$e(i)&&(r=Qe(i))}catch(e){if(!n)return;throw e}if(r instanceof le&&r.getChildType(a)&&(r=r.getChildNode(a)))continue}}if(n)throw dt("Could not resolve '"+a+"' in path '"+(Dt(t.slice(0,o))||"/")+"' while resolving '"+Dt(t)+"'");return}return r}function at(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 it="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 Ct("process","`process()` has been renamed to `flow()`. "+it),kt(e)}var st=Object.toString(),ct=Object.freeze([]),ut=Object.freeze({}),ht=(0,o._getGlobalState)().useProxies?{deep:!1}:{deep:!1,proxy:!1};function dt(e){return void 0===e&&(e="Illegal state"),new Error("[mobx-state-tree] "+e)}function ft(e){return e}Object.freeze(ht);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.isObservableArray)(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.isObservableObject)(e)?(0,o.defineProperty)(e,t,n):Object.defineProperty(e,t,n)}(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}var Et=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}(),xt=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 Et),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 _t(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 Ct=function(e,t){};function Ot(e,t,n,r){}function zt(e,t){}function Mt(e,t,n,r){}function Tt(e,t,n){void 0===n&&(n=!0)}function Pt(e){"function"==typeof queueMicrotask?queueMicrotask(e):"function"==typeof setImmediate?setImmediate(e):setTimeout(e,1)}function kt(e){return function(e,t){var n=function(){var r=Oe(),o=Ce();if(!o)throw dt("a mst flow must always have a parent context");var a=Me(o);if(!a)throw dt("a mst flow must always have a parent action context");var i={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:a},l=arguments;function s(e,t,r){return e.$mst_middleware=n.$mst_middleware,ze(h(h({},i),{type:t,args:[r]}),e)}return new Promise((function(e,r){var o,a=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 Pt((function(){s((function(t){r(e)}),"flow_throw",e)}))}d(t)}function u(e){var t;try{s((function(e){t=o.throw(e)}),"flow_resume_error",e)}catch(e){return void Pt((function(){s((function(t){r(e)}),"flow_throw",e)}))}d(t)}function d(t){if(!t.done){if(!t.value||"function"!=typeof t.value.then)throw dt("Only promises can be yielded to `async`, got: "+t);return t.value.then(c,u)}Pt((function(){s((function(t){e(t)}),"flow_return",t.value)}))}a.$mst_middleware=n.$mst_middleware,ze(h(h({},i),{type:"flow_spawn",args:_t(l)}),a)}))};return n}(e.name,e)}function At(e){return e}function Lt(e){return function(){var t,n=[];for(t=0;t<arguments.length;t++)n[t]=arguments[t];return d(this,(function(t){switch(t.label){case 0:return[4,e.apply(void 0,v(n))];case 1:return[2,t.sent()]}}))}}function Rt(e){return d(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent()]}}))}function Nt(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 Ht(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 It(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(It).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 dt("a json path must be either rooted, empty or relative, but got '"+e+"'");return""===t[0]&&t.shift(),t}Ct.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=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];try{for(var i=f(o),l=i.next();!l.done;l=i.next()){var s=l.value;e[s]=t[s].bind(t)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=i.return)&&r.call(i)}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=$e(r)?r:this.preProcessSnapshot(r),a=this._subtype.instantiate(e,t,n,o);return this._fixNode(a),a}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=this._subtype.reconcile(e,$e(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:$e(e)?O(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 he))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 a=mt(o);try{for(var i=f(a),l=i.next();!l.done;l=i.next())if(!qt(l.value,t))return!1}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=i.return)&&r.call(i)}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.observable.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 dt("Map.put cannot be used to set empty values");if($e(e)){var t=Qe(e);if(null===t.identifier)throw dt(Gt);return this.set(t.identifier,e),e}if(yt(e)){var n=Qe(this),r=n.type;if(r.identifierMode!==Ft.YES)throw dt(Gt);var o=e[r.mapIdentifierAttribute];if(!Xn(o)){var a=this.put(r.getChildType().create(e,n.environment));return this.put(O(a))}var i=$n(o);return this.set(i,e),this.get(i)}throw dt("Map.put can only be used to store complex values")}}),t}(o.ObservableMap),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(),Ye(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 dt("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._interceptReads)(t,e.unbox),e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],o=Te(t,e,r);wt(t,e,o)}))})),(0,o.intercept)(t,this.willChange),(0,o.observe)(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.values)(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 dt("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 a=e.newValue;if(a===e.object.get(n))return null;Ue(o,a),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 dt("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:It(e.name),value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"add":return void t.emitPatch({op:"add",path:It(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:It(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}(he);function Yt(e){return fe(e)&&(e.flags&oe.Map)>0}Kt.prototype.applySnapshot=(0,o.action)(Kt.prototype.applySnapshot);var Zt=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 Ye(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 a=""+o;r[a]=n.instantiate(e,a,void 0,t)})),r}}),Object.defineProperty(t.prototype,"createNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return o.observable.array(at(e),ht)}}),Object.defineProperty(t.prototype,"finalizeNewInstance",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){(0,o._getAdministration)(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=Te(t,e,r);wt(t,e,o)}))})),(0,o.intercept)(t,this.willChange),(0,o.observe)(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 dt("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=$t(t,n,[r[e.index]],[e.newValue],[e.index]);if(!o)return null;e.newValue=o[0];break;case"splice":var a=e.index,i=e.removedCount,l=e.added,s=$t(t,n,r.slice(a,a+i),l,l.map((function(e,t){return a+t})));if(!s)return null;e.added=s;for(var c=a+i;c<r.length;c++)r[c].setParent(t,""+(c+l.length-i))}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}(he);function $t(e,t,n,r,o){for(var a,i=!0,l=0;;l++){var s=l<=r.length-1,c=n[l],u=s?r[l]:void 0,h=""+o[l];if(((a=u)instanceof ne||a instanceof le)&&(u=u.storedValue),!c&&!s)break;if(s)if(c)if(Qt(c,u))n[l]=Xt(t,e,h,u,c);else{for(var d=void 0,f=l;f<n.length;f++)if(Qt(n[f],u)){d=n.splice(f,1)[0];break}i=!1,p=Xt(t,e,h,u,d),n.splice(l,0,p)}else{if($e(u)&&Qe(u).parent===e)throw dt("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+"/"+h+"', but it lives already at '"+Qe(u).path+"'");i=!1;var p=Xt(t,e,h,u);n.splice(l,0,p)}else i=!1,n.splice(l,1),c instanceof le&&c.createObservableInstanceIfNeeded(),c.die(),l--}return i?null:n}function Xt(e,t,n,r,o){Ue(e,r);var a=function(){if($e(r)){var a=Qe(r);if(a.assertAlive(ut),null!==a.parent&&a.parent===t)return a.setParent(t,n),a}return o?e.reconcile(o,r,t,n):e.instantiate(t,n,void 0,r)}();return o&&o!==a&&(o instanceof le&&o.createObservableInstanceIfNeeded(),o.die()),a}function Qt(e,t){if(!e.isAlive)return!1;if($e(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&&gt(t)&&r.is(t)&&r.isMatchingSnapshotId(e,t)}function Jt(e){return fe(e)&&(e.flags&oe.Array)>0}Zt.prototype.applySnapshot=(0,o.action)(Zt.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,a;if(t in r)throw dt("Hook '"+t+"' was defined as property. Hooks should be defined as part of the actions");var i=Object.getOwnPropertyDescriptor(e,t);if("get"in i)throw dt("Getters are not supported as properties. Please use views instead");var l=i.value;if(null==l)throw dt("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]=On(function(e){switch(typeof e){case"string":return sn;case"number":return cn;case"boolean":return hn;case"object":if(e instanceof Date)return vn}throw dt("Cannot determine primitive type from value "+e)}(l),l),n));if(l instanceof Kt)return Object.assign({},e,((o={})[t]=On(l,{}),o));if(l instanceof Zt)return Object.assign({},e,((a={})[t]=On(l,[]),a));if(fe(l))return e;throw dt("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 dt("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 dt("actions initializer should return a plain object containing actions");Object.keys(t).forEach((function(n){if(n===en)throw dt("Cannot define action '"+en+"', it should be defined using 'type.preProcessSnapshot(fn)' instead");if(n===tn)throw dt("Cannot define action '"+tn+"', it should be defined using 'type.postProcessSnapshot(fn)' instead");var o=t[n],a=e[n];if(n in r&&a){var i=o;o=function(){a.apply(null,arguments),i.apply(null,arguments)}}var l=o.$mst_middleware,s=o.bind(t);s.$mst_middleware=l;var c=Te(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 dt("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 dt("volatile state initializer should return a plain object containing state");(0,o.set)(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,a=r.views,i=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 dt("The `extend` function should return an object with a subset of the fields 'actions', 'views' and 'state'. Found invalid key '"+s+"'");return i&&t.instantiateVolatileState(n,i),a&&t.instantiateViews(n,a),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 dt("views initializer should return a plain object containing views");Object.getOwnPropertyNames(t).forEach((function(n){var r,a=Object.getOwnPropertyDescriptor(t,n);if("get"in a)(0,o.defineProperty)(e,n,a),(0,o.makeObservable)(e,((r={})[n]=o.computed,r));else{if("function"!=typeof a.value)throw dt("A view member should either be a function or getter based property");wt(e,n,a.value)}}))}}),Object.defineProperty(t.prototype,"instantiate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){return Ye(this,e,t,n,$e(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.observable.object(e,ut,ht)}}),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._interceptReads)(t,n,e.unbox)})),this.initializers.reduce((function(e,t){return t(e)}),t),(0,o.intercept)(t,this.willChange),(0,o.observe)(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:It(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 dt("Not a value property: "+t);var n=(0,o._getAdministration)(e.storedValue,t).raw();if(!n)throw dt("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,a){(0,o.getAtom)(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 dt("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 Tt(),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}(he);function an(e){return fe(e)&&(e.flags&oe.Object)>0}on.prototype.applySnapshot=(0,o.action)(on.prototype.applySnapshot);var ln=function(e){function t(t,n,r,o){void 0===o&&(o=ft);var a=e.call(this,t)||this;return Object.defineProperty(a,"flags",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(a,"checker",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(a,"initializer",{enumerable:!0,configurable:!0,writable:!0,value:o}),a.flags=n,a}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 Ze(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}(de),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)})),hn=new ln("boolean",oe.Boolean,(function(e){return"boolean"==typeof e})),dn=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 Ze(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}(de);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 a=e.call(this,t)||this;return Object.defineProperty(a,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(a,"_predicate",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(a,"_message",{enumerable:!0,configurable:!0,writable:!0,value:o}),a}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=$e(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 En(e){return(e.flags&oe.Refinement)>0}var xn=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=h({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 dt("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 dt("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 a=this._types[o].validate(e,t);if(0===a.length){if(this._eager)return je();r++}else n.push(a)}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 _n(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,a="("+o.map((function(e){return e.name})).join(" | ")+")";return new xn(a,o,r)}function Sn(e){return(e.flags&oe.Union)>0}var Cn=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 On(e,t,n){return function(e,t){if("function"!=typeof t&&$e(t))throw dt("default value cannot be an instance, pass a snapshot or a function that creates an instance/snapshot instead");pe()}(0,t),new Cn(e,t,n||zn)}var zn=[void 0];function Mn(e){return fe(e)&&(e.flags&oe.Optional)>0}var Tn=On(fn,void 0),Pn=On(dn,null);function kn(e){return pe(),_n(e,Tn)}var An=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 dt("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 Ln(e){return fe(e)&&(e.flags&oe.Late)>0}var Rn=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 Ze(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}(de),Nn=new Rn;function Hn(e){return fe(e)&&(e.flags&oe.Frozen)>0}var In=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}),Xn(e))this.identifier=e;else{if(!$e(e))throw dt("Can only store references to tree nodes or identifiers, got: '"+e+"'");var n=Qe(e);if(!n.identifierAttribute)throw dt("Can only store references with a defined identifier attribute.");var r=n.unnormalizedIdentifier;if(null==r)throw dt("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=$n(this.identifier),n=e.root,r=n.identifierCache.getLastCacheModificationPerId(t);if(!this.resolvedReference||this.resolvedReference.lastCacheModification!==r){var o=this.targetType,a=n.identifierCache.resolve(o,t);if(!a)throw new Vn("[mobx-state-tree] Failed to resolve reference '"+this.identifier+"' to type '"+this.targetType.name+"' (from node: "+e.path+")");this.resolvedReference={node:a,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 Xn(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 a=o.storedValue;a&&this.onInvalidated({cause:e,parent:a,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 a=Qe(o),i=function(o,i){var l=function(e){switch(e){case r.beforeDestroy:return"destroy";case r.beforeDetach:return"detach";default:return}}(i);l&&n.fireInvalidated(l,e,t,a)},l=a.registerHook(r.beforeDetach,i),s=a.registerHook(r.beforeDestroy,i);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 a;e.registerHook(r.beforeDestroy,(function(){a&&a()}));var i=function(r){a&&a();var i=e.parent,l=i&&i.storedValue;i&&i.isAlive&&l&&((n?n.get(t,l):e.root.identifierCache.has(o.targetType,$n(t)))?a=o.addTargetNodeWatcher(e,t):r||o.fireInvalidated("invalidSnapshotReference",e,t,null))};e.state===qe.FINALIZED?i(!0):(e.isRoot||e.root.registerHook(r.afterCreationFinalization,(function(){e.parent&&e.parent.createObservableInstanceIfNeeded()})),e.registerHook(r.afterAttach,(function(){i(!1)})))}}}),t}(de),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=$e(r)?I(r):r,a=new In(r,this.targetType),i=Ze(this,e,t,n,a);return a.node=i,this.watchTargetNodeForInvalidations(i,o,void 0),i}}),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=$e(t),a=e.storedValue;if(!o&&a.identifier===t||o&&a.resolvedValue===t)return e.setParent(n,r),e}var i=this.instantiate(n,r,void 0,t);return e.die(),i}}),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=$e(r)?this.options.set(r,e?e.storedValue:null):r,a=Ze(this,e,t,n,o);return this.watchTargetNodeForInvalidations(a,o,this.options),a}}),Object.defineProperty(t.prototype,"reconcile",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n,r){var o=$e(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 a=this.instantiate(n,r,void 0,o);return e.die(),a}}),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 dt("Identifier types can only be instantiated as direct child of a model type");return Ze(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 dt("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}(de),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,Yn=new Wn;function Zn(e){return fe(e)&&(e.flags&oe.Identifier)>0}function $n(e){return""+e}function Xn(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 Ze(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 a=o?this.options.fromSnapshot(t,n.root.environment):t,i=this.instantiate(n,r,void 0,a);return e.die(),i}}),t}(de),Jn={enumeration:function(e,t){var n="string"==typeof e?t:e,r=_n.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,h(h({},t),{onInvalidated:function(e){t&&t.onInvalidated&&t.onInvalidated(e),e.removeRef()}}));return t&&!1===t.acceptsUndefined?n:kn(n)},union:_n,optional:On,literal:yn,maybe:kn,maybeNull:function(e){return pe(),_n(e,Pn)},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],a=e[2]?e[2]:function(e){return"Value does not respect the refinement predicate"};return pe(),Tt(),new wn(n,r,o,a)},string:sn,boolean:hn,number:cn,integer:un,Date:vn,map:function(e){return new Kt("map<string, "+e.name+">",e)},array:function(e){return pe(),new Zt(e.name+"[]",e)},frozen:function(e){return 0===arguments.length?Nn:fe(e)?new Rn(e):On(Nn,e)},identifier:Kn,identifierNumber:Yn,late:function(e,t){var n="string"==typeof e?e:"late("+e.toString()+")";return new An(n,"string"==typeof e?t:e)},undefined:fn,null:dn,snapshotProcessor:function(e,t,n){return pe(),new Ut(e,t,n)}}},8949:(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:()=>xr,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:()=>Ae,configure:()=>nn,createAtom:()=>W,defineProperty:()=>Ln,entries:()=>Mn,extendObservable:()=>rn,flow:()=>pn,flowResult:()=>mn,get:()=>An,getAtom:()=>Br,getDebugName:()=>Gr,getDependencyTree:()=>on,getObserverTree:()=>ln,has:()=>kn,intercept:()=>bn,isAction:()=>Ut,isBoxedObservable:()=>Ke,isComputed:()=>En,isComputedProp:()=>xn,isFlow:()=>gn,isFlowCancellationError:()=>hn,isObservable:()=>Sn,isObservableArray:()=>fr,isObservableMap:()=>wr,isObservableObject:()=>Pr,isObservableProp:()=>Cn,isObservableSet:()=>_r,keys:()=>On,makeAutoObservable:()=>Jn,makeObservable:()=>Xn,observable:()=>Me,observe:()=>Nn,onBecomeObserved:()=>$t,onBecomeUnobserved:()=>Xt,onReactionError:()=>Ct,override:()=>X,ownKeys:()=>Rn,reaction:()=>Kt,remove:()=>Pn,runInAction:()=>Bt,set:()=>Tn,spy:()=>kt,toJS:()=>Vn,trace:()=>Dn,transaction:()=>jn,untracked:()=>ot,values:()=>zn,when:()=>Fn});var o={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var i=Object.assign,l=Object.getOwnPropertyDescriptor,s=Object.defineProperty,c=Object.prototype,u=[];Object.freeze(u);var h={};Object.freeze(h);var d="undefined"!=typeof Proxy,f=Object.toString();function p(){d||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(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){s(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function _(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 C(e){return e instanceof Map}function O(e){return e instanceof Set}var z=void 0!==Object.getOwnPropertySymbols,M="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:z?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function T(e){return null===e?null:"object"==typeof e?""+e:e}function P(e,t){return c.hasOwnProperty.call(e,t)}var k=Object.getOwnPropertyDescriptors||function(e){var t={};return M(e).forEach((function(n){t[n]=l(e,n)})),t};function A(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 L(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}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)}function N(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H(e,t)}function H(e,t){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},H(e,t)}function I(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){P(e,j)||x(e,j,R({},e[j])),function(e){return e.annotationType_===$}(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_=Ye.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 xt(this)},t.reportChanged=function(){wt(),_t(this),pt.stateVersion=pt.stateVersion<Number.MAX_SAFE_INTEGER?pt.stateVersion+1:Number.MIN_SAFE_INTEGER,Et()},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&&$t(r,t),n!==m&&Xt(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 Y(e,t,n){return Sn(e)?e:Array.isArray(e)?Me.array(e,{name:n}):w(e)?Me.object(e,void 0,{name:n}):C(e)?Me.map(e,{name:n}):O(e)?Me.set(e,{name:n}):"function"!=typeof e||Ut(e)||gn(e)?e:E(e)?pn(e):Ft(n,e)}function Z(e){return e}var $="override",X=F({annotationType_:$,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 a=te(e,this,t,n,!1);return s(r,t,a),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 a,i,l,s,c,u,h,d;void 0===o&&(o=pt.safeDescriptors),d=r,t.annotationType_,d.value;var f,p=r.value;return null!=(a=t.options_)&&a.bound&&(p=p.bind(null!=(f=e.proxy_)?f:e.target_)),{value:Ve(null!=(i=null==(l=t.options_)?void 0:l.name)?i:n.toString(),p,null!=(s=null==(c=t.options_)?void 0:c.autoAction)&&s,null!=(u=t.options_)&&u.bound?null!=(h=e.proxy_)?h: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&&(!P(e.target_,t)||!gn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(gn(n.value))return 1;var a=ae(e,this,0,n,!1,!1);return s(r,t,a),2}function oe(e,t,n,r){var o,a=ae(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,a,r)}function ae(e,t,n,r,o,a){var i;void 0===a&&(a=pt.safeDescriptors),i=r,t.annotationType_,i.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:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function ie(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,R({},this.options_,{get:n.get,set:n.set}),r);var o}function ce(e,t){return{annotationType_:e,options_:t,make_:ue,extend_:he}}function ue(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function he(e,t,n,r){var o,a;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(a=this.options_)?void 0:a.enhancer)?o:Y,r)}var de="true",fe=pe();function pe(e){return{annotationType_:de,options_:e,make_:ve,extend_:me}}function ve(e,t,n,r){var o,a,i,l;if(n.get)return Ae.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 E(n.value)?(null!=(l=this.options_)&&l.autoBind?pn.bound:pn).make_(e,t,n,r):(null!=(i=this.options_)&&i.autoBind?Ft.bound:Ft).make_(e,t,n,r);var u,h=!1===(null==(o=this.options_)?void 0:o.deep)?Me.ref:Me;return"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),h.make_(e,t,n,r)}function me(e,t,n,r){var o,a,i;return n.get?Ae.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!=(i=e.proxy_)?i:e.target_)),(!1===(null==(a=this.options_)?void 0:a.deep)?Me.ref:Me).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:Z}),Ee=ce("observable.shallow",{enhancer:function(e,t,n){return null==e||Pr(e)||fr(e)||wr(e)||_r(e)?e:Array.isArray(e)?Me.array(e,{name:n,deep:!1}):w(e)?Me.object(e,void 0,{name:n,deep:!1}):C(e)?Me.map(e,{name:n,deep:!1}):O(e)?Me.set(e,{name:n,deep:!1}):void 0}}),xe=ce("observable.struct",{enhancer:function(e,t){return Wr(e,t)?t:e}}),_e=F(be);function Se(e){return!0===e.deep?Y:!1===e.deep?Z:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:Y;var t,n,r}function Ce(e,t,n){if(!y(t))return Sn(e)?e:w(e)?Me.object(e,t,n):Array.isArray(e)?Me.array(e,t):C(e)?Me.map(e,t):O(e)?Me.set(e,t):"object"==typeof e&&null!==e?e:Me.box(e,t);B(e,t,be)}i(Ce,_e);var Oe,ze,Me=i(Ce,{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 xr(e,Se(n),n.name)},object:function(e,t,n){return rn(!1===pt.useProxies||!1===(null==n?void 0:n.proxy)?zr({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=zr(e,t))[U]).proxy_)?r:n.proxy_=new Proxy(e,Gn)}({},n),e,t)},ref:F(we),shallow:F(Ee),deep:_e,struct:F(xe)}),Te="computed",Pe=ie(Te),ke=ie("computed.struct",{equals:K.structural}),Ae=function(e,t){if(y(t))return B(e,t,Pe);if(w(e))return F(ie(Te,e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new $e(n)};Object.assign(Ae,Pe),Ae.struct=F(ke);var Le,Re=0,Ne=1,He=null!=(Oe=null==(ze=l((function(){}),"name"))?void 0:ze.configurable)&&Oe,Ie={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,He&&(Ie.value=e,s(o,"name",Ie)),o}function De(e,t,n,r,o){var a=je(0,t);try{return n.apply(r,o)}catch(e){throw a.error_=e,e}finally{Fe(a)}}function je(e,t,n,r){var o=pt.trackingDerivation,a=!t||!o;wt();var i=pt.allowStateChanges;a&&(at(),i=Ue(!0));var l={runAsAction_:a,prevDerivation_:o,prevAllowStateChanges_:i,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ne++,parentActionId_:Re};return Re=l.actionId_,l}function Fe(e){Re!==e.actionId_&&r(30),Re=e.parentActionId_,void 0!==e.error_&&(pt.suppressReactionErrors=!0),Ge(e.prevAllowStateChanges_),st(e.prevAllowStateReads_),Et(),e.runAsAction_&&it(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}Le=Symbol.toPrimitive;var qe,We=function(e){function t(t,n,r,o,a){var i;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===a&&(a=K.default),(i=e.call(this,r)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=r,i.equals=a,i.value_=n(t,void 0,r),i}N(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(),Yn(this)&&$n(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}),Zn(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 T(this.get())},n[Le]=function(){return this.valueOf()},t}(G),Ke=S("ObservableValue",We);qe=Symbol.toPrimitive;var Ye,Ze,$e=function(){function e(e){this.dependenciesState_=Ye.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_=Ye.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_=Ze.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_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.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(xt(this),et(this)){var e=pt.trackingContext;this.keepAlive_&&!e&&(pt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)})))}(this),pt.trackingContext=e}}else et(this)&&(this.warnAboutUntrackedRead_(),wt(),this.value_=this.computeValue_(!1),Et());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_===Ye.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 a=n.get();if(!r||t){var i=at();e({observableKind:"computed",debugObjectName:n.name_,type:tr,object:n,newValue:a,oldValue:o}),it(i)}r=!1,o=a}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return T(this.get())},t[qe]=function(){return this.valueOf()},e}(),Xe=S("ComputedValue",$e);!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_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Ze||(Ze={}));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 Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,a=0;a<o;a++){var i=r[a];if(Xe(i)){if(pt.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return it(n),st(t),!0}if(e.dependenciesState_===Ye.STALE_)return it(n),st(t),!0}}return ct(e),it(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,a=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=a,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,o=0,a=e.unboundDepsCount_,i=0;i<a;i++){var l=n[i];0===l.diffValue_&&(l.diffValue_=1,o!==i&&(n[o]=l),o++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=o,e.newObserving_=null,a=t.length;a--;){var s=t[a];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!==Ye.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_=Ye.NOT_TRACKING_}function ot(e){var t=at();try{return e()}finally{it(t)}}function at(){var e=pt.trackingDerivation;return pt.trackingDerivation=null,e}function it(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_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var ut=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],ht=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},dt=!0,ft=!1,pt=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(dt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ht).version&&(dt=!1),dt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ht):(setTimeout((function(){ft||r(35)}),1),new ht)}();function vt(){return pt}function mt(){var e=new ht;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 Et(){if(0==--pt.inBatch){Mt();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 $e&&n.suspend_())}pt.pendingUnobservations=[]}}function xt(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 _t(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.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_=Ye.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_=Ze.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),Mt())},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,Et()}},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),Et()}},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),Et()))},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 Ct(e){return pt.globalReactionErrorHandlers.push(e),function(){var t=pt.globalReactionErrorHandlers.indexOf(e);t>=0&&pt.globalReactionErrorHandlers.splice(t,1)}}var Ot=100,zt=function(e){return e()};function Mt(){pt.inBatch>0||pt.isRunningReactions||zt(Tt)}function Tt(){pt.isRunningReactions=!0;for(var e=pt.pendingReactions,t=0;e.length>0;){++t===Ot&&(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 Pt=S("Reaction",St);function kt(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var At="action",Lt="autoAction",Rt="<unnamed action>",Nt=Q(At),Ht=Q("action.bound",{bound:!0}),It=Q(Lt,{autoAction:!0}),Vt=Q("autoAction.bound",{autoAction:!0,bound:!0});function Dt(e){return function(t,n){return g(t)?Ve(t.name||Rt,t,e):g(n)?Ve(t,n,e):y(n)?B(t,n,e?It:Nt):y(t)?F(Q(e?Lt:At,{name:t,autoAction:e})):void 0}}var jt=Dt(!1);Object.assign(jt,Nt);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=h);var o,a=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var i=Wt(t),l=!1;o=new St(a,(function(){l||(l=!0,i((function(){l=!1,o.isDisposed_||o.track(s)})))}),t.onError,t.requiresObservable)}else o=new St(a,(function(){this.track(s)}),t.onError,t.requiresObservable);function s(){e(o)}return o.schedule_(),o.getDisposer_()}Object.assign(Ft,It),jt.bound=F(Ht),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=h);var o,a,i,l,s=null!=(r=n.name)?r:"Reaction",c=jt(s,n.onError?(o=n.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){o.call(this,e)}}):t),u=!n.scheduler&&!n.delay,d=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,d(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(i,n),l=i,i=n})),(f&&n.fireImmediately||!f&&t)&&c(i,l,m),f=!1}}return m.schedule_(),m.getDisposer_()}var Yt="onBO",Zt="onBUO";function $t(e,t,n){return Qt(Yt,e,t,n)}function Xt(e,t,n){return Qt(Zt,e,t,n)}function Qt(e,t,n,r){var o="function"==typeof r?Br(t,n):Br(t),a=g(r)?r:n,i=e+"L";return o[i]?o[i].add(a):o[i]=new Set([a]),function(){var e=o[i];e&&(e.delete(a),0===e.size&&delete o[i])}}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,dt){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),pt=new ht}}();var t,n,o=e.useProxies,i=e.enforceActions;if(void 0!==o&&(pt.useProxies=o===en||o!==Jt&&"undefined"!=typeof Proxy),"ifavailable"===o&&(pt.verifyProxies=!0),void 0!==i){var l=i===en?en:i===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=zt,zt=function(e){return t((function(){return n(e)}))})}function rn(e,t,n,r){var o=k(t),a=zr(e,r)[U];wt();try{M(o).forEach((function(e){a.extend_(e,o[e],!n||!(e in n)||n[e])}))}finally{Et()}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 hn(e){return e instanceof un}un.prototype=Object.create(Error.prototype);var dn=ne("flow"),fn=ne("flow.bound",{bound:!0}),pn=Object.assign((function(e,t){if(y(t))return B(e,t,dn);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++cn,a=jt(r+" - runid: "+o+" - init",n).apply(this,t),i=void 0,l=new Promise((function(t,n){var l=0;function s(e){var t;i=void 0;try{t=jt(r+" - runid: "+o+" - yield "+l++,a.next).call(a,e)}catch(e){return n(e)}u(t)}function c(e){var t;i=void 0;try{t=jt(r+" - runid: "+o+" - yield "+l++,a.throw).call(a,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):(i=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{i&&vn(i);var t=a.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}),dn);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):Pr(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 Xe(e);if(!1===Pr(e))return!1;if(!e[U].values_.has(t))return!1;var n=Br(e,t);return Xe(n)}function En(e){return wn(e)}function xn(e,t){return wn(e,t)}function _n(e,t){return!!e&&(void 0!==t?!!Pr(e)&&e[U].values_.has(t):Pr(e)||!!e[U]||q(e)||Pt(e)||Xe(e))}function Sn(e){return _n(e)}function Cn(e,t){return _n(e,t)}function On(e){return Pr(e)?e[U].keys_():wr(e)||_r(e)?Array.from(e.keys()):fr(e)?e.map((function(e,t){return t})):void r(5)}function zn(e){return Pr(e)?On(e).map((function(t){return e[t]})):wr(e)?On(e).map((function(t){return e.get(t)})):_r(e)?Array.from(e.values()):fr(e)?e.slice():void r(6)}function Mn(e){return Pr(e)?On(e).map((function(t){return[t,e[t]]})):wr(e)?On(e).map((function(t){return[t,e.get(t)]})):_r(e)?Array.from(e.entries()):fr(e)?e.map((function(e,t){return[t,e]})):void r(7)}function Tn(e,t,n){if(2!==arguments.length||_r(e))Pr(e)?e[U].set_(t,n):wr(e)?e.set(t,n):_r(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,Et()):r(8);else{wt();var o=t;try{for(var a in o)Tn(e,a,o[a])}finally{Et()}}}function Pn(e,t){Pr(e)?e[U].delete_(t):wr(e)||_r(e)?e.delete(t):fr(e)?("number"!=typeof t&&(t=parseInt(t,10)),e.splice(t,1)):r(9)}function kn(e,t){return Pr(e)?e[U].has_(t):wr(e)||_r(e)?e.has(t):fr(e)?t>=0&&t<e.length:void r(10)}function An(e,t){if(kn(e,t))return Pr(e)?e[U].get_(t):wr(e)?e.get(t):fr(e)?e[t]:void r(11)}function Ln(e,t,n){if(Pr(e))return e[U].defineProperty_(t,n);r(39)}function Rn(e){if(Pr(e))return e[U].ownKeys_();r(38)}function Nn(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 Hn(e,t,n){return e.set(t,n),n}function In(e,t){if(null==e||"object"!=typeof e||e instanceof Date||!Sn(e))return e;if(Ke(e)||Xe(e))return In(e.get(),t);if(t.has(e))return t.get(e);if(fr(e)){var n=Hn(t,e,new Array(e.length));return e.forEach((function(e,r){n[r]=In(e,t)})),n}if(_r(e)){var r=Hn(t,e,new Set);return e.forEach((function(e){r.add(In(e,t))})),r}if(wr(e)){var o=Hn(t,e,new Map);return e.forEach((function(e,n){o.set(n,In(e,t))})),o}var a=Hn(t,e,{});return Rn(e).forEach((function(n){c.propertyIsEnumerable.call(e,n)&&(a[n]=In(e[n],t))})),a}function Vn(e,t){return In(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 a=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(!a)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");a.isTracing_===Ze.NONE&&console.log("[mobx.trace] '"+a.name_+"' tracing enabled"),a.isTracing_=e?Ze.BREAK:Ze.LOG}function jn(e,t){void 0===t&&(t=void 0),wt();try{return e.apply(t)}finally{Et()}}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 a=new Promise((function(n,a){var i,l=Bn(e,n,R({},t,{onError:a}));r=function(){l(),a(new Error("WHEN_CANCELLED"))},o=function(){l(),a(new Error("WHEN_ABORTED"))},null==t||null==(i=t.signal)||null==i.addEventListener||i.addEventListener("abort",o)})).finally((function(){var e;return null==t||null==(e=t.signal)||null==e.removeEventListener?void 0:e.removeEventListener("abort",o)}));return a.cancel=r,a}(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(!i[U].isDisposed_){if(i(),!n.onError)throw o;n.onError(o)}}),n.timeout)}n.name="When";var a=Ve("When-effect",t),i=Gt((function(t){Be(!1,e)&&(t.dispose(),r&&clearTimeout(r),a())}),n);return i}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=at();try{for(var o=[].concat(e.interceptors_||[]),a=0,i=o.length;a<i&&((t=o[a](t))&&!t.type&&r(14),t);a++);return t}finally{it(n)}}function Yn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Zn(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=at(),r=e.changeListeners_;if(r){for(var o=0,a=(r=r.slice()).length;o<a;o++)r[o](t);it(n)}}function Xn(e,t,n){var r=zr(e,n)[U];wt();try{null!=t||(t=function(e){return P(e,j)||x(e,j,R({},e[j])),e[j]}(e)),M(t).forEach((function(e){return r.make_(e,t[e])}))}finally{Et()}return e}var Qn=Symbol("mobx-keys");function Jn(e,t,n){if(w(e))return rn(e,e,t,n);var r=zr(e,n)[U];if(!e[Qn]){var o=Object.getPrototypeOf(e),a=new Set([].concat(M(e),M(o)));a.delete("constructor"),a.delete(U),x(o,Qn,a)}wt();try{e[Qn].forEach((function(e){return r.make_(e,!t||!(e in t)||t[e])}))}finally{Et()}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)?P(ar,t)?ar[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}),Zn(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 a=Kn(this,{object:this.proxy_,type:er,index:e,removedCount:t,added:n});if(!a)return u;t=a.removedCount,n=a.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var i=n.length-t;this.updateArrayLength_(o,i)}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),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var l=0;l<a.length;l++)this.values_[e+n.length+l]=a[l];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=Yn(this),a=o||r?{observableKind:"array",object:this.proxy_,type:tr,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&$n(this,a)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=Yn(this),a=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&&$n(this,a)},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 a=Kn(this,{type:tr,object:this.proxy_,index:e,newValue:t});if(!a)return;t=a.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var i=new Array(e+1-n.length),l=0;l<i.length-1;l++)i[l]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},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);_(o.values_,U,o);var a=new Proxy(o.values_,nr);if(o.proxy_=a,e&&e.length){var i=Ue(!0);o.spliceWithArray_(0,0,e),Ge(i)}return a}var ar={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 a=this[U];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(e);case 2:return a.spliceWithArray_(e,t)}return a.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 ir(e,t){"function"==typeof Array.prototype[e]&&(ar[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)}}ir("concat",lr),ir("flat",lr),ir("includes",lr),ir("indexOf",lr),ir("join",lr),ir("lastIndexOf",lr),ir("slice",lr),ir("toString",lr),ir("toLocaleString",lr),ir("every",sr),ir("filter",sr),ir("find",sr),ir("findIndex",sr),ir("flatMap",sr),ir("forEach",sr),ir("map",sr),ir("some",sr),ir("reduce",cr),ir("reduceRight",cr);var ur,hr,dr=S("ObservableArrayAdministration",rr);function fr(e){return b(e)&&dr(e[U])}var pr={},vr="add",mr="delete";ur=Symbol.iterator,hr=Symbol.toStringTag;var gr,yr,br=function(){function e(e,t,n){var o=this;void 0===t&&(t=Y),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),Z,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Xt(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=Yn(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&&$n(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=Yn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:tr,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_,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=Yn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:vr,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 Zr({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 Zr({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,a=o[0],i=o[1];e.call(t,i,a,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(!z)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)})):C(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(C(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),a=new Map,i=!1,l=D(t.data_.keys());!(n=l()).done;){var s=n.value;if(!o.has(s))if(t.delete(s))i=!0;else{var c=t.data_.get(s);a.set(s,c)}}for(var u,h=D(o.entries());!(u=h()).done;){var d=u.value,f=d[0],p=d[1],v=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var m=t.data_.get(f);a.set(f,m),v||(i=!0)}}if(!i)if(t.data_.size!==a.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=a.keys(),b=g.next(),E=y.next();!b.done;){if(b.value!==E.value){t.keysAtom_.reportChanged();break}b=g.next(),E=y.next()}t.data_=a})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Zn(this,e)},t.intercept_=function(e){return Wn(this,e)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:hr,get:function(){return"Map"}}]),e}(),wr=S("ObservableMap",br),Er={};gr=Symbol.iterator,yr=Symbol.toStringTag;var xr=function(){function e(e,t,n){void 0===t&&(t=Y),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[U]=Er,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=Yn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:vr,object:this,newValue:e}:null;n&&$n(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=Yn(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&&$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 Zr({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 Zr({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return _r(e)&&(e=new Set(e)),jn((function(){Array.isArray(e)||O(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 Zn(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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:yr,get:function(){return"Set"}}]),e}(),_r=S("ObservableSet",xr),Sr=Object.create(null),Cr="remove",Or=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 $e)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=Yn(this),a=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&&$n(this,a)}return!0},t.get_=function(e){return pt.trackingDerivation&&!P(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),P(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_,Z,"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 a=l(o,e);if(a){var i=t.make_(this,e,a,o);if(0===i)return;if(1===i)break}o=Object.getPrototypeOf(o)}kr(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&&kr(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 a=o.newValue;t.value!==a&&(t=R({},t,{value:a}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else s(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Et()}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 a=Kn(this,{object:this.proxy_||this.target_,name:e,type:vr,newValue:t});if(!a)return null;t=a.newValue}var i=Tr(e),l={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.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{Et()}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=Tr(e),a={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else s(this.target_,e,a);this.values_.set(e,new $e(t)),this.notifyPropertyAddition_(e,void 0)}finally{Et()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),!P(this.target_,e))return!0;if(qn(this)&&!Kn(this,{object:this.proxy_||this.target_,name:e,type:Cr}))return null;try{var n,r;wt();var o,a=Yn(this),i=this.values_.get(e),s=void 0;if(!i&&a&&(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(i&&(this.values_.delete(e),i instanceof We&&(s=i.value_),_t(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),a){var c={type:Cr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};a&&$n(this,c)}}finally{Et()}return!0},t.observe_=function(e,t){return Zn(this,e)},t.intercept_=function(e){return Wn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=Yn(this);if(o){var a=o?{type:vr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&$n(this,a)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),M(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function zr(e,t){var n;if(P(e,U))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Or(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:pe(e):void 0}(t));return x(e,U,o),e}var Mr=S("ObservableObjectAdministration",Or);function Tr(e){return Sr[e]||(Sr[e]={get:function(){return this[U].getObservablePropValue_(e)},set:function(t){return this[U].setObservablePropValue_(e,t)}})}function Pr(e){return!!b(e)&&Mr(e[U])}function kr(e,t,n){var r;null==(r=e.target_[j])||delete r[n]}var Ar,Lr,Rr=Vr(0),Nr=0,Hr=function(){};Ar=Hr,Lr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Ar.prototype,Lr):void 0!==Ar.prototype.__proto__?Ar.prototype.__proto__=Lr:Ar.prototype=Lr;var Ir=function(e,t,n){function r(t,n,r,o){var a;void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),a=e.call(this)||this;var i=new rr(r,n,o,!0);if(i.proxy_=I(a),_(I(a),U,i),t&&t.length){var l=Ue(!0);a.spliceWithArray(0,0,t),Ge(l)}return Object.defineProperty(I(a),"0",Rr),a}N(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 Zr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(r,[{key:"length",get:function(){return this[U].getArrayLength_()},set:function(e){this[U].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Hr,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(Ir.prototype,""+e,Vr(e))}function jr(e){if(e>Nr){for(var t=Nr;t<e+100;t++)Dr(t);Nr=e}}function Fr(e,t,n){return new Ir(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(_r(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(Pr(e)){if(!t)return r(26);var o=e[U].values_.get(t);return o||r(27,t,Gr(e)),o}if(q(e)||Xe(e)||Pt(e))return e}else if(g(e)&&Pt(e[U]))return e[U];r(28)}function Ur(e,t){return e||r(29),void 0!==t?Ur(Br(e,t)):q(e)||Xe(e)||Pt(e)||wr(e)||_r(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=Pr(e)||wr(e)||_r(e)?Ur(e):Br(e)}return n.name_}Object.entries(ar).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(Ir.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 a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof t)return!1;var i=qr.call(e);if(i!==qr.call(t))return!1;switch(i){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=Yr(e),t=Yr(t);var l="[object Array]"===i;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 h,d=Object.keys(e);if(u=d.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!P(t,h=d[u])||!Kr(e[h],t[h],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function Yr(e){return fr(e)?e.slice():C(e)||wr(e)||O(e)||_r(e)?Array.from(e.entries()):e}function Zr(e){return e[Symbol.iterator]=$r,e}function $r(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:kt,extras:{getDebugName:Gr},$mobx:U})},4244: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))}},609:(e,t,n)=>{"use strict";var r=n(4289),o=n(5559),a=n(4244),i=n(5624),l=n(2281),s=o(i(),Object);r(s,{getPolyfill:i,implementation:a,shim:l}),e.exports=s},5624:(e,t,n)=>{"use strict";var r=n(4244);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},2281:(e,t,n)=>{"use strict";var r=n(5624),o=n(4289);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8987:(e,t,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=n(1414),l=Object.prototype.propertyIsEnumerable,s=!l.call({toString:null},"toString"),c=l.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(e){var t=e.constructor;return t&&t.prototype===e},d={$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(!d["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{h(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]"===a.call(e),r=i(e),l=t&&"[object String]"===a.call(e),d=[];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)d.push(String(v));if(r&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var g in e)p&&"prototype"===g||!o.call(e,g)||d.push(String(g));if(s)for(var y=function(e){if("undefined"==typeof window||!f)return h(e);try{return h(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)y&&"constructor"===u[b]||!o.call(e,u[b])||d.push(u[b]);return d}}e.exports=r},2215:(e,t,n)=>{"use strict";var r=Array.prototype.slice,o=n(1414),a=Object.keys,i=a?function(e){return a(e)}:n(8987),l=Object.keys;i.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=i;return Object.keys||i},e.exports=i},1414: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}},7890: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(2107));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()}},8498: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(7294)),a=n(242),i=n(2540),l=n(3675),s=n(8444),c=n(2900),u=n(3485),h=n(6904),d=n(1922),f=(0,a.observer)((e=>{const{element:t,store:n}=e,{children:r}=t,a=t.selectable||"admin"===n.role;return o.default.createElement(h.Group,{opacity:t.opacity,listening:a},r.map((t=>o.default.createElement(v,Object.assign({},e,{key:t.id,store:n,element:t})))))})),p={text:i.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,a.observer)((e=>{let t=p[e.element.type];return"text"===e.element.type&&d.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(7294)),a=n(242),i=n(6904);t.Highlighter=(0,a.observer)((({element:e})=>o.default.createElement(i.Rect,{name:"highlighter",x:e.x,y:e.y,rotation:e.rotation,width:e.width,height:e.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",a=e=>{n=e;try{localStorage.setItem(o,JSON.stringify(e))}catch(e){}};t.handleHotkey=function(e,t){var i,l,s,c,u,h,d,f;if("INPUT"===(null===(i=document.activeElement)||void 0===i?void 0:i.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,a(t.selectedElements.map((e=>e.toJSON())))),m&&"KeyX"===e.code&&(e.preventDefault(),r=null===(h=t.activePage)||void 0===h?void 0:h.id,a(t.selectedElements.map((e=>e.toJSON()))),t.deleteElements(p)),m&&"KeyV"===e.code){e.preventDefault();let i=0;r===(null===(d=t.activePage)||void 0===d?void 0:d.id)&&(i=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+=i,n.y+=i;const o=null===(r=t.activePage)||void 0===r?void 0:r.addElement(n);o&&e.push(o.id)})),a(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})})))}},8444: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}),a=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},i=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=i(n(7294)),s=n(242),c=n(6904),u=i(n(6095)),h=i(n(2107)),d=a(n(8949)),f=n(1922),p=n(7890),v=n(2540),m=n(2147),g=n(8474),y=n(9365),b=n(6755),w=i(n(8165)),E=n(1284),x=n(7415),_=a(n(2275)),S=n(4077);t.quillRef=d.observable({enabled:!1,currentFormat:{},editor:d.observable.object({instance:null},{},{deep:!1})});const C=(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;
}
`,O=({html:e,onBlur:n,onChange:r,element:o})=>{const a=l.default.useRef(null);l.default.useEffect((()=>{if(!a.current)return;const e=new u.default(a.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=a.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())})),a.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 i=r.getSelection();if((null===(n=a.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(),i&&(r.setSelection(i.index,i.length),t.quillRef.currentFormat=r.getFormat())}}),[o.text]);const i=(0,v.useTextColor)(o).fill;return l.default.createElement(C,{ref:a,style:{fontSize:o.fontSize,color:i,width:o.width,fontFamily:o.fontFamily,lineHeight:o.lineHeight,letterSpacing:o.letterSpacing+"rem",textAlign:o.align},dir:(0,v.getDir)((0,x.removeTags)(o.text))})};function z(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 M(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,x.removeTags)(e.text))}">${e.text}</div>`}const T=/^((?!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(),[a,i]=l.default.useState(!1),[s,u]=l.default.useState(!0),[w,x]=l.default.useState(!1),[P,k]=l.default.useState(!1),A=l.default.useRef(e.height),L=t.selectedElements.indexOf(e)>=0,R=e.fontSize/3,{textVerticalResizeEnabled:N}=f.flags,H=(0,v.usePrevious)(e.fontFamily),[I]=(0,v.useFontLoader)(t,e.fontFamily);(0,g.useFadeIn)(n);const V=I?e.fontFamily:H!==e.fontFamily?H:"Arial",D=(0,v.useTextColor)(e).fill,j=M(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,I);l.default.useEffect((()=>{if(!I)return;if(!e.height)return void e.set({height:B});const{textOverflow:n}=f.flags;if("change-font-size"!==n||a)"resize"===n&&(N&&e.height<B&&t.history.ignore((()=>{e.set({height:B})})),N||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=M(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((()=>{a||w||(async()=>{U.current++;const n=U.current,r=(0,E.incrementLoader)(`text ${e.id}`);u(!0);let a=null;const i=T?5:1;for(let o=0;o<i;o++){if(a=await(0,m.htmlToCanvas)({html:j,width:e.width||1,height:e.height||B||1,fontFamily:V,padding:R,pixelRatio:t._elementsPixelRatio,font:t.fonts.find((e=>e.fontFamily===V))||_.globalFonts.find((e=>e.fontFamily===V))}),n!==U.current)return void r();z(a)&&T&&await new Promise((e=>setTimeout(e,50*(o+1))))}a?(o(a),u(!1),h.default.Util.requestAnimFrame(r)):r()})()}),[j,a,B,w,V,e.height,t._elementsPixelRatio]);const G=a||s;l.default.useEffect((()=>d.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:I,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&&L:e.draggable,preventDefault:!K||L,opacity:w?0:e.opacity,hideInExport:!e.showInExport,onMouseEnter:()=>{k(!0)},onMouseLeave:()=>{k(!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&&x(!0)},onDblTap:()=>{e.contentEditable&&x(!0)},onTransformStart:t=>{i(!0),A.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(),a="middle-left"===o||"middle-right"===o,i="top-center"===o||"bottom-center"===o,l=r.scaleX();if(a){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,A.current);e.set({height:t})}e.set({width:n,x:r.x(),y:r.y()})}else if(i){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=>{i(!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:R,offsetY:R-q,listening:!1,rotation:e.rotation,width:e.width+2*R,height:e.height+2*R,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(C,{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(O,{html:j,element:e,onChange:t=>{e.set({text:t})},onBlur:e=>{x(!1)}}))),(L||P)&&l.default.createElement(y.Highlighter,{element:e}))}))},3675: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}),a=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},i=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=i(n(7294)),s=n(242),c=n(8949),u=n(6904),h=i(n(4420)),d=i(n(2107)),f=n(6755),p=n(9365),v=n(1284),m=a(n(4824)),g=n(1922),y=n(7890),b=n(8474),w=n(4077);function E(){return document.createElement("canvas")}const x=E(),_=(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 d.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}))})),S=(0,s.observer)((({element:e})=>{const t="Can not load the image...",n=Math.max(10,Math.min(30,e.width/t.length));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:t,fontSize:n,width:e.width,height:e.height,align:"center",fill:"white",verticalAlign:"middle",padding:5}))}));let C=h.default;t.setImageLoaderHook=e=>{C=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,a]=l.default.useState(!1),i=l.default.useRef(null),s=l.default.useRef(null),[h,v]=l.default.useState(!1),O=n.selectedElements.indexOf(e)>=0,[z,M]=(e=>{const[t,n]=l.default.useReducer((e=>e+1),0),r=l.default.useRef("loading"),o=l.default.useRef(e.src),a=l.default.useRef(e.src);return a.current!==e.src&&(a.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 a=await m.urlToString(e.src),i=m.fixSize(a),l=m.replaceColors(i,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),[T,P]=C(z,"anonymous"),k="svg"!==e.type||"loaded"===M?P:"loading";(0,t.useImageLoader)(k,e.id);const A=(({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:T,status:P,type:e.type}),L=((e,n)=>{const[r,o]=C(e.maskSrc,"anonymous"),a=e.maskSrc?o:"loaded";return(0,t.useImageLoader)(a,e.id+"-mask"),l.default.useMemo((()=>{if(!r)return n;if(!n||!n.width||!n.height)return n;const t=E();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 a=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,a.x,a.y,a.width,a.height,0,0,n.width,n.height),t}),[n,r,e.width,e.height])})(e,((e,t,n)=>{const r=l.default.useMemo((()=>{var r,o;const{flipX:a,flipY:i}=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(!a&&!i&&!s)return t;if(!t||!t.width||!t.height)return null;const c=E();let u=1;"svg"===e.type&&(u=Math.max(e.width/t.width*n,e.height/t.height*n)),c.width=Math.max(t.width*u,1),c.height=Math.max(t.height*u,1);let h=a?-c.width:0,d=i?-c.height:0;return null===(r=c.getContext("2d"))||void 0===r||r.scale(a?-1:1,i?-1:1),null===(o=c.getContext("2d"))||void 0===o||o.drawImage(t,h,d,c.width,c.height),c}),[e.maskSrc,e.flipX,e.flipY,t,e.width,e.height,n]);return l.default.useEffect((()=>()=>{r&&"CANVAS"===r.nodeName&&d.default.Util.releaseCanvas(r)}),[r]),r})(e,T||A,n._elementsPixelRatio))||x;let{cropX:R,cropY:N,cropWidth:H,cropHeight:I}=e;"loaded"!==P&&(R=N=0,H=I=1);const V=L.width*H,D=L.height*I,j=e.width/e.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:L.width*R,y:L.height*N,width:F,height:B},W=null!==(r=e.cornerRadius)&&void 0!==r?r:0;let K=((e,n,r,o)=>{const a=(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||""),[i,s]=C(a,"anonymous"),c=e.clipSrc?s:"loaded";(0,t.useImageLoader)(c,e.id+"-clip");const u=l.default.useMemo((()=>{if(n&&i)return E()}),[n,i]);return l.default.useLayoutEffect((()=>{var t;if(!i)return;if(!n||!n.width||!n.height)return;if(!i||!i.width||!i.height)return;if(!u)return;const o=E(),a=Math.max(e.width/i.width*r,e.height/i.height*r);o.width=i.width*a,o.height=i.height*a,null===(t=o.getContext("2d"))||void 0===t||t.drawImage(i,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),d.default.Util.releaseCanvas(o),l.globalCompositeOperation="source-in",l.drawImage(n,0,0,u.width,u.height),l.restore())}),[u,n,i,e.width,e.height,r,...o]),e.clipSrc&&i?u:n})(e,((e,t,n,r,o=0,a=!1)=>{const i=Math.floor(Math.max(e.width*r,1)),s=Math.floor(Math.max(e.height*r,1)),c=Math.min(o*r,i/2,s/2),u=Math.max(e.width/n.width,e.height/n.height)*r,h=e.page._exporting&&g.flags.imageDownScalingEnabled&&u<1&&!a,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&&!h?void 0:E()}),[t,c,h,f]);return l.default.useLayoutEffect((()=>{if(!p||!t)return;p.width=i,p.height=s;const e=p.getContext("2d");if(!e)return;c&&(e.beginPath(),e.moveTo(c,0),e.lineTo(i-c,0),e.arc(i-c,c,c,3*Math.PI/2,0,!1),e.lineTo(i,s-c),e.arc(i-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=h?function(e,t){var n,r;const o=E();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 a=function(e,t,n,r,o,a,i){for(var l=new ImageData(t,n),s=new Int32Array(e.data.buffer),c=e.width,u=new Int32Array(l.data.buffer),h=l.width,d=t/a,f=n/i,p=Math.round(1/d),v=Math.round(1/f),m=p*v,g=0;g<l.height;g++)for(var y=0;y<h;y++){for(var b=0+Math.round(y/d)+(0+Math.round(g/f))*c,w=0,E=0,x=0,_=0,S=0;S<v;S++)for(var C=0;C<p;C++){var O=s[b+C+S*c];w+=O<<24>>>24,E+=O<<16>>>24,x+=O<<8>>>24,_+=O>>>24}w=Math.round(w/m),E=Math.round(E/m),x=Math.round(x/m),_=Math.round(_/m),u[y+g*h]=_<<24|x<<16|E<<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(a,0,0),o}(t,u):t,o=h?{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,a,e.page._exporting,h]),l.default.useEffect((()=>()=>{p&&"CANVAS"===p.nodeName&&d.default.Util.releaseCanvas(p)}),[p]),p||t})(e,L,q,n._elementsPixelRatio,W,o||e._cropModeEnabled||"svg"===e.type),n._elementsPixelRatio,[q,W,n._elementsPixelRatio]);const Y=Math.max(e.width/F,e.height/B);l.default.useEffect((()=>{var t;if(!e._cropModeEnabled)return;const n=null===(t=i.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)(i.current,e),(0,c.autorun)((()=>{(0,y.applyFilter)(i.current,e)}),{delay:100})}),[L,o,H,I,e._cropModeEnabled]),l.default.useLayoutEffect((()=>{var t;o||e._cropModeEnabled?null===(t=i.current)||void 0===t||t.clearCache():(0,y.applyFilter)(i.current,e)}),[o,e.width,e.height,e._cropModeEnabled]),l.default.useEffect((()=>{(0,y.applyFilter)(i.current,e)}),[e.shadowEnabled,e.shadowBlur,e.cornerRadius,e.shadowColor,e.shadowOffsetX,e.shadowOffsetY,e.shadowOpacity]);const Z=l.default.useRef(null),$=l.default.useRef(null),X=l.default.useRef(null);l.default.useLayoutEffect((()=>{e._cropModeEnabled&&($.current.nodes([Z.current]),X.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),a=Math.min(1,B/r),i=1-o,l=Math.min(i,Math.max(0,Math.round(-t.target.x())/n)),s=1-a,c=Math.min(s,Math.max(0,Math.round(-t.target.y())/r));t.target.setAttrs({x:-l*L.width,y:-c*L.height,scaleX:1,scaleY:1}),e.set({cropX:l,cropY:c,cropWidth:o,cropHeight:a})},J=()=>{"svg"!==e.type&&e.contentEditable&&setTimeout((()=>{e.toggleCropMode(!0)}))},ee="svg"===e.type&&A,te="loading"===P&&!ee,ne="failed"===P,re=!te&&!ne,oe=l.default.useRef({cropX:0,cropY:0,cropWidth:0,cropHeight:0}),ae=re?e.a.opacity:0;(0,b.useFadeIn)(i,ae);const ie=e.selectable||"admin"===n.role,le=(0,w.useMobile)();return l.default.createElement(l.default.Fragment,null,te&&l.default.createElement(_,{element:e}),ne&&l.default.createElement(S,{element:e}),l.default.createElement(u.Image,{ref:i,name:"element",id:e.id,image:K,x:e.x,y:e.y,width:e.width||1,height:e.height||1,rotation:e.rotation,opacity:ae,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,customCrop:q,listening:ie,draggable:le?e.draggable&&O:e.draggable,preventDefault:!le||O,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:()=>{a(!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(),a=Math.abs(r.scaleY()-1)<1e-7?1:r.scaleY();r.scaleX(1),r.scaleY(1);const i=null===(n=t.target.getStage())||void 0===n?void 0:n.findOne("Transformer"),l=1-F/L.width,s=Math.min(l,Math.max(0,e.cropX)),c=1-B/L.height,u=Math.min(c,Math.max(0,e.cropY)),h=i.getActiveAnchor(),d=!(h.indexOf("middle")>=0||h.indexOf("center")>=0),f=!d&&o<1&&oe.current.cropHeight>B/L.height;let p=d?e.cropWidth:e.cropWidth*o;f&&(p=e.cropWidth);const v=!d&&a<1&&oe.current.cropWidth>F/L.width;let m=d?e.cropHeight:e.cropHeight*a;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()*a,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/L.width,cropHeight:B/L.height}),a(!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:ae,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.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:L,ref:s,opacity:.4,draggable:!0,x:-e.cropX*L.width,y:-e.cropY*L.height,onDragMove:Q,onTransform:Q}),l.default.createElement(u.Transformer,{ref:X,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:Z,listening:!1,onTransform:t=>{t.target.x()<-e.cropX*L.width-1e-9&&(t.target.x(-e.cropX*L.width),t.target.scaleX(1)),t.target.y()<-e.cropY*L.height-1e-9&&(t.target.y(-e.cropY*L.height),t.target.scaleY(1));const n=Math.min(1,Math.max(0,e.cropX+t.target.x()/L.width)),r=Math.min(1,Math.max(0,t.target.y()/L.height+e.cropY)),o=t.target.width()*t.target.scaleX(),a=t.target.height()*t.target.scaleY(),i=Math.min(1-n,o/L.width),l=Math.min(1-r,a/L.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:i,cropHeight:l,width:Math.min(o*Y,L.width*(1-n)*Y),height:Math.min(a*Y,L.height*(1-r)*Y)})}}),l.default.createElement(u.Transformer,{ref:$,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}))),(h||O)&&l.default.createElement(p.Highlighter,{element:e}))}))},2900: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(7294)),a=n(242),i=n(6904),l=n(6755),s=n(9365),c=n(8018),u=n(4077);function h({x:e,y:t,width:n,height:r,rotation:o}){const a=o*Math.PI/180,i={x:e+r/2*Math.cos(a+Math.PI/2),y:t+r/2*Math.sin(a+Math.PI/2)};return{middleLeft:i,middleRight:{x:i.x+n*Math.cos(a),y:i.y+n*Math.sin(a)}}}function d(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),a=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:a}}t.getMiddlePoints=h,t.getLinePositionFromMiddlePoints=d;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,a.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(i.Line,Object.assign({points:[3*e.height,2*-e.height,0,0,3*e.height,2*e.height]},n)),"triangle"===t&&o.default.createElement(i.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(i.Line,Object.assign({points:[0,2*-e.height,0,2*e.height],closed:!0},n)),"square"===t&&o.default.createElement(i.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(i.Circle,Object.assign({x:2*e.height,y:0,radius:2*e.height},n)))}));t.LineElement=(0,a.observer)((({element:e,store:t})=>{const n=o.default.useRef(null),r=o.default.useRef(null),a=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:E}=h(e);return(0,c.useAnchorSnap)(r,[n],[b]),(0,c.useAnchorSnap)(a,[n],[b]),o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Line,{ref:n,name:"element",id:e.id,x:e.a.x,y:e.a.y,points:[0,0,e.width,0],offsetY:-e.height/2,strokeWidth:e.height,hitStrokeWidth:Math.max(e.height,20),dash:e.dash.map((t=>t*e.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(i.Group,{x:w.x,y:w.y,rotation:e.rotation},o.default.createElement(p,{element:e,type:e.startHead})),o.default.createElement(i.Group,{x:E.x,y:E.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(i.Group,{visible:b},o.default.createElement(i.Rect,Object.assign({x:w.x,y:w.y,ref:r,name:"line-anchor"},f(t.scale,t),{onDragMove:t=>{const n=d(t.target.position(),E,e.height);e.set({x:n.x,y:n.y,width:n.width,rotation:n.rotation})}})),o.default.createElement(i.Rect,Object.assign({x:E.x,y:E.y,ref:a,name:"line-anchor"},f(t.scale,t),{onDragMove:t=>{const n=d(w,t.target.position(),e.height);e.set({x:n.x,y:n.y,width:n.width,rotation:n.rotation})}})))))}))},8492: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(3507);t.PageControls=(0,a.observer)((({store:e,page:t,xPadding:n,yPadding:r})=>{const a=e.pages.length>1,c=e.pages.indexOf(t);return o.default.createElement("div",{style:{position:"absolute",top:r-40+"px",right:n+"px"}},a&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.moveUp"),disabled:0===c},o.default.createElement(i.Button,{icon:"chevron-up",minimal:!0,disabled:0===c,onClick:()=>{t.setZIndex(c-1)}})),a&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.moveDown"),disabled:c===e.pages.length-1},o.default.createElement(i.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(i.Button,{icon:"duplicate",minimal:!0,onClick:()=>{t.clone()}})),a&&o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.removePage")},o.default.createElement(i.Button,{icon:"trash",minimal:!0,onClick:()=>{e.deletePages([t.id])}})),o.default.createElement(l.Tooltip2,{content:(0,s.t)("workspace.addPage")},o.default.createElement(i.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)}})))}))},1450: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 a=o(n(7294)),i=n(242),l=n(8949),s=n(6904),c=o(n(4420)),u=o(n(2107)),h=o(n(8498)),d=n(8018),f=n(3675),p=n(3021),v=n(8492),m=n(9202),g=n(240),y=n(6392),b=n(1922),w=n(4077),E={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},x={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){x[e]=x[e]||t,Object.assign(x[e],t)};const _=e=>a.default.createElement(s.Rect,Object.assign({},e,{preventDefault:!1})),S=e=>{var{url:t}=e,n=r(e,["url"]);const[o,i]=(0,c.default)(t,"anonymous"),l=o?(0,p.getCrop)(o,{width:n.width,height:n.height},"center-middle"):{};return(0,f.useImageLoader)(i,"background"),a.default.createElement(s.Image,Object.assign({image:o},n,l))},C=e=>a.default.createElement(s.Rect,Object.assign({},e)),O=e=>{const{background:t,scale:n,borderColor:o}=e,i=r(e,["background","scale","borderColor"]),l=a.default.useMemo((()=>!!u.default.Util.colorToRGBA(t)),[t]),c=a.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 a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Rect,Object.assign({fillPatternImage:c},i,{opacity:.1,hideInExport:!0})),l?a.default.createElement(C,Object.assign({fill:t},i)):a.default.createElement(S,Object.assign({url:t},i)))},z=(0,i.observer)((({selection:e})=>e.visible?a.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)),M=(0,i.observer)((({x:e,y:t,width:n,height:r,rotation:o,anchor:i,store:l})=>{const c=(0,g.getClientRect)({x:e,y:t,width:n,height:r,rotation:u.default.Util.radToDeg(o)});if(void 0===i)return null;const h=(r/2+90)*Math.cos(o-Math.PI/2),d=(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 a.default.createElement(a.default.Fragment,null,a.default.createElement(s.Label,{x:(c.minX+c.maxX)/2+h,y:(c.minY+c.maxY)/2+d,offsetX:14,offsetY:14,visible:"rotater"===i},a.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)"}),a.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:8,text:Math.round(u.default.Util.radToDeg(o)).toString()+"°"})),a.default.createElement(s.Label,{x:(c.minX+c.maxX)/2,y:c.maxY+20,visible:"rotater"!==i},a.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)",pointerDirection:"up",pointerHeight:0,pointerWidth:0}),a.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:8,text:f})))})),T=(0,i.observer)((({elements:e,store:t})=>{const n=e.filter((e=>e.alwaysOnTop)),r=e.filter((e=>!e.alwaysOnTop)).concat(n);return a.default.createElement(a.default.Fragment,null,r.map((e=>a.default.createElement(h.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 P=null;t.registerNextDomDrop=e=>{P=e},t.default=(0,i.observer)((({store:e,page:t,width:n,height:r,pageControlsEnabled:o,backColor:c,pageBorderColor:h,activePageBorderColor:f,components:p,bleedColor:S})=>{const C=e.bleedVisible?t.bleed:0,k=t.computedWidth+2*C,A=t.computedHeight+2*C,L=(n-k*e.scale)/2,R=(r-A*e.scale)/2,N=a.default.useRef(null),H=a.default.useRef(null),I=a.default.useRef(null),V=null==o||o,[D,j]=a.default.useState(null),[F,B]=a.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;a.default.useLayoutEffect((()=>{var t,n,r;if(!N.current)return;const o=N.current.getStage(),a=e.selectedShapes.map((e=>e._cropModeEnabled?null:o.findOne("#"+e.id))).filter((e=>e)),i=1===e.selectedElements.length&&(null===(t=e.selectedElements[0])||void 0===t?void 0:t.type)||"many";x[i]?(N.current.setAttrs(Object.assign(Object.assign({},E),x[i])),"svg"!==i&&"image"!==i||e.selectedElements[0].keepRatio||N.current.setAttrs({enabledAnchors:E.enabledAnchors}),"text"===i&&b.flags.textVerticalResizeEnabled&&N.current.setAttrs({enabledAnchors:null===(n=x.text.enabledAnchors)||void 0===n?void 0:n.concat(["bottom-center"])})):N.current.setAttrs(E),G&&N.current.enabledAnchors([]),q&&N.current.rotateEnabled(!1),a.find((e=>null==e?void 0:e.isDragging()))&&a.forEach((e=>{null==e||e.startDrag()})),N.current.nodes(a),null===(r=N.current.getLayer())||void 0===r||r.batchDraw()}),[e.selectedElements,U,G,W,q]);const K=(0,i.useLocalObservable)((()=>({visible:!1,x1:0,y1:0,x2:0,y2:0}))),Y=a.default.useRef(!1),Z=(0,w.useMobile)(),$=(0,l.action)((n=>{var r,o;if(Z)return;Y.current=!1,e.activePage!==t&&t.select();const a=n.target.findAncestor(".elements-container"),i=n.target.findAncestor("Transformer"),l=n.target.findAncestor(".page-abs-container");if(a||i||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))}));a.default.useEffect((()=>{const t=(0,l.action)((e=>{var t,n;if(!K.visible)return;null===(t=H.current)||void 0===t||t.setPointersPositions(e);let r=(null===(n=H.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(!H.current)return;const t=H.current.findOne(".selection"),n=t?t.getClientRect():{width:0,height:0,x:0,y:0};if(n.width&&n.height){const t=[];H.current.find(".element").forEach((r=>{const o=r.getClientRect(),a=e.getElementById(r.id()),i=null==a?void 0:a.draggable,l=null==a?void 0:a.selectable;u.default.Util.haveIntersection(n,o)&&i&&l&&t.push(r.id())})),e.selectElements(t)}K.visible=!1,Y.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 X=t=>{if(Y.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"),a=t.target.findAncestor("Transformer");if(!(n||r||a||o))return void e.selectElements([]);const i=t.target.findAncestor(".element",!0),l=e.getElementById(null==i?void 0:i.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!=e))),!c||n||u||e.selectElements([c])};(0,d.useSnap)(N);const Q=e.activePage===t,J=(null==p?void 0:p.PageControls)||v.PageControls,ee=1/e.scale,te=0/e.scale;return a.default.createElement("div",{ref:I,onDragOver:e=>e.preventDefault(),onDrop:t=>{if(t.preventDefault(),!H.current)return;H.current.setPointersPositions(t);const n=H.current.findOne(".elements-container").getRelativePointerPosition(),r=H.current.getPointerPosition(),o=H.current.getIntersection(r),a=o&&o.findAncestor(".element",!0),i=a?e.getElementById(a.id()):void 0;P&&(P(n,i),P=null)},style:{position:"relative",width:n+"px"},className:"polotno-page-container"+(Q?" active-page":"")},a.default.createElement(s.Stage,{ref:H,width:n,height:r,onClick:X,onTap:X,onMouseDown:$,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 a=(0,g.getTotalClientRect)(e.selectedElements),i=o?e.getElementById(o):{x:0,y:0,width:t.computedWidth,height:t.computedHeight,rotation:0},l=(0,g.getClientRect)(i),s=[];a.minX>l.maxX&&s.push({distance:a.minX-l.maxX,box1:a,box2:l,points:[{x:a.minX,y:a.minY+a.height/2},{x:l.maxX,y:a.minY+a.height/2},{x:l.maxX,y:l.minY+l.height/2}]}),a.maxX<l.minX&&s.push({distance:l.minX-a.maxX,box1:a,box2:l,points:[{x:a.maxX,y:a.minY+a.height/2},{x:l.minX,y:a.minY+a.height/2},{x:l.minX,y:l.minY+l.height/2}]}),a.minY>l.maxY&&s.push({box1:a,box2:l,distance:a.minY-l.maxY,points:[{x:a.minX+a.width/2,y:a.minY},{x:a.minX+a.width/2,y:l.maxY},{x:l.minX+l.width/2,y:l.maxY}]}),a.maxY<l.minY&&s.push({box1:a,box2:l,distance:l.minY-a.maxY,points:[{x:a.minX+a.width/2,y:a.maxY},{x:a.minX+a.width/2,y:l.minY},{x:l.minX+l.width/2,y:l.minY}]}),a.minX>=l.minX&&a.maxX<=l.maxX&&a.minY>=l.minY&&a.maxY<=l.maxY&&(s.push({distance:a.minX-l.minX,box1:a,box2:l,points:[{x:a.minX,y:a.minY+a.height/2},{x:l.minX,y:a.minY+a.height/2},{x:l.minX,y:l.minY+l.height/2}]}),s.push({distance:l.maxX-a.maxX,box1:a,box2:l,points:[{x:a.maxX,y:a.minY+a.height/2},{x:l.maxX,y:a.minY+a.height/2},{x:l.maxX,y:l.minY+l.height/2}]}),s.push({box1:a,box2:l,distance:a.minY-l.minY,points:[{x:a.minX+a.width/2,y:a.minY},{x:a.minX+a.width/2,y:l.minY},{x:l.minX+l.width/2,y:l.minY}]}),s.push({box1:a,box2:l,distance:l.maxY-a.maxY,points:[{x:a.minX+a.width/2,y:a.maxY},{x:a.minX+a.width/2,y:l.maxY},{x:l.minX+l.width/2,y:l.maxY}]})),JSON.stringify(D)!==JSON.stringify(s)&&j(s)},onTouchStart:$,onDragStart:t=>{var n;const r=t.target.findAncestor(".element",!0);if(r){const o=e.getElementById(null==r?void 0:r.id()),a=null==o?void 0:o.top,i=null==a?void 0:a.id;!(e.selectedElementsIds.indexOf(i)>=0)&&i&&(e.selectElements([i]),t.target.stopDrag(),t.target.startDrag(),null===(n=N.current)||void 0===n||n.startDrag(t))}D&&j(null)},pageId:t.id,style:{position:"relative"}},a.default.createElement(s.Layer,null,a.default.createElement(_,{width:n,height:r,fill:c}),a.default.createElement(s.Group,{x:L,y:R,scaleX:e.scale,scaleY:e.scale,name:"page-container"},a.default.createElement(s.Group,{name:"page-background-group",x:C,y:C},a.default.createElement(O,{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})),a.default.createElement(s.Group,{x:C,y:C,name:"elements-container"},a.default.createElement(s.Rect,{name:"elements-area",width:t.computedWidth,height:t.computedHeight,listening:!1}),a.default.createElement(T,{elements:t.children,store:e})),a.default.createElement(s.Rect,{stroke:S,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})),a.default.createElement(s.Line,{name:"workspace-background",points:[0,0,n,0,n,r,0,r,0,0,L,R,L,r-R,n-L,r-R,n-L,R,L,R],listening:!1,closed:!0,fill:c}),a.default.createElement(s.Group,{x:L,y:R,scaleX:e.scale,scaleY:e.scale,name:"page-container"},a.default.createElement(s.Rect,{name:"page-highlight",hideInExport:!0,x:-ee/2-te,y:-ee/2-te,width:k+ee+2*te,height:A+ee+2*te,stroke:Q&&e.pages.length>1?f:h,strokeWidth:2,listening:!1,strokeScaleEnabled:!1})),a.default.createElement(s.Group,{x:L+C*e.scale,y:R+C*e.scale,scaleX:e.scale,scaleY:e.scale,name:"page-abs-container"},a.default.createElement(s.Transformer,{ref:N,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=N.current)||void 0===t?void 0:t.__getNodeRect(),o=null===(n=N.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({})}}),D&&D.map((({points:t,distance:n,box1:r,box2:o},i)=>a.default.createElement(s.Group,{name:"distances-container",hideInExport:!0,key:i,listening:!1},a.default.createElement(s.Rect,Object.assign({},r,{stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1})),a.default.createElement(s.Rect,Object.assign({},o,{stroke:"rgb(0, 161, 255)",strokeWidth:1,strokeScaleEnabled:!1})),a.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}),a.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}),a.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},a.default.createElement(s.Tag,{cornerRadius:5,fill:"rgb(0, 161, 255)",pointerDirection:"down"}),a.default.createElement(s.Text,{align:"center",verticalAlign:"middle",fill:"white",padding:5,text:(0,y.pxToUnitString)({unit:e.unit,dpi:e.dpi,px:n})})))))),a.default.createElement(M,Object.assign({},F,{store:e})),a.default.createElement(z,{selection:K}),m.shouldShowCredit.value&&a.default.createElement(s.Text,{text:"Powered by polotno.dev",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.dev")},onTap:()=>{window.open("https://polotno.dev")}}),a.default.createElement(s.Group,{name:"line-guides"}))),V&&Q&&a.default.createElement(J,{store:e,page:t,xPadding:L,yPadding:R}))}))},429: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(7294)),a=n(240),i=n(6392),l=n(242),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),l=e.activePage,c=(e.bleedVisible&&l.bleed,l.computedWidth*e.scale),u=l.computedHeight*e.scale,h=(t-c)/2,d=(f=t=>(0,i.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit})*e.scale,s.find((e=>f(e)>30))||1e4);var f;const p=(0,i.unitToPx)({unitVal:d,dpi:e.dpi,unit:e.unit})*e.scale,v=Math.round(c/p)+1,m=Math.round(u/p)+1,g=(0,a.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:h+n*p+"px",borderLeft:"1px solid grey",paddingLeft:"2px",width:p+"px"}},"px"===e.unit||d>=1?Math.round(d*n):(d*n).toFixed(1)))),!!e.selectedElements.length&&o.default.createElement("div",{style:{position:"absolute",left:h+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 a;const i=t.computedHeight*e.scale,l=(n-i)/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||d>=1?Math.round(d*n):(d*n).toFixed(1)))),(null===(a=e.selectedElements[0])||void 0===a?void 0:a.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"))}},2540: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}),a=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},i=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=i(n(7294)),s=n(242),c=n(6904),u=n(6755),h=n(8949),d=i(n(2107)),f=n(2152),p=n(1284),v=n(2275),m=n(1922),g=n(7415),y=a(n(9190)),b=n(7890),w=n(8474),E=n(9365),x=n(4077),_=document.createElement("style");_.type="text/css",document.head.appendChild(_);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 C(e){var t="֑-߿‏‫‮יִ-﷽ﹰ-ﻼ";return new RegExp("^[^"+t+"]*?["+t+"]").test(e)}function O(e){e=e.replace(/\s/g,"");let t=0;for(var n=0;n<e.length;n++)C(e[n])&&(t+=1);return t>e.length/2}function z(e){return O(e)?"rtl":"ltr"}t.isRTLText=O,t.getDir=z;const M=(0,s.observer)((({textNodeRef:e,element:t,onBlur:n,selectAll:r,cursorPosition:o})=>{const[a,i]=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: ${a.color};\n opacity: 0.6;\n }\n `;_.innerHTML="",_.appendChild(document.createTextNode(n)),JSON.stringify(e)!==JSON.stringify(a)&&i(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 h=0;const d=s.textArr.length*s.lineHeight()*s.fontSize();"middle"===t.verticalAlign&&(h=(t.height-d)/2),"bottom"===t.verticalAlign&&(h=t.height-d);const f=(0,g.removeTags)(t.text);return l.default.createElement(u.Html,null,l.default.createElement("textarea",{className:"polotno-input",ref:c,dir:z(f),style:Object.assign(Object.assign(Object.assign({},S),a),{paddingTop:h+"px"}),value:f,onChange:e=>{t.set({text:e.target.value})},placeholder:t.placeholder,onBlur:n}))}));function T(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 a=(0,p.incrementLoader)(`text ${t}`);await e.loadFont(t),d.default.Util.requestAnimFrame(a),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=T,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.width/2,y:e.height/2},o=Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2)),a=d.default.Util.degToRad(n)-Math.PI/2,i=[];return t.forEach((({offset:e,color:t})=>{i.push(e,t)})),{fillLinearGradientStartPointX:r.x-o*Math.cos(a),fillLinearGradientStartPointY:r.y-o*Math.sin(a),fillLinearGradientColorStops:i,fillLinearGradientEndPointX:r.x+o*Math.cos(a),fillLinearGradientEndPointY:r.y+o*Math.sin(a),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:a,selectAll:i}=(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),[d,p]=l.default.useState(!1),v=l.default.useRef(e.height),y=n.selectedElements.indexOf(e)>=0,{textVerticalResizeEnabled:_}=m.flags,S=T(e.fontFamily),[C,O]=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(C)&&O(n)})),l.default.useEffect((()=>{if(e.width)return;const t=r.current;t.width(600),e.set({width:1.4*t.getTextWidth()})}),[]),l.default.useLayoutEffect((()=>(0,h.autorun)((()=>{const t=r.current;(0,b.applyFilter)(t,e)}))));const[z]=(0,t.useFontLoader)(n,e.fontFamily),P=(0,g.removeTags)(e.text),k=()=>{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(!z)return;const{textOverflow:t}=m.flags;if(e.height)if("change-font-size"!==t||d){if("resize"===t){const t=k();_&&e.height<t&&n.history.ignore((()=>{e.set({height:t}),r.current.height(t)})),_||e.height===t||n.history.ignore((()=>{e.set({height:t}),r.current.height(t)}))}}else{const t=function(e,t){const n=e.getAttrs(),r=(0,g.removeTags)(t.text);let o=t.fontSize;const a=Math.round(2*t.fontSize)-1;for(let n=1;n<a;n++){const n=t.height&&e.height()>t.height,a=r.split("\n").join(" ").split(" ");let i=e.textArr.map((e=>e.text)).join(";");const l=a.find((e=>!i.includes(e)||(i=i.replace(e,""),!1)));if(!n&&!l)break;o-=.5,e.fontSize(o)}return e.fontSize(n.fontSize),o}(r.current,e);if(t!==e.fontSize)return void n.history.ignore((()=>{e.set({fontSize:t})}));const o=k();e.height!==o&&n.history.ignore((()=>{e.set({height:o})}))}else{const t=k();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))}),[z]);const A=l.default.useRef(null),L=l.default.useRef(0),R=t=>{t.evt.preventDefault(),n.selectedShapes.find((t=>t===e))&&e.contentEditable&&(L.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,a=Math.floor(r.y/(n.fontSize()*n.lineHeight())),i=o.slice(0,a).reduce(((e,t)=>e+t.text.length),a),l=null!==(t=o[a])&&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),i+Math.round((r.x-s)/l.width*l.text.length)}(t),e.toggleEditMode())},N=!P&&e.placeholder?.6:e.a.opacity;(0,w.useFadeIn)(r,N);const H=(0,t.getLineHeight)({fontLoaded:z,fontFamily:e.fontFamily,fontSize:e.fontSize,lineHeight:e.lineHeight}),I=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:a=0}){var i;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===(i=e[0])||void 0===i?void 0:i.cx} ${-o}`;e.forEach(((n,r)=>{const{cx:a}=n,i=e[r-1];i&&i.width>n.width?l+=` L ${a+n.width/2+o} ${r*t+o}`:l+=` L ${a+n.width/2+o} ${r*t-o}`;const s=e[r+1];s&&s.width>n.width?l+=` L ${a+n.width/2+o} ${(r+1)*t-o}`:l+=` L ${a+n.width/2+o} ${(r+1)*t+o}`}));for(var s=e.length-1;s>=0;s--){const n=e[s],{cx:r}=n,a=e[s+1];a&&a.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 i=e[s-1];i&&i.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,a).path}({lines:C,cornerRadius:e.backgroundCornerRadius*(e.fontSize*H*.5),lineHeight:H*e.fontSize,padding:e.backgroundPadding*(e.fontSize*H*.5),width:e.width,align:e.align}):""),[e.backgroundEnabled,e.backgroundCornerRadius,e.fontSize,H,e.backgroundPadding,e.width,e.align,C]),j=(0,x.useMobile)();let F=0;return"middle"===e.verticalAlign?F=(e.height-C.length*H*e.fontSize)/2:"bottom"===e.verticalAlign&&(F=e.height-C.length*H*e.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||!P,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||!P,editModeEnabled:e._editModeEnabled,x:e.a.x,y:e.a.y,rotation:e.a.rotation,width:e.width,height:e.height,text:P||e.placeholder},V,{stroke:e.stroke,strokeWidth:e.strokeWidth,fillAfterStrokeEnabled:!0,fontSize:e.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:N,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:H,letterSpacing:e.letterSpacing*e.fontSize,listening:I,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:R,onTap:R,onTransformStart:()=>{p(!0),n.history.startTransaction(),v.current=r.current.height()},onTransform:t=>{var n,r;const a=t.target;null===(n=o.current)||void 0===n||n.setAttrs({x:a.x(),y:a.y(),rotation:a.rotation(),scale:a.scale()});const i=(null===(r=a.getStage())||void 0===r?void 0:r.findOne("Transformer")).getActiveAnchor();if("middle-left"===i||"middle-right"===i){const t=a.scaleX(),n=a.width()*t,r=e.fontSize;let o=n;n<r&&(o=r,A.current&&a.position(A.current)),a.width(o),a.scaleX(1),a.scaleY(1);const i=k();if("ellipsis"!==m.flags.textOverflow){const t=Math.max(i,v.current);a.height(t),e.set({height:a.height()})}e.set({x:a.x(),y:a.y(),width:a.width(),rotation:a.rotation()}),(0,b.applyFilter)(a,e)}if("top-center"===i||"bottom-center"===i){let n="resize"===m.flags.textOverflow?k():H*e.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()),A.current=t.target.position()},onTransformEnd:t=>{var r;p(!1);const a=t.target.scaleX();t.target.scaleX(1),t.target.scaleY(1),t.target.strokeWidth(e.strokeWidth),e.set({fontSize:Math.round(e.fontSize*a),width:Math.ceil(t.target.width()*a),x:t.target.x(),y:t.target.y(),rotation:t.target.rotation(),height:t.target.height()*a}),n.history.endTransaction(),null===(r=o.current)||void 0===r||r.setAttrs({scaleX:1,scaleY:1})}})),a&&l.default.createElement(c.Group,{x:e.a.x,y:e.a.y,rotation:e.a.rotation},l.default.createElement(M,{textNodeRef:r,element:e,selectAll:i,cursorPosition:L.current,onBlur:()=>{e.toggleEditMode(!1)}})),!d&&(s||y)&&l.default.createElement(E.Highlighter,{element:e}))}))},8474: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(7294)),a=r(n(2107));let i=!1;t.toggleFadeInAnimation=(e=!i)=>{i=e},t.isAnimationUsed=()=>i,t.useFadeIn=function(e,t){const n=o.default.useRef();o.default.useLayoutEffect((()=>{n.current&&n.current.destroy()}),[t]),o.default.useLayoutEffect((()=>{if(!i)return;const t=e.current.opacity();return t?(e.current.opacity(0),n.current=new a.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}),[])}},8018: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(7294)),a=r(n(2107)),i=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 a=n.sort(((e,t)=>e.diff-t.diff)),i=r.sort(((e,t)=>e.diff-t.diff));var l=a[0],s=i[0];return l&&a.filter((e=>Math.abs(e.diff-l.diff)<.1)).forEach((e=>{o.push(Object.assign({orientation:"V"},e))})),s&&i.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 a=[],i=[];return o.find(t).forEach((e=>{if(!(n.indexOf(e)>=0)){var t=e.getClientRect({skipShadow:!0,skipStroke:!0});a.push(t.x,t.x+t.width,t.x+t.width/2),i.push(t.y,t.y+t.height,t.y+t.height/2)}})),{vertical:a,horizontal:i}}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 a.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 a.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,i.getClientRect)(Object.assign(Object.assign({},t),{rotation:a.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,a)=>{const i=e.current,s=i.getLayer();if(s.children.find((e=>"line-guides"===e.name())).destroyChildren(),"rotater"===i.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(i.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),a.ctrlKey||a.metaKey)return o;let u=o.x,h=o.x;c.forEach((e=>{switch(e.orientation){case"V":u=e.lineGuide;break;case"H":h=e.lineGuide}}));const d=Math.abs(o.x-u)<10,f=Math.abs(o.y-h)<10;return d&&!f?{x:u,y:t.y}:f&&!d?{x:t.x,y:h}:d&&f?{x:u,y:h}: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=[...a.default.DD._dragElements.entries()];e.reverse(),a.default.DD._dragElements.clear(),e.forEach((([e,t])=>{a.default.DD._dragElements.set(e,t)}))}))})),e.current.on("dragmove",s),e.current.on("dragend",u),e.current.on("transformend",u))}),[])},t.useAnchorSnap=function(e,t,n){const r=e=>e.hasName("element")||e.hasName("line-anchor")||e.hasName("page-background")||e.hasName("elements-area"),i=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 a=[],i=[];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}),a.push(n.x,n.x+n.width,n.x+n.width/2),i.push(n.y,n.y+n.height,n.y+n.height/2)}})),{vertical:a,horizontal:i}}([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 a.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 a.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 i=n.target.getAbsolutePosition(),s=Object.assign({},i);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-i.x,u=s.y-i.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",i),e.current.on("dragend",s))}),n)}},3485: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}),a=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},i=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=i(n(7294)),s=n(242),c=n(8949),u=n(6904),h=i(n(4420)),d=i(n(2107)),f=a(n(4824)),p=n(6755),v=n(9365),m=n(1284),g=n(1922),y=n(7890),b=n(8474),w=n(4077);function E(){return document.createElement("canvas")}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="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 _=new window.Image;_.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=E(),C=(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 d.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}))})),O=(0,s.observer)((({element:e})=>{const t="Can not load the image...",n=Math.max(10,Math.min(30,e.width/t.length));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:t,fontSize:n,width:e.width,height:e.height,align:"center",fill:"white",verticalAlign:"middle",padding:5}))}));let z=h.default;t.setImageLoaderHook=e=>{z=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)(`image ${t}`)),"loading"!==e&&r(),"failed"===e&&(0,m.triggerLoadError)(`image ${t}`)}),[e])},t.VideoElement=(0,s.observer)((({element:e,store:n})=>{var r;const[o,a]=l.default.useState(!1),i=l.default.useRef(null),s=l.default.useRef(null),[h,m]=l.default.useState(!1),M=n.selectedElements.indexOf(e)>=0,[T,P]=l.default.useState(!1),[k,A]=function(e,t,n){const r=l.default.useRef("loading"),o=l.default.useRef(),[a,i]=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",a),n.addEventListener("error",l),t&&(n.crossOrigin=t),n.src=e,function(){n.removeEventListener("canplay",a),n.removeEventListener("error",l)}}function a(){r.current="loaded",o.current=n,i(Math.random())}function l(){r.current="failed",o.current=void 0,i(Math.random())}}),[e,t,n]),[o.current,r.current]}(e.src,"anonymous");k&&(k.muted=!0,k.width=k.videoWidth,k.height=k.videoHeight);const L=k||S;l.default.useEffect((()=>{k&&n.history.ignore((()=>{e.set({duration:1e3*k.duration})}))}),[k]),l.default.useEffect((()=>{var e;if(!k)return;const t=n.isPlaying||T;if(!t)return void k.pause();t&&k.play();const r=new d.default.Animation((()=>{}),null===(e=i.current)||void 0===e?void 0:e.getLayer());r.start();const o=()=>{P(!1),k.currentTime=0};return k.addEventListener("ended",o),()=>{r.stop(),k.removeEventListener("ended",o)}}),[k,T,n.isPlaying]),l.default.useEffect((()=>(0,c.autorun)((()=>{var t,r;if(k){const o=n.currentTime%e.duration;console.log("rest",o),k.currentTime=o/1e3,null===(r=null===(t=i.current)||void 0===t?void 0:t.getLayer())||void 0===r||r.batchDraw()}}))),[n,k]);let{cropX:R,cropY:N,cropWidth:H,cropHeight:I}=e;"loaded"!==A&&(R=N=0,H=I=1);const V=L.width*H,D=L.height*I,j=e.width/e.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:L.width*R,y:L.height*N,width:F,height:B},W=null!==(r=e.cornerRadius)&&void 0!==r?r:0;let K=((e,n,r,o)=>{const a=(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||""),[i,s]=z(a,"anonymous"),c=e.clipSrc?s:"loaded";(0,t.useImageLoader)(c,e.id+"-clip");const u=l.default.useMemo((()=>{if(n&&i)return E()}),[n,i]);return l.default.useLayoutEffect((()=>{var t;if(!i)return;if(!n||!n.width||!n.height)return;if(!i||!i.width||!i.height)return;if(!u)return;const o=E(),a=Math.max(e.width/i.width*r,e.height/i.height*r);o.width=i.width*a,o.height=i.height*a,null===(t=o.getContext("2d"))||void 0===t||t.drawImage(i,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),d.default.Util.releaseCanvas(o),l.globalCompositeOperation="source-in",l.drawImage(n,0,0,u.width,u.height),l.restore())}),[u,n,i,e.width,e.height,r,...o]),e.clipSrc&&i?u:n})(e,((e,t,n,r,o=0,a=!1)=>{const i=Math.floor(Math.max(e.width*r,1)),s=Math.floor(Math.max(e.height*r,1)),c=Math.min(o*r,i/2,s/2),u=Math.max(e.width/n.width,e.height/n.height)*r,h=e.page._exporting&&g.flags.imageDownScalingEnabled&&u<1&&!a,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&&!h?void 0:E()}),[t,c,h,f]);return l.default.useLayoutEffect((()=>{if(!p||!t)return;p.width=i,p.height=s;const e=p.getContext("2d");if(!e)return;c&&(e.beginPath(),e.moveTo(c,0),e.lineTo(i-c,0),e.arc(i-c,c,c,3*Math.PI/2,0,!1),e.lineTo(i,s-c),e.arc(i-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=h?function(e,t){var n,r;const o=E();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 a=function(e,t,n,r,o,a,i){for(var l=new ImageData(t,n),s=new Int32Array(e.data.buffer),c=e.width,u=new Int32Array(l.data.buffer),h=l.width,d=t/a,f=n/i,p=Math.round(1/d),v=Math.round(1/f),m=p*v,g=0;g<l.height;g++)for(var y=0;y<h;y++){for(var b=0+Math.round(y/d)+(0+Math.round(g/f))*c,w=0,E=0,x=0,_=0,S=0;S<v;S++)for(var C=0;C<p;C++){var O=s[b+C+S*c];w+=O<<24>>>24,E+=O<<16>>>24,x+=O<<8>>>24,_+=O>>>24}w=Math.round(w/m),E=Math.round(E/m),x=Math.round(x/m),_=Math.round(_/m),u[y+g*h]=_<<24|x<<16|E<<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(a,0,0),o}(t,u):t,o=h?{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,a,e.page._exporting,h]),l.default.useEffect((()=>()=>{p&&"CANVAS"===p.nodeName&&d.default.Util.releaseCanvas(p)}),[p]),p||t})(e,L,q,n._elementsPixelRatio,W,o||e._cropModeEnabled||"svg"===e.type),n._elementsPixelRatio,[q,W,n._elementsPixelRatio]);const Y=Math.max(e.width/F,e.height/B);l.default.useEffect((()=>{var t;if(!e._cropModeEnabled)return;const n=null===(t=i.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)(i.current,e),(0,c.autorun)((()=>{(0,y.applyFilter)(i.current,e)}),{delay:100})}),[L,o,H,I,e._cropModeEnabled]),l.default.useLayoutEffect((()=>{var t;o||e._cropModeEnabled?null===(t=i.current)||void 0===t||t.clearCache():(0,y.applyFilter)(i.current,e)}),[o,e.width,e.height,e._cropModeEnabled]),l.default.useEffect((()=>{(0,y.applyFilter)(i.current,e)}),[e.shadowEnabled,e.shadowBlur,e.cornerRadius,e.shadowColor,e.shadowOffsetX,e.shadowOffsetY,e.shadowOpacity]);const Z=l.default.useRef(null),$=l.default.useRef(null),X=l.default.useRef(null);l.default.useLayoutEffect((()=>{e._cropModeEnabled&&($.current.nodes([Z.current]),X.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),a=Math.min(1,B/r),i=1-o,l=Math.min(i,Math.max(0,Math.round(-t.target.x())/n)),s=1-a,c=Math.min(s,Math.max(0,Math.round(-t.target.y())/r));t.target.setAttrs({x:-l*L.width,y:-c*L.height,scaleX:1,scaleY:1}),e.set({cropX:l,cropY:c,cropWidth:o,cropHeight:a})},J=()=>{"svg"!==e.type&&e.contentEditable&&setTimeout((()=>{e.toggleCropMode(!0)}))},ee="svg"===e.type&&oldImage,te="loading"===A&&!ee,ne="failed"===A,re=!te&&!ne,oe=l.default.useRef({cropX:0,cropY:0,cropWidth:0,cropHeight:0}),ae=re?e.a.opacity:0;(0,b.useFadeIn)(i,ae);const ie=e.selectable||"admin"===n.role,le=(0,w.useMobile)();return l.default.createElement(l.default.Fragment,null,te&&l.default.createElement(C,{element:e}),ne&&l.default.createElement(O,{element:e}),l.default.createElement(u.Image,{ref:i,name:"element",id:e.id,image:L,x:e.x,y:e.y,width:e.width||1,height:e.height||1,rotation:e.rotation,opacity:ae,shadowEnabled:e.shadowEnabled,shadowBlur:e.shadowBlur,shadowOffsetX:e.shadowOffsetX,shadowOffsetY:e.shadowOffsetY,shadowColor:e.shadowColor,shadowOpacity:e.shadowOpacity,customCrop:q,listening:ie,cropX:q.x,cropY:q.y,cropWidth:q.width,cropHeight:q.height,draggable:le?e.draggable&&M:e.draggable,preventDefault:!le||M,hideInExport:!e.showInExport,onMouseEnter:()=>{m(!0)},onMouseLeave:()=>{m(!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:()=>{a(!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(),a=Math.abs(r.scaleY()-1)<1e-7?1:r.scaleY();r.scaleX(1),r.scaleY(1);const i=null===(n=t.target.getStage())||void 0===n?void 0:n.findOne("Transformer"),l=1-F/L.width,s=Math.min(l,Math.max(0,e.cropX)),c=1-B/L.height,u=Math.min(c,Math.max(0,e.cropY)),h=i.getActiveAnchor(),d=!(h.indexOf("middle")>=0||h.indexOf("center")>=0),f=!d&&o<1&&oe.current.cropHeight>B/L.height;let p=d?e.cropWidth:e.cropWidth*o;f&&(p=e.cropWidth);const v=!d&&a<1&&oe.current.cropWidth>F/L.width;let m=d?e.cropHeight:e.cropHeight*a;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()*a,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/L.width,cropHeight:B/L.height}),a(!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:ae,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}),!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:()=>{P(!0)}}),T&&l.default.createElement(u.Image,{image:_,x:e.x+e.width/2-20,y:e.y+e.height/2-20,width:40,height:40,hideInExport:!0,onClick:()=>{P(!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:K,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:L,ref:s,opacity:.4,draggable:!0,x:-e.cropX*L.width,y:-e.cropY*L.height,onDragMove:Q,onTransform:Q}),l.default.createElement(u.Transformer,{ref:X,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:Z,listening:!1,onTransform:t=>{t.target.x()<-e.cropX*L.width-1e-9&&(t.target.x(-e.cropX*L.width),t.target.scaleX(1)),t.target.y()<-e.cropY*L.height-1e-9&&(t.target.y(-e.cropY*L.height),t.target.scaleY(1));const n=Math.min(1,Math.max(0,e.cropX+t.target.x()/L.width)),r=Math.min(1,Math.max(0,t.target.y()/L.height+e.cropY)),o=t.target.width()*t.target.scaleX(),a=t.target.height()*t.target.scaleY(),i=Math.min(1-n,o/L.width),l=Math.min(1-r,a/L.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:i,cropHeight:l,width:Math.min(o*Y,L.width*(1-n)*Y),height:Math.min(a*Y,L.height*(1-r)*Y)})}}),l.default.createElement(u.Transformer,{ref:$,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}))),(h||M)&&l.default.createElement(v.Highlighter,{element:e}))}))},2982: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(7294)),a=n(242),i=r(n(1450)),l=n(429),s=n(1083),c=n(3507),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,a.observer)((({store:e,pageControlsEnabled:t,backgroundColor:n,pageBorderColor:r,activePageBorderColor:a,bleedColor:c,components:h,onKeyDown:d})=>{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))),E=b+2*y,x=w+2*y,_=()=>{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)/E,a=(t.height-110)/x,i=Math.max(Math.min(o,a),.01);e.scaleToFit!==i&&(e.setScale(i),e._setScaleToFit(i))};o.default.useEffect(_,[E,x]),o.default.useEffect((()=>{const e=m.current;if(window.ResizeObserver){const t=new ResizeObserver(_);return t.observe(e),()=>t.unobserve(e)}{const e=setInterval(_,100);return()=>clearInterval(e)}}),[E,x]);const S=Math.max(20,(f.width-E*e.scale)/2),C=x*e.scale*e.pages.length,O=Math.max(55,(f.height-C)/e.pages.length/2);o.default.useEffect((()=>{const t=t=>{(d||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 a=Math.max(2,e.scaleToFit),i=Math.min(.5,e.scaleToFit),l=(n=t.deltaY<0?1.05*e.scale:e.scale/1.05,r=i,o=a,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 z=o.default.useRef(!1);((e,t,n,r,a,i)=>{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(a.pages.length);c.current=u.current!==a.pages.length,u.current=a.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,a=(s.current.top+r.offsetHeight/2)/l.current.height;i.current=!0,r.scrollLeft=o*t-r.offsetWidth/2,r.scrollTop=a*n-r.offsetHeight/2,l.current={width:t,height:n}}),[r,t,n])})(g,E*e.scale+2*S,x*e.scale+2*O,e.scale,e,z);const{handleScroll:M}=((e,t,n,r,a)=>{const i=o.default.useRef(!1),l=o.default.useRef(null);o.default.useEffect((()=>{const t=e.current,n=()=>{a.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(i.current)return;const r=e.current,o=n.pages.indexOf(n.activePage)*t;Math.abs(o-r.scrollTop)>.5*t&&(a.current=!0,r.scrollTop=o)}),[n.activePage,s]),{handleScroll:e=>{if(a.current)return void(a.current=!1);i.current=!0,clearTimeout(l.current),l.current=setTimeout((()=>{i.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,x*e.scale+2*O,e,f,z),T=f.width>=E*e.scale+2*S,P=n||"rgba(232, 232, 232, 0.9)",k=e.pages.indexOf(e.activePage),A=(null==h?void 0:h.NoPages)||u;return o.default.createElement("div",{ref:m,style:{width:"100%",height:"100%",position:"relative",outline:"none",flex:1,backgroundColor:P},tabIndex:0,className:"polotno-workspace-container"},o.default.createElement("div",{ref:g,onScroll:M,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"auto",overflowX:T?"hidden":"auto"},className:"polotno-workspace-inner"},e.pages.map(((n,l)=>Math.abs(l-k)<=1||n._exporting?o.default.createElement(i.default,{key:n.id,page:n,xPadding:S,yPadding:O,width:E*e.scale+2*S,height:x*e.scale+2*O,store:e,pageControlsEnabled:t,backColor:P,pageBorderColor:r||"lightgrey",activePageBorderColor:a||"rgb(0, 161, 255)",bleedColor:c||"rgba(255, 0, 0, 0.1)",components:h}):o.default.createElement("div",{key:n.id,style:{width:E*e.scale+2*S+"px",height:x*e.scale+2*O+"px",backgroundColor:P,paddingLeft:S+"px",paddingRight:S+"px",paddingTop:O+"px",paddingBottom:O+"px"}},o.default.createElement("div",{style:{width:" 100%",height:"100%",backgroundColor:"white"}})))),e.rulesVisible&&o.default.createElement(l.TopRules,{store:e,xPadding:S,yPadding:O,width:E*e.scale+2*S,height:x*e.scale+2*O}),0===e.pages.length&&o.default.createElement(A,{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(7090),o=n(2920);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,a=!1,i=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){i=e,l||s||(a?a=!1:l=setTimeout((()=>{l=0,clearTimeout(l),s||this.addUndoState()}),100))},addUndoState(){if(a)return void(a=!1);const t=e.history[e.undoIdx];!(0,o.deepEqual)(i,t)&&(clearTimeout(l),l=0,e.history.splice(e.undoIdx+1),e.history.push(i),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--,a=!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++,a=!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},8466: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}),a=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},i=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.Node=void 0;const s=n(7090),c=n(4417),u=n(4296),h=l(n(2107)),d=n(55),f=n(9675),p=n(9202),v=a(n(2275)),m=n(1284),g=n(6392),y=n(2920),b=n(3550),w=n(348);(0,s.setLivelinessChecking)("ignore");const E=(e,t)=>{e.children&&e.children.forEach((e=>{t(e),E(e,t)}))};t.Node=s.types.model("Node",{id:s.types.identifier,type:"none",name:"",opacity:1,animations:s.types.array(s.types.frozen()),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),E(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.Element=t.Node.named("Element").props({x:0,y:0,width:100,height:100,rotation:0,opacity:1,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(){return e},animated:t=>e[t]}))),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 x=[];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);C[n]=r,x.push(r)};const _=[...new Array(20)].map(((e,t)=>s.types.late((()=>x[t])))),S=s.types.union({dispatcher:e=>{const t=C[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)),..._);t.GroupElement=t.Node.named("Group").props({type:"group",children:s.types.array(S)}).views((e=>({get draggable(){let t=!0;return E(e,(e=>{e.draggable||(t=!1)})),t},get resizable(){let t=!0;return E(e,(e=>{e.resizable||(t=!1)})),t},get contentEditable(){let t=!0;return E(e,(e=>{e.contentEditable||(t=!1)})),t},get styleEditable(){let t=!0;return E(e,(e=>{e.styleEditable||(t=!1)})),t},get locked(){let t=!0;return E(e,(e=>{e.locked||(t=!1)})),t}}))).actions((e=>({set(t){var{draggable:n,contentEditable:r,styleEditable:o,resizable:a}=t,l=i(t,["draggable","contentEditable","styleEditable","resizable"]);void 0!==n&&E(e,(e=>{e.set({draggable:n})})),void 0!==r&&E(e,(e=>{e.set({contentEditable:r})})),void 0!==o&&E(e,(e=>{e.set({styleEditable:o})})),void 0!==a&&E(e,(e=>{e.set({resizable:a})})),Object.assign(e,l)}})));const C={svg:t.SVGElement,text:t.TextElement,image:t.ImageElement,group:t.GroupElement,line:t.LineElement,video:t.VideoElement};function O({key:e,showCredit:n}={key:"",showCredit:!1}){const r=t.Store.create();return(0,p.validateKey)(e,n),r}t.Page=s.types.model("Page",{id:s.types.identifier,children:s.types.array(S),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(),_exporting:!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 animatedChildren(){}}))).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],a=t.indexOf(null==r?void 0:r.id)>=0;o===e.children.length-1||a||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],a=t.indexOf(null==r?void 0:r.id)>=0;0===o||a||n(o)}return!1}}))).actions((e=>({clone(t={}){const n=e.toJSON();n.children.forEach((e=>{e.id=(0,u.nanoid)(10),E(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),a=e.store.pages.indexOf(e);o.setZIndex(a+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=C[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;for(const t of e.children)t.set({x:t.x*r,y:t.y*o}),"text"===t.type?t.set({fontSize:t.fontSize*r,width:Math.max(t.width*r,2)}):"image"===t.type?t.set({width:t.width*r,height:t.height*o}):"svg"===t.type&&t.set({width:Math.max(t.width*r,2),height:Math.max(t.height*r,2)})}"auto"!==e.width||o||(e.width=t),"auto"!==e.height||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),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(e,(e=>{"video"===e.type&&(t=Math.max(t,e.duration))})),t}}))).actions((e=>({afterCreate(){e.history.canUndo},setCurrentTime(t){e.currentTime=t},play(){e.currentTime=0,e.isPlaying=!0,requestAnimationFrame(e.seek)},seek(){e.currentTime+=1e3/60,e.isPlaying&&e.currentTime<e.duration?requestAnimationFrame(e.seek):e.stop()},stop(){e.isPlaying=!1,e.currentTime=0},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 E({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,a=t.GroupElement.create({id:(0,u.nanoid)(10),children:(0,s.cast)(r)});return o.children.push(a),e.selectedElementsIds=(0,s.cast)([a.id]),a},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,y.deepEqual)(t,o)&&(t=o,n(o))}))}},async _toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:a}={}){var i;const l=t||1;r=r||(null===(i=e.pages[0])||void 0===i?void 0:i.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,b.waitTillAvailable)((()=>h.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 d=c.findOne(".page-container");if(!d)throw new Error(`Export is failed. Can't find page container. ${u}`);c.find("Transformer").forEach((e=>e.visible(!1))),d.find(".page-background").forEach((e=>e.shadowEnabled(!1))),d.find(".page-background").forEach((e=>e.strokeEnabled(!1))),d.find(".highlighter").forEach((e=>e.visible(!1)));const f=d.findOne(".page-background-group"),p=f.clip();f.clip({x:null,y:null,width:null,height:null});const v=d.findOne(".elements-container"),m=v.clip();v.clip({x:null,y:null,width:null,height:null});const g=d.find((e=>e.getAttr("hideInExport")));g.forEach((e=>{e.setAttr("oldVisible",e.visible()),e.hide()}));const y=d.find((e=>!e.visible()&&e.getAttr("editModeEnabled")));y.forEach((e=>{e.setAttr("oldVisible",e.visible()),e.show()})),n&&d.find(".page-background").forEach((e=>e.hide()));const w=a?s.bleed:0;let E=w;e.bleedVisible&&a?E=0:e.bleedVisible&&!a&&(E=-s.bleed);const x=document.createElement("canvas");x.width=(s.computedWidth+2*w)*l,x.height=(s.computedHeight+2*w)*l;const _=x.getContext("2d");"image/jpeg"===o&&(_.fillStyle="white",_.fillRect(0,0,x.width,x.height));const S=d.toCanvas({x:d.x()-E*d.scaleX(),y:d.y()-E*d.scaleY(),width:(s.computedWidth+2*w)*d.scaleX(),height:(s.computedHeight+2*w)*d.scaleY(),pixelRatio:1/d.scaleX()*l});return _.drawImage(S,0,0),h.default.Util.releaseCanvas(S),n&&d.find(".page-background").forEach((e=>e.show())),g.forEach((e=>{e.visible(e.getAttr("oldVisible"))})),y.forEach((e=>{e.visible(e.getAttr("oldVisible"))})),d.find(".page-background").forEach((e=>e.shadowEnabled(!0))),d.find(".page-background").forEach((e=>e.strokeEnabled(!0))),c.find("Transformer").forEach((e=>e.visible(!0))),d.find(".highlighter").forEach((e=>e.visible(!0))),f.clip(p),v.clip(m),null==s||s.set({_exporting:!1}),x},async toDataURL({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:a,quality:i}={}){const l=await e._toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:a}),s=l.toDataURL(o,i);return h.default.Util.releaseCanvas(l),s},async toBlob({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:a,quality:i}={}){const l=await e._toCanvas({pixelRatio:t,ignoreBackground:n,pageId:r,mimeType:o,includeBleed:a}),s=new Promise((e=>{l.toBlob(e,o,i)}));return h.default.Util.releaseCanvas(l),s},async saveAsImage(t={}){var{fileName:n}=t,r=i(t,["fileName"]);const o=r.mimeType||"image/png",a=o.split("/")[1];(0,d.downloadFile)(await e.toDataURL(r),n||"polotno."+a,o)},async _toPDF(t){const n=t.dpi||e.dpi,r=t.parallel||1,o=t.unit||("px"===e.unit?"mm":e.unit),a=t.pixelRatio||1,i=t.pageIds||e.pages.map((e=>e.id)),l=e.pages.filter((e=>i.includes(e.id))),s=await(0,f.getJsPDF)(),c=e=>(0,g.pxToUnit)({px:e,unit:o,dpi:n}),u=l[0]||{},h=t.includeBleed?u.bleed:0,d=c(u.computedWidth+2*h),p=c(u.computedHeight+2*h);var v=new s({unit:o,orientation:d>p?"landscape":"portrait",format:[d,p],compress:!0,putOnlyUsedFonts:!0});v.deletePage(1);const m=e._elementsPixelRatio;e.setElementsPixelRatio(a),await new Promise((e=>setTimeout(e)));const y=((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 y){const r=n.map((async n=>{const r=t.includeBleed?n.bleed:0,o=c(n.computedWidth+2*r),i=c(n.computedHeight+2*r);let l=0,s=a;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:i};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 toHTML(){const t=e.toJSON();return(0,w.jsonToHTML)({json:t})},async saveAsHTML({filename:t}={}){const n=await e.toHTML(),r="data:text/html;base64,"+window.btoa(unescape(encodeURIComponent(n)));(0,d.downloadFile)(r,t||"polotno.html")},async saveAsPDF(t={}){var{fileName:n}=t,r=i(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,m.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),a=e.pages.indexOf(e.activePage);let i=null===(r=o.pages[a]||o.pages[0])||void 0===r?void 0:r.id;o._activePageId=i;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)},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))||v.globalFonts.find((e=>e.fontFamily===t));n?v.injectCustomFont(n):v.injectGoogleFont(t),await v.loadFont(t)}}))),t.createStore=O,t.default=O},1500: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(7294)),a=r(n(745)),i=r(n(2982)),l=r(n(3967)),s=r(n(83)),c=r(n(4096)),u=n(66),h=r(n(8165)),d=n(8466);function f({container:e,key:n,showCredit:r}){const i=(0,d.createStore)({key:n,showCredit:r}),l=a.default.createRoot(e);return l.render(o.default.createElement(t.PolotnoApp,{store:i})),i.addPage(),i.history.clear(),{store:i,root:l}}t.PolotnoContainer=(0,h.default)("div")`
display: flex;
height: 100%;
width: 100%;
max-height: 100vh;
@media screen and (max-width: 500px) {
flex-direction: column-reverse;
}
`,t.SidePanelWrap=(0,h.default)("div")`
height: 100%;
width: auto;
max-height: 100vh;
@media screen and (max-width: 500px) {
height: auto;
width: 100vw;
}
`,t.WorkspaceWrap=(0,h.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(i.default,{store:e}),o.default.createElement(c.default,{store:e}))),t.createPolotnoApp=f,t.createDemoApp=f},123: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 a=o(n(7294)),i=n(242),l=n(3659),s=o(n(9708)),c=n(7299),u=n(5883),h=o(n(8165)),d=n(3507),f=n(5609),p=n(9111),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,h.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 a.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\")"})}),a.default.createElement("div",{style:{width:"100%",height:"100%",background:n}},t))};t.BackgroundPanel=(0,i.observer)((({store:e})=>{var t,n;const{setQuery:r,loadMore:o,isReachingEnd:i,data:h,isLoading:m,error:y}=(0,f.useInfiniteAPI)({defaultQuery:"gradient",getAPI:({page:e,query:t})=>(0,p.unsplashList)({page:e,query:t})});return a.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},a.default.createElement("div",{style:{display:"flex",justifyContent:"space-around",paddingBottom:"10px"}},a.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},a.default.createElement(g,{color:null===(n=e.activePage)||void 0===n?void 0:n.background,style:{fontSize:"30px"}},a.default.createElement(s.default,{style:{mixBlendMode:"difference"}}))),v.map((t=>a.default.createElement(g,{key:t,color:t,onClick:()=>{var n;null===(n=e.activePage)||void 0===n||n.set({background:t})}})))),a.default.createElement(l.InputGroup,{leftIcon:"search",placeholder:(0,d.t)("sidePanel.searchPlaceholder"),onChange:e=>{r(e.target.value)},style:{marginBottom:"20px"}}),a.default.createElement("p",{style:{textAlign:"center"}},"Photos by"," ",a.default.createElement("a",{href:"https://unsplash.com/",target:"_blank"},"Unsplash")),a.default.createElement(u.ImagesGrid,{images:null==h?void 0:h.map((e=>e.results)).flat().filter(Boolean),isLoading:m,getPreview:e=>e.urls.small,loadMore:!i&&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=>a.default.createElement("span",null,"Photo by"," ",a.default.createElement("a",{href:`https://unsplash.com/@${e.user.username}?utm_source=polotno&utm_medium=referral`,target:"_blank"},e.user.name)," ","on"," ",a.default.createElement("a",{href:"https://unsplash.com/?utm_source=polotno&utm_medium=referral",target:"_blank"},"Unsplash"))}))}))},2250: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(7294)),a=n(7090),i=n(3659),l=n(5883),s=r(n(2898)),c=n(9246),u=n(4824),h=r(n(8165)),d=n(3507),f=n(5609),p=n(9111),v=n(9202),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,h.default)("div")`
height: 100%;
overflow: hidden;
.bp4-dark & img {
filter: invert(1);
}
`;t.NounprojectPanel=({store:e,query:t})=>{const{data:n,isLoading:r,loadMore:i,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,i=((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:i}),s=await m(t.id);(0,a.isAlive)(l)&&await l.set({src:s})}))},rowsNumber:4,loadMore:i}))};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:a,height:i}=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)-a/2,h=((null==n?void 0:n.y)||e.height/2)-i/2;null===(o=e.activePage)||void 0===o||o.addElement({type:"svg",width:a,height:i,x:s,y:h,src:l,keepRatio:!1})}}))},E=(0,h.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,d.t)("sidePanel.lines")),o.default.createElement(E,null,o.default.createElement(b,{store:e})),o.default.createElement("p",null,(0,d.t)("sidePanel.shapes")),o.default.createElement(w,{store:e})),t.ElementsPanel=({store:e})=>{const n=o.default.useRef(),[r,a]=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(i.InputGroup,{leftIcon:"search",placeholder:(0,d.t)("sidePanel.searchPlaceholder"),onChange:e=>{a(e.target.value)},style:{marginBottom:"20px"}}),c&&o.default.createElement(t.NounprojectPanel,{query:l,store:e}),!c&&o.default.createElement(t.Shapes,{store:e}))}},5883: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(7294)),a=r(n(8165)),i=n(3659),l=n(3507),s=n(1450),c=(0,a.default)("div",o.default.forwardRef)`
height: 100%;
overflow: auto;
`,u=(0,a.default)("div")`
width: 33%;
float: left;
`,h=(0,a.default)("div")`
padding: 5px;
width: 100%;
&:hover .credit {
opacity: 1;
}
@media screen and (max-width: 500px) {
.credit {
opacity: 1;
}
}
`,d=(0,a.default)("div")`
border-radius: 5px;
position: relative;
overflow: hidden;
box-shadow: ${e=>e["data-shadowenabled"]?"0 0 5px rgba(16, 22, 26, 0.3)":""};
`,f=(0,a.default)("img")`
width: 100%;
cursor: pointer;
display: block;
`,p=(0,a.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;
`,v=(0,a.default)("p")`
text-align: center;
padding: 30px;
`,m=({url:e,credit:t,onSelect:n,crossOrigin:r,shadowEnabled:a,itemHeight:i,className:l,onLoad:c})=>{const u=null==a||a;return o.default.createElement(h,{onClick:()=>{n()},className:"polotno-close-panel"},o.default.createElement(d,{"data-shadowenabled":u},o.default.createElement(f,{className:l,style:{height:null!=i?i:"auto"},src:e,draggable:!0,crossOrigin:r,onDragStart:()=>{(0,s.registerNextDomDrop)((({x:e,y:t},r)=>{n({x:e,y:t},r)}))},onDragEnd:()=>{(0,s.registerNextDomDrop)(null)},onLoad:c}),t&&o.default.createElement(p,{className:"credit"},t)))};t.ImagesGrid=({images:e,onSelect:t,isLoading:n,getPreview:r,loadMore:a,getCredit:s,getImageClassName:h,rowsNumber:d,crossOrigin:f="anonymous",shadowEnabled:p,itemHeight:g,error:y})=>{const b=d||2,w=o.default.useRef(null),E=[];for(var x=0;x<b;x++)E.push((e||[]).filter(((e,t)=>t%b===x)));const _=o.default.useRef(null),S=()=>{var t,r,o;const i=(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));!i&&a&&!n&&l&&s&&(_.current||(_.current=window.setTimeout((()=>{_.current=null,a&&a()}),100)))},C=()=>{S()};return o.default.useEffect((()=>(S(),()=>{window.clearTimeout(_.current),_.current=null})),[e&&e.length,n]),o.default.createElement(c,{onScroll:e=>{const t=e.target.scrollHeight-e.target.scrollTop-e.target.offsetHeight;a&&!n&&t<200&&a()},ref:w},E.map(((e,a)=>o.default.createElement(u,{key:a,style:{width:100/b+"%"}},e.map((e=>o.default.createElement(m,{url:r(e),onSelect:(n,r)=>t(e,n,r),key:r(e),credit:s&&s(e),crossOrigin:f,shadowEnabled:p,itemHeight:g,className:h&&h(e),onLoad:C}))),n&&o.default.createElement("div",{style:{padding:"30px"}},o.default.createElement(i.Spinner,null))))),!n&&(!e||!e.length)&&!y&&o.default.createElement(v,null,(0,l.t)("sidePanel.noResults")),y&&o.default.createElement(v,null,(0,l.t)("sidePanel.error")))}},1929: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(83),t)},1201: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(7294)),a=n(242),i=n(3659),l=n(3507),s=n(6941),c=n(7415),u=(0,a.observer)((({element:e,store:t})=>{const n=t.selectedElements.indexOf(e)>=0,[r,a]=o.default.useState(!1),s=()=>a(!1),u=r?e.name:e.name||(0,c.removeTags)(e.text)||`#${e.id}`;return o.default.createElement(i.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(i.Icon,{icon:"drag-handle-vertical"})),o.default.createElement("div",{style:{padding:"0 7px",opacity:.5,width:"55px"}},e.type),o.default.createElement("div",{style:{maxWidth:"142px"}},o.default.createElement(i.EditableText,{minWidth:130,placeholder:(0,l.t)("sidePanel.namePlaceholder"),value:u,maxLines:1,onEdit:()=>a(!0),onCancel:s,onConfirm:s,onChange:t=>{e.set({name:t})}}))),o.default.createElement("div",null,o.default.createElement(i.Button,{minimal:!0,icon:(null==e?void 0:e.visible)?"eye-open":"eye-off",onClick:()=>{e.set({visible:!e.visible})}}),o.default.createElement(i.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(i.Button,{icon:"trash",minimal:!0,onClick:()=>{t.deleteElements([e.id])},style:{marginLeft:"auto"}}))))}));t.LayersPanel=(0,a.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,a;const i=t.length-r-1,l=e.getElementById(n);(null===(o=e.activePage)||void 0===o?void 0:o.children.indexOf(l))!==i&&(null===(a=e.activePage)||void 0===a||a.setElementZIndex(l.id,i))}))},direction:"horizontal"},n.map((({id:t})=>{const n=e.getElementById(t);return o.default.createElement(u,{element:n,store:e,key:t})})))))}))},2305: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(7294)),a=n(242),i=n(5883);t.PagesPanel=(0,a.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(i.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}))}))},826: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(7294)),a=n(3659),i=n(5883),l=n(9246),s=n(5609),c=n(3507),u=n(9111),h=n(9246);t.PhotosPanel=({store:e})=>{const{setQuery:t,loadMore:n,isReachingEnd:r,data:d,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(a.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(i.ImagesGrid,{images:null==d?void 0:d.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:a,height:i}=await(0,l.getImageSize)(t.urls.small);if(r&&"image"===r.type&&r.contentEditable){const e=(0,h.getCrop)(r,{width:a,height:i});return void r.set(Object.assign({src:t.urls.regular},e))}const s=((null==n?void 0:n.x)||e.width/2)-a/2,c=((null==n?void 0:n.y)||e.height/2)-i/2;null===(o=e.activePage)||void 0===o||o.addElement({type:"image",src:t.urls.regular,width:a,height:i,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"))}))}},83: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(7294)),a=n(242),i=n(3659),l=r(n(8165)),s=n(4077),c=r(n(7486)),u=r(n(7917)),h=n(3507),d=n(2861);var f=n(2861);Object.defineProperty(t,"SectionTab",{enumerable:!0,get:function(){return f.SectionTab}});var p=n(5883);Object.defineProperty(t,"ImagesGrid",{enumerable:!0,get:function(){return p.ImagesGrid}});const v=n(8986),m=n(6042),g=n(7828),y=n(826),b=n(123),w=n(2250),E=n(2305),x=n(7804),_=n(1201);t.TemplatesSection={name:"templates",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.templates")},e),o.default.createElement(i.Icon,{icon:"control"})))),Panel:({store:e})=>o.default.createElement(x.TemplatesPanel,{store:e})},t.TextSection={name:"text",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.text")},e),o.default.createElement(i.Icon,{icon:"new-text-box"})))),Panel:({store:e})=>o.default.createElement(v.TextPanel,{store:e})},t.PhotosSection={name:"photos",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.photos")},e),o.default.createElement(i.Icon,{icon:"media"})))),Panel:({store:e})=>o.default.createElement(y.PhotosPanel,{store:e})},t.ElementsSection={name:"elements",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.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,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.upload")},e),o.default.createElement(i.Icon,{icon:"cloud-upload"})))),Panel:({store:e})=>o.default.createElement(g.UploadPanel,{store:e})},t.BackgroundSection={name:"background",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.background")},e),o.default.createElement(i.Icon,{icon:"layout-grid"})))),Panel:({store:e})=>o.default.createElement(b.BackgroundPanel,{store:e})},t.PagesSection={name:"pages",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.pages")},e),o.default.createElement(u.default,null)))),Panel:({store:e})=>o.default.createElement(E.PagesPanel,{store:e}),visibleInList:!1},t.LayersSection={name:"layers",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.layers")},e),o.default.createElement(i.Icon,{icon:"layers"})))),Panel:({store:e})=>o.default.createElement(_.LayersPanel,{store:e})},t.SizeSection={name:"size",Tab:(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.resize")},e),o.default.createElement(i.Icon,{icon:"fullscreen"})))),Panel:({store:e})=>o.default.createElement(m.SizePanel,{store:e})},(0,a.observer)((e=>o.default.createElement(d.SectionTab,Object.assign({name:(0,h.t)("sidePanel.more")},e),o.default.createElement(i.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;
@media screen and (max-width: 500px) {
height: auto !important;
width: 100%;
position: relative;
}
`,C=(0,l.default)("div",o.default.forwardRef)`
@media screen and (min-width: 501px) {
overflow-y: auto;
overflow-x: hidden;
min-width: 72px;
}
@media screen and (max-width: 500px) {
width: 100%;
overflow: auto;
}
`,O=(0,l.default)("div",o.default.forwardRef)`
display: flex;
flex-direction: column;
@media screen and (max-width: 500px) {
flex-direction: row;
min-width: min-content;
}
`,z=(0,l.default)("div")`
padding: 10px !important;
height: 100% !important;
&.bp4-navbar {
width: 350px;
}
&.bp4-navbar.collapsed {
width: 0px;
}
@media screen and (max-width: 500px) {
&.bp4-navbar {
position: absolute;
bottom: 54px;
z-index: 100;
height: 50vh !important;
width: 100%;
}
}
`,M=(0,l.default)("div")`
display: none;
@media screen and (max-width: 500px) {
position: absolute;
bottom: 72px;
display: block;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.1);
}
`,T=(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;
}
@media screen and (max-width: 500px) {
display: none;
}
`,P=({onClick:e})=>o.default.createElement(T,{"data-popper-arrow":"true",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,a.observer)((({store:e,sections:n,defaultSection:r})=>{var a;o.default.useLayoutEffect((()=>{e.openSidePanel(r||"photos")}),[]);const i=n||t.DEFAULT_SECTIONS,l=i.filter((e=>{var t;return null===(t=e.visibleInList)||void 0===t||t})),c=null===(a=i.find((t=>t.name===e.openedSidePanel)))||void 0===a?void 0:a.Panel,u=(0,s.useMobile)();o.default.useEffect((()=>{u?e.openSidePanel(""):e.openSidePanel(r||"photos")}),[u]);const h=o.default.useRef(null);return o.default.createElement(S,{className:"bp4-navbar polotno-side-panel"+(e.openedSidePanel?"":" collapsed")},o.default.createElement(C,{ref:h,className:"polotno-side-tabs-container"},o.default.createElement(O,{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(z,{className:"bp4-navbar polotno-panel-container",onClick:t=>{t.target.closest(".polotno-close-panel")&&u&&e.openSidePanel("")}},o.default.createElement(c,{store:e})),e.openedSidePanel&&o.default.createElement(M,{onClick:()=>e.openSidePanel("")}),e.openedSidePanel&&o.default.createElement(P,{onClick:()=>e.openSidePanel("")}))})),t.default=t.SidePanel},6042: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 a=o(n(7294)),i=n(242),l=n(3659),s=n(5531),c=n(3507),u=o(n(8117)),h=o(n(3329)),d=o(n(5970)),f=o(n(5109)),p=n(6392);t.DEFAULT_SIZES=[["Instagram Post",1080,1080,a.default.createElement(h.default,null)],["Instagram Story",1080,1920,a.default.createElement(h.default,null)],["Instagram Ad",1080,1080,a.default.createElement(h.default,null)],["Facebook Post",940,788,a.default.createElement(u.default,null)],["Facebook Cover",851,315,a.default.createElement(u.default,null)],["Facebook Ad",1200,628,a.default.createElement(u.default,null)],["Youtube Thumbnail",1280,720,a.default.createElement(d.default,null)],["Youtube Channel",2560,1440,a.default.createElement(d.default,null)],["Full HD",1920,1080,a.default.createElement(f.default,null)]];const v=e=>{var{value:t,onChange:n}=e,o=r(e,["value","onChange"]);const i=a.default.useRef(),[s,c]=a.default.useState(t),u=a.default.useRef(t);u.current=s;const h=()=>{clearTimeout(i.current),n(Math.max(10,u.current))};return a.default.useEffect((()=>{c(t)}),[t]),a.default.createElement(l.NumericInput,Object.assign({},o,{value:s,onValueChange:e=>{c(e),clearTimeout(i.current),i.current=window.setTimeout(h,500)},onBlur:h}))};t.SizePanel=(0,i.observer)((({store:e})=>{var n,r;const[o,i]=a.default.useState(!0);return a.default.createElement("div",{style:{height:"100%",overflow:"auto",paddingRight:"3px"}},a.default.createElement("div",{style:{paddingBottom:"15px"}},a.default.createElement(l.Switch,{checked:o,onChange:e=>{i(e.target.checked)},alignIndicator:l.Alignment.RIGHT,style:{marginTop:"8px",marginBottom:"25px"}},(0,c.t)("sidePanel.useMagicResize")," ",a.default.createElement(s.Tooltip2,{content:(0,c.t)("sidePanel.magicResizeDescription"),position:l.Position.BOTTOM},a.default.createElement(l.Icon,{icon:"help"}))),a.default.createElement("div",{style:{width:"50%",display:"inline-block"}},(0,c.t)("sidePanel.width")," (",e.unit,")"),a.default.createElement("div",{style:{width:"50%",display:"inline-block"}},a.default.createElement(v,{fill:!0,value:(0,p.pxToUnitRounded)({px:(null===(n=e.activePage)||void 0===n?void 0:n.computedWidth)||e.width,unit:e.unit,dpi:e.dpi}),onChange:t=>{var n,r,a;t||(t=10),e.setSize((0,p.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit}),(null===(n=e.activePage)||void 0===n?void 0:n.computedHeight)||e.height,o),"auto"!==(null===(r=e.activePage)||void 0===r?void 0:r.width)&&(null===(a=e.activePage)||void 0===a||a.set({width:(0,p.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit})}))},min:10,max:1e4,selectAllOnFocus:!0,minorStepSize:.01}))),a.default.createElement("div",{style:{paddingBottom:"15px"}},a.default.createElement("div",{style:{width:"50%",display:"inline-block"}},(0,c.t)("sidePanel.height")," (",e.unit,")"),a.default.createElement("div",{style:{width:"50%",display:"inline-block"}},a.default.createElement(v,{fill:!0,value:(0,p.pxToUnitRounded)({px:(null===(r=e.activePage)||void 0===r?void 0:r.computedHeight)||e.height,dpi:e.dpi,unit:e.unit}),onChange:t=>{var n,r,a;t||(t=10),e.setSize((null===(n=e.activePage)||void 0===n?void 0:n.computedWidth)||e.width,(0,p.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit}),o),"auto"!==(null===(r=e.activePage)||void 0===r?void 0:r.height)&&(null===(a=e.activePage)||void 0===a||a.set({height:(0,p.unitToPx)({unitVal:t,dpi:e.dpi,unit:e.unit})}))},min:10,max:1e4,selectAllOnFocus:!0,minorStepSize:.01}))),t.DEFAULT_SIZES.map((([t,n,r,i])=>a.default.createElement(l.Button,{key:t,style:{width:"100%",paddingTop:"10px",paddingBottom:"10px",fontSize:"16px"},minimal:!0,onClick:()=>{var t,a,i,l;e.setSize(n,r,o),"auto"!==(null===(t=e.activePage)||void 0===t?void 0:t.width)&&(null===(a=e.activePage)||void 0===a||a.set({width:n})),"auto"!==(null===(i=e.activePage)||void 0===i?void 0:i.height)&&(null===(l=e.activePage)||void 0===l||l.set({height:r}))},icon:i,alignText:"left"},t,a.default.createElement("span",{style:{fontSize:"0.7rem",paddingLeft:"20px",float:"right",lineHeight:"1.1rem"}},n," x ",r," px")))))}))},2861: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(7294)),a=(0,r(n(8165)).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);
}
@media screen and (max-width: 500px) {
height: 54px;
padding-top: 9px;
width: 72px;
}
`;t.SectionTab=({children:e,name:t,onClick:n,active:r,iconSize:i})=>o.default.createElement(a,{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))},7804: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(7294)),a=n(242),i=n(3659),l=n(4296),s=n(3507),c=n(5883),u=n(9111),h=n(5609),d=(e,t)=>{const n=o.default.useRef(!0);o.default.useEffect((()=>{n.current?n.current=!1:e()}),t)},f=(0,a.observer)((({sizeQuery:e,query:t,store:n})=>{const{setQuery:r,loadMore:a,hasMore:i,data:s,isLoading:f,reset:p,error:v}=(0,h.useInfiniteAPI)({getAPI:({page:t,query:n})=>(0,u.templateList)({page:t,query:n,sizeQuery:e}),getSize:e=>e.totalPages});return d((()=>{p()}),[e]),d((()=>{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:i&&a,error:v})}));t.TemplatesPanel=(0,a.observer)((({store:e})=>{const[t,n]=o.default.useState(!0),[r,a]=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(i.InputGroup,{leftIcon:"search",placeholder:(0,s.t)("sidePanel.searchPlaceholder"),onChange:e=>{a(e.target.value)},style:{marginBottom:"20px"}}),o.default.createElement(i.Switch,{checked:t,onChange:e=>{n(e.target.checked)},alignIndicator:i.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 a=o(n(7294)),i=n(242),l=n(3659),s=o(n(2898)),c=n(3507),u=o(n(8165)),h=n(4077),d=n(5883),f=n(9111),p=n(5609),v=n(1450),m=(0,u.default)("div")`
height: calc(100% - 40px);
display: flex;
flex-direction: column;
.bp4-dark & .polotno-text-preview-plain {
filter: invert(1);
}
`,g=e=>new Promise(((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)})),y=(0,i.observer)((({onSelect:e,onRemove:t,font:n})=>a.default.createElement("div",{style:{height:"100px",cursor:"pointer",boxShadow:"0 0 5px rgba(16, 22, 26, 0.3)",borderRadius:"5px",backgroundColor:"rgba(0, 0, 0, 0.4)",position:"relative",fontFamily:n.fontFamily,fontSize:25,display:"flex",justifyContent:"center",alignContent:"center",flexDirection:"column",textAlign:"center",color:"white",marginBottom:"10px"},onClick:e},n.fontFamily," text",a.default.createElement(l.Button,{style:{position:"absolute",right:0,bottom:0},minimal:!0,icon:"trash",onClick:e=>{e.stopPropagation(),t()}})))),b=e=>{var{onSelect:t}=e,n=r(e,["onSelect"]);return a.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,i.observer)((({store:e})=>{a.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,a=((null==t?void 0:t.y)||e.height/2)-t.fontSize/2,i=(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:a,width:r,fontSize:t.fontSize*i}));(0,h.isMobile)()||null==l||l.toggleEditMode(!0)};a.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,i]=a.default.useState("text");return a.default.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column"}},a.default.createElement(l.Tabs,{large:!0,onChange:e=>i(e)},a.default.createElement(l.Tab,{id:"text"},(0,c.t)("sidePanel.text")),a.default.createElement(l.Tab,{id:"font"},(0,c.t)("sidePanel.myFonts"))),"text"===o&&a.default.createElement(m,null,a.default.createElement(b,{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")),a.default.createElement(b,{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")),a.default.createElement(b,{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")),a.default.createElement(d.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 a=(e.width+e.height)/2160,i=n?n.x-o.width/2*a:e.width/2-o.width/2*a,l=n?n.y-o.height/2*a:e.height/2-o.height/2*a;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*a,x:t.x*a+i,y:t.y*a+l,width:t.width*a,height:t.height*a}));n.push(o)})),e.selectElements(n)}))}})),"font"===o&&a.default.createElement("div",{style:{display:"flex",flexDirection:"column",height:"calc(100% - 50px)"}},a.default.createElement("label",{htmlFor:"polotno-font-upload"},a.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")),a.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 g(t),r=t.name.split(".")[0];e.addFont({fontFamily:r,url:n})}n.value=null}})),a.default.createElement("div",{style:{paddingTop:"20px",overflow:"auto",height:"100%"}},e.fonts.map(((n,r)=>a.default.createElement(y,{font:n,key:r,onSelect:()=>{t({fontSize:80,text:"Cool text",fontFamily:n.fontFamily})},onRemove:()=>{e.removeFont(n.fontFamily)}}))))))}))},7828: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(7294)),a=n(3659),i=n(9246),l=n(9926),s=n(5883),c=n(3507),u=n(9246);let h=async e=>(0,l.localFileToURL)(e);t.setUploadFunc=function(e){h=e};let d=[];t.UploadPanel=({store:e})=>{const[t,n]=o.default.useState(d),[r,l]=o.default.useState(!1),f=o.default.useRef(null);return o.default.useEffect((()=>{d=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(a.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 h(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:a,height:l}=await(0,i.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:a,height:l});return void r.set(Object.assign({src:t},e))}const c=Math.min(e.width/a,e.height/l,1);a*=c,l*=c;const h=((null==n?void 0:n.x)||e.width/2)-a/2,d=((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:h,y:d,width:a,height:l})}}))}},9920: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(3659),c=n(3507);t.AdminButton=(0,a.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:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:"cog",minimal:!0,disabled:!t}))}))},7299: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 a=o(n(7294)),i=n(5531),l=n(3659),s=n(3659),c=n(7830),u=o(n(8165)),h=n(9190),d=n(4824);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,h.isGradient)(e)){const{stops:t}=(0,h.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,i=r(e,["style","color","onChange"]);const[l,s]=a.default.useState(n);a.default.useEffect((()=>{s(n)}),[n]);const u=a.default.useRef(),h=a.default.useRef();return a.default.createElement(f,{style:t,onMouseDown:e=>{"INPUT"!==e.target.tagName&&e.preventDefault()}},a.default.createElement(c.SketchPicker,Object.assign({color:l},i,{onChange:e=>{const{r:t,g:n,b:r,a}=e.rgb,i=`rgba(${t},${n},${r},${a})`;s(i),h.current=i,u.current||(u.current=window.setTimeout((()=>{u.current=0,o(i)}),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,h.parseColor)(e),i=a.default.useRef(o);i.current=o;const l=a.default.useRef(r);l.current=r;const[c,u]=a.default.useState(0),d=a.default.useRef(null),f=a.default.useRef(!1),m=()=>{f.current=!0};return a.default.useEffect((()=>{const e=e=>{if(f.current){const n=d.current.getBoundingClientRect(),r=e.clientX-n.left,a=r/n.width,s=a<-.5||a>1.5;if(o.length>2&&s)return u(0),f.current=!1,i.current.splice(c,1),void t(`linear-gradient(${l.current}deg, ${v(i.current)})`);const h=Math.min(1,Math.max(0,r/n.width)),p=[...i.current];p[c].offset=h,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,i]),a.default.createElement("div",null,a.default.createElement("div",{style:{width:"calc(100% - 35px)",height:"60px",position:"relative"}},a.default.createElement("div",{ref:d,style:{position:"absolute",top:0,left:0,width:"100%",marginLeft:"15px",height:"100%",zIndex:0},onMouseDown:e=>{const n=e.currentTarget.getBoundingClientRect(),a=e.clientX-n.left,i=Math.min(1,Math.max(0,a/n.width)),l=o[0].color;o.push({color:l,offset:i}),o.sort(((e,t)=>e.offset-t.offset));const s=o.findIndex((e=>e.offset===i));u(s),m(),t(`linear-gradient(${r}deg, ${v(o)})`)}}),o.map((({offset:e,color:t},n)=>a.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()}},a.default.createElement(y,{background:t,style:{margin:0}}))))),a.default.createElement("div",{style:{width:"calc(100% - 30px)",height:"10px",marginLeft:"15px",background:`linear-gradient(90deg,${v(o)})`}}),a.default.createElement("div",{style:{padding:"10px"}},a.default.createElement(s.Slider,{min:0,max:360,value:r,showTrackFill:!1,labelRenderer:!1,onChange:e=>{t(`linear-gradient(${e}deg,${v(o)})`)}})),a.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,i]=a.default.useState((0,h.isGradient)(e)?"gradient":"solid");return a.default.createElement("div",{style:{padding:"5px"}},a.default.createElement(l.Tabs,{id:"TabsExample",selectedTabId:o,onChange:e=>i(e)},a.default.createElement(l.Tab,{id:"solid",title:"Solid",panel:a.default.createElement(p,{color:e,onChange:t,presetColors:n,style:{padding:"0"}})}),a.default.createElement(l.Tab,{id:"gradient",title:"Linear",panel:a.default.createElement(m,{value:e,onChange:t,store:r}),panelClassName:"ember-panel"})))},y=e=>{var{size:t=30,background:n,style:o={},children:i=null}=e,l=r(e,["size","background","style","children"]);return a.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),a.default.createElement("div",{style:{width:t+"px",height:t+"px",background:n}},i))};let b=e=>{const n=(0,t.getUsedColors)(e).slice(0,8).filter((e=>!t.DEFAULT_COLORS.find((t=>(0,d.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 a.default.createElement(i.Popover2,{autoFocus:!1,enforceFocus:!0,interactionKind:"click",hasBackdrop:!0,content:o?a.default.createElement(g,{preset:c,value:e,onChange:t,store:r}):a.default.createElement("div",{style:{padding:"5px"}},a.default.createElement(p,{color:e,onChange:t,presetColors:c}))},a.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(7294)),a=n(3659),i=n(5531),l=n(3507);t.DownloadButton=({store:e})=>{const[t,n]=o.default.useState(!1);return o.default.createElement(i.Popover2,{content:o.default.createElement(a.Menu,null,o.default.createElement(a.MenuItem,{icon:"media",text:(0,l.t)("toolbar.saveAsImage"),onClick:async()=>{e.pages.forEach((t=>{e.saveAsImage({pageId:t.id})}))}}),o.default.createElement(a.MenuItem,{icon:"document",text:(0,l.t)("toolbar.saveAsPDF"),onClick:async()=>{n(!0),await e.saveAsPDF(),n(!1)}})),position:a.Position.BOTTOM},o.default.createElement(a.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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(3507);t.DuplicateButton=(0,a.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(i.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}))}))},3468: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(7294)),a=n(3659),i=n(5531),l=(0,r(n(8165)).default)("div",o.default.forwardRef)`
@media screen and (max-width: 500px) {
width: auto !important;
}
`;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),s=o.default.useRef(),c=()=>{if(null===s.current)return;const e=s.current.parentElement;let t=0;[...s.current.parentElement.children].forEach((e=>{e!==s.current&&(t+=e.offsetWidth)})),r(Math.max(20,e.offsetWidth-t-10))};return o.default.useLayoutEffect((()=>{c()})),o.default.useLayoutEffect((()=>{const e=s.current.parentElement.parentElement;if(window.ResizeObserver){const t=new ResizeObserver(c);return t.observe(e),()=>t.unobserve(e)}{const e=setInterval(c,100);return()=>clearInterval(e)}}),[]),o.default.createElement(l,{style:{width:n+"px"},ref:s,className:"bp4-navbar-group bp4-align-left"},o.default.createElement(a.OverflowList,{items:e,style:{width:"100%"},visibleItemRenderer:t,collapseFrom:a.Boundary.END,overflowRenderer:e=>o.default.createElement(i.Popover2,{content:o.default.createElement("div",{style:{padding:"10px",display:"flex"}},e.map(t)),position:a.Position.BOTTOM},o.default.createElement(a.Button,{icon:"more",minimal:!0,style:{marginLeft:"10px"}}))}))}},1215: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 a=o(n(7294)),i=n(3659),l=n(5531),s=n(242),c=o(n(7299)),u=n(3507),h=(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]=a.default.useState(t.toString());return a.default.useEffect((()=>{s(t.toString())}),[t]),a.default.createElement(i.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],d="text"===s.type,f="image"===s.type,p="svg"===s.type,v=e=>{n.history.transaction((()=>{o.forEach((t=>{t.set(e)}))}))};return a.default.createElement(l.Popover2,{content:a.default.createElement("div",{style:{padding:"15px",paddingTop:"25px",width:"230px"}},a.default.createElement(i.Switch,{checked:s.blurEnabled,label:(0,u.t)("toolbar.blur"),onChange:e=>{v({blurEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT}),s.blurEnabled&&a.default.createElement(i.Slider,{value:s.blurRadius,labelStepSize:5,onChange:e=>{v({blurRadius:e})},min:0,max:20,showTrackFill:!1}),!d&&a.default.createElement(i.Switch,{checked:s.brightnessEnabled,label:(0,u.t)("toolbar.brightness"),onChange:e=>{v({brightnessEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),s.brightnessEnabled&&a.default.createElement(i.Slider,{value:100*s.brightness+100,onChange:e=>{v({brightness:(e-100)/100})},min:0,max:200,showTrackFill:!1,labelStepSize:50}),!d&&a.default.createElement(i.Switch,{checked:s.sepiaEnabled,label:(0,u.t)("toolbar.sepia"),onChange:e=>{v({sepiaEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),!d&&a.default.createElement(i.Switch,{checked:s.grayscaleEnabled,label:(0,u.t)("toolbar.grayscale"),onChange:e=>{v({grayscaleEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),d&&a.default.createElement(i.Switch,{checked:!!s.strokeWidth,label:(0,u.t)("toolbar.textStroke"),onChange:e=>{v({strokeWidth:e.target.checked?2:0})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.strokeWidth&&a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},a.default.createElement(c.default,{value:s.stroke,size:30,onChange:e=>{v({stroke:e})},store:n}),a.default.createElement(i.NumericInput,{defaultValue:s.strokeWidth,onValueChange:e=>{v({strokeWidth:h(e,1,30)})},style:{width:"80px"},min:1,max:Math.round(s.fontSize/2)}))),d&&a.default.createElement(i.Switch,{checked:!!s.backgroundEnabled,label:(0,u.t)("toolbar.textBackground"),onChange:e=>{v({backgroundEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.backgroundEnabled&&a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.backgroundCornerRadius")),a.default.createElement("div",null,a.default.createElement(t.NumberInput,{value:100*s.backgroundCornerRadius,onValueChange:e=>{v({backgroundCornerRadius:h(e,0,100)/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),a.default.createElement(i.Slider,{value:100*s.backgroundCornerRadius,onChange:e=>{v({backgroundCornerRadius:h(e,0,100)/100})},min:0,max:100,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.backgroundPadding")),a.default.createElement("div",null,a.default.createElement(t.NumberInput,{value:Math.round(100*s.backgroundPadding),onValueChange:e=>{v({backgroundPadding:h(e,0,100)/100})},style:{width:"50px"},min:0,max:100,buttonPosition:"none"}))),a.default.createElement(i.Slider,{value:Math.round(100*s.backgroundPadding),onChange:e=>{v({backgroundPadding:h(e,0,100)/100})},min:0,max:100,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.opacity")),a.default.createElement("div",null,a.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"}))),a.default.createElement(i.Slider,{value:100*s.backgroundOpacity,onChange:e=>{v({backgroundOpacity:e/100})},min:0,max:100,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",{style:{lineHeight:"30px"}},(0,u.t)("toolbar.color")),a.default.createElement(c.default,{value:s.backgroundColor,size:30,onChange:e=>{v({backgroundColor:e})},store:n}))),(f||p)&&a.default.createElement(i.Switch,{checked:!!s.borderSize,label:(0,u.t)("toolbar.border"),onChange:e=>{v({borderSize:e.target.checked?2:0})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),!!s.borderSize&&a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},a.default.createElement(c.default,{value:s.borderColor,size:30,onChange:e=>{v({borderColor:e})},store:n}),a.default.createElement(i.NumericInput,{defaultValue:s.borderSize,onValueChange:e=>{v({borderSize:h(e,1,Math.min(s.width,s.height)/2)})},style:{width:"80px"},min:1,max:Math.min(s.width,s.height)/2}))),!d&&a.default.createElement(i.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:i.Alignment.RIGHT,style:{marginTop:"20px"}}),!d&&!!s.cornerRadius&&a.default.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},a.default.createElement("div",{style:{width:"150px",paddingTop:"7px"}},a.default.createElement(i.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})),a.default.createElement(i.NumericInput,{value:s.cornerRadius,onValueChange:e=>{v({cornerRadius:h(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))})),a.default.createElement(i.Switch,{checked:s.shadowEnabled,label:(0,u.t)("toolbar.shadow"),onChange:e=>{v({shadowEnabled:e.target.checked})},alignIndicator:i.Alignment.RIGHT,style:{marginTop:"20px"}}),s.shadowEnabled&&a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.blur")),a.default.createElement("div",null,a.default.createElement(t.NumberInput,{value:s.shadowBlur,onValueChange:e=>{v({shad:h(e,-50,50)})},style:{width:"50px"},min:0,max:50,buttonPosition:"none"}))),a.default.createElement(i.Slider,{value:s.shadowBlur,onChange:e=>{v({shadowBlur:e})},min:0,max:50,showTrackFill:!1,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.offsetX")),a.default.createElement("div",null,a.default.createElement(t.NumberInput,{value:s.shadowOffsetX,onValueChange:e=>{v({shadowOffsetX:h(e,-50,50)})},style:{width:"50px"},min:-50,max:50,buttonPosition:"none"}))),a.default.createElement(i.Slider,{value:s.shadowOffsetX,onChange:e=>{v({shadowOffsetX:e})},min:-50,max:50,showTrackFill:!1,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.offsetY")),a.default.createElement("div",null,a.default.createElement(t.NumberInput,{value:s.shadowOffsetY,onValueChange:e=>{v({shadowOffsetY:h(e,-50,50)})},style:{width:"50px"},min:-50,max:50,buttonPosition:"none"}))),a.default.createElement(i.Slider,{value:s.shadowOffsetY,onChange:e=>{v({shadowOffsetY:e})},min:-50,max:50,showTrackFill:!1,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",null,(0,u.t)("toolbar.opacity")),a.default.createElement("div",null,a.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"}))),a.default.createElement(i.Slider,{value:100*s.shadowOpacity,onChange:e=>{v({shadowOpacity:e/100})},min:0,max:100,labelRenderer:!1}),a.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:"5px",paddingBottom:"5px"}},a.default.createElement("div",{style:{lineHeight:"30px"}},(0,u.t)("toolbar.color")),a.default.createElement(c.default,{value:s.shadowColor,size:30,onChange:e=>{v({shadowColor:e})},store:n})))),position:i.Position.BOTTOM},a.default.createElement(i.Button,{icon:"left-join",text:(0,u.t)("toolbar.effects"),minimal:!0}))})),t.default=t.FiltersPicker},2849: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(7294)),a=n(3659),i=n(5531),l=n(3507);t.FlipButton=({element:e})=>o.default.createElement(i.Popover2,{content:o.default.createElement(a.Menu,null,o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,icon:"arrows-horizontal",text:(0,l.t)("toolbar.flipHorizontally"),onClick:()=>{e.set({flipX:!e.flipX})}}),o.default.createElement(a.MenuItem,{shouldDismissPopover:!1,text:(0,l.t)("toolbar.flipVertically"),icon:"arrows-vertical",onClick:()=>{e.set({flipY:!e.flipY})}})),position:a.Position.BOTTOM},o.default.createElement(a.Button,{text:(0,l.t)("toolbar.flip"),minimal:!0})),t.default=t.FlipButton},2162: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(7294)),a=n(242),i=n(3659),l=n(3507);t.GroupButton=(0,a.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(i.Button,{minimal:!0,onClick:()=>{e.groupElements(e.selectedElements.map((e=>e.id)))},style:{marginLeft:"auto"}},(0,l.t)("toolbar.groupElements")),n&&o.default.createElement(i.Button,{minimal:!0,onClick:()=>{e.ungroupElements([e.selectedElements[0].id])},style:{marginLeft:"auto"}},(0,l.t)("toolbar.ungroupElements")))}))},1832: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(7294)),a=n(242),i=n(3659);t.HistoryButtons=(0,a.observer)((({store:e})=>o.default.createElement(i.Navbar.Group,{align:i.Alignment.LEFT},o.default.createElement(i.Button,{icon:"undo",minimal:!0,onClick:()=>{e.history.undo()},disabled:!e.history.canUndo}),o.default.createElement(i.Button,{icon:"redo",minimal:!0,onClick:()=>{e.history.redo()},disabled:!e.history.canRedo}))))},5607: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=t.FontFamilyInput=void 0;const o=r(n(7294)),a=n(242),i=n(3659),l=n(5531),s=n(4356),c=r(n(2898)),u=n(2275),h=n(9111),d=n(5609),f=n(3468),p=r(n(7299)),v=r(n(1215)),m=r(n(9155)),g=r(n(7355)),y=r(n(4202)),b=r(n(8165)),w=r(n(4843)),E=r(n(960)),x=r(n(738)),_=n(1922),S=n(8444),C=(0,b.default)("img")`
height: 20px;
.bp4-dark & {
filter: invert(1);
}
`,O=(0,u.getFontsList)(),z=({fontFamily:e,handleClick:t,modifiers:n,store:r,isCustom:a})=>{o.default.useEffect((()=>{a&&r.loadFont(e)}),[e,a]);const l=a?e:o.default.createElement(C,{src:(0,h.getGoogleFontImage)(e)});return o.default.createElement(i.MenuItem,{text:l,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(i.InputGroup,{leftIcon:"search",inputRef:n,defaultValue:t,onChange:t=>e(t.target.value)})},T=({store:e,fonts:t,activeFont:n,activeFontLabel:r,onFontSelect:a})=>{const[c,h]=o.default.useState(""),d=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=>h(e),defaultValue:c}),o.default.createElement("div",{style:{paddingTop:"5px"}},o.default.createElement(s.FixedSizeList,{innerElementType:o.default.forwardRef(((e,t)=>o.default.createElement(i.Menu,Object.assign({ref:t},e)))),height:Math.min(400,30*d.length)+10,width:210,itemCount:d.length,itemSize:30,children:({index:t,style:r})=>{const i=d[t];return o.default.createElement("div",{style:r},o.default.createElement(z,{key:i,fontFamily:i,modifiers:{active:n===i},handleClick:()=>a(i),store:e,isCustom:e.fonts.find((e=>e.fontFamily===i))||u.globalFonts.find((e=>e.fontFamily===i))}))}})))},o.default.createElement(i.Button,{text:r,rightIcon:"caret-down",minimal:!0,style:{marginRight:"5px",fontFamily:'"'+n+'"',overflow:"hidden",whiteSpace:"nowrap",maxHeight:"30px"}}))};t.FontFamilyInput=(0,a.observer)((({element:e,store:t})=>{const{data:n,mutate:r}=(0,c.default)((0,h.getGoogleFontsListAPI)(),d.fetcher,{isPaused:()=>(0,u.isGoogleFontChanged)(),fallbackData:[]});o.default.useEffect((()=>{r()}),[(0,u.isGoogleFontChanged)()]);const a=t.fonts.concat(u.globalFonts).map((e=>e.fontFamily)).concat((null==n?void 0:n.length)?n:O);let i=e.fontFamily;return i.length>15&&(i=e.fontFamily.slice(0,15)+"..."),o.default.createElement(T,{fonts:a,activeFont:e.fontFamily,activeFontLabel:i,store:t,onFontSelect:t=>{e.set({fontFamily:t})}})})),t.FontSizeInput=(0,a.observer)((({element:e})=>o.default.createElement(i.NumericInput,{onValueChange:t=>{e.set({fontSize:t})},value:Math.round(e.fontSize),style:{width:"50px"},min:5})));const P=["left","center","right","justify"],k=["top","middle","bottom"],A={top:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(w.default,null)),middle:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(E.default,null)),bottom:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(x.default,null))};t.FontStyleGroup=(0,a.observer)((({element:e,store:t})=>o.default.createElement(i.ButtonGroup,null,o.default.createElement(i.Button,{minimal:!0,icon:"align-"+e.align,onClick:()=>{const t=(P.indexOf(e.align)+1+P.length)%P.length,n=P[t];e.set({align:n})}}),_.flags.textVerticalResizeEnabled&&o.default.createElement(i.Button,{minimal:!0,icon:A[e.verticalAlign],onClick:()=>{const n=(k.indexOf(e.verticalAlign)+1+k.length)%k.length,r=k[n];t.history.transaction((()=>{e.set({verticalAlign:r})}))}}),o.default.createElement(i.Button,{minimal:!0,icon:"bold",active:S.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",!S.quillRef.currentFormat.bold,"user")}else"bold"===e.fontWeight||"700"===e.fontWeight?e.set({fontWeight:"normal"}):e.set({fontWeight:"bold"})}}),o.default.createElement(i.Button,{minimal:!0,icon:"italic",onMouseDown:e=>{e.preventDefault()},active:S.quillRef.currentFormat.italic||"italic"===e.fontStyle,onClick:()=>{const t=window.__polotnoQuill;if(t){const e=t.getSelection();t.formatText(e.index,e.length,"italic",!S.quillRef.currentFormat.italic,"user")}else"italic"===e.fontStyle?e.set({fontStyle:"normal"}):e.set({fontStyle:"italic"})}}),o.default.createElement(i.Button,{minimal:!0,icon:"underline",active:S.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",!S.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(i.Button,{minimal:!0,icon:"strikethrough",active:S.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",!S.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,a.observer)((({element:e,store:t})=>o.default.createElement(p.default,{value:S.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 a=e.text.replace(/style=".*?"/g,"");e.set({fill:t,text:a})}},store:t}))),t.SpacingInput=(0,a.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(i.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(i.Slider,{value:100*e.letterSpacing,labelStepSize:50,onChange:t=>{e.set({letterSpacing:t/100})},min:-50,max:250,stepSize:10,showTrackFill:!1})),position:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:o.default.createElement(m.default,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0})))),t.DirectionInput=(0,a.observer)((({element:e})=>{const t="rtl"===e.dir?g.default:y.default;return o.default.createElement(i.Button,{icon:o.default.createElement(t,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0,onClick:()=>{e.set({dir:"rtl"===e.dir?"ltr":"rtl"})}})}));const L={TextFontFamily:t.FontFamilyInput,TextFontSize:t.FontSizeInput,TextFontVariant:t.FontStyleGroup,TextFilters:v.default,TextFill:t.FontColorInput,TextSpacing:t.SpacingInput,TextDirection:t.DirectionInput};t.HtmlToolbar=(0,a.observer)((({store:e,hideTextFontFamily:t,hideTextEffects:n,hideTextSpacing:r,hideTextBold:a,hideTextItalic:i,hideTextUnderline:l,components:s})=>{const c=e.selectedElements[0],u=["TextFill",!t&&"TextFontFamily","TextFontSize","TextFontVariant",!r&&"TextSpacing",!n&&"TextFilters"].filter((e=>!!e)),h=(0,f.extendToolbar)({type:"text",usedItems:u,components:s});return o.default.createElement(f.ElementContainer,{items:h,itemRender:t=>{const n=s[t]||L[t];return o.default.createElement(n,{element:c,store:e,key:t,hideTextBold:a,hideTextItalic:i,hideTextUnderline:l})}})}))},121: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(7294)),a=n(242),i=n(3659),l=n(3468),s=r(n(8165)),c=r(n(1215)),u=r(n(2849)),h=n(1922),d=n(9954),f=n(3507),p={ImageFlip:u.default,ImageFilters:c.default,ImageFitToBackground:({element:e,store:t})=>o.default.createElement(i.Button,{text:(0,f.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(i.Button,{text:(0,f.t)("toolbar.crop"),minimal:!0,onClickCapture:t=>{t.stopPropagation(),e.toggleCropMode(!0)}}),ImageRemoveClip:({element:e,store:t})=>o.default.createElement(i.Button,{text:(0,f.t)("toolbar.removeClip"),minimal:!0,onClickCapture:t=>{e.set({clipSrc:""})}}),ImageRemoveBackground:d.RemoveBackgroundButton};(0,s.default)("div")`
@media screen and (max-width: 500px) {
width: auto;
}
`,t.ImageToolbar=(0,a.observer)((({store:e,hideImageFlip:t,hideImageEffects:n,hideImageCrop:r,hideImageFit:a,hideImageRemoveBackground:s,components:c})=>{const u=e.selectedElements[0],d=u._cropModeEnabled,v=o.default.useRef({});o.default.useEffect((()=>{d&&(v.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 m=[!t&&"ImageFlip",!n&&"ImageFilters",!a&&"ImageFitToBackground",!r&&"ImageCrop",u.clipSrc&&"ImageRemoveClip",!s&&h.flags.removeBackgroundEnabled&&"ImageRemoveBackground"].filter((e=>!!e)),g=(0,l.extendToolbar)({type:"image",usedItems:m,components:c});return o.default.createElement(o.default.Fragment,null,!d&&o.default.createElement(l.ElementContainer,{items:g,itemRender:t=>{const n=c[t]||p[t];return o.default.createElement(n,{element:u,store:e,key:t})}}),d&&o.default.createElement(i.Navbar.Group,null,o.default.createElement(i.Button,{text:(0,f.t)("toolbar.cropDone"),minimal:!0,icon:"tick",onClickCapture:e=>{u.toggleCropMode(!1)}}),o.default.createElement(i.Button,{text:(0,f.t)("toolbar.cropCancel"),minimal:!0,icon:"cross",onClickCapture:e=>{u.set(Object.assign({},v.current)),u.toggleCropMode(!1)}})))})),t.default=t.ImageToolbar},3354: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(7294)),a=n(242),i=n(3659),l=n(5531),s=r(n(7299)),c=n(1215),u=n(3468),h=n(2900),d=n(3507),f=(0,a.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:a,rotation:i}=(0,h.getLinePositionFromMiddlePoints)(t,r,n);e.set({x:o,y:a,rotation:i,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,d.t)("toolbar.lineSize")),o.default.createElement("div",null,o.default.createElement(c.NumberInput,{value:t[0].height,onValueChange:e=>{r(e)},style:{width:"50px"},min:1,max:100,buttonPosition:"none"}))),o.default.createElement(i.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(i.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(i.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(i.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(i.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:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:"settings",minimal:!0}))}));t.LineColor=(0,a.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 p={"":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"})))},v=({type:e,active:t,onClick:n,flipped:r})=>{const a=p[e];return o.default.createElement(i.Button,{icon:r?o.default.createElement("span",{style:{transform:"scaleX(-1)"}},a):a,minimal:!0,onClick:n,active:t})};t.BasicHead=(0,a.observer)((({elements:e,store:t,property:n})=>{const r="endHead"===n,a=p[e[0][n]],s=r?o.default.createElement("span",{style:{transform:"scaleX(-1)"}},a):a,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(v,{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(v,{key:t,type:t,active:e[0][n]===t,onClick:()=>{c(t)},flipped:r}))))),position:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:s,minimal:!0})))})),t.LineHeads=(0,a.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 m={LineSettings:f,LineColor:t.LineColor,LineHeads:t.LineHeads};t.LineToolbar=(0,a.observer)((({store:e,components:t})=>{const n=e.selectedElements[0],r=(0,u.extendToolbar)({type:"line",usedItems:["LineColor","LineSettings","LineHeads"],components:t});return o.default.createElement(u.ElementContainer,{items:r,itemRender:r=>{const a=t[r]||m[r];return o.default.createElement(a,{element:n,store:e,key:r,elements:e.selectedElements})}})})),t.default=t.LineToolbar},5029: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(3507);t.LockButton=(0,a.observer)((({store:e})=>{const t=e.selectedShapes.length>0,n=e.selectedShapes[0],r=null==n?void 0:n.locked,a=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(i.Button,{minimal:!0,disabled:!t,icon:a,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(7294)),a=n(242),i=n(3468),l={};t.ManyToolbar=(0,a.observer)((({store:e,components:t})=>{const n=e.selectedElements,r=(0,i.extendToolbar)({type:"many",usedItems:[],components:t});return o.default.createElement(i.ElementContainer,{items:r,itemRender:r=>{const a=t[r]||l[r];return o.default.createElement(a,{elements:n,element:n[0],store:e,key:r})}})})),t.default=t.ManyToolbar},4783: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(5531),c=r(n(2214)),u=n(3507);t.OpacityPicker=(0,a.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})}))},a=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(i.Slider,{value:a,labelRenderer:!1,onChange:r,min:0,max:100})),o.default.createElement(i.NumericInput,{value:a,onValueChange:r,min:0,max:100,buttonPosition:"none",style:{width:"50px"},selectAllOnFocus:!0}))),position:i.Position.BOTTOM},o.default.createElement(l.Tooltip2,{content:(0,u.t)("toolbar.transparency"),disabled:!n,position:i.Position.BOTTOM},o.default.createElement(i.Button,{minimal:!0,disabled:!n},o.default.createElement(c.default,{className:"bp4-icon",style:{fontSize:"20px"}}))))}))},778: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(240),c=n(3507);t.PositionPicker=(0,a.observer)((({store:e})=>{var t,n,r,a;const u=e.selectedElements.length>0,h=e.selectedElementsIds,d=e.selectedElements.every((e=>e.draggable)),f=!e.selectedElements.some((e=>"group"===e.type))&&d;return o.default.createElement(l.Popover2,{disabled:!u,content:o.default.createElement(i.Menu,null,o.default.createElement(i.MenuDivider,{title:(0,c.t)("toolbar.layering")}),o.default.createElement(i.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(h)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsTop(h)}}),o.default.createElement(i.MenuItem,{shouldDismissPopover:!1,icon:"chevron-up",text:(0,c.t)("toolbar.up"),disabled:!(null===(n=e.activePage)||void 0===n?void 0:n.canMoveElementsUp(h)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsUp(h)}}),o.default.createElement(i.MenuItem,{shouldDismissPopover:!1,icon:"chevron-down",text:(0,c.t)("toolbar.down"),disabled:!(null===(r=e.activePage)||void 0===r?void 0:r.canMoveElementsDown(h)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsDown(h)}}),o.default.createElement(i.MenuItem,{shouldDismissPopover:!1,icon:"double-chevron-down",text:(0,c.t)("toolbar.toBottom"),disabled:!(null===(a=e.activePage)||void 0===a?void 0:a.canMoveElementsBottom(h)),onClick:()=>{var t;null===(t=e.activePage)||void 0===t||t.moveElementsBottom(h)}}),f&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i.MenuDivider,{title:(0,c.t)("toolbar.position")}),o.default.createElement(i.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(i.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 a=(o+r)/2;1===e.selectedElements.length&&(a=(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:a-n-t.width/2})}))}}),o.default.createElement(i.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(i.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(i.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 a=(o+r)/2;1===e.selectedElements.length&&(a=(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:a-n-t.height/2})}))}}),o.default.createElement(i.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:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:"layers",minimal:!0,text:(0,c.t)("toolbar.position"),disabled:!u}))}))},9954: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(7294)),a=n(242),i=n(3659),l=n(9111),s=n(3507);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,a.observer)((({isOpen:e,onClose:t,element:n})=>{const[r,a]=o.default.useState(n.src);o.default.useEffect((()=>{a(n.src)}),[n.src]);const[l,u]=o.default.useState(!1),h=r!==n.src;return o.default.createElement(i.Dialog,{onClose:t,title:(0,s.t)("toolbar.removeBackgroundTitle"),isOpen:e,style:{width:"80%",maxWidth:"700px"}},o.default.createElement("div",{className:i.Classes.DIALOG_BODY},o.default.createElement("img",{src:r,style:{width:"100%",maxHeight:"400px",objectFit:"contain"}})),o.default.createElement("div",{className:i.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:i.Classes.DIALOG_FOOTER_ACTIONS},!h&&o.default.createElement(i.Button,{onClick:async()=>{u(!0);try{a(await c(n.src))}catch(e){console.error(e)}u(!1)},loading:l},(0,s.t)("toolbar.removeBackground")),h&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Button,{onClick:()=>{a(n.src),t()},loading:l},(0,s.t)("toolbar.cancelRemoveBackground")),o.default.createElement(i.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(i.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}))}},7515: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(3507);t.RemoveButton=(0,a.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(i.Button,{icon:"trash",minimal:!0,onClick:()=>{e.deleteElements(t.map((e=>e.id)))},disabled:!t.length,style:{marginLeft:"auto"}}))}))},7611: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}),a=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},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SvgToolbar=void 0;const l=i(n(7294)),s=n(242),c=a(n(4824)),u=n(3468),h=i(n(1215)),d=i(n(7299)),f=i(n(2849)),p=(e,t)=>Array.from(e.keys()).find((e=>c.sameColors(e,t))),v=(e,t)=>{const n=p(e,t);return e.get(n||"")||t},m=(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(d.default,{key:t,value:v(e.colorsReplace,t),style:{marginLeft:"5px"},onChange:n=>{const r=p(e.colorsReplace,t)||t;e.replaceColor(r,n)},store:n,gradientEnabled:!0}))))})),g={SvgFlip:f.default,SvgFilters:h.default,SvgColors:m};t.SvgToolbar=(0,s.observer)((({store:e,hideSvgEffects:t,components:n})=>{const r=e.selectedElements,o=["SvgFlip",!t&&"SvgFilters","SvgColors"].filter((e=>!!e)),a=(0,u.extendToolbar)({type:"svg",usedItems:o,components:n});return l.default.createElement(u.ElementContainer,{items:a,itemRender:t=>{const o=n[t]||g[t];return l.default.createElement(o,{elements:r,element:r[0],store:e,key:t})}})})),t.default=t.SvgToolbar},2142: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(7294)),a=n(242),i=n(3659),l=n(5531),s=n(4356),c=r(n(2898)),u=n(2275),h=n(9111),d=n(5609),f=r(n(7299)),p=r(n(1215)),v=n(3468),m=r(n(9155)),g=r(n(8165)),y=r(n(4843)),b=r(n(960)),w=r(n(738)),E=n(3507),x=n(1922),_=(0,g.default)("img")`
height: 20px;
.bp4-dark & {
filter: invert(1);
}
`,S=(0,u.getFontsList)(),C=({fontFamily:e,handleClick:t,modifiers:n,store:r,isCustom:a})=>{const[l,s]=o.default.useState(!a);o.default.useEffect((()=>{l||r.loadFont(e)}),[e,l]);const c=l?o.default.createElement(_,{src:(0,h.getGoogleFontImage)(e),alt:e,onError:()=>{s(!1)}}):e;return o.default.createElement(i.MenuItem,{text:c,active:n.active,disabled:n.disabled,onClick:t,style:{fontFamily:'"'+e+'"'}})},O=({onChange:e,defaultValue:t})=>{const n=o.default.useRef(null);return o.default.useEffect((()=>{n.current&&n.current.focus()}),[]),o.default.createElement(i.InputGroup,{leftIcon:"search",inputRef:n,defaultValue:t,onChange:t=>e(t.target.value)})},z=({store:e,fonts:t,activeFont:n,activeFontLabel:r,onFontSelect:a})=>{const[c,h]=o.default.useState(""),d=t.filter((e=>e.toLowerCase().indexOf(c.toLowerCase())>=0));return o.default.createElement(l.Popover2,{content:o.default.createElement("div",null,o.default.createElement(O,{onChange:e=>h(e),defaultValue:c}),o.default.createElement("div",{style:{paddingTop:"5px"}},o.default.createElement(s.FixedSizeList,{innerElementType:o.default.forwardRef(((e,t)=>o.default.createElement(i.Menu,Object.assign({ref:t},e)))),height:Math.min(400,30*d.length)+10,width:210,itemCount:d.length,itemSize:30,children:({index:t,style:r})=>{const i=d[t];return o.default.createElement("div",{style:r},o.default.createElement(C,{key:i,fontFamily:i,modifiers:{active:n===i},handleClick:()=>a(i),store:e,isCustom:e.fonts.find((e=>e.fontFamily===i))||u.globalFonts.find((e=>e.fontFamily===i))}))}})))},o.default.createElement(i.Button,{text:r,rightIcon:"caret-down",minimal:!0,style:{marginRight:"5px",fontFamily:'"'+n+'"',overflow:"hidden",whiteSpace:"nowrap",maxHeight:"30px"}}))};t.FontFamilyInput=(0,a.observer)((({elements:e,store:t})=>{const{data:n,mutate:r}=(0,c.default)((0,h.getGoogleFontsListAPI)(),d.fetcher,{isPaused:()=>(0,u.isGoogleFontChanged)(),fallbackData:[]});o.default.useEffect((()=>{r()}),[(0,u.isGoogleFontChanged)()]);const a=t.fonts.concat(u.globalFonts).map((e=>e.fontFamily)).concat((null==n?void 0:n.length)&&!(0,u.isGoogleFontChanged)()?n:S);let i=e[0].fontFamily;return i.length>15&&(i=i.slice(0,15)+"..."),o.default.createElement(z,{fonts:a,activeFont:e[0].fontFamily,activeFontLabel:i,store:t,onFontSelect:n=>{t.history.transaction((()=>{e.forEach((e=>{e.set({fontFamily:n})}))}))}})})),t.FontSizeInput=(0,a.observer)((({elements:e,store:t})=>o.default.createElement(i.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 M=["left","center","right","justify"],T=["top","middle","bottom"],P={top:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(y.default,null)),middle:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(b.default,null)),bottom:o.default.createElement("span",{className:"bp4-icon"},o.default.createElement(w.default,null))};t.FontStyleGroup=(0,a.observer)((({elements:e,store:t})=>{const n=e[0];return o.default.createElement(i.ButtonGroup,null,o.default.createElement(i.Button,{minimal:!0,icon:"align-"+n.align,onClick:()=>{const r=(M.indexOf(n.align)+1+M.length)%M.length,o=M[r];t.history.transaction((()=>{e.forEach((e=>{e.set({align:o})}))}))}}),x.flags.textVerticalResizeEnabled&&o.default.createElement(i.Button,{minimal:!0,icon:P[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(i.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(i.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(i.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(i.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,a.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,a.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(i.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(i.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:i.Position.BOTTOM},o.default.createElement(i.Button,{icon:o.default.createElement(m.default,{className:"bp4-icon",style:{fontSize:"20px"}}),minimal:!0}))}));const k={TextFontFamily:t.FontFamilyInput,TextFontSize:t.FontSizeInput,TextFontVariant:t.FontStyleGroup,TextFilters:p.default,TextFill:t.FontColorInput,TextSpacing:t.SpacingInput};t.TextToolbar=(0,a.observer)((({store:e,hideTextFontFamily:t,hideTextEffects:n,hideTextSpacing:r,hideTextBold:a,hideTextItalic:i,hideTextUnderline:l,components:s})=>{const c=e.selectedElements,u=["TextFill",!t&&"TextFontFamily","TextFontSize","TextFontVariant",!r&&"TextSpacing",!n&&"TextFilters"].filter((e=>!!e)),h=(0,v.extendToolbar)({type:"text",usedItems:u,components:s});return o.default.createElement(v.ElementContainer,{items:h,itemRender:t=>{const n=s[t]||k[t];return o.default.createElement(n,{elements:c,element:c[0],store:e,key:t,hideTextBold:a,hideTextItalic:i,hideTextUnderline:l})}})})),t.default=t.TextToolbar},3967: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(7294)),a=n(242),i=n(3659),l=r(n(8165)),s=n(1832),c=n(2142),u=n(5607),h=n(121),d=n(7611),f=n(3354),p=n(8825),v=n(66),m=n(6543),g=n(7515),y=n(5029),b=n(778),w=n(4783),E=n(9920),x=n(2162),_=n(1922),S={text:c.TextToolbar,image:h.ImageToolbar,svg:d.SvgToolbar,many:p.ManyToolbar,line:f.LineToolbar};t.registerToolbarComponent=function(e,t){S[e]=t};const C=(0,l.default)("div")`
@media screen and (max-width: 500px) {
max-width: 100vw;
overflow-x: auto;
overflow-y: hidden;
}
`,O=(0,l.default)("div")`
width: 100%;
height: 100%;
@media screen and (max-width: 500px) {
display: flex;
}
`;t.Toolbar=(0,a.observer)((({store:e,downloadButtonEnabled:t,hideTextFontFamily:n,hideTextSpacing:r,hideTextEffects:a,hideImageFlip:l,hideImageEffects:c,hideImageCrop:h,hideImageFit:d,hideImageRemoveBackground:f,hideSvgEffects:p,hidePosition:z,hideOpacity:M,hideDuplicate:T,hideLock:P,hideRemove:k,components:A={}})=>{const L=1===new Set(e.selectedElements.map((e=>e.type))).size,R=1===e.selectedElements.length,N=e.selectedElements[0],H=e.selectedElements.every((e=>e.styleEditable));let I=H&&R&&S[N.type];L&&"text"===(null==N?void 0:N.type)?I=S[N.type]:e.selectedElements.length>1&&(I=S.many),R&&"text"===N.type&&_.flags.htmlRenderEnabled&&(I=u.HtmlToolbar);const V=R&&N._cropModeEnabled,D=(null==A?void 0:A.ActionControls)||(t?v.DownloadButton:null),j=(null==A?void 0:A.Position)||b.PositionPicker,F=(null==A?void 0:A.Opacity)||w.OpacityPicker,B=(null==A?void 0:A.Lock)||y.LockButton,U=(null==A?void 0:A.Duplicate)||m.DuplicateButton,G=(null==A?void 0:A.Remove)||g.RemoveButton,q=(null==A?void 0:A.Group)||x.GroupButton,W=(null==A?void 0:A.History)||s.HistoryButtons,K=[n,r,a,l,c,h,d,f,p,z,M,T,P,k],Y=["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=>Y[e])).join(", ")} are deprecated. Please use components API instead instead. See https://polotno.com/docs/toolbar`)}),K),o.default.createElement(C,{className:"bp4-navbar"},o.default.createElement(O,null,!V&&o.default.createElement(W,{store:e}),I&&H&&o.default.createElement(I,{store:e,hideTextFontFamily:n,hideTextSpacing:r,hideTextEffects:a,hideImageFlip:l,hideImageEffects:c,hideImageCrop:h,hideImageFit:d,hideSvgEffects:p,hideImageRemoveBackground:f,components:A}),!V&&o.default.createElement(i.Navbar.Group,{align:i.Alignment.RIGHT},"admin"===e.role&&o.default.createElement(E.AdminButton,{store:e}),o.default.createElement(q,{store:e}),!z&&o.default.createElement(j,{store:e}),!M&&H&&o.default.createElement(F,{store:e}),!P&&o.default.createElement(B,{store:e}),!T&&o.default.createElement(U,{store:e}),!k&&o.default.createElement(G,{store:e}),D&&o.default.createElement(o.default.Fragment,null,o.default.createElement(i.Divider,{style:{height:"100%",margin:"0 15px"}}),o.default.createElement(D,{store:e})))))})),t.default=t.Toolbar},4096: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(7294)),a=n(3659),i=n(5531),l=r(n(8165)),s=n(242),c=n(3507),u=(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;
}
@media screen and (max-width: 500px) {
display: none;
}
`,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(a.Navbar.Group,{align:a.Alignment.LEFT,style:{height:"35px"}},o.default.createElement(a.Button,{icon:"zoom-out",minimal:!0,onClick:()=>{e.setScale(e.scale/1.2)},disabled:!l}),o.default.createElement(i.Popover2,{content:o.default.createElement(a.Menu,{style:{minWidth:"80px"}},h.map((t=>o.default.createElement(a.MenuItem,{key:t,text:Math.round(100*t)+"%",onClick:async()=>{e.setScale(t)}}))),o.default.createElement(a.MenuItem,{text:(0,c.t)("scale.reset"),onClick:async()=>{e.setScale(e.scaleToFit)}}))},o.default.createElement(a.Button,{minimal:!0},Math.round(100*e.scale)+"%")),o.default.createElement(a.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(u,null,o.default.createElement(a.Navbar,{style:{height:"35px",padding:"0 5px"}},o.default.createElement(t.ZoomGroup,{store:e}))))),t.default=t.ZoomButtons},9111:(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(9202);t.API="https://api.polotno.dev/api",t.URL="https://api.polotno.dev";const o={},a=(e,t)=>{o[e]||(o[e]=!0,console.error(t))},i="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.dev/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})=>(a("iconscout",i),`${t.API}/get-iconscout?query=${e}&page=${n}&KEY=${(0,r.getKey)()}`),iconscoutDownload:e=>(a("iconscout",i),`${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,a;r>=e.width/e.height?(o=e.width,a=e.width/r):(o=e.height*r,a=e.height);let i=0,l=0;return"left-top"===n?(i=0,l=0):"left-middle"===n?(i=0,l=(e.height-a)/2):"left-bottom"===n?(i=0,l=e.height-a):"center-top"===n?(i=(e.width-o)/2,l=0):"center-middle"===n?(i=(e.width-o)/2,l=(e.height-a)/2):"center-bottom"===n?(i=(e.width-o)/2,l=e.height-a):"right-top"===n?(i=e.width-o,l=0):"right-middle"===n?(i=e.width-o,l=(e.height-a)/2):"right-bottom"===n?(i=e.width-o,l=e.height-a):"scale"===n?(i=0,l=0,o=e.width,a=e.height):console.error(new Error("Unknown clip position property - "+n)),{cropX:i,cropY:l,cropWidth:o,cropHeight:a}}},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}},55:(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)}},9926:(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)}))}},1922: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}),a=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.setTextOverflow=t.setForceTextFit=t.useDownScaling=t.setDownScalingEnabled=t.useHtmlTextRender=t.useRemoveBackground=t.setTextVerticalResizeEnabled=t.flags=void 0;const i=a(n(8949));function l(e){t.flags.imageDownScalingEnabled=e}t.flags=i.observable({imageDownScalingEnabled:!0,removeBackgroundEnabled:!0,htmlRenderEnabled:!1,forceTextFitEnabled:!1,textVerticalResizeEnabled:!1,textOverflow:"resize"}),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}},2275: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}),a=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 i=a(n(8949)),l=n(1284);let s=i.observable(["Roboto","Amatic SC","Press Start 2P","Marck Script","Rubik Mono One"]),c=i.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=i.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 h(e,t="Arial"){var n=u.getContext("2d");return n.font=`normal 40px '${e}', ${t}`,n.measureText("Some test text;?#D-ПРИВЕТ!1230o9u8i7y6t5r4e3w2q1").width}const d={Arial:!0};t.isFontLoaded=e=>d[e],t.loadFont=async function(e){var t;if(d[e])return;const n=!!(null===(t=document.fonts)||void 0===t?void 0:t.load),r=h("Arial");if(n)try{if(await document.fonts.load(`16px '${e}'`),r!==h(e))return void(d[e]=!0)}catch(e){}const o=h("Times","Times"),a=h(e);for(let t=0;t<100;t++){const t=h(e,"Arial"),n=h(e,"Times");if(t!==a||t!==r||n!==o)return void(d[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}},3889:(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,a=/\/\*[^]*?\*\/|\s\s+|\n/g,i=(e,t)=>{let n="",r="",o="";for(let a in e){let l=e[a];"@"==a[0]?"i"==a[1]?n=a+" "+l+";":r+="f"==a[1]?i(l,a):a+"{"+i(l,"k"==a[1]?"":t)+"}":"object"==typeof l?r+=i(l,t?t.replace(/([^,])+/g,(e=>a.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):a):null!=l&&(a=a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=i.p?i.p(a,l):a+":"+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),h=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[h]){let t=u!==e?e:(e=>{let t,n=[{}];for(;t=o.exec(e.replace(a,""));)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[h]=i(c?{["@keyframes "+h]:t}:t,n?"":"."+h)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(l[h],t,r),h};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 a=t[o];if(a&&a.call){let e=a(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?"."+t:e&&"object"==typeof e?e.props?"":i(e,""):!1===e?"":e}return e+r+(null==a?"":a)}),""))(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 h,d,f,p=u.bind({g:1}),v=u.bind({k:1});t.glob=p,t.keyframes=v,t.setup=function(e,t,n,r){i.p=t,h=e,d=n,f=r},t.styled=function(e,t){let n=this||{};return function(){let r=arguments;function o(a,i){let l=Object.assign({},a),s=l.className||o.className;n.p=Object.assign({theme:d&&d()},l),n.o=/ *go\d+/.test(s),l.className=u.apply(n,r)+(s?" "+s:""),t&&(l.ref=i);let c=e;return e[0]&&(c=l.as||e,delete l.as),f&&c[0]&&f(l),h(c,l)}return t?t(o):o}}},9190: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(9948));t.isGradient=e=>e.indexOf("linear-gradient")>=0;const a=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:a(e),offset:e.length?parseFloat(e.length.value)/100:t/(n.colorStops.length-1)})))}}},348: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}),a=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 i=n(9246),l=a(n(4824));async function s(e,t){const n=await u(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 o=document.createElement("canvas");o.width=t.width,o.height=t.height;const a=o.getContext("2d");let{cropX:i,cropY:l}=t;const s=r.width*t.cropWidth,c=r.height*t.cropHeight,h=t.width/t.height;let d,f;const p=s/c;return"svg"===t.type?(d=s,f=c):h>=p?(d=s,f=s/h):(d=c*h,f=c),a.drawImage(r,i*r.width,l*r.height,d,f,0,0,o.width,o.height),o.toDataURL("image/png")}const 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=e=>new Promise((t=>{const n=new window.Image;n.onload=()=>{t(n)},n.src=e,n.crossOrigin="anonymous"})),h=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)))}r=await s(r,e);let o="";return e.flipX&&(o+="scaleX(-1)"),e.flipY&&(o+="scaleY(-1)"),c("img",{src:r,width:"100%",height:"100%",style:Object.assign(Object.assign({},{}),{"border-radius":e.cornerRadius+"px",border:e.borderSize?`${e.borderSize}px solid ${e.borderColor}`:"none",transform:o})})},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},f={image:h,svg:h,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),a=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"}}),i=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"}},a,i)},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=>p({element:e,page:t,store:n,elementHook:r})))),a=c("div",{style:{"transform-origin":"top left",opacity:e.opacity}},...o);return r&&r({dom:a,element:e})||a}};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 a=await o({element:e,page:t,store:n}),i=[];e.blurEnabled&&i.push(`blur(${e.blurRadius/2}px)`),e.brightnessEnabled&&i.push(`brightness(${100*e.brightness+100}%)`),e.sepiaEnabled&&i.push("sepia()"),e.grayscaleEnabled&&i.push("grayscale()"),e.shadowEnabled&&i.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:i.join(" ")}},a);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 u(e.background),r=await s(e.background,Object.assign({width:t.width,height:t.height,x:0,y:0},(0,i.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=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}>`:"";t.jsonToHTML=async function({json:e,elementHook:t}){const n=await v({json:e,elementHook:t});return m({dom:n})}},2147: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}),a=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 i=a(n(8151)),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:a,pixelRatio:l}){const s=document.createElement("canvas");"Arial"===r||a||(e+=`<link type="text/css" href="https://fonts.googleapis.com/css?family=${r}" rel="stylesheet">`),a&&(e+=`<style>@font-face {font-family: '${a.fontFamily}'; src: url("${a.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 i.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.getImageSize=void 0;const r=n(4824);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.src=e}))},t.getCrop=function(e,t){const{width:n,height:r}=e,o=n/r;let a,i;o>=t.width/t.height?(a=t.width,i=t.width/o):(a=t.height*o,i=t.height);const l=(t.width-a)/2,s=(t.height-i)/2;return{cropX:l/t.width,cropY:s/t.height,cropWidth:a/t.width,cropHeight:i/t.height}}},3507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t=t.getTranslations=t.setTranslations=void 0;const r=n(8949),o=(0,r.observable)({toolbar:{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",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"}}),a=e=>e&&"object"==typeof e;function i(e,t){Object.keys(t).forEach((n=>{const r=e[n],o=t[n];a(o)&&a(r)?i(r,o):e[n]=o}))}t.setTranslations=(0,r.action)((e=>{i(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(".");return n[n.length-1]}},1284:(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(8474);let o=0,a=[],i=3e4;function l(){o-=1,0===o&&(a.forEach((e=>e())),a=[])}t.setAssetLoadTimeout=e=>{i=e},t.incrementLoader=function(e){o+=1;let t=!1;Date.now();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())}),i);return()=>{t||(clearTimeout(n),l())}},t.decrementLoader=l,t.whenLoaded=function(){return new Promise((e=>function(e){0===o?e():a.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(2107));function a(e,t,n,r,o){const a=Math.sqrt(n*n+r*r);return o+=Math.atan2(r,n),{x:e+a*Math.cos(o),y:t+a*Math.sin(o)}}function i(e){const{x:t,y:n,width:r,height:i}=e,l=o.default.Util.degToRad(e.rotation),s=a(t,n,0,0,l),c=a(t,n,r,0,l),u=a(t,n,r,i,l),h=a(t,n,0,i,l),d=Math.min(s.x,c.x,u.x,h.x),f=Math.min(s.y,c.y,u.y,h.y),p=Math.max(s.x,c.x,u.x,h.x),v=Math.max(s.y,c.y,u.y,h.y);return{x:d,y:f,width:p-d,height:v-f,minX:d,minY:f,maxX:p,maxY:v}}t.getClientRect=i,t.getTotalClientRect=function(e){const t=e.map((e=>i(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))),a=Math.max(...t.map((e=>e.maxY)));return{x:n,y:r,width:o-n,height:a-r,minX:n,minY:r,maxX:o,maxY:a}}},9675:(e,t)=>{"use strict";let n,r;async function o(e){return new Promise((t=>{var n=document.createElement("script");n.onload=function(){t(null)},n.src=e,document.head.appendChild(n)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.getPdfKit=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)}))},t.getPdfKit=async function(){return r?Promise.resolve(r):(await o("https://unpkg.com/pdfkit@0.13.0/js/pdfkit.standalone.js"),await o("https://github.com/devongovett/blob-stream/releases/download/v0.1.3/blob-stream.js"),r=window.PDFDocument,r)}},4077: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.isMobile=t.MOBILE_BREAKPOINT=void 0;const o=r(n(7294));t.MOBILE_BREAKPOINT=500,t.isMobile=()=>window.innerWidth<=t.MOBILE_BREAKPOINT,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}},8165: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(7294)),a=n(3889);(0,a.setup)(o.default.createElement),t.default=a.styled},4824: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(2107)),a=r(n(7294)),i=n(9190);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 h(e){const t=await fetch(e,{mode:"cors"});return await t.text()}function d(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=h,t.getColors=d,t.svgToURL=f,t.getSvgSize=async function(e){const t=await h(e),n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.getAttribute("viewBox"),[r,o,a,i]=(null==n?void 0:n.split(" "))||[];return{width:parseFloat(a),height:parseFloat(i)}},t.fixSize=function(e){var t=(new DOMParser).parseFromString(e,"image/svg+xml");const n=t.documentElement.getAttribute("viewBox"),[r,o,a,i]=(null==n?void 0:n.split(" "))||[],l=t.documentElement.getAttribute("width");!l&&t.documentElement.setAttribute("width",a+"px");const s=t.documentElement.getAttribute("height");if((!s||s.indexOf("%")>=0)&&t.documentElement.setAttribute("height",i+"px"),l&&l.indexOf("%")>=0&&s&&-1===s.indexOf("%")){const e=parseFloat(s)/parseFloat(i);t.documentElement.setAttribute("width",e*parseFloat(a)+"px")}if(s&&s.indexOf("%")>=0&&l&&-1===l.indexOf("%")){const e=parseFloat(l)/parseFloat(a);t.documentElement.setAttribute("height",e*parseFloat(i)+"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 a=u(r),l=Array.from(n.keys());return a.forEach((e=>{const{fill:a,stroke:c}=s(e);[{prop:"fill",color:a},{prop:"stroke",color:c}].forEach((({prop:a,color:s})=>{const c=l.find((e=>(0,t.sameColors)(e,s)));if(c){const t=n.get(c);if((0,i.isGradient)(t)){const{rotation:n,stops:l}=(0,i.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 a=e.namespaceURI,i=document.createElementNS(a,"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,h=(Math.sin(l+Math.PI)+1)/2;i.setAttribute("x1",100*s+"%"),i.setAttribute("y1",100*c+"%"),i.setAttribute("x2",100*u+"%"),i.setAttribute("y2",100*h+"%"),i.setAttribute("gradientUnits","userSpaceOnUse"),i.setAttribute("id",t);for(var d=0;d<r.length;d++){var f=r[d],p=document.createElementNS(a,"stop");for(var v in f)f.hasOwnProperty(v)&&p.setAttribute(v,f[v]);i.appendChild(p)}(e.querySelector("defs")||e.insertBefore(document.createElementNS(a,"defs"),e.firstChild)).appendChild(i)})(r.children[0],c,n,s),e.style[a]=null,e.setAttribute(a,`url('#${c}')`)}else e.style[a]=n.get(c)}}))})),f((new XMLSerializer).serializeToString(r))},t.useSvgColors=e=>{const[t,n]=a.default.useState([]);return a.default.useEffect((()=>{let t=!1;return(async()=>{n([]);const r=d(await h(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,"")}},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`}}},5609: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(7294)),a=r(n(9050));t.fetcher=e=>fetch(e).then((e=>e.json())),t.useInfiniteAPI=({defaultQuery:e="",timeout:n=100,getAPI:r,getSize:i=(e=>e.total_pages)})=>{var l;const s=o.default.useRef(e),c=o.default.useRef(),{data:u,error:h,size:d,setSize:f,mutate:p}=(0,a.default)((e=>r({query:s.current,page:e+1})),t.fetcher,{revalidateAll:!1}),v=!u&&!h||!!(d>0&&u&&void 0===u[d-1]),m=0===(null===(l=null==u?void 0:u[0])||void 0===l?void 0:l.length)||u&&u[0]&&i(u[0])===d;return{setQuery:o.default.useCallback((e=>{s.current=e,clearTimeout(c.current),c.current=setTimeout((()=>{p()}),n)}),[n]),isLoading:v,loadMore:()=>{m||f(d+1)},isReachingEnd:m,data:null==u?void 0:u.filter((e=>e)),items:null==u?void 0:u.reduce(((e,t)=>e.concat(t)),[]),hasMore:!m,reset:p,error:h}}},9202: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}),a=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 i=a(n(8949)),l=n(9111),s=n(1922);t.shouldShowCredit=i.observable({value:!1});const c=i.action((()=>{t.shouldShowCredit.value=!0}));let u="";t.getKey=()=>u||"";let h=window.location.origin;const d=navigator.userAgent.indexOf("Headless")>-1,f=navigator.userAgent.indexOf("Electron")>-1;"file://"===h&&d&&(h="headless"),"file://"===h&&f&&(h="electron");const p=`%cPolotno error! Current domain is not allowed. It may lead to unexpected behavior and stop working. Please add "${h}" here: https://polotno.dev/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+location.pathname})});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.dev/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.dev/cabinet"),n.is_paid||console.log("%cPolotno Free Version. Development or non-commercial usage only. https://polotno.dev/","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.dev immediately."),!0}t.isKeyPaid=v,t.validateKey=async function(e,t){u=e,await v(e)&&!t||c()}},3550:(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)))}}},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,o){n=n||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(n);var l=1e3;o&&"number"==typeof o.maxKeys&&(l=o.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var c=0;c<s;++c){var u,h,d,f,p=e[c].replace(i,"%20"),v=p.indexOf(r);v>=0?(u=p.substr(0,v),h=p.substr(v+1)):(u=p,h=""),d=decodeURIComponent(u),f=decodeURIComponent(h),t(a,d)?Array.isArray(a[d])?a[d].push(f):a[d]=[a[d],f]:a[d]=f}return a}},2361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,o){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var a=encodeURIComponent(t(o))+r;return Array.isArray(e[o])?e[o].map((function(e){return a+encodeURIComponent(t(e))})).join(n):a+encodeURIComponent(t(e[o]))})).join(n):o?encodeURIComponent(t(o))+r+encodeURIComponent(t(e)):""}},7673:(e,t,n)=>{"use strict";t.decode=t.parse=n(2587),t.encode=t.stringify=n(2361)},6095: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),a=n(19),i=n(45),l=n(46),s=n(47),c=n(48),u=n(49),h=n(12),d=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:a.default,Embed:c.default,Scroll:i.default,Block:s.default,Inline:l.default,Text:u.default,Attributor:{Attribute:h.default,Class:d.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 a=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=a;var i,l={},s={},c={},u={};function h(e,t){var n;if(void 0===t&&(t=i.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&i.LEVEL&i.BLOCK?n=u.block:e&i.LEVEL&i.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&i.LEVEL&n.scope&&t&i.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"}(i=t.Scope||(t.Scope={})),t.create=function(e,t){var n=h(e);if(null==n)throw new a("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=h,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 a("Invalid definition");if("abstract"===r.blotName)throw new a("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),a=n(3),i=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=a(!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+i.length(t):t.delete?e-t.delete:e}),0)},s.prototype.length=function(){return this.reduce((function(e,t){return e+i.length(t)}),0)},s.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=i.iterator(this.ops),o=0;o<t&&r.hasNext();){var a;o<e?a=r.next(e-o):(a=r.next(t-o),n.push(a)),o+=i.length(a)}return new s(n)},s.prototype.compose=function(e){var t=i.iterator(this.ops),n=i.iterator(e.ops),r=[],a=n.peek();if(null!=a&&"number"==typeof a.retain&&null==a.attributes){for(var l=a.retain;"insert"===t.peekType()&&t.peekLength()<=l;)l-=t.peekLength(),r.push(t.next());a.retain-l>0&&n.next(a.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()),h=t.next(u),d=n.next(u);if("number"==typeof d.retain){var f={};"number"==typeof h.retain?f.retain=u:f.insert=h.insert;var p=i.attributes.compose(h.attributes,d.attributes,"number"==typeof h.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 d.delete&&"number"==typeof h.retain&&c.push(d)}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("")})),a=new s,c=r(n[0],n[1],t),u=i.iterator(this.ops),h=i.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(h.peekLength(),t),a.push(h.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),a.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),h.peekLength(),t);var l=u.next(n),s=h.next(n);o(l.insert,s.insert)?a.retain(n,i.attributes.diff(l.attributes,s.attributes)):a.push(s).delete(n)}t-=n}})),a.chop()},s.prototype.eachLine=function(e,t){t=t||"\n";for(var n=i.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var a=n.peek(),l=i.length(a)-n.peekLength(),c="string"==typeof a.insert?a.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=i.iterator(this.ops),r=i.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 a=Math.min(n.peekLength(),r.peekLength()),l=n.next(a),c=r.next(a);if(l.delete)continue;c.delete?o.push(c):o.retain(a,i.attributes.transform(l.attributes,c.attributes,t))}else o.retain(i.length(n.next()));return o.chop()},s.prototype.transformPosition=function(e,t){t=!!t;for(var n=i.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),a=n.peekType();n.next(),"delete"!==a?("insert"===a&&(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,a=Object.getOwnPropertyDescriptor,i=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"),a=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!a)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(a)return a(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,a,u,h=arguments[0],d=1,f=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<f;++d)if(null!=(t=arguments[d]))for(n in t)r=c(h,n),h!==(o=c(t,n))&&(p&&o&&(l(o)||(a=i(o)))?(a?(a=!1,u=r&&i(r)?r:[]):u=r&&l(r)?r:{},s(h,{name:n,newValue:e(p,u,o)})):void 0!==o&&s(h,{name:n,newValue:o}));return h}},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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=h(n(3)),i=h(n(2)),l=h(n(0)),s=h(n(16)),c=h(n(6)),u=h(n(7));function h(e){return e&&e.__esModule?e:{default:e}}function d(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 d(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 i.default).insert(this.value(),(0,a.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 a=l.default.create(m.blotName);this.parent.insertBefore(a,0===e?this:this.next),a.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){d(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 i.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,a){n<=0||(l.default.query(r,l.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,a):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,a),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 a=n.split("\n"),i=a.shift();i.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),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});var l=this;a.reduce((function(e,t){return(l=l.split(e,!0)).insertAt(0,t),t.length}),e+i.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 a=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},a}}]),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,a.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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=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 i=m(n(2)),l=m(n(14)),s=m(n(8)),c=m(n(9)),u=m(n(0)),h=n(15),d=m(h),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 d.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;E.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var a=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(a),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(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()}}]),a(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,a=x(e,t,n),i=o(a,4);return e=i[0],t=i[1],n=i[3],E.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 E.call(this,(function(){var r=n.getSelection(!0),o=new i.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,a){var i,l=this,s=x(e,t,n,r,a),c=o(s,4);return e=c[0],t=c[1],i=c[2],a=c[3],E.call(this,(function(){return l.editor.formatLine(e,t,i)}),a,e,0)}},{key:"formatText",value:function(e,t,n,r,a){var i,l=this,s=x(e,t,n,r,a),c=o(s,4);return e=c[0],t=c[1],i=c[2],a=c[3],E.call(this,(function(){return l.editor.formatText(e,t,i)}),a,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=x(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=x(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,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return E.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),a,t)}},{key:"insertText",value:function(e,t,n,r,a){var i,l=this,s=x(e,0,n,r,a),c=o(s,4);return e=c[0],i=c[2],a=c[3],E.call(this,(function(){return l.editor.insertText(e,t,i)}),a,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,a=x(e,t,n),i=o(a,4);return e=i[0],t=i[1],n=i[3],E.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 E.call(this,(function(){e=new i.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),a=o.ops[o.ops.length-1];return null!=a&&"string"==typeof a.insert&&"\n"===a.insert[a.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 a=x(t,n,r),i=o(a,4);t=i[0],n=i[1],r=i[3],this.selection.setRange(new h.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 i.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 E.call(this,(function(){return e=new i.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(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===s.default.sources.USER)return new i.default;var o=null==n?null:this.getSelection(),a=this.editor.delta,l=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=_(o,l,t):0!==r&&(o=_(o,n,r,t)),this.setSelection(o,s.default.sources.SILENT)),l.length()>0){var c,u,h=[s.default.events.TEXT_CHANGE,l,a,t];(c=this.emitter).emit.apply(c,[s.default.events.EDITOR_CHANGE].concat(h)),t!==s.default.sources.SILENT&&(u=this.emitter).emit.apply(u,h)}return l}function x(e,t,n,o,a){var i={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(a=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(a=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":r(n))?(i=n,a=o):"string"==typeof n&&(null!=o?i[n]=o:a=n),[e,t,i,a=a||s.default.sources.API]}function _(e,t,n,r){if(null==e)return null;var a=void 0,l=void 0;if(t instanceof i.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);a=u[0],l=u[1]}else{var d=[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(d,2);a=f[0],l=f[1]}return new h.Range(a,l-a)}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:i.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},t.expandConfig=w,t.overload=x,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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=l(n(7)),i=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,a){if(t.compare(this.statics.blotName,r)<0&&i.default.query(r,i.default.Scope.BLOT)){var l=this.isolate(e,n);a&&l.wrap(r,a)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,a)}},{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}(i.default.Inline);s.allowedChildren=[s,i.default.Embed,a.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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}var l=(0,i(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}(a.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 a(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];(t=console)[e].apply(t,a)}}function i(e){return r.reduce((function(t,n){return t[n]=a.bind(console,n,e),t}),{})}a.level=i.level=function(e){o=e},t.default=i},function(e,t,n){var r=Array.prototype.slice,o=n(52),a=n(53),i=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(a(e))return!!a(t)&&(e=r.call(e),t=r.call(t),i(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 h=o(e),d=o(t)}catch(e){return!1}if(h.length!=d.length)return!1;for(h.sort(),d.sort(),c=h.length-1;c>=0;c--)if(h[c]!=d[c])return!1;for(c=h.length-1;c>=0;c--)if(u=h[c],!i(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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=h(n(2)),l=h(n(0)),s=h(n(4)),c=h(n(6)),u=h(n(7));function h(e){return e&&e.__esModule?e:{default:e}}function d(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 d(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 d(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 i.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),i=r(o,1)[0];null!=i&&i.deleteAt(i.length()-1,1),a(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 a=this.newlineIndex(e);if(!(a<0||a>=e+n)){var i=this.newlineIndex(e,!0)+1,s=a-i+1,c=this.isolate(i,s),u=c.next;c.format(r,o),u instanceof t&&u.formatAt(0,e-i+n-s,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(u.default,e),a=r(o,2),i=a[0],l=a[1];i.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")),a(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){a(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=a(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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=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=g(n(2)),l=g(n(20)),s=g(n(0)),c=g(n(13)),u=g(n(24)),h=n(4),d=g(h),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 a(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var a=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 i.default)}(e)).reduce((function(e,i){var c=i.retain||i.delete||i.insert.length||1,u=i.attributes||{};if(null!=i.insert){if("string"==typeof i.insert){var f=i.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),e>=a&&!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,h.bubbleFormats)(g));if(g instanceof d.default){var w=g.descendant(s.default.Leaf,y),E=o(w,1)[0];b=(0,m.default)(b,(0,h.bubbleFormats)(E))}u=l.default.attributes.diff(b,u)||{}}else if("object"===r(i.insert)){var x=Object.keys(i.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,i.insert[x])}a+=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 i.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 a=n.scroll.lines(e,Math.max(t,1)),i=t;a.forEach((function(t){var a=t.length();if(t instanceof c.default){var l=e-t.offset(n.scroll),s=t.newlineIndex(l+i)-l+1;t.formatAt(l,s,o,r[o])}else t.format(o,r[o]);i-=a}))}})),this.scroll.optimize(),this.update((new i.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 i.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 i.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 d.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 a=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,h.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=w((0,h.bubbleFormats)(n),t)}return t}));return m.default.apply(m.default,a)}},{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 i.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 i.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===d.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),a=o(r,2),l=a[0],s=a[1],u=0,h=new i.default;null!=l&&(u=l instanceof c.default?l.newlineIndex(s)-s+1:l.length()-s,h=l.delta().slice(s,s+u-1).insert("\n"));var d=this.getContents(e,t+u).diff((new i.default).insert(n).concat(h)),f=(new i.default).retain(e).concat(d);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),a=(0,h.bubbleFormats)(o),l=o.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),d=(new i.default).insert(c),f=(new i.default).insert(o.value());e=(new i.default).retain(l).concat(d.diff(f,n)).reduce((function(e,t){return t.insert?e.insert(t.insert,a):e.push(t)}),new i.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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}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}}(),a=c(n(0)),i=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 h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=(0,c(n(10)).default)("quill:selection"),f=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h(this,e),this.index=t,this.length=n},p=function(){function e(t,n){var r=this;h(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.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,a=n.startOffset,i=n.endNode,l=n.endOffset;r.setNativeRange(o,a,i,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&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=a.default.find(n.start.node,!1);if(null==r)return;if(r instanceof a.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,a=this.scroll.leaf(e),i=r(a,2),l=i[0],s=i[1];if(null==l)return null;var c=l.position(s,!0),u=r(c,2);o=u[0],s=u[1];var h=document.createRange();if(t>0){h.setStart(o,s);var d=this.scroll.leaf(e+t),f=r(d,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],h.setEnd(o,s),h.getBoundingClientRect()}var m="left",g=void 0;return o instanceof Text?(s<o.data.length?(h.setStart(o,s),h.setEnd(o,s+1)):(h.setStart(o,s-1),h.setEnd(o,s),m="right"),g=h.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 d.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],i=n[1],l=a.default.find(o,!0),s=l.offset(t.scroll);return 0===i?s:l instanceof a.default.Container?s+l.length():s+l.index(o,i)})),i=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(u(o)));return new f(l,i-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=[],a=this.scroll.length();return n.forEach((function(e,n){e=Math.min(a-1,e);var i,l=t.scroll.leaf(e),s=r(l,2),c=s[0],u=s[1],h=c.position(u,0!==n),d=r(h,2);i=d[0],u=d[1],o.push(i,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,a=this.scroll.line(Math.min(t.index,o)),i=r(a,1)[0],l=i;if(t.length>0){var s=this.scroll.line(Math.min(t.index+t.length,o));l=r(s,1)[0]}if(null!=i&&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(d.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var a=document.getSelection();if(null!=a)if(null!=e){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||o||e!==i.startContainer||t!==i.startOffset||n!==i.endContainer||r!==i.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),a.removeAllRanges(),a.addRange(l)}}else a.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),d.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),a=o[0],c=o[1];if(this.lastRange=a,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 h,d=[s.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(t),e];(u=this.emitter).emit.apply(u,[s.default.events.EDITOR_CHANGE].concat(d)),e!==s.default.sources.SILENT&&(h=this.emitter).emit.apply(h,d)}}}]),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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},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,[{key:"insertInto",value:function(e,n){0===e.children.length?a(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);i.blotName="break",i.tagName="BR",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 a=n(44),i=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 a.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],a=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,a]:o instanceof t?o.descendant(e,a):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],a=r;return this.children.forEachAt(n,r,(function(n,r,i){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,a))),a-=i})),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],a=r[1];if(o)o.insertAt(a,t,n);else{var i=null==n?l.create("text",t):l.create(t,n);this.appendChild(i)}},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],a=r[1],i=[[this,e]];return o instanceof t?i.concat(o.path(a,n)):(null!=o&&i.push([o,a]),i)},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}(i.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 a=n(12),i=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 i.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 a.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 a=n(30),i=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=i.Scope.INLINE_BLOT,t}(a.default);t.default=l},function(e,t,n){var r=n(11),o=n(3),a={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=o(!0,{},t);for(var a in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[a]&&void 0===t[a]&&(r[a]=e[a]);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 i(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 i(e){this.ops=e,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=a.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},i.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"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=a},function(e,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(a,l,s,c,u){"object"==typeof l&&(s=l.depth,c=l.prototype,u=l.includeNonEnumerable,l=l.circular);var h=[],d=[],f="undefined"!=typeof Buffer;return void 0===l&&(l=!0),void 0===s&&(s=1/0),function a(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(a(t,p-1))}),(function(e){t(a(e,p-1))}))}));else if(o.__isArray(s))v=[];else if(o.__isRegExp(s))v=new RegExp(s.source,i(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=h.indexOf(s);if(-1!=g)return d[g];h.push(s),d.push(v)}for(var y in e(s,t)&&s.forEach((function(e,t){var n=a(t,p-1),r=a(e,p-1);v.set(n,r)})),e(s,n)&&s.forEach((function(e){var t=a(e,p-1);v.add(t)})),s){var b;m&&(b=Object.getOwnPropertyDescriptor(m,y)),b&&null==b.set||(v[y]=a(s[y],p-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(y=0;y<w.length;y++){var E=w[y];(!(_=Object.getOwnPropertyDescriptor(s,E))||_.enumerable||u)&&(v[E]=a(s[E],p-1),_.enumerable||Object.defineProperty(v,E,{enumerable:!1}))}}if(u){var x=Object.getOwnPropertyNames(s);for(y=0;y<x.length;y++){var _,S=x[y];(_=Object.getOwnPropertyDescriptor(s,S))&&_.enumerable||(v[S]=a(s[S],p-1),Object.defineProperty(v,S,{enumerable:!1}))}}return v}(a,s)}function a(e){return Object.prototype.toString.call(e)}function i(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=a,o.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},o.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},o.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},o.__getRegExpFlags=i,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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=f(n(0)),l=f(n(8)),s=n(4),c=f(s),u=f(n(16)),h=f(n(13)),d=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),i=r(o,2),l=i[0],c=i[1],d=this.line(e+n),f=r(d,1)[0];if(a(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 h.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 h.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])&&(a(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==i.default.query(n,i.default.Scope.BLOCK)){var o=i.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=i.default.create(n,r);this.appendChild(l)}else a(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===i.default.Scope.INLINE_BLOT){var r=i.default.create(this.statics.defaultChild);r.appendChild(e),e=r}a(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=[],a=r;return t.children.forEachAt(n,r,(function(t,n,r){p(t)?o.push(t):t instanceof i.default.Container&&(o=o.concat(e(t,n,a))),a-=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&&(a(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 a(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),a(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}(i.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,s.BlockEmbed,d.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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=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=v(n(21)),l=v(n(11)),s=v(n(3)),c=v(n(2)),u=v(n(20)),h=v(n(0)),d=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},E),r.addBinding({key:t.keys.DELETE},{collapsed:!0},x)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},E),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},x)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},_),r.addBinding({key:t.keys.DELETE},{collapsed:!1},_),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},E),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),a(t,null,[{key:"match",value:function(e,t){return t=z(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),a(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=z(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 a=n.which||n.keyCode,i=(e.bindings[a]||[]).filter((function(e){return t.match(n,e)}));if(0!==i.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var c=e.quill.getLine(s.index),u=o(c,2),d=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],E=b[1],x=m instanceof h.default.Text?m.value().slice(0,g):"",_=w instanceof h.default.Text?w.value().slice(E):"",S={collapsed:0===s.length,empty:0===s.length&&d.length()<=1,format:e.quill.getFormat(s),offset:f,prefix:x,suffix:_};i.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 a=this.quill.getLeaf(r);return!(o(a,1)[0]instanceof h.default.Embed&&(e===b.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function E(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],a={};if(0===t.offset){var i=this.quill.getLine(e.index-1),l=o(i,1)[0];if(null!=l&&l.length()>1){var s=r.formats(),c=this.quill.getFormat(e.index-1,1);a=u.default.attributes.diff(s,c)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-h,h,d.default.sources.USER),Object.keys(a).length>0&&this.quill.formatLine(e.index-h,h,a,d.default.sources.USER),this.quill.focus()}}function x(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},a=0,i=this.quill.getLine(e.index),l=o(i,1)[0];if(t.offset>=l.length()-1){var s=this.quill.getLine(e.index+1),c=o(s,1)[0];if(c){var h=l.formats(),f=this.quill.getFormat(e.index,1);r=u.default.attributes.diff(h,f)||{},a=c.length()}}this.quill.deleteText(e.index,n,d.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+a-1,n,r,d.default.sources.USER)}}function _(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,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,d.default.sources.USER),this.quill.setSelection(e.index,d.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 h.default.query(n,h.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,d.default.sources.USER),this.quill.setSelection(e.index+1,d.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],d.default.sources.USER))}))}function C(e){return{key:b.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=h.default.query("code-block"),r=t.index,a=t.length,i=this.quill.scroll.descendant(n,r),l=o(i,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+a),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:a+=n.TAB.length):t.startsWith(n.TAB)&&(s.deleteAt(f+c,n.TAB.length),c-=n.TAB.length,0===o?r-=n.TAB.length:a-=n.TAB.length),c+=t.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(r,a,d.default.sources.SILENT)}}}}function O(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],d.default.sources.USER)}}}function z(e){if("string"==typeof e||"number"==typeof e)return z({key:e});if("object"===(void 0===e?"undefined":r(e))&&(e=(0,i.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:O("bold"),italic:O("italic"),underline:O("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",d.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",d.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",d.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":C(!0),"outdent code-block":C(!1),"remove tab":{key:b.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,d.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,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,d.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,d.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,d.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],a=n[1],i=(0,s.default)({},r.formats(),{list:"checked"}),l=(new c.default).retain(e.index).insert("\n",i).retain(r.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,d.default.sources.USER),this.quill.setSelection(e.index+1,d.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),a=r[0],i=r[1],l=(new c.default).retain(e.index).insert("\n",t.format).retain(a.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,d.default.sources.USER),this.quill.setSelection(e.index+1,d.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),a=o(r,2),i=a[0],l=a[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," ",d.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:s});this.quill.updateContents(u,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,d.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],a=n[1],i=(new c.default).retain(e.index+r.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,d.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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.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}}(),a=l(n(0)),i=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,i=0;null!=o&&o.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=o.offset(o.parent),o=o.parent;null!=o&&(this._length=t.CONTENTS.length,o.optimize(),o.formatAt(i,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 i.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(a.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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}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}(a.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=i(n(0)),o=n(4),a=i(o);function i(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=[a.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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=(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=a(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}(i.default.Attributor.Style),s=new i.default.Attributor.Class("color","ql-color",{scope:i.default.Scope.INLINE}),c=new l("color","color",{scope:i.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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},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,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return a(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=a(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}i.blotName="link",i.tagName="A",i.SANITIZED_URL="about:blank",i.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=i,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}}(),a=l(n(23)),i=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 a.default.keys.ENTER:n.togglePicker();break;case a.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 a.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case a.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=i.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)),a=n(4),i=g(a),l=g(n(16)),s=g(n(25)),c=g(n(24)),u=g(n(35)),h=g(n(6)),d=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":i.default,"blots/block/embed":a.BlockEmbed,"blots/break":l.default,"blots/container":s.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":h.default,"blots/scroll":d.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":v.default,"modules/keyboard":m.default}),r.default.register(i.default,l.default,c.default,h.default,d.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 a=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)a.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var i=r.create(this.statics.scope);a.wrap(i),i.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),a=this.split(e);this.parent.insertBefore(o,a)},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),a=n(33),i=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=a.default.keys(this.domNode);t.concat(n).concat(l).forEach((function(t){var n=i.query(t,i.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 a(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}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.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){a(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(a(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).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)});function a(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 i=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[a(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[a(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[a(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=i},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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=l(n(0)),i=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 i.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(a.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof i.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(a.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}(a.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},a={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},i=new o.default.Attributor.Attribute("align","align",a),l=new o.default.Attributor.Class("align","ql-align",a),s=new o.default.Attributor.Style("align","text-align",a);t.AlignAttribute=i,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},a=n(26),i=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});t.BackgroundClass=i,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},a={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},i=new o.default.Attributor.Attribute("direction","dir",a),l=new o.default.Attributor.Class("direction","ql-direction",a),s=new o.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=i,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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=(r=n(0))&&r.__esModule?r:{default:r},l={scope:i.default.Scope.INLINE,whitelist:["serif","monospace"]},s=new i.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 a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(i.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},a=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),i=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=i},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=i(n(0)),a=i(n(5));function i(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(a.default.events.EDITOR_CHANGE,(function(e,t,n,o){e!==a.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==a.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],a.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}(i(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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=p(n(3)),i=p(n(2)),l=p(n(8)),s=p(n(23)),c=p(n(34)),u=p(n(59)),h=p(n(60)),d=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"],E=["1","2","3",!1],x=["small",!1,"large","huge"],_=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("ql-".length),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")&&C(e,y),new h.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")&&C(e,b,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?C(e,w):e.classList.contains("ql-header")?C(e,E):e.classList.contains("ql-size")&&C(e,x)),new d.default(e)})),this.quill.on(l.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(c.default);_.DEFAULTS=(0,a.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 i.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 a=o.index+o.length;this.quill.insertEmbed(a,this.root.getAttribute("data-mode"),n,l.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(a+1," ",l.default.sources.USER),this.quill.setSelection(a+2,l.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(f.default);function C(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=_},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),a=o[0],i=e-o[1],l=this.iterator(a);(r=l())&&i<e+t;){var s=r.length();e>i?n(r,e-i,Math.min(t,i+s-e)):n(r,0,Math.min(s,e+t-i)),i+=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 a=n(17),i=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[i.DATA_KEY].mutations&&(e.domNode[i.DATA_KEY].mutations=[]),t&&l(e.parent))},s=function(e){null!=e.domNode[i.DATA_KEY]&&null!=e.domNode[i.DATA_KEY].mutations&&(e instanceof a.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=i.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(i.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=i.find(e,!1);l(t,!1),t instanceof a.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=i.find(e.target,!0);return null==t?null:null==t.domNode[i.DATA_KEY].mutations?(t.domNode[i.DATA_KEY].mutations=[e],t):(t.domNode[i.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[i.DATA_KEY]&&e.update(e.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="DIV",t}(a.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 a=n(18),i=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 a.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]||i.query(r,i.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=i.Scope.INLINE_BLOT,t.tagName="SPAN",t}(a.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 a=n(18),i=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=i.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),a=i.create(n,r);o.parent.insertBefore(a,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=i.Scope.BLOCK_BLOT,t.tagName="P",t}(a.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 a=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=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 a=n(19),i=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=i.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=i.Scope.INLINE_BLOT,t}(a.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],a=0;a<r;a++)if(t=n[a],e.call(o,t,a,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 a(e,t,u){if(e==t)return e?[[o,e]]:[];(u<0||e.length<u)&&(u=null);var d=l(e,t),f=e.substring(0,d);d=s(e=e.substring(d),t=t.substring(d));var p=e.substring(e.length-d),v=function(e,t){var c;if(!e)return[[r,t]];if(!t)return[[n,e]];var u=e.length>t.length?e:t,h=e.length>t.length?t:e,d=u.indexOf(h);if(-1!=d)return c=[[r,u.substring(0,d)],[o,h],[r,u.substring(d+h.length)]],e.length>t.length&&(c[0][0]=c[2][0]=n),c;if(1==h.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,a,i,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,h="";-1!=(u=t.indexOf(c,u+1));){var d=l(e.substring(n),t.substring(u)),f=s(e.substring(0,n),t.substring(0,u));h.length<f+d&&(h=t.substring(u-f,u)+t.substring(u,u+d),r=e.substring(0,n-f),o=e.substring(n+d),a=t.substring(0,u-f),i=t.substring(u+d))}return 2*h.length>=e.length?[r,o,a,i,h]:null}var a,i,c,u,h,d=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));return d||f?(a=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(i=a[0],c=a[1],u=a[2],h=a[3]):(u=a[0],h=a[1],i=a[2],c=a[3]),[i,c,u,h,a[4]]):null}(e,t);if(f){var p=f[0],v=f[1],m=f[2],g=f[3],y=f[4],b=a(p,m),w=a(v,g);return b.concat([[o,y]],w)}return function(e,t){for(var o=e.length,a=t.length,l=Math.ceil((o+a)/2),s=l,c=2*l,u=new Array(c),h=new Array(c),d=0;d<c;d++)u[d]=-1,h[d]=-1;u[s+1]=0,h[s+1]=0;for(var f=o-a,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 E=s+w,x=(z=w==-b||w!=b&&u[E-1]<u[E+1]?u[E+1]:u[E-1]+1)-w;z<o&&x<a&&e.charAt(z)==t.charAt(x);)z++,x++;if(u[E]=z,z>o)m+=2;else if(x>a)v+=2;else if(p&&(C=s+f-w)>=0&&C<c&&-1!=h[C]&&z>=(S=o-h[C]))return i(e,t,z,x)}for(var _=-b+g;_<=b-y;_+=2){for(var S,C=s+_,O=(S=_==-b||_!=b&&h[C-1]<h[C+1]?h[C+1]:h[C-1]+1)-_;S<o&&O<a&&e.charAt(o-S-1)==t.charAt(a-O-1);)S++,O++;if(h[C]=S,S>o)y+=2;else if(O>a)g+=2;else if(!p){var z;if((E=s+f-_)>=0&&E<c&&-1!=u[E]&&(x=s+(z=u[E])-E,z>=(S=o-S)))return i(e,t,z,x)}}}return[[n,e],[r,t]]}(e,t)}(e=e.substring(0,e.length-d),t=t.substring(0,t.length-d));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,a=0;a<e.length;a++){var i=e[a];if(i[0]===n||i[0]===o){var l=r+i[1].length;if(t===l)return[a+1,e];if(t<l){e=e.slice();var s=t-r,c=[i[0],i[1].slice(0,s)],u=[i[0],i[1].slice(s)];return e.splice(a,1,c,u),[a+1,e]}r=l}}throw new Error("cursor_pos is out of bounds!")}(e,t),a=r[1],i=r[0],l=a[i],s=a[i+1];if(null==l)return e;if(l[0]!==o)return e;if(null!=s&&l[1]+s[1]===s[1]+l[1])return a.splice(i,2,s,l),h(a,i,2);if(null!=s&&0===s[1].indexOf(l[1])){a.splice(i,2,[s[0],l[1]],[0,l[1]]);var c=s[1].slice(l[1].length);return c.length>0&&a.splice(i+2,0,[s[0],c]),h(a,i,3)}return e}(v,u)),function(e){for(var t=!1,a=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},i=2;i<e.length;i+=1)e[i-2][0]===o&&((l=e[i-2][1]).charCodeAt(l.length-1)>=55296&&l.charCodeAt(l.length-1)<=56319)&&e[i-1][0]===n&&a(e[i-1][1])&&e[i][0]===r&&a(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));var l;if(!t)return e;var s=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&s.push(e[i]);return s}(v)}function i(e,t,n,r){var o=e.substring(0,n),i=t.substring(0,r),l=e.substring(n),s=t.substring(r),c=a(o,i),u=a(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,a=0;n<o;)e.substring(a,o)==t.substring(a,o)?a=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,a=0;n<o;)e.substring(e.length-o,e.length-a)==t.substring(t.length-o,t.length-a)?a=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function c(e){e.push([o,""]);for(var t,a=0,i=0,u=0,h="",d="";a<e.length;)switch(e[a][0]){case r:u++,d+=e[a][1],a++;break;case n:i++,h+=e[a][1],a++;break;case o:i+u>1?(0!==i&&0!==u&&(0!==(t=l(d,h))&&(a-i-u>0&&e[a-i-u-1][0]==o?e[a-i-u-1][1]+=d.substring(0,t):(e.splice(0,0,[o,d.substring(0,t)]),a++),d=d.substring(t),h=h.substring(t)),0!==(t=s(d,h))&&(e[a][1]=d.substring(d.length-t)+e[a][1],d=d.substring(0,d.length-t),h=h.substring(0,h.length-t))),0===i?e.splice(a-u,i+u,[r,d]):0===u?e.splice(a-i,i+u,[n,h]):e.splice(a-i-u,i+u,[n,h],[r,d]),a=a-i-u+(i?1:0)+(u?1:0)+1):0!==a&&e[a-1][0]==o?(e[a-1][1]+=e[a][1],e.splice(a,1)):a++,u=0,i=0,h="",d=""}""===e[e.length-1][1]&&e.pop();var f=!1;for(a=1;a<e.length-1;)e[a-1][0]==o&&e[a+1][0]==o&&(e[a][1].substring(e[a][1].length-e[a-1][1].length)==e[a-1][1]?(e[a][1]=e[a-1][1]+e[a][1].substring(0,e[a][1].length-e[a-1][1].length),e[a+1][1]=e[a-1][1]+e[a+1][1],e.splice(a-1,1),f=!0):e[a][1].substring(0,e[a+1][1].length)==e[a+1][1]&&(e[a-1][1]+=e[a+1][1],e[a][1]=e[a][1].substring(e[a+1][1].length)+e[a+1][1],e.splice(a+1,1),f=!0)),a++;f&&c(e)}var u=a;function h(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var o=e[r],a=e[r+1];o[0]===a[1]&&e.splice(r,2,[o[0],o[1]+a[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 a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),i.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},i.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 a=0,i=o.length,l=new Array(i);a<i;a++)l[a]=o[a].fn;return l},i.prototype.emit=function(e,t,n,o,a,i){var l=r?r+e:e;if(!this._events[l])return!1;var s,c,u=this._events[l],h=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),h){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,a),!0;case 6:return u.fn.call(u.context,t,n,o,a,i),!0}for(c=1,s=new Array(h-1);c<h;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var d,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),h){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(d=1,s=new Array(h-1);d<h;d++)s[d-1]=arguments[d];u[c].fn.apply(u[c].context,s)}}return!0},i.prototype.on=function(e,t,n){var o=new a(t,n||this),i=r?r+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},i.prototype.once=function(e,t,n){var o=new a(t,n||this,!0),i=r?r+e:e;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],o]:this._events[i].push(o):(this._events[i]=o,this._eventsCount++),this},i.prototype.removeListener=function(e,t,n,a){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return 0==--this._eventsCount?this._events=new o:delete this._events[i],this;var l=this._events[i];if(l.fn)l.fn!==t||a&&!l.once||n&&l.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[i]);else{for(var s=0,c=[],u=l.length;s<u;s++)(l[s].fn!==t||a&&!l[s].once||n&&l[s].context!==n)&&c.push(l[s]);c.length?this._events[i]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new o:delete this._events[i]}return this},i.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},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=r,i.EventEmitter=i,void 0!==e&&(e.exports=i)},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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=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=b(n(3)),l=b(n(2)),s=b(n(0)),c=b(n(5)),u=b(n(10)),h=b(n(9)),d=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 E=(0,u.default)("quill:clipboard"),x="__ql-matcher",_=[[Node.TEXT_NODE,I],[Node.TEXT_NODE,N],["br",function(e,t){return T(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,function(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===M(e).fontStyle&&(n.italic=!0),r.fontWeight&&(M(e).fontWeight.startsWith("bold")||parseInt(M(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=z(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||!T(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",A.bind(A,"bold")],["i",A.bind(A,"italic")],["style",function(){return new l.default}]],S=[d.AlignAttribute,m.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),C=[d.AlignStyle,f.BackgroundStyle,v.ColorStyle,m.DirectionStyle,g.FontStyle,y.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),O=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=[],_.concat(r.options.matchers).forEach((function(e){var t=o(e,2),a=t[0],i=t[1];(n.matchVisual||i!==H)&&r.addMatcher(a,i)})),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),a(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(),a=o(r,2),i=a[0],s=a[1],c=k(this.container,i,s);return T(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new l.default).retain(c.length()-1).delete(1))),E.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 a=o(r,2),i=a[0],l=a[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:t.push(l);break;default:[].forEach.call(e.container.querySelectorAll(i),(function(e){e[x]=e[x]||[],e[x].push(l)}))}})),[t,n]}}]),t}(h.default);function z(e,t,n){return"object"===(void 0===t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return z(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,i.default)({},w({},t,n),r.attributes))}),new l.default)}function M(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function T(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 P(e){if(0===e.childNodes.length)return!1;var t=M(e);return["block","list-item"].indexOf(t.display)>-1}function k(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 a=k(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(a=t.reduce((function(e,t){return t(o,e)}),a),a=(o[x]||[]).reduce((function(e,t){return t(o,e)}),a)),r.concat(a)}),new l.default):new l.default}function A(e,t,n){return z(n,e,!0)}function L(e,t){var n=s.default.Attributor.Attribute.keys(e),r=s.default.Attributor.Class.keys(e),o=s.default.Attributor.Style.keys(e),a={};return n.concat(r).concat(o).forEach((function(t){var n=s.default.query(t,s.default.Scope.ATTRIBUTE);null!=n&&(a[n.attrName]=n.value(e),a[n.attrName])||(null==(n=S[t])||n.attrName!==t&&n.keyName!==t||(a[n.attrName]=n.value(e)||void 0),null==(n=C[t])||n.attrName!==t&&n.keyName!==t||(n=C[t],a[n.attrName]=n.value(e)||void 0))})),Object.keys(a).length>0&&(t=z(t,a)),t}function R(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=z(t,n.blotName,n.formats(e)));return t}function N(e,t){return T(t,"\n")||(P(e)||t.length()>0&&e.nextSibling&&P(e.nextSibling))&&t.insert("\n"),t}function H(e,t){if(P(e)&&null!=e.nextElementSibling&&!T(t,"\n\n")){var n=e.offsetHeight+parseFloat(M(e).marginTop)+parseFloat(M(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function I(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(!M(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&&P(e.parentNode)||null!=e.previousSibling&&P(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&P(e.parentNode)||null!=e.nextSibling&&P(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}O.DEFAULTS={matchers:[],matchVisual:!0},t.default=O,t.matchAttributor=L,t.matchBlot=R,t.matchNewline=N,t.matchSpacing=H,t.matchText=I},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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},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,[{key:"optimize",value:function(e){a(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 a(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);i.blotName="bold",i.tagName=["STRONG","B"],t.default=i},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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}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}}(),a=u(n(2)),i=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 h(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 d=(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,a=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(a.options.container)){var i=document.createElement("div");v(i,a.options.container),e.container.parentNode.insertBefore(i,e.container),a.container=i}else"string"==typeof a.options.container?a.container=document.querySelector(a.options.container):a.container=a.options.container;return a.container instanceof HTMLElement?(a.container.classList.add("ql-toolbar"),a.controls=[],a.handlers={},Object.keys(a.options.handlers).forEach((function(e){a.addHandler(e,a.options.handlers[e])})),[].forEach.call(a.container.querySelectorAll("button, select"),(function(e){a.attach(e)})),a.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.SELECTION_CHANGE&&a.update(t)})),a.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){var e=a.quill.selection.getRange(),t=r(e,1)[0];a.update(t)})),a):(o=d.error("Container required for toolbar",a.options),h(a,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("ql-".length),"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 d.warn("ignoring attaching to disabled format",n,e);if(null==i.default.query(n))return void d.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(),h=r(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,s);else if(i.default.query(n).prototype instanceof i.default.Embed){if(!(s=prompt("Enter "+n)))return;t.quill.updateContents((new a.default).retain(h.index).delete(h.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(h)})),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),a=o[0],i=o[1];if("SELECT"===i.tagName){var l=void 0;if(null==e)l=null;else if(null==t[a])l=i.querySelector("option[selected]");else if(!Array.isArray(t[a])){var s=t[a];"string"==typeof s&&(s=s.replace(/\"/g,'\\"')),l=i.querySelector('option[value="'+s+'"]')}null==l?(i.value="",i.selectedIndex=-1):l.selected=!0}else if(null==e)i.classList.remove("ql-active");else if(i.hasAttribute("value")){var c=t[a]===i.getAttribute("value")||null!=t[a]&&t[a].toString()===i.getAttribute("value")||null==t[a]&&!i.getAttribute("value");i.classList.toggle("ql-active",c)}else i.classList.toggle("ql-active",null!=t[a])}))}}]),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!=i.default.query(t,i.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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=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=a(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){a(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=i},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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=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){a(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=i},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(),a=0;if(o.right>r.right&&(a=r.right-o.right,this.root.style.left=t+a+"px"),o.left<r.left&&(a=r.left-o.left,this.root.style.left=t+a+"px"),o.bottom>r.bottom){var i=o.bottom-o.top,l=e.bottom-e.top+i;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return a}},{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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.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}}(),a=d(n(3)),i=d(n(8)),l=n(43),s=d(l),c=d(n(27)),u=n(15),h=d(n(41));function d(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")),h.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),h.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,a.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,i.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(i.default.events.SELECTION_CHANGE,(function(t,n,r){if(null!=t){if(0===t.length&&r===i.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,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.quill.scroll.descendant(c.default,t.index),2),a=o[0],l=o[1];if(null!=a){e.linkRange=new u.Range(t.index-l,a.length());var s=c.default.formats(a.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=N(n(29)),o=n(36),a=n(38),i=n(64),l=N(n(65)),s=N(n(66)),c=n(67),u=N(c),h=n(37),d=n(26),f=n(39),p=n(40),v=N(n(56)),m=N(n(68)),g=N(n(27)),y=N(n(69)),b=N(n(70)),w=N(n(71)),E=N(n(72)),x=N(n(73)),_=n(13),S=N(_),C=N(n(74)),O=N(n(75)),z=N(n(57)),M=N(n(41)),T=N(n(28)),P=N(n(59)),k=N(n(60)),A=N(n(61)),L=N(n(108)),R=N(n(62));function N(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":i.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":d.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":_.Code,"formats/italic":m.default,"formats/link":g.default,"formats/script":y.default,"formats/strike":b.default,"formats/underline":w.default,"formats/image":E.default,"formats/video":x.default,"formats/list/item":c.ListItem,"modules/formula":C.default,"modules/syntax":O.default,"modules/toolbar":z.default,"themes/bubble":L.default,"themes/snow":R.default,"ui/icons":M.default,"ui/picker":T.default,"ui/icon-picker":k.default,"ui/color-picker":P.default,"ui/tooltip":A.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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=(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):a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(i.default.Attributor.Class),s=new l("indent","ql-indent",{scope:i.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}}(),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:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((r=n(4))&&r.__esModule?r:{default:r}).default);a.blotName="header",a.tagName=["H1","H2","H3","H4","H5","H6"],t.default=a},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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=s(n(0)),i=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 h(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 d=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(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(a.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}(i.default);d.blotName="list-item",d.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=a.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 h(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 d)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),a=this.split(r);a.parent.insertBefore(e,a)}}},{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=a.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=a.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],t.ListItem=d,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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},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:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):a(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);i.blotName="script",i.tagName=["SUB","SUP"],t.default=i},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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=(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):a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=a(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}(i.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}}(),a=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},i=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):a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=a(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}(i.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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=s(n(35)),i=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 h(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 d=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(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}(a.default);d.blotName="formula",d.className="ql-formula",d.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 h(t,e),r(t,null,[{key:"register",value:function(){i.default.register(d,!0)}}]),t}(l.default);t.FormulaBlot=d,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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},a=s(n(0)),i=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 h(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 d=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(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);d.className="ql-syntax";var f=new a.default.Attributor.Class("token","hljs",{scope:a.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(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return h(t,e),r(t,null,[{key:"register",value:function(){i.default.register(f,!0),i.default.register(d,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=t&&this.quill.setSelection(t,i.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=d,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 a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.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}}(),a=h(n(3)),i=h(n(8)),l=n(43),s=h(l),c=n(15),u=h(n(41));function h(e){return e&&e.__esModule?e:{default:e}}function d(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){d(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,a.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){d(this,t);var r=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,o){if(e===i.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===i.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var a=r.quill.getLines(t.index,t.length);if(1===a.length)r.position(r.quill.getBounds(t));else{var l=a[a.length-1],s=r.quill.getIndex(l),u=Math.min(l.length()-1,t.index+t.length-s),h=r.quill.getBounds(new c.Range(s,u));r.position(h)}}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(i.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()},8151:function(e,t,n){var r,o,a;void 0===(a=this)&&void 0!==window&&(a=window),r=[n(8575),n(1347),n(5722),n(4854)],o=function(e,t,n,r){return a.rasterizeHTML=(o=t,i=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(),a=t.shift(),i=e.joinUrl(r,a);return n.apply(this,[o,i].concat(t))})),o}},t.finishNotifyingXhr=function(e){var t,r=0,o=0,a=!1,i=new Promise((function(e){t=function(){r-o<=0&&a&&e({totalCount:r})}})),l=function(){var a=new e;return n(a,"send",(function(e,t){return r+=1,t.apply(this,arguments)})),a.addEventListener("load",(function(){o+=1,t()})),a};return l.waitForRequestsToFinish=function(){return a=!0,t(),i},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,a){var i=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(i,"i").test(e.selectorText)}));c.length&&(c.forEach((function(e){var t=e.selectorText.replace(new RegExp(i,"gi"),(function(e,t,n){return t+a(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}(),h=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 a=t.querySelector(n),i=":"+o,l="rasterizehtml"+o;a&&(r[o]?e.addClassNameRecursively(a,l):e.addClassName(a,l),e.rewriteCssSelectorWith(t,i,"."+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),d=function(e,t,n,r){"use strict";var o={};o.executeJavascript=function(e,n){return new Promise((function(o){var a=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),i=e.outerHTML,l=[],s=n.executeJsTimeout||0,c=function(){r.document.getElementsByTagName("body")[0].removeChild(a)},u=function(){var e=a.contentDocument;o({document:e,errors:l,cleanUp:c})},h=a.contentWindow.XMLHttpRequest,d=t.finishNotifyingXhr(h),f=t.baseUrlRespectingXhr(d,n.baseUrl);a.onload=function(){var e;(e=s,e>0?new Promise((function(t){setTimeout(t,e)})):Promise.resolve()).then(d.waitForRequestsToFinish).then(u)},a.contentDocument.open(),a.contentWindow.XMLHttpRequest=f,a.contentWindow.onerror=function(e){l.push({resourceType:"scriptExecution",msg:e})},a.contentDocument.write("<!DOCTYPE html>"),a.contentDocument.write(i),a.contentDocument.close()}))};var a=function(e,t,n,o,a){var i,l,s,c,u,h,d,f=Math.max(e.scrollWidth,e.clientWidth),p=Math.max(e.scrollHeight,e.clientHeight);return t?(i=(h=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=h.left,s=h.width,c=h.height):(i=0,l=0,s=f,c=p),d=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,a),u=r.getComputedStyle(e.ownerDocument.documentElement).fontSize,{left:l,top:i,width:d.width,height:d.height,viewportWidth:f,viewportHeight:p,rootFontSize:u}};o.calculateDocumentContentSize=function(e,t){return new Promise((function(n,o){var i,l=t.zoom||1;i=function(e,t,n){var o=Math.floor(e/n),a=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,a)}(t.width,t.height,l),r.document.getElementsByTagName("body")[0].appendChild(i),i.onload=function(){var s,c=i.contentDocument;try{s=a(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(i)}},i.contentDocument.open(),i.contentDocument.write("<!DOCTYPE html>"),i.contentDocument.write(function(e){var t=e.tagName.toLowerCase();return"html"===t||"body"===t?e.outerHTML:'<body style="margin: 0;">'+e.outerHTML+"</body>"}(e)),i.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,a,i,l=/<html((?:\s+[^>]*)?)>/im.exec(t),s=r.document.implementation.createHTMLDocument("");if(l)for(n="<div"+l[1]+"></div>",s.documentElement.innerHTML=n,a=s.querySelector("div"),o=0;o<a.attributes.length;o++)i=a.attributes[o],e.documentElement.setAttribute(i.name,i.value)}(t,e),t};var i=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");i(t)};var l=null,s=function(t,n){return new Promise((function(r,o){var a=new window.XMLHttpRequest,i=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})};a.addEventListener("load",(function(){200===a.status||0===a.status?r(a.responseXML):s(a.statusText)}),!1),a.addEventListener("error",(function(e){s(e)}),!1);try{a.open("GET",i,!0),a.responseType="document",a.send(null)}catch(e){s(e)}}))};return o.loadDocument=function(e,t){return s(e,t).then((function(e){return i(e)}))},o}(s,c,i,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)},a='<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><foreignObject></foreignObject></svg>',i=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(a,!0),i(l).then((function(e){return o(l),!e&&i(r(a,!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,a,i=function(){r&&o(r)};(a=new Image).onload=function(){a.onload=null,a.onerror=null,i(),t(a)},a.onerror=function(){i(),n()},s(e).then((function(e){r=e,a.src=r}),n)}))},n}(window),p=function(e,t,n,r){"use strict";var o={},a=function(e){var t=Object.keys(e);return t.length?" "+t.map((function(t){return t+'="'+e[t]+'"'})).join(" "):""},i=function(e,n,o){var i=r.serializeToString(e);t.validateXHTML(i);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"'+a(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'+a(c)+">"+i+"</foreignObject></svg>"};return o.getSvgForDocument=function(e,t,r){return n.rewriteTagNameSelectorsToLowerCase(e),i(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,d,h,o),v=function(e,t,n,r,o,a){"use strict";var i={},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 i.rasterize=function(r,o,i){var l;return(l=e.clone(i)).inlineScripts=!0===i.executeJs,a.inlineReferences(r,l).then((function(e){return i.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,i).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,i).then((function(t){return e.cleanUp(),{image:t.image,svg:t.svg,errors:e.errors}}))}))},i}(s,d,h,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),a=t.documentElement?t.documentElement:t;return n.rasterize(a,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),a=e.parseOptionalParameters(o);return function(e,n,o){var a=t.parseHTML(e);return r.drawDocument(a,n,o)}(n,a.canvas,a.options)};var o=function(n,o,a){return t.loadDocument(n,a).then((function(t){var i=function(t,n,r){var o=document.implementation.createHTMLDocument("");o.replaceChild(t.documentElement,o.documentElement);var a=r?e.clone(r):{};return r.baseUrl||(a.baseUrl=n),{document:o,options:a}}(t,n,a);return r.drawDocument(i.document,o,i.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,d,v),m);var o,i,l,s,c,u,h,d,f,p,v,m}.apply(t,r),void 0===o||(e.exports=o)},7830:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AlphaPicker:()=>Fn,BlockPicker:()=>Xr,ChromePicker:()=>Wa,CirclePicker:()=>Ia,CompactPicker:()=>$a,CustomPicker:()=>Ln,GithubPicker:()=>Ja,GooglePicker:()=>Hi,HuePicker:()=>ni,MaterialPicker:()=>ri,PhotoshopPicker:()=>hi,SketchPicker:()=>yi,SliderPicker:()=>xi,SwatchesPicker:()=>zi,TwitterPicker:()=>Ti,default:()=>Wa});var r=n(7294),o=n(9941),a={},i=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");if(a[o])return a[o];var i=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 a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return a[o]=i,i},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},s=function(e){var t=e.white,n=e.grey,a=e.size,s=e.renderers,c=e.borderRadius,u=e.boxShadow,h=e.children,d=(0,o.ZP)({default:{grid:{borderRadius:c,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+i(t,n,a,s.canvas)+") center left"}}});return(0,r.isValidElement)(h)?r.cloneElement(h,l({},h.props,{style:l({},h.props.style,d.grid)})):r.createElement("div",{style:d.grid})};s.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};const c=s;var u=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},h=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}}();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}const f=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,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=function(e,t,n,r,o){var a=o.clientWidth,i=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 h;if(h=u<0?0:u>i?1:Math.round(100*u/i)/100,t.a!==h)return{h:t.h,s:t.s,l:t.l,a:h,source:"rgb"}}else{var d;if(r!==(d=c<0?0:c>a?1:Math.round(100*c/a)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}(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),h(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,o.ZP)({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:u({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r.createElement("div",{style:n.alpha},r.createElement("div",{style:n.checkboard},r.createElement(c,{renderers:this.props.renderers})),r.createElement("div",{style:n.gradient}),r.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("div",{style:n.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var p=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}}(),v=[38,40],m=1;const g=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,v.indexOf(t)>-1)){var o=n.getArrowOffset(),a=38===e.keyCode?r+o:r-o;n.setUpdatedValue(a,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-"+m++,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),p(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,o.ZP)({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 r.createElement("div",{style:t.wrap},r.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?r.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var y=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}}();function b(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}const w=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,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=b(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=function(e,t,n,r){var o=r.clientWidth,a=r.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(r.getBoundingClientRect().left+window.pageXOffset),c=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u;if(u=c<0?359:c>a?0:360*(-100*c/a+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var h;if(h=s<0?0:s>o?359:100*s/o*360/100,n.h!==h)return{h,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(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()},b(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),y(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,a=(0,o.ZP)({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 r.createElement("div",{style:a.hue},r.createElement("div",{className:"hue-"+n,style:a.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.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 "),r.createElement("div",{style:a.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:a.slider}))))}}]),t}(r.PureComponent||r.Component);var E=n(5697),x=n.n(E);const _=function(e,t){return e===t||e!=e&&t!=t},S=function(e,t){for(var n=e.length;n--;)if(_(e[n][0],t))return n;return-1};var C=Array.prototype.splice;function O(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])}}O.prototype.clear=function(){this.__data__=[],this.size=0},O.prototype.delete=function(e){var t=this.__data__,n=S(t,e);return!(n<0||(n==t.length-1?t.pop():C.call(t,n,1),--this.size,0))},O.prototype.get=function(e){var t=this.__data__,n=S(t,e);return n<0?void 0:t[n][1]},O.prototype.has=function(e){return S(this.__data__,e)>-1},O.prototype.set=function(e,t){var n=this.__data__,r=S(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const z=O,M="object"==typeof global&&global&&global.Object===Object&&global;var T="object"==typeof self&&self&&self.Object===Object&&self;const P=M||T||Function("return this")(),k=P.Symbol;var A=Object.prototype,L=A.hasOwnProperty,R=A.toString,N=k?k.toStringTag:void 0;var H=Object.prototype.toString;var I=k?k.toStringTag:void 0;const V=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":I&&I in Object(e)?function(e){var t=L.call(e,N),n=e[N];try{e[N]=void 0;var r=!0}catch(e){}var o=R.call(e);return r&&(t?e[N]=n:delete e[N]),o}(e):function(e){return H.call(e)}(e)},D=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},j=function(e){if(!D(e))return!1;var t=V(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},F=P["__core-js_shared__"];var B,U=(B=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";var G=Function.prototype.toString;const q=function(e){if(null!=e){try{return G.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var W=/^\[object .+?Constructor\]$/,K=Function.prototype,Y=Object.prototype,Z=K.toString,$=Y.hasOwnProperty,X=RegExp("^"+Z.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Q=function(e){return!(!D(e)||(t=e,U&&U in t))&&(j(e)?X:W).test(q(e));var t},J=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Q(n)?n:void 0},ee=J(P,"Map"),te=J(Object,"create");var ne=Object.prototype.hasOwnProperty;var re=Object.prototype.hasOwnProperty;function oe(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])}}oe.prototype.clear=function(){this.__data__=te?te(null):{},this.size=0},oe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oe.prototype.get=function(e){var t=this.__data__;if(te){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ne.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:re.call(t,e)},oe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=te&&void 0===t?"__lodash_hash_undefined__":t,this};const ae=oe,ie=function(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map};function le(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])}}le.prototype.clear=function(){this.size=0,this.__data__={hash:new ae,map:new(ee||z),string:new ae}},le.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},le.prototype.get=function(e){return ie(this,e).get(e)},le.prototype.has=function(e){return ie(this,e).has(e)},le.prototype.set=function(e,t){var n=ie(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const se=le;function ce(e){var t=this.__data__=new z(e);this.size=t.size}ce.prototype.clear=function(){this.__data__=new z,this.size=0},ce.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ce.prototype.get=function(e){return this.__data__.get(e)},ce.prototype.has=function(e){return this.__data__.has(e)},ce.prototype.set=function(e,t){var n=this.__data__;if(n instanceof z){var r=n.__data__;if(!ee||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new se(r)}return n.set(e,t),this.size=n.size,this};const ue=ce,he=function(){try{var e=J(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),de=function(e,t,n){"__proto__"==t&&he?he(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},fe=function(e,t,n){(void 0!==n&&!_(e[t],n)||void 0===n&&!(t in e))&&de(e,t,n)},pe=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var l=a[++r];if(!1===t(o[l],l,o))break}return e};var ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,me=ve&&"object"==typeof module&&module&&!module.nodeType&&module,ge=me&&me.exports===ve?P.Buffer:void 0,ye=ge?ge.allocUnsafe:void 0;const be=P.Uint8Array,we=function(e,t){var n,r,o=t?(n=e.buffer,r=new n.constructor(n.byteLength),new be(r).set(new be(n)),r):e.buffer;return new e.constructor(o,e.byteOffset,e.length)};var Ee=Object.create;const xe=function(){function e(){}return function(t){if(!D(t))return{};if(Ee)return Ee(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),_e=function(e,t){return function(n){return e(t(n))}},Se=_e(Object.getPrototypeOf,Object);var Ce=Object.prototype;const Oe=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ce)},ze=function(e){return null!=e&&"object"==typeof e},Me=function(e){return ze(e)&&"[object Arguments]"==V(e)};var Te=Object.prototype,Pe=Te.hasOwnProperty,ke=Te.propertyIsEnumerable;const Ae=Me(function(){return arguments}())?Me:function(e){return ze(e)&&Pe.call(e,"callee")&&!ke.call(e,"callee")},Le=Array.isArray,Re=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ne=function(e){return null!=e&&Re(e.length)&&!j(e)};var He="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ie=He&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=Ie&&Ie.exports===He?P.Buffer:void 0;const De=(Ve?Ve.isBuffer:void 0)||function(){return!1};var je=Function.prototype,Fe=Object.prototype,Be=je.toString,Ue=Fe.hasOwnProperty,Ge=Be.call(Object);var qe={};qe["[object Float32Array]"]=qe["[object Float64Array]"]=qe["[object Int8Array]"]=qe["[object Int16Array]"]=qe["[object Int32Array]"]=qe["[object Uint8Array]"]=qe["[object Uint8ClampedArray]"]=qe["[object Uint16Array]"]=qe["[object Uint32Array]"]=!0,qe["[object Arguments]"]=qe["[object Array]"]=qe["[object ArrayBuffer]"]=qe["[object Boolean]"]=qe["[object DataView]"]=qe["[object Date]"]=qe["[object Error]"]=qe["[object Function]"]=qe["[object Map]"]=qe["[object Number]"]=qe["[object Object]"]=qe["[object RegExp]"]=qe["[object Set]"]=qe["[object String]"]=qe["[object WeakMap]"]=!1;var We="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ke=We&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=Ke&&Ke.exports===We&&M.process,Ze=function(){try{return Ke&&Ke.require&&Ke.require("util").types||Ye&&Ye.binding&&Ye.binding("util")}catch(e){}}(),$e=Ze&&Ze.isTypedArray;const Xe=$e?(Qe=$e,function(e){return Qe(e)}):function(e){return ze(e)&&Re(e.length)&&!!qe[V(e)]};var Qe;const Je=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var et=Object.prototype.hasOwnProperty;const tt=function(e,t,n){var r=e[t];et.call(e,t)&&_(r,n)&&(void 0!==n||t in e)||de(e,t,n)};var nt=/^(?:0|[1-9]\d*)$/;const rt=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&nt.test(e))&&e>-1&&e%1==0&&e<t};var ot=Object.prototype.hasOwnProperty;const at=function(e,t){var n=Le(e),r=!n&&Ae(e),o=!n&&!r&&De(e),a=!n&&!r&&!o&&Xe(e),i=n||r||o||a,l=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var c in e)!t&&!ot.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||rt(c,s))||l.push(c);return l};var it=Object.prototype.hasOwnProperty;const lt=function(e){if(!D(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Oe(e),n=[];for(var r in e)("constructor"!=r||!t&&it.call(e,r))&&n.push(r);return n},st=function(e){return Ne(e)?at(e,!0):lt(e)},ct=function(e){return function(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?de(n,l,s):tt(n,l,s)}return n}(e,st(e))},ut=function(e,t,n,r,o,a,i){var l,s=Je(e,n),c=Je(t,n),u=i.get(c);if(u)fe(e,n,u);else{var h=a?a(s,c,n+"",e,t,i):void 0,d=void 0===h;if(d){var f=Le(c),p=!f&&De(c),v=!f&&!p&&Xe(c);h=c,f||p||v?Le(s)?h=s:ze(l=s)&&Ne(l)?h=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):p?(d=!1,h=function(e,t){if(t)return e.slice();var n=e.length,r=ye?ye(n):new e.constructor(n);return e.copy(r),r}(c,!0)):v?(d=!1,h=we(c,!0)):h=[]:function(e){if(!ze(e)||"[object Object]"!=V(e))return!1;var t=Se(e);if(null===t)return!0;var n=Ue.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Be.call(n)==Ge}(c)||Ae(c)?(h=s,Ae(s)?h=ct(s):D(s)&&!j(s)||(h=function(e){return"function"!=typeof e.constructor||Oe(e)?{}:xe(Se(e))}(c))):d=!1}d&&(i.set(c,h),o(h,c,r,a,i),i.delete(c)),fe(e,n,h)}},ht=function e(t,n,r,o,a){t!==n&&pe(n,(function(i,l){if(a||(a=new ue),D(i))ut(t,n,l,r,e,o,a);else{var s=o?o(Je(t,l),i,l+"",t,n,a):void 0;void 0===s&&(s=i),fe(t,l,s)}}),st)},dt=function(e){return e};var ft=Math.max;const pt=he?function(e,t){return he(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:dt;var vt=Date.now;const mt=function(e){var t=0,n=0;return function(){var r=vt(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pt),gt=function(e,t){return mt(function(e,t,n){return t=ft(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=ft(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(i),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)}(e,this,l)}}(e,t,dt),e+"")},yt=(bt=function(e,t,n){ht(e,t,n)},gt((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=bt.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!D(n))return!1;var r=typeof t;return!!("number"==r?Ne(n)&&rt(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&bt(e,i,n)}return e})));var bt,wt=function(e){var t=e.zDepth,n=e.radius,a=e.background,i=e.children,l=e.styles,s=void 0===l?{}:l,c=(0,o.ZP)(yt({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:a}},"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%"}}},s),{"zDepth-1":1===t});return r.createElement("div",{style:c.wrap},r.createElement("div",{style:c.bg}),r.createElement("div",{style:c.content},i))};wt.propTypes={background:x().string,zDepth:x().oneOf([0,1,2,3,4,5]),radius:x().number,styles:x().object},wt.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};const Et=wt,xt=function(){return P.Date.now()};var _t=/\s/;var St=/^\s+/;const Ct=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&_t.test(e.charAt(t)););return t}(e)+1).replace(St,""):e},Ot=function(e){return"symbol"==typeof e||ze(e)&&"[object Symbol]"==V(e)};var zt=/^[-+]0x[0-9a-f]+$/i,Mt=/^0b[01]+$/i,Tt=/^0o[0-7]+$/i,Pt=parseInt;const kt=function(e){if("number"==typeof e)return e;if(Ot(e))return NaN;if(D(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=D(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ct(e);var n=Mt.test(e);return n||Tt.test(e)?Pt(e.slice(2),n?2:8):zt.test(e)?NaN:+e};var At=Math.max,Lt=Math.min;const Rt=function(e,t,n){var r,o,a,i,l,s,c=0,u=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function p(e){var n=e-s;return void 0===s||n>=t||n<0||h&&e-c>=a}function v(){var e=xt();if(p(e))return m(e);l=setTimeout(v,function(e){var n=t-(e-s);return h?Lt(n,a-(e-c)):n}(e))}function m(e){return l=void 0,d&&r?f(e):(r=o=void 0,i)}function g(){var e=xt(),n=p(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(v,t),u?f(e):i}(s);if(h)return clearTimeout(l),l=setTimeout(v,t),f(s)}return void 0===l&&(l=setTimeout(v,t)),i}return t=kt(t)||0,D(n)&&(u=!!n.leading,a=(h="maxWait"in n)?At(kt(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),g.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0},g.flush=function(){return void 0===l?i:m(xt())},g};var Nt=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}}(),Ht=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,function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,a=r.height,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(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>a&&(c=a);var u=s/o,h=1-c/a;return{h:t.h,s:u,v:h,a:t.a,source:"hsv"}}(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=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return D(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}((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),Nt(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,a=t.white,i=t.black,l=t.pointer,s=t.circle,c=(0,o.ZP)({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:a,black:i,pointer:l,circle:s}},{custom:!!this.props.style});return r.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.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 "),r.createElement("div",{style:c.white,className:"saturation-white"},r.createElement("div",{style:c.black,className:"saturation-black"}),r.createElement("div",{style:c.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const It=Ht,Vt=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},Dt=_e(Object.keys,Object);var jt=Object.prototype.hasOwnProperty;const Ft=function(e){return Ne(e)?at(e):function(e){if(!Oe(e))return Dt(e);var t=[];for(var n in Object(e))jt.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},Bt=function(e,t){if(null==e)return e;if(!Ne(e))return function(e,t){return e&&pe(e,t,Ft)}(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e},Ut=function(e,t){return(Le(e)?Vt:Bt)(e,"function"==typeof(n=t)?n:dt);var n};function Gt(e){return Gt="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},Gt(e)}var qt=/^\s+/,Wt=/\s+$/;function Kt(e,t){if(t=t||{},(e=e||"")instanceof Kt)return e;if(!(this instanceof Kt))return new Kt(e,t);var n=function(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,l=null,s=null,c=!1,u=!1;return"string"==typeof e&&(e=function(e){e=e.replace(qt,"").replace(Wt,"").toLowerCase();var t,n=!1;if(hn[e])e=hn[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=Sn.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=Sn.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Sn.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Sn.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Sn.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Sn.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Sn.hex8.exec(e))?{r:mn(t[1]),g:mn(t[2]),b:mn(t[3]),a:wn(t[4]),format:n?"name":"hex8"}:(t=Sn.hex6.exec(e))?{r:mn(t[1]),g:mn(t[2]),b:mn(t[3]),format:n?"name":"hex"}:(t=Sn.hex4.exec(e))?{r:mn(t[1]+""+t[1]),g:mn(t[2]+""+t[2]),b:mn(t[3]+""+t[3]),a:wn(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=Sn.hex3.exec(e))&&{r:mn(t[1]+""+t[1]),g:mn(t[2]+""+t[2]),b:mn(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==Gt(e)&&(Cn(e.r)&&Cn(e.g)&&Cn(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*pn(t,255),g:255*pn(n,255),b:255*pn(r,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Cn(e.h)&&Cn(e.s)&&Cn(e.v)?(i=yn(e.s),l=yn(e.v),o=function(e,t,n){e=6*pn(e,360),t=pn(t,100),n=pn(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6;return{r:255*[n,i,a,a,l,n][s],g:255*[l,n,n,i,a,a][s],b:255*[a,a,l,n,n,i][s]}}(e.h,i,l),c=!0,u="hsv"):Cn(e.h)&&Cn(e.s)&&Cn(e.l)&&(i=yn(e.s),s=yn(e.l),o=function(e,t,n){var r,o,a;function i(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=pn(e,360),t=pn(t,100),n=pn(n,100),0===t)r=o=a=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=i(s,l,e+1/3),o=i(s,l,e),a=i(s,l,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,i,s),c=!0,u="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=fn(a),{ok:c,format:e.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}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.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=n.ok}function Yt(e,t,n){e=pn(e,255),t=pn(t,255),n=pn(n,255);var r,o,a=Math.max(e,t,n),i=Math.min(e,t,n),l=(a+i)/2;if(a==i)r=o=0;else{var s=a-i;switch(o=l>.5?s/(2-a-i):s/(a+i),a){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 Zt(e,t,n){e=pn(e,255),t=pn(t,255),n=pn(n,255);var r,o,a=Math.max(e,t,n),i=Math.min(e,t,n),l=a,s=a-i;if(o=0===a?0:s/a,a==i)r=0;else{switch(a){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 $t(e,t,n,r){var o=[gn(Math.round(e).toString(16)),gn(Math.round(t).toString(16)),gn(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 Xt(e,t,n,r){return[gn(bn(r)),gn(Math.round(e).toString(16)),gn(Math.round(t).toString(16)),gn(Math.round(n).toString(16))].join("")}function Qt(e,t){t=0===t?0:t||10;var n=Kt(e).toHsl();return n.s-=t/100,n.s=vn(n.s),Kt(n)}function Jt(e,t){t=0===t?0:t||10;var n=Kt(e).toHsl();return n.s+=t/100,n.s=vn(n.s),Kt(n)}function en(e){return Kt(e).desaturate(100)}function tn(e,t){t=0===t?0:t||10;var n=Kt(e).toHsl();return n.l+=t/100,n.l=vn(n.l),Kt(n)}function nn(e,t){t=0===t?0:t||10;var n=Kt(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))),Kt(n)}function rn(e,t){t=0===t?0:t||10;var n=Kt(e).toHsl();return n.l-=t/100,n.l=vn(n.l),Kt(n)}function on(e,t){var n=Kt(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Kt(n)}function an(e){var t=Kt(e).toHsl();return t.h=(t.h+180)%360,Kt(t)}function ln(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Kt(e).toHsl(),r=[Kt(e)],o=360/t,a=1;a<t;a++)r.push(Kt({h:(n.h+a*o)%360,s:n.s,l:n.l}));return r}function sn(e){var t=Kt(e).toHsl(),n=t.h;return[Kt(e),Kt({h:(n+72)%360,s:t.s,l:t.l}),Kt({h:(n+216)%360,s:t.s,l:t.l})]}function cn(e,t,n){t=t||6,n=n||30;var r=Kt(e).toHsl(),o=360/n,a=[Kt(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(Kt(r));return a}function un(e,t){t=t||6;for(var n=Kt(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(Kt({h:r,s:o,v:a})),a=(a+l)%1;return i}Kt.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=fn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Zt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Zt(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=Yt(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Yt(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 $t(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 a=[gn(Math.round(e).toString(16)),gn(Math.round(t).toString(16)),gn(Math.round(n).toString(16)),gn(bn(r))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.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*pn(this._r,255))+"%",g:Math.round(100*pn(this._g,255))+"%",b:Math.round(100*pn(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*pn(this._r,255))+"%, "+Math.round(100*pn(this._g,255))+"%, "+Math.round(100*pn(this._b,255))+"%)":"rgba("+Math.round(100*pn(this._r,255))+"%, "+Math.round(100*pn(this._g,255))+"%, "+Math.round(100*pn(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(dn[$t(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Xt(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Kt(e);n="#"+Xt(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Kt(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(tn,arguments)},brighten:function(){return this._applyModification(nn,arguments)},darken:function(){return this._applyModification(rn,arguments)},desaturate:function(){return this._applyModification(Qt,arguments)},saturate:function(){return this._applyModification(Jt,arguments)},greyscale:function(){return this._applyModification(en,arguments)},spin:function(){return this._applyModification(on,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(cn,arguments)},complement:function(){return this._applyCombination(an,arguments)},monochromatic:function(){return this._applyCombination(un,arguments)},splitcomplement:function(){return this._applyCombination(sn,arguments)},triad:function(){return this._applyCombination(ln,[3])},tetrad:function(){return this._applyCombination(ln,[4])}},Kt.fromRatio=function(e,t){if("object"==Gt(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:yn(e[r]));e=n}return Kt(e,t)},Kt.equals=function(e,t){return!(!e||!t)&&Kt(e).toRgbString()==Kt(t).toRgbString()},Kt.random=function(){return Kt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Kt.mix=function(e,t,n){n=0===n?0:n||50;var r=Kt(e).toRgb(),o=Kt(t).toRgb(),a=n/100;return Kt({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},Kt.readability=function(e,t){var n=Kt(e),r=Kt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Kt.isReadable=function(e,t,n){var r,o,a,i,l,s=Kt.readability(e,t);switch(o=!1,(a=n,"AA"!==(i=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(l=(a.size||"small").toLowerCase())&&"large"!==l&&(l="small"),r={level:i,size:l}).level+r.size){case"AAsmall":case"AAAlarge":o=s>=4.5;break;case"AAlarge":o=s>=3;break;case"AAAsmall":o=s>=7}return o},Kt.mostReadable=function(e,t,n){var r,o,a,i,l=null,s=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=Kt.readability(e,t[c]))>s&&(s=r,l=Kt(t[c]));return Kt.isReadable(e,l,{level:a,size:i})||!o?l:(n.includeFallbackColors=!1,Kt.mostReadable(e,["#fff","#000"],n))};var hn=Kt.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"},dn=Kt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(hn);function fn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function pn(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 vn(e){return Math.min(1,Math.max(0,e))}function mn(e){return parseInt(e,16)}function gn(e){return 1==e.length?"0"+e:""+e}function yn(e){return e<=1&&(e=100*e+"%"),e}function bn(e){return Math.round(255*parseFloat(e)).toString(16)}function wn(e){return mn(e)/255}var En,xn,_n,Sn=(xn="[\\s|\\(]+("+(En="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+En+")[,|\\s]+("+En+")\\s*\\)?",_n="[\\s|\\(]+("+En+")[,|\\s]+("+En+")[,|\\s]+("+En+")[,|\\s]+("+En+")\\s*\\)?",{CSS_UNIT:new RegExp(En),rgb:new RegExp("rgb"+xn),rgba:new RegExp("rgba"+_n),hsl:new RegExp("hsl"+xn),hsla:new RegExp("hsla"+_n),hsv:new RegExp("hsv"+xn),hsva:new RegExp("hsva"+_n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Cn(e){return!!Sn.CSS_UNIT.exec(e)}var On=function(e){var t=0,n=0;return Ut(["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},zn=function(e,t){var n=e.hex?Kt(e.hex):Kt(e),r=n.toHsl(),o=n.toHsv(),a=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===i&&0===a.a?"transparent":"#"+i,rgb:a,hsv:o,oldHue:e.h||t||r.h,source:e.source}},Mn=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Kt(e).isValid()},Tn=function(e){if(!e)return"#fff";var t=zn(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"},Pn=function(e,t){return Kt(t+" ("+e.replace("°","")+")")._ok},kn=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},An=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}}();const Ln=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(On(e)){var r=zn(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(On(e)){var r=zn(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=kn({},zn(e.color,0)),t.debounce=Rt((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),An(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),r.createElement(e,kn({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return kn({},zn(e.color,t.oldHue))}}]),n}(r.PureComponent||r.Component);return t.propTypes=kn({},e.propTypes),t.defaultProps=kn({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};var Rn=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},Nn=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}}();function Hn(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 In=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};const Vn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function o(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return t=n=Hn(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(a))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},Hn(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)}(o,n),Nn(o,[{key:"render",value:function(){return r.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},r.createElement(e,Rn({},this.props,this.state)))}}]),o}(r.Component)}((function(e){var t=e.color,n=e.style,a=e.onClick,i=void 0===a?function(){}:a,l=e.onHover,s=e.title,u=void 0===s?t:s,h=e.children,d=e.focus,f=e.focusStyle,p=void 0===f?{}:f,v="transparent"===t,m=(0,o.ZP)({default:{swatch:In({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?p:{})}}),g={};return l&&(g.onMouseOver=function(e){return l(t,e)}),r.createElement("div",In({style:m.swatch,onClick:function(e){return i(t,e)},title:u,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&i(t,e)}},g),h,v&&r.createElement(c,{borderRadius:m.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}));var Dn=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},jn=function(e){var t=e.rgb,n=e.hsl,a=e.width,i=e.height,l=e.onChange,s=e.direction,c=e.style,u=e.renderers,h=e.pointer,d=e.className,p=void 0===d?"":d,v=(0,o.ZP)({default:{picker:{position:"relative",width:a,height:i},alpha:{radius:"2px",style:c}}});return r.createElement("div",{style:v.picker,className:"alpha-picker "+p},r.createElement(f,Dn({},v.alpha,{rgb:t,hsl:n,pointer:h,renderers:u,onChange:l,direction:s})))};jn.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=(0,o.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})}};const Fn=Ln(jn),Bn=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};function Un(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new se;++t<n;)this.add(e[t])}Un.prototype.add=Un.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Un.prototype.has=function(e){return this.__data__.has(e)};const Gn=Un,qn=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},Wn=function(e,t,n,r,o,a){var i=1&n,l=e.length,s=t.length;if(l!=s&&!(i&&s>l))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var h=-1,d=!0,f=2&n?new Gn:void 0;for(a.set(e,t),a.set(t,e);++h<l;){var p=e[h],v=t[h];if(r)var m=i?r(v,p,h,t,e,a):r(p,v,h,e,t,a);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!qn(t,(function(e,t){if(i=t,!f.has(i)&&(p===e||o(p,e,n,r,a)))return f.push(t);var i}))){d=!1;break}}else if(p!==v&&!o(p,v,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d},Kn=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Yn=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var Zn=k?k.prototype:void 0,$n=Zn?Zn.valueOf:void 0;var Xn=Object.prototype.propertyIsEnumerable,Qn=Object.getOwnPropertySymbols;const Jn=Qn?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}(Qn(e),(function(t){return Xn.call(e,t)})))}:function(){return[]},er=function(e){return function(e,t,n){var r=t(e);return Le(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ft,Jn)};var tr=Object.prototype.hasOwnProperty;const nr=J(P,"DataView"),rr=J(P,"Promise"),or=J(P,"Set"),ar=J(P,"WeakMap");var ir="[object Map]",lr="[object Promise]",sr="[object Set]",cr="[object WeakMap]",ur="[object DataView]",hr=q(nr),dr=q(ee),fr=q(rr),pr=q(or),vr=q(ar),mr=V;(nr&&mr(new nr(new ArrayBuffer(1)))!=ur||ee&&mr(new ee)!=ir||rr&&mr(rr.resolve())!=lr||or&&mr(new or)!=sr||ar&&mr(new ar)!=cr)&&(mr=function(e){var t=V(e),n="[object Object]"==t?e.constructor:void 0,r=n?q(n):"";if(r)switch(r){case hr:return ur;case dr:return ir;case fr:return lr;case pr:return sr;case vr:return cr}return t});const gr=mr;var yr="[object Arguments]",br="[object Array]",wr="[object Object]",Er=Object.prototype.hasOwnProperty;const xr=function(e,t,n,r,o,a){var i=Le(e),l=Le(t),s=i?br:gr(e),c=l?br:gr(t),u=(s=s==yr?wr:s)==wr,h=(c=c==yr?wr:c)==wr,d=s==c;if(d&&De(e)){if(!De(t))return!1;i=!0,u=!1}if(d&&!u)return a||(a=new ue),i||Xe(e)?Wn(e,t,n,r,o,a):function(e,t,n,r,o,a,i){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||!a(new be(e),new be(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return _(+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 l=Kn;case"[object Set]":var s=1&r;if(l||(l=Yn),e.size!=t.size&&!s)return!1;var c=i.get(e);if(c)return c==t;r|=2,i.set(e,t);var u=Wn(l(e),l(t),r,o,a,i);return i.delete(e),u;case"[object Symbol]":if($n)return $n.call(e)==$n.call(t)}return!1}(e,t,s,n,r,o,a);if(!(1&n)){var f=u&&Er.call(e,"__wrapped__"),p=h&&Er.call(t,"__wrapped__");if(f||p){var v=f?e.value():e,m=p?t.value():t;return a||(a=new ue),o(v,m,n,r,a)}}return!!d&&(a||(a=new ue),function(e,t,n,r,o,a){var i=1&n,l=er(e),s=l.length;if(s!=er(t).length&&!i)return!1;for(var c=s;c--;){var u=l[c];if(!(i?u in t:tr.call(t,u)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var f=!0;a.set(e,t),a.set(t,e);for(var p=i;++c<s;){var v=e[u=l[c]],m=t[u];if(r)var g=i?r(m,v,u,t,e,a):r(v,m,u,e,t,a);if(!(void 0===g?v===m||o(v,m,n,r,a):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,r,o,a))},_r=function e(t,n,r,o,a){return t===n||(null==t||null==n||!ze(t)&&!ze(n)?t!=t&&n!=n:xr(t,n,r,o,e,a))},Sr=function(e){return e==e&&!D(e)},Cr=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},Or=function(e){var t=function(e){for(var t=Ft(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Sr(o)]}return t}(e);return 1==t.length&&t[0][2]?Cr(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return!a;for(e=Object(e);o--;){var l=n[o];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var s=(l=n[o])[0],c=e[s],u=l[1];if(i&&l[2]){if(void 0===c&&!(s in e))return!1}else{var h=new ue;if(r)var d=r(c,u,s,e,t,h);if(!(void 0===d?_r(u,c,3,r,h):d))return!1}}return!0}(n,e,t)}};var zr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mr=/^\w*$/;const Tr=function(e,t){if(Le(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ot(e))||Mr.test(e)||!zr.test(e)||null!=t&&e in Object(t)};function Pr(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],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Pr.Cache||se),n}Pr.Cache=se;var kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ar=/\\(\\)?/g;const Lr=(Rr=Pr((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(kr,(function(e,n,r,o){t.push(r?o.replace(Ar,"$1"):n||e)})),t}),(function(e){return 500===Nr.size&&Nr.clear(),e})),Nr=Rr.cache,Rr);var Rr,Nr,Hr=k?k.prototype:void 0,Ir=Hr?Hr.toString:void 0;const Vr=function e(t){if("string"==typeof t)return t;if(Le(t))return Bn(t,e)+"";if(Ot(t))return Ir?Ir.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Dr=function(e){return null==e?"":Vr(e)},jr=function(e,t){return Le(e)?e:Tr(e,t)?[e]:Lr(Dr(e))},Fr=function(e){if("string"==typeof e||Ot(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Br=function(e,t){for(var n=0,r=(t=jr(t,e)).length;null!=e&&n<r;)e=e[Fr(t[n++])];return n&&n==r?e:void 0},Ur=function(e,t){return null!=e&&t in Object(e)},Gr=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=jr(t,e)).length,a=!1;++r<o;){var i=Fr(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&Re(o)&&rt(i,o)&&(Le(e)||Ae(e))}(e,t,Ur)},qr=function(e,t){return Tr(e)&&Sr(t)?Cr(Fr(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Br(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?Gr(n,e):_r(t,r,3)}},Wr=function(e){return Tr(e)?(t=Fr(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Br(t,e)}}(e);var t},Kr=function(e,t){var n=-1,r=Ne(e)?Array(e.length):[];return Bt(e,(function(e,o,a){r[++n]=t(e,o,a)})),r},Yr=function(e,t){return(Le(e)?Bn:Kr)(e,"function"==typeof(n=t)?n:null==n?dt:"object"==typeof n?Le(n)?qr(n[0],n[1]):Or(n):Wr(n));var n},Zr=function(e){var t=e.colors,n=e.onClick,a=e.onSwatchHover,i=(0,o.ZP)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.createElement("div",{style:i.swatches},Yr(t,(function(e){return r.createElement(Vn,{key:e,color:e,style:i.swatch,onClick:n,onHover:a,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.createElement("div",{style:i.clear}))};var $r=function(e){var t=e.onChange,n=e.onSwatchHover,a=e.hex,i=e.colors,l=e.width,s=e.triangle,u=e.styles,h=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,p="transparent"===a,v=function(e,n){Mn(e)&&t({hex:e,source:"hex"},n)},m=(0,o.ZP)(yt({default:{card:{width:l,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:a,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Tn(a),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+a+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===s});return r.createElement("div",{style:m.card,className:"block-picker "+f},r.createElement("div",{style:m.triangle}),r.createElement("div",{style:m.head},p&&r.createElement(c,{borderRadius:"6px 6px 0 0"}),r.createElement("div",{style:m.label},a)),r.createElement("div",{style:m.body},r.createElement(Zr,{colors:i,onClick:v,onSwatchHover:n}),r.createElement(g,{style:{input:m.input},value:a,onChange:v})))};$r.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["top","hide"]),styles:x().object},$r.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};const Xr=Ln($r);var Qr="#ffcdd2",Jr="#e57373",eo="#f44336",to="#d32f2f",no="#b71c1c",ro="#f8bbd0",oo="#f06292",ao="#e91e63",io="#c2185b",lo="#880e4f",so="#e1bee7",co="#ba68c8",uo="#9c27b0",ho="#7b1fa2",fo="#4a148c",po="#d1c4e9",vo="#9575cd",mo="#673ab7",go="#512da8",yo="#311b92",bo="#c5cae9",wo="#7986cb",Eo="#3f51b5",xo="#303f9f",_o="#1a237e",So="#bbdefb",Co="#64b5f6",Oo="#2196f3",zo="#1976d2",Mo="#0d47a1",To="#b3e5fc",Po="#4fc3f7",ko="#03a9f4",Ao="#0288d1",Lo="#01579b",Ro="#b2ebf2",No="#4dd0e1",Ho="#00bcd4",Io="#0097a7",Vo="#006064",Do="#b2dfdb",jo="#4db6ac",Fo="#009688",Bo="#00796b",Uo="#004d40",Go="#c8e6c9",qo="#81c784",Wo="#4caf50",Ko="#388e3c",Yo="#dcedc8",Zo="#aed581",$o="#8bc34a",Xo="#689f38",Qo="#33691e",Jo="#f0f4c3",ea="#dce775",ta="#cddc39",na="#afb42b",ra="#827717",oa="#fff9c4",aa="#fff176",ia="#ffeb3b",la="#fbc02d",sa="#f57f17",ca="#ffecb3",ua="#ffd54f",ha="#ffc107",da="#ffa000",fa="#ff6f00",pa="#ffe0b2",va="#ffb74d",ma="#ff9800",ga="#f57c00",ya="#e65100",ba="#ffccbc",wa="#ff8a65",Ea="#ff5722",xa="#e64a19",_a="#bf360c",Sa="#d7ccc8",Ca="#a1887f",Oa="#795548",za="#5d4037",Ma="#3e2723",Ta="#cfd8dc",Pa="#90a4ae",ka="#607d8b",Aa="#455a64",La="#263238",Ra=function(e){var t=e.color,n=e.onClick,a=e.onSwatchHover,i=e.hover,l=e.active,s=e.circleSize,c=e.circleSpacing,u=(0,o.ZP)({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:i,active:l});return r.createElement("div",{style:u.swatch},r.createElement(Vn,{style:u.Swatch,color:t,onClick:n,onHover:a,focusStyle:{boxShadow:u.Swatch.boxShadow+", 0 0 5px "+t}}))};Ra.defaultProps={circleSize:28,circleSpacing:14};const Na=(0,o.tz)(Ra);var Ha=function(e){var t=e.width,n=e.onChange,a=e.onSwatchHover,i=e.colors,l=e.hex,s=e.circleSize,c=e.styles,u=void 0===c?{}:c,h=e.circleSpacing,d=e.className,f=void 0===d?"":d,p=(0,o.ZP)(yt({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},u)),v=function(e,t){return n({hex:e,source:"hex"},t)};return r.createElement("div",{style:p.card,className:"circle-picker "+f},Yr(i,(function(e){return r.createElement(Na,{key:e,color:e,onClick:v,onSwatchHover:a,active:l===e.toLowerCase(),circleSize:s,circleSpacing:h})})))};Ha.propTypes={width:x().oneOfType([x().string,x().number]),circleSize:x().number,circleSpacing:x().number,styles:x().object},Ha.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[eo,ao,uo,mo,Eo,Oo,ko,Ho,Fo,Wo,$o,ta,ia,ha,ma,Ea,Oa,ka],styles:{}};const Ia=Ln(Ha),Va=function(e){return void 0===e};var Da=n(3891),ja=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}}(),Fa=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.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?Mn(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Va(e.s)?n.props.hsl.s:e.s),l:Number(Va(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},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),ja(t,[{key:"render",value:function(){var e=this,t=(0,o.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(g,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(g,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(g,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,r.createElement("div",{style:t.toggle},r.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},r.createElement(Da.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component);Fa.defaultProps={view:"hex"};const Ba=Fa,Ua=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})},Ga=function(){var e=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.createElement("div",{style:e.picker})};var qa=function(e){var t=e.width,n=e.onChange,a=e.disableAlpha,i=e.rgb,l=e.hsl,s=e.hsv,u=e.hex,h=e.renderers,d=e.styles,p=void 0===d?{}:d,v=e.className,m=void 0===v?"":v,g=e.defaultView,y=(0,o.ZP)(yt({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:a});return r.createElement("div",{style:y.picker,className:"chrome-picker "+m},r.createElement("div",{style:y.saturation},r.createElement(It,{style:y.Saturation,hsl:l,hsv:s,pointer:Ga,onChange:n})),r.createElement("div",{style:y.body},r.createElement("div",{style:y.controls,className:"flexbox-fix"},r.createElement("div",{style:y.color},r.createElement("div",{style:y.swatch},r.createElement("div",{style:y.active}),r.createElement(c,{renderers:h}))),r.createElement("div",{style:y.toggles},r.createElement("div",{style:y.hue},r.createElement(w,{style:y.Hue,hsl:l,pointer:Ua,onChange:n})),r.createElement("div",{style:y.alpha},r.createElement(f,{style:y.Alpha,rgb:i,hsl:l,pointer:Ua,renderers:h,onChange:n})))),r.createElement(Ba,{rgb:i,hsl:l,hex:u,view:g,onChange:n,disableAlpha:a})))};qa.propTypes={width:x().oneOfType([x().string,x().number]),disableAlpha:x().bool,styles:x().object,defaultView:x().oneOf(["hex","rgb","hsl"])},qa.defaultProps={width:225,disableAlpha:!1,styles:{}};const Wa=Ln(qa),Ka=function(e){var t=e.color,n=e.onClick,a=void 0===n?function(){}:n,i=e.onSwatchHover,l=e.active,s=(0,o.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Tn(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:l,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement(Vn,{style:s.color,color:t,onClick:a,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:s.dot}))},Ya=function(e){var t=e.hex,n=e.rgb,a=e.onChange,i=(0,o.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),l=function(e,t){e.r||e.g||e.b?a({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):a({hex:e.hex,source:"hex"},t)};return r.createElement("div",{style:i.fields,className:"flexbox-fix"},r.createElement("div",{style:i.active}),r.createElement(g,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:l}),r.createElement(g,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:n.r,onChange:l}),r.createElement(g,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:n.g,onChange:l}),r.createElement(g,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:n.b,onChange:l}))};var Za=function(e){var t=e.onChange,n=e.onSwatchHover,a=e.colors,i=e.hex,l=e.rgb,s=e.styles,c=void 0===s?{}:s,u=e.className,h=void 0===u?"":u,d=(0,o.ZP)(yt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),f=function(e,n){e.hex?Mn(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.createElement(Et,{style:d.Compact,styles:c},r.createElement("div",{style:d.compact,className:"compact-picker "+h},r.createElement("div",null,Yr(a,(function(e){return r.createElement(Ka,{key:e,color:e,active:e.toLowerCase()===i,onClick:f,onSwatchHover:n})})),r.createElement("div",{style:d.clear})),r.createElement(Ya,{hex:i,rgb:l,onChange:f})))};Za.propTypes={colors:x().arrayOf(x().string),styles:x().object},Za.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};const $a=Ln(Za),Xa=(0,o.tz)((function(e){var t=e.hover,n=e.color,a=e.onClick,i=e.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,o.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:l}},{hover:t});return r.createElement("div",{style:s.swatch},r.createElement(Vn,{color:n,onClick:a,onHover:i,focusStyle:l}))}));var Qa=function(e){var t=e.width,n=e.colors,a=e.onChange,i=e.onSwatchHover,l=e.triangle,s=e.styles,c=void 0===s?{}:s,u=e.className,h=void 0===u?"":u,d=(0,o.ZP)(yt({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l,"bottom-left-triangle":"bottom-left"===l,"bottom-right-triangle":"bottom-right"===l}),f=function(e,t){return a({hex:e,source:"hex"},t)};return r.createElement("div",{style:d.card,className:"github-picker "+h},r.createElement("div",{style:d.triangleShadow}),r.createElement("div",{style:d.triangle}),Yr(n,(function(e){return r.createElement(Xa,{color:e,key:e,onClick:f,onSwatchHover:i})})))};Qa.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:x().object},Qa.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};const Ja=Ln(Qa);var ei=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},ti=function(e){var t=e.width,n=e.height,a=e.onChange,i=e.hsl,l=e.direction,s=e.pointer,c=e.styles,u=void 0===c?{}:c,h=e.className,d=void 0===h?"":h,f=(0,o.ZP)(yt({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},u));return r.createElement("div",{style:f.picker,className:"hue-picker "+d},r.createElement(w,ei({},f.hue,{hsl:i,pointer:s,onChange:function(e){return a({a:1,h:e.h,l:.5,s:1})},direction:l})))};ti.propTypes={styles:x().object},ti.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,n=(0,o.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})},styles:{}};const ni=Ln(ti),ri=Ln((function(e){var t=e.onChange,n=e.hex,a=e.rgb,i=e.styles,l=void 0===i?{}:i,s=e.className,c=void 0===s?"":s,u=(0,o.ZP)(yt({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},l)),h=function(e,n){e.hex?Mn(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,source:"rgb"},n)};return r.createElement(Et,{styles:l},r.createElement("div",{style:u.material,className:"material-picker "+c},r.createElement(g,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:n,onChange:h}),r.createElement("div",{style:u.split,className:"flexbox-fix"},r.createElement("div",{style:u.third},r.createElement(g,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:a.r,onChange:h})),r.createElement("div",{style:u.third},r.createElement(g,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:a.g,onChange:h})),r.createElement("div",{style:u.third},r.createElement(g,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:a.b,onChange:h})))))})),oi=function(e){var t=e.onChange,n=e.rgb,a=e.hsv,i=e.hex,l=(0,o.ZP)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,r){e["#"]?Mn(e["#"])&&t({hex:e["#"],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,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||a.h,s:e.s||a.s,v:e.v||a.v,source:"hsv"},r)};return r.createElement("div",{style:l.fields},r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"h",value:Math.round(a.h),onChange:s}),r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"s",value:Math.round(100*a.s),onChange:s}),r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"v",value:Math.round(100*a.v),onChange:s}),r.createElement("div",{style:l.divider}),r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:n.r,onChange:s}),r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:n.g,onChange:s}),r.createElement(g,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:n.b,onChange:s}),r.createElement("div",{style:l.divider}),r.createElement(g,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"#",value:i.replace("#",""),onChange:s}),r.createElement("div",{style:l.fieldSymbols},r.createElement("div",{style:l.symbol},"°"),r.createElement("div",{style:l.symbol},"%"),r.createElement("div",{style:l.symbol},"%")))},ai=function(e){var t=e.hsl,n=(0,o.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return r.createElement("div",{style:n.picker})},ii=function(){var e=(0,o.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.createElement("div",{style:e.pointer},r.createElement("div",{style:e.left},r.createElement("div",{style:e.leftInside})),r.createElement("div",{style:e.right},r.createElement("div",{style:e.rightInside})))},li=function(e){var t=e.onClick,n=e.label,a=e.children,i=e.active,l=(0,o.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return r.createElement("div",{style:l.button,onClick:t},n||a)},si=function(e){var t=e.rgb,n=e.currentColor,a=(0,o.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.createElement("div",null,r.createElement("div",{style:a.label},"new"),r.createElement("div",{style:a.swatches},r.createElement("div",{style:a.new}),r.createElement("div",{style:a.current})),r.createElement("div",{style:a.label},"current"))};var ci=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}}(),ui=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.state={currentColor:e.hex},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),ci(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,a=e.className,i=void 0===a?"":a,l=(0,o.ZP)(yt({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return r.createElement("div",{style:l.picker,className:"photoshop-picker "+i},r.createElement("div",{style:l.head},this.props.header),r.createElement("div",{style:l.body,className:"flexbox-fix"},r.createElement("div",{style:l.saturation},r.createElement(It,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:ai,onChange:this.props.onChange})),r.createElement("div",{style:l.hue},r.createElement(w,{direction:"vertical",hsl:this.props.hsl,pointer:ii,onChange:this.props.onChange})),r.createElement("div",{style:l.controls},r.createElement("div",{style:l.top,className:"flexbox-fix"},r.createElement("div",{style:l.previews},r.createElement(si,{rgb:this.props.rgb,currentColor:this.state.currentColor})),r.createElement("div",{style:l.actions},r.createElement(li,{label:"OK",onClick:this.props.onAccept,active:!0}),r.createElement(li,{label:"Cancel",onClick:this.props.onCancel}),r.createElement(oi,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(r.Component);ui.propTypes={header:x().string,styles:x().object},ui.defaultProps={header:"Color Picker",styles:{}};const hi=Ln(ui),di=function(e){var t=e.onChange,n=e.rgb,a=e.hsl,i=e.hex,l=e.disableAlpha,s=(0,o.ZP)({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:l}),c=function(e,r){e.hex?Mn(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:a.h,s:a.s,l:a.l,a:e.a,source:"rgb"},r))};return r.createElement("div",{style:s.fields,className:"flexbox-fix"},r.createElement("div",{style:s.double},r.createElement(g,{style:{input:s.input,label:s.label},label:"hex",value:i.replace("#",""),onChange:c})),r.createElement("div",{style:s.single},r.createElement(g,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:s.single},r.createElement(g,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:s.single},r.createElement(g,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:s.alpha},r.createElement(g,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var fi=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},pi=function(e){var t=e.colors,n=e.onClick,a=void 0===n?function(){}:n,i=e.onSwatchHover,l=(0,o.ZP)({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}),s=function(e,t){a({hex:e,source:"hex"},t)};return r.createElement("div",{style:l.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return r.createElement("div",{key:n,style:l.swatchWrap},r.createElement(Vn,fi({},t,{style:l.swatch,onClick:s,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};pi.propTypes={colors:x().arrayOf(x().oneOfType([x().string,x().shape({color:x().string,title:x().string})])).isRequired};const vi=pi;var mi=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},gi=function(e){var t=e.width,n=e.rgb,a=e.hex,i=e.hsv,l=e.hsl,s=e.onChange,u=e.onSwatchHover,h=e.disableAlpha,d=e.presetColors,p=e.renderers,v=e.styles,m=void 0===v?{}:v,g=e.className,y=void 0===g?"":g,b=(0,o.ZP)(yt({default:mi({picker:{width:t,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("+n.r+","+n.g+","+n.b+","+n.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)"}},m),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},m),{disableAlpha:h});return r.createElement("div",{style:b.picker,className:"sketch-picker "+y},r.createElement("div",{style:b.saturation},r.createElement(It,{style:b.Saturation,hsl:l,hsv:i,onChange:s})),r.createElement("div",{style:b.controls,className:"flexbox-fix"},r.createElement("div",{style:b.sliders},r.createElement("div",{style:b.hue},r.createElement(w,{style:b.Hue,hsl:l,onChange:s})),r.createElement("div",{style:b.alpha},r.createElement(f,{style:b.Alpha,rgb:n,hsl:l,renderers:p,onChange:s}))),r.createElement("div",{style:b.color},r.createElement(c,null),r.createElement("div",{style:b.activeColor}))),r.createElement(di,{rgb:n,hsl:l,hex:a,onChange:s,disableAlpha:h}),r.createElement(vi,{colors:d,onClick:s,onSwatchHover:u}))};gi.propTypes={disableAlpha:x().bool,width:x().oneOfType([x().string,x().number]),styles:x().object},gi.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};const yi=Ln(gi),bi=function(e){var t=e.hsl,n=e.offset,a=e.onClick,i=void 0===a?function(){}:a,l=e.active,s=e.first,c=e.last,u=(0,o.ZP)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:s,last:c});return r.createElement("div",{style:u.swatch,onClick:function(e){return i({h:t.h,s:.5,l:n,source:"hsl"},e)}})},wi=function(e){var t=e.onClick,n=e.hsl,a=(0,o.ZP)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),i=.1;return r.createElement("div",{style:a.swatches},r.createElement("div",{style:a.swatch},r.createElement(bi,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<i&&Math.abs(n.s-.5)<i,onClick:t,first:!0})),r.createElement("div",{style:a.swatch},r.createElement(bi,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<i&&Math.abs(n.s-.5)<i,onClick:t})),r.createElement("div",{style:a.swatch},r.createElement(bi,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<i&&Math.abs(n.s-.5)<i,onClick:t})),r.createElement("div",{style:a.swatch},r.createElement(bi,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<i&&Math.abs(n.s-.5)<i,onClick:t})),r.createElement("div",{style:a.swatch},r.createElement(bi,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<i&&Math.abs(n.s-.5)<i,onClick:t,last:!0})),r.createElement("div",{style:a.clear}))};var Ei=function(e){var t=e.hsl,n=e.onChange,a=e.pointer,i=e.styles,l=void 0===i?{}:i,s=e.className,c=void 0===s?"":s,u=(0,o.ZP)(yt({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},l));return r.createElement("div",{style:u.wrap||{},className:"slider-picker "+c},r.createElement("div",{style:u.hue},r.createElement(w,{style:u.Hue,hsl:t,pointer:a,onChange:n})),r.createElement("div",{style:u.swatches},r.createElement(wi,{hsl:t,onClick:n})))};Ei.propTypes={styles:x().object},Ei.defaultProps={pointer:function(){var e=(0,o.ZP)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})},styles:{}};const xi=Ln(Ei);var _i=n(597);const Si=function(e){var t=e.color,n=e.onClick,a=void 0===n?function(){}:n,i=e.onSwatchHover,l=e.first,s=e.last,c=e.active,u=(0,o.ZP)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Tn(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:l,last:s,active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement(Vn,{color:t,style:u.color,onClick:a,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:u.check},r.createElement(_i.Z,null)))},Ci=function(e){var t=e.onClick,n=e.onSwatchHover,a=e.group,i=e.active,l=(0,o.ZP)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.createElement("div",{style:l.group},Yr(a,(function(e,o){return r.createElement(Si,{key:e,color:e,active:e.toLowerCase()===i,first:0===o,last:o===a.length-1,onClick:t,onSwatchHover:n})})))};var Oi=function(e){var t=e.width,n=e.height,a=e.onChange,i=e.onSwatchHover,l=e.colors,s=e.hex,c=e.styles,u=void 0===c?{}:c,h=e.className,d=void 0===h?"":h,f=(0,o.ZP)(yt({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},u)),p=function(e,t){return a({hex:e,source:"hex"},t)};return r.createElement("div",{style:f.picker,className:"swatches-picker "+d},r.createElement(Et,null,r.createElement("div",{style:f.overflow},r.createElement("div",{style:f.body},Yr(l,(function(e){return r.createElement(Ci,{key:e.toString(),group:e,active:s,onClick:p,onSwatchHover:i})})),r.createElement("div",{style:f.clear})))))};Oi.propTypes={width:x().oneOfType([x().string,x().number]),height:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().arrayOf(x().string)),styles:x().object},Oi.defaultProps={width:320,height:240,colors:[[no,to,eo,Jr,Qr],[lo,io,ao,oo,ro],[fo,ho,uo,co,so],[yo,go,mo,vo,po],[_o,xo,Eo,wo,bo],[Mo,zo,Oo,Co,So],[Lo,Ao,ko,Po,To],[Vo,Io,Ho,No,Ro],[Uo,Bo,Fo,jo,Do],["#194D33",Ko,Wo,qo,Go],[Qo,Xo,$o,Zo,Yo],[ra,na,ta,ea,Jo],[sa,la,ia,aa,oa],[fa,da,ha,ua,ca],[ya,ga,ma,va,pa],[_a,xa,Ea,wa,ba],[Ma,za,Oa,Ca,Sa],[La,Aa,ka,Pa,Ta],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};const zi=Ln(Oi);var Mi=function(e){var t=e.onChange,n=e.onSwatchHover,a=e.hex,i=e.colors,l=e.width,s=e.triangle,c=e.styles,u=void 0===c?{}:c,h=e.className,d=void 0===h?"":h,f=(0,o.ZP)(yt({default:{card:{width:l,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},u),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),p=function(e,n){Mn(e)&&t({hex:e,source:"hex"},n)};return r.createElement("div",{style:f.card,className:"twitter-picker "+d},r.createElement("div",{style:f.triangleShadow}),r.createElement("div",{style:f.triangle}),r.createElement("div",{style:f.body},Yr(i,(function(e,t){return r.createElement(Vn,{key:t,color:e,hex:e,style:f.swatch,onClick:p,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.createElement("div",{style:f.hash},"#"),r.createElement(g,{label:null,style:{input:f.input},value:a.replace("#",""),onChange:p}),r.createElement("div",{style:f.clear})))};Mi.propTypes={width:x().oneOfType([x().string,x().number]),triangle:x().oneOf(["hide","top-left","top-right"]),colors:x().arrayOf(x().string),styles:x().object},Mi.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};const Ti=Ln(Mi);var Pi=function(e){var t=(0,o.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return r.createElement("div",{style:t.picker})};Pi.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},Pi.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const ki=Pi;var Ai=function(e){var t=(0,o.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return r.createElement("div",{style:t.picker})};Ai.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},Ai.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const Li=Ai,Ri=function(e){var t=e.onChange,n=e.rgb,a=e.hsl,i=e.hex,l=e.hsv,s=function(e,n){if(e.hex)Mn(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var r=e.rgb.split(",");Pn(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},n)}else if(e.hsv){var o=e.hsv.split(",");Pn(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},n))}else if(e.hsl){var a=e.hsl.split(",");Pn(e.hsl,"hsl")&&(a[2]=a[2].replace("%",""),a[1]=a[1].replace("%",""),a[0]=a[0].replace("°",""),1==d[1]?d[1]=.01:1==d[2]&&(d[2]=.01),t({h:Number(a[0]),s:Number(a[1]),v:Number(a[2]),source:"hsl"},n))}},c=(0,o.ZP)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),u=n.r+", "+n.g+", "+n.b,h=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.l)+"%",d=Math.round(l.h)+"°, "+Math.round(100*l.s)+"%, "+Math.round(100*l.v)+"%";return r.createElement("div",{style:c.wrap,className:"flexbox-fix"},r.createElement("div",{style:c.fields},r.createElement("div",{style:c.double},r.createElement(g,{style:{input:c.input,label:c.label},label:"hex",value:i,onChange:s})),r.createElement("div",{style:c.column},r.createElement("div",{style:c.single},r.createElement(g,{style:{input:c.input2,label:c.label2},label:"rgb",value:u,onChange:s})),r.createElement("div",{style:c.single},r.createElement(g,{style:{input:c.input2,label:c.label2},label:"hsv",value:d,onChange:s})),r.createElement("div",{style:c.single},r.createElement(g,{style:{input:c.input2,label:c.label2},label:"hsl",value:h,onChange:s})))))};var Ni=function(e){var t=e.width,n=e.onChange,a=e.rgb,i=e.hsl,l=e.hsv,s=e.hex,c=e.header,u=e.styles,h=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,p=(0,o.ZP)(yt({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+a.r+", "+a.g+", "+a.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return r.createElement("div",{style:p.picker,className:"google-picker "+f},r.createElement("div",{style:p.head},c),r.createElement("div",{style:p.swatch}),r.createElement("div",{style:p.saturation},r.createElement(It,{hsl:i,hsv:l,pointer:ki,onChange:n})),r.createElement("div",{style:p.body},r.createElement("div",{style:p.controls,className:"flexbox-fix"},r.createElement("div",{style:p.hue},r.createElement(w,{style:p.Hue,hsl:i,radius:"4px",pointer:Li,onChange:n}))),r.createElement(Ri,{rgb:a,hsl:i,hex:s,hsv:l,onChange:n})))};Ni.propTypes={width:x().oneOfType([x().string,x().number]),styles:x().object,header:x().string},Ni.defaultProps={width:652,styles:{},header:"Color picker"};const Hi=Ln(Ni)},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);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 i=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++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,d=/^[: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,a,i){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=a,this.removeEmptyString=i}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!!h.call(p,e)||!h.call(f,e)&&(d.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,E=Symbol.for("react.element"),x=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),z=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var H,I=Object.assign;function V(e){if(void 0===H)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&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 _:return"Fragment";case x:return"Portal";case C:return"Profiler";case S:return"StrictMode";case T:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case z:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case k:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case A: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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 Y(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 Z(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function $(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 X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){X(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&&Y(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(a(91));return I({},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(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ae(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 ie(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,he=(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 de(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=I({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(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(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 Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,_e=null,Se=null;function Ce(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function Oe(e){_e?Se?Se.push(e):Se=[e]:_e=e}function ze(){if(_e){var e=_e,t=Se;if(Se=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Me(e,t){return e(t)}function Te(){}var Pe=!1;function ke(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Me(e,t,n)}finally{Pe=!1,(null!==_e||null!==Se)&&(Te(),ze())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(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(a(231,t,typeof n));return n}var Le=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Le=!1}function Ne(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var He=!1,Ie=null,Ve=!1,De=null,je={onError:function(e){He=!0,Ie=e}};function Fe(e,t,n,r,o,a,i,l,s){He=!1,Ie=null,Ne.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(a(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(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 Ge(o),e;if(i===r)return Ge(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}(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,Ye=o.unstable_cancelCallback,Ze=o.unstable_shouldYield,$e=o.unstable_requestPaint,Xe=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,at=null,it=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 ht(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 dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=ht(l):0!=(a&=i)&&(r=ht(a))}else 0!=(i=n&~o)?r=ht(i):0!==a&&(r=ht(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))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-it(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-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(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 Et,xt,_t,St,Ct,Ot=!1,zt=[],Mt=null,Tt=null,Pt=null,kt=new Map,At=new Map,Lt=[],Rt="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 Nt(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Ht(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=wo(t))&&xt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(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 Ct(e.priority,(function(){_t(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=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&xt(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(){Ot=!1,null!==Mt&&Vt(Mt)&&(Mt=null),null!==Tt&&Vt(Tt)&&(Tt=null),null!==Pt&&Vt(Pt)&&(Pt=null),kt.forEach(Dt),At.forEach(Dt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,jt)))}function Bt(e){function t(t){return Ft(t,e)}if(0<zt.length){Ft(zt[0],e);for(var n=1;n<zt.length;n++){var r=zt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Mt&&Ft(Mt,e),null!==Tt&&Ft(Tt,e),null!==Pt&&Ft(Pt,e),kt.forEach(t),At.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)It(n),null===n.blockedOn&&Lt.shift()}var Ut=w.ReactCurrentBatchConfig,Gt=!0;function qt(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function Wt(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function Kt(e,t,n,r){if(Gt){var o=Zt(e,t,n,r);if(null===o)Gr(e,t,r,Yt,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Mt=Ht(Mt,e,t,n,r,o),!0;case"dragenter":return Tt=Ht(Tt,e,t,n,r,o),!0;case"mouseover":return Pt=Ht(Pt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return kt.set(a,Ht(kt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,At.set(a,Ht(At.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&Et(a),null===(a=Zt(e,t,n,r))&&Gr(e,t,r,Yt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Gr(e,t,r,null,n)}}var Yt=null;function Zt(e,t,n,r){if(Yt=null,null!==(e=bo(e=Ee(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 Yt=e,null}function $t(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 Xt=null,Qt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Qt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-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,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(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),hn=I({},cn,{view:0,detail:0}),dn=on(hn),fn=I({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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(I({},fn,{dataTransfer:0})),mn=on(I({},hn,{relatedTarget:0})),gn=on(I({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=I({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(I({},cn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Cn(){return Sn}var On=I({},hn,{key:function(e){if(e.key){var t=En[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?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,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}}),zn=on(On),Mn=on(I({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(I({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Pn=on(I({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),kn=I({},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}),An=on(kn),Ln=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var Hn=u&&"TextEvent"in window&&!Nn,In=u&&(!Rn||Nn&&8<Nn&&11>=Nn),Vn=String.fromCharCode(32),Dn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Ln.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){Oe(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 Yn(e){Vr(e,0)}function Zn(e){if(K(Eo(e)))return e}function $n(e,t){if("change"===e)return t}var Xn=!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;Xn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Wn&&(Wn.detachEvent("onpropertychange",nr),Kn=Wn=null)}function nr(e){if("value"===e.propertyName&&Zn(Kn)){var t=[];qn(t,Kn,e,Ee(e)),ke(Yn,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 Zn(Kn)}function ar(e,t){if("click"===e)return Zn(t)}function ir(e,t){if("input"===e||"change"===e)return Zn(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(!h.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 hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((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=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hr(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,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ur(n,a);var i=ur(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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!==Y(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 Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},_r={},Sr={};function Cr(e){if(_r[e])return _r[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return _r[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Or=Cr("animationend"),zr=Cr("animationiteration"),Mr=Cr("animationstart"),Tr=Cr("transitionend"),Pr=new Map,kr="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 Ar(e,t){Pr.set(e,t),s(t,[e])}for(var Lr=0;Lr<kr.length;Lr++){var Rr=kr[Lr];Ar(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Ar(Or,"onAnimationEnd"),Ar(zr,"onAnimationIteration"),Ar(Mr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Tr,"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 Nr="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(" "),Hr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,s,c){if(Fe.apply(this,arguments),He){if(!He)throw Error(a(198));var u=Ie;He=!1,Ie=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 a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Ir(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Ir(o,l,c),a=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,i.forEach((function(t){"selectionchange"!==t&&(Hr.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($t(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,!Le||"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 a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=bo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}ke((function(){var r=a,o=Ee(n),i=[];e:{var l=Pr.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=zn;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=Tn;break;case Or:case zr:case Mr:s=gn;break;case Tr:s=Pn;break;case"scroll":s=dn;break;case"wheel":s=An;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=Mn}var u=0!=(4&t),h=!u&&"scroll"===e,d=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!==d&&null!=(v=Ae(p,d))&&u.push(qr(p,v,f))),h)break;p=p.return}0<u.length&&(l=new s(l,c,null,n,o),i.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!==(h=Be(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=pn,v="onMouseLeave",d="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=Mn,v="onPointerLeave",d="onPointerEnter",p="pointer"),h=null==s?l:Eo(s),f=null==c?l:Eo(c),(l=new u(v,p+"leave",s,n,o)).target=h,l.relatedTarget=f,v=null,bo(o)===r&&((u=new u(d,p+"enter",c,n,o)).target=f,u.relatedTarget=h,v=u),h=v,s&&c)e:{for(d=c,p=0,f=u=s;f;f=Kr(f))p++;for(f=0,v=d;v;v=Kr(v))f++;for(;0<p-f;)u=Kr(u),p--;for(;0<f-p;)d=Kr(d),f--;for(;p--;){if(u===d||null!==d&&u===d.alternate)break e;u=Kr(u),d=Kr(d)}u=null}else u=null;null!==s&&Yr(i,l,s,u,!1),null!==c&&null!==h&&Yr(i,h,c,u,!0)}if("select"===(s=(l=r?Eo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=$n;else if(Gn(l))if(Xn)m=ir;else{m=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ar);switch(m&&(m=m(e,r))?qn(i,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?Eo(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(i,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(i,n,o)}var y;if(Rn)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&&(In&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Qt="value"in(Xt=o)?Xt.value:Xt.textContent,Bn=!0)),0<(g=Wr(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:g}),(y||null!==(y=Fn(n)))&&(b.data=y))),(y=Hn?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||!Rn&&jn(e,t)?(e=en(),Jt=Qt=Xt=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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y)}Vr(i,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,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ae(e,n))&&r.unshift(qr(e,a,o)),null!=(a=Ae(e,t))&&r.push(qr(e,a,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 Yr(e,t,n,r,o){for(var a=t._reactName,i=[];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=Ae(n,a))&&i.unshift(qr(n,s,l)):o||null!=(s=Ae(n,a))&&i.push(qr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Zr=/\r\n?/g,$r=/\u0000|\uFFFD/g;function Xr(e){return("string"==typeof e?e:""+e).replace(Zr,"\n").replace($r,"")}function Qr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(a(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,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.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 Eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function xo(e){return e[po]||null}var _o=[],So=-1;function Co(e){return{current:e}}function Oo(e){0>So||(e.current=_o[So],_o[So]=null,So--)}function zo(e,t){So++,_o[So]=e.current,e.current=t}var Mo={},To=Co(Mo),Po=Co(!1),ko=Mo;function Ao(e,t){var n=e.type.contextTypes;if(!n)return Mo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lo(e){return null!=e.childContextTypes}function Ro(){Oo(Po),Oo(To)}function No(e,t,n){if(To.current!==Mo)throw Error(a(168));zo(To,t),zo(Po,n)}function Ho(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,U(e)||"Unknown",o));return I({},n,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mo,ko=To.current,zo(To,e),zo(Po,Po.current),!0}function Vo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ho(e,t,ko),r.__reactInternalMemoizedMergedChildContext=e,Oo(Po),Oo(To),zo(To,e)):Oo(Po),zo(Po,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,Yo=[],Zo=0,$o=null,Xo=1,Qo="";function Jo(e,t){Go[qo++]=Ko,Go[qo++]=Wo,Wo=e,Ko=t}function ea(e,t,n){Yo[Zo++]=Xo,Yo[Zo++]=Qo,Yo[Zo++]=$o,$o=e;var r=Xo;e=Qo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Xo=1<<32-it(t)+o|n<<o|r,Qo=a+e}else Xo=1<<a|n<<o|r,Qo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===Wo;)Wo=Go[--qo],Go[qo]=null,Ko=Go[--qo],Go[qo]=null;for(;e===$o;)$o=Yo[--Zo],Yo[Zo]=null,Qo=Yo[--Zo],Yo[Zo]=null,Xo=Yo[--Zo],Yo[Zo]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Ac(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 sa(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,ra=e,oa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==$o?{id:Xo,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ac(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ua(e){if(aa){var t=oa;if(t){var n=t;if(!sa(e,t)){if(ca(e))throw Error(a(418));t=co(n.nextSibling);var r=ra;t&&sa(e,t)?la(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function ha(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function da(e){if(e!==ra)return!1;if(!aa)return ha(e),aa=!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=oa)){if(ca(e))throw fa(),Error(a(418));for(;t;)la(e,t),t=co(t.nextSibling)}if(ha(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function pa(){oa=ra=null,aa=!1}function va(e){null===ia?ia=[e]:ia.push(e)}var ma=w.ReactCurrentBatchConfig;function ga(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 ya=Co(null),ba=null,wa=null,Ea=null;function xa(){Ea=wa=ba=null}function _a(e){var t=ya.current;Oo(ya),e._currentValue=t}function Sa(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 Ca(e,t){ba=e,Ea=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Oa(e){var t=e._currentValue;if(Ea!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===ba)throw Error(a(308));wa=e,ba.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var za=null;function Ma(e){null===za?za=[e]:za.push(e)}function Ta(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ma(t)):(n.next=o.next,o.next=n),t.interleaved=n,Pa(e,r)}function Pa(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 ka=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function La(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 Ra(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Na(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Pa(e,n)}return null===(o=r.interleaved)?(t.next=t,Ma(r)):(t.next=o.next,o.next=t),r.interleaved=t,Pa(e,n)}function Ha(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 Ia(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Va(e,t,n,r){var o=e.updateQueue;ka=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s)}if(null!==a){var h=o.baseState;for(i=0,u=c=s=null,l=a;;){var d=l.lane,f=l.eventTime;if((r&d)===d){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(d=t,f=n,v.tag){case 1:if("function"==typeof(p=v.payload)){h=p.call(f,h,d);break e}h=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(d="function"==typeof(p=v.payload)?p.call(f,h,d):p))break e;h=I({},h,d);break e;case 2:ka=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[l]:d.push(l))}else f={eventTime:f,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=h):u=u.next=f,i|=d;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(d=l).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===u&&(s=h),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Is|=i,e.lanes=i,e.memoizedState=h}}function Da(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 ja=(new r.Component).refs;function Fa(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 Ba={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Ra(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Na(e,a,o))&&(rc(t,e,o,r),Ha(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Ra(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Na(e,a,o))&&(rc(t,e,o,r),Ha(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Ra(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Na(e,o,r))&&(rc(t,e,r,n),Ha(t,e,r))}};function Ua(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(o,a))}function Ga(e,t,n){var r=!1,o=Mo,a=t.contextType;return"object"==typeof a&&null!==a?a=Oa(a):(o=Lo(t)?ko:To.current,a=(r=null!=(r=t.contextTypes))?Ao(e,o):Mo),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function qa(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&&Ba.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ja,Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Oa(a):(a=Lo(t)?ko:To.current,o.context=Ao(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Fa(e,t,a,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&&Ba.enqueueReplaceState(o,o.state,null),Va(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ka(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===ja&&(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 Ya(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Za(e){return(0,e._init)(e._payload)}function $a(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=Rc(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 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 a=n.type;return a===_?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&Za(a)===t.type)?((r=o(t,n.props)).ref=Ka(e,t,n),r.return=e,r):((r=Nc(n.type,n.key,n.props,null,e.mode,r)).ref=Ka(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 h(e,t,n,r,a){return null===t||7!==t.tag?((t=Hc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(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 E:return(n=Nc(t.type,t.key,t.props,null,e.mode,n)).ref=Ka(e,null,t),n.return=e,n;case x:return(t=Dc(t,e.mode,n)).return=e,t;case A:return d(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Hc(t,e.mode,n,null)).return=e,t;Ya(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 E:return n.key===o?c(e,t,n,r):null;case x:return n.key===o?u(e,t,n,r):null;case A:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:h(e,t,n,r,null);Ya(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 E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return h(t,e=e.get(n)||null,r,o,null);Ya(t,r)}return null}function v(o,a,l,s){for(var c=null,u=null,h=a,v=a=0,m=null;null!==h&&v<l.length;v++){h.index>v?(m=h,h=null):m=h.sibling;var g=f(o,h,l[v],s);if(null===g){null===h&&(h=m);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,v),null===u?c=g:u.sibling=g,u=g,h=m}if(v===l.length)return n(o,h),aa&&Jo(o,v),c;if(null===h){for(;v<l.length;v++)null!==(h=d(o,l[v],s))&&(a=i(h,a,v),null===u?c=h:u.sibling=h,u=h);return aa&&Jo(o,v),c}for(h=r(o,h);v<l.length;v++)null!==(m=p(h,o,v,l[v],s))&&(e&&null!==m.alternate&&h.delete(null===m.key?v:m.key),a=i(m,a,v),null===u?c=m:u.sibling=m,u=m);return e&&h.forEach((function(e){return t(o,e)})),aa&&Jo(o,v),c}function m(o,l,s,c){var u=N(s);if("function"!=typeof u)throw Error(a(150));if(null==(s=u.call(s)))throw Error(a(151));for(var h=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=i(b,l,m),null===h?u=b:h.sibling=b,h=b,v=g}if(y.done)return n(o,v),aa&&Jo(o,m),u;if(null===v){for(;!y.done;m++,y=s.next())null!==(y=d(o,y.value,c))&&(l=i(y,l,m),null===h?u=y:h.sibling=y,h=y);return aa&&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=i(y,l,m),null===h?u=y:h.sibling=y,h=y);return e&&v.forEach((function(e){return t(o,e)})),aa&&Jo(o,m),u}return function e(r,a,i,s){if("object"==typeof i&&null!==i&&i.type===_&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case E:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===_){if(7===u.tag){n(r,u.sibling),(a=o(u,i.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===A&&Za(c)===u.type){n(r,u.sibling),(a=o(u,i.props)).ref=Ka(r,u,i),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===_?((a=Hc(i.props.children,r.mode,s,i.key)).return=r,r=a):((s=Nc(i.type,i.key,i.props,null,r.mode,s)).ref=Ka(r,a,i),s.return=r,r=s)}return l(r);case x:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Dc(i,r.mode,s)).return=r,r=a}return l(r);case A:return e(r,a,(u=i._init)(i._payload),s)}if(te(i))return v(r,a,i,s);if(N(i))return m(r,a,i,s);Ya(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Vc(i,r.mode,s)).return=r,r=a),l(r)):n(r,a)}}var Xa=$a(!0),Qa=$a(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(zo(ni,t),zo(ti,e),zo(ei,Ja),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)}Oo(ei),zo(ei,t)}function ai(){Oo(ei),Oo(ti),Oo(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(zo(ti,e),zo(ei,n))}function li(e){ti.current===e&&(Oo(ei),Oo(ti))}var si=Co(0);function ci(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 ui=[];function hi(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var di=w.ReactCurrentDispatcher,fi=w.ReactCurrentBatchConfig,pi=0,vi=null,mi=null,gi=null,yi=!1,bi=!1,wi=0,Ei=0;function xi(){throw Error(a(321))}function _i(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 Si(e,t,n,r,o,i){if(pi=i,vi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),bi){i=0;do{if(bi=!1,wi=0,25<=i)throw Error(a(301));i+=1,gi=mi=null,t.updateQueue=null,di.current=cl,e=n(r,o)}while(bi)}if(di.current=il,t=null!==mi&&null!==mi.next,pi=0,gi=mi=vi=null,yi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function Oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?vi.memoizedState=gi=e:gi=gi.next=e,gi}function zi(){if(null===mi){var e=vi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===gi?vi.memoizedState:gi.next;if(null!==t)gi=t,mi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===gi?vi.memoizedState=gi=e:gi=gi.next=e}return gi}function Mi(e,t){return"function"==typeof t?t(e):t}function Ti(e){var t=zi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=mi,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 h=u.lane;if((pi&h)===h)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 d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=d,l=r):c=c.next=d,vi.lanes|=h,Is|=h}u=u.next}while(null!==u&&u!==i);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{i=o.lane,vi.lanes|=i,Is|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Pi(e){var t=zi(),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);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ki(){}function Ai(e,t){var n=vi,r=zi(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,wl=!0),r=r.queue,Gi(Ni.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==gi&&1&gi.memoizedState.tag){if(n.flags|=2048,Di(9,Ri.bind(null,n,r,o,t),void 0,null),null===Ps)throw Error(a(349));0!=(30&pi)||Li(n,t,o)}return o}function Li(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ri(e,t,n,r){t.value=n,t.getSnapshot=r,Hi(t)&&Ii(e)}function Ni(e,t,n){return n((function(){Hi(t)&&Ii(e)}))}function Hi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Ii(e){var t=Pa(e,1);null!==t&&rc(t,e,1,-1)}function Vi(e){var t=Oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mi,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,vi,e),[t.memoizedState,e]}function Di(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.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 ji(){return zi().memoizedState}function Fi(e,t,n,r){var o=Oi();vi.flags|=e,o.memoizedState=Di(1|t,n,void 0,void 0===r?null:r)}function Bi(e,t,n,r){var o=zi();r=void 0===r?null:r;var a=void 0;if(null!==mi){var i=mi.memoizedState;if(a=i.destroy,null!==r&&_i(r,i.deps))return void(o.memoizedState=Di(t,n,a,r))}vi.flags|=e,o.memoizedState=Di(1|t,n,a,r)}function Ui(e,t){return Fi(8390656,8,e,t)}function Gi(e,t){return Bi(2048,8,e,t)}function qi(e,t){return Bi(4,2,e,t)}function Wi(e,t){return Bi(4,4,e,t)}function Ki(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 Yi(e,t,n){return n=null!=n?n.concat([e]):null,Bi(4,4,Ki.bind(null,t,e),n)}function Zi(){}function $i(e,t){var n=zi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xi(e,t){var n=zi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&_i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qi(e,t,n){return 0==(21&pi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=vt(),vi.lanes|=n,Is|=n,e.baseState=!0),t)}function Ji(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{bt=n,fi.transition=r}}function el(){return zi().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=Ta(e,t,n,r))&&(rc(n,e,r,tc()),al(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 a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,Ma(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ta(e,t,o,r))&&(rc(n,e,r,o=tc()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===vi||null!==t&&t===vi}function ol(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:Oa,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:Oa,useCallback:function(e,t){return Oi().memoizedState=[e,void 0===t?null:t],e},useContext:Oa,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Fi(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fi(4,2,e,t)},useMemo:function(e,t){var n=Oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oi();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,vi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oi().memoizedState=e},useState:Vi,useDebugValue:Zi,useDeferredValue:function(e){return Oi().memoizedState=e},useTransition:function(){var e=Vi(!1),t=e[0];return e=Ji.bind(null,e[1]),Oi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vi,o=Oi();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Ps)throw Error(a(349));0!=(30&pi)||Li(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Ui(Ni.bind(null,r,i,e),[e]),r.flags|=2048,Di(9,Ri.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oi(),t=Ps.identifierPrefix;if(aa){var n=Qo;t=":"+t+"R"+(n=(Xo&~(1<<32-it(Xo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ei++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oa,useCallback:$i,useContext:Oa,useEffect:Gi,useImperativeHandle:Yi,useInsertionEffect:qi,useLayoutEffect:Wi,useMemo:Xi,useReducer:Ti,useRef:ji,useState:function(){return Ti(Mi)},useDebugValue:Zi,useDeferredValue:function(e){return Qi(zi(),mi.memoizedState,e)},useTransition:function(){return[Ti(Mi)[0],zi().memoizedState]},useMutableSource:ki,useSyncExternalStore:Ai,useId:el,unstable_isNewReconciler:!1},cl={readContext:Oa,useCallback:$i,useContext:Oa,useEffect:Gi,useImperativeHandle:Yi,useInsertionEffect:qi,useLayoutEffect:Wi,useMemo:Xi,useReducer:Pi,useRef:ji,useState:function(){return Pi(Mi)},useDebugValue:Zi,useDeferredValue:function(e){var t=zi();return null===mi?t.memoizedState=e:Qi(t,mi.memoizedState,e)},useTransition:function(){return[Pi(Mi)[0],zi().memoizedState]},useMutableSource:ki,useSyncExternalStore:Ai,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 hl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(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=Ra(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qs||(qs=!0,Ws=r),dl(0,t)},n}function vl(e,t,n){(n=Ra(-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(){dl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){dl(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=Oc.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=Ra(-1,1)).tag=2,Na(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,wl=!1;function El(e,t,n,r){t.child=null===e?Qa(t,null,n,r):Xa(t,e.child,n,r)}function xl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Si(e,t,n,r,a,o),n=Ci(),null===e||wl?(aa&&n&&ta(t),t.flags|=1,El(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function _l(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Lc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Nc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Sl(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return ql(e,t,o)}return t.flags|=1,(e=Rc(a,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,ql(e,t,o);0!=(131072&e.flags)&&(wl=!0)}}return zl(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},zo(Rs,Ls),Ls|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,zo(Rs,Ls),Ls|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,zo(Rs,Ls),Ls|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,zo(Rs,Ls),Ls|=r;return El(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zl(e,t,n,r,o){var a=Lo(n)?ko:To.current;return a=Ao(t,a),Ca(t,o),n=Si(e,t,n,r,a,o),r=Ci(),null===e||wl?(aa&&r&&ta(t),t.flags|=1,El(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function Ml(e,t,n,r,o){if(Lo(n)){var a=!0;Io(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Gl(e,t),Ga(t,n,r),Wa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;c="object"==typeof c&&null!==c?Oa(c):Ao(t,c=Lo(n)?ko:To.current);var u=n.getDerivedStateFromProps,h="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;h||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&qa(t,i,r,c),ka=!1;var d=t.memoizedState;i.state=d,Va(t,r,i,o),s=t.memoizedState,l!==r||d!==s||Po.current||ka?("function"==typeof u&&(Fa(t,n,u,r),s=t.memoizedState),(l=ka||Ua(t,n,l,r,d,s,c))?(h||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,La(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ga(t.type,l),i.props=c,h=t.pendingProps,d=i.context,s="object"==typeof(s=n.contextType)&&null!==s?Oa(s):Ao(t,s=Lo(n)?ko:To.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==h||d!==s)&&qa(t,i,r,s),ka=!1,d=t.memoizedState,i.state=d,Va(t,r,i,o);var p=t.memoizedState;l!==h||d!==p||Po.current||ka?("function"==typeof f&&(Fa(t,n,f,r),p=t.memoizedState),(c=ka||Ua(t,n,c,r,d,p,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,a,o)}function Tl(e,t,n,r,o,a){Ol(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Vo(t,n,!1),ql(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Xa(t,e.child,null,a),t.child=Xa(t,null,l,a)):El(e,t,l,a),t.memoizedState=r.state,o&&Vo(t,n,!0),t.child}function Pl(e){var t=e.stateNode;t.pendingContext?No(0,t.pendingContext,t.pendingContext!==t.context):t.context&&No(0,t.context,!1),oi(e,t.containerInfo)}function kl(e,t,n,r,o){return pa(),va(o),t.flags|=256,El(e,t,n,r),t.child}var Al,Ll,Rl,Nl,Hl={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vl(e,t,n){var r,o=t.pendingProps,i=si.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),zo(si,1&i),null===e)return ua(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=Ic(s,o,0,null),e=Hc(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(n),t.memoizedState=Hl,e):Dl(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,jl(e,t,l,r=hl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ic({mode:"visible",children:r.children},o,0,null),(i=Hc(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Xa(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Hl,i);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=hl(i=Error(a(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=Ps)){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,Pa(e,o),rc(r,e,o,-1))}return mc(),jl(e,t,l,r=hl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Mc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=co(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Yo[Zo++]=Xo,Yo[Zo++]=Qo,Yo[Zo++]=$o,Xo=e.id,Qo=e.overflow,$o=t),(t=Dl(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=Rc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Rc(r,l):(l=Hc(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)?Il(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Hl,o}return e=(l=e.child).sibling,o=Rc(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=Ic({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function jl(e,t,n,r){return null!==r&&va(r),Xa(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),Sa(e.return,t,n)}function Bl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(El(e,t,r.children,n),0!=(2&(r=si.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(zo(si,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===ci(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,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,a);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),Is|=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=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!aa)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 Yl(e,t,n){var r=t.pendingProps;switch(na(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 Lo(t.type)&&Ro(),Kl(t),null;case 3:return r=t.stateNode,ai(),Oo(Po),Oo(To),hi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(da(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lc(ia),ia=null))),Ll(e,t),Kl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Rl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Kl(t),null}if(e=ri(ei.current),da(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fo]=t,r[po]=i,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<Nr.length;o++)Dr(Nr[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":$(r,i),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Dr("invalid",r);break;case"textarea":oe(r,i),Dr("invalid",r)}for(var s in ye(n,i),o=null,i)if(i.hasOwnProperty(s)){var c=i[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Qr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.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,i,!0);break;case"textarea":W(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.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,Al(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<Nr.length;o++)Dr(Nr[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":$(e,r),o=Z(e,r),Dr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Dr("invalid",e)}for(i in ye(n,o),c=o)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?me(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&he(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&de(e,u):"number"==typeof u&&de(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Dr("scroll",e):null!=u&&b(e,i,u,s))}switch(n){case"input":W(e),J(e,r,!1);break;case"textarea":W(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!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)Nl(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(i=r.nodeValue!==n)&&null!==(e=ra))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))}i&&(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(Oo(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))fa(),pa(),t.flags|=98560,i=!1;else if(i=da(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=t}else pa(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),i=!1}else null!==ia&&(lc(ia),ia=null),i=!0;if(!i)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&si.current)?0===Ns&&(Ns=3):mc())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ai(),Ll(e,t),null===e&&Br(t.stateNode.containerInfo),Kl(t),null;case 10:return _a(t.type._context),Kl(t),null;case 19:if(Oo(si),null===(i=t.memoizedState))return Kl(t),null;if(r=0!=(128&t.flags),null===(s=i.rendering))if(r)Wl(i,!1);else{if(0!==Ns||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ci(e))){for(t.flags|=128,Wl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return zo(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Xe()>Us&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!aa)return Kl(t),null}else 2*Xe()-i.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Wl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=si.current,zo(si,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ls)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Zl(e,t){switch(na(t),t.tag){case 1:return Lo(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),Oo(Po),Oo(To),hi(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Oo(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));pa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(si),null;case 4:return ai(),null;case 10:return _a(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Al=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}},Ll=function(){},Rl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Z(e,o),r=Z(e,r),i=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];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(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?i||(i=[]):(i=i||[]).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(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(l.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Dr("scroll",e),i||s===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Nl=function(e,t,n,r){n!==r&&(t.flags|=4)};var $l=!1,Xl=!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){Cc(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Cc(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 a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}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 as(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 is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(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 hs=null,ds=!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(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=hs,o=ds;hs=null,fs(e,t,n),ds=o,null!==(hs=r)&&(ds?(e=hs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):hs.removeChild(n.stateNode));break;case 18:null!==hs&&(ds?(e=hs,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(hs,n.stateNode));break;case 4:r=hs,o=ds,hs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),hs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!Xl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cc(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,fs(e,t,n),Xl=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=Tc.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 i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:hs=s.stateNode,ds=!1;break e;case 3:case 4:hs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===hs)throw Error(a(160));ps(i,l,o),hs=null,ds=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Cc(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){Cc(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Cc(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{de(o,"")}catch(t){Cc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===i.type&&null!=i.name&&X(o,i),be(s,l);var u=be(s,i);for(l=0;l<c.length;l+=2){var h=c[l],d=c[l+1];"style"===h?me(o,d):"dangerouslySetInnerHTML"===h?he(o,d):"children"===h?de(o,d):b(o,h,d,u)}switch(s){case"input":Q(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?ne(o,!!i.multiple,p,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[po]=i}catch(t){Cc(e,e.return,t)}}break;case 6:if(ms(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Cc(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){Cc(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&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Bs=Xe())),4&r&&vs(e);break;case 22:if(h=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(u=Xl)||h,ms(t,e),Xl=u):ms(t,e),ys(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!h&&0!=(1&e.mode))for(Jl=e,h=e.child;null!==h;){for(d=Jl=h;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){Cc(r,n,e)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){xs(d);continue}}null!==p?(p.return=f,Jl=p):xs(d)}h=h.sibling}e:for(h=null,d=e;;){if(5===d.tag){if(null===h){h=d;try{o=d.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=d.stateNode,l=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=ve("display",l))}catch(t){Cc(e,e.return,t)}}}else if(6===d.tag){if(null===h)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){Cc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.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(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),us(e,ss(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cs(e,ss(e),i);break;default:throw Error(a(161))}}catch(t){Cc(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,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||$l;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=$l;var c=Xl;if($l=i,(Xl=s)&&!c)for(Jl=o;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?_s(o):null!==s?(s.return=i,Jl=s):_s(o);for(;null!==a;)Jl=a,ws(a,t,n),a=a.sibling;Jl=o,$l=l,Xl=c}Es(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Jl=a):Es(e)}}function Es(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:Xl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ga(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Da(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:case 1:n=t.child.stateNode}Da(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 h=u.memoizedState;if(null!==h){var d=h.dehydrated;null!==d&&Bt(d)}}}break;default:throw Error(a(163))}Xl||512&t.flags&&as(t)}catch(e){Cc(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 xs(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 _s(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){Cc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cc(t,o,e)}}var a=t.return;try{as(t)}catch(e){Cc(t,a,e)}break;case 5:var i=t.return;try{as(t)}catch(e){Cc(t,i,e)}}}catch(e){Cc(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,Cs=Math.ceil,Os=w.ReactCurrentDispatcher,zs=w.ReactCurrentOwner,Ms=w.ReactCurrentBatchConfig,Ts=0,Ps=null,ks=null,As=0,Ls=0,Rs=Co(0),Ns=0,Hs=null,Is=0,Vs=0,Ds=0,js=null,Fs=null,Bs=0,Us=1/0,Gs=null,qs=!1,Ws=null,Ks=null,Ys=!1,Zs=null,$s=0,Xs=0,Qs=null,Js=-1,ec=0;function tc(){return 0!=(6&Ts)?Xe():-1!==Js?Js:Js=Xe()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Ts)&&0!==As?As&-As:null!==ma.transition?(0===ec&&(ec=vt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:$t(e.type)}function rc(e,t,n,r){if(50<Xs)throw Xs=0,Qs=null,Error(a(185));gt(e,n,r),0!=(2&Ts)&&e===Ps||(e===Ps&&(0==(2&Ts)&&(Vs|=n),4===Ns&&sc(e,As)),oc(e,r),1===n&&0===Ts&&0==(1&t.mode)&&(Us=Xe()+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,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=dt(e,e===Ps?As:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){jo=!0,Bo(e)}(cc.bind(null,e)):Bo(cc.bind(null,e)),io((function(){0==(6&Ts)&&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=Pc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Js=-1,ec=0,0!=(6&Ts))throw Error(a(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=dt(e,e===Ps?As:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Ts;Ts|=2;var i=vc();for(Ps===e&&As===t||(Gs=null,Us=Xe()+500,fc(e,t));;)try{bc();break}catch(t){pc(e,t)}xa(),Os.current=i,Ts=o,null!==ks?t=0:(Ps=null,As=0,t=Ns)}if(0!==t){if(2===t&&0!==(o=pt(e))&&(r=o,t=ic(e,o)),1===t)throw n=Hs,fc(e,0),sc(e,r),oc(e,Xe()),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],a=o.getSnapshot;o=o.value;try{if(!lr(a(),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!==(i=pt(e))&&(r=i,t=ic(e,i)),1===t))throw n=Hs,fc(e,0),sc(e,r),oc(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:xc(e,Fs,Gs);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Bs+500-Xe())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Fs,Gs),t);break}xc(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-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Fs,Gs),r);break}xc(e,Fs,Gs);break;default:throw Error(a(329))}}}return oc(e,Xe()),e.callbackNode===n?ac.bind(null,e):null}function ic(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-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!=(6&Ts))throw Error(a(327));_c();var t=dt(e,0);if(0==(1&t))return oc(e,Xe()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Hs,fc(e,0),sc(e,t),oc(e,Xe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Fs,Gs),oc(e,Xe()),null}function uc(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Us=Xe()+500,jo&&Uo())}}function hc(e){null!==Zs&&0===Zs.tag&&0==(6&Ts)&&_c();var t=Ts;Ts|=1;var n=Ms.transition,r=bt;try{if(Ms.transition=null,bt=1,e)return e()}finally{bt=r,Ms.transition=n,0==(6&(Ts=t))&&Uo()}}function dc(){Ls=Rs.current,Oo(Rs)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==ks)for(n=ks.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ro();break;case 3:ai(),Oo(Po),Oo(To),hi();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:Oo(si);break;case 10:_a(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Ps=e,ks=e=Rc(e.current,null),As=Ls=t,Ns=0,Hs=null,Ds=Vs=Is=0,Fs=js=null,null!==za){for(t=0;t<za.length;t++)if(null!==(r=(n=za[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}za=null}return e}function pc(e,t){for(;;){var n=ks;try{if(xa(),di.current=il,yi){for(var r=vi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}yi=!1}if(pi=0,gi=mi=vi=null,bi=!1,wi=0,zs.current=null,null===n||null===n.return){Ns=1,Hs=t,ks=null;break}e:{var i=e,l=n.return,s=n,c=t;if(t=As,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,h=s,d=h.tag;if(0==(1&h.mode)&&(0===d||11===d||15===d)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var p=gl(l);if(null!==p){p.flags&=-257,yl(p,l,s,0,t),1&p.mode&&ml(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)){ml(i,u,t),mc();break e}c=Error(a(426))}else if(aa&&1&s.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),va(ul(c,s));break e}}i=c=ul(c,s),4!==Ns&&(Ns=2),null===js?js=[i]:js.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ia(i,pl(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===Ks||!Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ia(i,vl(i,s,t));break e}}i=i.return}while(null!==i)}Ec(n)}catch(e){t=e,ks===n&&null!==n&&(ks=n=n.return);continue}break}}function vc(){var e=Os.current;return Os.current=il,null===e?il:e}function mc(){0!==Ns&&3!==Ns&&2!==Ns||(Ns=4),null===Ps||0==(268435455&Is)&&0==(268435455&Vs)||sc(Ps,As)}function gc(e,t){var n=Ts;Ts|=2;var r=vc();for(Ps===e&&As===t||(Gs=null,fc(e,t));;)try{yc();break}catch(t){pc(e,t)}if(xa(),Ts=n,Os.current=r,null!==ks)throw Error(a(261));return Ps=null,As=0,Ns}function yc(){for(;null!==ks;)wc(ks)}function bc(){for(;null!==ks&&!Ze();)wc(ks)}function wc(e){var t=Ss(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?Ec(e):ks=t,zs.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Yl(n,t,Ls)))return void(ks=n)}else{if(null!==(n=Zl(n,t)))return n.flags&=32767,void(ks=n);if(null===e)return Ns=6,void(ks=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(ks=t);ks=t=e}while(null!==t);0===Ns&&(Ns=5)}function xc(e,t,n){var r=bt,o=Ms.transition;try{Ms.transition=null,bt=1,function(e,t,n,r){do{_c()}while(null!==Zs);if(0!=(6&Ts))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-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Ps&&(ks=Ps=null,As=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ys||(Ys=!0,Pc(tt,(function(){return _c(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Ms.transition,Ms.transition=null;var l=bt;bt=1;var s=Ts;Ts|=4,zs.current=null,function(e,t){if(eo=Gt,fr(e=dr())){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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,s=-1,c=-1,u=0,h=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==o&&3!==d.nodeType||(s=l+o),d!==i||0!==r&&3!==d.nodeType||(c=l+r),3===d.nodeType&&(l+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===o&&(s=l),f===i&&++h===r&&(c=l),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=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:ga(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(a(163))}}catch(e){Cc(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),$e(),Ts=s,bt=l,Ms.transition=i}else e.current=n;if(Ys&&(Ys=!1,Zs=e,$s=o),0===(i=e.pendingLanes)&&(Ks=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),oc(e,Xe()),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&$s)&&0!==e.tag&&_c(),0!=(1&(i=e.pendingLanes))?e===Qs?Xs++:(Xs=0,Qs=e):Xs=0,Uo()}(e,t,n,r)}finally{Ms.transition=o,bt=r}return null}function _c(){if(null!==Zs){var e=wt($s),t=Ms.transition,n=bt;try{if(Ms.transition=null,bt=16>e?16:e,null===Zs)var r=!1;else{if(e=Zs,Zs=null,$s=0,0!=(6&Ts))throw Error(a(331));var o=Ts;for(Ts|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Jl=u;null!==Jl;){var h=Jl;switch(h.tag){case 0:case 11:case 15:rs(8,h,i)}var d=h.child;if(null!==d)d.return=h,Jl=d;else for(;null!==Jl;){var f=(h=Jl).sibling,p=h.return;if(is(h),h===u){Jl=null;break}if(null!==f){f.return=p,Jl=f;break}Jl=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)}}Jl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Jl=y;break e}Jl=i.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){Cc(s,s.return,e)}if(s===l){Jl=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,Jl=E;break e}Jl=s.return}}if(Ts=o,Uo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Ms.transition=t}}return!1}function Sc(e,t,n){e=Na(e,t=pl(0,t=ul(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Cc(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=Na(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 Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Ps===e&&(As&n)===n&&(4===Ns||3===Ns&&(130023424&As)===As&&500>Xe()-Bs?fc(e,0):Ds|=n),oc(e,t)}function zc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Pa(e,t))&&(gt(e,t,n),oc(e,n))}function Mc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),zc(e,n)}function Tc(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),zc(e,n)}function Pc(e,t){return Ke(e,t)}function kc(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 Ac(e,t,n,r){return new kc(e,t,n,r)}function Lc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Ac(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 Nc(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Lc(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case _:return Hc(n.children,o,i,t);case S:l=8,o|=8;break;case C:return(e=Ac(12,n,t,2|o)).elementType=C,e.lanes=i,e;case T:return(e=Ac(13,n,t,o)).elementType=T,e.lanes=i,e;case P:return(e=Ac(19,n,t,o)).elementType=P,e.lanes=i,e;case L:return Ic(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:l=10;break e;case z:l=9;break e;case M:l=11;break e;case k:l=14;break e;case A:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ac(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Hc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Ic(e,t,n,r){return(e=Ac(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Vc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Dc(e,t,n){return(t=Ac(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,a,i,l,s){return e=new jc(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ac(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function Bc(e){if(!e)return Mo;e:{if(Be(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(Lo(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(Lo(n))return Ho(e,n,t)}return t}function Uc(e,t,n,r,o,a,i,l,s){return(e=Fc(n,r,!0,e,0,a,0,l,s)).context=Bc(null),n=e.current,(a=Ra(r=tc(),o=nc(n))).callback=null!=t?t:null,Na(n,a,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function Gc(e,t,n,r){var o=t.current,a=tc(),i=nc(o);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ra(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Na(o,t,i))&&(rc(e,o,i,a),Ha(e,o,i)),i}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||Po.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:Pl(t),pa();break;case 5:ii(t);break;case 1:Lo(t.type)&&Io(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;zo(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(zo(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Vl(e,t,n):(zo(si,1&si.current),null!==(e=ql(e,t,n))?e.sibling:null);zo(si,1&si.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),zo(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return ql(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,aa&&0!=(1048576&t.flags)&&ea(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gl(e,t),e=t.pendingProps;var o=Ao(t,To.current);Ca(t,n),o=Si(null,t,r,e,o,n);var i=Ci();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,Lo(r)?(i=!0,Io(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Aa(t),o.updater=Ba,t.stateNode=o,o._reactInternals=t,Wa(t,r,e,n),t=Tl(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),El(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 Lc(e)?1:0;if(null!=e){if((e=e.$$typeof)===M)return 11;if(e===k)return 14}return 2}(r),e=ga(r,e),o){case 0:t=zl(null,t,r,e,n);break e;case 1:t=Ml(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=_l(null,t,r,ga(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,zl(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ml(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 3:e:{if(Pl(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,La(e,t),Va(t,r,null,n);var l=t.memoizedState;if(r=l.element,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=kl(e,t,r,n,o=ul(Error(a(423)),t));break e}if(r!==o){t=kl(e,t,r,n,o=ul(Error(a(424)),t));break e}for(oa=co(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Qa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pa(),r===o){t=ql(e,t,n);break e}El(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ua(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==i&&no(r,i)&&(t.flags|=32),Ol(e,t),El(e,t,l,n),t.child;case 6:return null===e&&ua(t),null;case 13:return Vl(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xa(t,null,r,n):El(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xl(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 7:return El(e,t,t.pendingProps,n),t.child;case 8:case 12:return El(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,zo(ya,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===o.children&&!Po.current){t=ql(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=Ra(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var h=(u=u.shared).pending;null===h?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Sa(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),Sa(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}El(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=Oa(o)),t.flags|=1,El(e,t,r,n),t.child;case 14:return o=ga(r=t.type,t.pendingProps),_l(e,t,r,o=ga(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:ga(r,o),Gl(e,t),t.tag=1,Lo(r)?(e=!0,Io(t)):e=!1,Ca(t,n),Ga(t,r,o),Wa(t,r,o,n),Tl(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return Cl(e,t,n)}throw Error(a(156,t.tag))};var Yc="function"==typeof reportError?reportError:function(e){console.error(e)};function Zc(e){this._internalRoot=e}function $c(e){this._internalRoot=e}function Xc(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 a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=qc(i);l.call(e)}}Gc(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=qc(i);a.call(e)}}var i=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[vo]=i.current,Br(8===e.nodeType?e.parentNode:e),hc(),i}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),hc((function(){Gc(t,s,n,r)})),s}(n,t,e,o,r);return qc(i)}$c.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Gc(e,t,null,null)},$c.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;hc((function(){Gc(null,e,null,null)})),t[vo]=null}},$c.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&It(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ht(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Xe()),0==(6&Ts)&&(Us=Xe()+500,Uo()))}break;case 13:hc((function(){var t=Pa(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Kc(e,1)}},xt=function(e){if(13===e.tag){var t=Pa(e,134217728);null!==t&&rc(t,e,134217728,tc()),Kc(e,134217728)}},_t=function(e){if(13===e.tag){var t=nc(e),n=Pa(e,t);null!==n&&rc(n,e,t,tc()),Kc(e,t)}},St=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=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=xo(r);if(!o)throw Error(a(90));K(r),Q(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Me=uc,Te=hc;var tu={usingClientEntryPoint:!1,Events:[wo,Eo,xo,Oe,ze,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),at=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(!Xc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(a(299));var n=!1,r="",o=Yc;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 Zc(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(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return hc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(a(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Yc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,o,0,i,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 $c(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(a(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(a(40));return!!e._reactRootContainer&&(hc((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(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(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(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,c,u;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,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)&&!a(e[c[s]],i[c[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},6755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Html:()=>i,Portal:()=>l,useImage:()=>c()});var r=n(7294),o=n(745),a=n(6904);const i=({children:e,groupProps:t,divProps:n,transform:i,transformFunc:l})=>{const s=r.useRef(null),[c]=(r.useRef(),r.useState((()=>document.createElement("div")))),u=r.useMemo((()=>o.createRoot(c)),[c]),h=null==i||i,d=()=>{if(h&&s.current){let e=s.current.getAbsoluteTransform().decompose();l&&(e=l(e)),c.style.position="absolute",c.style.zIndex="10",c.style.top="0px",c.style.left="0px",c.style.transform=`translate(${e.x}px, ${e.y}px) rotate(${e.rotation}deg) scaleX(${e.scaleX}) scaleY(${e.scaleY})`,c.style.transformOrigin="top left"}else c.style.position="",c.style.zIndex="",c.style.top="",c.style.left="",c.style.transform="",c.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(c.style,t),Object.assign(c,r)};return r.useLayoutEffect((()=>{var e;const t=s.current;if(!t)return;const n=null===(e=t.getStage())||void 0===e?void 0:e.container();return n?(n.appendChild(c),h&&(e=>{const t=window.getComputedStyle(e).position;return!("absolute"===t||"relative"===t)})(n)&&(n.style.position="relative"),t.on("absoluteTransformChange",d),d(),()=>{var e;t.off("absoluteTransformChange",d),null===(e=c.parentNode)||void 0===e||e.removeChild(c)}):void 0}),[h]),r.useLayoutEffect((()=>{d()}),[n]),r.useLayoutEffect((()=>{u.render(e)})),r.useLayoutEffect((()=>()=>{u.unmount()}),[]),r.createElement(a.Group,Object.assign({ref:s},t))},l=({selector:e,enabled:t,children:n})=>{const o=r.useRef(null),i=r.useRef(null),l=r.useRef(),s=null==t||t;return r.useLayoutEffect((()=>{if(!o.current||!i.current)return;l.current=i.current;const t=o.current.getStage().findOne(e);s&&t?i.current.moveTo(t):i.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(a.Group,{name:"_outer_portal",ref:o},r.createElement(a.Group,{name:"_inner_portal",ref:i},n))};var s=n(4420),c=n.n(s)},6904:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>He,Arrow:()=>je,Circle:()=>Oe,Ellipse:()=>ze,FastLayer:()=>xe,Group:()=>_e,Image:()=>ke,KonvaRenderer:()=>Ue,Label:()=>Se,Layer:()=>Ee,Line:()=>Te,Path:()=>Ve,Rect:()=>Ce,RegularPolygon:()=>De,Ring:()=>Ne,Shape:()=>Fe,Sprite:()=>Pe,Stage:()=>Ge,Star:()=>Re,Tag:()=>Ie,Text:()=>Ae,TextPath:()=>Le,Transformer:()=>Be,Wedge:()=>Me,useStrictMode:()=>qe});var r={};n.r(r),n.d(r,{appendChild:()=>U,appendChildToContainer:()=>G,appendInitialChild:()=>_,cancelTimeout:()=>I,clearContainer:()=>ne,commitMount:()=>$,commitTextUpdate:()=>Z,commitUpdate:()=>X,createInstance:()=>S,createTextInstance:()=>C,detachDeletedInstance:()=>re,finalizeInitialChildren:()=>O,getChildHostContext:()=>N,getCurrentEventPriority:()=>oe,getPublicInstance:()=>z,getRootHostContext:()=>R,hideInstance:()=>Q,hideTextInstance:()=>J,idlePriority:()=>w.unstable_IdlePriority,insertBefore:()=>q,insertInContainerBefore:()=>W,isPrimaryRenderer:()=>j,noTimeout:()=>V,now:()=>w.unstable_now,prepareForCommit:()=>M,preparePortalMount:()=>T,prepareUpdate:()=>P,removeChild:()=>K,removeChildFromContainer:()=>Y,resetAfterCommit:()=>k,resetTextContent:()=>A,run:()=>w.unstable_runWithPriority,scheduleTimeout:()=>H,shouldDeprioritizeSubtree:()=>L,shouldSetTextContent:()=>D,supportsMutation:()=>B,unhideInstance:()=>ee,unhideTextInstance:()=>te,warnsIfNotActing:()=>F}),n(2107);var o=n(7294);const a=n(2240).S;var i=n(6525),l=n.n(i),s=n(2576),c=n(6382);const u={children:!0,ref:!0,key:!0,style:!0,forwardedRef:!0,unstable_applyCache:!0,unstable_applyDrawHitFromCache:!0};let h=!1,d=!1;const f=".react-konva-event";let p=!1;const v="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",m='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',g={};function y(e,t,n=g){if(!h&&"zIndex"in t&&(console.warn(m),h=!0),!d&&t.draggable){var r=void 0!==t.x||void 0!==t.y,o=t.onDragEnd||t.onDragMove;r&&!o&&(console.warn(v),d=!0)}for(var a in n)if(!u[a]){var i="on"===a.slice(0,2),l=n[a]!==t[a];i&&l&&("content"===(x=a.substr(2).toLowerCase()).substr(0,7)&&(x="content"+x.substr(7,1).toUpperCase()+x.substr(8)),e.off(x,n[a])),!t.hasOwnProperty(a)&&e.setAttr(a,void 0)}var s=p||t._useStrictMode,c={},y=!1;const w={};for(var a in t)if(!u[a]){i="on"===a.slice(0,2);var E=n[a]!==t[a];i&&E&&("content"===(x=a.substr(2).toLowerCase()).substr(0,7)&&(x="content"+x.substr(7,1).toUpperCase()+x.substr(8)),t[a]&&(w[x]=t[a])),!i&&(t[a]!==n[a]||s&&t[a]!==e.getAttr(a))&&(y=!0,c[a]=t[a])}for(var x in y&&(e.setAttrs(c),b(e)),w)e.on(x+f,w[x])}function b(e){if(!c.So.autoDrawEnabled){var t=e.getLayer()||e.getStage();t&&t.batchDraw()}}var w=n(3840);const E={},x={};function _(e,t){"string"!=typeof t?(e.add(t),b(e)):console.error(`Do not use plain text as child of Konva.Node. You are using text: ${t}`)}function S(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 y(s,i),s}function C(e,t,n){console.error(`Text components are not supported for now in ReactKonva. Your text is: "${e}"`)}function O(e,t,n){return!1}function z(e){return e}function M(){return null}function T(){return null}function P(e,t,n,r){return x}function k(){}function A(e){}function L(e,t){return!1}function R(){return E}function N(){return E}a.Node.prototype._applyProps=y;const H=setTimeout,I=clearTimeout,V=-1;function D(e,t){return!1}const j=!1,F=!0,B=!0;function U(e,t){t.parent===e?t.moveToTop():e.add(t),b(e)}function G(e,t){t.parent===e?t.moveToTop():e.add(t),b(e)}function q(e,t,n){t._remove(),e.add(t),t.setZIndex(n.getZIndex()),b(e)}function W(e,t,n){q(e,t,n)}function K(e,t){t.destroy(),t.off(f),b(e)}function Y(e,t){t.destroy(),t.off(f),b(e)}function Z(e,t,n){console.error(`Text components are not yet supported in ReactKonva. You text is: "${n}"`)}function $(e,t,n){}function X(e,t,n,r,o){y(e,o,r)}function Q(e){e.hide(),b(e)}function J(e){}function ee(e,t){(null==t.visible||t.visible)&&e.show()}function te(e,t){}function ne(e){}function re(){}const oe=()=>s.DefaultEventPriority;var ae=Object.defineProperty,ie=Object.defineProperties,le=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,he=(e,t,n)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,de=(e,t)=>{for(var n in t||(t={}))ce.call(t,n)&&he(e,n,t[n]);if(se)for(var n of se(t))ue.call(t,n)&&he(e,n,t[n]);return e};function fe(e,t,n){if(!e)return;if(!0===n(e))return e;let r=t?e.return:e.child;for(;r;){const e=fe(r,t,n);if(e)return e;r=t?null:r.sibling}}function pe(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}const ve=pe(o.createContext(null));class me extends o.Component{render(){return o.createElement(ve.Provider,{value:this._reactInternals},this.props.children)}}const{ReactCurrentOwner:ge,ReactCurrentDispatcher:ye}=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function be(){const e=o.useContext(ve);if(null===e)throw new Error("its-fine: useFiber must be called within a <FiberProvider />!");const t=o.useId();return o.useMemo((()=>{var n;return null!=(n=null==ge?void 0:ge.current)?n:fe(e,!1,(e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}}))}),[e,t])}const we=e=>{const t=o.useRef(),n=o.useRef(),r=o.useRef(),i=function(e){const t=o.useRef();return o.useLayoutEffect((()=>{t.current=e})),t.current}(e),l=function(){const e=function(){var e,t;const n=be(),[r]=o.useState((()=>new Map));r.clear();let a=n;for(;a;){const n=null==(e=a.type)?void 0:e._context;n&&n!==ve&&!r.has(n)&&r.set(n,null==(t=null==ye?void 0:ye.current)?void 0:t.readContext(pe(n))),a=a.return}return r}();return o.useMemo((()=>Array.from(e.keys()).reduce(((t,n)=>r=>{return o.createElement(t,null,o.createElement(n.Provider,(a=de({},r),i={value:e.get(n)},ie(a,le(i)))));var a,i}),(e=>o.createElement(me,de({},e))))),[e])}(),c=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}),c(n.current),r.current=Ue.createContainer(n.current,s.LegacyRoot,!1,null),Ue.updateContainer(o.createElement(l,{},e.children),r.current),()=>{a.isBrowser&&(c(null),Ue.updateContainer(null,r.current,null),n.current.destroy())})),[]),o.useLayoutEffect((()=>{c(n.current),y(n.current,e,i),Ue.updateContainer(o.createElement(l,{},e.children),r.current,null)})),o.createElement("div",{ref:t,accessKey:e.accessKey,className:e.className,role:e.role,style:e.style,tabIndex:e.tabIndex,title:e.title})},Ee="Layer",xe="FastLayer",_e="Group",Se="Label",Ce="Rect",Oe="Circle",ze="Ellipse",Me="Wedge",Te="Line",Pe="Sprite",ke="Image",Ae="Text",Le="TextPath",Re="Star",Ne="Ring",He="Arc",Ie="Tag",Ve="Path",De="RegularPolygon",je="Arrow",Fe="Shape",Be="Transformer",Ue=l()(r);Ue.injectIntoDevTools({findHostInstanceByFiber:()=>null,bundleType:0,version:o.version,rendererPackageName:"react-konva"});const Ge=o.forwardRef(((e,t)=>o.createElement(me,{},o.createElement(we,{...e,forwardedRef:t})))),qe=function(e){p=e}},6511:(e,t)=>{"use strict";t.DefaultEventPriority=16,t.LegacyRoot=0},7287:(e,t,n)=>{e.exports=function(e){var t={},r=n(7294),o=n(3840),a=Object.assign;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 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"),h=Symbol.for("react.strict_mode"),d=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 E=Symbol.iterator;function x(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=E&&e[E]||e["@@iterator"])?e:null}function _(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 d:return"Profiler";case h: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:_(e.type)||"Memo";case b:t=e._payload,e=e._init;try{return _(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 _(t);case 8:return t===h?"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 C(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 O(e){if(C(e)!==e)throw Error(i(188))}function z(e){var t=e.alternate;if(!t){if(null===(t=C(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 O(o),e;if(a===r)return O(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}function M(e){return null!==(e=z(e))?T(e):null}function T(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=T(e);if(null!==t)return t;e=e.sibling}return null}function P(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){if(4!==e.tag){var t=P(e);if(null!==t)return t}e=e.sibling}return null}var k,A=Array.isArray,L=e.getPublicInstance,R=e.getRootHostContext,N=e.getChildHostContext,H=e.prepareForCommit,I=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,Y=e.supportsMutation,Z=e.supportsPersistence,$=e.supportsHydration,X=e.getInstanceFromNode,Q=e.preparePortalMount,J=e.getCurrentEventPriority,ee=e.detachDeletedInstance,te=e.supportsMicrotasks,ne=e.scheduleMicrotask,re=e.supportsTestSelectors,oe=e.findFiberRoot,ae=e.getBoundingRect,ie=e.getTextContent,le=e.isHiddenSubtree,se=e.matchAccessibilityRole,ce=e.setFocusIfFocusable,ue=e.setupIntersectionObserver,he=e.appendChild,de=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,Ee=e.hideInstance,xe=e.hideTextInstance,_e=e.unhideInstance,Se=e.unhideTextInstance,Ce=e.clearContainer,Oe=e.cloneInstance,ze=e.createContainerChildSet,Me=e.appendChildToContainerChildSet,Te=e.finalizeContainerChildren,Pe=e.replaceContainerChildren,ke=e.cloneHiddenInstance,Ae=e.cloneHiddenTextInstance,Le=e.canHydrateInstance,Re=e.canHydrateTextInstance,Ne=e.canHydrateSuspenseInstance,He=e.isSuspenseInstancePending,Ie=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,Ye=e.commitHydratedContainer,Ze=e.commitHydratedSuspenseInstance,$e=e.clearSuspenseBoundary,Xe=e.clearSuspenseBoundaryFromContainer,Qe=e.shouldDeleteUnhydratedTailInstances,Je=e.didNotMatchHydratedContainerTextInstance,et=e.didNotMatchHydratedTextInstance;function tt(e){if(void 0===k)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);k=t&&t[1]||""}return"\n"+k+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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{nt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tt(e):""}var ot=Object.prototype.hasOwnProperty,at=[],it=-1;function lt(e){return{current:e}}function st(e){0>it||(e.current=at[it],at[it]=null,it--)}function ct(e,t){it++,at[it]=e.current,e.current=t}var ut={},ht=lt(ut),dt=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,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function vt(e){return null!=e.childContextTypes}function mt(){st(dt),st(ht)}function gt(e,t,n){if(ht.current!==ut)throw Error(i(168));ct(ht,t),ct(dt,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(i(108,S(e)||"Unknown",o));return a({},n,r)}function bt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ut,ft=ht.current,ct(ht,e),ct(dt,dt.current),!0}function wt(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=yt(e,t,ft),r.__reactInternalMemoizedMergedChildContext=e,st(dt),st(ht),ct(ht,e)):st(dt),ct(dt,n)}var Et=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(xt(e)/_t|0)|0},xt=Math.log,_t=Math.LN2,St=64,Ct=4194304;function Ot(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 zt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=Ot(l):0!=(a&=i)&&(r=Ot(a))}else 0!=(i=n&~o)?r=Ot(i):0!==a&&(r=Ot(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))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-Et(t)),r|=e[n],t&=~o;return r}function Mt(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 Tt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Pt(){var e=St;return 0==(4194240&(St<<=1))&&(St=64),e}function kt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function At(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Et(t)]=n}function Lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Et(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Rt=0;function Nt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Ht=o.unstable_scheduleCallback,It=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},Yt=null,Zt=!1,$t=!1;function Xt(e){null===Yt?Yt=[e]:Yt.push(e)}function Qt(){if(!$t&&null!==Yt){$t=!0;var e=0,t=Rt;try{var n=Yt;for(Rt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Yt=null,Zt=!1}catch(t){throw null!==Yt&&(Yt=Yt.slice(e+1)),Ht(Ft,Qt),t}finally{Rt=t,$t=!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-Et(r)-1;r&=~(1<<o),n+=1;var a=32-Et(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,ln=1<<32-Et(t)+o|n<<o|r,sn=a+e}else ln=1<<a|n<<o|r,sn=e}function hn(e){null!==e.return&&(cn(e,1),un(e,1,0))}function dn(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=Le(t,e.type,e.pendingProps))&&(e.stateNode=t,fn=e,pn=Fe(t),!0);case 6:return null!==(t=Re(t,e.pendingProps))&&(e.stateNode=t,fn=e,pn=null,!0);case 13:if(null!==(t=Ne(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 En(e){if(vn){var t=pn;if(t){var n=t;if(!bn(e,t)){if(wn(e))throw Error(i(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(i(418));e.flags=-4097&e.flags|2,vn=!1,fn=e}}}function xn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;fn=e}function _n(e){if(!$||e!==fn)return!1;if(!vn)return xn(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(i(418));for(;t;)yn(e,t),t=je(t)}}if(xn(e),13===e.tag){if(!$)throw Error(i(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));pn=Ke(e)}else pn=fn?je(e.stateNode):null;return!0}function Sn(){for(var e=pn;e;)e=je(e)}function Cn(){$&&(pn=fn=null,mn=vn=!1)}function On(e){null===gn?gn=[e]:gn.push(e)}var zn=l.ReactCurrentBatchConfig;function Mn(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 Tn(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 Pn(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var kn=lt(null),An=null,Ln=null,Rn=null;function Nn(){Rn=Ln=An=null}function Hn(e,t,n){K?(ct(kn,t._currentValue),t._currentValue=n):(ct(kn,t._currentValue2),t._currentValue2=n)}function In(e){var t=kn.current;st(kn),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){An=e,Rn=Ln=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(No=!0),e.firstContext=null)}function jn(e){var t=K?e._currentValue:e._currentValue2;if(Rn!==e)if(e={context:e,memoizedValue:t,next:null},null===Ln){if(null===An)throw Error(i(308));Ln=e,An.dependencies={lanes:0,firstContext:e}}else Ln=Ln.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 Yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zn(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&ri)){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 $n(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,Lt(e,n)}}function Xn(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,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 i=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?i=u:l.next=u,l=c;var h=e.alternate;null!==h&&(s=(h=h.updateQueue).lastBaseUpdate)!==l&&(null===s?h.firstBaseUpdate=u:s.next=u,h.lastBaseUpdate=c)}if(null!==i){var d=o.baseState;for(l=0,h=u=c=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==h&&(h=h.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)){d=v.call(p,d,f);break e}d=v;break e;case 3:v.flags=-65537&v.flags|128;case 0:if(null==(f="function"==typeof(v=m.payload)?v.call(p,d,f):v))break e;d=a({},d,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===h?(u=h=p,c=d):h=h.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===h&&(c=d),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=h,null!==(t=o.shared.interleaved)){o=t;do{l|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);hi|=l,e.lanes=l,e.memoizedState=d}}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(i(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:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var nr={isMounted:function(e){return!!(e=e._reactInternals)&&C(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ki(),o=Ai(e),a=Yn(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Zn(e,a,o))&&(Li(t,e,o,r),$n(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ki(),o=Ai(e),a=Yn(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Zn(e,a,o))&&(Li(t,e,o,r),$n(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ki(),r=Ai(e),o=Yn(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Zn(e,o,r))&&(Li(t,e,r,n),$n(t,e,r))}};function rr(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&Mn(n,r)&&Mn(o,a))}function or(e,t,n){var r=!1,o=ut,a=t.contextType;return"object"==typeof a&&null!==a?a=jn(a):(o=vt(t)?ft:ht.current,a=(r=null!=(r=t.contextTypes))?pt(e,o):ut),t=new t(n,a),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=a),t}function ar(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 ir(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=er,Wn(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=jn(a):(a=vt(t)?ft:ht.current,o.context=pt(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(tr(e,t,a,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(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===er&&(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 sr(e,t){throw e=Object.prototype.toString.call(t),Error(i(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 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 h(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 d(e,t,n,r){var a=n.type;return a===u?p(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===b&&cr(a)===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,a){return null===t||7!==t.tag?((t=hl(n,e.mode,r,a)).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(A(t)||x(t))return(t=hl(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:h(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case s:return n.key===o?d(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(A(n)||x(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 h(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case s:return d(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(A(r)||x(r))return p(t,e=e.get(n)||null,r,o,null);sr(t,r)}return null}function y(o,i,l,s){for(var c=null,u=null,h=i,d=i=0,f=null;null!==h&&d<l.length;d++){h.index>d?(f=h,h=null):f=h.sibling;var p=m(o,h,l[d],s);if(null===p){null===h&&(h=f);break}e&&h&&null===p.alternate&&t(o,h),i=a(p,i,d),null===u?c=p:u.sibling=p,u=p,h=f}if(d===l.length)return n(o,h),vn&&cn(o,d),c;if(null===h){for(;d<l.length;d++)null!==(h=v(o,l[d],s))&&(i=a(h,i,d),null===u?c=h:u.sibling=h,u=h);return vn&&cn(o,d),c}for(h=r(o,h);d<l.length;d++)null!==(f=g(h,o,d,l[d],s))&&(e&&null!==f.alternate&&h.delete(null===f.key?d:f.key),i=a(f,i,d),null===u?c=f:u.sibling=f,u=f);return e&&h.forEach((function(e){return t(o,e)})),vn&&cn(o,d),c}function w(o,l,s,c){var u=x(s);if("function"!=typeof u)throw Error(i(150));if(null==(s=u.call(s)))throw Error(i(151));for(var h=u=null,d=l,f=l=0,p=null,y=s.next();null!==d&&!y.done;f++,y=s.next()){d.index>f?(p=d,d=null):p=d.sibling;var b=m(o,d,y.value,c);if(null===b){null===d&&(d=p);break}e&&d&&null===b.alternate&&t(o,d),l=a(b,l,f),null===h?u=b:h.sibling=b,h=b,d=p}if(y.done)return n(o,d),vn&&cn(o,f),u;if(null===d){for(;!y.done;f++,y=s.next())null!==(y=v(o,y.value,c))&&(l=a(y,l,f),null===h?u=y:h.sibling=y,h=y);return vn&&cn(o,f),u}for(d=r(o,d);!y.done;f++,y=s.next())null!==(y=g(d,o,f,y.value,c))&&(e&&null!==y.alternate&&d.delete(null===y.key?f:y.key),l=a(y,l,f),null===h?u=y:h.sibling=y,h=y);return e&&d.forEach((function(e){return t(o,e)})),vn&&cn(o,f),u}return function e(r,a,i,h){if("object"==typeof i&&null!==i&&i.type===u&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case s:e:{for(var d=i.key,f=a;null!==f;){if(f.key===d){if((d=i.type)===u){if(7===f.tag){n(r,f.sibling),(a=o(f,i.props.children)).return=r,r=a;break e}}else if(f.elementType===d||"object"==typeof d&&null!==d&&d.$$typeof===b&&cr(d)===f.type){n(r,f.sibling),(a=o(f,i.props)).ref=lr(r,f,i),a.return=r,r=a;break e}n(r,f);break}t(r,f),f=f.sibling}i.type===u?((a=hl(i.props.children,r.mode,h,i.key)).return=r,r=a):((h=ul(i.type,i.key,i.props,null,r.mode,h)).ref=lr(r,a,i),h.return=r,r=h)}return l(r);case c:e:{for(f=i.key;null!==a;){if(a.key===f){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=pl(i,r.mode,h)).return=r,r=a}return l(r);case b:return e(r,a,(f=i._init)(i._payload),h)}if(A(i))return y(r,a,i,h);if(x(i))return w(r,a,i,h);sr(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=fl(i,r.mode,h)).return=r,r=a),l(r)):n(r,a)}}var hr=ur(!0),dr=ur(!1),fr={},pr=lt(fr),vr=lt(fr),mr=lt(fr);function gr(e){if(e===fr)throw Error(i(174));return e}function yr(e,t){ct(mr,t),ct(vr,e),ct(pr,fr),e=R(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=N(n,e.type,t))&&(ct(vr,e),ct(pr,t))}function Er(e){vr.current===e&&(st(pr),st(vr))}var xr=lt(0);function _r(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||He(n)||Ie(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 Cr(){for(var e=0;e<Sr.length;e++){var t=Sr[e];K?t._workInProgressVersionPrimary=null:t._workInProgressVersionSecondary=null}Sr.length=0}var Or=l.ReactCurrentDispatcher,zr=l.ReactCurrentBatchConfig,Mr=0,Tr=null,Pr=null,kr=null,Ar=!1,Lr=!1,Rr=0,Nr=0;function Hr(){throw Error(i(321))}function Ir(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,a){if(Mr=a,Tr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Or.current=null===e||null===e.memoizedState?xo:_o,e=n(r,o),Lr){a=0;do{if(Lr=!1,Rr=0,25<=a)throw Error(i(301));a+=1,kr=Pr=null,t.updateQueue=null,Or.current=So,e=n(r,o)}while(Lr)}if(Or.current=Eo,t=null!==Pr&&null!==Pr.next,Mr=0,kr=Pr=Tr=null,Ar=!1,t)throw Error(i(300));return e}function Dr(){var e=0!==Rr;return Rr=0,e}function jr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===kr?Tr.memoizedState=kr=e:kr=kr.next=e,kr}function Fr(){if(null===Pr){var e=Tr.alternate;e=null!==e?e.memoizedState:null}else e=Pr.next;var t=null===kr?Tr.memoizedState:kr.next;if(null!==t)kr=t,Pr=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Pr=e).memoizedState,baseState:Pr.baseState,baseQueue:Pr.baseQueue,queue:Pr.queue,next:null},null===kr?Tr.memoizedState=kr=e:kr=kr.next=e}return kr}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(i(311));n.lastRenderedReducer=e;var r=Pr,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 h=u.lane;if((Mr&h)===h)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 d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=d,l=r):c=c.next=d,Tr.lanes|=h,hi|=h}u=u.next}while(null!==u&&u!==a);null===c?l=r:c.next=s,Kt(r,t.memoizedState)||(No=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,Tr.lanes|=a,hi|=a,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(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);Kt(a,t.memoizedState)||(No=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function qr(){}function Wr(e,t){var n=Tr,r=Fr(),o=t(),a=!Kt(r.memoizedState,o);if(a&&(r.memoizedState=o,No=!0),r=r.queue,oo(Zr.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==kr&&1&kr.memoizedState.tag){if(n.flags|=2048,Jr(9,Yr.bind(null,n,r,o,t),void 0,null),null===oi)throw Error(i(349));0!=(30&Mr)||Kr(n,t,o)}return o}function Kr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Tr.updateQueue)?(t={lastEffect:null,stores:null},Tr.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Yr(e,t,n,r){t.value=n,t.getSnapshot=r,$r(t)&&Xr(e)}function Zr(e,t,n){return n((function(){$r(t)&&Xr(e)}))}function $r(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kt(e,n)}catch(e){return!0}}function Xr(e){var t=Gn(e,1);null!==t&&Li(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,Tr,e),[t.memoizedState,e]}function Jr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Tr.updateQueue)?(t={lastEffect:null,stores:null},Tr.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();Tr.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 a=void 0;if(null!==Pr){var i=Pr.memoizedState;if(a=i.destroy,null!==r&&Ir(r,i.deps))return void(o.memoizedState=Jr(t,n,a,r))}Tr.flags|=e,o.memoizedState=Jr(1|t,n,a,r)}function ro(e,t){return to(8390656,8,e,t)}function oo(e,t){return no(2048,8,e,t)}function ao(e,t){return no(4,2,e,t)}function io(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&&Ir(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&&Ir(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fo(e,t,n){return 0==(21&Mr)?(e.baseState&&(e.baseState=!1,No=!0),e.memoizedState=n):(Kt(n,t)||(n=Pt(),Tr.lanes|=n,hi|=n,e.baseState=!0),t)}function po(e,t){var n=Rt;Rt=0!==n&&4>n?n:4,e(!0);var r=zr.transition;zr.transition={};try{e(!1),t()}finally{Rt=n,zr.transition=r}}function vo(){return Fr().memoizedState}function mo(e,t,n){var r=Ai(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yo(e)?bo(t,n):null!==(n=Un(e,t,n,r))&&(Li(n,e,r,ki()),wo(n,t,r))}function go(e,t,n){var r=Ai(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yo(e))bo(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Kt(l,i)){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))&&(Li(n,e,r,o=ki()),wo(n,t,r))}}function yo(e){var t=e.alternate;return e===Tr||null!==t&&t===Tr}function bo(e,t){Lr=Ar=!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,Lt(e,n)}}var Eo={readContext:jn,useCallback:Hr,useContext:Hr,useEffect:Hr,useImperativeHandle:Hr,useInsertionEffect:Hr,useLayoutEffect:Hr,useMemo:Hr,useReducer:Hr,useRef:Hr,useState:Hr,useDebugValue:Hr,useDeferredValue:Hr,useTransition:Hr,useMutableSource:Hr,useSyncExternalStore:Hr,useId:Hr,unstable_isNewReconciler:!1},xo={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,Tr,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=Tr,o=jr();if(vn){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===oi)throw Error(i(349));0!=(30&Mr)||Kr(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,ro(Zr.bind(null,r,a,e),[e]),r.flags|=2048,Jr(9,Yr.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=jr(),t=oi.identifierPrefix;if(vn){var n=sn;t=":"+t+"R"+(n=(ln&~(1<<32-Et(ln)-1)).toString(32)+n),0<(n=Rr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Nr++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_o={readContext:jn,useCallback:uo,useContext:jn,useEffect:oo,useImperativeHandle:so,useInsertionEffect:ao,useLayoutEffect:io,useMemo:ho,useReducer:Ur,useRef:eo,useState:function(){return Ur(Br)},useDebugValue:co,useDeferredValue:function(e){return fo(Fr(),Pr.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:ao,useLayoutEffect:io,useMemo:ho,useReducer:Gr,useRef:eo,useState:function(){return Gr(Br)},useDebugValue:co,useDeferredValue:function(e){var t=Fr();return null===Pr?t.memoizedState=e:fo(t,Pr.memoizedState,e)},useTransition:function(){return[Gr(Br)[0],Fr().memoizedState]},useMutableSource:qr,useSyncExternalStore:Wr,useId:vo,unstable_isNewReconciler:!1};function Co(e,t){try{var n="",r=t;do{n+=Tn(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 Oo(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function zo(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Mo="function"==typeof WeakMap?WeakMap:Map;function To(e,t,n){(n=Yn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ei||(Ei=!0,xi=r),zo(0,t)},n}function Po(e,t,n){(n=Yn(-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(){zo(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){zo(0,t),"function"!=typeof r&&(null===_i?_i=new Set([this]):_i.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ko(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Mo;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 Ao(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 Lo(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=Yn(-1,1)).tag=2,Zn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Ro=l.ReactCurrentOwner,No=!1;function Ho(e,t,n,r){t.child=null===e?dr(t,null,n,r):hr(t,e.child,n,r)}function Io(e,t,n,r,o){n=n.render;var a=t.ref;return Dn(t,o),r=Vr(e,t,n,r,a,o),n=Dr(),null===e||No?(vn&&n&&hn(t),t.flags|=1,Ho(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ia(e,t,o))}function Vo(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||sl(a)||void 0!==a.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=a,Do(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Mn)(i,r)&&e.ref===t.ref)return ia(e,t,o)}return t.flags|=1,(e=cl(a,r)).ref=t.ref,e.return=t,t.child=e}function Do(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Mn(a,r)&&e.ref===t.ref){if(No=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,ia(e,t,o);0!=(131072&e.flags)&&(No=!0)}}return Bo(e,t,n,r,o)}function jo(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ct(si,li),li|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ct(si,li),li|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,ct(si,li),li|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ct(si,li),li|=r;return Ho(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 a=vt(n)?ft:ht.current;return a=pt(t,a),Dn(t,o),n=Vr(e,t,n,r,a,o),r=Dr(),null===e||No?(vn&&r&&hn(t),t.flags|=1,Ho(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ia(e,t,o))}function Uo(e,t,n,r,o){if(vt(n)){var a=!0;bt(t)}else a=!1;if(Dn(t,o),null===t.stateNode)aa(e,t),or(t,n,r),ir(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;c="object"==typeof c&&null!==c?jn(c):pt(t,c=vt(n)?ft:ht.current);var u=n.getDerivedStateFromProps,h="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;h||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&ar(t,i,r,c),qn=!1;var d=t.memoizedState;i.state=d,Qn(t,r,i,o),s=t.memoizedState,l!==r||d!==s||dt.current||qn?("function"==typeof u&&(tr(t,n,u,r),s=t.memoizedState),(l=qn||rr(t,n,l,r,d,s,c))?(h||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Kn(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Pn(t.type,l),i.props=c,h=t.pendingProps,d=i.context,s="object"==typeof(s=n.contextType)&&null!==s?jn(s):pt(t,s=vt(n)?ft:ht.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==h||d!==s)&&ar(t,i,r,s),qn=!1,d=t.memoizedState,i.state=d,Qn(t,r,i,o);var p=t.memoizedState;l!==h||d!==p||dt.current||qn?("function"==typeof f&&(tr(t,n,f,r),p=t.memoizedState),(c=qn||rr(t,n,c,r,d,p,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Go(e,t,n,r,a,o)}function Go(e,t,n,r,o,a){Fo(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&wt(t,n,!1),ia(e,t,a);r=t.stateNode,Ro.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=hr(t,e.child,null,a),t.child=hr(t,null,l,a)):Ho(e,t,l,a),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&&gt(0,t.context,!1),yr(e,t.containerInfo)}function Wo(e,t,n,r,o){return Cn(),On(o),t.flags|=256,Ho(e,t,n,r),t.child}var Ko,Yo,Zo,$o,Xo={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,a=xr.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),ct(xr,1&a),null===e)return En(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:Ie(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=dl(s,o,0,null),e=hl(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Qo(n),t.memoizedState=Xo,e):ea(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,ta(e,t,l,r=Oo(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=dl({mode:"visible",children:r.children},o,0,null),(a=hl(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&hr(t,e.child,null,l),t.child.memoizedState=Qo(l),t.memoizedState=Xo,a);if(0==(1&t.mode))return ta(e,t,l,null);if(Ie(o))return r=Ve(o).digest,ta(e,t,l,r=Oo(a=Error(i(419)),r,void 0));if(n=0!=(l&e.childLanes),No||n){if(null!==(r=oi)){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,Gn(e,o),Li(r,e,o,-1))}return qi(),ta(e,t,l,r=Oo(Error(i(421))))}return He(o)?(t.flags|=128,t.child=e.child,t=rl.bind(null,e),De(o,t),null):(e=a.treeContext,$&&(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=ea(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=cl(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=cl(r,l):(l=hl(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=Xo,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 ea(e,t){return(t=dl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function ta(e,t,n,r){return null!==r&&On(r),hr(t,e.child,null,n),(e=ea(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function na(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Vn(e.return,t,n)}function ra(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function oa(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ho(e,t,r.children,n),0!=(2&(r=xr.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&&na(e,n,t);else if(19===e.tag)na(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(xr,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===_r(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ra(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===_r(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ra(t,!0,n,null,a);break;case"together":ra(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function aa(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ia(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),hi|=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=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 la(e){e.flags|=4}function sa(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(Y)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}},Yo=function(){},Zo=function(e,t,n,r,o){if((e=e.memoizedProps)!==r){var a=t.stateNode,i=gr(pr.current);n=F(a,n,e,r,o,i),(t.updateQueue=n)&&la(t)}},$o=function(e,t,n,r){n!==r&&la(t)};else if(Z){Ko=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var a=o.stateNode;n&&r&&(a=ke(a,o.type,o.memoizedProps,o)),D(e,a)}else if(6===o.tag)a=o.stateNode,n&&r&&(a=Ae(a,o.memoizedProps,o)),D(e,a);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(a=o.child)&&(a.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 ca=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag){var a=o.stateNode;n&&r&&(a=ke(a,o.type,o.memoizedProps,o)),Me(e,a)}else if(6===o.tag)a=o.stateNode,n&&r&&(a=Ae(a,o.memoizedProps,o)),Me(e,a);else if(4!==o.tag)if(22===o.tag&&null!==o.memoizedState)null!==(a=o.child)&&(a.return=o),ca(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}};Yo=function(e,t){var n=t.stateNode;if(!sa(e,t)){e=n.containerInfo;var r=ze(e);ca(r,t,!1,!1),n.pendingChildren=r,la(t),Te(e,r)}},Zo=function(e,t,n,r,o){var a=e.stateNode,i=e.memoizedProps;if((e=sa(e,t))&&i===r)t.stateNode=a;else{var l=t.stateNode,s=gr(pr.current),c=null;i!==r&&(c=F(l,n,i,r,o,s)),e&&null===c?t.stateNode=a:(a=Oe(a,c,n,i,r,t,e,l),j(a,n,r,o,s)&&la(t),t.stateNode=a,e?la(t):Ko(a,t,!1,!1))}},$o=function(e,t,n,r){n!==r?(e=gr(mr.current),n=gr(pr.current),t.stateNode=U(r,e,n,t),la(t)):t.stateNode=e.stateNode}}else Yo=function(){},Zo=function(){},$o=function(){};function ua(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 ha(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 da(e,t,n){var r=t.pendingProps;switch(dn(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ha(t),null;case 1:case 17:return vt(t.type)&&mt(),ha(t),null;case 3:return n=t.stateNode,br(),st(dt),st(ht),Cr(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(_n(t)?la(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==gn&&(Ii(gn),gn=null))),Yo(e,t),ha(t),null;case 5:Er(t),n=gr(mr.current);var o=t.type;if(null!==e&&null!=t.stateNode)Zo(e,t,o,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return ha(t),null}if(e=gr(pr.current),_n(t)){if(!$)throw Error(i(175));e=Ge(t.stateNode,t.type,t.memoizedProps,n,e,t,!mn),t.updateQueue=e,null!==e&&la(t)}else{var a=V(o,r,n,e,t);Ko(a,t,!1,!1),t.stateNode=a,j(a,o,r,n,e)&&la(t)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ha(t),null;case 6:if(e&&null!=t.stateNode)$o(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=gr(mr.current),n=gr(pr.current),_n(t)){if(!$)throw Error(i(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&&la(t)}else t.stateNode=U(r,e,n,t)}return ha(t),null;case 13:if(st(xr),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(),Cn(),t.flags|=98560,o=!1;else if(o=_n(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!$)throw Error(i(344));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));We(o,t)}else Cn(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ha(t),o=!1}else null!==gn&&(Ii(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&xr.current)?0===ci&&(ci=3):qi())),null!==t.updateQueue&&(t.flags|=4),ha(t),null);case 4:return br(),Yo(e,t),null===e&&Q(t.stateNode.containerInfo),ha(t),null;case 10:return In(t.type._context),ha(t),null;case 19:if(st(xr),null===(o=t.memoizedState))return ha(t),null;if(r=0!=(128&t.flags),null===(a=o.rendering))if(r)ua(o,!1);else{if(0!==ci||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=_r(e))){for(t.flags|=128,ua(o,!1),null!==(e=a.updateQueue)&&(t.updateQueue=e,t.flags|=4),t.subtreeFlags=0,e=n,n=t.child;null!==n;)o=e,(r=n).flags&=14680066,null===(a=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=a.childLanes,r.lanes=a.lanes,r.child=a.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=a.memoizedProps,r.memoizedState=a.memoizedState,r.updateQueue=a.updateQueue,r.type=a.type,o=a.dependencies,r.dependencies=null===o?null:{lanes:o.lanes,firstContext:o.firstContext}),n=n.sibling;return ct(xr,1&xr.current|2),t.child}e=e.sibling}null!==o.tail&&jt()>gi&&(t.flags|=128,r=!0,ua(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=_r(a))){if(t.flags|=128,r=!0,null!==(e=e.updateQueue)&&(t.updateQueue=e,t.flags|=4),ua(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!vn)return ha(t),null}else 2*jt()-o.renderingStartTime>gi&&1073741824!==n&&(t.flags|=128,r=!0,ua(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=o.last)?e.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=jt(),t.sibling=null,e=xr.current,ct(xr,r?1&e|2:1&e),t):(ha(t),null);case 22:case 23:return Fi(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&li)&&(ha(t),Y&&6&t.subtreeFlags&&(t.flags|=8192)):ha(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function fa(e,t){switch(dn(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(dt),st(ht),Cr(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Er(t),null;case 13:if(st(xr),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));Cn()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return st(xr),null;case 4:return br(),null;case 10:return In(t.type._context),null;case 22:case 23:return Fi(),null;default:return null}}var pa=!1,va=!1,ma="function"==typeof WeakSet?WeakSet:Set,ga=null;function ya(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 ba(e,t,n){try{n()}catch(n){el(e,t,n)}}var wa=!1;function Ea(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 a=o.destroy;o.destroy=void 0,void 0!==a&&ba(t,n,a)}o=o.next}while(o!==r)}}function xa(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 _a(e){var t=e.ref;if(null!==t){var n=e.stateNode;e=5===e.tag?L(n):n,"function"==typeof t?t(e):t.current=e}}function Sa(e){var t=e.alternate;null!==t&&(e.alternate=null,Sa(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 Ca(e){return 5===e.tag||3===e.tag||4===e.tag}function Oa(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ca(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 za(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?ge(n,e,t):de(n,e);else if(4!==r&&null!==(e=e.child))for(za(e,t,n),e=e.sibling;null!==e;)za(e,t,n),e=e.sibling}function Ma(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?me(n,e,t):he(n,e);else if(4!==r&&null!==(e=e.child))for(Ma(e,t,n),e=e.sibling;null!==e;)Ma(e,t,n),e=e.sibling}var Ta=null,Pa=!1;function ka(e,t,n){for(n=n.child;null!==n;)Aa(e,t,n),n=n.sibling}function Aa(e,t,n){if(Wt&&"function"==typeof Wt.onCommitFiberUnmount)try{Wt.onCommitFiberUnmount(qt,n)}catch(e){}switch(n.tag){case 5:va||ya(n,t);case 6:if(Y){var r=Ta,o=Pa;Ta=null,ka(e,t,n),Pa=o,null!==(Ta=r)&&(Pa?be(Ta,n.stateNode):ye(Ta,n.stateNode))}else ka(e,t,n);break;case 18:Y&&null!==Ta&&(Pa?Xe(Ta,n.stateNode):$e(Ta,n.stateNode));break;case 4:Y?(r=Ta,o=Pa,Ta=n.stateNode.containerInfo,Pa=!0,ka(e,t,n),Ta=r,Pa=o):(Z&&(r=n.stateNode.containerInfo,o=ze(r),Pe(r,o)),ka(e,t,n));break;case 0:case 11:case 14:case 15:if(!va&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&ba(n,t,i),o=o.next}while(o!==r)}ka(e,t,n);break;case 1:if(!va&&(ya(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)}ka(e,t,n);break;case 21:ka(e,t,n);break;case 22:1&n.mode?(va=(r=va)||null!==n.memoizedState,ka(e,t,n),va=r):ka(e,t,n);break;default:ka(e,t,n)}}function La(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ma),t.forEach((function(t){var r=ol.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ra(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;if(Y){var s=l;e:for(;null!==s;){switch(s.tag){case 5:Ta=s.stateNode,Pa=!1;break e;case 3:case 4:Ta=s.stateNode.containerInfo,Pa=!0;break e}s=s.return}if(null===Ta)throw Error(i(160));Aa(a,l,o),Ta=null,Pa=!1}else Aa(a,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;)Na(t,e),t=t.sibling}function Na(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ra(t,e),Ha(e),4&r){try{Ea(3,e,e.return),xa(3,e)}catch(t){el(e,e.return,t)}try{Ea(5,e,e.return)}catch(t){el(e,e.return,t)}}break;case 1:Ra(t,e),Ha(e),512&r&&null!==n&&ya(n,n.return);break;case 5:if(Ra(t,e),Ha(e),512&r&&null!==n&&ya(n,n.return),Y){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 a=e.memoizedProps;if(n=null!==n?n.memoizedProps:a,r=e.type,t=e.updateQueue,e.updateQueue=null,null!==t)try{ve(o,t,r,n,a,e)}catch(t){el(e,e.return,t)}}}break;case 6:if(Ra(t,e),Ha(e),4&r&&Y){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps,n=null!==n?n.memoizedProps:a;try{fe(o,n,a)}catch(t){el(e,e.return,t)}}break;case 3:if(Ra(t,e),Ha(e),4&r){if(Y&&$&&null!==n&&n.memoizedState.isDehydrated)try{Ye(t.containerInfo)}catch(t){el(e,e.return,t)}if(Z){o=t.containerInfo,a=t.pendingChildren;try{Pe(o,a)}catch(t){el(e,e.return,t)}}}break;case 4:if(Ra(t,e),Ha(e),4&r&&Z){o=(a=e.stateNode).containerInfo,a=a.pendingChildren;try{Pe(o,a)}catch(t){el(e,e.return,t)}}break;case 13:Ra(t,e),Ha(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(mi=jt())),4&r&&La(e);break;case 22:var l=null!==n&&null!==n.memoizedState;if(1&e.mode?(va=(n=va)||l,Ra(t,e),va=n):Ra(t,e),Ha(e),8192&r){if(n=null!==e.memoizedState,(e.stateNode.isHidden=n)&&!l&&0!=(1&e.mode))for(ga=e,r=e.child;null!==r;){for(t=ga=r;null!==ga;){var s=(l=ga).child;switch(l.tag){case 0:case 11:case 14:case 15:Ea(4,l,l.return);break;case 1:ya(l,l.return);var c=l.stateNode;if("function"==typeof c.componentWillUnmount){var u=l,h=l.return;try{var d=u;c.props=d.memoizedProps,c.state=d.memoizedState,c.componentWillUnmount()}catch(e){el(u,h,e)}}break;case 5:ya(l,l.return);break;case 22:if(null!==l.memoizedState){ja(t);continue}}null!==s?(s.return=l,ga=s):ja(t)}r=r.sibling}if(Y)e:if(r=null,Y)for(t=e;;){if(5===t.tag){if(null===r){r=t;try{o=t.stateNode,n?Ee(o):_e(t.stateNode,t.memoizedProps)}catch(t){el(e,e.return,t)}}}else if(6===t.tag){if(null===r)try{a=t.stateNode,n?xe(a):Se(a,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:Ra(t,e),Ha(e),4&r&&La(e);break;case 21:break;default:Ra(t,e),Ha(e)}}function Ha(e){var t=e.flags;if(2&t){try{if(Y){e:{for(var n=e.return;null!==n;){if(Ca(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&&(we(o),r.flags&=-33),Ma(e,Oa(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;za(e,Oa(e),a);break;default:throw Error(i(161))}}}catch(t){el(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ia(e,t,n){ga=e,Va(e,t,n)}function Va(e,t,n){for(var r=0!=(1&e.mode);null!==ga;){var o=ga,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||pa;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||va;l=pa;var c=va;if(pa=i,(va=s)&&!c)for(ga=o;null!==ga;)s=(i=ga).child,22===i.tag&&null!==i.memoizedState?Fa(o):null!==s?(s.return=i,ga=s):Fa(o);for(;null!==a;)ga=a,Va(a,t,n),a=a.sibling;ga=o,pa=l,va=c}Da(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,ga=a):Da(e)}}function Da(e){for(;null!==ga;){var t=ga;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:va||xa(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!va)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Pn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Jn(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:n=L(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($&&null===t.memoizedState){var c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var h=u.dehydrated;null!==h&&Ze(h)}}}break;default:throw Error(i(163))}va||512&t.flags&&_a(t)}catch(e){el(t,t.return,e)}}if(t===e){ga=null;break}if(null!==(n=t.sibling)){n.return=t.return,ga=n;break}ga=t.return}}function ja(e){for(;null!==ga;){var t=ga;if(t===e){ga=null;break}var n=t.sibling;if(null!==n){n.return=t.return,ga=n;break}ga=t.return}}function Fa(e){for(;null!==ga;){var t=ga;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xa(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 a=t.return;try{_a(t)}catch(e){el(t,a,e)}break;case 5:var i=t.return;try{_a(t)}catch(e){el(t,i,e)}}}catch(e){el(t,t.return,e)}if(t===e){ga=null;break}var l=t.sibling;if(null!==l){l.return=t.return,ga=l;break}ga=t.return}}var Ba=0,Ua=1,Ga=2,qa=3,Wa=4;if("function"==typeof Symbol&&Symbol.for){var Ka=Symbol.for;Ba=Ka("selector.component"),Ua=Ka("selector.has_pseudo_class"),Ga=Ka("selector.role"),qa=Ka("selector.test_id"),Wa=Ka("selector.text")}function Ya(e){var t=X(e);if(null!=t){if("string"!=typeof t.memoizedProps["data-testname"])throw Error(i(364));return t}if(null===(e=oe(e)))throw Error(i(362));return e.stateNode.current}function Za(e,t){switch(t.$$typeof){case Ba:if(e.type===t.value)return!0;break;case Ua:e:{t=t.value,e=[e,0];for(var n=0;n<e.length;){var r=e[n++],o=e[n++],a=t[o];if(5!==r.tag||!le(r)){for(;null!=a&&Za(r,a);)a=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 Ga:if(5===e.tag&&se(e.stateNode,t.value))return!0;break;case Wa:if((5===e.tag||6===e.tag)&&null!==(e=ie(e))&&0<=e.indexOf(t.value))return!0;break;case qa:if(5===e.tag&&"string"==typeof(e=e.memoizedProps["data-testname"])&&e.toLowerCase()===t.value.toLowerCase())return!0;break;default:throw Error(i(365))}return!1}function $a(e){switch(e.$$typeof){case Ba:return"<"+(_(e.value)||"Unknown")+">";case Ua:return":has("+($a(e)||"")+")";case Ga:return'[role="'+e.value+'"]';case Wa:return'"'+e.value+'"';case qa:return'[data-testname="'+e.value+'"]';default:throw Error(i(365))}}function Xa(e,t){var n=[];e=[e,0];for(var r=0;r<e.length;){var o=e[r++],a=e[r++],i=t[a];if(5!==o.tag||!le(o)){for(;null!=i&&Za(o,i);)i=t[++a];if(a===t.length)n.push(o);else for(o=o.child;null!==o;)e.push(o,a),o=o.sibling}}return n}function Qa(e,t){if(!re)throw Error(i(363));e=Xa(e=Ya(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 Ja=Math.ceil,ei=l.ReactCurrentDispatcher,ti=l.ReactCurrentOwner,ni=l.ReactCurrentBatchConfig,ri=0,oi=null,ai=null,ii=0,li=0,si=lt(0),ci=0,ui=null,hi=0,di=0,fi=0,pi=null,vi=null,mi=0,gi=1/0,yi=null;function bi(){gi=jt()+500}var wi,Ei=!1,xi=null,_i=null,Si=!1,Ci=null,Oi=0,zi=0,Mi=null,Ti=-1,Pi=0;function ki(){return 0!=(6&ri)?jt():-1!==Ti?Ti:Ti=jt()}function Ai(e){return 0==(1&e.mode)?1:0!=(2&ri)&&0!==ii?ii&-ii:null!==zn.transition?(0===Pi&&(Pi=Pt()),Pi):0!==(e=Rt)?e:J()}function Li(e,t,n,r){if(50<zi)throw zi=0,Mi=null,Error(i(185));At(e,n,r),0!=(2&ri)&&e===oi||(e===oi&&(0==(2&ri)&&(di|=n),4===ci&&Vi(e,ii)),Ri(e,r),1===n&&0===ri&&0==(1&t.mode)&&(bi(),Zt&&Qt()))}function Ri(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Et(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=Mt(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=zt(e,e===oi?ii:0);if(0===r)null!==n&&It(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&It(n),1===t)0===e.tag?function(e){Zt=!0,Xt(e)}(Di.bind(null,e)):Xt(Di.bind(null,e)),te?ne((function(){0==(6&ri)&&Qt()})):Ht(Ft,Qt),n=null;else{switch(Nt(r)){case 1:n=Ft;break;case 4:n=Bt;break;case 16:default:n=Ut;break;case 536870912:n=Gt}n=al(n,Ni.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ni(e,t){if(Ti=-1,Pi=0,0!=(6&ri))throw Error(i(327));var n=e.callbackNode;if(Qi()&&e.callbackNode!==n)return null;var r=zt(e,e===oi?ii:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Wi(e,r);else{t=r;var o=ri;ri|=2;var a=Gi();for(oi===e&&ii===t||(yi=null,bi(),Bi(e,t));;)try{Yi();break}catch(t){Ui(e,t)}Nn(),ei.current=a,ri=o,null!==ai?t=0:(oi=null,ii=0,t=ci)}if(0!==t){if(2===t&&0!==(o=Tt(e))&&(r=o,t=Hi(e,o)),1===t)throw n=ui,Bi(e,0),Vi(e,r),Ri(e,jt()),n;if(6===t)Vi(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],a=o.getSnapshot;o=o.value;try{if(!Kt(a(),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=Wi(e,r))&&0!==(a=Tt(e))&&(r=a,t=Hi(e,a)),1===t))throw n=ui,Bi(e,0),Vi(e,r),Ri(e,jt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Xi(e,vi,yi);break;case 3:if(Vi(e,r),(130023424&r)===r&&10<(t=mi+500-jt())){if(0!==zt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ki(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=G(Xi.bind(null,e,vi,yi),t);break}Xi(e,vi,yi);break;case 4:if(Vi(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Et(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}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*Ja(r/1960))-r)){e.timeoutHandle=G(Xi.bind(null,e,vi,yi),r);break}Xi(e,vi,yi);break;default:throw Error(i(329))}}}return Ri(e,jt()),e.callbackNode===n?Ni.bind(null,e):null}function Hi(e,t){var n=pi;return e.current.memoizedState.isDehydrated&&(Bi(e,t).flags|=256),2!==(e=Wi(e,t))&&(t=vi,vi=n,null!==t&&Ii(t)),e}function Ii(e){null===vi?vi=e:vi.push.apply(vi,e)}function Vi(e,t){for(t&=~fi,t&=~di,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Et(t),r=1<<n;e[n]=-1,t&=~r}}function Di(e){if(0!=(6&ri))throw Error(i(327));Qi();var t=zt(e,0);if(0==(1&t))return Ri(e,jt()),null;var n=Wi(e,t);if(0!==e.tag&&2===n){var r=Tt(e);0!==r&&(t=r,n=Hi(e,r))}if(1===n)throw n=ui,Bi(e,0),Vi(e,t),Ri(e,jt()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xi(e,vi,yi),Ri(e,jt()),null}function ji(e){null!==Ci&&0===Ci.tag&&0==(6&ri)&&Qi();var t=ri;ri|=1;var n=ni.transition,r=Rt;try{if(ni.transition=null,Rt=1,e)return e()}finally{Rt=r,ni.transition=n,0==(6&(ri=t))&&Qt()}}function Fi(){li=si.current,st(si)}function Bi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==W&&(e.timeoutHandle=W,q(n)),null!==ai)for(n=ai.return;null!==n;){var r=n;switch(dn(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&mt();break;case 3:br(),st(dt),st(ht),Cr();break;case 5:Er(r);break;case 4:br();break;case 13:case 19:st(xr);break;case 10:In(r.type._context);break;case 22:case 23:Fi()}n=n.return}if(oi=e,ai=e=cl(e.current,null),ii=li=t,ci=0,ui=null,fi=di=hi=0,vi=pi=null,null!==Fn){for(t=0;t<Fn.length;t++)if(null!==(r=(n=Fn[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Fn=null}return e}function Ui(e,t){for(;;){var n=ai;try{if(Nn(),Or.current=Eo,Ar){for(var r=Tr.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Ar=!1}if(Mr=0,kr=Pr=Tr=null,Lr=!1,Rr=0,ti.current=null,null===n||null===n.return){ci=1,ui=t,ai=null;break}e:{var a=e,l=n.return,s=n,c=t;if(t=ii,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,h=s,d=h.tag;if(0==(1&h.mode)&&(0===d||11===d||15===d)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var p=Ao(l);if(null!==p){p.flags&=-257,Lo(p,l,s,0,t),1&p.mode&&ko(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)){ko(a,u,t),qi();break e}c=Error(i(426))}else if(vn&&1&s.mode){var g=Ao(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),Lo(g,l,s,0,t),On(Co(c,s));break e}}a=c=Co(c,s),4!==ci&&(ci=2),null===pi?pi=[a]:pi.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Xn(a,To(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===_i||!_i.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Xn(a,Po(a,s,t));break e}}a=a.return}while(null!==a)}$i(n)}catch(e){t=e,ai===n&&null!==n&&(ai=n=n.return);continue}break}}function Gi(){var e=ei.current;return ei.current=Eo,null===e?Eo:e}function qi(){0!==ci&&3!==ci&&2!==ci||(ci=4),null===oi||0==(268435455&hi)&&0==(268435455&di)||Vi(oi,ii)}function Wi(e,t){var n=ri;ri|=2;var r=Gi();for(oi===e&&ii===t||(yi=null,Bi(e,t));;)try{Ki();break}catch(t){Ui(e,t)}if(Nn(),ri=n,ei.current=r,null!==ai)throw Error(i(261));return oi=null,ii=0,ci}function Ki(){for(;null!==ai;)Zi(ai)}function Yi(){for(;null!==ai&&!Vt();)Zi(ai)}function Zi(e){var t=wi(e.alternate,e,li);e.memoizedProps=e.pendingProps,null===t?$i(e):ai=t,ti.current=null}function $i(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=da(n,t,li)))return void(ai=n)}else{if(null!==(n=fa(n,t)))return n.flags&=32767,void(ai=n);if(null===e)return ci=6,void(ai=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(ai=t);ai=t=e}while(null!==t);0===ci&&(ci=5)}function Xi(e,t,n){var r=Rt,o=ni.transition;try{ni.transition=null,Rt=1,function(e,t,n,r){do{Qi()}while(null!==Ci);if(0!=(6&ri))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-Et(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===oi&&(ai=oi=null,ii=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Si||(Si=!0,al(Ut,(function(){return Qi(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=ni.transition,ni.transition=null;var l=Rt;Rt=1;var s=ri;ri|=4,ti.current=null,function(e,t){for(H(e.containerInfo),ga=t;null!==ga;)if(t=(e=ga).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,ga=t;else for(;null!==ga;){e=ga;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,a=e.stateNode,l=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:Pn(e.type,r),o);a.__reactInternalSnapshotBeforeUpdate=l}break;case 3:Y&&Ce(e.stateNode.containerInfo);break;default:throw Error(i(163))}}catch(t){el(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,ga=t;break}ga=e.return}n=wa,wa=!1}(e,n),Na(n,e),I(e.containerInfo),e.current=n,Ia(n,e,o),Dt(),ri=s,Rt=l,ni.transition=a}else e.current=n;if(Si&&(Si=!1,Ci=e,Oi=o),0===(a=e.pendingLanes)&&(_i=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),Ri(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(Ei)throw Ei=!1,e=xi,xi=null,e;0!=(1&Oi)&&0!==e.tag&&Qi(),0!=(1&(a=e.pendingLanes))?e===Mi?zi++:(zi=0,Mi=e):zi=0,Qt()}(e,t,n,r)}finally{ni.transition=o,Rt=r}return null}function Qi(){if(null!==Ci){var e=Nt(Oi),t=ni.transition,n=Rt;try{if(ni.transition=null,Rt=16>e?16:e,null===Ci)var r=!1;else{if(e=Ci,Ci=null,Oi=0,0!=(6&ri))throw Error(i(331));var o=ri;for(ri|=4,ga=e.current;null!==ga;){var a=ga,l=a.child;if(0!=(16&ga.flags)){var s=a.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(ga=u;null!==ga;){var h=ga;switch(h.tag){case 0:case 11:case 15:Ea(8,h,a)}var d=h.child;if(null!==d)d.return=h,ga=d;else for(;null!==ga;){var f=(h=ga).sibling,p=h.return;if(Sa(h),h===u){ga=null;break}if(null!==f){f.return=p,ga=f;break}ga=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)}}ga=a}}if(0!=(2064&a.subtreeFlags)&&null!==l)l.return=a,ga=l;else e:for(;null!==ga;){if(0!=(2048&(a=ga).flags))switch(a.tag){case 0:case 11:case 15:Ea(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,ga=y;break e}ga=a.return}}var b=e.current;for(ga=b;null!==ga;){var w=(l=ga).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,ga=w;else e:for(l=b;null!==ga;){if(0!=(2048&(s=ga).flags))try{switch(s.tag){case 0:case 11:case 15:xa(9,s)}}catch(e){el(s,s.return,e)}if(s===l){ga=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,ga=E;break e}ga=s.return}}if(ri=o,Qt(),Wt&&"function"==typeof Wt.onPostCommitFiberRoot)try{Wt.onPostCommitFiberRoot(qt,e)}catch(e){}r=!0}return r}finally{Rt=n,ni.transition=t}}return!1}function Ji(e,t,n){e=Zn(e,t=To(0,t=Co(n,t),1),1),t=ki(),null!==e&&(At(e,1,t),Ri(e,t))}function el(e,t,n){if(3===e.tag)Ji(e,e,n);else for(;null!==t;){if(3===t.tag){Ji(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_i||!_i.has(r))){t=Zn(t,e=Po(t,e=Co(n,e),1),1),e=ki(),null!==t&&(At(t,1,e),Ri(t,e));break}}t=t.return}}function tl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ki(),e.pingedLanes|=e.suspendedLanes&n,oi===e&&(ii&n)===n&&(4===ci||3===ci&&(130023424&ii)===ii&&500>jt()-mi?Bi(e,0):fi|=n),Ri(e,t)}function nl(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ct,0==(130023424&(Ct<<=1))&&(Ct=4194304)));var n=ki();null!==(e=Gn(e,t))&&(At(e,t,n),Ri(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(i(314))}null!==r&&r.delete(t),nl(e,n)}function al(e,t){return Ht(e,t)}function il(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 il(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,a){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 hl(n.children,o,a,t);case h:l=8,o|=8;break;case d:return(e=ll(12,n,t,2|o)).elementType=d,e.lanes=a,e;case m:return(e=ll(13,n,t,o)).elementType=m,e.lanes=a,e;case g:return(e=ll(19,n,t,o)).elementType=g,e.lanes=a,e;case w:return dl(n,o,a,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(i(130,null==e?e:typeof e,""))}return(t=ll(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function hl(e,t,n,r){return(e=ll(7,e,r,t)).lanes=n,e}function dl(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=kt(0),this.expirationTimes=kt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kt(0),this.identifierPrefix=r,this.onRecoverableError=o,$&&(this.mutableSourceEagerHydrationData=null)}function ml(e,t,n,r,o,a,i,l,s){return e=new vl(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=ll(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wn(a),e}function gl(e){if(!e)return ut;e:{if(C(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(vt(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(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(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=M(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 El(e){return null===(e=M(e))?null:e.stateNode}function xl(){return null}return wi=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||dt.current)No=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return No=!1,function(e,t,n){switch(t.tag){case 3:qo(t),Cn();break;case 5:wr(t);break;case 1:vt(t.type)&&bt(t);break;case 4:yr(t,t.stateNode.containerInfo);break;case 10:Hn(0,t.type._context,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ct(xr,1&xr.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Jo(e,t,n):(ct(xr,1&xr.current),null!==(e=ia(e,t,n))?e.sibling:null);ct(xr,1&xr.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return oa(e,t,n);t.flags|=128}var o=t.memoizedState;if(null!==o&&(o.rendering=null,o.tail=null,o.lastEffect=null),ct(xr,xr.current),r)break;return null;case 22:case 23:return t.lanes=0,jo(e,t,n)}return ia(e,t,n)}(e,t,n);No=0!=(131072&e.flags)}else No=!1,vn&&0!=(1048576&t.flags)&&un(t,nn,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;aa(e,t),e=t.pendingProps;var o=pt(t,ht.current);Dn(t,n),o=Vr(null,t,r,e,o,n);var a=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)?(a=!0,bt(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Wn(t),o.updater=nr,t.stateNode=o,o._reactInternals=t,ir(t,r,e,n),t=Go(null,t,r,!0,a,n)):(t.tag=0,vn&&a&&hn(t),Ho(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(aa(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=Pn(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=Io(null,t,r,e,n);break e;case 14:t=Vo(null,t,r,Pn(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bo(e,t,r,o=t.elementType===r?o:Pn(r,o),n);case 1:return r=t.type,o=t.pendingProps,Uo(e,t,r,o=t.elementType===r?o:Pn(r,o),n);case 3:e:{if(qo(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Kn(e,t),Qn(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=Wo(e,t,r,n,o=Co(Error(i(423)),t));break e}if(r!==o){t=Wo(e,t,r,n,o=Co(Error(i(424)),t));break e}for($&&(pn=Be(t.stateNode.containerInfo),fn=t,vn=!0,gn=null,mn=!1),n=dr(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Cn(),r===o){t=ia(e,t,n);break e}Ho(e,t,r,n)}t=t.child}return t;case 5:return wr(t),null===e&&En(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,B(r,o)?l=null:null!==a&&B(r,a)&&(t.flags|=32),Fo(e,t),Ho(e,t,l,n),t.child;case 6:return null===e&&En(t),null;case 13:return Jo(e,t,n);case 4:return yr(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=hr(t,null,r,n):Ho(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Io(e,t,r,o=t.elementType===r?o:Pn(r,o),n);case 7:return Ho(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ho(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,Hn(0,r,l=o.value),null!==a)if(Kt(a.value,l)){if(a.children===o.children&&!dt.current){t=ia(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=Yn(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var h=(u=u.shared).pending;null===h?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Vn(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),Vn(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}Ho(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,Ho(e,t,r,n),t.child;case 14:return o=Pn(r=t.type,t.pendingProps),Vo(e,t,r,o=Pn(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:Pn(r,o),aa(e,t),t.tag=1,vt(r)?(e=!0,bt(t)):e=!1,Dn(t,n),or(t,r,o),ir(t,r,o,n),Go(null,t,r,!0,e,n);case 19:return oa(e,t,n);case 22:return jo(e,t,n)}throw Error(i(156,t.tag))},t.attemptContinuousHydration=function(e){if(13===e.tag){var t=Gn(e,134217728);null!==t&&Li(t,e,134217728,ki()),wl(e,134217728)}},t.attemptDiscreteHydration=function(e){if(13===e.tag){var t=Gn(e,1);null!==t&&Li(t,e,1,ki()),wl(e,1)}},t.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag){var t=Ai(e),n=Gn(e,t);null!==n&&Li(n,e,t,ki()),wl(e,t)}},t.attemptSynchronousHydration=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ot(t.pendingLanes);0!==n&&(Lt(t,1|n),Ri(t,jt()),0==(6&ri)&&(bi(),Qt()))}break;case 13:ji((function(){var t=Gn(e,1);if(null!==t){var n=ki();Li(t,e,1,n)}})),wl(e,1)}},t.batchedUpdates=function(e,t){var n=ri;ri|=1;try{return e(t)}finally{0===(ri=n)&&(bi(),Zt&&Qt())}},t.createComponentSelector=function(e){return{$$typeof:Ba,value:e}},t.createContainer=function(e,t,n,r,o,a,i){return ml(e,t,!1,null,0,r,0,a,i)},t.createHasPseudoClassSelector=function(e){return{$$typeof:Ua,value:e}},t.createHydrationContainer=function(e,t,n,r,o,a,i,l,s){return(e=ml(n,r,!0,e,0,a,0,l,s)).context=gl(null),n=e.current,(a=Yn(r=ki(),o=Ai(n))).callback=null!=t?t:null,Zn(n,a,o),e.current.lanes=o,At(e,o,r),Ri(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:Ga,value:e}},t.createTestNameSelector=function(e){return{$$typeof:qa,value:e}},t.createTextSelector=function(e){return{$$typeof:Wa,value:e}},t.deferredUpdates=function(e){var t=Rt,n=ni.transition;try{return ni.transition=null,Rt=16,e()}finally{Rt=t,ni.transition=n}},t.discreteUpdates=function(e,t,n,r,o){var a=Rt,i=ni.transition;try{return ni.transition=null,Rt=1,e(t,n,r,o)}finally{Rt=a,ni.transition=i,0===ri&&bi()}},t.findAllNodes=Qa,t.findBoundingRects=function(e,t){if(!re)throw Error(i(363));t=Qa(e,t),e=[];for(var n=0;n<t.length;n++)e.push(ae(t[n]));for(t=e.length-1;0<t;t--)for(var r=(n=e[t]).x,o=r+n.width,a=n.y,l=a+n.height,s=t-1;0<=s;s--)if(t!==s){var c=e[s],u=c.x,h=u+c.width,d=c.y,f=d+c.height;if(r>=u&&a>=d&&o<=h&&l<=f){e.splice(t,1);break}if(!(r!==u||n.width!==c.width||f<a||d>l)){d>a&&(c.height+=d-a,c.y=a),f<l&&(c.height=l-d),e.splice(t,1);break}if(!(a!==d||n.height!==c.height||h<r||u>o)){u>r&&(c.width+=u-r,c.x=r),h<o&&(c.width=o-u),e.splice(t,1);break}}return e},t.findHostInstance=yl,t.findHostInstanceWithNoPortals=function(e){return null===(e=null!==(e=z(e))?P(e):null)?null:e.stateNode},t.findHostInstanceWithWarning=function(e){return yl(e)},t.flushControlled=function(e){var t=ri;ri|=1;var n=ni.transition,r=Rt;try{ni.transition=null,Rt=1,e()}finally{Rt=r,ni.transition=n,0===(ri=t)&&(bi(),Qt())}},t.flushPassiveEffects=Qi,t.flushSync=ji,t.focusWithin=function(e,t){if(!re)throw Error(i(363));for(t=Xa(e=Ya(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 Rt},t.getFindAllNodesFailureDescription=function(e,t){if(!re)throw Error(i(363));var n=0,r=[];e=[Ya(e),0];for(var o=0;o<e.length;){var a=e[o++],l=e[o++],s=t[l];if((5!==a.tag||!le(a))&&(Za(a,s)&&(r.push($a(s)),++l>n&&(n=l)),l<t.length))for(a=a.child;null!==a;)e.push(a,l),a=a.sibling}if(n<t.length){for(e=[];n<t.length;n++)e.push($a(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?L(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:El,findFiberByHostInstance:e.findFiberByHostInstance||xl,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(i(363));e=Qa(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=Rt;try{return Rt=e,t()}finally{Rt=n}},t.shouldError=function(){return null},t.shouldSuspend=function(){return!1},t.updateContainer=function(e,t,n,r){var o=t.current,a=ki(),i=Ai(o);return n=gl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Yn(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Zn(o,t,i))&&(Li(e,o,i,a),$n(e,o,i)),i},t}},2576:(e,t,n)=>{"use strict";e.exports=n(6511)},6525:(e,t,n)=>{"use strict";e.exports=n(7287)},6941:(e,t,n)=>{var r=n(1474),o=n(4045),a=n(7294),i=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 h(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 d(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 a=function(e,t){return e.map((e=>({...e,item:t[e.oldIndex]}))).sort(((e,t)=>e.oldIndex-t.oldIndex))}(o,t);return a}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 a.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,a.createRef)();const t=[...e.list].map((e=>Object.assign(e,{chosen:!1,selected:!1})));e.setList(t,this.sortable,m),l(i)(!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},i=e&&null!==e?e:"div";return(0,a.createElement)(i,{ref:this.ref,...o},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:n="sortable-selected",chosenClass:r="sortable-chosen",dragClass:i="sortable-drag",fallbackClass:s="sortable-falback",ghostClass:c="sortable-ghost",swapClass:u="sortable-swap-highlight",filter:h="sortable-filter",list:d}=this.props;if(!e||null==e)return null;const f=t||"data-id";return a.Children.map(e,((e,t)=>{if(void 0===e)return;const i=d[t]||{},{className:s}=e.props,c="string"==typeof h&&{[h.replace(".","")]:!!i.filtered},u=l(o)(s,{[n]:i.selected,[r]:i.chosen,...c});return(0,a.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:a,className:i,clone:l,onAdd:s,onChange:c,onChoose:u,onClone:h,onEnd:d,onFilter:f,onRemove:p,onSort:v,onStart:m,onUnchoose:g,onUpdate:y,onMove:b,onSpill:w,onSelect:E,onDeselect:x,..._}=e;return _}(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=d(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=d(e,t);h(o);let a=[...t];if("clone"!==e.pullMode)a=f(o,a);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(i)(!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);a.splice(n,1,r)}))}a=a.map((e=>Object.assign(e,{selected:!1}))),n(a,this.sortable,m)}onUpdate(e){const{list:t,setList:n}=this.props,r=d(e,t);return u(r),h(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]}})}))},4045:(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 a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)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)}()},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(7462),o=n(3366),a=n(1721);function i(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(7294),s=n(3935);var c=n(220),u=function(e){return e.scrollTop},h="unmounted",d="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,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=f):o=p:o=t.unmountOnExit||t.mountOnEnter?h:d,r.state={status:o},r.nextCallback=null,r}(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===h?{status:d}: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===d&&this.setState({status:h})},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],a=o[0],i=o[1],l=this.getTimeouts(),c=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:f},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:p},(function(){t.props.onEntered(a)}))},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:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(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],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===h)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=h,m.EXITED=d,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=i(n.className,r):n.setAttribute("class",i(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],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"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],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"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,a.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,a=n.done;this.appliedClasses[t]={},r&&b(e,r),o&&b(e,o),a&&b(e,a)},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 E=w},4537:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(3366),o=n(7462),a=n(7326),i=n(1721),l=n(7294),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 h(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),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);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<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if((0,l.isValidElement)(i)){var s=a in t,c=a in r,h=t[a],d=(0,l.isValidElement)(h)&&!h.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,l.isValidElement)(h)&&(o[a]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:h.props.in,exit:u(i,"exit",e),enter:u(i,"enter",e)})):o[a]=(0,l.cloneElement)(i,{in:!1}):o[a]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:u(i,"exit",e),enter:u(i,"enter",e)})}})),o}var d=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,a.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,i.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,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,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)})}))):h(e,o,a),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"]),a=this.state.contextValue,i=d(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?l.createElement(s.Z.Provider,{value:a},i):l.createElement(s.Z.Provider,{value:a},l.createElement(t,o,i))},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(7294).createContext(null)},4356:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FixedSizeGrid:()=>H,FixedSizeList:()=>I,VariableSizeGrid:()=>M,VariableSizeList:()=>N,areEqual:()=>F,shouldComponentUpdate:()=>B});var r=n(7462),o=n(7326),a=n(1721),i=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])||i(r)&&i(o)))return!1;var r,o;return!0}const s=function(e,t){var n;void 0===t&&(t=l);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}};var c=n(7294),u=n(3366),h="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function d(e){cancelAnimationFrame(e.id)}function f(e,t){var n=h(),r={id:requestAnimationFrame((function o(){h()-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,i=e.getColumnStartIndexForOffset,l=e.getColumnStopIndexForStartIndex,u=e.getColumnWidth,h=e.getEstimatedTotalHeight,p=e.getEstimatedTotalWidth,m=e.getOffsetForColumnAndAlignment,b=e.getOffsetForRowAndAlignment,E=e.getRowHeight,x=e.getRowOffset,_=e.getRowStartIndexForOffset,S=e.getRowStopIndexForStartIndex,C=e.initInstanceProps,O=e.shouldResetStyleCacheOnItemSizeChange,z=e.validateProps;return(t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=C(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,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=s((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,i=a.columnWidth,l=a.direction,s=a.rowHeight,c=r._getItemStyleCache(O&&i,O&&l,O&&s),h=e+":"+t;if(c.hasOwnProperty(h))o=c[h];else{var d=n(r.props,t,r._instanceProps),f="rtl"===l;c[h]=o={position:"absolute",left:f?void 0:d,right:f?d:void 0,top:x(r.props,e,r._instanceProps),height:E(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,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(g()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"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&&d(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=f(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return w(e,t),z(e),null};var M=t.prototype;return M.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)},M.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,i=a.columnCount,l=a.height,s=a.rowCount,c=a.width,u=this.state,d=u.scrollLeft,f=u.scrollTop,g=v();void 0!==r&&(r=Math.max(0,Math.min(r,i-1))),void 0!==o&&(o=Math.max(0,Math.min(o,s-1)));var y=h(this.props,this._instanceProps),w=p(this.props,this._instanceProps)>c?g:0,E=y>l?g:0;this.scrollTo({scrollLeft:void 0!==r?m(this.props,r,n,d,this._instanceProps,E):d,scrollTop:void 0!==o?b(this.props,o,n,f,this._instanceProps,w):f})},M.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()},M.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 a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},M.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&d(this._resetIsScrollingTimeoutId)},M.render=function(){var e=this.props,t=e.children,n=e.className,o=e.columnCount,a=e.direction,i=e.height,l=e.innerRef,s=e.innerElementType,u=e.innerTagName,d=e.itemData,f=e.itemKey,v=void 0===f?y:f,m=e.outerElementType,g=e.outerTagName,b=e.rowCount,w=e.style,E=e.useIsScrolling,x=e.width,_=this.state.isScrolling,S=this._getHorizontalRangeToRender(),C=S[0],O=S[1],z=this._getVerticalRangeToRender(),M=z[0],T=z[1],P=[];if(o>0&&b)for(var k=M;k<=T;k++)for(var A=C;A<=O;A++)P.push((0,c.createElement)(t,{columnIndex:A,data:d,isScrolling:E?_:void 0,key:v({columnIndex:A,data:d,rowIndex:k}),rowIndex:k,style:this._getItemStyle(k,A)}));var L=h(this.props,this._instanceProps),R=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:i,width:x,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},w)},(0,c.createElement)(s||u||"div",{children:P,ref:l,style:{height:L,pointerEvents:_?"none":void 0,width:R}}))},M._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 a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),h=u[0],d=u[1],f=u[2],p=u[3];this._callOnItemsRendered(i,l,h,d,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)}},M._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,r=e.overscanColumnsCount,o=e.overscanCount,a=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,h=s.scrollLeft,d=n||r||o||1;if(0===t||0===a)return[0,0,0,0];var f=i(this.props,h,this._instanceProps),p=l(this.props,f,h,this._instanceProps),v=u&&"backward"!==c?1:Math.max(1,d),m=u&&"forward"!==c?1:Math.max(1,d);return[Math.max(0,f-v),Math.max(0,Math.min(t-1,p+m)),f,p]},M._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var h=_(this.props,c,this._instanceProps),d=S(this.props,h,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,h-f),Math.max(0,Math.min(a-1,d+p)),h,d]},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},E=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,o=t.estimatedRowHeight,a=t.lastMeasuredRowIndex,i=0;if(a>=n&&(a=n-1),a>=0){var l=r[a];i=l.offset+l.size}return i+(n-a-1)*o},x=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,o=t.estimatedColumnWidth,a=t.lastMeasuredColumnIndex,i=0;if(a>=n&&(a=n-1),a>=0){var l=r[a];i=l.offset+l.size}return i+(n-a-1)*o},_=function(e,t,n,r){var o,a,i;if("column"===e?(o=r.columnMetadataMap,a=t.columnWidth,i=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,a=t.rowHeight,i=r.lastMeasuredRowIndex),n>i){var l=0;if(i>=0){var s=o[i];l=s.offset+s.size}for(var c=i+1;c<=n;c++){var u=a(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,a;return"column"===e?(o=n.columnMetadataMap,a=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,a=n.lastMeasuredRowIndex),(a>0?o[a].offset:0)>=r?C(e,t,n,a,0,r):O(e,t,n,Math.max(0,a),r)},C=function(e,t,n,r,o,a){for(;o<=r;){var i=o+Math.floor((r-o)/2),l=_(e,t,i,n).offset;if(l===a)return i;l<a?o=i+1:l>a&&(r=i-1)}return o>0?o-1:0},O=function(e,t,n,r,o){for(var a="column"===e?t.columnCount:t.rowCount,i=1;r<a&&_(e,t,r,n).offset<o;)r+=i,i*=2;return C(e,t,n,Math.min(r,a-1),Math.floor(r/2),o)},z=function(e,t,n,r,o,a,i){var l="column"===e?t.width:t.height,s=_(e,t,n,a),c="column"===e?x(t,a):E(t,a),u=Math.max(0,Math.min(c-l,s.offset)),h=Math.max(0,s.offset-l+i+s.size);switch("smart"===r&&(r=o>=h-l&&o<=u+l?"auto":"center"),r){case"start":return u;case"end":return h;case"center":return Math.round(h+(u-h)/2);default:return o>=h&&o<=u?o:h>u||o<h?h:u}},M=b({getColumnOffset:function(e,t,n){return _("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,a=e.width,i=_("column",e,t,r),l=n+a,s=i.offset+i.size,c=t;c<o-1&&s<l;)c++,s+=_("column",e,c,r).size;return c},getColumnWidth:function(e,t,n){return n.columnMetadataMap[t].size},getEstimatedTotalHeight:E,getEstimatedTotalWidth:x,getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){return z("column",e,t,n,r,o,a)},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){return z("row",e,t,n,r,o,a)},getRowOffset:function(e,t,n){return _("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,a=e.height,i=_("row",e,t,r),l=n+a,s=i.offset+i.size,c=t;c<o-1&&s<l;)c++,s+=_("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,a=e.shouldForceUpdate,i=void 0===a||a;"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),i&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),T=function(e,t){return e};function P(e){var t,n=e.getItemOffset,i=e.getEstimatedTotalSize,l=e.getItemSize,u=e.getOffsetForIndexAndAlignment,h=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,a=o.direction,i=o.itemSize,s=o.layout,c=r._getItemStyleCache(y&&i,y&&s,y&&a);if(c.hasOwnProperty(e))t=c[e];else{var u=n(r.props,e,r._instanceProps),h=l(r.props,e,r._instanceProps),d="horizontal"===a||"horizontal"===s,f="rtl"===a,p=d?u:0;c[e]=t={position:"absolute",left:f?void 0:p,right:f?p:void 0,top:d?0:u,height:d?"100%":h,width:d?h:"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,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(g()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,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&&d(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,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return k(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,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var i=0;if(this._outerRef){var l=this._outerRef;i="vertical"===o?l.scrollWidth>l.clientWidth?v():0:l.scrollHeight>l.clientHeight?v():0}this.scrollTo(u(this.props,e,t,a,this._instanceProps,i))},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 a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(g()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},w.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&d(this._resetIsScrollingTimeoutId)},w.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,l=e.innerRef,s=e.innerElementType,u=e.innerTagName,h=e.itemCount,d=e.itemData,f=e.itemKey,p=void 0===f?T:f,v=e.layout,m=e.outerElementType,g=e.outerTagName,y=e.style,b=e.useIsScrolling,w=e.width,E=this.state.isScrolling,x="horizontal"===o||"horizontal"===v,_=x?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),C=S[0],O=S[1],z=[];if(h>0)for(var M=C;M<=O;M++)z.push((0,c.createElement)(t,{data:d,key:p(M,d),index:M,isScrolling:b?E:void 0,style:this._getItemStyle(M)}));var P=i(this.props,this._instanceProps);return(0,c.createElement)(m||g||"div",{className:n,onScroll:_,ref:this._outerRefSetter,style:(0,r.Z)({position:"relative",height:a,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},y)},(0,c.createElement)(s||u||"div",{children:z,ref:l,style:{height:x?"100%":P,pointerEvents:E?"none":void 0,width:x?P:"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 a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},w._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var l=h(this.props,i,this._instanceProps),s=p(this.props,l,i,this._instanceProps),c=o&&"backward"!==a?1:Math.max(1,n),u=o&&"forward"!==a?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 k=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},A=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,a=n.lastMeasuredIndex;if(t>a){var i=0;if(a>=0){var l=o[a];i=l.offset+l.size}for(var s=a+1;s<=t;s++){var c=r(s);o[s]={offset:i,size:c},i+=c}n.lastMeasuredIndex=t}return o[t]},L=function(e,t,n,r,o){for(;r<=n;){var a=r+Math.floor((n-r)/2),i=A(e,a,t).offset;if(i===o)return a;i<o?r=a+1:i>o&&(n=a-1)}return r>0?r-1:0},R=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,o=t.estimatedItemSize,a=t.lastMeasuredIndex,i=0;if(a>=n&&(a=n-1),a>=0){var l=r[a];i=l.offset+l.size}return i+(n-a-1)*o},N=P({getItemOffset:function(e,t,n){return A(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:R,getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.layout,c=e.width,u="horizontal"===i||"horizontal"===s?c:l,h=A(e,t,o),d=R(e,o),f=Math.max(0,Math.min(d-u,h.offset)),p=Math.max(0,h.offset-u+h.size+a);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?L(e,t,o,0,n):function(e,t,n,r){for(var o=e.itemCount,a=1;n<o&&A(e,n,t).offset<r;)n+=a,a*=2;return L(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,a=e.height,i=e.itemCount,l=e.layout,s=e.width,c="horizontal"===o||"horizontal"===l?s:a,u=A(e,t,r),h=n+c,d=u.offset+u.size,f=t;f<i-1&&d<h;)f++,d+=A(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}}),H=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,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),h=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=h-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return h;case"center":var d=Math.round(h+(u-h)/2);return d<Math.ceil(s/2)?0:d>c+Math.floor(s/2)?c:d;default:return r>=h&&r<=u?r:h>u||r<h?h:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),h=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=h-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return h;case"center":var d=Math.round(h+(u-h)/2);return d<Math.ceil(l/2)?0:d>c+Math.floor(l/2)?c:d;default:return r>=h&&r<=u?r:h>u||r<h?h: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,a=e.width,i=t*r,l=Math.ceil((a+n-i)/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,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),I=P({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,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,h=e.width,d="horizontal"===i||"horizontal"===u?h:l,f=Math.max(0,s*c-d),p=Math.min(f,t*c),v=Math.max(0,t*c-d+c+a);switch("smart"===n&&(n=r>=v-d&&r<=p+d?"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(d/2)?0:m>f+Math.floor(d/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,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,h=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+h-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,a=(0,u.Z)(t,j);return!V(n,o)&&!V(r,a)}function B(e,t){return!F(this.props,e)||V(this.state,t)}},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=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"),h=Symbol.for("react.memo"),d=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 E=Array.isArray,x=Object.prototype.hasOwnProperty,_={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!S.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var z=/\/+/g;function M(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 T(e,t,o,a,i){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 i=i(s=e),e=""===a?"."+M(s,0):a,E(i)?(o="",null!=e&&(o=e.replace(z,"$&/")+"/"),T(i,t,o,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(z,"$&/")+"/")+e)),t.push(i)),1;if(s=0,a=""===a?".":a+":",E(e))for(var c=0;c<e.length;c++){var u=a+M(l=e[c],c);s+=T(l,t,o,u,i)}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+=T(l=l.value,t,o,u=a+M(l,c++),i);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 P(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function k(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 A={current:null},L={transition:null},R={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:L,ReactCurrentOwner:_};t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,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),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)x.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:a,ref:i,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=C,t.createFactory=function(e){var t=C.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=O,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:k}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},4754:(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},a=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={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=i[t];n?r=a({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=l},6002:(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},a=(r=n(7294))&&r.__esModule?r:{default:r};function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}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),h=0;h<c;h++)u[h]=arguments[h];return l=s=i(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 a.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},a.default.createElement(e,o({},s.props,s.state)))},i(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}(a.default.Component)};t.default=l},1765:(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},a=(r=n(7294))&&r.__esModule?r:{default:r};function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}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),h=0;h<c;h++)u[h]=arguments[h];return l=s=i(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 a.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},a.default.createElement(e,o({},s.props,s.state)))},i(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}(a.default.Component)};t.default=l},4147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n(7037)),o=l(n(2525)),a=l(n(8630)),i=l(n(5161));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,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,a.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},9941:(e,t,n)=>{"use strict";t.tz=void 0;var r=c(n(4147)),o=c(n(8556)),a=c(n(4754)),i=c(n(1765)),l=c(n(6002)),s=c(n(7742));function c(e){return e&&e.__esModule?e:{default:e}}i.default,t.tz=i.default,l.default,s.default;t.ZP=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var l=(0,r.default)(n),s=(0,o.default)(e,l);return(0,a.default)(s)}},7742:(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}},8556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=i(n(2525)),o=i(n(361)),a=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 i(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]=a({},n[t],o[t])})),t})),n};t.default=l},3697:(e,t,n)=>{"use strict";var r=n(5972).functionsHaveConfigurableNames(),o=Object,a=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new a("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.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(5559),a=n(3697),i=n(8437),l=n(2753),s=o(i());r(s,{getPolyfill:i,implementation:a,shim:l}),e.exports=s},8437:(e,t,n)=>{"use strict";var r=n(3697),o=n(4289).supportsDescriptors,a=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=a(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}},2753:(e,t,n)=>{"use strict";var r=n(4289).supportsDescriptors,o=n(8437),a=Object.getOwnPropertyDescriptor,i=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=a(t,"flags");return n&&n.get===e||i(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},5722:(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,a,i=(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(a=n[o].exec(i))return a[1]}(r)||"Parse error",new Error(t)}(e),e}},53:(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<a(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,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>a(s,n))c<o&&0>a(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(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 i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var c=[],u=[],h=1,d=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(e){if(m=!1,w(e),!v)if(null!==r(c))v=!0,L(x);else{var t=r(u);null!==t&&R(E,t.startTime-e)}}function x(e,n){v=!1,m&&(m=!1,y(O),O=-1),p=!0;var a=f;try{for(w(n),d=r(c);null!==d&&(!(d.expirationTime>n)||e&&!T());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?d.callback=l:d===r(c)&&o(c),w(n)}else o(c);d=r(c)}if(null!==d)var s=!0;else{var h=r(u);null!==h&&R(E,h.startTime-n),s=!1}return s}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,S=!1,C=null,O=-1,z=5,M=-1;function T(){return!(t.unstable_now()-M<z)}function P(){if(null!==C){var e=t.unstable_now();M=e;var n=!0;try{n=C(!0,e)}finally{n?_():(S=!1,C=null)}}else S=!1}if("function"==typeof b)_=function(){b(P)};else if("undefined"!=typeof MessageChannel){var k=new MessageChannel,A=k.port2;k.port1.onmessage=P,_=function(){A.postMessage(null)}}else _=function(){g(P,0)};function L(e){C=e,S||(S=!0,_())}function R(e,n){O=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,L(x))},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"):z=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,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,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:h++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(m?(y(O),O=-1):m=!0,R(E,a-i))):(e.sortIndex=l,n(c,e),v||p||(v=!0,L(x))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},1474:(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){i(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 a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function i(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:()=>xt});var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=c(/Edge/i),d=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(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 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(_," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(_," ")}}function C(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 O(e,t){var n="";if("string"==typeof e)n=e;else do{var r=C(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 z(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,a=r.length;if(n)for(;o<a;o++)n(r[o],o);return r}return[]}function M(){return document.scrollingElement||document.documentElement}function T(e,t,n,r,o){if(e.getBoundingClientRect||e===window){var a,i,l,s,c,h,d;if(e!==window&&e.parentNode&&e!==M()?(i=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,c=a.right,h=a.height,d=a.width):(i=0,l=0,s=window.innerHeight,c=window.innerWidth,h=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==C(o,"transform")||n&&"static"!==C(o,"position"))){var f=o.getBoundingClientRect();i-=f.top+parseInt(C(o,"border-top-width")),l-=f.left+parseInt(C(o,"border-left-width")),s=i+a.height,c=l+a.width;break}}while(o=o.parentNode);if(r&&e!==window){var p=O(o||e),v=p&&p.a,m=p&&p.d;p&&(s=(i/=m)+(h/=m),c=(l/=v)+(d/=v))}return{top:i,left:l,bottom:s,right:c,width:d,height:h}}}function P(e,t,n){for(var r=N(e,!0),o=T(e)[t];r;){var a=T(r)[n];if(!("top"===n||"left"===n?o>=a:o<=a))return r;if(r===M())break;r=N(r,!1)}return!1}function k(e,t,n,r){for(var o=0,a=0,i=e.children;a<i.length;){if("none"!==i[a].style.display&&i[a]!==je.ghost&&(r||i[a]!==je.dragged)&&E(i[a],n.draggable,e,!1)){if(o===t)return i[a];o++}a++}return null}function A(e,t){for(var n=e.lastElementChild;n&&(n===je.ghost||"none"===C(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function L(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 R(e){var t=0,n=0,r=M();if(e)do{var o=O(e),a=o.a,i=o.d;t+=e.scrollLeft*a,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function N(e,t){if(!e||!e.getBoundingClientRect)return M();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=C(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 M();if(r||t)return n;r=!0}}}while(n=n.parentNode);return M()}function H(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 I(e,t){return function(){if(!x){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),x=setTimeout((function(){x=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){C(e,"position","absolute"),C(e,"top",t.top),C(e,"left",t.left),C(e,"width",t.width),C(e,"height",t.height)}function F(e){C(e,"position",""),C(e,"top",""),C(e,"left",""),C(e,"width",""),C(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 a=e+"Global";U.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][a]&&t[r.pluginName][a](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 a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[o]=a,l(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(o)){var a=this.modifyOption(e,o,e.options[o]);void 0!==a&&(e.options[o]=a)}},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,a=e.targetEl,i=e.cloneEl,l=e.toEl,s=e.fromEl,c=e.oldIndex,d=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||h?(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=a||n,y.clone=i,y.oldIndex=c,y.newIndex=d,y.oldDraggableIndex=f,y.newDraggableIndex=p,y.originalEvent=v,y.pullMode=m?m.lastPutMode:void 0;var E=o(o({},g),q.getEventProperties(r,t));for(var x in E)y[x]=E[x];n&&n.dispatchEvent(y),b[w]&&b[w].call(t,y)}}var K=["evt"],Y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[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:$,parentEl:X,ghostEl:Q,rootEl:J,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:me,putSortable:ce,activeSortable:je.active,originalEvent:r,oldIndex:oe,oldDraggableIndex:ie,newIndex:ae,newDraggableIndex:le,hideGhostForTarget:He,unhideGhostForTarget:Ie,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Z({sortable:t,name:e,originalEvent:r})}},a))};function Z(e){W(o({putSortable:ce,cloneEl:ne,targetEl:$,rootEl:J,oldIndex:oe,oldDraggableIndex:ie,newIndex:ae,newDraggableIndex:le},e))}var $,X,Q,J,ee,te,ne,re,oe,ae,ie,le,se,ce,ue,he,de,fe,pe,ve,me,ge,ye,be,we,Ee=!1,xe=!1,_e=[],Se=!1,Ce=!1,Oe=[],ze=!1,Me=[],Te="undefined"!=typeof document,Pe=p,ke=h||u?"cssFloat":"float",Ae=Te&&!v&&!p&&"draggable"in document.createElement("div"),Le=function(){if(Te){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Re=function(e,t){var n=C(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=k(e,0,t),a=k(e,1,t),i=o&&C(o),l=a&&C(a),s=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+T(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+T(a).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&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return o&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||s>=r&&"none"===n[ke]||a&&"none"===n[ke]&&s+c>r)?"vertical":"horizontal"},Ne=function(e){function t(e,n){return function(r,o,a,i){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,a,i),n)(r,o,a,i);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"==a(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},He=function(){!Le&&Q&&C(Q,"display","none")},Ie=function(){!Le&&Q&&C(Q,"display","")};Te&&!v&&document.addEventListener("click",(function(e){if(xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xe=!1,!1}),!0);var Ve=function(e){if($){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,a=e.clientY,_e.some((function(e){var t=e[B].options.emptyInsertThreshold;if(t&&!A(e)){var n=T(e),r=o>=n.left-t&&o<=n.right+t,l=a>=n.top-t&&a<=n.bottom+t;return r&&l?i=e:void 0}})),i);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,a,i},De=function(e){$&&$.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,a={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 Re(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 i in q.initializePlugins(this,e,a),a)!(i in t)&&(t[i]=a[i]);for(var s in Ne(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&Ae,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)),_e.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"!==C(e,"display")&&e!==je.ghost){r.push({target:e,rect:T(e)});var t=o({},r[r.length-1].rect);if(e.thisAnimationDuration){var n=O(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,a=0;r.forEach((function(e){var n=0,r=e.target,i=r.fromRect,l=T(r),s=r.prevFromRect,c=r.prevToRect,u=e.rect,h=O(r,!0);h&&(l.top-=h.f,l.left-=h.e),r.toRect=l,r.thisAnimationDuration&&H(s,l)&&!H(i,l)&&(u.top-l.top)/(u.left-l.left)==(i.top-l.top)/(i.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)),H(l,i)||(r.prevFromRect=i,r.prevToRect=l,n||(n=t.options.animation),t.animate(r,u,l,n)),n&&(o=!0,a=Math.max(a,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()}),a):"function"==typeof e&&e(),r=[]},animate:function(e,t,n,r){if(r){C(e,"transition",""),C(e,"transform","");var o=O(this.el),a=o&&o.a,i=o&&o.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(i||1);e.animatingX=!!l,e.animatingY=!!s,C(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),C(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),C(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){C(e,"transition",""),C(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}))}function Fe(e,t,n,r,o,a,i,l){var s,c,d=e[B],f=d.options.onMove;return!window.CustomEvent||u||h?(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=a||T(t),s.willInsertAfter=l,s.originalEvent=i,e.dispatchEvent(s),f&&(c=f.call(d,s,i)),c}function Be(e){e.draggable=!1}function Ue(){ze=!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,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,a=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(i||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,c=r.filter;if(function(e){Me.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Me.push(r)}}(n),!$&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=E(l,r.draggable,n,!1))&&l.animated||te===l)){if(oe=L(l),ie=L(l,r.draggable),"function"==typeof c){if(c.call(this,e,l,this))return Z({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),Y("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=E(s,r.trim(),n,!1))return Z({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:n,toEl:n}),Y("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!E(s,r.handle,n,!1)||this._prepareDragStart(e,i,l)}}},_prepareDragStart:function(e,t,n){var r,o=this,a=o.el,i=o.options,l=a.ownerDocument;if(n&&!$&&n.parentNode===a){var s=T(n);if(J=a,X=($=n).parentNode,ee=$.nextSibling,te=n,se=i.group,je.dragged=$,ue={target:$,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,$.style["will-change"]="all",r=function(){Y("delayEnded",o,{evt:e}),je.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!d&&o.nativeDraggable&&($.draggable=!0),o._triggerDragStart(e,t),Z({sortable:o,name:"choose",originalEvent:e}),S($,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){z($,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),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),Y("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||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),i.supportPointer&&g(l,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,i.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(){$&&Be($),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($,"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(Ee=!1,J&&$){Y("dragStarted",this,{evt:t}),this.nativeDraggable&&g(document,"dragover",De);var n=this.options;!e&&S($,n.dragClass,!1),S($,n.ghostClass,!0),je.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,He();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if($.parentNode[B]._isOutsideThisEl(e),t)do{if(t[B]&&t[B]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);Ie()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,o=e.touches?e.touches[0]:e,a=Q&&O(Q,!0),i=Q&&a&&a.a,l=Q&&a&&a.d,s=Pe&&we&&R(we),c=(o.clientX-ue.clientX+r.x)/(i||1)+(s?s[0]-Oe[0]:0)/(i||1),u=(o.clientY-ue.clientY+r.y)/(l||1)+(s?s[1]-Oe[1]:0)/(l||1);if(!je.active&&!Ee){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Q){a?(a.e+=c-(de||0),a.f+=u-(fe||0)):a={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");C(Q,"webkitTransform",h),C(Q,"mozTransform",h),C(Q,"msTransform",h),C(Q,"transform",h),de=c,fe=u,he=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Q){var e=this.options.fallbackOnBody?document.body:J,t=T($,!0,Pe,!0,e),n=this.options;if(Pe){for(we=e;"static"===C(we,"position")&&"none"===C(we,"transform")&&we!==document;)we=we.parentNode;we!==document.body&&we!==document.documentElement?(we===document&&(we=M()),t.top+=we.scrollTop,t.left+=we.scrollLeft):we=M(),Oe=R(we)}S(Q=$.cloneNode(!0),n.ghostClass,!1),S(Q,n.fallbackClass,!0),S(Q,n.dragClass,!0),C(Q,"transition",""),C(Q,"transform",""),C(Q,"box-sizing","border-box"),C(Q,"margin",0),C(Q,"top",t.top),C(Q,"left",t.left),C(Q,"width",t.width),C(Q,"height",t.height),C(Q,"opacity","0.8"),C(Q,"position",Pe?"absolute":"fixed"),C(Q,"zIndex","100000"),C(Q,"pointerEvents","none"),je.ghost=Q,e.appendChild(Q),C(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;Y("dragStart",this,{evt:e}),je.eventCanceled?this._onDrop():(Y("setupClone",this),je.eventCanceled||((ne=D($)).removeAttribute("id"),ne.draggable=!1,ne.style["will-change"]="",this._hideClone(),S(ne,this.options.chosenClass,!1),je.clone=ne),n.cloneId=qe((function(){Y("clone",n),je.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(ne,$),n._hideClone(),Z({sortable:n,name:"clone"}))})),!t&&S($,o.dragClass,!0),t?(xe=!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,$)),g(document,"drop",n),C($,"transform","translateZ(0)")),Ee=!0,n._dragStartId=qe(n._dragStarted.bind(n,t,e)),g(document,"selectstart",n),me=!0,f&&C(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,a,i=this.el,l=e.target,s=this.options,c=s.group,u=je.active,h=se===c,d=s.sort,f=ce||u,p=this,v=!1;if(!ze){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=E(l,s.draggable,i,!0),D("dragOver"),je.eventCanceled)return v;if($.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(xe=!1,u&&!s.disabled&&(h?d||(r=X!==J):ce===this||(this.lastPutMode=se.checkPull(this,u,$,e))&&c.checkPut(this,u,$,e))){if(a="vertical"===this._getDirection(e,l),t=T($),D("dragOverValid"),je.eventCanceled)return v;if(r)return X=J,j(),this._hideClone(),D("revert"),je.eventCanceled||(ee?J.insertBefore($,ee):J.appendChild($)),F(!0);var m=A(i,s.draggable);if(!m||function(e,t,n){var r=T(A(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,a,this)&&!m.animated){if(m===$)return F(!1);if(m&&i===e.target&&(l=m),l&&(n=T(l)),!1!==Fe(J,i,$,t,l,n,e,!!l))return j(),m&&m.nextSibling?i.insertBefore($,m.nextSibling):i.appendChild($),X=i,U(),F(!0)}else if(m&&function(e,t,n){var r=T(k(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,a,this)){var g=k(i,0,s,!0);if(g===$)return F(!1);if(n=T(l=g),!1!==Fe(J,i,$,t,l,n,e,!1))return j(),i.insertBefore($,g),X=i,U(),F(!0)}else if(l.parentNode===i){n=T(l);var y,b,w,x=$.parentNode!==i,_=!function(e,t,n){var r=n?e.left:e.top,o=n?e.right:e.bottom,a=n?e.width:e.height,i=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return r===i||o===l||r+a/2===i+s/2}($.animated&&$.toRect||t,l.animated&&l.toRect||n,a),O=a?"top":"left",z=P(l,"top","top")||P($,"top","top"),M=z?z.scrollTop:void 0;if(ge!==l&&(b=n[O],Se=!1,Ce=!_&&s.invertSwap||x),y=function(e,t,n,r,o,a,i,l){var s=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,h=r?n.bottom:n.right,d=!1;if(!i)if(l&&be<c*o){if(!Se&&(1===ye?s>u+c*a/2:s<h-c*a/2)&&(Se=!0),Se)d=!0;else if(1===ye?s<u+be:s>h-be)return-ye}else if(s>u+c*(1-o)/2&&s<h-c*(1-o)/2)return function(e){return L($)<L(e)?1:-1}(t);return(d=d||i)&&(s<u+c*a/2||s>h-c*a/2)?s>u+c/2?1:-1:0}(e,l,n,a,_?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ce,ge===l),0!==y){var R=L($);do{R-=y,w=X.children[R]}while(w&&("none"===C(w,"display")||w===Q))}if(0===y||w===l)return F(!1);ge=l,ye=y;var N=l.nextElementSibling,H=!1,I=Fe(J,i,$,t,l,n,e,H=1===y);if(!1!==I)return 1!==I&&-1!==I||(H=1===I),ze=!0,setTimeout(Ue,30),j(),H&&!N?i.appendChild($):l.parentNode.insertBefore($,H?N:l),z&&V(z,0,M-z.scrollTop),X=$.parentNode,void 0===b||Ce||(be=Math.abs(b-T(l)[O])),U(),F(!0)}if(i.contains($))return F(!1)}return!1}function D(s,c){Y(s,p,o({evt:e,isOwner:h,axis:a?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:l,completed:F,onMove:function(n,r){return Fe(J,i,$,t,n,T(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&&(h?u._hideClone():u._showClone(p),p!==f&&(S($,ce?ce.options.ghostClass:u.options.ghostClass,!1),S($,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===$&&!$.animated||l===i&&!l.animated)&&(ge=null),s.dragoverBubble||e.rootEl||l===document||($.parentNode[B]._isOutsideThisEl(e.target),!t&&Ve(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),v=!0}function U(){ae=L($),le=L($,s.draggable),Z({sortable:p,name:"change",toEl:i,newIndex:ae,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;ae=L($),le=L($,n.draggable),Y("drop",this,{evt:e}),X=$&&$.parentNode,ae=L($),le=L($,n.draggable),je.eventCanceled||(Ee=!1,Ce=!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&&C(document.body,"user-select",""),C($,"transform",""),e&&(me&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Q&&Q.parentNode&&Q.parentNode.removeChild(Q),(J===X||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),$&&(this.nativeDraggable&&y($,"dragend",this),Be($),$.style["will-change"]="",me&&!Ee&&S($,ce?ce.options.ghostClass:this.options.ghostClass,!1),S($,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==X?(ae>=0&&(Z({rootEl:X,name:"add",toEl:X,fromEl:J,originalEvent:e}),Z({sortable:this,name:"remove",toEl:X,originalEvent:e}),Z({rootEl:X,name:"sort",toEl:X,fromEl:J,originalEvent:e}),Z({sortable:this,name:"sort",toEl:X,originalEvent:e})),ce&&ce.save()):ae!==oe&&ae>=0&&(Z({sortable:this,name:"update",toEl:X,originalEvent:e}),Z({sortable:this,name:"sort",toEl:X,originalEvent:e})),je.active&&(null!=ae&&-1!==ae||(ae=oe,le=ie),Z({sortable:this,name:"end",toEl:X,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),J=$=X=Q=ee=ne=te=re=ue=he=me=ae=le=oe=ie=ge=ye=ce=se=je.dragged=je.ghost=je.clone=je.active=null,Me.forEach((function(e){e.checked=!0})),Me.length=de=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(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,a=this.options;r<o;r++)E(e=n[r],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.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];E(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(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&&Ne(n)},destroy:function(){Y("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(),_e.splice(_e.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(Y("hideClone",this),je.eventCanceled)return;C(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(Y("showClone",this),je.eventCanceled)return;$.parentNode!=J||this.options.group.revertClone?ee?J.insertBefore(ne,ee):J.appendChild(ne):J.insertBefore(ne,$),this.options.group.revertClone&&this.animate($,ne),C(ne,"display",""),re=!1}}else this._hideClone()}},Te&&g(document,"touchmove",(function(e){(je.active||Ee)&&e.cancelable&&e.preventDefault()})),je.utils={on:g,off:y,css:C,find:z,is:function(e,t){return!!E(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:I,closest:E,toggleClass:S,clone:D,index:L,nextTick:qe,cancelNextTick:We,detectDirection:Re,getChild:k},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,Ye,Ze,$e,Xe,Qe,Je=[],et=!1;function tt(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function nt(){clearInterval(Qe)}var rt,ot=I((function(e,t,n,r){if(t.scroll){var o,a=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,c=M(),u=!1;Ye!==n&&(Ye=n,tt(),Ke=t.scroll,o=t.scrollFn,!0===Ke&&(Ke=N(n,!0)));var h=0,d=Ke;do{var f=d,p=T(f),v=p.top,m=p.bottom,g=p.left,y=p.right,b=p.width,w=p.height,E=void 0,x=void 0,_=f.scrollWidth,S=f.scrollHeight,O=C(f),z=f.scrollLeft,P=f.scrollTop;f===c?(E=b<_&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),x=w<S&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(E=b<_&&("auto"===O.overflowX||"scroll"===O.overflowX),x=w<S&&("auto"===O.overflowY||"scroll"===O.overflowY));var k=E&&(Math.abs(y-a)<=l&&z+b<_)-(Math.abs(g-a)<=l&&!!z),A=x&&(Math.abs(m-i)<=l&&P+w<S)-(Math.abs(v-i)<=l&&!!P);if(!Je[h])for(var L=0;L<=h;L++)Je[L]||(Je[L]={});Je[h].vx==k&&Je[h].vy==A&&Je[h].el===f||(Je[h].el=f,Je[h].vx=k,Je[h].vy=A,clearInterval(Je[h].pid),0==k&&0==A||(u=!0,Je[h].pid=setInterval(function(){r&&0===this.layer&&je.active._onTouchMove(Xe);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,Xe,Je[this.layer].el)||V(Je[this.layer].el,n,t)}.bind({layer:h}),24))),h++}while(t.bubbleScroll&&d!==c&&(d=N(d,!1)));et=u}}),30),at=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,o=e.activeSortable,a=e.dispatchSortableEvent,i=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||o;i();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);l(),s&&!s.el.contains(u)&&(a("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function it(){}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,a=e.changed,i=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)}a(),t(!0),i()}},drop:function(e){var t,n,r,o,a,i,l=e.activeSortable,s=e.putSortable,c=e.dragEl,u=s||this.sortable,h=this.options;rt&&S(rt,h.swapClass,!1),rt&&(h.swap||s&&s.options.swap)&&c!==rt&&(u.captureAnimationState(),u!==l&&l.captureAnimationState(),n=rt,a=(t=c).parentNode,i=n.parentNode,a&&i&&!a.isEqualNode(n)&&!i.isEqualNode(t)&&(r=L(t),o=L(n),a.isEqualNode(i)&&r<o&&o++,a.insertBefore(n,a.children[r]),i.insertBefore(t,i.children[o])),u.animateAll(),u!==l&&l.animateAll())},nulling:function(){rt=null}},l(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}it.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=k(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:at},l(it,{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:at},l(lt,{pluginName:"removeOnSpill"});var ct,ut,ht,dt,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;ht=t},delayEnded:function(){this.isMultiDrag=~pt.indexOf(ht)},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]===ht&&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){C(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){C(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=L(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!==ht&&C(e,"position","absolute")}));var r=T(ht,!1,!0,!0);pt.forEach((function(e){e!==ht&&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&&Et()}))}},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?T(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,a=e.parentEl,i=e.putSortable,l=this.options;if(r){if(n&&o._hideClone(),mt=!1,l.animation&&pt.length>1&&(gt||!n&&!o.options.sort&&!i)){var s=T(ht,!1,!0,!0);pt.forEach((function(e){e!==ht&&(j(e,s),a.appendChild(e))})),gt=!0}if(!n)if(gt||Et(),pt.length>1){var c=ft;o._showClone(t),o.options.animation&&!ft&&c&&vt.forEach((function(e){o.addAnimationState({target:e,rect:dt}),e.fromRect=dt,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){dt=l({},t);var o=O(ht,!0);dt.top-=o.f,dt.left-=o.e}},dragOverAnimationComplete:function(){gt&&(gt=!1,Et())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,o=e.sortable,a=e.dispatchSortableEvent,i=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(ht,c.selectedClass,!~pt.indexOf(ht)),~pt.indexOf(ht))pt.splice(pt.indexOf(ht),1),ct=null,W({sortable:o,rootEl:n,name:"deselect",targetEl:ht,originalEvent:t});else{if(pt.push(ht),W({sortable:o,rootEl:n,name:"select",targetEl:ht,originalEvent:t}),t.shiftKey&&ct&&o.el.contains(ct)){var h,d,f=L(ct),p=L(ht);if(~f&&~p&&f!==p)for(p>f?(d=f,h=p):(d=p,h=f+1);d<h;d++)~pt.indexOf(u[d])||(S(u[d],c.selectedClass,!0),pt.push(u[d]),W({sortable:o,rootEl:n,name:"select",targetEl:u[d],originalEvent:t}))}else ct=ht;ut=s}if(yt&&this.isMultiDrag){if(gt=!1,(r[B].options.sort||r!==n)&&pt.length>1){var v=T(ht),m=L(ht,":not(."+this.options.selectedClass+")");if(!mt&&c.animation&&(ht.thisAnimationDuration=null),s.captureAnimationState(),!mt&&(c.animation&&(ht.fromRect=v,pt.forEach((function(e){if(e.thisAnimationDuration=null,e!==ht){var t=gt?T(e):v;e.fromRect=t,s.addAnimationState({target:e,rect:t})}}))),Et(),pt.forEach((function(e){u[m]?r.insertBefore(e,u[m]):r.appendChild(e),m++})),i===L(ht))){var g=!1;pt.forEach((function(e){e.sortableIndex===L(e)||(g=!0)})),g&&a("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(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!==ht?-1:gt?L(e,":not(."+t.options.selectedClass+")"):L(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 Et(){pt.forEach((function(e){e!==ht&&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(x),x=void 0},nulling:function(){Xe=Ye=Ke=et=Qe=Ze=$e=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,a=document.elementFromPoint(r,o);if(Xe=e,t||this.options.forceAutoScrollFallback||h||u||f){ot(e,this.options,a,t);var i=N(a,!0);!et||Qe&&r===Ze&&o===$e||(Qe&&nt(),Qe=setInterval((function(){var a=N(document.elementFromPoint(r,o),!0);a!==i&&(i=a,tt()),ot(e,n.options,a,t)}),10),Ze=r,$e=o)}else{if(!this.options.bubbleScroll||N(a,!0)===M())return void tt();ot(e,this.options,N(a,!1),!1)}}},l(e,{pluginName:"scroll",initializeByDefault:!0})}),je.mount(lt,it);const xt=je},2152:(e,t,n)=>{"use strict";function r(e,t,n){const o=t-1,a=n[i(o,n.length)];return"Z"!==a.marker?a:r(e,o,n)}function o(e,t,n){const r=t+1,a=n[i(r,n.length)];return"Z"===a.marker?o(e,r,n):a}function a(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 a=o(n,t);e.values.x=a.values.x,e.values.y=a.values.y}return e}function i(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 h(e,t){return Math.sin(e)*t}function d(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(a)}function m(e,t,n){let a=[],i=[];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&&a.push([]),a[a.length-1].push(e)})),a.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,a,l)=>{const s=r(e,a,l),p=o(e,a,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)),E=Math.min(t,w),x=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,E),_=x.offset,S=x.sweepFlag,C=(0==a||a==l.length-1)&&!n;switch(e.marker){case"M":case"L":const t=[e.values.x+h(v,_),e.values.y+d(v,_)],n=[e.values.x+h(m,_),e.values.y+d(m,_)];C?i.push({marker:e.marker,values:e.values}):i.push({marker:e.marker,values:{x:parseFloat(t[0].toFixed(3)),y:parseFloat(t[1].toFixed(3))}}),C||"L"!==p.marker&&"M"!==p.marker||i.push({marker:"A",radius:E,values:{radiusX:E,radiusY:E,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":i.push({marker:e.marker,values:e.values})}}))})),{path:p(i),commands:i}}function g(e,t,n){return m([...v(e)],t,n)}n.r(t),n.d(t,{parsePath:()=>v,roundCommands:()=>m,roundCorners:()=>g})},2898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SWRConfig:()=>l,default:()=>c,mutate:()=>a.JG,preload:()=>a.MA,unstable_serialize:()=>s,useSWRConfig:()=>a.kY});var r=n(7294),o=n(1688),a=n(1753);const i={dedupe:!0},l=a.$l.defineProperty(a.J$,"defaultValue",{value:a.u_}),s=e=>(0,a.qC)(e)[0];var c=(0,a.s6)(((e,t,n)=>{const{cache:l,compare:s,suspense:c,fallbackData:u,revalidateOnMount:h,revalidateIfStale:d,refreshInterval:f,refreshWhenHidden:p,refreshWhenOffline:v,keepPreviousData:m}=n,[g,y,b]=a.DY.get(l),[w,E]=(0,a.qC)(e),x=(0,r.useRef)(!1),_=(0,r.useRef)(!1),S=(0,r.useRef)(w),C=(0,r.useRef)(t),O=(0,r.useRef)(n),z=()=>O.current,M=()=>z().isVisible()&&z().isOnline(),[T,P,k,A]=(0,a.JN)(l,w),L=(0,r.useRef)({}).current,R=(0,a.o8)(u)?n.fallback[w]:u,N=(e,t)=>{let n=!0;for(const r in L){const o=r;"data"===o?s(t[o],e[o])||(0,a.o8)(e[o])&&s(t[o],G)||(n=!1):t[o]!==e[o]&&(n=!1)}return n},H=(0,r.useMemo)((()=>{const e=!!w&&!!t&&((0,a.o8)(h)?!z().isPaused()&&!c&&(!!(0,a.o8)(d)||d):h),n=t=>{const n=(0,a.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=T(),o=A(),i=n(r),l=r===o?i:n(o);let s=i;return[()=>{const e=n(T());return N(e,s)?s:s=e},()=>l]}),[l,w]),I=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>k(w,((t,n)=>{N(n,t)||e()}))),[l,w]),H[0],H[1]),V=!x.current,D=g[w]&&g[w].length>0,j=I.data,F=(0,a.o8)(j)?R:j,B=I.error,U=(0,r.useRef)(F),G=m?(0,a.o8)(j)?U.current:j:F,q=!(D&&!(0,a.o8)(B))&&(V&&!(0,a.o8)(h)?h:!z().isPaused()&&(c?!(0,a.o8)(F)&&d:(0,a.o8)(F)||d)),W=!!(w&&t&&V&&q),K=(0,a.o8)(I.isValidating)?W:I.isValidating,Y=(0,a.o8)(I.isLoading)?W:I.isLoading,Z=(0,r.useCallback)((async e=>{const t=C.current;if(!w||!t||_.current||z().isPaused())return!1;let r,o,i=!0;const l=e||{},c=!b[w]||!l.dedupe,u=()=>a.w6?!_.current&&w===S.current&&x.current:w===S.current,h={isValidating:!1,isLoading:!1},d=()=>{P(h)},f=()=>{const e=b[w];e&&e[1]===o&&delete b[w]},p={isValidating:!0};(0,a.o8)(T().data)&&(p.isLoading=!0);try{if(c&&(P(p),n.loadingTimeout&&(0,a.o8)(T().data)&&setTimeout((()=>{i&&u()&&z().onLoadingSlow(w,n)}),n.loadingTimeout),b[w]=[t(E),(0,a.u3)()]),[r,o]=b[w],r=await r,c&&setTimeout(f,n.dedupingInterval),!b[w]||b[w][1]!==o)return c&&u()&&z().onDiscarded(w),!1;h.error=a.i_;const e=y[w];if(!(0,a.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return d(),c&&u()&&z().onDiscarded(w),!1;const l=T().data;h.data=s(l,r)?l:r,c&&u()&&z().onSuccess(r,w,n)}catch(e){f();const t=z(),{shouldRetryOnError:n}=t;t.isPaused()||(h.error=e,c&&u()&&(t.onError(e,w,t),(!0===n||(0,a.mf)(n)&&n(e))&&M()&&t.onErrorRetry(e,w,t,(e=>{const t=g[w];t&&t[0]&&t[0](a.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return i=!1,d(),!0}),[w,l]),$=(0,r.useCallback)(((...e)=>(0,a.BN)(l,S.current,...e)),[]);if((0,a.LI)((()=>{C.current=t,O.current=n,(0,a.o8)(j)||(U.current=j)})),(0,a.LI)((()=>{if(!w)return;const e=Z.bind(a.i_,i);let t=0;const n=(0,a.ko)(w,g,((n,r={})=>{if(n==a.sj.FOCUS_EVENT){const n=Date.now();z().revalidateOnFocus&&n>t&&M()&&(t=n+z().focusThrottleInterval,e())}else if(n==a.sj.RECONNECT_EVENT)z().revalidateOnReconnect&&M()&&e();else{if(n==a.sj.MUTATE_EVENT)return Z();if(n==a.sj.ERROR_REVALIDATE_EVENT)return Z(r)}}));return _.current=!1,S.current=w,x.current=!0,P({_k:E}),q&&((0,a.o8)(F)||a.W6?e():(0,a.kw)(e)),()=>{_.current=!0,n()}}),[w]),(0,a.LI)((()=>{let e;function t(){const t=(0,a.mf)(f)?f(T().data):f;t&&-1!==e&&(e=setTimeout(n,t))}function n(){T().error||!p&&!z().isVisible()||!v&&!z().isOnline()?t():Z(i).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[f,p,v,w]),(0,r.useDebugValue)(G),c&&(0,a.o8)(F)&&w){if(!a.w6&&a.W6)throw new Error("Fallback data is required when using suspense in SSR.");throw C.current=t,O.current=n,_.current=!1,(0,a.o8)(B)?Z(i):B}return{mutate:$,get data(){return L.data=!0,G},get error(){return L.error=!0,B},get isValidating(){return L.isValidating=!0,K},get isLoading(){return L.isLoading=!0,Y}}}))},9050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f,infinite:()=>d,unstable_serialize:()=>h});var r=n(7294),o=n(1688),a=n(1753);const i={dedupe:!0};a.$l.defineProperty(a.J$,"defaultValue",{value:a.u_});var l=(0,a.s6)(((e,t,n)=>{const{cache:l,compare:s,suspense:c,fallbackData:u,revalidateOnMount:h,revalidateIfStale:d,refreshInterval:f,refreshWhenHidden:p,refreshWhenOffline:v,keepPreviousData:m}=n,[g,y,b]=a.DY.get(l),[w,E]=(0,a.qC)(e),x=(0,r.useRef)(!1),_=(0,r.useRef)(!1),S=(0,r.useRef)(w),C=(0,r.useRef)(t),O=(0,r.useRef)(n),z=()=>O.current,M=()=>z().isVisible()&&z().isOnline(),[T,P,k,A]=(0,a.JN)(l,w),L=(0,r.useRef)({}).current,R=(0,a.o8)(u)?n.fallback[w]:u,N=(e,t)=>{let n=!0;for(const r in L){const o=r;"data"===o?s(t[o],e[o])||(0,a.o8)(e[o])&&s(t[o],G)||(n=!1):t[o]!==e[o]&&(n=!1)}return n},H=(0,r.useMemo)((()=>{const e=!!w&&!!t&&((0,a.o8)(h)?!z().isPaused()&&!c&&(!!(0,a.o8)(d)||d):h),n=t=>{const n=(0,a.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=T(),o=A(),i=n(r),l=r===o?i:n(o);let s=i;return[()=>{const e=n(T());return N(e,s)?s:s=e},()=>l]}),[l,w]),I=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>k(w,((t,n)=>{N(n,t)||e()}))),[l,w]),H[0],H[1]),V=!x.current,D=g[w]&&g[w].length>0,j=I.data,F=(0,a.o8)(j)?R:j,B=I.error,U=(0,r.useRef)(F),G=m?(0,a.o8)(j)?U.current:j:F,q=!(D&&!(0,a.o8)(B))&&(V&&!(0,a.o8)(h)?h:!z().isPaused()&&(c?!(0,a.o8)(F)&&d:(0,a.o8)(F)||d)),W=!!(w&&t&&V&&q),K=(0,a.o8)(I.isValidating)?W:I.isValidating,Y=(0,a.o8)(I.isLoading)?W:I.isLoading,Z=(0,r.useCallback)((async e=>{const t=C.current;if(!w||!t||_.current||z().isPaused())return!1;let r,o,i=!0;const l=e||{},c=!b[w]||!l.dedupe,u=()=>a.w6?!_.current&&w===S.current&&x.current:w===S.current,h={isValidating:!1,isLoading:!1},d=()=>{P(h)},f=()=>{const e=b[w];e&&e[1]===o&&delete b[w]},p={isValidating:!0};(0,a.o8)(T().data)&&(p.isLoading=!0);try{if(c&&(P(p),n.loadingTimeout&&(0,a.o8)(T().data)&&setTimeout((()=>{i&&u()&&z().onLoadingSlow(w,n)}),n.loadingTimeout),b[w]=[t(E),(0,a.u3)()]),[r,o]=b[w],r=await r,c&&setTimeout(f,n.dedupingInterval),!b[w]||b[w][1]!==o)return c&&u()&&z().onDiscarded(w),!1;h.error=a.i_;const e=y[w];if(!(0,a.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return d(),c&&u()&&z().onDiscarded(w),!1;const l=T().data;h.data=s(l,r)?l:r,c&&u()&&z().onSuccess(r,w,n)}catch(e){f();const t=z(),{shouldRetryOnError:n}=t;t.isPaused()||(h.error=e,c&&u()&&(t.onError(e,w,t),(!0===n||(0,a.mf)(n)&&n(e))&&M()&&t.onErrorRetry(e,w,t,(e=>{const t=g[w];t&&t[0]&&t[0](a.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return i=!1,d(),!0}),[w,l]),$=(0,r.useCallback)(((...e)=>(0,a.BN)(l,S.current,...e)),[]);if((0,a.LI)((()=>{C.current=t,O.current=n,(0,a.o8)(j)||(U.current=j)})),(0,a.LI)((()=>{if(!w)return;const e=Z.bind(a.i_,i);let t=0;const n=(0,a.ko)(w,g,((n,r={})=>{if(n==a.sj.FOCUS_EVENT){const n=Date.now();z().revalidateOnFocus&&n>t&&M()&&(t=n+z().focusThrottleInterval,e())}else if(n==a.sj.RECONNECT_EVENT)z().revalidateOnReconnect&&M()&&e();else{if(n==a.sj.MUTATE_EVENT)return Z();if(n==a.sj.ERROR_REVALIDATE_EVENT)return Z(r)}}));return _.current=!1,S.current=w,x.current=!0,P({_k:E}),q&&((0,a.o8)(F)||a.W6?e():(0,a.kw)(e)),()=>{_.current=!0,n()}}),[w]),(0,a.LI)((()=>{let e;function t(){const t=(0,a.mf)(f)?f(T().data):f;t&&-1!==e&&(e=setTimeout(n,t))}function n(){T().error||!p&&!z().isVisible()||!v&&!z().isOnline()?t():Z(i).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[f,p,v,w]),(0,r.useDebugValue)(G),c&&(0,a.o8)(F)&&w){if(!a.w6&&a.W6)throw new Error("Fallback data is required when using suspense in SSR.");throw C.current=t,O.current=n,_.current=!1,(0,a.o8)(B)?Z(i):B}return{mutate:$,get data(){return L.data=!0,G},get error(){return L.error=!0,B},get isValidating(){return L.isValidating=!0,K},get isLoading(){return L.isLoading=!0,Y}}}));const s="$inf$",c=Promise.resolve(),u=e=>(0,a.qC)(e?e(0,null):null)[0],h=e=>s+u(e),d=e=>(t,n,i)=>{const l=(0,r.useRef)(!1),{cache:h,initialSize:d=1,revalidateAll:f=!1,persistSize:p=!1,revalidateFirstPage:v=!0,revalidateOnMount:m=!1,parallel:g=!1}=i;let y;try{y=u(t),y&&(y=s+y)}catch(e){}const[b,w,E]=(0,a.JN)(h,y),x=(0,r.useCallback)((()=>(0,a.o8)(b()._l)?d:b()._l),[h,y,d]);(0,o.useSyncExternalStore)((0,r.useCallback)((e=>y?E(y,(()=>{e()})):()=>{}),[h,y]),x,x);const _=(0,r.useCallback)((()=>{const e=b()._l;return(0,a.o8)(e)?d:e}),[y,d]),S=(0,r.useRef)(_());(0,a.LI)((()=>{l.current?y&&w({_l:p?S.current:_()}):l.current=!0}),[y,h]);const C=m&&!l.current,O=e(y,(async e=>{const r=b()._i,o=[],l=_(),[s]=(0,a.JN)(h,e),c=s().data,u=[];let d=null;for(let e=0;e<l;++e){const[l,s]=(0,a.qC)(t(e,g?null:d));if(!l)break;const[p,m]=(0,a.JN)(h,l);let y=p().data;const b=f||r||(0,a.o8)(y)||v&&!e&&!(0,a.o8)(c)||C||c&&!(0,a.o8)(c[e])&&!i.compare(c[e],y);if(n&&b){const t=async()=>{y=await n(s),m({data:y,_k:s}),o[e]=y};g?u.push(t):await t()}else o[e]=y;g||(d=y)}return g&&await Promise.all(u.map((e=>e()))),w({_i:a.i_}),o}),i),z=(0,r.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return y?(r&&((0,a.o8)(e)?w({_i:!0}):w({_i:!1})),arguments.length?O.mutate(e,{...n,revalidate:r}):O.mutate()):c}),[y,h]),M=(0,r.useCallback)((e=>{if(!y)return c;const[,n]=(0,a.JN)(h,y);let r;if((0,a.mf)(e)?r=e(_()):"number"==typeof e&&(r=e),"number"!=typeof r)return c;n({_l:r}),S.current=r;const o=[],[i]=(0,a.JN)(h,y);let l=null;for(let e=0;e<r;++e){const[n]=(0,a.qC)(t(e,l)),[r]=(0,a.JN)(h,n),s=n?r().data:a.i_;if((0,a.o8)(s))return z(i().data);o.push(s),l=s}return z(o)}),[y,h,z,_]);return{size:_(),setSize:M,mutate:z,get data(){return O.data},get error(){return O.error},get isValidating(){return O.isValidating},get isLoading(){return O.isLoading}}};var f=(0,a.xD)(l,d)},2177:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t;throw new Error(n?o+": "+n:o)}}},655:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,_T:()=>i,ev:()=>l,pi:()=>a});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 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)};function i(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,a=t.length;o<a;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},2511:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n.g&&n.g;a.global!==a&&a.window!==a&&a.self;var i,l=2147483647,s=36,c=26,u=38,h=700,d=/^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 RangeError(v[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(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 x(e){for(var t,n,r=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function _(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 C(e,t,n){var r=0;for(e=n?g(e/h):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 O(e){var t,n,r,o,a,i,u,h,d,f,p,v=[],m=e.length,y=0,w=128,E=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(a=y,i=1,u=s;o>=m&&b("invalid-input"),((h=(p=e.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:s)>=s||h>g((l-y)/i))&&b("overflow"),y+=h*i,!(h<(d=u<=E?1:u>=E+c?c:u-E));u+=s)i>g(l/(f=s-d))&&b("overflow"),i*=f;E=C(y-a,t=v.length+1,0==a),g(y/t)>l-w&&b("overflow"),w+=g(y/t),y%=t,v.splice(y++,0,w)}return _(v)}function z(e){var t,n,r,o,a,i,u,h,d,f,p,v,m,w,E,_=[];for(v=(e=x(e)).length,t=128,n=0,a=72,i=0;i<v;++i)(p=e[i])<128&&_.push(y(p));for(r=o=_.length,o&&_.push("-");r<v;){for(u=l,i=0;i<v;++i)(p=e[i])>=t&&p<u&&(u=p);for(u-t>g((l-n)/(m=r+1))&&b("overflow"),n+=(u-t)*m,t=u,i=0;i<v;++i)if((p=e[i])<t&&++n>l&&b("overflow"),p==t){for(h=n,d=s;!(h<(f=d<=a?1:d>=a+c?c:d-a));d+=s)E=h-f,w=s-f,_.push(y(S(f+E%w,0))),h=g(E/w);_.push(y(S(h,0))),a=C(n,m,r==o),n=0,++r}++n,++t}return _.join("")}i={version:"1.3.2",ucs2:{decode:x,encode:_},decode:O,encode:z,toASCII:function(e){return E(e,(function(e){return f.test(e)?"xn--"+z(e):e}))},toUnicode:function(e){return E(e,(function(e){return d.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},8575:(e,t,n)=>{"use strict";var r=n(2511),o=n(2502);function a(){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}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){return o.isString(e)&&(e=b(e)),e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var i=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),h=["%","/","?",";","#"].concat(u),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(7673);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),l=-1!==a&&a<e.indexOf("#")?"?":"#",c=e.split(l);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(l);if(b=b.trim(),!n&&1===e.split("#").length){var w=s.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=i.exec(b);if(E){var x=(E=E[0]).toLowerCase();this.protocol=x,b=b.substr(E.length)}if(n||E||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===b.substr(0,2);!_||E&&m[E]||(b=b.substr(2),this.slashes=!0)}if(!m[E]&&(_||E&&!g[E])){for(var S,C,O=-1,z=0;z<d.length;z++)-1!==(M=b.indexOf(d[z]))&&(-1===O||M<O)&&(O=M);for(-1!==(C=-1===O?b.lastIndexOf("@"):b.lastIndexOf("@",O))&&(S=b.slice(0,C),b=b.slice(C+1),this.auth=decodeURIComponent(S)),O=-1,z=0;z<h.length;z++){var M;-1!==(M=b.indexOf(h[z]))&&(-1===O||M<O)&&(O=M)}-1===O&&(O=b.length),this.host=b.slice(0,O),b=b.slice(O),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var P=this.hostname.split(/\./),k=(z=0,P.length);z<k;z++){var A=P[z];if(A&&!A.match(f)){for(var L="",R=0,N=A.length;R<N;R++)A.charCodeAt(R)>127?L+="x":L+=A[R];if(!L.match(f)){var H=P.slice(0,z),I=P.slice(z+1),V=A.match(p);V&&(H.push(V[1]),I.unshift(V[2])),I.length&&(b="/"+I.join(".")+b),this.hostname=H.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var D=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+D,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[x])for(z=0,k=u.length;z<k;z++){var F=u[z];if(-1!==b.indexOf(F)){var B=encodeURIComponent(F);B===F&&(B=escape(F)),b=b.split(F).join(B)}}var U=b.indexOf("#");-1!==U&&(this.hash=b.substr(U),b=b.slice(0,U));var G=b.indexOf("?");if(-1!==G?(this.search=b.substr(G),this.query=b.substr(G+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,G)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var q=this.search||"";this.path=D+q}return this.href=this.format(),this},a.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||"",a=!1,i="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(i=y.stringify(this.query));var l=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),l&&"?"!==l.charAt(0)&&(l="?"+l),t+a+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(l=l.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(o.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),i=0;i<r.length;i++){var l=r[i];n[l]=this[l]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),c=0;c<s.length;c++){var u=s[c];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var h=Object.keys(e),d=0;d<h.length;d++){var f=h[d];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.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 v=n.pathname||"",y=n.search||"";n.path=v+y}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=w||b||n.host&&e.pathname,x=E,_=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),E=E&&(""===p[0]||""===_[0])),w)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,_=p;else if(p.length)_||(_=[]),_.pop(),_=_.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search))return S&&(n.hostname=n.host=_.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],O=(n.host||e.host||_.length>1)&&("."===C||".."===C)||""===C,z=0,M=_.length;M>=0;M--)"."===(C=_[M])?_.splice(M,1):".."===C?(_.splice(M,1),z++):z&&(_.splice(M,1),z--);if(!E&&!x)for(;z--;z)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),O&&"/"!==_.join("/").substr(-1)&&_.push("");var T,P=""===_[0]||_[0]&&"/"===_[0].charAt(0);return S&&(n.hostname=n.host=P?"":_.length?_.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift())),(E=E||n.host&&_.length)&&!P&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(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},a.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},2502:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},4420:(e,t,n)=>{var r=n(7294);e.exports=function(e,t,n){const o=r.useRef("loading"),a=r.useRef(),[i,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",a.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",i),r.addEventListener("error",s),t&&(r.crossOrigin=t),n&&(r.referrerpolicy=n),r.src=e,function(){r.removeEventListener("load",i),r.removeEventListener("error",s)}}function i(){o.current="loaded",a.current=r,l(Math.random())}function s(){o.current="failed",a.current=void 0,l(Math.random())}}),[e,t,n]),[a.current,o.current]}},3250:(e,t,n)=>{"use strict";var r=n(7294),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=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=a({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]),i((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},1688:(e,t,n)=>{"use strict";e.exports=n(3250)},2473: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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}(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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}(e):"#comment"===e.nodeName?function(e){return"\x3c!--"+e.data.replace(/-/g,"&#45;")+"--\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)},7326:(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})},7462:(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})},1721:(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})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},5080:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(6382),o=n(4391),a=r.zA.performance&&r.zA.performance.now?function(){return r.zA.performance.now()}:function(){return(new Date).getTime()};class i{constructor(e,t){this.id=i.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:a(),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=i.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=a(),i._addAnimation(this),this}stop(){return i._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,i,l,s,c={},u=this.animations;for(r=0;r<u.length;r++)if(t=(e=u[r]).layers,n=e.func,e._updateFrameObject(a()),i=t.length,!n||!1!==n.call(e,e.frame))for(o=0;o<i;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=i;e.animations.length?(e._runFrames(),o.Z.requestAnimFrame(e._animationLoop)):e.animRunning=!1}static _handleAnimation(){this.animRunning||(this.animRunning=!0,o.Z.requestAnimFrame(this._animationLoop))}}i.animations=[],i.animIdCounter=0,i.animRunning=!1},7044:(e,t,n)=>{"use strict";n.d(t,{RF:()=>u,Xz:()=>c,hh:()=>h});var r,o=n(4391),a=n(4333),i=n(6382),l=n(2772),s=n(2513);class c{constructor(e){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var t=(e||{}).pixelRatio||i.So.pixelRatio||function(){if(r)return r;var e=o.Z.createCanvasElement(),t=e.getContext("2d");return r=(i.So._global.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),o.Z.releaseCanvas(e),r}();this.pixelRatio=t,this._canvas=o.Z.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 o.Z.error("Unable to get data URL. "+e.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}}}l.F.addGetterSetter(c,"pixelRatio",void 0,(0,s.Kg)());class u extends c{constructor(e={width:0,height:0}){super(e),this.context=new a.xn(this),this.setSize(e.width,e.height)}}class h extends c{constructor(e={width:0,height:0}){super(e),this.hitCanvas=!0,this.context=new a.jR(this),this.setSize(e.width,e.height)}}},671:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(2772),o=n(7874),a=n(2513);class i extends o.N{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.N.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.N.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(),a=this._getCanvasCache(),i=a&&a.scene,l=r&&r.isCache;if(!this.isVisible()&&!l)return this;if(i){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(),a=this._getCanvasCache();if(a&&a.hit){o.save();var i=this.getAbsoluteTransform(t).getMatrix();o.transform(i[0],i[1],i[2],i[3],i[4],i[5]),this._drawCachedHitCanvas(o),o.restore()}else this._drawChildren("drawHit",r,t);return this}_drawChildren(e,t,n){var r,o=t&&t.getContext(),a=this.clipWidth(),i=this.clipHeight(),l=this.clipFunc(),s=a&&i||l;const c=n===this;if(s){o.save();var u=this.getAbsoluteTransform(n),h=u.getMatrix();if(o.transform(h[0],h[1],h[2],h[3],h[4],h[5]),o.beginPath(),l)l.call(this,o,this);else{var d=this.clipX(),f=this.clipY();o.rect(d,f,a,i)}o.clip(),h=u.copy().invert().getMatrix(),o.transform(h[0],h[1],h[2],h[3],h[4],h[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,a,i,l=(e=e||{}).skipTransform,s=e.relativeTo,c=this;null===(t=this.children)||void 0===t||t.forEach((function(t){if(t.visible()){var i=t.getClientRect({relativeTo:c,skipShadow:e.skipShadow,skipStroke:e.skipStroke});0===i.width&&0===i.height||(void 0===n?(n=i.x,r=i.y,o=i.x+i.width,a=i.y+i.height):(n=Math.min(n,i.x),r=Math.min(r,i.y),o=Math.max(o,i.x+i.width),a=Math.max(a,i.y+i.height)))}}));for(var u=this.find("Shape"),h=!1,d=0;d<u.length;d++)if(u[d]._isVisible(this)){h=!0;break}return i=h&&void 0!==n?{x:n,y:r,width:o-n,height:a-r}:{x:0,y:0,width:0,height:0},l?i:this._transformedRect(i,s)}}r.F.addComponentsGetterSetter(i,"clip",["x","y","width","height"]),r.F.addGetterSetter(i,"clipX",void 0,(0,a.Kg)()),r.F.addGetterSetter(i,"clipY",void 0,(0,a.Kg)()),r.F.addGetterSetter(i,"clipWidth",void 0,(0,a.Kg)()),r.F.addGetterSetter(i,"clipHeight",void 0,(0,a.Kg)()),r.F.addGetterSetter(i,"clipFunc")},4333:(e,t,n)=>{"use strict";n.d(t,{_y:()=>i,jR:()=>s,xn:()=>l});var r=n(4391),o=n(6382),a=["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 i{constructor(e){this.canvas=e,o.So.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,a,i,l=this.traceArr,s=l.length,c="";for(n=0;n<s;n++)(a=(o=l[n]).method)?(i=o.args,c+=a,e?c+="()":r.Z._isArray(i[0])?c+="(["+i.join(",")+"])":(t&&(i=i.map((e=>"number"==typeof e?Math.floor(e):e))),c+="("+i.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,a){this._context.arc(e,t,n,r,o,a)}arcTo(e,t,n,r,o){this._context.arcTo(e,t,n,r,o)}beginPath(){this._context.beginPath()}bezierCurveTo(e,t,n,r,o,a){this._context.bezierCurveTo(e,t,n,r,o,a)}clearRect(e,t,n,r){this._context.clearRect(e,t,n,r)}clip(){this._context.clip()}closePath(){this._context.closePath()}createImageData(e,t){var n=arguments;return 2===n.length?this._context.createImageData(e,t):1===n.length?this._context.createImageData(e):void 0}createLinearGradient(e,t,n,r){return this._context.createLinearGradient(e,t,n,r)}createPattern(e,t){return this._context.createPattern(e,t)}createRadialGradient(e,t,n,r,o,a){return this._context.createRadialGradient(e,t,n,r,o,a)}drawImage(e,t,n,r,o,a,i,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,a,i,l,s)}ellipse(e,t,n,r,o,a,i,l){this._context.ellipse(e,t,n,r,o,a,i,l)}isPointInPath(e,t,n,r){return n?this._context.isPointInPath(n,e,t,r):this._context.isPointInPath(e,t,r)}fill(e){e?this._context.fill(e):this._context.fill()}fillRect(e,t,n,r){this._context.fillRect(e,t,n,r)}strokeRect(e,t,n,r){this._context.strokeRect(e,t,n,r)}fillText(e,t,n,r){r?this._context.fillText(e,t,n,r):this._context.fillText(e,t,n)}measureText(e){return this._context.measureText(e)}getImageData(e,t,n,r){return this._context.getImageData(e,t,n,r)}lineTo(e,t){this._context.lineTo(e,t)}moveTo(e,t){this._context.moveTo(e,t)}rect(e,t,n,r){this._context.rect(e,t,n,r)}putImageData(e,t,n){this._context.putImageData(e,t,n)}quadraticCurveTo(e,t,n,r){this._context.quadraticCurveTo(e,t,n,r)}restore(){this._context.restore()}rotate(e){this._context.rotate(e)}save(){this._context.save()}scale(e,t){this._context.scale(e,t)}setLineDash(e){this._context.setLineDash?this._context.setLineDash(e):"mozDash"in this._context?this._context.mozDash=e:"webkitLineDash"in this._context&&(this._context.webkitLineDash=e)}getLineDash(){return this._context.getLineDash()}setTransform(e,t,n,r,o,a){this._context.setTransform(e,t,n,r,o,a)}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,a){this._context.transform(e,t,n,r,o,a)}translate(e,t){this._context.translate(e,t)}_enableTrace(){var e,t,n=this,o=a.length,i=this.setAttr,l=function(e){var o,a=n[e];n[e]=function(){return t=function(e){var t,n,o=[],a=e.length,i=r.Z;for(t=0;t<a;t++)n=e[t],i._isNumber(n)?n=Math.round(1e3*n)/1e3:i._isString(n)||(n+=""),o.push(n);return o}(Array.prototype.slice.call(arguments,0)),o=a.apply(n,arguments),n._trace({method:e,args:t}),o}};for(e=0;e<o;e++)l(a[e]);n.setAttr=function(){i.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)}}["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"].forEach((function(e){Object.defineProperty(i.prototype,e,{get(){return this._context[e]},set(t){this._context[e]=t}})}));class l extends i{constructor(e){super(e),this._context=e._canvas.getContext("2d")}_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 a=e.getFillRadialGradientColorStops();a&&"radial-gradient"===n?this._fillRadialGradient(e):t?this._fillColor(e):r?this._fillPattern(e):o?this._fillLinearGradient(e):a&&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 a=0;a<r.length;a+=2)o.addColorStop(r[a],r[a+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",a=null!==(n=e.getShadowBlur())&&void 0!==n?n:5,i=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",a*Math.min(Math.abs(c),Math.abs(u))),this.setAttr("shadowOffsetX",i.x*c),this.setAttr("shadowOffsetY",i.y*u)}}class s extends i{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()}}}},4117:(e,t,n)=>{"use strict";n.d(t,{DD:()=>a});var r=n(6382),o=n(4391);const a={get isDragging(){var e=!1;return a._dragElements.forEach((t=>{"dragging"===t.dragStatus&&(e=!0)})),e},justDragged:!1,get node(){var e;return a._dragElements.forEach((t=>{e=t.node})),e},_dragElements:new Map,_drag(e){const t=[];a._dragElements.forEach(((n,r)=>{const{node:a}=n,i=a.getStage();i.setPointersPositions(e),void 0===n.pointerId&&(n.pointerId=o.Z._getFirstPointerId(e));const l=i._changedPointerPositions.find((e=>e.id===n.pointerId));if(l){if("dragging"!==n.dragStatus){var s=a.dragDistance();if(Math.max(Math.abs(l.x-n.startPointerPos.x),Math.abs(l.y-n.startPointerPos.y))<s)return;if(a.startDrag({evt:e}),!a.isDragging())return}a._setDragPosition(e,n),t.push(a)}})),t.forEach((t=>{t.fire("dragmove",{type:"dragmove",target:t,evt:e},!0)}))},_endDragBefore(e){const t=[];a._dragElements.forEach((n=>{const{node:o}=n,i=o.getStage();if(e&&i.setPointersPositions(e),!i._changedPointerPositions.find((e=>e.id===n.pointerId)))return;"dragging"!==n.dragStatus&&"stopped"!==n.dragStatus||(a.justDragged=!0,r.So._mouseListenClick=!1,r.So._touchListenClick=!1,r.So._pointerListenClick=!1,n.dragStatus="stopped");const l=n.node.getLayer()||n.node instanceof r.So.Stage&&n.node;l&&-1===t.indexOf(l)&&t.push(l)})),t.forEach((e=>{e.draw()}))},_endDragAfter(e){a._dragElements.forEach(((t,n)=>{"stopped"===t.dragStatus&&t.node.fire("dragend",{type:"dragend",target:t.node,evt:e},!0),"dragging"!==t.dragStatus&&a._dragElements.delete(n)}))}};r.So.isBrowser&&(window.addEventListener("mouseup",a._endDragBefore,!0),window.addEventListener("touchend",a._endDragBefore,!0),window.addEventListener("mousemove",a._drag),window.addEventListener("touchmove",a._drag),window.addEventListener("mouseup",a._endDragAfter,!1),window.addEventListener("touchend",a._endDragAfter,!1))},2772:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var r=n(4391),o=n(2513),a="get",i="set";const l={addGetterSetter(e,t,n,r,o){l.addGetter(e,t,n),l.addSetter(e,t,r,o),l.addOverloadedGetterSetter(e,t)},addGetter(e,t,n){var o=a+r.Z._capitalize(t);e.prototype[o]=e.prototype[o]||function(){var e=this.attrs[t];return void 0===e?n:e}},addSetter(e,t,n,o){var a=i+r.Z._capitalize(t);e.prototype[a]||l.overWriteSetter(e,t,n,o)},overWriteSetter(e,t,n,o){var a=i+r.Z._capitalize(t);e.prototype[a]=function(e){return n&&null!=e&&(e=n.call(this,e,t)),this._setAttr(t,e),o&&o.call(this),this}},addComponentsGetterSetter(e,t,n,s,c){var u,h,d=n.length,f=r.Z._capitalize,p=a+f(t),v=i+f(t);e.prototype[p]=function(){var e={};for(u=0;u<d;u++)e[h=n[u]]=this.getAttr(t+f(h));return e};var m=(0,o.uZ)(n);e.prototype[v]=function(e){var r,o=this.attrs[t];for(r in s&&(e=s.call(this,e)),m&&m.call(this,e,t),e)e.hasOwnProperty(r)&&this._setAttr(t+f(r),e[r]);return e||n.forEach((e=>{this._setAttr(t+f(e),void 0)})),this._fireChangeEvent(t,o,e),c&&c.call(this),this},l.addOverloadedGetterSetter(e,t)},addOverloadedGetterSetter(e,t){var n=r.Z._capitalize(t),o=i+n,l=a+n;e.prototype[t]=function(){return arguments.length?(this[o](arguments[0]),this):this[l]()}},addDeprecatedGetterSetter(e,t,n,o){r.Z.error("Adding deprecated "+t);var i=a+r.Z._capitalize(t),s=t+" property is deprecated and will be removed soon. Look at Konva change log for more information.";e.prototype[i]=function(){r.Z.error(s);var e=this.attrs[t];return void 0===e?n:e},l.addSetter(e,t,o,(function(){r.Z.error(s)})),l.addOverloadedGetterSetter(e,t)},backCompat(e,t){r.Z.each(t,(function(t,n){var o=e.prototype[n],l=a+r.Z._capitalize(t),s=i+r.Z._capitalize(t);function c(){o.apply(this,arguments),r.Z.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}}},6382:(e,t,n)=>{"use strict";n.d(t,{DA:()=>i,So:()=>a,zA:()=>o});var r=Math.PI/180;const o="undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{},a={_global:o,version:"8.4.3",isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(e){}.toString()),dblClickWindow:400,getAngle:e=>a.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:()=>a.DD.isDragging,isDragReady:()=>!!a.DD.node,releaseCanvasOnDestroy:!0,document:o.document,_injectGlobal(e){o.Konva=e}},i=e=>{a[e.prototype.getClassName()]=e};a._injectGlobal(a)},9908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4391),o=n(671),a=n(6382);class i extends o.W{_validateAdd(e){var t=e.getType();"Group"!==t&&"Shape"!==t&&r.Z.throw("You may only add groups and shapes to groups.")}}i.prototype.nodeType="Group",(0,a.DA)(i)},7874:(e,t,n)=>{"use strict";n.d(t,{N:()=>S});var r=n(4391),o=n(2772),a=n(7044),i=n(6382),l=n(4117),s=n(2513),c="absoluteOpacity",u="allEventListeners",h="absoluteTransform",d="absoluteScale",f="canvas",p="listening",v="mouseenter",m="mouseleave",g="Shape",y=" ",b="stage",w="transform",E="visible",x=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(y);let _=1;class S{constructor(e){this._id=_++,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!==h||!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===h)&&!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===h&&this.fire("absoluteTransformChange")}clearCache(){if(this._cache.has(f)){const{scene:e,filter:t,hit:n}=this._cache.get(f);r.Z.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),i=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,h=t.offset||0,p=t.drawBorder||!1,v=t.hitCanvasPixelRatio||1;if(o&&i){o+=2*h+1,i+=2*h+1,s-=h,u-=h;var m=new a.RF({pixelRatio:l,width:o,height:i}),g=new a.RF({pixelRatio:l,width:0,height:0}),y=new a.hh({pixelRatio:v,width:o,height:i}),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(d),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,i),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.Z.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,a,i=[{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 i.forEach((function(e){var t=l.point(e);void 0===n&&(n=o=t.x,r=a=t.y),n=Math.min(n,t.x),r=Math.min(r,t.y),o=Math.max(o,t.x),a=Math.max(a,t.y)})),{x:n,y:r,width:o-n,height:a-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,a=this.filters(),i=this._getCanvasCache(),l=i.scene,s=i.filter,c=s.getContext();if(a){if(!this._filterUpToDate){var u=l.pixelRatio;s.setSize(l.width/l.pixelRatio,l.height/l.pixelRatio);try{for(e=a.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=a[n])?(o.call(this,t),c.putImageData(t,0,0)):r.Z.error("Filter should be type of function, but got "+typeof o+" instead. Please check correct filters")}catch(e){r.Z.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,a,i=e.split(y),l=i.length;for(n=0;n<l;n++)o=(r=i[n].split("."))[0],a=r[1]||"",this.eventListeners[o]||(this.eventListeners[o]=[]),this.eventListeners[o].push({name:a,handler:t});return this}off(e,t){var n,r,o,a,i,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(a=(o=l[n].split("."))[0],i=o[1],a)this.eventListeners[a]&&this._off(a,i,t);else for(r in this.eventListeners)this._off(r,i,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 a=e.target.findAncestors(t,!0,o),i=0;i<a.length;i++)(e=r.Z.cloneObject(e)).currentTarget=a[i],n.call(a[i],e)}))}remove(){return this.isDragging()&&this.stopDrag(),l.DD._dragElements.delete(this._id),this._remove(),this}_clearCaches(){this._clearSelfAndDescendantCache(h),this._clearSelfAndDescendantCache(c),this._clearSelfAndDescendantCache(d),this._clearSelfAndDescendantCache(b),this._clearSelfAndDescendantCache(E),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.Z._capitalize(e);return r.Z._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.Z._capitalize(t),r.Z._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(E,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&&!i.So.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(),a=this,i=0;return"Stage"!==a.nodeType&&function l(s){for(e=[],t=s.length,n=0;n<t;n++)r=s[n],i++,r.nodeType!==g&&(e=e.concat(r.getChildren().slice())),r._id===a._id&&(n=t);e.length>0&&e[0].getDepth()<=o&&l(e)}(a.getStage().getChildren()),i}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(h)),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(),a=new r.w,i=this.offset();return a.m=o.slice(),a.translate(i.x,i.y),a.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(h),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=[],a=this.getParent();if(!t||t._id!==this._id){for(o.unshift(this);a&&(!t||a._id!==t._id);)o.unshift(a),a=a.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.Z.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.Z.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.Z.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.Z.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.Z.warn("Node has no parent. zIndex parameter is ignored."),this;(e<0||e>=this.parent.children.length)&&r.Z.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,a={},i=this.getAttrs();for(e in a.attrs={},i)t=i[e],r.Z.isObject(t)&&!r.Z._isPlainObject(t)&&!r.Z._isArray(t)||(n="function"==typeof this[e]&&this[e],delete i[e],o=n?n.call(this):null,i[e]=t,o!==t&&(a.attrs[e]=t));return a.className=this.getClassName(),r.Z._prepareToStringify(a)}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(","),a=o.length;for(t=0;t<a;t++)if(n=o[t],r.Z.isValidSelector(n)||(r.Z.warn('Selector "'+n+'" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'),r.Z.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'),r.Z.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(h,this._getAbsoluteTransform)}_getAbsoluteTransform(e){var t;if(e)return t=new r.w,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(h)||new r.w,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.w;n.reset();var o=this.x(),a=this.y(),l=i.So.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,h=this.attrs.skewY||0,d=this.attrs.offsetX||0,f=this.attrs.offsetY||0;return 0===o&&0===a||n.translate(o,a),0!==l&&n.rotate(l),0===u&&0===h||n.skew(u,h),1===s&&1===c||n.scale(s,c),0===d&&0===f||n.translate(-1*d,-1*f),n.dirty=!1,n}clone(e){var t,n,o,a,i,l=r.Z.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,a=0;a<o;a++)(i=n[a]).name.indexOf("konva")<0&&(s.eventListeners[t]||(s.eventListeners[t]=[]),s.eventListeners[t].push(i));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),i=e.pixelRatio||1,l=new a.RF({width:e.width||Math.ceil(t.width)||(n?n.width():0),height:e.height||Math.ceil(t.height)||(n?n.height():0),pixelRatio:i}),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.Z._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():i.So.dragDistance}_off(e,t,n){var r,o,a,i=this.eventListeners[e];for(r=0;r<i.length;r++)if(o=i[r].name,a=i[r].handler,!("konva"===o&&"konva"!==t||t&&o!==t||n&&n!==a)){if(i.splice(r,1),0===i.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.Z._capitalize(e)];return r.Z._isFunction(n)?n.call(this,t):this._setAttr(e,t),this}_requestDraw(){if(i.So.autoDrawEnabled){const e=this.getLayer()||this.getStage();null==e||e.batchDraw()}}_setAttr(e,t){var n=this.attrs[e];(n!==t||r.Z.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){let t=this._cache.get(u);if(!t){t={};let e=Object.getPrototypeOf(this);for(;e;)if(e.eventListeners){for(var n in e.eventListeners){const r=e.eventListeners[n],o=t[n]||[];t[n]=r.concat(o)}e=Object.getPrototypeOf(e)}else e=Object.getPrototypeOf(e);this._cache.set(u,t)}return t[e]}_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},a=this.dragBoundFunc();if(void 0!==a){const t=a.call(this,o,e);t?o=t:r.Z.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||i.So.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.Z.haveIntersection(n,this.getClientRect())}static create(e,t){return r.Z._isString(e)&&(e=JSON.parse(e)),this._createNode(e,t)}static _createNode(e,t){var n,o,a,l=S.prototype.getClassName.call(e),s=e.children;if(t&&(e.attrs.container=t),i.So[l]||(r.Z.warn('Can not find a node with class name "'+l+'". Fallback to "Shape".'),l="Shape"),n=new(0,i.So[l])(e.attrs),s)for(o=s.length,a=0;a<o;a++)n.add(S._createNode(s[a]));return n}}S.prototype.nodeType="Node",S.prototype._attrsAffectingSize=[],S.prototype.eventListeners={},S.prototype.on.call(S.prototype,x,(function(){this._batchingTransformChange?this._needClearTransformCache=!0:(this._clearCache(w),this._clearSelfAndDescendantCache(h))})),S.prototype.on.call(S.prototype,"visibleChange.konva",(function(){this._clearSelfAndDescendantCache(E)})),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 C=o.F.addGetterSetter;C(S,"zIndex"),C(S,"absolutePosition"),C(S,"position"),C(S,"x",0,(0,s.Kg)()),C(S,"y",0,(0,s.Kg)()),C(S,"globalCompositeOperation","source-over",(0,s.sY)()),C(S,"opacity",1,(0,s.Kg)()),C(S,"name","",(0,s.sY)()),C(S,"id","",(0,s.sY)()),C(S,"rotation",0,(0,s.Kg)()),o.F.addComponentsGetterSetter(S,"scale",["x","y"]),C(S,"scaleX",1,(0,s.Kg)()),C(S,"scaleY",1,(0,s.Kg)()),o.F.addComponentsGetterSetter(S,"skew",["x","y"]),C(S,"skewX",0,(0,s.Kg)()),C(S,"skewY",0,(0,s.Kg)()),o.F.addComponentsGetterSetter(S,"offset",["x","y"]),C(S,"offsetX",0,(0,s.Kg)()),C(S,"offsetY",0,(0,s.Kg)()),C(S,"dragDistance",null,(0,s.Kg)()),C(S,"width",0,(0,s.Kg)()),C(S,"height",0,(0,s.Kg)()),C(S,"listening",!0,(0,s.I0)()),C(S,"preventDefault",!0,(0,s.I0)()),C(S,"filters",null,(function(e){return this._filterUpToDate=!1,e})),C(S,"visible",!0,(0,s.I0)()),C(S,"transformsEnabled","all",(0,s.sY)()),C(S,"size"),C(S,"dragBoundFunc"),C(S,"draggable",!1,(0,s.I0)()),o.F.backCompat(S,{rotateDeg:"rotate",setRotationDeg:"setRotation",getRotationDeg:"getRotation"})},6287:(e,t,n)=>{"use strict";n.d(t,{I5:()=>c,Xg:()=>u,q0:()=>s,rl:()=>i,yM:()=>l});var r=n(6382);const o=new Map,a=void 0!==r.So._global.PointerEvent;function i(e){return o.get(e)}function l(e){return{evt:e,pointerId:e.pointerId}}function s(e,t){return o.get(e)===t}function c(e,t){u(e),t.getStage()&&(o.set(e,t),a&&t._fire("gotpointercapture",l(new PointerEvent("gotpointercapture"))))}function u(e,t){const n=o.get(e);if(!n)return;const r=n.getStage();r&&r.content,o.delete(e),a&&n._fire("lostpointercapture",l(new PointerEvent("lostpointercapture")))}},4786:(e,t,n)=>{"use strict";n.d(t,{J:()=>m,b:()=>g});var r=n(6382),o=n(4391),a=n(2772),i=n(7874),l=n(2513),s=n(6287),c="hasShadow",u="shadowRGBA",h="patternImage",d="linearGradient",f="radialGradient";let p;function v(){return p||(p=o.Z.createCanvasElement().getContext("2d"),p)}const m={};class g extends i.N{constructor(e){let t;for(super(e);t=o.Z.getRandomColor(),!t||t in m;);this.colorKey=t,m[t]=this}getContext(){return o.Z.warn("shape.getContext() method is deprecated. Please do not use it."),this.getLayer().getContext()}getCanvas(){return o.Z.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(c,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=v().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");if(e&&e.setTransform){const t=new o.w;t.translate(this.fillPatternX(),this.fillPatternY()),t.rotate(r.So.getAngle(this.fillPatternRotation())),t.scale(this.fillPatternScaleX(),this.fillPatternScaleY()),t.translate(-1*this.fillPatternOffsetX(),-1*this.fillPatternOffsetY());const n=t.getMatrix(),a="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(a)}return e}}_getLinearGradient(){return this._getCache(d,this.__getLinearGradient)}__getLinearGradient(){var e=this.fillLinearGradientColorStops();if(e){for(var t=v(),n=this.fillLinearGradientStartPoint(),r=this.fillLinearGradientEndPoint(),o=t.createLinearGradient(n.x,n.y,r.x,r.y),a=0;a<e.length;a+=2)o.addColorStop(e[a],e[a+1]);return o}}_getRadialGradient(){return this._getCache(f,this.__getRadialGradient)}__getRadialGradient(){var e=this.fillRadialGradientColorStops();if(e){for(var t=v(),n=this.fillRadialGradientStartPoint(),r=this.fillRadialGradientEndPoint(),o=t.createRadialGradient(n.x,n.y,this.fillRadialGradientStartRadius(),r.x,r.y,this.fillRadialGradientEndRadius()),a=0;a<e.length;a+=2)o.addColorStop(e[a],e[a+1]);return o}}getShadowRGBA(){return this._getCache(u,this._getShadowRGBA)}_getShadowRGBA(){if(this.hasShadow()){var e=o.Z.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 i.N.prototype.destroy.call(this),delete m[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 a=this.hasShadow(),i=this.shadowForStrokeEnabled();return!!(n&&r&&a&&i)}setStrokeHitEnabled(e){o.Z.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,a=r.width+o,i=r.height+o,l=!e.skipShadow&&this.hasShadow(),s=l?this.shadowOffsetX():0,c=l?this.shadowOffsetY():0,u=a+Math.abs(s),h=i+Math.abs(c),d=l&&this.shadowBlur()||0,f={width:u+2*d,height:h+2*d,x:-(o/2+d)+Math.min(s,0)+r.x,y:-(o/2+d)+Math.min(c,0)+r.y};return t?f:this._transformedRect(f,n)}drawScene(e,t){var n,r,o=this.getLayer(),a=e||o.getCanvas(),i=a.getContext(),l=this._getCanvasCache(),s=this.getSceneFunc(),c=this.hasShadow(),u=a.isCache,h=t===this;if(!this.isVisible()&&!h)return this;if(l){i.save();var d=this.getAbsoluteTransform(t).getMatrix();return i.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedSceneCanvas(i),i.restore(),this}if(!s)return this;if(i.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&&i._applyShadow(this),i._applyOpacity(this),i._applyGlobalCompositeOperation(this),i.drawImage(n._canvas,0,0,n.width/p,n.height/p)}else i._applyLineJoin(this),h||(f=this.getAbsoluteTransform(t).getMatrix(),i.transform(f[0],f[1],f[2],f[3],f[4],f[5]),i._applyOpacity(this),i._applyGlobalCompositeOperation(this)),c&&i._applyShadow(this),s.call(this,i,this);return i.restore(),this}drawHit(e,t,n=!1){if(!this.shouldDrawHit(t,n))return this;var r=this.getLayer(),a=e||r.hitCanvas,i=a&&a.getContext(),l=this.hitFunc()||this.sceneFunc(),s=this._getCanvasCache(),c=s&&s.hit;if(this.colorKey||o.Z.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){i.save();var u=this.getAbsoluteTransform(t).getMatrix();return i.transform(u[0],u[1],u[2],u[3],u[4],u[5]),this._drawCachedHitCanvas(i),i.restore(),this}if(!l)return this;if(i.save(),i._applyLineJoin(this),this!==t){var h=this.getAbsoluteTransform(t).getMatrix();i.transform(h[0],h[1],h[2],h[3],h[4],h[5])}return l.call(this,i,this),i.restore(),this}drawHitFromCache(e=0){var t,n,r,a,i,l=this._getCanvasCache(),s=this._getCachedSceneCanvas(),c=l.hit,u=c.getContext(),h=c.getWidth(),d=c.getHeight();u.clear(),u.drawImage(s._canvas,0,0,h,d);try{for(r=(n=(t=u.getImageData(0,0,h,d)).data).length,a=o.Z._hexToRgb(this.colorKey),i=0;i<r;i+=4)n[i+3]>e?(n[i]=a.r,n[i+1]=a.g,n[i+2]=a.b,n[i+3]=255):n[i+3]=0;u.putImageData(t,0,0)}catch(e){o.Z.error("Unable to draw hit graph from cached scene canvas. "+e.message)}return this}hasPointerCapture(e){return s.q0(e,this)}setPointerCapture(e){s.I5(e,this)}releaseCapture(e){s.Xg(e,this)}}g.prototype._fillFunc=function(e){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,r.DA)(g),g.prototype.eventListeners={},g.prototype.on.call(g.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(c)})),g.prototype.on.call(g.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache(u)})),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(d)})),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(f)})),a.F.addGetterSetter(g,"stroke",void 0,(0,l.if)()),a.F.addGetterSetter(g,"strokeWidth",2,(0,l.Kg)()),a.F.addGetterSetter(g,"fillAfterStrokeEnabled",!1),a.F.addGetterSetter(g,"hitStrokeWidth","auto",(0,l.hi)()),a.F.addGetterSetter(g,"strokeHitEnabled",!0,(0,l.I0)()),a.F.addGetterSetter(g,"perfectDrawEnabled",!0,(0,l.I0)()),a.F.addGetterSetter(g,"shadowForStrokeEnabled",!0,(0,l.I0)()),a.F.addGetterSetter(g,"lineJoin"),a.F.addGetterSetter(g,"lineCap"),a.F.addGetterSetter(g,"sceneFunc"),a.F.addGetterSetter(g,"hitFunc"),a.F.addGetterSetter(g,"dash"),a.F.addGetterSetter(g,"dashOffset",0,(0,l.Kg)()),a.F.addGetterSetter(g,"shadowColor",void 0,(0,l.sY)()),a.F.addGetterSetter(g,"shadowBlur",0,(0,l.Kg)()),a.F.addGetterSetter(g,"shadowOpacity",1,(0,l.Kg)()),a.F.addComponentsGetterSetter(g,"shadowOffset",["x","y"]),a.F.addGetterSetter(g,"shadowOffsetX",0,(0,l.Kg)()),a.F.addGetterSetter(g,"shadowOffsetY",0,(0,l.Kg)()),a.F.addGetterSetter(g,"fillPatternImage"),a.F.addGetterSetter(g,"fill",void 0,(0,l.if)()),a.F.addGetterSetter(g,"fillPatternX",0,(0,l.Kg)()),a.F.addGetterSetter(g,"fillPatternY",0,(0,l.Kg)()),a.F.addGetterSetter(g,"fillLinearGradientColorStops"),a.F.addGetterSetter(g,"strokeLinearGradientColorStops"),a.F.addGetterSetter(g,"fillRadialGradientStartRadius",0),a.F.addGetterSetter(g,"fillRadialGradientEndRadius",0),a.F.addGetterSetter(g,"fillRadialGradientColorStops"),a.F.addGetterSetter(g,"fillPatternRepeat","repeat"),a.F.addGetterSetter(g,"fillEnabled",!0),a.F.addGetterSetter(g,"strokeEnabled",!0),a.F.addGetterSetter(g,"shadowEnabled",!0),a.F.addGetterSetter(g,"dashEnabled",!0),a.F.addGetterSetter(g,"strokeScaleEnabled",!0),a.F.addGetterSetter(g,"fillPriority","color"),a.F.addComponentsGetterSetter(g,"fillPatternOffset",["x","y"]),a.F.addGetterSetter(g,"fillPatternOffsetX",0,(0,l.Kg)()),a.F.addGetterSetter(g,"fillPatternOffsetY",0,(0,l.Kg)()),a.F.addComponentsGetterSetter(g,"fillPatternScale",["x","y"]),a.F.addGetterSetter(g,"fillPatternScaleX",1,(0,l.Kg)()),a.F.addGetterSetter(g,"fillPatternScaleY",1,(0,l.Kg)()),a.F.addComponentsGetterSetter(g,"fillLinearGradientStartPoint",["x","y"]),a.F.addComponentsGetterSetter(g,"strokeLinearGradientStartPoint",["x","y"]),a.F.addGetterSetter(g,"fillLinearGradientStartPointX",0),a.F.addGetterSetter(g,"strokeLinearGradientStartPointX",0),a.F.addGetterSetter(g,"fillLinearGradientStartPointY",0),a.F.addGetterSetter(g,"strokeLinearGradientStartPointY",0),a.F.addComponentsGetterSetter(g,"fillLinearGradientEndPoint",["x","y"]),a.F.addComponentsGetterSetter(g,"strokeLinearGradientEndPoint",["x","y"]),a.F.addGetterSetter(g,"fillLinearGradientEndPointX",0),a.F.addGetterSetter(g,"strokeLinearGradientEndPointX",0),a.F.addGetterSetter(g,"fillLinearGradientEndPointY",0),a.F.addGetterSetter(g,"strokeLinearGradientEndPointY",0),a.F.addComponentsGetterSetter(g,"fillRadialGradientStartPoint",["x","y"]),a.F.addGetterSetter(g,"fillRadialGradientStartPointX",0),a.F.addGetterSetter(g,"fillRadialGradientStartPointY",0),a.F.addComponentsGetterSetter(g,"fillRadialGradientEndPoint",["x","y"]),a.F.addGetterSetter(g,"fillRadialGradientEndPointX",0),a.F.addGetterSetter(g,"fillRadialGradientEndPointY",0),a.F.addGetterSetter(g,"fillPatternRotation",0),a.F.backCompat(g,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"})},4391:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d,w:()=>o});var r=n(6382);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,a=this.m[0]*-n+this.m[2]*t,i=this.m[1]*-n+this.m[3]*t;return this.m[0]=r,this.m[1]=o,this.m[2]=a,this.m[3]=i,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,a=this.m[3]+this.m[1]*e;return this.m[0]=n,this.m[1]=r,this.m[2]=o,this.m[3]=a,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],a=this.m[0]*e.m[4]+this.m[2]*e.m[5]+this.m[4],i=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]=a,this.m[5]=i,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,a=e*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),i=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]=a,this.m[5]=i,this}getMatrix(){return this.m}decompose(){var e=this.m[0],t=this.m[1],n=this.m[2],r=this.m[3],o=e*r-t*n;let a={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=e||0!=t){var i=Math.sqrt(e*e+t*t);a.rotation=t>0?Math.acos(e/i):-Math.acos(e/i),a.scaleX=i,a.scaleY=o/i,a.skewX=(e*n+t*r)/o,a.skewY=0}else if(0!=n||0!=r){var l=Math.sqrt(n*n+r*r);a.rotation=Math.PI/2-(r>0?Math.acos(-n/l):-Math.acos(n/l)),a.scaleX=o/l,a.scaleY=l,a.skewX=0,a.skewY=(e*n+t*r)/o}return a.rotation=d._getRotation(a.rotation),a}}var a=Math.PI/180,i=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 h="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||function(e){setTimeout(e,60)},d={_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&&h((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,t){var n=d.createImageElement();n.onload=function(){t(n)},n.src=e},_rgbToHex:(e,t,n)=>((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1),_hexToRgb(e){e=e.replace("#","");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",d._namedColorToRBA(e)||d._hex3ColorToRGBA(e)||d._hex4ColorToRGBA(e)||d._hex6ColorToRGBA(e)||d._hex8ColorToRGBA(e)||d._rgbColorToRGBA(e)||d._rgbaColorToRGBA(e)||d._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,a=Number(n[2])/100;let i,l,s;if(0===o)return s=255*a,{r:Math.round(s),g:Math.round(s),b:Math.round(s),a:1};i=a<.5?a*(1+o):a+o-a*o;const c=2*a-i,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*(i-c)*l:2*l<1?i:3*l<2?c+(i-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*a,radToDeg:e=>e*i,_degToRad:e=>(d.warn("Util._degToRad is removed. Please use public Util.degToRad instead."),d.degToRad(e)),_radToDeg:e=>(d.warn("Util._radToDeg is removed. Please use public Util.radToDeg instead."),d.radToDeg(e)),_getRotation:e=>r.So.angleDeg?d.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.So.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,a){var i,l,s,c=(e-n)*(e-n)+(t-r)*(t-r);if(0==c)i=e,l=t,s=(o-n)*(o-n)+(a-r)*(a-r);else{var u=((o-e)*(n-e)+(a-t)*(r-t))/c;u<0?(i=e,l=t,s=(e-o)*(e-o)+(t-a)*(t-a)):u>1?(i=n,l=r,s=(n-o)*(n-o)+(r-a)*(r-a)):s=((i=e+u*(n-e))-o)*(i-o)+((l=t+u*(r-t))-a)*(l-a)}return[i,l,s]},_getProjectionToLine(e,t,n){var r=d.cloneObject(e),o=Number.MAX_VALUE;return t.forEach((function(a,i){if(n||i!==t.length-1){var l=t[(i+1)%t.length],s=d._getProjectionToSegment(a.x,a.y,l.x,l.y,e.x,e.y),c=s[0],u=s[1],h=s[2];h<o&&(r.x=c,r.y=u,o=h)}})),r},_prepareArrayForTween(e,t,n){var r,o=[],a=[];if(e.length>t.length){var i=t;t=e,e=i}for(r=0;r<e.length;r+=2)o.push({x:e[r],y:e[r+1]});for(r=0;r<t.length;r+=2)a.push({x:t[r],y:t[r+1]});var l=[];return a.forEach((function(e){var t=d._getProjectionToLine(e,o,n);l.push(t.x),l.push(t.y)})),l},_prepareToStringify(e){var t;for(var n in e.visitedByCircularReferenceRemoval=!0,e)if(e.hasOwnProperty(n)&&e[n]&&"object"==typeof e[n])if(t=Object.getOwnPropertyDescriptor(e,n),e[n].visitedByCircularReferenceRemoval||d._isElement(e[n])){if(!t.configurable)return null;delete e[n]}else if(null===d._prepareToStringify(e[n])){if(!t.configurable)return null;delete e[n]}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.So.releaseCanvasOnDestroy&&e.forEach((e=>{e.width=0,e.height=0}))},drawRoundedRectPath(e,t,n,r){let o=0,a=0,i=0,l=0;"number"==typeof r?o=a=i=l=Math.min(r,t/2,n/2):(o=Math.min(r[0]||0,t/2,n/2),a=Math.min(r[1]||0,t/2,n/2),l=Math.min(r[2]||0,t/2,n/2),i=Math.min(r[3]||0,t/2,n/2)),e.moveTo(o,0),e.lineTo(t-a,0),e.arc(t-a,a,a,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(i,n),e.arc(i,n-i,i,Math.PI/2,Math.PI,!1),e.lineTo(0,o),e.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}}},2513:(e,t,n)=>{"use strict";n.d(t,{I0:()=>f,Jj:()=>s,Kg:()=>l,hi:()=>c,if:()=>h,q8:()=>d,sY:()=>u,uZ:()=>p,xj:()=>i});var r=n(6382),o=n(4391);function a(e){return o.Z._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||o.Z._isBoolean(e)?e:Object.prototype.toString.call(e)}function i(e){return e>255?255:e<0?0:Math.round(e)}function l(){if(r.So.isUnminified)return function(e,t){return o.Z._isNumber(e)||o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function s(e){if(r.So.isUnminified)return function(t,n){let r=o.Z._isNumber(t),i=o.Z._isArray(t)&&t.length==e;return r||i||o.Z.warn(a(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+e+")"),t}}function c(){if(r.So.isUnminified)return function(e,t){return o.Z._isNumber(e)||"auto"===e||o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function u(){if(r.So.isUnminified)return function(e,t){return o.Z._isString(e)||o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function h(){if(r.So.isUnminified)return function(e,t){const n=o.Z._isString(e),r="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e.addColorStop;return n||r||o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function d(){if(r.So.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(o.Z._isArray(e)?e.forEach((function(e){o.Z._isNumber(e)||o.Z.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function f(){if(r.So.isUnminified)return function(e,t){return!0===e||!1===e||o.Z.warn(a(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function p(e){if(r.So.isUnminified)return function(t,n){return null==t||o.Z.isObject(t)||o.Z.warn(a(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}},2240:(e,t,n)=>{"use strict";n.d(t,{S:()=>J});var r=n(6382),o=n(4391),a=n(7874),i=n(671),l=n(2772),s=n(7044),c=n(4117),u=n(6287),h="mouseleave",d="mouseover",f="mouseenter",p="mousemove",v="mousedown",m="mouseup",g="pointermove",y="pointerdown",b="pointerup",w="pointercancel",E="pointerout",x="pointerleave",_="pointerover",S="pointerenter",C="contextmenu",O="touchstart",z="touchend",M="touchmove",T="touchcancel",P="wheel",k=[[f,"_pointerenter"],[v,"_pointerdown"],[p,"_pointermove"],[m,"_pointerup"],[h,"_pointerleave"],[O,"_pointerdown"],[M,"_pointermove"],[z,"_pointerup"],[T,"_pointercancel"],[d,"_pointerover"],[P,"_wheel"],[C,"_contextmenu"],[y,"_pointerdown"],[g,"_pointermove"],[b,"_pointerup"],[w,"_pointercancel"],["lostpointercapture","_lostpointercapture"]];const A={mouse:{[E]:"mouseout",[x]:h,[_]:d,[S]:f,[g]:p,[y]:v,[b]:m,[w]:"mousecancel",pointerclick:"click",pointerdblclick:"dblclick"},touch:{[E]:"touchout",[x]:"touchleave",[_]:"touchover",[S]:"touchenter",[g]:M,[y]:O,[b]:z,[w]:T,pointerclick:"tap",pointerdblclick:"dbltap"},pointer:{[E]:E,[x]:x,[_]:_,[S]:S,[g]:g,[y]:y,[b]:b,[w]:w,pointerclick:"pointerclick",pointerdblclick:"pointerdblclick"}},L=e=>e.indexOf("pointer")>=0?"pointer":e.indexOf("touch")>=0?"touch":"mouse",R=e=>{const t=L(e);return"pointer"===t?r.So.pointerEventsEnabled&&A.pointer:"touch"===t?A.touch:"mouse"===t?A.mouse:void 0};function N(e={}){return(e.clipFunc||e.clipWidth||e.clipHeight)&&o.Z.warn("Stage does not support clipping. Please use clip for Layers or Groups."),e}const H=[];class I extends i.W{constructor(e){super(N(e)),this._pointerPositions=[],this._changedPointerPositions=[],this._buildDOM(),this._bindContentEvents(),H.push(this),this.on("widthChange.konva heightChange.konva",this._resizeDOM),this.on("visibleChange.konva",this._checkVisibility),this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(()=>{N(this.attrs)})),this._checkVisibility()}_validateAdd(e){const t="Layer"===e.getType(),n="FastLayer"===e.getType();t||n||o.Z.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.W.prototype.clone.call(this,e)}destroy(){super.destroy();var e=this.content;e&&o.Z._isInDocument(e)&&this.container().removeChild(e);var t=H.indexOf(this);return t>-1&&H.splice(t,1),o.Z.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}:(o.Z.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 s.RF({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 a=this.children.length;return a>5&&o.Z.warn("The stage has "+a+" 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(),r.So.isBrowser&&this.content.appendChild(e.canvas._canvas),this}getParent(){return null}getLayer(){return null}hasPointerCapture(e){return u.q0(e,this)}setPointerCapture(e){u.I5(e,this)}releaseCapture(e){u.Xg(e,this)}getLayers(){return this.children}_bindContentEvents(){r.So.isBrowser&&k.forEach((([e,t])=>{this.content.addEventListener(e,(e=>{this[t](e)}),{passive:!1})}))}_pointerenter(e){this.setPointersPositions(e);const t=R(e.type);this._fire(t.pointerenter,{evt:e,target:this,currentTarget:this})}_pointerover(e){this.setPointersPositions(e);const t=R(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=R(e.type),n=L(e.type);if(t){this.setPointersPositions(e);var o=this._getTargetShape(n),a=!c.DD.isDragging||r.So.hitOnDragEnabled;o&&a?(o._fireAndBubble(t.pointerout,{evt:e}),o._fireAndBubble(t.pointerleave,{evt:e}),this._fire(t.pointerleave,{evt:e,target:this,currentTarget:this}),this[n+"targetShape"]=null):a&&(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=R(e.type),n=L(e.type);if(t){this.setPointersPositions(e);var o=!1;this._changedPointerPositions.forEach((a=>{var i=this.getIntersection(a);if(c.DD.justDragged=!1,r.So["_"+n+"ListenClick"]=!0,!i||!i.isListening())return;r.So.capturePointerEventsEnabled&&i.setPointerCapture(a.id),this[n+"ClickStartShape"]=i,i._fireAndBubble(t.pointerdown,{evt:e,pointerId:a.id}),o=!0;const l=e.type.indexOf("touch")>=0;i.preventDefault()&&e.cancelable&&l&&e.preventDefault()})),o||this._fire(t.pointerdown,{evt:e,target:this,currentTarget:this,pointerId:this._pointerPositions[0].id})}}_pointermove(e){const t=R(e.type),n=L(e.type);if(!t)return;if(c.DD.isDragging&&c.DD.node.preventDefault()&&e.cancelable&&e.preventDefault(),this.setPointersPositions(e),c.DD.isDragging&&!r.So.hitOnDragEnabled)return;var o={};let a=!1;var i=this._getTargetShape(n);this._changedPointerPositions.forEach((r=>{const l=u.rl(r.id)||this.getIntersection(r),s=r.id,c={evt:e,pointerId:s};var h=i!==l;if(h&&i&&(i._fireAndBubble(t.pointerout,Object.assign({},c),l),i._fireAndBubble(t.pointerleave,Object.assign({},c),l)),l){if(o[l._id])return;o[l._id]=!0}l&&l.isListening()?(a=!0,h&&(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)})),a||this._fire(t.pointermove,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})}_pointerup(e){const t=R(e.type),n=L(e.type);if(!t)return;this.setPointersPositions(e);const o=this[n+"ClickStartShape"],a=this[n+"ClickEndShape"];var i={};let l=!1;this._changedPointerPositions.forEach((s=>{const h=u.rl(s.id)||this.getIntersection(s);if(h){if(h.releaseCapture(s.id),i[h._id])return;i[h._id]=!0}const d=s.id,f={evt:e,pointerId:d};let p=!1;r.So["_"+n+"InDblClickWindow"]?(p=!0,clearTimeout(this[n+"DblTimeout"])):c.DD.justDragged||(r.So["_"+n+"InDblClickWindow"]=!0,clearTimeout(this[n+"DblTimeout"])),this[n+"DblTimeout"]=setTimeout((function(){r.So["_"+n+"InDblClickWindow"]=!1}),r.So.dblClickWindow),h&&h.isListening()?(l=!0,this[n+"ClickEndShape"]=h,h._fireAndBubble(t.pointerup,Object.assign({},f)),r.So["_"+n+"ListenClick"]&&o&&o===h&&(h._fireAndBubble(t.pointerclick,Object.assign({},f)),p&&a&&a===h&&h._fireAndBubble(t.pointerdblclick,Object.assign({},f)))):(this[n+"ClickEndShape"]=null,r.So["_"+n+"ListenClick"]&&this._fire(t.pointerclick,{evt:e,target:this,currentTarget:this,pointerId:d}),p&&this._fire(t.pointerdblclick,{evt:e,target:this,currentTarget:this,pointerId:d}))})),l||this._fire(t.pointerup,{evt:e,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),r.So["_"+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(C,{evt:e}):this._fire(C,{evt:e,target:this,currentTarget:this})}_wheel(e){this.setPointersPositions(e);var t=this.getIntersection(this.getPointerPosition());t&&t.isListening()?t._fireAndBubble(P,{evt:e}):this._fire(P,{evt:e,target:this,currentTarget:this})}_pointercancel(e){this.setPointersPositions(e);const t=u.rl(e.pointerId)||this.getIntersection(this.getPointerPosition());t&&t._fireAndBubble(b,u.yM(e)),u.Xg(e.pointerId)}_lostpointercapture(e){u.Xg(e.pointerId)}setPointersPositions(e){var t=this._getContentPosition(),n=null,r=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,r=(e.clientY-t.top)/t.scaleY,this.pointerPos={x:n,y:r},this._pointerPositions=[{x:n,y:r,id:o.Z._getFirstPointerId(e)}],this._changedPointerPositions=[{x:n,y:r,id:o.Z._getFirstPointerId(e)}])}_setPointerPosition(e){o.Z.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 s.RF({width:this.width(),height:this.height()}),this.bufferHitCanvas=new s.hh({pixelRatio:1,width:this.width(),height:this.height()}),r.So.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 o.Z.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}}I.prototype.nodeType="Stage",(0,r.DA)(I),l.F.addGetterSetter(I,"container");var V=n(2513),D=n(4786),j=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],F=j.length;class B extends i.W{constructor(e){super(e),this.canvas=new s.RF,this.hitCanvas=new s.hh({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(){a.N.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(!a.N.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(a.N.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(a.N.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 a.N.prototype.remove.call(this),e&&e.parentNode&&o.Z._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&&o.Z.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(),a.N.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(){o.Z.warn('Can not change width of layer. Use "stage.width(value)" function instead.')}getHeight(){if(this.parent)return this.parent.height()}setHeight(){o.Z.warn('Can not change height of layer. Use "stage.height(value)" function instead.')}batchDraw(){return this._waitingForDraw||(this._waitingForDraw=!0,o.Z.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<F;r++){const o=j[r],a=this._getIntersection({x:e.x+o.x*t,y:e.y+o.y*t}),i=a.shape;if(i)return i;if(n=!!a.antialiased,!a.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,r=n[3];if(255===r){const e=o.Z._rgbToHex(n[0],n[1],n[2]),t=D.J["#"+e];return t?{shape:t}:{antialiased:!0}}return r>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(),i.W.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(),i.W.prototype.drawHit.call(this,r,t),this}enableHitGraph(){return this.hitGraphEnabled(!0),this}disableHitGraph(){return this.hitGraphEnabled(!1),this}setHitGraphEnabled(e){o.Z.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(e)}getHitGraphEnabled(e){return o.Z.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 o.Z.releaseCanvas(this.getNativeCanvasElement(),this.getHitCanvas()._canvas),super.destroy()}}B.prototype.nodeType="Layer",(0,r.DA)(B),l.F.addGetterSetter(B,"imageSmoothingEnabled",!0),l.F.addGetterSetter(B,"clearBeforeDraw",!0),l.F.addGetterSetter(B,"hitGraphEnabled",!0,(0,V.I0)());class U extends B{constructor(e){super(e),this.listening(!1),o.Z.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.')}}U.prototype.nodeType="FastLayer",(0,r.DA)(U);var G=n(9908),q=n(5080),W={node:1,duration:1,easing:1,onFinish:1,yoyo:1},K=0,Y=["fill","stroke","shadowColor"];class Z{constructor(e,t,n,r,o,a,i){this.prop=e,this.propFunc=t,this.begin=r,this._pos=r,this.duration=a,this._change=0,this.prevPos=0,this.yoyo=i,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 ${constructor(e){var t,n,a=this,i=e.node,l=i._id,s=e.easing||X.Linear,c=!!e.yoyo;t=void 0===e.duration?.3:0===e.duration?.001:e.duration,this.node=i,this._id=K++;var u=i.getLayer()||(i instanceof r.So.Stage?i.getLayers():null);for(n in u||o.Z.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new q.f((function(){a.tween.onEnterFrame()}),u),this.tween=new Z(n,(function(e){a._tweenFunc(e)}),s,0,1,1e3*t,c),this._addListeners(),$.attrs[l]||($.attrs[l]={}),$.attrs[l][this._id]||($.attrs[l][this._id]={}),$.tweens[l]||($.tweens[l]={}),e)void 0===W[n]&&this._addAttr(n,e[n]);this.reset(),this.onFinish=e.onFinish,this.onReset=e.onReset,this.onUpdate=e.onUpdate}_addAttr(e,t){var n,r,a,i,l,s,c,u,h=this.node,d=h._id;if((a=$.tweens[d][e])&&delete $.attrs[d][a][e],n=h.getAttr(e),o.Z._isArray(t))if(r=[],l=Math.max(t.length,n.length),"points"===e&&t.length!==n.length&&(t.length>n.length?(c=n,n=o.Z._prepareArrayForTween(n,t,h.closed())):(s=t,t=o.Z._prepareArrayForTween(t,n,h.closed()))),0===e.indexOf("fill"))for(i=0;i<l;i++)if(i%2==0)r.push(t[i]-n[i]);else{var f=o.Z.colorToRGBA(n[i]);u=o.Z.colorToRGBA(t[i]),n[i]=f,r.push({r:u.r-f.r,g:u.g-f.g,b:u.b-f.b,a:u.a-f.a})}else for(i=0;i<l;i++)r.push(t[i]-n[i]);else-1!==Y.indexOf(e)?(n=o.Z.colorToRGBA(n),r={r:(u=o.Z.colorToRGBA(t)).r-n.r,g:u.g-n.g,b:u.b-n.b,a:u.a-n.a}):r=t-n;$.attrs[d][this._id][e]={start:n,diff:r,end:t,trueEnd:s,trueStart:c},$.tweens[d][e]=this._id}_tweenFunc(e){var t,n,r,a,i,l,s,c,u=this.node,h=$.attrs[u._id][this._id];for(t in h){if(r=(n=h[t]).start,a=n.diff,c=n.end,o.Z._isArray(r))if(i=[],s=Math.max(r.length,c.length),0===t.indexOf("fill"))for(l=0;l<s;l++)l%2==0?i.push((r[l]||0)+a[l]*e):i.push("rgba("+Math.round(r[l].r+a[l].r*e)+","+Math.round(r[l].g+a[l].g*e)+","+Math.round(r[l].b+a[l].b*e)+","+(r[l].a+a[l].a*e)+")");else for(l=0;l<s;l++)i.push((r[l]||0)+a[l]*e);else i=-1!==Y.indexOf(t)?"rgba("+Math.round(r.r+a.r*e)+","+Math.round(r.g+a.g*e)+","+Math.round(r.b+a.b*e)+","+(r.a+a.a*e)+")":r+a*e;u.setAttr(t,i)}}_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=$.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=$.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=$.tweens[t];for(e in this.pause(),r)delete $.tweens[t][e];delete $.attrs[t][n]}}$.attrs={},$.tweens={},a.N.prototype.to=function(e){var t=e.onFinish;e.node=this,e.onFinish=function(){this.destroy(),t&&t()},new $(e).play()};const X={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,a){var i=0;return 0===e?t:1==(e/=r)?t+n:(a||(a=.3*r),!o||o<Math.abs(n)?(o=n,i=a/4):i=a/(2*Math.PI)*Math.asin(n/o),-o*Math.pow(2,10*(e-=1))*Math.sin((e*r-i)*(2*Math.PI)/a)+t)},ElasticEaseOut(e,t,n,r,o,a){var i=0;return 0===e?t:1==(e/=r)?t+n:(a||(a=.3*r),!o||o<Math.abs(n)?(o=n,i=a/4):i=a/(2*Math.PI)*Math.asin(n/o),o*Math.pow(2,-10*e)*Math.sin((e*r-i)*(2*Math.PI)/a)+n+t)},ElasticEaseInOut(e,t,n,r,o,a){var i=0;return 0===e?t:2==(e/=r/2)?t+n:(a||(a=r*(.3*1.5)),!o||o<Math.abs(n)?(o=n,i=a/4):i=a/(2*Math.PI)*Math.asin(n/o),e<1?o*Math.pow(2,10*(e-=1))*Math.sin((e*r-i)*(2*Math.PI)/a)*-.5+t:o*Math.pow(2,-10*(e-=1))*Math.sin((e*r-i)*(2*Math.PI)/a)*.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,t,n,r)=>n-X.BounceEaseOut(r-e,0,n,r)+t,BounceEaseInOut:(e,t,n,r)=>e<r/2?.5*X.BounceEaseIn(2*e,0,n,r)+t:.5*X.BounceEaseOut(2*e-r,0,n,r)+.5*n+t,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};var Q=n(4333);const J=o.Z._assign(r.So,{Util:o.Z,Transform:o.w,Node:a.N,Container:i.W,Stage:I,stages:H,Layer:B,FastLayer:U,Group:G.Z,DD:c.DD,Shape:D.b,shapes:D.J,Animation:q.f,Tween:$,Easings:X,Context:Q._y,Canvas:s.Xz})},2107:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>pe});var r=n(2240),o=n(2772),a=n(4786),i=n(6382),l=n(2513);class s extends a.b{_sceneFunc(e){var t=i.So.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.So.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}}}function c(e,t,n,r,o,a,i){var l=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2)),s=Math.sqrt(Math.pow(o-n,2)+Math.pow(a-r,2)),c=i*l/(l+s),u=i*s/(l+s);return[n-c*(o-e),r-c*(a-t),n+u*(o-e),r+u*(a-t)]}function u(e,t){var n,r,o=e.length,a=[];for(n=2;n<o-2;n+=2)r=c(e[n-2],e[n-1],e[n],e[n+1],e[n+2],e[n+3],t),isNaN(r[0])||(a.push(r[0]),a.push(r[1]),a.push(e[n]),a.push(e[n+1]),a.push(r[2]),a.push(r[3]));return a}s.prototype._centroid=!0,s.prototype.className="Arc",s.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,i.DA)(s),o.F.addGetterSetter(s,"innerRadius",0,(0,l.Kg)()),o.F.addGetterSetter(s,"outerRadius",0,(0,l.Kg)()),o.F.addGetterSetter(s,"angle",0,(0,l.Kg)()),o.F.addGetterSetter(s,"clockwise",!1,(0,l.I0)());class h extends a.b{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(),a=o.length,i=this.tension(),l=this.closed(),s=this.bezier();if(a){if(e.beginPath(),e.moveTo(o[0],o[1]),0!==i&&a>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[a-2],o[a-1])}else if(s)for(r=2;r<a;)e.bezierCurveTo(o[r++],o[r++],o[r++],o[r++],o[r++],o[r++]);else for(r=2;r<a;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():u(this.points(),this.tension())}_getTensionPointsClosed(){var e=this.points(),t=e.length,n=this.tension(),r=c(e[t-2],e[t-1],e[0],e[1],e[2],e[3],n),o=c(e[t-4],e[t-3],e[t-2],e[t-1],e[0],e[1],n),a=u(e,n);return[r[2],r[3]].concat(a).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],a=e[1],i=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),a=Math.min(a,n),i=Math.max(i,n);return{x:r,y:a,width:o-r,height:i-a}}}h.prototype.className="Line",h.prototype._attrsAffectingSize=["points","bezier","tension"],(0,i.DA)(h),o.F.addGetterSetter(h,"closed",!1),o.F.addGetterSetter(h,"bezier",!1),o.F.addGetterSetter(h,"tension",0,(0,l.Kg)()),o.F.addGetterSetter(h,"points",[],(0,l.q8)());class d extends a.b{constructor(e){super(e),this.dataArray=[],this.pathLength=0,this.dataArray=d.parsePathData(this.data()),this.pathLength=0;for(var t=0;t<this.dataArray.length;++t)this.pathLength+=this.dataArray[t].pathLength;this.on("dataChange.konva",(function(){this.dataArray=d.parsePathData(this.data()),this.pathLength=0;for(var e=0;e<this.dataArray.length;++e)this.pathLength+=this.dataArray[e].pathLength}))}_sceneFunc(e){var t=this.dataArray;e.beginPath();for(var n=!1,r=0;r<t.length;r++){var o=t[r].command,a=t[r].points;switch(o){case"L":e.lineTo(a[0],a[1]);break;case"M":e.moveTo(a[0],a[1]);break;case"C":e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);break;case"Q":e.quadraticCurveTo(a[0],a[1],a[2],a[3]);break;case"A":var i=a[0],l=a[1],s=a[2],c=a[3],u=a[4],h=a[5],d=a[6],f=a[7],p=s>c?s:c,v=s>c?1:s/c,m=s>c?c/s:1;e.translate(i,l),e.rotate(d),e.scale(v,m),e.arc(0,0,p,u,u+h,1-f),e.scale(1/v,1/m),e.rotate(-d),e.translate(-i,-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,a=Math.PI/180;if(Math.abs(n-o)<a&&(a=Math.abs(n-o)),r<0)for(let r=n-a;r>o;r-=a){const n=d.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+a;r<o;r+=a){const n=d.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=d.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],a=e[1],i=e[1],l=0;l<e.length/2;l++)t=e[2*l],n=e[2*l+1],isNaN(t)||(r=Math.min(r,t),o=Math.max(o,t)),isNaN(n)||(a=Math.min(a,n),i=Math.max(i,n));return{x:r,y:a,width:o-r,height:i-a}}getLength(){return this.pathLength}getPointAtLength(e){var t,n=0,r=this.dataArray.length;if(!r)return null;for(;n<r&&e>this.dataArray[n].pathLength;)e-=this.dataArray[n].pathLength,++n;if(n===r)return{x:(t=this.dataArray[n-1].points.slice(-2))[0],y:t[1]};if(e<.01)return{x:(t=this.dataArray[n].points.slice(0,2))[0],y:t[1]};var o=this.dataArray[n],a=o.points;switch(o.command){case"L":return d.getPointOnLine(e,o.start.x,o.start.y,a[0],a[1]);case"C":return d.getPointOnCubicBezier(e/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return d.getPointOnQuadraticBezier(e/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var i=a[0],l=a[1],s=a[2],c=a[3],u=a[4],h=a[5],f=a[6];return u+=h*e/o.pathLength,d.getPointOnEllipticalArc(i,l,s,c,u,f)}return null}static getLineLength(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))}static getPointOnLine(e,t,n,r,o,a,i){void 0===a&&(a=t),void 0===i&&(i=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:a,y:i+u};else if((i-n)/(a-t+1e-8)===l)c={x:a+s,y:i+u};else{var h,d,f=this.getLineLength(t,n,r,o),p=(a-t)*(r-t)+(i-n)*(o-n);h=t+(p/=f*f)*(r-t),d=n+p*(o-n);var v=this.getLineLength(a,i,h,d),m=Math.sqrt(e*e-v*v);s=Math.sqrt(m*m/(1+l*l)),r<t&&(s*=-1),c={x:h+s,y:d+(u=l*s)}}return c}static getPointOnCubicBezier(e,t,n,r,o,a,i,l,s){function c(e){return e*e*e}function u(e){return 3*e*e*(1-e)}function h(e){return 3*e*(1-e)*(1-e)}function d(e){return(1-e)*(1-e)*(1-e)}return{x:l*c(e)+a*u(e)+r*h(e)+t*d(e),y:s*c(e)+i*u(e)+o*h(e)+n*d(e)}}static getPointOnQuadraticBezier(e,t,n,r,o,a,i){function l(e){return e*e}function s(e){return 2*e*(1-e)}function c(e){return(1-e)*(1-e)}return{x:a*l(e)+r*s(e)+t*c(e),y:i*l(e)+o*s(e)+n*c(e)}}static getPointOnEllipticalArc(e,t,n,r,o,a){var i=Math.cos(a),l=Math.sin(a),s=n*Math.cos(o),c=r*Math.sin(o);return{x:e+(s*i-c*l),y:t+(s*l+c*i)}}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,a=t.split("|"),i=[],l=[],s=0,c=0,u=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(r=1;r<a.length;r++){var h=a[r],d=h.charAt(0);for(h=h.slice(1),l.length=0;o=u.exec(h);)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,C,O,z=null,M=[],T=s,P=c;switch(d){case"l":s+=f.shift(),c+=f.shift(),z="L",M.push(s,c);break;case"L":s=f.shift(),c=f.shift(),M.push(s,c);break;case"m":var k=f.shift(),A=f.shift();if(s+=k,c+=A,z="M",i.length>2&&"z"===i[i.length-1].command)for(var L=i.length-2;L>=0;L--)if("M"===i[L].command){s=i[L].points[0]+k,c=i[L].points[1]+A;break}M.push(s,c),d="l";break;case"M":s=f.shift(),c=f.shift(),z="M",M.push(s,c),d="L";break;case"h":s+=f.shift(),z="L",M.push(s,c);break;case"H":s=f.shift(),z="L",M.push(s,c);break;case"v":c+=f.shift(),z="L",M.push(s,c);break;case"V":c=f.shift(),z="L",M.push(s,c);break;case"C":M.push(f.shift(),f.shift(),f.shift(),f.shift()),s=f.shift(),c=f.shift(),M.push(s,c);break;case"c":M.push(s+f.shift(),c+f.shift(),s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),z="C",M.push(s,c);break;case"S":y=s,b=c,"C"===(g=i[i.length-1]).command&&(y=s+(s-g.points[2]),b=c+(c-g.points[3])),M.push(y,b,f.shift(),f.shift()),s=f.shift(),c=f.shift(),z="C",M.push(s,c);break;case"s":y=s,b=c,"C"===(g=i[i.length-1]).command&&(y=s+(s-g.points[2]),b=c+(c-g.points[3])),M.push(y,b,s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),z="C",M.push(s,c);break;case"Q":M.push(f.shift(),f.shift()),s=f.shift(),c=f.shift(),M.push(s,c);break;case"q":M.push(s+f.shift(),c+f.shift()),s+=f.shift(),c+=f.shift(),z="Q",M.push(s,c);break;case"T":y=s,b=c,"Q"===(g=i[i.length-1]).command&&(y=s+(s-g.points[0]),b=c+(c-g.points[1])),s=f.shift(),c=f.shift(),z="Q",M.push(y,b,s,c);break;case"t":y=s,b=c,"Q"===(g=i[i.length-1]).command&&(y=s+(s-g.points[0]),b=c+(c-g.points[1])),s+=f.shift(),c+=f.shift(),z="Q",M.push(y,b,s,c);break;case"A":w=f.shift(),E=f.shift(),x=f.shift(),_=f.shift(),S=f.shift(),C=s,O=c,s=f.shift(),c=f.shift(),z="A",M=this.convertEndpointToCenterParameterization(C,O,s,c,_,S,w,E,x);break;case"a":w=f.shift(),E=f.shift(),x=f.shift(),_=f.shift(),S=f.shift(),C=s,O=c,s+=f.shift(),c+=f.shift(),z="A",M=this.convertEndpointToCenterParameterization(C,O,s,c,_,S,w,E,x)}i.push({command:z||d,points:M,start:{x:T,y:P},pathLength:this.calcLength(T,P,z||d,M)})}"z"!==d&&"Z"!==d||i.push({command:"z",points:[],start:void 0,pathLength:0})}return i}static calcLength(e,t,n,r){var o,a,i,l,s=d;switch(n){case"L":return s.getLineLength(e,t,r[0],r[1]);case"C":for(o=0,a=s.getPointOnCubicBezier(0,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),l=.01;l<=1;l+=.01)i=s.getPointOnCubicBezier(l,e,t,r[0],r[1],r[2],r[3],r[4],r[5]),o+=s.getLineLength(a.x,a.y,i.x,i.y),a=i;return o;case"Q":for(o=0,a=s.getPointOnQuadraticBezier(0,e,t,r[0],r[1],r[2],r[3]),l=.01;l<=1;l+=.01)i=s.getPointOnQuadraticBezier(l,e,t,r[0],r[1],r[2],r[3]),o+=s.getLineLength(a.x,a.y,i.x,i.y),a=i;return o;case"A":o=0;var c=r[4],u=r[5],h=r[4]+u,f=Math.PI/180;if(Math.abs(c-h)<f&&(f=Math.abs(c-h)),a=s.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],c,0),u<0)for(l=c-f;l>h;l-=f)i=s.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],l,0),o+=s.getLineLength(a.x,a.y,i.x,i.y),a=i;else for(l=c+f;l<h;l+=f)i=s.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],l,0),o+=s.getLineLength(a.x,a.y,i.x,i.y),a=i;return i=s.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],h,0),o+s.getLineLength(a.x,a.y,i.x,i.y)}return 0}static convertEndpointToCenterParameterization(e,t,n,r,o,a,i,l,s){var c=s*(Math.PI/180),u=Math.cos(c)*(e-n)/2+Math.sin(c)*(t-r)/2,h=-1*Math.sin(c)*(e-n)/2+Math.cos(c)*(t-r)/2,d=u*u/(i*i)+h*h/(l*l);d>1&&(i*=Math.sqrt(d),l*=Math.sqrt(d));var f=Math.sqrt((i*i*(l*l)-i*i*(h*h)-l*l*(u*u))/(i*i*(h*h)+l*l*(u*u)));o===a&&(f*=-1),isNaN(f)&&(f=0);var p=f*i*h/l,v=f*-l*u/i,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))},E=w([1,0],[(u-p)/i,(h-v)/l]),x=[(u-p)/i,(h-v)/l],_=[(-1*u-p)/i,(-1*h-v)/l],S=w(x,_);return b(x,_)<=-1&&(S=Math.PI),b(x,_)>=1&&(S=0),0===a&&S>0&&(S-=2*Math.PI),1===a&&S<0&&(S+=2*Math.PI),[m,g,i,l,E,S,c,a]}}d.prototype.className="Path",d.prototype._attrsAffectingSize=["data"],(0,i.DA)(d),o.F.addGetterSetter(d,"data");class f extends h{_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 a,i,l=this.pointerLength(),s=n.length;if(o){const e=[r[r.length-4],r[r.length-3],r[r.length-2],r[r.length-1],n[s-2],n[s-1]],t=d.calcLength(r[r.length-4],r[r.length-3],"C",e),o=d.getPointOnQuadraticBezier(Math.min(1,1-l/t),e[0],e[1],e[2],e[3],e[4],e[5]);a=n[s-2]-o.x,i=n[s-1]-o.y}else a=n[s-2]-n[s-4],i=n[s-1]-n[s-3];var c=(Math.atan2(i,a)+t)%t,u=this.pointerWidth();this.pointerAtEnding()&&(e.save(),e.beginPath(),e.translate(n[s-2],n[s-1]),e.rotate(c),e.moveTo(0,0),e.lineTo(-l,u/2),e.lineTo(-l,-u/2),e.closePath(),e.restore(),this.__fillStroke(e)),this.pointerAtBeginning()&&(e.save(),e.beginPath(),e.translate(n[0],n[1]),o?(a=(r[0]+r[2])/2-n[0],i=(r[1]+r[3])/2-n[1]):(a=n[2]-n[0],i=n[3]-n[1]),e.rotate((Math.atan2(-i,-a)+t)%t),e.moveTo(0,0),e.lineTo(-l,u/2),e.lineTo(-l,-u/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}}}f.prototype.className="Arrow",(0,i.DA)(f),o.F.addGetterSetter(f,"pointerLength",10,(0,l.Kg)()),o.F.addGetterSetter(f,"pointerWidth",10,(0,l.Kg)()),o.F.addGetterSetter(f,"pointerAtBeginning",!1),o.F.addGetterSetter(f,"pointerAtEnding",!0);class p extends a.b{_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)}}p.prototype._centroid=!0,p.prototype.className="Circle",p.prototype._attrsAffectingSize=["radius"],(0,i.DA)(p),o.F.addGetterSetter(p,"radius",0,(0,l.Kg)());class v extends a.b{_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)}}v.prototype.className="Ellipse",v.prototype._centroid=!0,v.prototype._attrsAffectingSize=["radiusX","radiusY"],(0,i.DA)(v),o.F.addComponentsGetterSetter(v,"radius",["x","y"]),o.F.addGetterSetter(v,"radiusX",0,(0,l.Kg)()),o.F.addGetterSetter(v,"radiusY",0,(0,l.Kg)());var m=n(4391);class g extends a.b{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(),r=this.cornerRadius(),o=this.attrs.image;let a;if(o){const e=this.attrs.cropWidth,r=this.attrs.cropHeight;a=e&&r?[o,this.cropX(),this.cropY(),e,r,0,0,t,n]:[o,0,0,t,n]}(this.hasFill()||this.hasStroke()||r)&&(e.beginPath(),r?m.Z.drawRoundedRectPath(e,t,n,r):e.rect(0,0,t,n),e.closePath(),e.fillStrokeShape(this)),o&&(r&&e.clip(),e.drawImage.apply(e,a))}_hitFunc(e){var t=this.width(),n=this.height(),r=this.cornerRadius();e.beginPath(),r?m.Z.drawRoundedRectPath(e,t,n,r):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 r=m.Z.createImageElement();r.onload=function(){var e=new g({image:r});t(e)},r.onerror=n,r.crossOrigin="Anonymous",r.src=e}}g.prototype.className="Image",(0,i.DA)(g),o.F.addGetterSetter(g,"cornerRadius",0,(0,l.Jj)(4)),o.F.addGetterSetter(g,"image"),o.F.addComponentsGetterSetter(g,"crop",["x","y","width","height"]),o.F.addGetterSetter(g,"cropX",0,(0,l.Kg)()),o.F.addGetterSetter(g,"cropY",0,(0,l.Kg)()),o.F.addGetterSetter(g,"cropWidth",0,(0,l.Kg)()),o.F.addGetterSetter(g,"cropHeight",0,(0,l.Kg)());var y=n(9908),b=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height","pointerDirection","pointerWidth","pointerHeight"],w="up",E="right",x="down",_="left",S=b.length;class C extends y.Z{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<S;t++)e.on(b[t]+"Change.konva",r)}getWidth(){return this.getText().width()}getHeight(){return this.getText().height()}_sync(){var e,t,n,r,o,a,i,l=this.getText(),s=this.getTag();if(l&&s){switch(e=l.width(),t=l.height(),n=s.pointerDirection(),r=s.pointerWidth(),i=s.pointerHeight(),o=0,a=0,n){case w:o=e/2,a=-1*i;break;case E:o=e+r,a=t/2;break;case x:o=e/2,a=t+i;break;case _:o=-1*r,a=t/2}s.setAttrs({x:-1*o,y:-1*a,width:e,height:t}),l.setAttrs({x:-1*o,y:-1*a})}}}C.prototype.className="Label",(0,i.DA)(C);class O extends a.b{_sceneFunc(e){var t=this.width(),n=this.height(),r=this.pointerDirection(),o=this.pointerWidth(),a=this.pointerHeight(),i=this.cornerRadius();let l=0,s=0,c=0,u=0;"number"==typeof i?l=s=c=u=Math.min(i,t/2,n/2):(l=Math.min(i[0]||0,t/2,n/2),s=Math.min(i[1]||0,t/2,n/2),u=Math.min(i[2]||0,t/2,n/2),c=Math.min(i[3]||0,t/2,n/2)),e.beginPath(),e.moveTo(l,0),r===w&&(e.lineTo((t-o)/2,0),e.lineTo(t/2,-1*a),e.lineTo((t+o)/2,0)),e.lineTo(t-s,0),e.arc(t-s,s,s,3*Math.PI/2,0,!1),r===E&&(e.lineTo(t,(n-a)/2),e.lineTo(t+o,n/2),e.lineTo(t,(n+a)/2)),e.lineTo(t,n-u),e.arc(t-u,n-u,u,0,Math.PI/2,!1),r===x&&(e.lineTo((t+o)/2,n),e.lineTo(t/2,n+a),e.lineTo((t-o)/2,n)),e.lineTo(c,n),e.arc(c,n-c,c,Math.PI/2,Math.PI,!1),r===_&&(e.lineTo(0,(n+a)/2),e.lineTo(-1*o,n/2),e.lineTo(0,(n-a)/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(),a=this.width(),i=this.height();return o===w?(t-=r,i+=r):o===x?i+=r:o===_?(e-=1.5*n,a+=n):o===E&&(a+=1.5*n),{x:e,y:t,width:a,height:i}}}O.prototype.className="Tag",(0,i.DA)(O),o.F.addGetterSetter(O,"pointerDirection","none"),o.F.addGetterSetter(O,"pointerWidth",0,(0,l.Kg)()),o.F.addGetterSetter(O,"pointerHeight",0,(0,l.Kg)()),o.F.addGetterSetter(O,"cornerRadius",0,(0,l.Jj)(4));class z extends a.b{_sceneFunc(e){var t=this.cornerRadius(),n=this.width(),r=this.height();e.beginPath(),t?m.Z.drawRoundedRectPath(e,n,r,t):e.rect(0,0,n,r),e.closePath(),e.fillStrokeShape(this)}}z.prototype.className="Rect",(0,i.DA)(z),o.F.addGetterSetter(z,"cornerRadius",0,(0,l.Jj)(4));class M extends a.b{_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)}}M.prototype.className="RegularPolygon",M.prototype._centroid=!0,M.prototype._attrsAffectingSize=["radius"],(0,i.DA)(M),o.F.addGetterSetter(M,"radius",0,(0,l.Kg)()),o.F.addGetterSetter(M,"sides",0,(0,l.Kg)());var T=2*Math.PI;class P extends a.b{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,T,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),T,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)}}P.prototype.className="Ring",P.prototype._centroid=!0,P.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,i.DA)(P),o.F.addGetterSetter(P,"innerRadius",0,(0,l.Kg)()),o.F.addGetterSetter(P,"outerRadius",0,(0,l.Kg)());var k=n(5080);class A extends a.b{constructor(e){super(e),this._updated=!0,this.anim=new k.f((()=>{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],a=this.frameOffsets(),i=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(a){var h=a[t],d=2*n;e.drawImage(u,i,l,s,c,h[d+0],h[d+1],s,c)}else e.drawImage(u,i,l,s,c,0,0,s,c)}_hitFunc(e){var t=this.animation(),n=this.frameIndex(),r=4*n,o=this.animations()[t],a=this.frameOffsets(),i=o[r+2],l=o[r+3];if(e.beginPath(),a){var s=a[t],c=2*n;e.rect(s[c+0],s[c+1],i,l)}else e.rect(0,0,i,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)}}A.prototype.className="Sprite",(0,i.DA)(A),o.F.addGetterSetter(A,"animation"),o.F.addGetterSetter(A,"animations"),o.F.addGetterSetter(A,"frameOffsets"),o.F.addGetterSetter(A,"image"),o.F.addGetterSetter(A,"frameIndex",0,(0,l.Kg)()),o.F.addGetterSetter(A,"frameRate",17,(0,l.Kg)()),o.F.backCompat(A,{index:"frameIndex",getIndex:"getFrameIndex",setIndex:"setFrameIndex"});class L extends a.b{_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 a=o%2==0?n:t,i=a*Math.sin(o*Math.PI/r),l=-1*a*Math.cos(o*Math.PI/r);e.lineTo(i,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)}}function R(e){return Array.from(e)}L.prototype.className="Star",L.prototype._centroid=!0,L.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,i.DA)(L),o.F.addGetterSetter(L,"numPoints",5,(0,l.Kg)()),o.F.addGetterSetter(L,"innerRadius",0,(0,l.Kg)()),o.F.addGetterSetter(L,"outerRadius",0,(0,l.Kg)());var N,H="auto",I="justify",V="left",D="middle",j="normal",F=" ",B="none",U=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],G=U.length;function q(){return N||(N=m.Z.createCanvasElement().getContext("2d"))}class W extends a.b{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<G;t++)this.on(U[t]+"Change.konva",this._setTextData);this._setTextData()}_sceneFunc(e){var t=this.textArr,n=t.length;if(this.text()){var r,o=this.padding(),a=this.fontSize(),i=this.lineHeight()*a,l=this.verticalAlign(),s=0,c=this.align(),u=this.getWidth(),h=this.letterSpacing(),d=this.fill(),f=this.textDecoration(),p=-1!==f.indexOf("underline"),v=-1!==f.indexOf("line-through"),m=0,g=(m=i/2,0),y=0;for(e.setAttr("font",this._getContextFont()),e.setAttr("textBaseline",D),e.setAttr("textAlign",V),l===D?s=(this.getHeight()-n*i-2*o)/2:"bottom"===l&&(s=this.getHeight()-n*i-2*o),e.translate(o,s+o),r=0;r<n;r++){g=0,y=0;var b,w,E,x=t[r],_=x.text,S=x.width,C=x.lastInParagraph;if(e.save(),"right"===c?g+=u-S-2*o:"center"===c&&(g+=(u-S-2*o)/2),p){e.save(),e.beginPath(),e.moveTo(g,m+y+Math.round(a/2)),w=0==(b=_.split(" ").length-1),E=c!==I||C?S:u-2*o,e.lineTo(g+Math.round(E),m+y+Math.round(a/2)),e.lineWidth=a/15;const t=this._getLinearGradient();e.strokeStyle=t||d,e.stroke(),e.restore()}if(v){e.save(),e.beginPath(),e.moveTo(g,m+y),w=0==(b=_.split(" ").length-1),E=c===I&&C&&!w?u-2*o:S,e.lineTo(g+Math.round(E),m+y),e.lineWidth=a/15;const t=this._getLinearGradient();e.strokeStyle=t||d,e.stroke(),e.restore()}if(0!==h||c===I){b=_.split(" ").length-1;for(var O=R(_),z=0;z<O.length;z++){var M=O[z];" "!==M||C||c!==I||(g+=(u-2*o-S)/b),this._partialTextX=g,this._partialTextY=m+y,this._partialText=M,e.fillStrokeShape(this),g+=this.measureSize(M).width+h}}else this._partialTextX=g,this._partialTextY=m+y,this._partialText=_,e.fillStrokeShape(this);e.restore(),n>1&&(m+=i)}}}_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=m.Z._isString(e)?e:null==e?"":e+"";return this._setAttr("text",t),this}getWidth(){return this.attrs.width===H||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width}getHeight(){return this.attrs.height===H||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height}getTextWidth(){return this.textWidth}getTextHeight(){return m.Z.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=q(),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()+F+this.fontVariant()+F+(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()===I&&(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 q().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,a=this.attrs.height,i=o!==H&&void 0!==o,l=a!==H&&void 0!==a,s=this.padding(),c=o-2*s,u=a-2*s,h=0,d=this.wrap(),f="char"!==d&&d!==B,p=this.ellipsis();this.textArr=[],q().font=this._getContextFont();for(var v=p?this._getTextWidth("…"):0,m=0,g=e.length;m<g;++m){var y=e[m],b=this._getTextWidth(y);if(i&&b>c)for(;y.length>0;){for(var w=0,E=y.length,x="",_=0;w<E;){var S=w+E>>>1,C=y.slice(0,S+1),O=this._getTextWidth(C)+v;O<=c?(w=S+1,x=C,_=O):E=S}if(!x)break;if(f){var z,M=y[x.length];(z=(M===F||"-"===M)&&_<=c?x.length:Math.max(x.lastIndexOf(F),x.lastIndexOf("-"))+1)>0&&(w=z,x=x.slice(0,w),_=this._getTextWidth(x))}if(x=x.trimRight(),this._addTextLine(x),n=Math.max(n,_),h+=r,this._shouldHandleEllipsis(h)){this._tryToAddEllipsisToLastLine();break}if((y=(y=y.slice(w)).trimLeft()).length>0&&(b=this._getTextWidth(y))<=c){this._addTextLine(y),h+=r,n=Math.max(n,b);break}}else this._addTextLine(y),h+=r,n=Math.max(n,b),this._shouldHandleEllipsis(h)&&m<g-1&&this._tryToAddEllipsisToLastLine();if(this.textArr[this.textArr.length-1]&&(this.textArr[this.textArr.length-1].lastInParagraph=!0),l&&h+r>u)break}this.textHeight=t,this.textWidth=n}_shouldHandleEllipsis(e){var t=+this.fontSize(),n=this.lineHeight()*t,r=this.attrs.height,o=r!==H&&void 0!==r,a=r-2*this.padding();return!(this.wrap()!==B)||o&&e+n>a}_tryToAddEllipsisToLastLine(){var e=this.attrs.width,t=e!==H&&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}}W.prototype._fillFunc=function(e){e.fillText(this._partialText,this._partialTextX,this._partialTextY)},W.prototype._strokeFunc=function(e){e.strokeText(this._partialText,this._partialTextX,this._partialTextY)},W.prototype.className="Text",W.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],(0,i.DA)(W),o.F.overWriteSetter(W,"width",(0,l.hi)()),o.F.overWriteSetter(W,"height",(0,l.hi)()),o.F.addGetterSetter(W,"fontFamily","Arial"),o.F.addGetterSetter(W,"fontSize",12,(0,l.Kg)()),o.F.addGetterSetter(W,"fontStyle",j),o.F.addGetterSetter(W,"fontVariant",j),o.F.addGetterSetter(W,"padding",0,(0,l.Kg)()),o.F.addGetterSetter(W,"align",V),o.F.addGetterSetter(W,"verticalAlign","top"),o.F.addGetterSetter(W,"lineHeight",1,(0,l.Kg)()),o.F.addGetterSetter(W,"wrap","word"),o.F.addGetterSetter(W,"ellipsis",!1,(0,l.I0)()),o.F.addGetterSetter(W,"letterSpacing",0,(0,l.Kg)()),o.F.addGetterSetter(W,"text","",(0,l.sY)()),o.F.addGetterSetter(W,"textDecoration","");var K="normal";function Y(e){e.fillText(this.partialText,0,0)}function Z(e){e.strokeText(this.partialText,0,0)}class $ extends a.b{constructor(e){super(e),this.dummyCanvas=m.Z.createCanvasElement(),this.dataArray=[],this.dataArray=d.parsePathData(this.attrs.data),this.on("dataChange.konva",(function(){this.dataArray=d.parsePathData(this.attrs.data),this._setTextData()})),this.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva fontSizeChange.konva fontFamilyChange.konva",this._setTextData),this._setTextData()}_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 a=0;a<o.length;a++){e.save();var i=o[a].p0;e.translate(i.x,i.y),e.rotate(o[a].rotation),this.partialText=o[a].text,e.fillStrokeShape(this),"underline"===t&&(0===a&&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 m.Z.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight}setText(e){return W.prototype.setText.call(this,e)}_getContextFont(){return W.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.attrs.fontSize,10)}}_setTextData(){var e=this,t=this._getTextSize(this.attrs.text),n=this.letterSpacing(),r=this.align(),o=this.kerningFunc();this.textWidth=t.width,this.textHeight=t.height;var a=Math.max(this.textWidth+((this.attrs.text||"").length-1)*n,0);this.glyphInfo=[];for(var i=0,l=0;l<e.dataArray.length;l++)e.dataArray[l].pathLength>0&&(i+=e.dataArray[l].pathLength);var s=0;"center"===r&&(s=Math.max(0,i/2-a/2)),"right"===r&&(s=Math.max(0,i-a));for(var c,u,h,f=R(this.text()),p=this.text().split(" ").length-1,v=-1,m=0,g=function(){m=0;for(var t=e.dataArray,n=v+1;n<t.length;n++){if(t[n].pathLength>0)return v=n,t[n];"M"===t[n].command&&(c={x:t[n].points[0],y:t[n].points[1]})}return{}},y=function(t){var o=e._getTextSize(t).width+n;" "===t&&"justify"===r&&(o+=(i-a)/p);var l=0,s=0;for(u=void 0;Math.abs(o-l)/o>.01&&s<20;){s++;for(var f=l;void 0===h;)(h=g())&&f+h.pathLength<o&&(f+=h.pathLength,h=void 0);if(0===Object.keys(h).length||void 0===c)return;var v=!1;switch(h.command){case"L":d.getLineLength(c.x,c.y,h.points[0],h.points[1])>o?u=d.getPointOnLine(o,c.x,c.y,h.points[0],h.points[1],c.x,c.y):h=void 0;break;case"A":var y=h.points[4],b=h.points[5],w=h.points[4]+b;0===m?m=y+1e-8:o>l?m+=Math.PI/180*b/Math.abs(b):m-=Math.PI/360*b/Math.abs(b),(b<0&&m<w||b>=0&&m>w)&&(m=w,v=!0),u=d.getPointOnEllipticalArc(h.points[0],h.points[1],h.points[2],h.points[3],m,h.points[6]);break;case"C":0===m?m=o>h.pathLength?1e-8:o/h.pathLength:o>l?m+=(o-l)/h.pathLength/2:m=Math.max(m-(l-o)/h.pathLength/2,0),m>1&&(m=1,v=!0),u=d.getPointOnCubicBezier(m,h.start.x,h.start.y,h.points[0],h.points[1],h.points[2],h.points[3],h.points[4],h.points[5]);break;case"Q":0===m?m=o/h.pathLength:o>l?m+=(o-l)/h.pathLength:m-=(l-o)/h.pathLength,m>1&&(m=1,v=!0),u=d.getPointOnQuadraticBezier(m,h.start.x,h.start.y,h.points[0],h.points[1],h.points[2],h.points[3])}void 0!==u&&(l=d.getLineLength(c.x,c.y,u.x,u.y)),v&&(v=!1,h=void 0)}},b=s/(e._getTextSize("C").width+n)-1,w=0;w<b&&(y("C"),void 0!==c&&void 0!==u);w++)c=u;for(var E=0;E<f.length&&(y(f[E]),void 0!==c&&void 0!==u);E++){var x=d.getLineLength(c.x,c.y,u.x,u.y),_=0;if(o)try{_=o(f[E-1],f[E])*this.fontSize()}catch(e){_=0}c.x+=_,u.x+=_,this.textWidth+=_;var S=d.getPointOnLine(_+x/2,c.x,c.y,u.x,u.y),C=Math.atan2(u.y-c.y,u.x-c.x);this.glyphInfo.push({transposeX:S.x,transposeY:S.y,text:f[E],rotation:C,p0:c,p1:u}),c=u}}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,a=e[1]||0,i=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),a=Math.min(a,n),i=Math.max(i,n);var s=this.fontSize();return{x:r-s/2,y:a-s/2,width:o-r+s,height:i-a+s}}destroy(){return m.Z.releaseCanvas(this.dummyCanvas),super.destroy()}}$.prototype._fillFunc=Y,$.prototype._strokeFunc=Z,$.prototype._fillFuncHit=Y,$.prototype._strokeFuncHit=Z,$.prototype.className="TextPath",$.prototype._attrsAffectingSize=["text","fontSize","data"],(0,i.DA)($),o.F.addGetterSetter($,"data"),o.F.addGetterSetter($,"fontFamily","Arial"),o.F.addGetterSetter($,"fontSize",12,(0,l.Kg)()),o.F.addGetterSetter($,"fontStyle",K),o.F.addGetterSetter($,"align","left"),o.F.addGetterSetter($,"letterSpacing",0,(0,l.Kg)()),o.F.addGetterSetter($,"textBaseline","middle"),o.F.addGetterSetter($,"fontVariant",K),o.F.addGetterSetter($,"text",""),o.F.addGetterSetter($,"textDecoration",null),o.F.addGetterSetter($,"kerningFunc",null);var X=n(7874),Q="tr-konva",J=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange"].map((e=>e+`.${Q}`)).join(" "),ee="nodesRect",te=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"],ne={"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 re="ontouchstart"in i.So._global;var oe=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function ae(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 ie extends y.Z{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(J,this.update),this.getNode()&&this.update()}attachTo(e){return this.setNode(e),this}setNode(e){return m.Z.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 Q+this._id}setNodes(e=[]){this._nodes&&this._nodes.length&&this.detach();const t=e.filter((e=>!e.isAncestorOf(this)||(m.Z.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(te.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,a=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+a}),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(ee),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")}_getNodeRect(){return this._getCache(ee,this.__getNodeRect)}__getNodeShape(e,t=this.rotation(),n){var r=e.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),o=e.getAbsoluteScale(n),a=e.getAbsolutePosition(n),l=r.x*o.x-e.offsetX()*o.x,s=r.y*o.y-e.offsetY()*o.y;const c=(i.So.getAngle(e.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return ae({x:a.x+l*Math.cos(c)+s*Math.sin(-c),y:a.y+s*Math.cos(c)+l*Math.sin(c),width:r.width*o.x,height:r.height*o.y,rotation:c},-i.So.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 m.w;var n,r,o,a;t.rotate(-i.So.getAngle(this.rotation())),e.forEach((function(e){var i=t.point(e);void 0===n&&(n=o=i.x,r=a=i.y),n=Math.min(n,i.x),r=Math.min(r,i.y),o=Math.max(o,i.x),a=Math.max(a,i.y)})),t.invert();const l=t.point({x:n,y:r});return{x:l.x,y:l.y,width:o-n,height:a-r,rotation:i.So.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(),oe.forEach(function(e){this._createAnchor(e)}.bind(this)),this._createAnchor("rotater")}_createAnchor(e){var t=new z({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:e+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:re?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=i.So.getAngle(this.rotation()),r=function(e,t){if("rotater"===e)return"crosshair";t+=m.Z.degToRad(ne[e]||0);var n=(m.Z.radToDeg(t)%360+360)%360;return m.Z._inRange(n,337.5,360)||m.Z._inRange(n,0,22.5)?"ns-resize":m.Z._inRange(n,22.5,67.5)?"nesw-resize":m.Z._inRange(n,67.5,112.5)?"ew-resize":m.Z._inRange(n,112.5,157.5)?"nwse-resize":m.Z._inRange(n,157.5,202.5)?"ns-resize":m.Z._inRange(n,202.5,247.5)?"nesw-resize":m.Z._inRange(n,247.5,292.5)?"ew-resize":m.Z._inRange(n,292.5,337.5)?"nwse-resize":(m.Z.error("Transformer has unknown angle for cursor detection: "+n),"pointer")}(e,n);t.getStage().content&&(t.getStage().content.style.cursor=r),this._cursorChange=!0})),t.on("mouseout",(()=>{t.getStage().content&&(t.getStage().content.style.cursor=""),this._cursorChange=!1})),this.add(t)}_createBack(){var e=new a.b({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()*m.Z._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 a=e.target.getAbsolutePosition(),i=e.target.getStage().getPointerPosition();this._anchorDragOffset={x:i.x-a.x,y:i.y-a.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),a=o.getStage();a.setPointersPositions(e);const l=a.getPointerPosition();let s={x:l.x-this._anchorDragOffset.x,y:l.y-this._anchorDragOffset.y};const c=o.getAbsolutePosition();this.anchorDragBoundFunc()&&(s=this.anchorDragBoundFunc()(c,s,e)),o.setAbsolutePosition(s);const u=o.getAbsolutePosition();if(c.x!==u.x||c.y!==u.y)if("rotater"!==this._movingAnchorName){var h=this.keepRatio()||e.shiftKey,d=this.centeredScaling()||e.altKey;if("top-left"===this._movingAnchorName){if(h){var f=d?{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(f.x-o.x(),2)+Math.pow(f.y-o.y(),2));var p=this.findOne(".top-left").x()>f.x?-1:1,v=this.findOne(".top-left").y()>f.y?-1:1;t=r*this.cos*p,n=r*this.sin*v,this.findOne(".top-left").x(f.x-t),this.findOne(".top-left").y(f.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(o.y());else if("top-right"===this._movingAnchorName){h&&(f=d?{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()-f.x,2)+Math.pow(f.y-o.y(),2)),p=this.findOne(".top-right").x()<f.x?-1:1,v=this.findOne(".top-right").y()>f.y?-1:1,t=r*this.cos*p,n=r*this.sin*v,this.findOne(".top-right").x(f.x+t),this.findOne(".top-right").y(f.y-n));var m=o.position();this.findOne(".top-left").y(m.y),this.findOne(".bottom-right").x(m.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?(h&&(f=d?{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(f.x-o.x(),2)+Math.pow(o.y()-f.y,2)),p=f.x<o.x()?-1:1,v=o.y()<f.y?-1:1,t=r*this.cos*p,n=r*this.sin*v,o.x(f.x-t),o.y(f.y+n)),m=o.position(),this.findOne(".top-left").x(m.x),this.findOne(".bottom-right").y(m.y)):"bottom-center"===this._movingAnchorName?this.findOne(".bottom-right").y(o.y()):"bottom-right"===this._movingAnchorName?h&&(f=d?{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()-f.x,2)+Math.pow(o.y()-f.y,2)),p=this.findOne(".bottom-right").x()<f.x?-1:1,v=this.findOne(".bottom-right").y()<f.y?-1:1,t=r*this.cos*p,n=r*this.sin*v,this.findOne(".bottom-right").x(f.x+t),this.findOne(".bottom-right").y(f.y+n)):console.error(new Error("Wrong position argument of selection resizer: "+this._movingAnchorName));if(d=this.centeredScaling()||e.altKey){var g=this.findOne(".top-left"),y=this.findOne(".bottom-right"),b=g.x(),w=g.y(),E=this.getWidth()-y.x(),x=this.getHeight()-y.y();y.move({x:-b,y:-w}),g.move({x:E,y:x})}var _=this.findOne(".top-left").getAbsolutePosition();t=_.x,n=_.y;var S=this.findOne(".bottom-right").x()-this.findOne(".top-left").x(),C=this.findOne(".bottom-right").y()-this.findOne(".top-left").y();this._fitNodesInto({x:t,y:n,width:S,height:C,rotation:i.So.getAngle(this.rotation())},e)}else{var O=this._getNodeRect();t=o.x()-O.width/2,n=-o.y()+O.height/2;let r=Math.atan2(-n,t)+Math.PI/2;O.height<0&&(r-=Math.PI);const a=i.So.getAngle(this.rotation())+r,l=i.So.getAngle(this.rotationSnapTolerance()),s=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 ae(e,t,n)}(O,function(e,t,n){let r=t;for(let o=0;o<e.length;o++){const a=i.So.getAngle(e[o]),l=Math.abs(a-t)%(2*Math.PI);Math.min(l,2*Math.PI-l)<n&&(r=a)}return r}(this.rotationSnaps(),a,l)-O.rotation);this._fitNodesInto(s,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(m.Z._inRange(e.width,2*-this.padding()-1,1))return void this.update();if(m.Z._inRange(e.height,2*-this.padding()-1,1))return void this.update();const r=this.flipEnabled();var o=new m.w;if(o.rotate(i.So.getAngle(this.rotation())),this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("left")>=0){const t=o.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,!r)return void this.update()}else if(this._movingAnchorName&&e.width<0&&this._movingAnchorName.indexOf("right")>=0){const t=o.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(),!r)return void this.update()}if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("top")>=0){const t=o.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(),!r)return void this.update()}else if(this._movingAnchorName&&e.height<0&&this._movingAnchorName.indexOf("bottom")>=0){const t=o.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(),!r)return void this.update()}if(this.boundBoxFunc()){const t=this.boundBoxFunc()(n,e);t?e=t:m.Z.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}const a=1e7,l=new m.w;l.translate(n.x,n.y),l.rotate(n.rotation),l.scale(n.width/a,n.height/a);const s=new m.w;s.translate(e.x,e.y),s.rotate(e.rotation),s.scale(e.width/a,e.height/a);const c=s.multiply(l.invert());this._nodes.forEach((e=>{var n;const r=e.getParent().getAbsoluteTransform(),o=e.getTransform().copy();o.translate(e.offsetX(),e.offsetY());const a=new m.w;a.multiply(r.copy().invert()).multiply(c).multiply(r).multiply(o);const i=a.decompose();e.setAttrs(i),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(m.Z._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(m.Z._getRotation(t.rotation));var n=t.width,r=t.height,o=this.enabledAnchors(),a=this.resizeEnabled(),i=this.padding(),l=this.anchorSize();this.find("._anchor").forEach((e=>{e.setAttrs({width:l,height:l,offsetX:l/2,offsetY:l/2,stroke:this.anchorStroke(),strokeWidth:this.anchorStrokeWidth(),fill:this.anchorFill(),cornerRadius:this.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:l/2+i,offsetY:l/2+i,visible:a&&o.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:l/2+i,visible:a&&o.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:l/2-i,offsetY:l/2+i,visible:a&&o.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:r/2,offsetX:l/2+i,visible:a&&o.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:r/2,offsetX:l/2-i,visible:a&&o.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:r,offsetX:l/2+i,offsetY:l/2-i,visible:a&&o.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:r,offsetY:l/2-i,visible:a&&o.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:r,offsetX:l/2-i,offsetY:l/2-i,visible:a&&o.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*m.Z._sign(r)-i,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:r,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),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=""),y.Z.prototype.destroy.call(this),this.detach(),this._removeEvents(),this}toObject(){return X.N.prototype.toObject.call(this)}clone(e){return X.N.prototype.clone.call(this,e)}getClientRect(){return this.nodes().length>0?super.getClientRect():{x:0,y:0,width:0,height:0}}}ie.prototype.className="Transformer",(0,i.DA)(ie),o.F.addGetterSetter(ie,"enabledAnchors",oe,(function(e){return e instanceof Array||m.Z.warn("enabledAnchors value should be an array"),e instanceof Array&&e.forEach((function(e){-1===oe.indexOf(e)&&m.Z.warn("Unknown anchor name: "+e+". Available names are: "+oe.join(", "))})),e||[]})),o.F.addGetterSetter(ie,"flipEnabled",!0,(0,l.I0)()),o.F.addGetterSetter(ie,"resizeEnabled",!0),o.F.addGetterSetter(ie,"anchorSize",10,(0,l.Kg)()),o.F.addGetterSetter(ie,"rotateEnabled",!0),o.F.addGetterSetter(ie,"rotationSnaps",[]),o.F.addGetterSetter(ie,"rotateAnchorOffset",50,(0,l.Kg)()),o.F.addGetterSetter(ie,"rotationSnapTolerance",5,(0,l.Kg)()),o.F.addGetterSetter(ie,"borderEnabled",!0),o.F.addGetterSetter(ie,"anchorStroke","rgb(0, 161, 255)"),o.F.addGetterSetter(ie,"anchorStrokeWidth",1,(0,l.Kg)()),o.F.addGetterSetter(ie,"anchorFill","white"),o.F.addGetterSetter(ie,"anchorCornerRadius",0,(0,l.Kg)()),o.F.addGetterSetter(ie,"borderStroke","rgb(0, 161, 255)"),o.F.addGetterSetter(ie,"borderStrokeWidth",1,(0,l.Kg)()),o.F.addGetterSetter(ie,"borderDash"),o.F.addGetterSetter(ie,"keepRatio",!0),o.F.addGetterSetter(ie,"centeredScaling",!1),o.F.addGetterSetter(ie,"ignoreStroke",!1),o.F.addGetterSetter(ie,"padding",0,(0,l.Kg)()),o.F.addGetterSetter(ie,"node"),o.F.addGetterSetter(ie,"nodes"),o.F.addGetterSetter(ie,"boundBoxFunc"),o.F.addGetterSetter(ie,"anchorDragBoundFunc"),o.F.addGetterSetter(ie,"shouldOverdrawWholeArea",!1),o.F.addGetterSetter(ie,"useSingleNodeRotation",!0),o.F.backCompat(ie,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"});class le extends a.b{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.radius(),0,i.So.getAngle(this.angle()),this.clockwise()),e.lineTo(0,0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.radius()}getHeight(){return 2*this.radius()}setWidth(e){this.radius(e/2)}setHeight(e){this.radius(e/2)}}function se(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}le.prototype.className="Wedge",le.prototype._centroid=!0,le.prototype._attrsAffectingSize=["radius"],(0,i.DA)(le),o.F.addGetterSetter(le,"radius",0,(0,l.Kg)()),o.F.addGetterSetter(le,"angle",0,(0,l.Kg)()),o.F.addGetterSetter(le,"clockwise",!1),o.F.backCompat(le,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"});var ce=[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],ue=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function he(e,t,n,r,o){var a=n-t,i=o-r;return 0===a?r+i/2:0===i?r:i*((e-t)/a)+r}function de(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 fe(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))}o.F.addGetterSetter(X.N,"blurRadius",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"brightness",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"contrast",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"embossStrength",.5,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"embossWhiteLevel",.5,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"embossDirection","top-left",null,o.F.afterSetFilter),o.F.addGetterSetter(X.N,"embossBlend",!1,null,o.F.afterSetFilter),o.F.addGetterSetter(X.N,"enhance",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"hue",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"saturation",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"luminance",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"hue",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"saturation",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"value",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"kaleidoscopePower",2,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"kaleidoscopeAngle",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"threshold",0,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"noise",.2,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"pixelSize",8,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"levels",.5,(0,l.Kg)(),o.F.afterSetFilter),o.F.addGetterSetter(X.N,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),o.F.addGetterSetter(X.N,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),o.F.addGetterSetter(X.N,"blue",0,l.xj,o.F.afterSetFilter),o.F.addGetterSetter(X.N,"red",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),o.F.addGetterSetter(X.N,"green",0,(function(e){return this._filterUpToDate=!1,e>255?255:e<0?0:Math.round(e)})),o.F.addGetterSetter(X.N,"blue",0,l.xj,o.F.afterSetFilter),o.F.addGetterSetter(X.N,"alpha",1,(function(e){return this._filterUpToDate=!1,e>1?1:e<0?0:e})),o.F.addGetterSetter(X.N,"threshold",.5,(0,l.Kg)(),o.F.afterSetFilter);const pe=r.S.Util._assign(r.S,{Arc:s,Arrow:f,Circle:p,Ellipse:v,Image:g,Label:C,Tag:O,Line:h,Path:d,Rect:z,RegularPolygon:M,Ring:P,Sprite:A,Star:L,Text:W,TextPath:$,Transformer:ie,Wedge:le,Filters:{Blur:function(e){var t=Math.round(this.blurRadius());t>0&&function(e,t){var n,r,o,a,i,l,s,c,u,h,d,f,p,v,m,g,y,b,w,E,x,_,S,C,O=e.data,z=e.width,M=e.height,T=t+t+1,P=z-1,k=M-1,A=t+1,L=A*(A+1)/2,R=new se,N=null,H=R,I=null,V=null,D=ce[t],j=ue[t];for(o=1;o<T;o++)H=H.next=new se,o===A&&(N=H);for(H.next=R,s=l=0,r=0;r<M;r++){for(g=y=b=w=c=u=h=d=0,f=A*(E=O[l]),p=A*(x=O[l+1]),v=A*(_=O[l+2]),m=A*(S=O[l+3]),c+=L*E,u+=L*x,h+=L*_,d+=L*S,H=R,o=0;o<A;o++)H.r=E,H.g=x,H.b=_,H.a=S,H=H.next;for(o=1;o<A;o++)a=l+((P<o?P:o)<<2),c+=(H.r=E=O[a])*(C=A-o),u+=(H.g=x=O[a+1])*C,h+=(H.b=_=O[a+2])*C,d+=(H.a=S=O[a+3])*C,g+=E,y+=x,b+=_,w+=S,H=H.next;for(I=R,V=N,n=0;n<z;n++)O[l+3]=S=d*D>>j,0!==S?(S=255/S,O[l]=(c*D>>j)*S,O[l+1]=(u*D>>j)*S,O[l+2]=(h*D>>j)*S):O[l]=O[l+1]=O[l+2]=0,c-=f,u-=p,h-=v,d-=m,f-=I.r,p-=I.g,v-=I.b,m-=I.a,a=s+((a=n+t+1)<P?a:P)<<2,c+=g+=I.r=O[a],u+=y+=I.g=O[a+1],h+=b+=I.b=O[a+2],d+=w+=I.a=O[a+3],I=I.next,f+=E=V.r,p+=x=V.g,v+=_=V.b,m+=S=V.a,g-=E,y-=x,b-=_,w-=S,V=V.next,l+=4;s+=z}for(n=0;n<z;n++){for(y=b=w=g=u=h=d=c=0,f=A*(E=O[l=n<<2]),p=A*(x=O[l+1]),v=A*(_=O[l+2]),m=A*(S=O[l+3]),c+=L*E,u+=L*x,h+=L*_,d+=L*S,H=R,o=0;o<A;o++)H.r=E,H.g=x,H.b=_,H.a=S,H=H.next;for(i=z,o=1;o<=t;o++)l=i+n<<2,c+=(H.r=E=O[l])*(C=A-o),u+=(H.g=x=O[l+1])*C,h+=(H.b=_=O[l+2])*C,d+=(H.a=S=O[l+3])*C,g+=E,y+=x,b+=_,w+=S,H=H.next,o<k&&(i+=z);for(l=n,I=R,V=N,r=0;r<M;r++)O[3+(a=l<<2)]=S=d*D>>j,S>0?(S=255/S,O[a]=(c*D>>j)*S,O[a+1]=(u*D>>j)*S,O[a+2]=(h*D>>j)*S):O[a]=O[a+1]=O[a+2]=0,c-=f,u-=p,h-=v,d-=m,f-=I.r,p-=I.g,v-=I.b,m-=I.a,a=n+((a=r+A)<k?a:k)*z<<2,c+=g+=I.r=O[a],u+=y+=I.g=O[a+1],h+=b+=I.b=O[a+2],d+=w+=I.a=O[a+3],I=I.next,f+=E=V.r,p+=x=V.g,v+=_=V.b,m+=S=V.a,g-=E,y-=x,b-=_,w-=S,V=V.next,l+=z}}(e,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},Contrast:function(e){var t,n=Math.pow((this.contrast()+100)/100,2),r=e.data,o=r.length,a=150,i=150,l=150;for(t=0;t<o;t+=4)a=r[t],i=r[t+1],l=r[t+2],a/=255,a-=.5,a*=n,a+=.5,i/=255,i-=.5,i*=n,i+=.5,l/=255,l-=.5,l*=n,l+=.5,a=(a*=255)<0?0:a>255?255:a,i=(i*=255)<0?0:i>255?255:i,l=(l*=255)<0?0:l>255?255:l,r[t]=a,r[t+1]=i,r[t+2]=l},Emboss:function(e){var t=10*this.embossStrength(),n=255*this.embossWhiteLevel(),r=this.embossDirection(),o=this.embossBlend(),a=0,i=0,l=e.data,s=e.width,c=e.height,u=4*s,h=c;switch(r){case"top-left":a=-1,i=-1;break;case"top":a=-1,i=0;break;case"top-right":a=-1,i=1;break;case"right":a=0,i=1;break;case"bottom-right":a=1,i=1;break;case"bottom":a=1,i=0;break;case"bottom-left":a=1,i=-1;break;case"left":a=0,i=-1;break;default:m.Z.error("Unknown emboss direction: "+r)}do{var d=(h-1)*u,f=a;h+f<1&&(f=0),h+f>c&&(f=0);var p=(h-1+f)*s*4,v=s;do{var g=d+4*(v-1),y=i;v+y<1&&(y=0),v+y>s&&(y=0);var b=p+4*(v-1+y),w=l[g]-l[b],E=l[g+1]-l[b+1],x=l[g+2]-l[b+2],_=w,S=_>0?_:-_;if((E>0?E:-E)>S&&(_=E),(x>0?x:-x)>S&&(_=x),_*=t,o){var C=l[g]+_,O=l[g+1]+_,z=l[g+2]+_;l[g]=C>255?255:C<0?0:C,l[g+1]=O>255?255:O<0?0:O,l[g+2]=z>255?255:z<0?0:z}else{var M=n-_;M<0?M=0:M>255&&(M=255),l[g]=l[g+1]=l[g+2]=M}}while(--v)}while(--h)},Enhance:function(e){var t,n,r,o,a=e.data,i=a.length,l=a[0],s=l,c=a[1],u=c,h=a[2],d=h,f=this.enhance();if(0!==f){for(o=0;o<i;o+=4)(t=a[o+0])<l?l=t:t>s&&(s=t),(n=a[o+1])<c?c=n:n>u&&(u=n),(r=a[o+2])<h?h=r:r>d&&(d=r);var p,v,m,g,y,b,w,E,x;for(s===l&&(s=255,l=0),u===c&&(u=255,c=0),d===h&&(d=255,h=0),f>0?(v=s+f*(255-s),m=l-f*(l-0),y=u+f*(255-u),b=c-f*(c-0),E=d+f*(255-d),x=h-f*(h-0)):(v=s+f*(s-(p=.5*(s+l))),m=l+f*(l-p),y=u+f*(u-(g=.5*(u+c))),b=c+f*(c-g),E=d+f*(d-(w=.5*(d+h))),x=h+f*(h-w)),o=0;o<i;o+=4)a[o+0]=he(a[o+0],l,s,m,v),a[o+1]=he(a[o+1],c,u,b,y),a[o+2]=he(a[o+2],h,d,x,E)}},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},HSL:function(e){var t,n,r,o,a,i=e.data,l=i.length,s=Math.pow(2,this.saturation()),c=Math.abs(this.hue()+360)%360,u=127*this.luminance(),h=1*s*Math.cos(c*Math.PI/180),d=1*s*Math.sin(c*Math.PI/180),f=.299+.701*h+.167*d,p=.587-.587*h+.33*d,v=.114-.114*h-.497*d,m=.299-.299*h-.328*d,g=.587+.413*h+.035*d,y=.114-.114*h+.293*d,b=.299-.3*h+1.25*d,w=.587-.586*h-1.05*d,E=.114+.886*h-.2*d;for(t=0;t<l;t+=4)n=i[t+0],r=i[t+1],o=i[t+2],a=i[t+3],i[t+0]=f*n+p*r+v*o+u,i[t+1]=m*n+g*r+y*o+u,i[t+2]=b*n+w*r+E*o+u,i[t+3]=a},HSV:function(e){var t,n,r,o,a,i=e.data,l=i.length,s=Math.pow(2,this.value()),c=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,h=s*c*Math.cos(u*Math.PI/180),d=s*c*Math.sin(u*Math.PI/180),f=.299*s+.701*h+.167*d,p=.587*s-.587*h+.33*d,v=.114*s-.114*h-.497*d,m=.299*s-.299*h-.328*d,g=.587*s+.413*h+.035*d,y=.114*s-.114*h+.293*d,b=.299*s-.3*h+1.25*d,w=.587*s-.586*h-1.05*d,E=.114*s+.886*h-.2*d;for(t=0;t<l;t+=4)n=i[t+0],r=i[t+1],o=i[t+2],a=i[t+3],i[t+0]=f*n+p*r+v*o,i[t+1]=m*n+g*r+y*o,i[t+2]=b*n+w*r+E*o,i[t+3]=a},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]},Kaleidoscope:function(e){var t,n,r,o,a,i,l,s,c,u=e.width,h=e.height,d=Math.round(this.kaleidoscopePower()),f=Math.round(this.kaleidoscopeAngle()),p=Math.floor(u*(f%360)/360);if(!(d<1)){var v=m.Z.createCanvasElement();v.width=u,v.height=h;var g=v.getContext("2d").getImageData(0,0,u,h);m.Z.releaseCanvas(v),function(e,t,n){var r,o,a,i,l=e.data,s=t.data,c=e.width,u=e.height,h=n.polarCenterX||c/2,d=n.polarCenterY||u/2,f=0,p=0,v=0,m=0,g=Math.sqrt(h*h+d*d);o=c-h,a=u-d,g=(i=Math.sqrt(o*o+a*a))>g?i:g;var y,b,w,E,x=u,_=c,S=360/_*Math.PI/180;for(b=0;b<_;b+=1)for(w=Math.sin(b*S),E=Math.cos(b*S),y=0;y<x;y+=1)o=Math.floor(h+g*y/x*E),f=l[0+(r=4*((a=Math.floor(d+g*y/x*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:u/2,polarCenterY:h/2});for(var y=u/Math.pow(2,d);y<=8;)y*=2,d-=1;var b=y=Math.ceil(y),w=0,E=b,x=1;for(p+y>u&&(w=b,E=0,x=-1),n=0;n<h;n+=1)for(t=w;t!==E;t+=x)s=4*(u*n+Math.round(t+p)%u),o=g.data[s+0],a=g.data[s+1],i=g.data[s+2],l=g.data[s+3],c=4*(u*n+t),g.data[c+0]=o,g.data[c+1]=a,g.data[c+2]=i,g.data[c+3]=l;for(n=0;n<h;n+=1)for(b=Math.floor(y),r=0;r<d;r+=1){for(t=0;t<b+1;t+=1)s=4*(u*n+t),o=g.data[s+0],a=g.data[s+1],i=g.data[s+2],l=g.data[s+3],c=4*(u*n+2*b-t-1),g.data[c+0]=o,g.data[c+1]=a,g.data[c+2]=i,g.data[c+3]=l;b*=2}!function(e,t,n){var r,o,a,i,l,s,c=e.data,u=t.data,h=e.width,d=e.height,f=n.polarCenterX||h/2,p=n.polarCenterY||d/2,v=0,m=0,g=0,y=0,b=Math.sqrt(f*f+p*p);o=h-f,a=d-p,b=(s=Math.sqrt(o*o+a*a))>b?s:b;var w,E,x,_=d,S=h,C=n.polarRotation||0;for(o=0;o<h;o+=1)for(a=0;a<d;a+=1)i=o-f,l=a-p,w=Math.sqrt(i*i+l*l)*_/b,E=(E=(180*Math.atan2(l,i)/Math.PI+360+C)%360)*S/360,x=Math.floor(E),v=c[0+(r=4*(Math.floor(w)*h+x))],m=c[r+1],g=c[r+2],y=c[r+3],u[0+(r=4*(a*h+o))]=v,u[r+1]=m,u[r+2]=g,u[r+3]=y}(g,e,{polarRotation:0})}},Mask:function(e){var t=function(e,t){var n=de(e,0,0),r=de(e,e.width-1,0),o=de(e,0,e.height-1),a=de(e,e.width-1,e.height-1),i=t||10;if(fe(n,r)<i&&fe(r,a)<i&&fe(a,o)<i&&fe(o,n)<i){for(var l=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,a,o]),s=[],c=0;c<e.width*e.height;c++){var u=fe(l,[e.data[4*c],e.data[4*c+1],e.data[4*c+2]]);s[c]=u<i?0:255}return s}}(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)),a=Math.floor(o/2),i=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,h=0;h<o;h++)for(var d=0;d<o;d++){var f=l+h-a,p=s+d-a;if(f>=0&&f<n&&p>=0&&p<t){var v=r[h*o+d];u+=e[f*t+p]*v}}i[c]=u}return i}(t=function(e,t,n){for(var r=[1,1,1,1,1,1,1,1,1],o=Math.round(Math.sqrt(r.length)),a=Math.floor(o/2),i=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,h=0;h<o;h++)for(var d=0;d<o;d++){var f=l+h-a,p=s+d-a;if(f>=0&&f<n&&p>=0&&p<t){var v=r[h*o+d];u+=e[f*t+p]*v}}i[c]=u>=1020?255:0}return i}(t=function(e,t,n){for(var r=[1,1,1,1,0,1,1,1,1],o=Math.round(Math.sqrt(r.length)),a=Math.floor(o/2),i=[],l=0;l<n;l++)for(var s=0;s<t;s++){for(var c=l*t+s,u=0,h=0;h<o;h++)for(var d=0;d<o;d++){var f=l+h-a,p=s+d-a;if(f>=0&&f<n&&p>=0&&p<t){var v=r[h*o+d];u+=e[f*t+p]*v}}i[c]=2040===u?255:0}return i}(t,e.width,e.height),e.width,e.height),e.width,e.height)),e},Noise:function(e){var t,n=255*this.noise(),r=e.data,o=r.length,a=n/2;for(t=0;t<o;t+=4)r[t+0]+=a-2*a*Math.random(),r[t+1]+=a-2*a*Math.random(),r[t+2]+=a-2*a*Math.random()},Pixelate:function(e){var t,n,r,o,a,i,l,s,c,u,h,d,f,p,v=Math.ceil(this.pixelSize()),g=e.width,y=e.height,b=Math.ceil(g/v),w=Math.ceil(y/v),E=e.data;if(v<=0)m.Z.error("pixelSize value can not be <= 0");else for(d=0;d<b;d+=1)for(f=0;f<w;f+=1){for(o=0,a=0,i=0,l=0,c=(s=d*v)+v,h=(u=f*v)+v,p=0,t=s;t<c;t+=1)if(!(t>=g))for(n=u;n<h;n+=1)n>=y||(o+=E[0+(r=4*(g*n+t))],a+=E[r+1],i+=E[r+2],l+=E[r+3],p+=1);for(o/=p,a/=p,i/=p,l/=p,t=s;t<c;t+=1)if(!(t>=g))for(n=u;n<h;n+=1)n>=y||(E[0+(r=4*(g*n+t))]=o,E[r+1]=a,E[r+2]=i,E[r+3]=l)}},Posterize:function(e){var t,n=Math.round(254*this.levels())+1,r=e.data,o=r.length,a=255/n;for(t=0;t<o;t+=1)r[t]=Math.floor(r[t]/a)*a},RGB:function(e){var t,n,r=e.data,o=r.length,a=this.red(),i=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*a,r[t+1]=n*i,r[t+2]=n*l,r[t+3]=r[t+3]},RGBA:function(e){var t,n,r=e.data,o=r.length,a=this.red(),i=this.green(),l=this.blue(),s=this.alpha();for(t=0;t<o;t+=4)n=1-s,r[t]=a*s+r[t]*n,r[t+1]=i*s+r[t+1]*n,r[t+2]=l*s+r[t+2]*n},Sepia:function(e){var t,n,r,o,a=e.data,i=a.length;for(t=0;t<i;t+=4)n=a[t+0],r=a[t+1],o=a[t+2],a[t+0]=Math.min(255,.393*n+.769*r+.189*o),a[t+1]=Math.min(255,.349*n+.686*r+.168*o),a[t+2]=Math.min(255,.272*n+.534*r+.131*o)},Solarize:function(e){var t=e.data,n=e.width,r=4*n,o=e.height;do{var a=(o-1)*r,i=n;do{var l=a+4*(i-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(--i)}while(--o)},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}}})},4296:(e,t,n)=>{"use strict";n.r(t),n.d(t,{customAlphabet:()=>i,customRandom:()=>a,nanoid:()=>l,random:()=>o,urlAlphabet:()=>r});let r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",o=e=>crypto.getRandomValues(new Uint8Array(e)),a=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(a=t)=>{let i="";for(;;){let t=n(o),l=o;for(;l--;)if(i+=e[t[l]&r]||"",i.length===a)return i}}},i=(e,t=21)=>a(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?"-":"_")),"")},1753:(e,t,n)=>{"use strict";n.d(t,{$l:()=>c,BN:()=>H,DY:()=>o,J$:()=>G,JG:()=>j,JN:()=>m,LI:()=>M,MA:()=>Z,PM:()=>d,W6:()=>O,i_:()=>s,kY:()=>Y,ko:()=>Q,kw:()=>z,mf:()=>h,o8:()=>u,qC:()=>k,s6:()=>X,sj:()=>N,u3:()=>L,u_:()=>F,w6:()=>C,xD:()=>J});var r=n(7294);const o=new WeakMap,a={},i={},l=()=>{},s=l(),c=Object,u=e=>e===s,h=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),f="undefined",p=typeof window!=f,v=typeof document!=f,m=(e,t)=>{const n=o.get(e);return[()=>!u(t)&&e.get(t)||a,r=>{if(!u(t)){const o=e.get(t);t in i||(i[t]=o),n[5](t,d(o,r),o||a)}},n[6],()=>!u(t)&&t in i?i[t]:!u(t)&&e.get(t)||a]},g=new WeakMap;let y=0;const b=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(c(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=g.get(e),o)return o;if(o=++y+"~",g.set(e,o),n==Array){for(o="@",a=0;a<e.length;a++)o+=b(e[a])+",";g.set(e,o)}if(n==c){o="#";const t=c.keys(e).sort();for(;!u(a=t.pop());)u(e[a])||(o+=a+":"+b(e[a])+",");g.set(e,o)}}return o};let w=!0;const[E,x]=p&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[l,l],_={isOnline:()=>w,isVisible:()=>{const e=v&&document.visibilityState;return u(e)||"hidden"!==e}},S={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),x("focus",e)}),initReconnect:e=>{const t=()=>{w=!0,e()},n=()=>{w=!1};return E("online",t),E("offline",n),()=>{x("online",t),x("offline",n)}}},C=!r.useId,O=!p||"Deno"in window,z=e=>p&&typeof window.requestAnimationFrame!=f?window.requestAnimationFrame(e):setTimeout(e,1),M=O?r.useEffect:r.useLayoutEffect,T="undefined"!=typeof navigator&&navigator.connection,P=!O&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),k=e=>{if(h(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?b(e):"",t]};let A=0;const L=()=>++A,R=2;var N={__proto__:null,FOCUS_EVENT:0,RECONNECT_EVENT:1,MUTATE_EVENT:R,ERROR_REVALIDATE_EVENT:3};async function H(...e){const[t,n,r,a]=e,i=d({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{});let l=i.populateCache;const c=i.rollbackOnError;let f=i.optimisticData;const p=!1!==i.revalidate,v=i.throwOnError;if(h(n)){const e=n,r=[],o=t.keys();for(let n=o.next();!n.done;n=o.next()){const o=n.value;!/^\$(inf|sub)\$/.test(o)&&e(t.get(o)._k)&&r.push(o)}return Promise.all(r.map(g))}return g(n);async function g(n){const[a]=k(n);if(!a)return;const[i,d]=m(t,a),[g,y,b]=o.get(t),w=g[a],E=()=>p&&(delete b[a],w&&w[0])?w[0](R).then((()=>i().data)):i().data;if(e.length<3)return E();let x,_=r;const S=L();y[a]=[S,0];const C=!u(f),O=i(),z=O.data,M=O._c,T=u(M)?z:M;if(C&&(f=h(f)?f(T):f,d({data:f,_c:T})),h(_))try{_=_(T)}catch(e){x=e}if(_&&h(_.then)){if(_=await _.catch((e=>{x=e})),S!==y[a][0]){if(x)throw x;return _}x&&C&&(e=>"function"==typeof c?c(e):!1!==c)(x)&&(l=!0,_=T,d({data:_,_c:s}))}l&&(x||(h(l)&&(_=l(_,T)),d({data:_,_c:s}))),y[a][1]=L();const P=await E();if(d({_c:s}),!x)return l?P:_;if(v)throw x}}const I=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},V=(e,t)=>{if(!o.has(e)){const n=d(S,t),r={},a=H.bind(s,e);let i=l;const c={},u=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},h=(t,n,r)=>{e.set(t,n);const o=c[t];if(o)for(const e of o)e(n,r)},f=()=>{if(!o.has(e)&&(o.set(e,[r,{},{},{},a,h,u]),!O)){const t=n.initFocus(setTimeout.bind(s,I.bind(s,r,0))),a=n.initReconnect(setTimeout.bind(s,I.bind(s,r,1)));i=()=>{t&&t(),a&&a(),o.delete(e)}}};return f(),[e,a,f,i]}return[e,o.get(e)[4]]},[D,j]=V(new Map),F=d({onLoadingSlow:l,onSuccess:l,onError:l,onErrorRetry:(e,t,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!u(a)&&i>a||setTimeout(r,l,o)},onDiscarded:l,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:P?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:P?5e3:3e3,compare:(e,t)=>b(e)==b(t),isPaused:()=>!1,cache:D,mutate:j,fallback:{}},_),B=(e,t)=>{const n=d(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=d(o,i))}return n},U=(0,r.createContext)({}),G=e=>{const{value:t}=e,n=(0,r.useContext)(U),o=h(t),a=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),i=(0,r.useMemo)((()=>o?a:B(n,a)),[o,n,a]),l=a&&a.provider,c=(0,r.useRef)(s);l&&!c.current&&(c.current=V(l(i.cache||D),a));const u=c.current;return u&&(i.cache=u[0],i.mutate=u[1]),M((()=>{if(u)return u[2]&&u[2](),u[3]}),[]),(0,r.createElement)(U.Provider,d(e,{value:i}))},q=p&&window.__SWR_DEVTOOLS_USE__,W=q?window.__SWR_DEVTOOLS_USE__:[],K=e=>h(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Y=()=>d(F,(0,r.useContext)(U)),Z=(e,t)=>{const n=k(e)[0],[,,,r]=o.get(D);if(r[n])return r[n];const a=t(e);return r[n]=a,a},$=W.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const r=k(t)[0],[,,,a]=o.get(D),i=a[r];return i?(delete a[r],i):n(...e)}),r))),X=e=>function(...t){const n=Y(),[r,o,a]=K(t),i=B(n,a);let l=e;const{use:s}=i,c=(s||[]).concat($);for(let e=c.length;e--;)l=c[e](l);return l(r,o||i.fetcher||null,i)},Q=(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())}},J=(e,t)=>(...n)=>{const[r,o,a]=K(n),i=(a.use||[]).concat(t);return e(r,o,{...a,use:i})};q&&(window.__SWR_DEVTOOLS_REACT__=r)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.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(7294),o=n(745),a=n(1500),i=n(3967),l=n(4096),s=n(1929),c=n(2982),u=n(9246),h=n(8466),d=n(5883),f=n(242);function p(e){return p="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},p(e)}function v(){return v=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},v.apply(this,arguments)}function m(){m=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,o){var a=t&&t.prototype instanceof d?t:d,i=Object.create(a.prototype),l=new z(o||[]);return r(i,"_invoke",{value:_(e,n,l)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h={};function d(){}function f(){}function v(){}var g={};s(g,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(M([])));b&&b!==t&&n.call(b,a)&&(g=b);var w=v.prototype=d.prototype=Object.create(g);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(r,a,i,l){var s=u(e[r],e,a);if("throw"!==s.type){var c=s.arg,h=c.value;return h&&"object"==p(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){o("next",e,i,l)}),(function(e){o("throw",e,i,l)})):t.resolve(h).then((function(e){c.value=e,i(c)}),(function(e){return o("throw",e,i,l)}))}l(s.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function _(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return{value:void 0,done:!0}}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=S(i,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=u(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function C(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function M(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=v,r(w,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:f,configurable:!0}),f.displayName=s(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(x.prototype),s(x.prototype,i,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new x(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),s(w,l,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.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}},e.values=M,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},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),h},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),O(n),h}},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;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function g(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){g(a,r,o,i,l,"next",e)}function l(e){g(a,r,o,i,l,"throw",e)}i(void 0)}))}}function b(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,a,i,l=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.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&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(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)?w(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 w(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}n(83);var E,x,_=2,S=2,C={name:"sd-txt2img",Tab:function(e){return r.createElement(s.SectionTab,v({name:"Txt2img"},e))},Panel:(0,f.observer)((function(t){var n=t.store,o=b(r.useState([]),2),a=o[0],i=o[1];function l(){return s.apply(this,arguments)}function s(){return(s=y(m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i(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(d.ImagesGrid,{images:a,getPreview:function(e){return e.url},onSelect:function(){var e=y(m().mark((function e(t,r){var o,a,i;return m().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,a=o.width,i=o.height,n.activePage.addElement({type:"image",src:t.url,width:a,height:i,x:r?r.x:n.width/2-a/2,y:r?r.y:n.height/2-i/2});case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),rowsNumber:2,isLoading:!a.length,loadMore:y(m().mark((function t(){var n,r,o;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(n='{"type": "txt2img", "num": pageNum, "size": 15}').replace("pageNum",_.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:_+=1;case 10:case"end":return t.stop()}}),t)})))}))}))},O={name:"sd-img2img",Tab:function(e){return r.createElement(s.SectionTab,v({name:"Img2img"},e))},Panel:(0,f.observer)((function(e){var n=e.store,o=b(r.useState([]),2),a=o[0],i=o[1];function l(){return s.apply(this,arguments)}function s(){return(s=y(m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i(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(d.ImagesGrid,{images:a,getPreview:function(e){return e.url},onSelect:function(){var e=y(m().mark((function e(t,r){var o,a,i;return m().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,a=o.width,i=o.height,n.activePage.addElement({type:"image",src:t.url,width:a,height:i,x:r?r.x:n.width/2-a/2,y:r?r.y:n.height/2-i/2});case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),rowsNumber:2,isLoading:!a.length,loadMore:y(m().mark((function e(){var n,r,o;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(n='{"type": "img2img", "num": pageNum, "size": 15}').replace("pageNum",S.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:S+=1;case 10:case"end":return e.stop()}}),e)})))}))}))},z=[s.TemplatesSection,s.TextSection,s.PhotosSection,s.ElementsSection,s.UploadSection,s.BackgroundSection,s.LayersSection,s.SizeSection,C,O],M=function(e){var t=e.store;return r.createElement(a.PolotnoContainer,{style:{width:"95vw",height:"90vh"}},r.createElement(a.SidePanelWrap,null,r.createElement(s.SidePanel,{store:t,sections:z})),r.createElement(a.WorkspaceWrap,null,r.createElement(i.Toolbar,{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,a=(0,h.createStore)({key:t,showCredit:!0});a.addPage(),o.createRoot(n).render(r.createElement(M,{store:a})),x=a},window.getPolotnoStore=function(){return x},window.setTxt2imgInfoJSON=function(t){e=t},window.setImg2imgInfoJSON=function(e){t=e},window.setLoadMoreFunc=function(e){E=e}})()})();